Commit graph

58054 commits

Author SHA1 Message Date
Timo Kreuzer 9bda7700ff [SETUP16/EXPLORER/LIBTIFF/DESK/ADVAPI32/MCIWAVE/SAMSRV/SHELL32/WINMM/LIBMPG123]
Fix / silence warnings

svn path=/trunk/; revision=63518
2014-05-31 16:58:03 +00:00
Timo Kreuzer 35767099ce [BROWSEUI] Silence warnings about unused but set variables
[MESA] Silence warnings about unused but set variables and type limits
[GENINC] Remove obsolete file
[OBJ2BIN] Fix a typo

svn path=/trunk/; revision=63517
2014-05-31 16:19:36 +00:00
Amine Khaldi 9c9a481d33 [CRT]
* Update scanf.h.
CORE-8080

svn path=/trunk/; revision=63516
2014-05-31 16:08:41 +00:00
Timo Kreuzer 10a264845d [ROSTESTS]
Silence some warnings, fix compilation of w32kdll with MSVC, give dllexport_test dlls a base address.

svn path=/trunk/; revision=63515
2014-05-31 16:00:05 +00:00
Timo Kreuzer 461f47c1d1 [WINE]
Try to fix some warnings in wine tests

svn path=/trunk/; revision=63514
2014-05-31 15:44:45 +00:00
Timo Kreuzer 4a7d9e2a5c [CMLIB]
Fix build (and warnings)

svn path=/trunk/; revision=63513
2014-05-31 15:34:21 +00:00
Timo Kreuzer 4289bcee64 [HOST]
Try to fix some host warnings.

svn path=/trunk/; revision=63512
2014-05-31 15:29:10 +00:00
Amine Khaldi 96f0120d3a [GECKO]
* Introduce a faster and smaller build without dependency on exports that do not exist in native.
[MSVCRT]
* Get rid of some exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63511
2014-05-31 14:51:36 +00:00
Amine Khaldi bf476c3c1a [NET]
* Fix MSVC build.

svn path=/trunk/; revision=63510
2014-05-31 14:24:26 +00:00
Eric Kohl 6f830f27bb [NET]
- Fix an off-by-one bug in the ACCOUNTS command.
- Improve input validation for the ACCOUNTS command.
- Add the /help option to the CONTINUE command.
- Add version resource and start to move texts into resources.

svn path=/trunk/; revision=63509
2014-05-31 08:32:54 +00:00
Aleksandar Andrejevic a31b680c53 [NTOSKRNL]
Don't allow saving keys which are located directly in the master hive.


svn path=/trunk/; revision=63508
2014-05-31 01:17:00 +00:00
Aleksandar Andrejevic 2996e28ecd [NTDLL_APITESTS]
Add tests for NtSaveKey.


svn path=/trunk/; revision=63507
2014-05-31 01:14:02 +00:00
Hermès Bélusca-Maïto a5a69f46e6 [NTOS:CM]
Replace a hardcoded value with something more readable.

svn path=/trunk/; revision=63506
2014-05-30 21:47:22 +00:00
Hermès Bélusca-Maïto 64fcc42ee5 [NTOS:CM]
- Add a DPRINT1 in CmCheckRegistry because it is unimplemented, and give the CheckFlags value to CmCheckRegistry, when it is called in CmpInitializeHive.
- Give the CheckFlags value to CmpInitializeHive, when it is called in CmpInitHiveFromFile.
- Really mention that the CmCreateRootNode call is a HACK for ROS.

svn path=/trunk/; revision=63505
2014-05-30 20:40:02 +00:00
James Tabor 4dc4711006 [Win32k]
- Fix removing menus and submenus. Dedicated to David Quintana and the New Explorer and Shell team.

svn path=/trunk/; revision=63502
2014-05-30 12:38:04 +00:00
Timo Kreuzer 137dc25b64 [ASM]
- Fix geninc and spec2def to support the MS ARM assembler
- Add an MSVC compatible version of kxarm.h
- autogenerate ksarm.h with geninc.c
- Move some ARM definitions to NDK

svn path=/trunk/; revision=63501
2014-05-30 00:30:38 +00:00
Timo Kreuzer 717f8cb0e9 [INCLUDE]
- ntdef.h: Add #pragma once, include guiddef.h and kernelspecs.h, slightly cleanup the nameless struct/union stuff, fix PVOID64 definition, fix definition of UNALIGNED on ARM, stop checking for too outdated MSVC versions (< 1300), start using ULONG32 instead of ULONG at some places (this is to be able to share the code with winnt.h later), add missing PROBE_ALIGNMENT32, DECLSPEC_NOTHROW, DECLSPEC_UUID, DECLSPEC_NOVTABLE, DECLSPEC_DEPRECATED, DECLSPEC_DEPRECATED_DDK, simpify HANDLE definition.

svn path=/trunk/; revision=63500
2014-05-30 00:09:55 +00:00
Timo Kreuzer aaff11172a [INCLUDE]
- rewrite msvctarget.h to define all native MSVC architecture macros and do not define x86 sub-architecture numbers, they are deprecated
- basetsd.h: Fix header guard, include msvctarget.h instead of adding some custom defines, add missing FIRMWARE_PTR definition, fix POINTER_64 definition

svn path=/trunk/; revision=63499
2014-05-29 23:43:19 +00:00
Hermès Bélusca-Maïto 87026354cb [USERINIT]
- Remove two unuseful imports.
- Rewrite StrToColorref to not use shell functions, and increase a bit the size of the szColor buffer in SetUserSysColors to match the capabilities of windows.

svn path=/trunk/; revision=63498
2014-05-29 23:20:31 +00:00
Hermès Bélusca-Maïto 63f0cf2a3a [PSDK]
- Fix the CMYK macro which was totally broken.
- Code formatting around RGB macro.

svn path=/trunk/; revision=63497
2014-05-29 22:37:43 +00:00
Hermès Bélusca-Maïto cb2c49a1ea [LSASRV]
- Just run again the loop if LsarOpenAccount call failed (that also avoids a call to LsarClose on a NULL handle, that is trapped by the kdbg if one enabled "set condition * first always").
- Free the memory and the opened handles before returning in case of failure of LsapAddPrivilegeToTokenPrivileges. Maybe this cleaning step can be done more elegantly.
Eric, can you please review that? It should be good I think.

svn path=/trunk/; revision=63496
2014-05-29 21:34:35 +00:00
Aleksandar Andrejevic 0d6c552a9d [NTOSKRNL]
Implement NtSaveKey/NtSaveKeyEx and its backend CmSaveKey.
CORE-8259 #resolve #comment Committed in revision r63495.


svn path=/trunk/; revision=63495
2014-05-29 19:44:36 +00:00
Eric Kohl 836f7cd6d3 [ADVAPI32][MSGINA]
Fix overflow of TokenSource.SourceName.
CORE-8272 #resolve

svn path=/trunk/; revision=63494
2014-05-29 15:19:30 +00:00
James Tabor d3a1610c4b [Win32k]
- Turn on MDI system menus.

svn path=/trunk/; revision=63493
2014-05-28 22:52:38 +00:00
James Tabor 86da1bfa04 [User32]
- Add MDI system menu. If this is inaccurate please open a Jira report.

svn path=/trunk/; revision=63492
2014-05-28 22:48:50 +00:00
Pierre Schweitzer 6e7d12ef45 [KERNEL32]
- Directly call CopyFileExW() from CopyFileA()
- ReactOSify CopyFileW()

svn path=/trunk/; revision=63491
2014-05-28 18:39:51 +00:00
Eric Kohl 0184d61735 [NET]
Implement NET ACCOUNTS command.

svn path=/trunk/; revision=63490
2014-05-28 08:06:10 +00:00
Timo Kreuzer 68fcd6e10b [CRT]
Do not mark inp* and outp* as dllimport.

svn path=/trunk/; revision=63489
2014-05-27 22:58:53 +00:00
Timo Kreuzer 6f249c3833 [CRT]
Hopefully fix build, by specifying minimum MSC versions for some intrinsics

svn path=/trunk/; revision=63488
2014-05-27 22:12:15 +00:00
Timo Kreuzer 2d1042daa5 [CRT]
remove __readfsqword, it does not exist.

svn path=/trunk/; revision=63487
2014-05-27 22:07:29 +00:00
Timo Kreuzer 9bb3ac5d2e [CRT]
Add many missing intrinsics to the MSVC intrin.h, including x86, x64 and ARM

svn path=/trunk/; revision=63486
2014-05-27 22:01:55 +00:00
Timo Kreuzer c0931f28b6 [CMAKE]
Revert r63470 and add a comment, that this is not a typo.

svn path=/trunk/; revision=63485
2014-05-27 21:32:42 +00:00
Aleksandar Andrejevic 0f0db19784 [NTVDM]
Fix the previous fix. Use LOBYTE/HIBYTE not LOWORD/HIWORD.


svn path=/trunk/; revision=63484
2014-05-27 21:29:36 +00:00
Christoph von Wittich dad0af61d4 [atl]
atl: memory leak on failure path (copy pasta?)
spotted by Samuel Serapion
CORE-8212
 

svn path=/trunk/; revision=63483
2014-05-27 21:20:39 +00:00
Aleksandar Andrejevic af35d7f046 [FAST486][NTVDM]
Several fixes in fast486 and ntvdm:
DosCopyEnvironmentBlock - prepend the program name tag (0x0001) to the program name.
Fast486OpcodePushByteImm, Fast486OpcodePushImm - sign-extend instead of zero-extending.
Fast486InterruptInternal - The parameter is supposed to be the type of the gate, not a boolean.
GET_SEGMENT_RPL will not work on real-mode selectors, use a special field for the RPL.
Loading a data segment with the NULL selector should never generate an exception.
Mask out the highest-order byte of the physical address when loading a descriptor table in 16-bit mode.
Fast486InterruptInternal - The interrupt gate type determines the size.
CORE-8257 #resolve #comment Fixed in revision r63482.


svn path=/trunk/; revision=63482
2014-05-27 21:10:45 +00:00
Christoph von Wittich 58b39a1ecf [setupapi]
sync setupapi\dirid.c with wine 
patch by Samuel Serapion
CORE-7663
 

svn path=/trunk/; revision=63481
2014-05-27 20:33:21 +00:00
Amine Khaldi a3b5088597 [CMAKE]
* Convert the hives from UTF-8 to UTF16 as part of the build process.
CORE-7703
CORE-8221

svn path=/trunk/; revision=63480
2014-05-27 19:42:15 +00:00
Eric Kohl 86b416b410 [SETUP]
Formatting. No code changes!

svn path=/trunk/; revision=63478
2014-05-27 11:49:14 +00:00
James Tabor 10a9a8e0a3 [Win32k]
- More tweaks for MDI drawing. Tested our explorer, winefile and Vide2 from http://vgui.sourceforge.net/. Help is needed to fix MDI icon system menu loading, updating and moving.

svn path=/trunk/; revision=63477
2014-05-26 19:53:25 +00:00
Amine Khaldi 21d9569e72 [NTDLL]
* Zap some exports that do not exist in native.
* Reorder some exports.
* Add the missing ones. They are commented out and will be added on-demand.
CORE-8174

svn path=/trunk/; revision=63476
2014-05-26 19:17:48 +00:00
Kamil Hornicek 49da4d9dc4 [GDI32]
- return the correct flags in DdGetDriverInfo
CORE-7070

svn path=/trunk/; revision=63475
2014-05-26 18:59:56 +00:00
Amine Khaldi 87a2f62053 [MSVCRT]
* Zap some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=63474
2014-05-26 18:18:51 +00:00
Amine Khaldi b1cf7ccf19 [STLPORT]
* Don't use _fseeki64 which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63473
2014-05-26 18:04:49 +00:00
Amine Khaldi ca9594dadf [MSVCRT]
* Zap some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=63472
2014-05-26 16:10:49 +00:00
Amine Khaldi eebbc5e6b4 [MSTSC]
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63471
2014-05-26 15:39:58 +00:00
Amine Khaldi 643b00912f [CMAKE]
* Fix what seems to be a typo in the definition.

svn path=/trunk/; revision=63470
2014-05-26 15:32:48 +00:00
Amine Khaldi f7e65fe136 [CMAKE/ARM]
* Do not handle hotpatchable images in MSVC ARM builds (the flag is unknown to the compiler).

svn path=/trunk/; revision=63469
2014-05-26 15:31:07 +00:00
Amine Khaldi 5d6f7e30d2 [CMAKE/ARM]
* Add armasm assembler support. Inspired by Yuntian Zhang's patch.
CORE-7439

svn path=/trunk/; revision=63468
2014-05-26 15:28:12 +00:00
Christoph von Wittich 9d2d8d8d7d [bootdata]
Polish translation by Olaf Siejka

svn path=/trunk/; revision=63467
2014-05-26 14:33:26 +00:00
Christoph von Wittich 6ae309b0a1 [bootdata]
set encoding to UTF-16 instead of UTF-16LE to make viewvc happy

svn path=/trunk/; revision=63466
2014-05-26 14:29:11 +00:00