Commit graph

54240 commits

Author SHA1 Message Date
Giannis Adamopoulos 9d27eec93d - forgot this file
svn path=/trunk/; revision=59562
2013-07-23 10:59:05 +00:00
Giannis Adamopoulos 088f141485 [shell32]
- Stub CMenuBand class

svn path=/trunk/; revision=59561
2013-07-23 10:53:06 +00:00
Eric Kohl c9c250aca3 [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
2013-07-22 21:27:33 +00:00
Aleksey Bragin c26bb48e2d [KERNEL32]
- Move Vista+ APIs to their reservation.

svn path=/trunk/; revision=59558
2013-07-22 18:17:58 +00:00
Aleksey Bragin e0fe4809a1 [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
2013-07-22 14:45:31 +00:00
Aleksey Bragin 8789365b9a [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
2013-07-22 13:45:56 +00:00
Aleksey Bragin 1ebd4c1b0c [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
2013-07-22 13:28:56 +00:00
Aleksey Bragin 26c0debfa3 [KMTESTS]
- Beautify the source code a little. Also improve english in debug prints.

svn path=/trunk/; revision=59552
2013-07-22 12:11:38 +00:00
Hermès Bélusca-Maïto 32bb8a377c [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
2013-07-21 23:03:04 +00:00
Amine Khaldi 5697432e86 [LIBXSLT]
* Silence some warnings.

svn path=/trunk/; revision=59549
2013-07-21 16:57:57 +00:00
Pierre Schweitzer 6243e7c650 [CDMAKE]
Use calloc instead of malloc + memset

svn path=/trunk/; revision=59548
2013-07-21 16:15:16 +00:00
Amine Khaldi fe0958fb25 * 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
2013-07-21 13:33:03 +00:00
Thomas Faber 95ba3e574b [KMTESTS:SE]
- Remove broken prototypes

svn path=/trunk/; revision=59546
2013-07-20 19:40:32 +00:00
Thomas Faber 517239e69e [KMTEST]
- Fix platform includes

svn path=/trunk/; revision=59545
2013-07-20 19:36:41 +00:00
Thomas Faber 2d6aa7e6da [KMTESTS:RTL]
- Add test for REG_MULTI_SZ in RtlQueryRegistryValues

svn path=/trunk/; revision=59544
2013-07-20 19:33:13 +00:00
Giannis Adamopoulos 38f41f733e [browseui.cpp]
- Improve the hack for the global constructors by manually calling them only during DLL_PROCESS_ATTACH

svn path=/trunk/; revision=59543
2013-07-20 17:50:40 +00:00
Thomas Faber 8929ef31df [NTOS]
- Use more pool tagging

svn path=/trunk/; revision=59542
2013-07-20 17:46:38 +00:00
Giannis Adamopoulos a90ffcf21e [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
2013-07-20 16:23:54 +00:00
Thomas Faber 585164f4b0 [EXPLORER]
- Don't compile FAT support code (WTF) if it's not used

svn path=/trunk/; revision=59540
2013-07-20 14:38:35 +00:00
Timo Kreuzer 655d3f07a6 [PSDK] Fix broken (DBG_)UNREFERENCED_LOCAL_VARIABLE macros
svn path=/trunk/; revision=59539
2013-07-20 12:18:02 +00:00
Timo Kreuzer 4f2e87a42f [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
2013-07-20 12:12:13 +00:00
Thomas Faber cb5bf8777e [SPEC2DEF]
- Fix warnings

svn path=/trunk/; revision=59537
2013-07-20 11:40:04 +00:00
Thomas Faber 29cb1bacd5 [CMAKE]
- Fix MSVC 64 bit host-tools build

svn path=/trunk/; revision=59536
2013-07-20 11:07:30 +00:00
Thomas Faber d608c3cb52 [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
2013-07-20 10:43:33 +00:00
Thomas Faber 57cbddb184 [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
2013-07-20 10:23:07 +00:00
Thomas Faber efe732ec14 [CMAKE]
- Why the heck do we need GNU C++ extensions aka fix build

svn path=/trunk/; revision=59533
2013-07-20 10:02:50 +00:00
Thomas Faber e713afc1f4 [NETSHELL]
- Fix warnings

svn path=/trunk/; revision=59532
2013-07-20 09:56:58 +00:00
Thomas Faber 4248694ae9 [PSDK]
- Fix PRINTPROVIDOR::fpAddPortEx prototype

svn path=/trunk/; revision=59531
2013-07-20 09:27:15 +00:00
Hermès Bélusca-Maïto 66fa5c8c6f [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
2013-07-20 00:37:47 +00:00
Alex Ionescu 89bc3d9a83 [USBEHCI]: Straggler fix.
svn path=/trunk/; revision=59528
2013-07-20 00:13:59 +00:00
Alex Ionescu df2c8e140c [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
2013-07-20 00:10:31 +00:00
Alex Ionescu d27393f669 [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
2013-07-19 23:51:01 +00:00
Amine Khaldi 7cf03fb58d [FBTUSB]
* Silence some warnings.

svn path=/trunk/; revision=59525
2013-07-19 23:44:47 +00:00
Amine Khaldi 92b4e8d9dd [WINMM_WINETEST]
* Silence some warnings.

svn path=/trunk/; revision=59524
2013-07-19 23:42:18 +00:00
Amine Khaldi b45f58ec79 [GLU32]
* Silence some warnings.

svn path=/trunk/; revision=59523
2013-07-19 23:40:04 +00:00
Amine Khaldi 5de235ee37 [UNIATA]
* Silence some warnings.

svn path=/trunk/; revision=59522
2013-07-19 23:36:38 +00:00
Amine Khaldi 4c7178ab1b [LIBXML2]
* Disable warnings.

svn path=/trunk/; revision=59521
2013-07-19 23:33:08 +00:00
Amine Khaldi 3b80e4b780 [CARDLIB]
* Silence some warnings.

svn path=/trunk/; revision=59520
2013-07-19 23:22:19 +00:00
Amine Khaldi d26a030683 [ADNS]
* Silence some warnings.

svn path=/trunk/; revision=59519
2013-07-19 23:20:17 +00:00
Hermès Bélusca-Maïto 3a79dade5f [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
2013-07-19 22:32:34 +00:00
Hermès Bélusca-Maïto 2b4917ab72 [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
2013-07-19 22:22:49 +00:00
Alex Ionescu 485cd9ca16 [WIN32K]: Get rid of unused variables, fix all warnings on GCC 4.7
svn path=/trunk/; revision=59516
2013-07-19 17:06:14 +00:00
Hermès Bélusca-Maïto 2381e6ab77 Final fixes for the SYNCHRONIZE flag
CORE-7361 #resolve #comment Fixed in revisions 59512, 59514 and 59515.

svn path=/trunk/; revision=59515
2013-07-19 15:19:03 +00:00
Hermès Bélusca-Maïto 072209491b 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
2013-07-19 15:05:28 +00:00
Thomas Faber 29dcad6c4e [WIDL]
- Apply Wine commit "widl: Avoid short printf formats with int variables." (7ca08fee) by Alexandre Julliard. Fixes clang warnings

svn path=/trunk/; revision=59513
2013-07-19 14:24:22 +00:00
Hermès Bélusca-Maïto b15886585b 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
2013-07-19 14:03:46 +00:00
Hermès Bélusca-Maïto d81b4016ce Fix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and not the other way around, see http://msdn.microsoft.com/en-us/library/windows/hardware/ff542113(v=vs.85).aspx , http://www.osronline.com/DDKx/ddtools/debugfns_41yr.htm and google...) (Part 4/4)
Everything fixed now \o/

svn path=/trunk/; revision=59511
2013-07-19 13:16:47 +00:00
Hermès Bélusca-Maïto a24ce168b5 Fix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and not the other way around, see http://msdn.microsoft.com/en-us/library/windows/hardware/ff542113(v=vs.85).aspx , http://www.osronline.com/DDKx/ddtools/debugfns_41yr.htm and google...) (Part 3/4)
NOTE: Fixing builds ;)

svn path=/trunk/; revision=59510
2013-07-19 13:11:25 +00:00
Hermès Bélusca-Maïto 1701110528 Fix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and not the other way around, see http://msdn.microsoft.com/en-us/library/windows/hardware/ff542113(v=vs.85).aspx , http://www.osronline.com/DDKx/ddtools/debugfns_41yr.htm and google...) (Part 2/X)
WARNING: Might break builds now.

svn path=/trunk/; revision=59509
2013-07-19 13:03:42 +00:00
Hermès Bélusca-Maïto b73890ea0d Fix ASSERTMSG definition and usage (which is: ASSERTMSG(Message, expression) and not the other way around, see http://msdn.microsoft.com/en-us/library/windows/hardware/ff542113(v=vs.85).aspx , http://www.osronline.com/DDKx/ddtools/debugfns_41yr.htm and google...) (Part 1/X)
svn path=/trunk/; revision=59508
2013-07-19 12:54:34 +00:00