reactos.git
10 years ago[CSRSRV]
Timo Kreuzer [Sun, 28 Jul 2013 10:41:27 +0000 (10:41 +0000)]
[CSRSRV]
- Reduce number of hash collisions during bootup from 10 to 0, by choosing 257 (prime number = good) instead of 256 (power of 2 = bad)
- Use ULONG for CsrpStaticThreadCount and CsrpDynamicThreadTotal to fix an MSVC warning.

svn path=/trunk/; revision=59591

10 years ago[NETAPI32]
Eric Kohl [Sat, 27 Jul 2013 18:53:52 +0000 (18:53 +0000)]
[NETAPI32]
NetpNtStatusToApiStatus: Map STATUS_INVALID_ACCOUNT_NAME to NERR_BadUsername.

svn path=/trunk/; revision=59590

10 years ago[SAMSRV]
Eric Kohl [Sat, 27 Jul 2013 17:59:28 +0000 (17:59 +0000)]
[SAMSRV]
SamrCreateUserInDomain and SamrCreateUser2InDomain: Implement the user name length limit of 20 characters.

svn path=/trunk/; revision=59589

10 years ago[SAMLIB]
Eric Kohl [Sat, 27 Jul 2013 14:06:53 +0000 (14:06 +0000)]
[SAMLIB]
- Implement SamGetDisplayEnumerationIndex.
- Add DOMAIN_DISPLAY_INFORMATION to ntsam.h and update sam.idl.

svn path=/trunk/; revision=59588

10 years ago[NTOSKRNL/BASESRV]: Tiny formatting clean-ups made while debugging.
Alex Ionescu [Thu, 25 Jul 2013 23:56:17 +0000 (23:56 +0000)]
[NTOSKRNL/BASESRV]: Tiny formatting clean-ups made while debugging.

svn path=/trunk/; revision=59587

10 years ago[NOTEPAD]
Thomas Faber [Thu, 25 Jul 2013 20:29:23 +0000 (20:29 +0000)]
[NOTEPAD]
- Don't assume out parameter initialization on failure. Patch by Samuel Serapión
CORE-7292 #resolve

svn path=/trunk/; revision=59585

10 years ago- Server 2003 and later return the remote PEB in the TIB->ArbitraryUserPointer. Do...
Alex Ionescu [Thu, 25 Jul 2013 18:32:52 +0000 (18:32 +0000)]
- Server 2003 and later return the remote PEB in the TIB->ArbitraryUserPointer. Do so as well.

svn path=/trunk/; revision=59584

10 years ago[NTDLL]: Export LdrOpenImageFileOptionsKey and LdrQueryIamgeFileKeyOption. These...
Alex Ionescu [Thu, 25 Jul 2013 18:30:06 +0000 (18:30 +0000)]
[NTDLL]: Export LdrOpenImageFileOptionsKey and LdrQueryIamgeFileKeyOption. These were implemented, we just never exported them.

svn path=/trunk/; revision=59583

10 years ago[CDMAKE]
Amine Khaldi [Thu, 25 Jul 2013 15:14:32 +0000 (15:14 +0000)]
[CDMAKE]
* Remove an unused variable.

svn path=/trunk/; revision=59582

10 years ago[CDMAKE]
Pierre Schweitzer [Thu, 25 Jul 2013 15:04:56 +0000 (15:04 +0000)]
[CDMAKE]
Fix memory leak in dir_hash_add_file().
The duplicated targetnorm used for calling dir_hash_create_dir is never affected anywhere. It is duplicated again before affectation. And thus,
leaks.

svn path=/trunk/; revision=59581

10 years ago[shell32]
Giannis Adamopoulos [Thu, 25 Jul 2013 12:57:56 +0000 (12:57 +0000)]
[shell32]
- Do not call OnDefaultCommand when there is no selected item in the shell view

svn path=/trunk/; revision=59580

10 years ago[shell32]
Giannis Adamopoulos [Thu, 25 Jul 2013 12:54:30 +0000 (12:54 +0000)]
[shell32]
- Improve the execution of a shell verb in the default context menu.
- Retrieve the browse flags from the verb in order to figure out if we should actually try to browse
- Execute all the items that were selected and not only the first one

svn path=/trunk/; revision=59579

10 years ago[hivecls.inf]
Giannis Adamopoulos [Thu, 25 Jul 2013 12:48:34 +0000 (12:48 +0000)]
[hivecls.inf]
- Add browse flags for the folder class

svn path=/trunk/; revision=59578

10 years ago[CABMAN]
Amine Khaldi [Wed, 24 Jul 2013 22:02:20 +0000 (22:02 +0000)]
[CABMAN]
* A new approach to splitting the reactos.cab generation time now by more than a half, which consists of using the default compression level.
* The catch is 50kb bigger cab :p

svn path=/trunk/; revision=59577

10 years ago[CDMAKE]
Amine Khaldi [Wed, 24 Jul 2013 20:33:33 +0000 (20:33 +0000)]
[CDMAKE]
* Sanitize the header inclusions in dirhash.c.

svn path=/trunk/; revision=59576

10 years ago* Revert r59570 as it caused some integrity issues.
Amine Khaldi [Wed, 24 Jul 2013 20:28:59 +0000 (20:28 +0000)]
* Revert r59570 as it caused some integrity issues.

svn path=/trunk/; revision=59575

10 years ago[SERVMAN]
Amine Khaldi [Wed, 24 Jul 2013 19:14:23 +0000 (19:14 +0000)]
[SERVMAN]
* Turkish Translation by Erdem Ersoy.
CORE-7369 #resolve #comment Committed in r59574. Thanks ;)

svn path=/trunk/; revision=59574

10 years ago[APPLICATIONS]
Amine Khaldi [Wed, 24 Jul 2013 18:17:10 +0000 (18:17 +0000)]
[APPLICATIONS]
* Turkish Translation of calc, charmap, dxdiag, solitaire, spider, winmine, magnify, mspaint, mstsc, notepad, rapps, regedit, clb, taskmgr, winhlp32, wordpad and write.
* Brought to you by Erdem Ersoy with a fix by me.
CORE-7261 #resolve #comment Committed in r59573.. Thanks !

svn path=/trunk/; revision=59573

10 years ago[APPLICATIONS]
Amine Khaldi [Wed, 24 Jul 2013 17:57:10 +0000 (17:57 +0000)]
[APPLICATIONS]
* Turkish Translation of fontview, msconfig, 3dtext, logon and sndvol32. By Erdem Ersoy.
CORE-7274 CORE-7326 #resolve #comment Committed in r59572.. Thanks !

svn path=/trunk/; revision=59572

10 years ago[EVENTVWR][DEVMGMT_NEW]
Amine Khaldi [Wed, 24 Jul 2013 17:45:26 +0000 (17:45 +0000)]
[EVENTVWR][DEVMGMT_NEW]
* Turkish Translation by Erdem Ersoy.
CORE-7369

svn path=/trunk/; revision=59571

10 years ago[CABMAN]
Amine Khaldi [Wed, 24 Jul 2013 17:28:41 +0000 (17:28 +0000)]
[CABMAN]
* Split the reactos.cab generation time by almost a half. Dedicated to Timo Kreuzer.

svn path=/trunk/; revision=59570

10 years ago[NTFS]
Amine Khaldi [Wed, 24 Jul 2013 15:24:41 +0000 (15:24 +0000)]
[NTFS]
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=59569

10 years ago[PSDK]
Amine Khaldi [Wed, 24 Jul 2013 14:47:11 +0000 (14:47 +0000)]
[PSDK]
* Silence some warnings about nonstandard extensions used (zero-sized array in struct/union and nameless struct/union).

svn path=/trunk/; revision=59568

10 years ago[MSFS][MUP]
Amine Khaldi [Wed, 24 Jul 2013 14:18:40 +0000 (14:18 +0000)]
[MSFS][MUP]
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=59567

10 years ago- forgot this file
Giannis Adamopoulos [Tue, 23 Jul 2013 10:59:05 +0000 (10:59 +0000)]
- forgot this file

svn path=/trunk/; revision=59562

10 years ago[shell32]
Giannis Adamopoulos [Tue, 23 Jul 2013 10:53:06 +0000 (10:53 +0000)]
[shell32]
- Stub CMenuBand class

svn path=/trunk/; revision=59561

10 years ago[SAMSRV]
Eric Kohl [Mon, 22 Jul 2013 21:27:33 +0000 (21:27 +0000)]
[SAMSRV]
SamrChangePasswordUser:
- Check the MinPasswordAge before trying to change the password.
- Set the PasswordLastSet time if the password has been changed successfully.
- Set the BadPasswordCount and LastBadPasswordTime if the caller tried to set a bad password.

svn path=/trunk/; revision=59560

10 years ago[KERNEL32]
Aleksey Bragin [Mon, 22 Jul 2013 18:17:58 +0000 (18:17 +0000)]
[KERNEL32]
- Move Vista+ APIs to their reservation.

svn path=/trunk/; revision=59558

10 years ago[KERNEL32]
Aleksey Bragin [Mon, 22 Jul 2013 14:45:31 +0000 (14:45 +0000)]
[KERNEL32]
- Stub MUI support functions (by Edison Henrique Andreassy). Don't export them yet (they need to be checked according to the Windows version, so that kernel32 export table matches our target).

svn path=/trunk/; revision=59556

10 years ago[RTL]
Aleksey Bragin [Mon, 22 Jul 2013 13:45:56 +0000 (13:45 +0000)]
[RTL]
- Victor Martinez Calvo: Add a missing status check in RtlpQueryRemoteProcessModules.
- Aleksey Bragin: The code is quite ugly, adding this check makes it just a little bit less uglier :-)

CORE-7059 #resolve #comment Committed in 59554, thanks.

svn path=/trunk/; revision=59554

10 years ago[PING]
Aleksey Bragin [Mon, 22 Jul 2013 13:28:56 +0000 (13:28 +0000)]
[PING]
- Alexander Yastrebov: Properly write data into the standard output device depending whether it's a char or a block device.

CORE-6628 #resolve #comment Patch committed in revision 59552, thank you Alexander and sorry that it took so long!

svn path=/trunk/; revision=59553

10 years ago[KMTESTS]
Aleksey Bragin [Mon, 22 Jul 2013 12:11:38 +0000 (12:11 +0000)]
[KMTESTS]
- Beautify the source code a little. Also improve english in debug prints.

svn path=/trunk/; revision=59552

10 years ago[HAL]
Hermès Bélusca-Maïto [Sun, 21 Jul 2013 23:03:04 +0000 (23:03 +0000)]
[HAL]
Update the PCI hardware IDs. Extracted from the pci.ids database from http://pciids.sourceforge.net/ from 2013.07.20
Maintained by Martin Mares <mj@ucw.cz> and other volunteers from the PCI ID Project at http://pci-ids.ucw.cz/.

svn path=/trunk/; revision=59551

10 years ago[LIBXSLT]
Amine Khaldi [Sun, 21 Jul 2013 16:57:57 +0000 (16:57 +0000)]
[LIBXSLT]
* Silence some warnings.

svn path=/trunk/; revision=59549

10 years ago[CDMAKE]
Pierre Schweitzer [Sun, 21 Jul 2013 16:15:16 +0000 (16:15 +0000)]
[CDMAKE]
Use calloc instead of malloc + memset

svn path=/trunk/; revision=59548

10 years ago* Improve the way we create bootcd, livecd and bootcdregtest. The effort results...
Amine Khaldi [Sun, 21 Jul 2013 13:33:03 +0000 (13:33 +0000)]
* Improve the way we create bootcd, livecd and bootcdregtest. The effort results in ~28% *smaller* build folder, and *much* faster generation of the ISOs.

[CDMAKE]
* Introduce a way to create an iso using a file map instead of the current on-disk layout. This allows us to massively reduce the IO and the disk space needed to perform the creation of the 3 ISOs, and at the same time speed up the process. Brought to you by Art Yerkes (arty) with review/bug fix by Thomas Faber.
[CMAKE]
* Leverage the newly introduced cdmake feature.
* Silence cdmake verbosity.
* Write the contents of the file lists at once, instead of appending to it one item by one.
[VGAFONTS]
* Don't include the cab file twice.

svn path=/trunk/; revision=59547

10 years ago[KMTESTS:SE]
Thomas Faber [Sat, 20 Jul 2013 19:40:32 +0000 (19:40 +0000)]
[KMTESTS:SE]
- Remove broken prototypes

svn path=/trunk/; revision=59546

10 years ago[KMTEST]
Thomas Faber [Sat, 20 Jul 2013 19:36:41 +0000 (19:36 +0000)]
[KMTEST]
- Fix platform includes

svn path=/trunk/; revision=59545

10 years ago[KMTESTS:RTL]
Thomas Faber [Sat, 20 Jul 2013 19:33:13 +0000 (19:33 +0000)]
[KMTESTS:RTL]
- Add test for REG_MULTI_SZ in RtlQueryRegistryValues

svn path=/trunk/; revision=59544

10 years ago[browseui.cpp]
Giannis Adamopoulos [Sat, 20 Jul 2013 17:50:40 +0000 (17:50 +0000)]
[browseui.cpp]
- Improve the hack for the global constructors by manually calling them only during DLL_PROCESS_ATTACH

svn path=/trunk/; revision=59543

10 years ago[NTOS]
Thomas Faber [Sat, 20 Jul 2013 17:46:38 +0000 (17:46 +0000)]
[NTOS]
- Use more pool tagging

svn path=/trunk/; revision=59542

10 years ago[shell32]
Giannis Adamopoulos [Sat, 20 Jul 2013 16:23:54 +0000 (16:23 +0000)]
[shell32]
- Add the accelerators table that will be used for the shell view control
- Rewrite CDefView::OpenSelectedItems and CDefView::OnContextMenu.
- Rewrite accelerators handling for the shell view. Instead of handling them manually in CDefView::OnNotify, we now translate it properly in CDefView::TranslateAccelerator and forward the result WM_COMMAND message to the IContextMenu2 using a new method called CDefView::OnExplorerCommand.
- Now we don't do call ShellExecute or use clipboard function right in CDefView and this also is the first step to properly handle opening or exploring a folder (which is needed for explorer_new)

svn path=/trunk/; revision=59541

10 years ago[EXPLORER]
Thomas Faber [Sat, 20 Jul 2013 14:38:35 +0000 (14:38 +0000)]
[EXPLORER]
- Don't compile FAT support code (WTF) if it's not used

svn path=/trunk/; revision=59540

10 years ago[PSDK] Fix broken (DBG_)UNREFERENCED_LOCAL_VARIABLE macros
Timo Kreuzer [Sat, 20 Jul 2013 12:18:02 +0000 (12:18 +0000)]
[PSDK] Fix broken (DBG_)UNREFERENCED_LOCAL_VARIABLE macros

svn path=/trunk/; revision=59539

10 years ago[WIN32K] Modify DBG_LOGEVENT to reference the parameter variable in non-logging mode...
Timo Kreuzer [Sat, 20 Jul 2013 12:12:13 +0000 (12:12 +0000)]
[WIN32K] Modify DBG_LOGEVENT to reference the parameter variable in non-logging mode, bring back cRefs variable in GDIOBJ_vReferenceObjectByPointer

svn path=/trunk/; revision=59538

10 years ago[SPEC2DEF]
Thomas Faber [Sat, 20 Jul 2013 11:40:04 +0000 (11:40 +0000)]
[SPEC2DEF]
- Fix warnings

svn path=/trunk/; revision=59537

10 years ago[CMAKE]
Thomas Faber [Sat, 20 Jul 2013 11:07:30 +0000 (11:07 +0000)]
[CMAKE]
- Fix MSVC 64 bit host-tools build

svn path=/trunk/; revision=59536

10 years ago[PORTCLS]
Thomas Faber [Sat, 20 Jul 2013 10:43:33 +0000 (10:43 +0000)]
[PORTCLS]
- Silence warnings. Using (unnecessary) virtual destructors here rather than final because that's what the 99 other classes already do.

svn path=/trunk/; revision=59535

10 years ago[CMAKE]
Thomas Faber [Sat, 20 Jul 2013 10:23:07 +0000 (10:23 +0000)]
[CMAKE]
- And here's finally a reason why we shouldn't use g++'s host-headers and libraries
- Switch back to wishy-washy-what's-a-standard mode for C++ globally, and enable C++11 only for netshell

svn path=/trunk/; revision=59534

10 years ago[CMAKE]
Thomas Faber [Sat, 20 Jul 2013 10:02:50 +0000 (10:02 +0000)]
[CMAKE]
- Why the heck do we need GNU C++ extensions aka fix build

svn path=/trunk/; revision=59533

10 years ago[NETSHELL]
Thomas Faber [Sat, 20 Jul 2013 09:56:58 +0000 (09:56 +0000)]
[NETSHELL]
- Fix warnings

svn path=/trunk/; revision=59532

10 years ago[PSDK]
Thomas Faber [Sat, 20 Jul 2013 09:27:15 +0000 (09:27 +0000)]
[PSDK]
- Fix PRINTPROVIDOR::fpAddPortEx prototype

svn path=/trunk/; revision=59531

10 years ago[REGEDIT]
Hermès Bélusca-Maïto [Sat, 20 Jul 2013 00:37:47 +0000 (00:37 +0000)]
[REGEDIT]
Fix the creation of empty REG_MULTI_SZ values (they have to contain only one NULL char, since a multi-string has the form:
str1\0str2\0...strN\0\0
where each strI\0 is a null-terminated string, and a multi-string is terminated by a null string.
And therefore an empty multi-string has only one null char, corresponding to the terminating null string.

svn path=/trunk/; revision=59529

10 years ago[USBEHCI]: Straggler fix.
Alex Ionescu [Sat, 20 Jul 2013 00:13:59 +0000 (00:13 +0000)]
[USBEHCI]: Straggler fix.

svn path=/trunk/; revision=59528

10 years ago[MISC]: Cleanup a bunch of unused variables, in cases where it was obvious these...
Alex Ionescu [Sat, 20 Jul 2013 00:10:31 +0000 (00:10 +0000)]
[MISC]: Cleanup a bunch of unused variables, in cases where it was obvious these variables were left-overs from debug code, debug prints, or in some cases commented-out functionality (in which case the variables were commented out instead of removed). If you own ACLUI, CLASS2, USB, USER32, or EXT2LIB you may want to check that these changes are accurate (i.e.: such as the last commit where the variable was actually not being used due to a bug).

svn path=/trunk/; revision=59527

10 years ago[USBCCGP]: FDO_HandleResetCyclePort should complete the pending IRPs, not the reset...
Alex Ionescu [Fri, 19 Jul 2013 23:51:01 +0000 (23:51 +0000)]
[USBCCGP]: FDO_HandleResetCyclePort should complete the pending IRPs, not the reset IRP. In fact, since the caller (FDO_HandleInternalDeviceControl) already completes the reset IRP, this was also causing double IRP completion. THIS IS WHY GCC 4.7 WARNINGS ARE IMPORTANT.

svn path=/trunk/; revision=59526

10 years ago[FBTUSB]
Amine Khaldi [Fri, 19 Jul 2013 23:44:47 +0000 (23:44 +0000)]
[FBTUSB]
* Silence some warnings.

svn path=/trunk/; revision=59525

10 years ago[WINMM_WINETEST]
Amine Khaldi [Fri, 19 Jul 2013 23:42:18 +0000 (23:42 +0000)]
[WINMM_WINETEST]
* Silence some warnings.

svn path=/trunk/; revision=59524

10 years ago[GLU32]
Amine Khaldi [Fri, 19 Jul 2013 23:40:04 +0000 (23:40 +0000)]
[GLU32]
* Silence some warnings.

svn path=/trunk/; revision=59523

10 years ago[UNIATA]
Amine Khaldi [Fri, 19 Jul 2013 23:36:38 +0000 (23:36 +0000)]
[UNIATA]
* Silence some warnings.

svn path=/trunk/; revision=59522

10 years ago[LIBXML2]
Amine Khaldi [Fri, 19 Jul 2013 23:33:08 +0000 (23:33 +0000)]
[LIBXML2]
* Disable warnings.

svn path=/trunk/; revision=59521

10 years ago[CARDLIB]
Amine Khaldi [Fri, 19 Jul 2013 23:22:19 +0000 (23:22 +0000)]
[CARDLIB]
* Silence some warnings.

svn path=/trunk/; revision=59520

10 years ago[ADNS]
Amine Khaldi [Fri, 19 Jul 2013 23:20:17 +0000 (23:20 +0000)]
[ADNS]
* Silence some warnings.

svn path=/trunk/; revision=59519

10 years ago[SMSS]
Hermès Bélusca-Maïto [Fri, 19 Jul 2013 22:32:34 +0000 (22:32 +0000)]
[SMSS]
- In the token parsing function SmpParseToken, just return success directly if the input string has zero length, instead of running code which does nothing at the end, because the length was zero...
- Give a default value for the "BootExecute" entry in the SMSS registry configuration table (this value is used when there is no BootExecute registry value inside HKLM\System\CurrentControlSet\Control\Session Manager) and precise that it is a multi-string value.
- Remove a redundant "Environment" entry in this table, too.

svn path=/trunk/; revision=59518

10 years ago[RTL]
Hermès Bélusca-Maïto [Fri, 19 Jul 2013 22:22:49 +0000 (22:22 +0000)]
[RTL]
- Fix a potential overflow bug.
- Don't hardcode the "/ 2" in indices computation (2 == sizeof(WCHAR))
- Fix a string enumeration bug when enumerating strings inside REG_MULTI_SZ values, in RtlQueryRegistryValues.

svn path=/trunk/; revision=59517

10 years ago[WIN32K]: Get rid of unused variables, fix all warnings on GCC 4.7
Alex Ionescu [Fri, 19 Jul 2013 17:06:14 +0000 (17:06 +0000)]
[WIN32K]: Get rid of unused variables, fix all warnings on GCC 4.7

svn path=/trunk/; revision=59516

10 years agoFinal fixes for the SYNCHRONIZE flag
Hermès Bélusca-Maïto [Fri, 19 Jul 2013 15:19:03 +0000 (15:19 +0000)]
Final fixes for the SYNCHRONIZE flag
CORE-7361 #resolve #comment Fixed in revisions 59512, 59514 and 59515.

svn path=/trunk/; revision=59515

10 years agoAdd the SYNCHRONIZE flag to the DesiredAccess parameter when using the flags FILE_SYN...
Hermès Bélusca-Maïto [Fri, 19 Jul 2013 15:05:28 +0000 (15:05 +0000)]
Add the SYNCHRONIZE flag to the DesiredAccess parameter when using the flags FILE_SYNCHRONOUS_IO_(NON)ALERT in NtCreateFile or NtOpenFile, even if one uses DesiredAccess == GENERIC_xxx (which should map to some FILE_GENERIC_xxx already containing the SYNCHRONIZE flag).
Indeed, it appears after extended testing that, when calling from user-mode, Windows checks the real presence of the SYNCHRONIZE flag when using FILE_SYNCHRONOUS_IO_(NON)ALERT even if we pass any of the GENERIC_xxx access flags...

Otherwise, when using FILE_GENERIC_(READ/WRITE) flags directly, there is no need to add the SYNCHRONIZE flag since it is already incorporated in it.

See CORE-7361 for more details.

svn path=/trunk/; revision=59514

10 years ago[WIDL]
Thomas Faber [Fri, 19 Jul 2013 14:24:22 +0000 (14:24 +0000)]
[WIDL]
- Apply Wine commit "widl: Avoid short printf formats with int variables." (7ca08fee) by Alexandre Julliard. Fixes clang warnings

svn path=/trunk/; revision=59513

10 years agoAdd the SYNCHRONIZE flag to the DesiredAccess parameter when using the flags FILE_SYN...
Hermès Bélusca-Maïto [Fri, 19 Jul 2013 14:03:46 +0000 (14:03 +0000)]
Add the SYNCHRONIZE flag to the DesiredAccess parameter when using the flags FILE_SYNCHRONOUS_IO_(NON)ALERT in NtCreateFile or NtOpenFile, even if one uses DesiredAccess == GENERIC_xxx (which should map to some FILE_GENERIC_xxx already containing the SYNCHRONIZE flag).
Indeed, it appears after extended testing that, when calling from user-mode, Windows checks the real presence of the SYNCHRONIZE flag when using FILE_SYNCHRONOUS_IO_(NON)ALERT even if we pass any of the GENERIC_xxx access flags...

Part 1/X

svn path=/trunk/; revision=59512

10 years agoFix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and...
Hermès Bélusca-Maïto [Fri, 19 Jul 2013 13:16:47 +0000 (13:16 +0000)]
Fix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and not the other way around, see msdn.microsoft.com/en-us/library/windows/hardware/ff542113(v=vs.85).aspx , http://osronline.com/DDKx/ddtools/debugfns_41yr.htm and google...) (Part 4/4)
Everything fixed now \o/

svn path=/trunk/; revision=59511

10 years agoFix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and...
Hermès Bélusca-Maïto [Fri, 19 Jul 2013 13:11:25 +0000 (13:11 +0000)]
Fix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and not the other way around, see msdn.microsoft.com/en-us/library/windows/hardware/ff542113(v=vs.85).aspx , http://osronline.com/DDKx/ddtools/debugfns_41yr.htm and google...) (Part 3/4)
NOTE: Fixing builds ;)

svn path=/trunk/; revision=59510

10 years agoFix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and...
Hermès Bélusca-Maïto [Fri, 19 Jul 2013 13:03:42 +0000 (13:03 +0000)]
Fix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and not the other way around, see msdn.microsoft.com/en-us/library/windows/hardware/ff542113(v=vs.85).aspx , http://osronline.com/DDKx/ddtools/debugfns_41yr.htm and google...) (Part 2/X)
WARNING: Might break builds now.

svn path=/trunk/; revision=59509

10 years agoFix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and...
Hermès Bélusca-Maïto [Fri, 19 Jul 2013 12:54:34 +0000 (12:54 +0000)]
Fix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and not the other way around, see msdn.microsoft.com/en-us/library/windows/hardware/ff542113(v=vs.85).aspx , http://osronline.com/DDKx/ddtools/debugfns_41yr.htm and google...) (Part 1/X)

svn path=/trunk/; revision=59508

10 years ago[DBGHELPHOST]
Amine Khaldi [Fri, 19 Jul 2013 00:11:08 +0000 (00:11 +0000)]
[DBGHELPHOST]
* Fix some warnings. Brought to you by Thomas Faber.

svn path=/trunk/; revision=59507

10 years ago[WIDL]
Thomas Faber [Thu, 18 Jul 2013 21:55:32 +0000 (21:55 +0000)]
[WIDL]
- Fix some warnings

svn path=/trunk/; revision=59506

10 years ago* Improve the way we create rossym debug info. The effort results in ~85% *smaller...
Amine Khaldi [Thu, 18 Jul 2013 21:03:01 +0000 (21:03 +0000)]
* Improve the way we create rossym debug info. The effort results in ~85% *smaller* build folder with ninja all with no code changes.

[DBGHELPHOST]
* Introduce a self-contained, static library version of dbghelp, in order to leverage its PE DWARF support. Thanks to Jerome Gardou for his work on the compatibility layer, and to Thomas Faber for helping me with the review/improvements.
* Unify the new host lib with the existing dll codebase using preprocessor conditions. This prevents code duplication.
* Skip as much unneeded functionality as possible when compiling dbghelphost to keep it light and straight to the point.
[RSYM]
* Introduce the required functions that allow parsing DWARF (using dbghelphost) and using it (along with coff symbols) to create the rossym debug info. Brought to you by Awesome Arty with some bugfixes from Jerome Gardou. Many thanks to Thomas Faber for assisting me with the testing/bug hunting.
[CMAKE/GCC]
* Introduce a combination of dwarf and debug emission flags that ensure the smallest debug info size among all the possible options we have.
* Introduce compressed debug sections that I already included the support for in RosBE 2.1. Thanks to the mingw-w64 folks (Kai Tietz) for the patch.
* Don't compress debug sections of C++ modules for now due to a bug in the toolchain that leads to spamming the build at link time with a warning.
* Don't run rsym on the RC shared libraries. Thanks to Thomas Faber for spotting this.
[DBGHELP]
* Update the ros diff to reflect the changes introduced by the dbghelphost unification.

svn path=/trunk/; revision=59505

10 years ago[INFLIB]
Thomas Faber [Thu, 18 Jul 2013 20:29:18 +0000 (20:29 +0000)]
[INFLIB]
- Avoid use of swprintf, which is blatantly incompatible with -fshort-wchar
CORE-6918 #resolve

svn path=/trunk/; revision=59504

10 years ago[UNICODE]
Thomas Faber [Thu, 18 Jul 2013 20:08:37 +0000 (20:08 +0000)]
[UNICODE]
- Fix missing isdigit

svn path=/trunk/; revision=59503

10 years ago[RSYM]
Amine Khaldi [Wed, 17 Jul 2013 14:42:33 +0000 (14:42 +0000)]
[RSYM]
* Formatting. No intended code changes.

svn path=/trunk/; revision=59496

10 years ago[NTOS]
Aleksey Bragin [Tue, 16 Jul 2013 22:37:01 +0000 (22:37 +0000)]
[NTOS]
- Fix CcMdlReadComplete2 prototype.
- Fix a bug in Dominique Cote's code: when performing FsRtlGetFileSize, the length of the buffer should be set accordingly to the information class asked for, that is - FILE_STANDARD_INFORMATION structure. Previous calculation formula makes no sense at all and leads to memory corruption (if filesystem driver is stupid enough) or inability to get file size (if filesystem driver is coded by good developers).

svn path=/trunk/; revision=59495

10 years ago[DDK]
Aleksey Bragin [Tue, 16 Jul 2013 19:57:12 +0000 (19:57 +0000)]
[DDK]
- Fix ExAllocateFromZone. I understand it's deprecated, but it having a broken implementation which can't work at all because the one who coded this function failed to understand basic algorithms of linked lists is nonsense.

svn path=/trunk/; revision=59494

10 years ago[NTOS/EX]
Aleksey Bragin [Tue, 16 Jul 2013 19:21:55 +0000 (19:21 +0000)]
[NTOS/EX]
- ExInitializeZone: Don't add to an uninitialized TotalSegmentSize value, set it instead.

svn path=/trunk/; revision=59493

10 years agoDedicated to Timo.
Aleksey Bragin [Tue, 16 Jul 2013 17:44:19 +0000 (17:44 +0000)]
Dedicated to Timo.

svn path=/trunk/; revision=59492

10 years ago[NTOS]
Aleksey Bragin [Tue, 16 Jul 2013 13:49:03 +0000 (13:49 +0000)]
[NTOS]
- Implement enabling Large Pages support if it is detected. The Page Size Extension (PSE) bit in CR4 is enabled when paging is disabled. To achieve that, a temporary virtual and physical identity mapping is created, which is discarded after PSE is enabled.

svn path=/trunk/; revision=59491

10 years ago[CMAKE]
Thomas Faber [Sun, 14 Jul 2013 21:00:42 +0000 (21:00 +0000)]
[CMAKE]
- Add configure support for VS 2013
- Add a missing /nologo to assembler invocations
- Properly complain about old MSVC versions during configure instead of failing the build

svn path=/trunk/; revision=59488

10 years ago[SAMSRV]
Eric Kohl [Sun, 14 Jul 2013 18:41:29 +0000 (18:41 +0000)]
[SAMSRV]
Add security descriptors for the account and builtin domains.

svn path=/trunk/; revision=59487

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sun, 14 Jul 2013 16:57:26 +0000 (16:57 +0000)]
[KERNEL32]
Fix some broken logic: we can duplicate console handles only if both the source and the target processes are in fact the current process.

svn path=/trunk/; revision=59486

10 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sun, 14 Jul 2013 14:52:39 +0000 (14:52 +0000)]
[KERNEL32]
Fix parameters usage when calling NtDuplicateObject.

svn path=/trunk/; revision=59485

10 years ago[SAMSRV]
Eric Kohl [Sun, 14 Jul 2013 14:22:30 +0000 (14:22 +0000)]
[SAMSRV]
Implement SamIFree_SAMPR_GET_MEMBERS_BUFFER.

svn path=/trunk/; revision=59484

10 years ago[BROWSEUI]
Thomas Faber [Sun, 14 Jul 2013 13:18:32 +0000 (13:18 +0000)]
[BROWSEUI]
- This is not Wine source. Remove hacks accordingly

svn path=/trunk/; revision=59483

10 years ago[IEFRAME][MSHTML_WINETEST]
Thomas Faber [Sun, 14 Jul 2013 13:01:55 +0000 (13:01 +0000)]
[IEFRAME][MSHTML_WINETEST]
- Use SHANDLE_PTR in IWebBrowserApp::get_HWND. Already sent to Wine.

svn path=/trunk/; revision=59482

10 years ago[CMAKE]
Thomas Faber [Sun, 14 Jul 2013 11:44:21 +0000 (11:44 +0000)]
[CMAKE]
- Do not allow add_delay_importlibs to be called on static libraries

svn path=/trunk/; revision=59481

10 years ago[WINSRV]
Hermès Bélusca-Maïto [Sun, 14 Jul 2013 11:33:26 +0000 (11:33 +0000)]
[WINSRV]
Fix a delayed-imports problem, catched by Timo and Thomas with a MSVC build. Caused by the fact that the static library consrv specified delayed imports for it, thinking that they will be added to the list of delayed imports of winsrv. In fact it doesn't work and those imports become real imports.

svn path=/trunk/; revision=59480

10 years ago[MSHTML_WINETEST]
Thomas Faber [Sun, 14 Jul 2013 10:11:45 +0000 (10:11 +0000)]
[MSHTML_WINETEST]
- Use winetest_interactive to disable tests

svn path=/trunk/; revision=59479

10 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 14 Jul 2013 09:30:26 +0000 (09:30 +0000)]
[NTOSKRNL]
Fix return of MiProtectedPoolUnProtectLinks() which was always returning null, instead of returning
safe unprotected links when needed

svn path=/trunk/; revision=59478

10 years ago[UUID]
Thomas Faber [Sun, 14 Jul 2013 09:05:50 +0000 (09:05 +0000)]
[UUID]
- Remove unused file whose only purpose is to confuse people

svn path=/trunk/; revision=59477

10 years ago[PSDK]
Thomas Faber [Sun, 14 Jul 2013 07:12:59 +0000 (07:12 +0000)]
[PSDK]
- Reduce shdeprecated.idl differences to Wine. Fixes a few warnings

svn path=/trunk/; revision=59476

10 years ago[PSDK]
Thomas Faber [Sun, 14 Jul 2013 06:29:16 +0000 (06:29 +0000)]
[PSDK]
- Move some stuff around in shdeprecated.idl to reduce the difference with Wine
- Move TLENUMF to tlogstg.idl

svn path=/trunk/; revision=59475

10 years ago[BROWSEUI][EXPLORER_NEW]
Thomas Faber [Sun, 14 Jul 2013 06:02:03 +0000 (06:02 +0000)]
[BROWSEUI][EXPLORER_NEW]
- Add missing includes aka fix build

svn path=/trunk/; revision=59474