reactos.git
10 years ago[DDK]
Amine Khaldi [Fri, 2 Aug 2013 16:02:54 +0000 (16:02 +0000)]
[DDK]
* Annotate storport.h.

svn path=/trunk/; revision=59619

10 years ago[DDK]
Amine Khaldi [Fri, 2 Aug 2013 14:47:21 +0000 (14:47 +0000)]
[DDK]
* Annotate tdikrnl.h.

svn path=/trunk/; revision=59618

10 years ago[DDK]
Amine Khaldi [Fri, 2 Aug 2013 13:59:35 +0000 (13:59 +0000)]
[DDK]
* Annotate srb.h.

svn path=/trunk/; revision=59617

10 years ago[DDK]
Amine Khaldi [Thu, 1 Aug 2013 21:43:07 +0000 (21:43 +0000)]
[DDK]
* Annotate minitape.h.

svn path=/trunk/; revision=59616

10 years ago[WIN32SS]
Amine Khaldi [Thu, 1 Aug 2013 16:39:27 +0000 (16:39 +0000)]
[WIN32SS]
* Sync user32 spy.c with Wine 1.5.26. Based on a patch by Samuel Serapion updated by me.
CORE-7210 #resolve #comment Committed an updated version in r59615. Thanks.

svn path=/trunk/; revision=59615

10 years ago[KERNEL32]
Amine Khaldi [Thu, 1 Aug 2013 16:15:11 +0000 (16:15 +0000)]
[KERNEL32]
* Sync GetLocaleInfoW with Wine 1.5.26.
CORE-7281

svn path=/trunk/; revision=59614

10 years ago[NOTEPAD]
Amine Khaldi [Thu, 1 Aug 2013 15:43:43 +0000 (15:43 +0000)]
[NOTEPAD]
* Improve the file description. By Lee Schroeder.
CORE-7320 #resolved #comment Committed in r59612. Thanks.

svn path=/trunk/; revision=59613

10 years ago[CMD]
Amine Khaldi [Thu, 1 Aug 2013 15:40:34 +0000 (15:40 +0000)]
[CMD]
* Plug a memory leak. Based on a patch by Samuel Serapion.
CORE-7297 #resolve #comment Fixed in r59611. Thanks.

svn path=/trunk/; revision=59612

10 years ago[FULLFAT]
Amine Khaldi [Thu, 1 Aug 2013 15:28:54 +0000 (15:28 +0000)]
[FULLFAT]
* Silence some warnings.

svn path=/trunk/; revision=59611

10 years ago[DDK]
Amine Khaldi [Thu, 1 Aug 2013 14:35:54 +0000 (14:35 +0000)]
[DDK]
* Fix annotations for INSTANCE_BASIC_INFORMATION, INSTANCE_PARTIAL_INFORMATION and INSTANCE_FULL_INFORMATION.

svn path=/trunk/; revision=59610

10 years ago[MOUNTMGR]
Amine Khaldi [Thu, 1 Aug 2013 14:29:03 +0000 (14:29 +0000)]
[MOUNTMGR]
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=59609

10 years ago[SAL]
Amine Khaldi [Thu, 1 Aug 2013 14:18:15 +0000 (14:18 +0000)]
[SAL]
* Add __inner_callback annotation.

svn path=/trunk/; revision=59608

10 years ago[CMIDRIVER]
Amine Khaldi [Thu, 1 Aug 2013 14:15:22 +0000 (14:15 +0000)]
[CMIDRIVER]
* Improve header inclusions for cmicontrol and cmicpl.

svn path=/trunk/; revision=59607

10 years ago[COMSUPP]
Amine Khaldi [Thu, 1 Aug 2013 14:11:58 +0000 (14:11 +0000)]
[COMSUPP]
* Improve the header inclusions.

svn path=/trunk/; revision=59606

10 years ago[LIBUSB]
Johannes Anderwald [Wed, 31 Jul 2013 18:21:24 +0000 (18:21 +0000)]
[LIBUSB]
- Perform intialization of root hub in a worker thread
- Should help ReactOS to continue booting when an usb controller causes hangs

svn path=/trunk/; revision=59605

10 years ago[DDK]
Amine Khaldi [Wed, 31 Jul 2013 16:59:44 +0000 (16:59 +0000)]
[DDK]
* Annotate ndiswan.h.

svn path=/trunk/; revision=59604

10 years ago[DDK]
Amine Khaldi [Wed, 31 Jul 2013 14:13:58 +0000 (14:13 +0000)]
[DDK]
* Annotate ndistapi.h.

svn path=/trunk/; revision=59603

10 years ago[TRANSLATIONS]
Amine Khaldi [Wed, 31 Jul 2013 14:07:36 +0000 (14:07 +0000)]
[TRANSLATIONS]
* Italian translation update for hostname, notepad, input, devmgr and msgina. By Paolo Devoti.
CORE-7319 #resolve #comment Committed in r59602. Grazie!

svn path=/trunk/; revision=59602

10 years ago[TRANSLATIONS]
Amine Khaldi [Wed, 31 Jul 2013 13:50:52 +0000 (13:50 +0000)]
[TRANSLATIONS]
* Czech translation update for shutdown, sndvol32, taskmgr, explorer, appwiz, main, wined3dcfg, devmgr and shell32. By Radek Liska aka Black_Fox.
CORE-7248 #resolve #comment Committed in r59601. Thanks ;)

svn path=/trunk/; revision=59601

10 years ago[QUARTZ]
Amine Khaldi [Wed, 31 Jul 2013 13:30:50 +0000 (13:30 +0000)]
[QUARTZ]
* Correct IAMDirectSound::GetFocusWindow signature.
* Brought to you by Thomas Faber. Already applied upstream.

svn path=/trunk/; revision=59600

10 years ago[APPLICATIONS]
Amine Khaldi [Wed, 31 Jul 2013 13:25:51 +0000 (13:25 +0000)]
[APPLICATIONS]
* Turkish translation improvements for 3dtext, calc, charmap, devmgmt_new, dxdiag, eventvwr, fontview, kbswitch, logon, magnify, mplay32, msconfig, mspaint, mstsc, rapps, regedit, servman, sndrec32, taskmgr and wordpad. By Erdem Ersoy.
CORE-7370 #resolve #comment Committed in r59599.. Thanks !

svn path=/trunk/; revision=59599

10 years ago[CMAKE/GCC]
Amine Khaldi [Wed, 31 Jul 2013 13:04:38 +0000 (13:04 +0000)]
[CMAKE/GCC]
* Compile debug builds using -O1 instead of -Os. This results in faster compilation time with no measurable difference in runtime performance according to tests.
CORE-7374 #resolve #comment Committed in r59598.

svn path=/trunk/; revision=59598

10 years ago[KERNEL32]
Amine Khaldi [Tue, 30 Jul 2013 16:13:40 +0000 (16:13 +0000)]
[KERNEL32]
* Fix GCC -O0 build.

svn path=/trunk/; revision=59597

10 years ago[PSDK]
Amine Khaldi [Tue, 30 Jul 2013 16:12:18 +0000 (16:12 +0000)]
[PSDK]
* Make WS2TCPIP_INLINE and MSTCPIP_INLINE static inline instead of extern inline. This way we don't run into any warnings.

svn path=/trunk/; revision=59596

10 years ago[INCLUDE/WINE]
Amine Khaldi [Tue, 30 Jul 2013 16:06:38 +0000 (16:06 +0000)]
[INCLUDE/WINE]
* Leverage __builtin_ffs() to fix the ffs() related issues.

svn path=/trunk/; revision=59595

10 years ago[SAMSRV]
Eric Kohl [Sun, 28 Jul 2013 22:18:42 +0000 (22:18 +0000)]
[SAMSRV]
Use a common routine to check all account names.

svn path=/trunk/; revision=59594

10 years ago[RSYM]
Amine Khaldi [Sun, 28 Jul 2013 20:37:51 +0000 (20:37 +0000)]
[RSYM]
* Speedup FindOrAddString(). Brought to you by Art Yerkes (arty).

svn path=/trunk/; revision=59593

10 years ago[CSRSRV]
Timo Kreuzer [Sun, 28 Jul 2013 13:54:42 +0000 (13:54 +0000)]
[CSRSRV]
Use symbolic constant for number of hash buckets and use it where appropriate (fixing one missing location).

svn path=/trunk/; revision=59592

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