Commit graph

58023 commits

Author SHA1 Message Date
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
Amine Khaldi e8a5e5820e [APPWIZ]
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63465
2014-05-26 14:24:06 +00:00
Amine Khaldi 9cee13244a [TCPSVCS]
* Use swprintf instead of _swprintf which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63464
2014-05-26 14:03:24 +00:00
Amine Khaldi 61651b63ee [HELP][SHUTDOWN]
* Use vfwprintf instead of _vcwprintf which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63463
2014-05-26 13:48:49 +00:00
Christoph von Wittich 29fe434f7d [hivecls.inf]
French translation by Pierre Schweitzer

svn path=/trunk/; revision=63462
2014-05-26 13:23:48 +00:00
Amine Khaldi 6f47e1f36f [MSVCRT]
* Zap some exports that do not exist in native.
* Group the ones that we're forced to keep (only temporarily right now) for Gecko.
CORE-8174

svn path=/trunk/; revision=63460
2014-05-26 09:57:36 +00:00
Amine Khaldi ad3d77394a [INCLUDE/CRT]
* Do not define __STDC_SECURE_LIB__ and co, our msvcrt won't provide the related exports.
CORE-8174

svn path=/trunk/; revision=63459
2014-05-26 09:55:29 +00:00
Amine Khaldi 0841e6c36d [SERVMAN]
* Use StringCchCopy instead of {_t,w}cscpy_s as these shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63458
2014-05-26 09:53:49 +00:00
James Tabor 6215b105d6 [Win32k]
- Make minimizing windows in MDI application usable, more fixing is needed. ReactOS suffers from wine poisoning. Need more Vodka! See wine Bug 1719.


svn path=/trunk/; revision=63457
2014-05-26 04:36:58 +00:00
James Tabor 1498265bfc [Win32k]
- Use desktop system menu.

svn path=/trunk/; revision=63456
2014-05-26 03:08:06 +00:00
James Tabor db241f482b [Win32k]
- Fix G/SetSystemMenu. Move code into menu.c.
- Add loading for MDI system menu.

svn path=/trunk/; revision=63455
2014-05-26 01:26:45 +00:00
James Tabor 8c89bad6d0 [Win32k]
- Code cleanup.

svn path=/trunk/; revision=63454
2014-05-25 21:30:52 +00:00
Timo Kreuzer 0339d4e1a5 [ROSTESTS]
disable some tests on x64, since they don't build. Disable some exports from dllexport_test on non-x86 build, since decorations are x86 specific.

svn path=/trunk/; revision=63453
2014-05-25 20:21:02 +00:00
Christoph von Wittich c51c0ec1b4 [bootdata]
convert hivecls.inf and hivedef.inf to UTF16LE
fixes CORE-7614

svn path=/trunk/; revision=63452
2014-05-25 20:17:25 +00:00
Timo Kreuzer dd982c4a66 [NTOSKRNL]
Revert unwanted white space changes

svn path=/trunk/; revision=63451
2014-05-25 20:10:31 +00:00
Amine Khaldi c53ac2a20b [PSDK]
* Fix an ARM ifdef.

svn path=/trunk/; revision=63450
2014-05-25 19:28:14 +00:00
Timo Kreuzer 158661ce31 [NTOSKRNL]
Implement prototype PTE support in MiGetPageProtection. Should hopefully fix crashes with OllyDbg.

svn path=/trunk/; revision=63449
2014-05-25 19:13:32 +00:00
Amine Khaldi b7ad4ef800 [CMAKE]
* Include the dummy source file for the PSEH ARM build too.

svn path=/trunk/; revision=63448
2014-05-25 19:04:21 +00:00
Amine Khaldi 47d4598769 [MSVCRT]
* Zap some commented out exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63447
2014-05-25 17:55:48 +00:00