Commit graph

61006 commits

Author SHA1 Message Date
Giannis Adamopoulos b5ea02031c [SHELL32]
- Fix crash during shell32:shlfileop test.
CORE-4476

svn path=/trunk/; revision=66388
2015-02-21 14:36:22 +00:00
Amine Khaldi 8c7c00cbc2 * Addendum to r66386.
svn path=/trunk/; revision=66387
2015-02-21 14:34:42 +00:00
Sylvain Petreolle 661bad6b05 Disable PCH use in ccache builds.
svn path=/trunk/; revision=66386
2015-02-21 14:24:19 +00:00
Eric Kohl 1a1b7a15c4 [NTOSKRNL]
NtQueryInformationFile: Implement the FileAllInformation case according to 'File System Internals' page 485.

svn path=/trunk/; revision=66385
2015-02-21 14:19:16 +00:00
Giannis Adamopoulos 6b6f74ec68 [SHELL32]
- Fix build. Also note that the previous patch was from Huw Campbell.

svn path=/trunk/; revision=66384
2015-02-21 12:59:42 +00:00
Giannis Adamopoulos 194015ecae [SHELL32]
- Implement progress dialogs for SHFileOperation
- Patch by Hwu Davies
CORE-4476

svn path=/trunk/; revision=66383
2015-02-21 12:52:58 +00:00
Thomas Faber af1e5ea7ad [KERNEL32]
- BasepGetModuleHandleExW returns BOOLEAN, not NTSTATUS. Treat it as such.
- Always set last error code on failure in BasepGetModuleHandleExW.
CORE-9241 #resolve

svn path=/trunk/; revision=66382
2015-02-21 12:24:19 +00:00
Johannes Anderwald fc3d9599a4 [STREAMCI]
- hackfix build #2

svn path=/trunk/; revision=66381
2015-02-21 10:34:13 +00:00
Johannes Anderwald d50415a948 [PSDK]
- fix build

svn path=/trunk/; revision=66380
2015-02-21 10:14:00 +00:00
Johannes Anderwald ac5ea38615 [STREAMCI]
- start implement streaming device class installer

svn path=/trunk/; revision=66379
2015-02-21 10:09:36 +00:00
Hermès Bélusca-Maïto 695876f5d8 [NTOS]
- Mispelling + whitespace fixes.
- Move the finalization of the boot logo display *before* we enable strings to be displayed (as on Windows), but *after* having increased the progress bar to 100% (contrary to Windows), so that we can display the progress bar at 100% without any problem and then do the correct transition:
  * either GUI splash-screen --> text-mode emulation console with product name in console header + footer (aka. SOS mode)
  * or SOS mode --> text-mode emulation without any graphics.
  Since it is done before starting SMSS, we can correctly display the strings it may output (or start other native apps) without fearing that after 5 seconds, the screen clears up in front of you.
CORE-9112 #resolve #comment Fixed in r66378, thanks for reporting!

svn path=/trunk/; revision=66378
2015-02-21 01:25:47 +00:00
Hermès Bélusca-Maïto b52759fd26 Fix MessageBox parameter value (handles ~= pointers --> NULL)
svn path=/trunk/; revision=66377
2015-02-20 23:52:48 +00:00
Hermès Bélusca-Maïto 83343dbae2 [MC files]
CORE-3655 #comment Hackfix the fact that when being compiled with GCC on Linux, compiled messages have their endlines encoded with LF instead of with CR-LF as required by Windows compatibility. This should be normally fixed in windmc (the GCC/binutils message compiler); I've enough complained about that, but not directly to GCC/binutils team. Until they fix their tool, I ask SVN to always store the .mc files with CR-LF endlines. This should "fix" the problem. Suggestion by Thomas Faber.

svn path=/trunk/; revision=66376
2015-02-20 23:36:23 +00:00
Hermès Bélusca-Maïto 5622302062 [SMSS]: Improve some dprints (that prints strings; sometimes they happen to print empty strings for unknown reasons so I need to really check whether they are empty or not); remove extra whitespace at the end of dprints. Initialize a variable.
svn path=/trunk/; revision=66375
2015-02-20 22:03:23 +00:00
Timo Kreuzer ac84f94b5d [WIN32K]
Add back support for allocator stack backtraces for GDI objects and dump a list of BTs, when the GDI object table is exhausted. Disabled by default.

svn path=/trunk/; revision=66374
2015-02-20 21:25:10 +00:00
Hermès Bélusca-Maïto e154160e2f [EXPLORER]: Activate Logoff command. Patch by Lee Schroeder plus extra modifs.
CORE-9104 #resolve

svn path=/trunk/; revision=66373
2015-02-20 20:08:52 +00:00
Hermès Bélusca-Maïto f9b5ca3c79 Move explorer_old to the rosapps.
CORE-9198 #resolve

svn path=/trunk/; revision=66372
2015-02-20 14:54:05 +00:00
Giannis Adamopoulos 7910f9f2f0 [WIN32K][CONSRV]
- Silence a few more debug prints

svn path=/trunk/; revision=66371
2015-02-20 14:19:30 +00:00
Giannis Adamopoulos 0baafb6d87 [WIN32K]
- Silence several debug prints that spam the debug log for no reason

svn path=/trunk/; revision=66370
2015-02-20 13:42:22 +00:00
Thomas Faber 61021517a7 [NTOS:PS]
- In PspExitThread, correctly set the ZeroInit field of the message before calling LpcRequestPort (which would otherwise complain with STATUS_INVALID_PARAMETER and fail to send the message)
- In NtRegisterThreadTerminatePort, dereference the port object in case of failure, not a null pointer
CORE-9234 #resolve

svn path=/trunk/; revision=66369
2015-02-20 12:04:57 +00:00
Thomas Faber bd97b31dbc [KERNEL32_APITEST]
- Use correct format specifier aka fix GCC build

svn path=/trunk/; revision=66368
2015-02-20 10:34:18 +00:00
Thomas Faber 93c0d33c18 [KERNEL32_APITEST]
- Add a test for process termination behavior. This shows that CreateProcess with CREATE_SUSPENDED followed by TerminateProcess causes a handle leak.
CORE-9234

svn path=/trunk/; revision=66367
2015-02-20 10:29:47 +00:00
Johannes Anderwald 963293b249 [PSDK]
- add dif function codes

svn path=/trunk/; revision=66366
2015-02-20 09:24:47 +00:00
Thomas Faber 5f07c07d64 [KERNEL32]
- Make BaseSetLastNTError return the converted Win32 error code. This will determine the upper 24 bits of EAX in functions that return BOOLEAN FALSE right after calling BaseSetLastNTError, e.g. Wow64EnableWow64FsRedirection. Fixes installers using WiX Toolset (e.g. VS2012 redist) on MSVC builds.
See http://wixtoolset.org/issues/4681/ for the WiX bug that causes this.
CORE-8010

svn path=/trunk/; revision=66365
2015-02-20 07:03:00 +00:00
James Tabor 25b96c6299 [Win32ss]
- Cleanup and remove unused code.

svn path=/trunk/; revision=66364
2015-02-20 06:24:04 +00:00
Hermès Bélusca-Maïto b1c86da173 [SHORTCUTS]: Shortcut to regedit is to regedit, not to the NT 3.x compatibility stub!!
svn path=/trunk/; revision=66363
2015-02-20 02:09:28 +00:00
Hermès Bélusca-Maïto 10483c52fc Forgot this file ;)
svn path=/trunk/; revision=66362
2015-02-20 02:07:23 +00:00
Hermès Bélusca-Maïto 6d4a7022f5 [SHELL32]: Partial sync:
SHA-1: a08160680be1a3164e882fcc41504f115ba62f12
* shell32: Automatically expand CPL applet path string.
(Hermès Bélusca-Maïto)

svn path=/trunk/; revision=66361
2015-02-20 02:05:46 +00:00
Hermès Bélusca-Maïto e1ba90be5b [FREELDR]: Code formatting; support drive numbers that can be also specified in particular in hexadecimal: 0x??? or in octal: 0??? (first character starts with '0' so it's OK).
svn path=/trunk/; revision=66360
2015-02-19 21:06:38 +00:00
Hermès Bélusca-Maïto da54da3feb [WINSRV]: Initialize Context.QueryResult to a meaningful value by default. Spotted by Thomas.
CORE-9229 #resolve

svn path=/trunk/; revision=66359
2015-02-19 20:38:03 +00:00
Pierre Schweitzer a4da8ab741 [KERNEL32]
OK, Thomas had to convince me that MAX_USHORT + MAX_USHORT + 0x400 + 0x6 cannot overflow an ULONG.
So remove useless check.
By Thomas :-)

svn path=/trunk/; revision=66358
2015-02-19 19:15:46 +00:00
Pierre Schweitzer d0b90bd6bf [KERNEL32]
Remove trailing spaces.
Patch by Thomas

svn path=/trunk/; revision=66357
2015-02-19 19:10:07 +00:00
Pierre Schweitzer becaec4f27 [KERNEL32]
Fix heap buffer overflow in case PendingFileRenameOperations already exists.
Spotted by Thomas

svn path=/trunk/; revision=66356
2015-02-19 19:05:56 +00:00
Pierre Schweitzer 5fa459dac2 [KERNEL32]
Fixx 64bits build.
Spotted by Thomas

svn path=/trunk/; revision=66355
2015-02-19 18:42:37 +00:00
Pierre Schweitzer b8620eab1b [KERNEL32]
Don't pretend that ExceptionRecord.ExceptionInformation[2] is a pointer to a string in case of Delphi exception. This can lead to invalid pointer dereference in DbgPrint then.

For instance:
(../../dll/win32/kernel32/client/except.c:371) Delphi Exception at address: 50075885
(../../dll/win32/kernel32/client/except.c:372) Exception-Object: 00E885A8
(../../dll/win32/kernel32/client/except.c:373) Exception text: 2

svn path=/trunk/; revision=66354
2015-02-19 18:36:32 +00:00
Thomas Faber b45c1ca3a8 [EXPLORER]
- Fix uninitialized variable use in CTaskSwitchWnd::OnContextMenu

svn path=/trunk/; revision=66353
2015-02-19 16:30:37 +00:00
Thomas Faber 888d828ea7 [PSDK]
- Fix packing for system restore point API types (STATEMGRSTATUS in particular). Fixes VC++ 2012 redist installer.
CORE-8010 #resolve

svn path=/trunk/; revision=66352
2015-02-19 15:42:33 +00:00
Thomas Faber c845f97fbf [KMTESTS:RTL]
- Add some simple tests for RtlRaiseStatus to the RtlException test
- Add missing volatile in (disabled) stack overflow test that caused an infinite loop on GCC builds
CORE-8773

svn path=/trunk/; revision=66351
2015-02-19 12:55:57 +00:00
James Tabor d6caab357b [NtUser]
- Fix wine msg test_SetParent tests. See CORE-7447. Show owned pop up code was added for later testing.

svn path=/trunk/; revision=66350
2015-02-19 02:03:53 +00:00
Jérôme Gardou 3bb981743c [CRYPT32]
- Addenratum to r64026: Merge the certificate stores for real.
CORE-5675 #resolve

svn path=/trunk/; revision=66349
2015-02-18 21:27:40 +00:00
Pierre Schweitzer e8c27f3109 [ROSAUTOTESTS]
Remove redundant GetTickCount() call

svn path=/trunk/; revision=66348
2015-02-18 19:52:04 +00:00
Thomas Faber e6c4261148 [GDI32_APITEST]
- Refactor EnumFontFamilies test to be more generic, and check for some common expected system fonts. This shows that EnumFontFamilies behaves correctly, but that we're missing the System font in the enumeration.
CORE-9222

svn path=/trunk/; revision=66347
2015-02-18 13:18:30 +00:00
Thomas Faber 4b1e3b1eba [MSXML3_WINETEST]
- Re-enable test_save
CORE-6738 ROSTESTS-82

svn path=/trunk/; revision=66346
2015-02-18 11:44:01 +00:00
Thomas Faber 8c6ef59bc5 [GDIPLUS_WINETESTS]
- Re-enable test_font_metrics, test_logfont and test_fontfamily.
CORE-6660
ROSTESTS-79 CORE-6643 #resolve
- Skip test_font_substitution instead.
ROSTESTS-154

svn path=/trunk/; revision=66345
2015-02-18 11:20:37 +00:00
Thomas Faber 39cc028410 [GDIPLUS_WINETEST]
- Re-enable test_string_functions
CORE-6659 ROSTESTS-78 #resolve

svn path=/trunk/; revision=66344
2015-02-18 10:50:00 +00:00
Thomas Faber 53651189db [WININET_WINETEST]
- Re-enable test_cert_struct in test_secure_connection
ROSTESTS-121 #resolve

svn path=/trunk/; revision=66343
2015-02-18 10:06:46 +00:00
Jérôme Gardou fddcf61917 [WIN32SS/NTGDI]
- Reject bits data early in SetBitmapBits when it's clear that they can't fit in the destination bitmap.
Fixes ugly Office 2007 rulers showing garbage.

svn path=/trunk/; revision=66342
2015-02-17 20:41:51 +00:00
Jérôme Gardou d40314e7dd [NTOS/SE]
- Properly dereference thread object in NtOpenThreadTokenEx

svn path=/trunk/; revision=66341
2015-02-17 20:41:47 +00:00
Jérôme Gardou 8b177cb83f [NTOS]
- Properly close handle thread when failing to start it.

svn path=/trunk/; revision=66340
2015-02-17 20:41:40 +00:00
Thomas Faber b74ab8276c [PSDK]
- Move OFN_DONTADDTORECENT and OFN_ENABLEINCLUDENOTIFY to commdlg.h where they belong

svn path=/trunk/; revision=66339
2015-02-17 18:37:24 +00:00