reactos.git
9 years ago[ROSAUTOTEST]
Thomas Faber [Mon, 16 Feb 2015 14:55:39 +0000 (14:55 +0000)]
[ROSAUTOTEST]
- Add /n option to suppress console output. May or may not help to speed up testbot runs, but can't hurt to have in here.

svn path=/trunk/; revision=66318

9 years ago[WMISVC]
Pierre Schweitzer [Mon, 16 Feb 2015 13:40:13 +0000 (13:40 +0000)]
[WMISVC]
Silence a DPRINT

svn path=/trunk/; revision=66317

9 years ago[ROSAUTOTEST]
Thomas Faber [Mon, 16 Feb 2015 13:17:04 +0000 (13:17 +0000)]
[ROSAUTOTEST]
- Abstract unidirectional anonymous pipes into a CPipe class
- Abstract a process with redirected output into a CPipedProcess class
- Use these abstractions to avoid polling for output from test processes. Instead, use blocking read operations to yield the CPU while waiting for data.
ROSTESTS-144 #resolve

svn path=/trunk/; revision=66316

9 years ago[SERVICES]
Eric Kohl [Mon, 16 Feb 2015 11:52:43 +0000 (11:52 +0000)]
[SERVICES]
Remove unused prototype.

svn path=/trunk/; revision=66315

9 years ago[SERVICES]
Eric Kohl [Mon, 16 Feb 2015 11:47:40 +0000 (11:47 +0000)]
[SERVICES]
Replace hard-coded strings by string resources.

svn path=/trunk/; revision=66314

9 years ago[PSDK]
Thomas Faber [Mon, 16 Feb 2015 09:11:13 +0000 (09:11 +0000)]
[PSDK]
- Add missing OUT_SCREEN_OUTLINE_PRECIS, OUT_PS_ONLY_PRECIS & CLIP_DFA_DISABLE definitions aka fix build

svn path=/trunk/; revision=66313

9 years ago[GDI32_WINETEST]
Thomas Faber [Mon, 16 Feb 2015 09:06:45 +0000 (09:06 +0000)]
[GDI32_WINETEST]
- Sync to Wine 1.7.36
- Properly disable test_dib_formats. ROSTESTS-152, CORE-5922
- Fix skip message in test_mono_bitmap not to point to a resolved bug. ROSTESTS-153, CORE-5922
- Re-enable font tests that were left skipped even though the associated bug is correctly marked as resolved. ROSTESTS-8

svn path=/trunk/; revision=66312

9 years ago[USER32_WINETEST]
Thomas Faber [Mon, 16 Feb 2015 07:37:19 +0000 (07:37 +0000)]
[USER32_WINETEST]
- Re-enable test_shell_window
ROSTESTS-23

svn path=/trunk/; revision=66311

9 years ago[Win32ss]
James Tabor [Mon, 16 Feb 2015 03:32:46 +0000 (03:32 +0000)]
[Win32ss]
- Fix wine msg:test_winevents.
- Fix global hooks while sending to same process different thread. Yes, interesting.
- Fix event hooks, use posting (faster) instead of sending. This fixed a problem while sending to the same thread.

svn path=/trunk/; revision=66310

9 years ago[NtUser]
James Tabor [Mon, 16 Feb 2015 03:16:01 +0000 (03:16 +0000)]
[NtUser]
- This fixes use after free linking in the message system. See CORE-9173. Dedicated to Thomas Faber.

svn path=/trunk/; revision=66309

9 years ago[KERNEL32][NTUSER]: Shut up some dprints.
Hermès Bélusca-Maïto [Sun, 15 Feb 2015 23:55:52 +0000 (23:55 +0000)]
[KERNEL32][NTUSER]: Shut up some dprints.
CORE-9186

svn path=/trunk/; revision=66308

9 years ago[NTOSKRNL]
Eric Kohl [Sun, 15 Feb 2015 23:06:30 +0000 (23:06 +0000)]
[NTOSKRNL]
NtQueryInformationFile: Implement FileAccessInformation and FileAlignmentInformation cases according to 'File System Internals' page 485.

svn path=/trunk/; revision=66307

9 years ago[WINSRV]
Hermès Bélusca-Maïto [Sun, 15 Feb 2015 22:57:40 +0000 (22:57 +0000)]
[WINSRV]
- Part 2/2 of SrvLogon (see r66303): load the per-user shutdown timeouts.
- Retrieve those per-user shutdown timeouts from the registry when the user logs on, adapted from Alex' shutdown patch plus existing code.
- Commit the main part of shutdown code (finally!), still unfinished yet:
  * Need to switch to the desktop where the hanging GUI app's window is present,
  * Need to deal with apps from other users
  * What about SYSTEM processes?
  * What about console processes?
- Reuse the old timeout code.
- Fix the sending of WM_QUERYENDSESSION and WM_ENDSESSION messages (this is done by win32k directly; for that winsrv needs just to send one WM_CLIENTSHUTDOWN message with the correct wParam parameter).

Part 13/X
CORE-8322 #comment Big commit in revision 66306!

svn path=/trunk/; revision=66306

9 years ago[NTOS]: Less "magic" indices.
Hermès Bélusca-Maïto [Sun, 15 Feb 2015 22:29:50 +0000 (22:29 +0000)]
[NTOS]: Less "magic" indices.

svn path=/trunk/; revision=66305

9 years ago[NTOS]
Thomas Faber [Sun, 15 Feb 2015 22:20:34 +0000 (22:20 +0000)]
[NTOS]
- In ExpReleaseOrWaitForKeyedEvent, always restore previous values for ETHREAD::KeyedWaitValue and ETHREAD::KeyedWaitChain, as these fields have alternative meanings outside of keyed events
- Add missing list walk in ExpReleaseOrWaitForKeyedEvent
- In Nt(WaitFor|Release)KeyedEvent, refuse keys that are not two-byte aligned as shown by Wine tests
- Don't forget to set KTHREAD::Process on thread creation
Fixes hang when running ntdll_winetest:om as well as failing tests.
ROSTESTS-118 #resolve

svn path=/trunk/; revision=66304

9 years ago[USER32]
Hermès Bélusca-Maïto [Sun, 15 Feb 2015 21:56:03 +0000 (21:56 +0000)]
[USER32]
Implement SrvLogon (client-side), called by the SetWindowStationUser API (called by winlogon) when a user logs-on (or off).
See also http://www.openrce.org/reference_library/win32_call_chains/2003SP1/USER32/SetWindowStationUser and http://www.openrce.org/reference_library/win32_call_chains/2003SP1/USER32/Logon for details.
Part 1/2

svn path=/trunk/; revision=66303

9 years ago[ADVAPI32_WINETEST]
Thomas Faber [Sun, 15 Feb 2015 18:20:59 +0000 (18:20 +0000)]
[ADVAPI32_WINETEST]
- Skip over service timeout tests because they take too long. This is not a bug, the tests are completing successfully -- however they are designed to cause service manager timeouts and take two minutes in doing so. Testbot time is too valuable to do this on every commit.
ROSTESTS-151

svn path=/trunk/; revision=66302

9 years ago[SHELL32]
David Quintana [Sun, 15 Feb 2015 18:05:34 +0000 (18:05 +0000)]
[SHELL32]
* Include enumeration of hidden files in the default shell view, until we have a proper way of toggling it.
CORE-9192

svn path=/trunk/; revision=66301

9 years ago[TDILIB][IPHLPAPI][WSHTCPIP]
Thomas Faber [Sun, 15 Feb 2015 17:57:34 +0000 (17:57 +0000)]
[TDILIB][IPHLPAPI][WSHTCPIP]
- Request only the access rights that are actually required in openTcpFile. Fixes many should-be access denied errors originating from netshell. While this doesn't fix the root cause of CORE-9172, it is a required step if we ever want netshell to work for non-Admin users.
CORE-9172

svn path=/trunk/; revision=66300

9 years ago[OLEAUT32_WINETEST]
Thomas Faber [Sun, 15 Feb 2015 17:54:41 +0000 (17:54 +0000)]
[OLEAUT32_WINETEST]
- Re-enable test_apm and test_enhmetafile.
ROSTESTS-2

svn path=/trunk/; revision=66299

9 years ago[URLMON_WINETEST]
Thomas Faber [Sun, 15 Feb 2015 17:50:18 +0000 (17:50 +0000)]
[URLMON_WINETEST]
- Re-enable protocol test.
ROSTESTS-38

svn path=/trunk/; revision=66298

9 years ago[MSISERVER]: Fix few things after commits 66278 and 66279.
Hermès Bélusca-Maïto [Sun, 15 Feb 2015 17:28:41 +0000 (17:28 +0000)]
[MSISERVER]: Fix few things after commits 66278 and 66279.
[WMISVC]: Add RPCSS dependency (ok it's not really used now since wmisvc is a stub, but it's for the future).

svn path=/trunk/; revision=66297

9 years ago[BOOTDATA]
Pierre Schweitzer [Sun, 15 Feb 2015 17:22:13 +0000 (17:22 +0000)]
[BOOTDATA]
Add missing quote.
Spotted by Hermès

svn path=/trunk/; revision=66296

9 years ago[WMISVC]
Pierre Schweitzer [Sun, 15 Feb 2015 17:19:57 +0000 (17:19 +0000)]
[WMISVC]
Add a stub for the "Windows Management Infrastructure" service.
This helps the Intel PRO eth card installer to go a bit farther

svn path=/trunk/; revision=66295

9 years agoRemove duplicated flag KLF_SETFORPROCESS.
Sylvain Petreolle [Sun, 15 Feb 2015 16:41:08 +0000 (16:41 +0000)]
Remove duplicated flag KLF_SETFORPROCESS.
Patch by Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=66294

9 years ago[FRAMEDYN]
Timo Kreuzer [Sun, 15 Feb 2015 16:18:18 +0000 (16:18 +0000)]
[FRAMEDYN]
Fix copypasta in the spec file

svn path=/trunk/; revision=66293

9 years agoForgot those files too.
Hermès Bélusca-Maïto [Sun, 15 Feb 2015 16:11:08 +0000 (16:11 +0000)]
Forgot those files too.

svn path=/trunk/; revision=66292

9 years ago[WINSRV]: Remove the now-unneeded switch-app dialog that was moved to user32 since...
Hermès Bélusca-Maïto [Sun, 15 Feb 2015 16:08:36 +0000 (16:08 +0000)]
[WINSRV]: Remove the now-unneeded switch-app dialog that was moved to user32 since revision 51459.

svn path=/trunk/; revision=66291

9 years agoFix sysfile association.
Sylvain Petreolle [Sun, 15 Feb 2015 15:49:33 +0000 (15:49 +0000)]
Fix sysfile association.
Patch by Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=66290

9 years ago[INF]
Thomas Faber [Sun, 15 Feb 2015 15:42:00 +0000 (15:42 +0000)]
[INF]
- Save inf files as UTF-8 in SVN, convert them to UTF-16 at build time as needed.
CORE-8221

svn path=/trunk/; revision=66289

9 years ago[SHELL32]
Thomas Faber [Sun, 15 Feb 2015 15:21:52 +0000 (15:21 +0000)]
[SHELL32]
- Rename "Insert" to "Paste" in CDefaultContextMenu

svn path=/trunk/; revision=66288

9 years ago[FRAMEDYN]
Timo Kreuzer [Sun, 15 Feb 2015 14:39:02 +0000 (14:39 +0000)]
[FRAMEDYN]
Fix compilation on x64

svn path=/trunk/; revision=66287

9 years ago[LIBS]
Timo Kreuzer [Sun, 15 Feb 2015 11:24:52 +0000 (11:24 +0000)]
[LIBS]
Fix some MSVC warnings (and potential bugs) regarding signed/unsigned comparison.

svn path=/trunk/; revision=66286

9 years ago[PSDK]
Timo Kreuzer [Sun, 15 Feb 2015 11:22:29 +0000 (11:22 +0000)]
[PSDK]
Add _SH_ to processor definitions, fix some processor #ifdefs
Patch by Yuntian Zhang
CORE-7946 #resolve

svn path=/trunk/; revision=66285

9 years ago[SHELL32]
Timo Kreuzer [Sun, 15 Feb 2015 11:21:31 +0000 (11:21 +0000)]
[SHELL32]
Fix prototype of COpenWithDialog::NoOpenDlgProc. DLGPROCs return INT_PTR, not BOOL. Fixes amd64 build.

svn path=/trunk/; revision=66284

9 years ago[KDVBOX]
Timo Kreuzer [Sun, 15 Feb 2015 11:13:30 +0000 (11:13 +0000)]
[KDVBOX]
Fix amd64 build

svn path=/trunk/; revision=66283

9 years ago[FREELDR]
Timo Kreuzer [Sun, 15 Feb 2015 11:10:09 +0000 (11:10 +0000)]
[FREELDR]
Fix non-x86 build

svn path=/trunk/; revision=66282

9 years ago[KMTESTS]
Thomas Faber [Sun, 15 Feb 2015 10:23:21 +0000 (10:23 +0000)]
[KMTESTS]
- Add KmtGetSystemRoutineAddress and use it to avoid importing functions that are not available in some versions of Windows. This allows running kmtests on Windows XP SP3 (and probably Server 2003 SP0/SP2). Note that failures on XP are still not valid bugs, this is purely for convenience!  Dedicated to Jérôme.
ROSTESTS-150

svn path=/trunk/; revision=66281

9 years ago[User32]
James Tabor [Sun, 15 Feb 2015 10:14:18 +0000 (10:14 +0000)]
[User32]
- Move notify window event to a better location for passing wine msg:test_winevents. See CORE-7447.

svn path=/trunk/; revision=66280

9 years ago[BOOTDATA]
Pierre Schweitzer [Sun, 15 Feb 2015 10:02:57 +0000 (10:02 +0000)]
[BOOTDATA]
Errm...
Spotted by Giannis

svn path=/trunk/; revision=66279

9 years ago[BOOTDATA]
Pierre Schweitzer [Sun, 15 Feb 2015 09:59:29 +0000 (09:59 +0000)]
[BOOTDATA]
msiexec can be used as a service (and might be required by some MSIs)

svn path=/trunk/; revision=66278

9 years ago[KMTESTS:KE]
Thomas Faber [Sun, 15 Feb 2015 09:29:32 +0000 (09:29 +0000)]
[KMTESTS:KE]
- Enable KeSpinLock test that apparently never made it into testlist.c for some reason?

svn path=/trunk/; revision=66277

9 years ago[INF]
Johannes Anderwald [Sun, 15 Feb 2015 09:03:08 +0000 (09:03 +0000)]
[INF]
- add wdmaudio.inf

svn path=/trunk/; revision=66276

9 years ago[WINLOGON][USER32]
Hermès Bélusca-Maïto [Sun, 15 Feb 2015 02:07:23 +0000 (02:07 +0000)]
[WINLOGON][USER32]
Fix the explanations of how Windows/ReactOS should shut down (it's winlogon itself that calls NtShutdownSystem, not something else; that story about "SMSS API #1" concerns the SMSS API SmpSessionCompleteApi called by the helper function SmSessionComplete which is in turn called by CSRSS function CsrDereferenceNtSession, when all win32 processes are gone, as it should).
The webpage http://www.reactos.org/wiki/ShutdownProcess should be corrected for.

[USER32]
Whitespace fixes for winstation code.

svn path=/trunk/; revision=66275

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 15 Feb 2015 00:26:41 +0000 (00:26 +0000)]
[NTOSKRNL]
Demote the "HACK: RemainingAccess = 0x%08lx  DesiredAccess = 0x%08lx\n" from DPRINT1 to DPRINT, since it's massively spamming the log.
See CORE-9184

svn path=/trunk/; revision=66274

9 years ago[WIN32K]
Timo Kreuzer [Sun, 15 Feb 2015 00:05:50 +0000 (00:05 +0000)]
[WIN32K]
In NtGdiGetDIBitsInternal limit the size of what is being copied back to to usermode to the cjMaxInfo parameter. Fixes crash of Firefox when downloading files.
CORE-8895 #resolve

svn path=/trunk/; revision=66273

9 years ago[NTFS]
Pierre Schweitzer [Sat, 14 Feb 2015 20:55:47 +0000 (20:55 +0000)]
[NTFS]
Query the value of NtfsMftZoneReservation on mount.
Not used yet.
CORE-8725

svn path=/trunk/; revision=66272

9 years ago[SHELL32]
Hermès Bélusca-Maïto [Sat, 14 Feb 2015 19:56:04 +0000 (19:56 +0000)]
[SHELL32]
- magic_value--;
- Don't assign a desktop background colour by default. So that we can get the safe-mode background working (in safe mode), while having the default desktop background colours in normal situations.
Patch by Giannis.

svn path=/trunk/; revision=66271

9 years ago[RTL]
Thomas Faber [Sat, 14 Feb 2015 19:14:32 +0000 (19:14 +0000)]
[RTL]
- Implement RtlIpv4StringToAddressExW. Patch by Mark Jansen.
CORE-6490

svn path=/trunk/; revision=66270

9 years ago[DRIVERS]
Timo Kreuzer [Sat, 14 Feb 2015 19:07:36 +0000 (19:07 +0000)]
[DRIVERS]
Fix a few MSVC warnings

svn path=/trunk/; revision=66269

9 years ago[CMAKE]
Timo Kreuzer [Sat, 14 Feb 2015 18:58:52 +0000 (18:58 +0000)]
[CMAKE]
Disable MSVC linker warning LNK4078 (multiple sections found with different attributes) for INIT sections.

svn path=/trunk/; revision=66268

9 years ago[PSDK]
Timo Kreuzer [Sat, 14 Feb 2015 17:04:42 +0000 (17:04 +0000)]
[PSDK]
Add #ifdef include guards to winnt.h. RC doesn't seem to support #pragma once and emits a redefinition warning, since with RC we first include winnt.h without STRICT defined, then again from windef.h with STRICT defined.

svn path=/trunk/; revision=66267

9 years ago[CMAKE]
Timo Kreuzer [Sat, 14 Feb 2015 15:44:44 +0000 (15:44 +0000)]
[CMAKE]
- Disable warning C4800: forcing value to bool 'true' or 'false' (performance warning). This  is emitted when assigning an integer value to a C++ bool, which is always true (1) or false (0), so assigning an integer to it, will result in an implicit comparison against 0. But "fixing" this warning by adding an explicit comparison ("bool f = (i != 0);") will actually result in LESS efficient code (for whatever reasons). So this warning can be considered entirely useless and counter productive.
- Remove C4018 (signed/unsigned mismatch) from the TODO in the disable list. A comparison between an unsigned and a signed value will very likely result in wrong behavior and can easily cause hard to spot security bugs (e.g. when doing overflow checks). It is also often easy to fix.

svn path=/trunk/; revision=66266

9 years ago[NTFS]
Pierre Schweitzer [Sat, 14 Feb 2015 15:41:44 +0000 (15:41 +0000)]
[NTFS]
NtfsMoonWalkID():
- Do not allow opening a file by ID if it's not in use any longer
- Do not attempt to create the full path, if an error occured during walk

svn path=/trunk/; revision=66265

9 years ago[NTFS]
Pierre Schweitzer [Sat, 14 Feb 2015 15:35:35 +0000 (15:35 +0000)]
[NTFS]
Simplify the implementation of the "Open by ID" feature of our driver.
Instead of creating singleton FCB not linked to the rest of FS tree, just walk the whole path down, to recreate it.

This doesn't make nfi work properly though. Will investigate more.

CORE-8725

svn path=/trunk/; revision=66264

9 years ago[SPEC2DEF]
Timo Kreuzer [Sat, 14 Feb 2015 14:28:02 +0000 (14:28 +0000)]
[SPEC2DEF]
Silence warning about ignored C++ redirections

svn path=/trunk/; revision=66263

9 years ago[GDI32_APITEST]
Timo Kreuzer [Sat, 14 Feb 2015 14:07:50 +0000 (14:07 +0000)]
[GDI32_APITEST]
Add additional tests for CreateBitmap and fix a test.
Patch by Victor Martinez
ROSTESTS-56 #resolve

svn path=/trunk/; revision=66262

9 years ago[BROWSEUI]
David Quintana [Sat, 14 Feb 2015 14:00:24 +0000 (14:00 +0000)]
[BROWSEUI]
* Convert some leftover DbgPrints to TRACEs and ERRs.

svn path=/trunk/; revision=66261

9 years ago[GDI32_APITEST]
Timo Kreuzer [Sat, 14 Feb 2015 13:24:54 +0000 (13:24 +0000)]
[GDI32_APITEST]
Fix GCC build

svn path=/trunk/; revision=66260

9 years ago[GDI32_APITEST]
Timo Kreuzer [Sat, 14 Feb 2015 13:19:02 +0000 (13:19 +0000)]
[GDI32_APITEST]
Add tests for OffsetRgn, PaintRgn and FrameRgn, fix 1BPP DIB creation in InitStuff()

svn path=/trunk/; revision=66259

9 years ago[COM_APITEST]
Thomas Faber [Sat, 14 Feb 2015 12:59:16 +0000 (12:59 +0000)]
[COM_APITEST]
- Add classes found in Wine's shell32_classes.idl and browseui_classes.idl

svn path=/trunk/; revision=66258

9 years ago[PACKAGES]
Thomas Faber [Sat, 14 Feb 2015 12:03:58 +0000 (12:03 +0000)]
[PACKAGES]
- Copy libwinpthread-1.dll if present instead of forcing the use of a specific set of GnuTLS binaries. Partially reverts r66110. Should fix testbot problems (mshtml_winetest:events in particular).
CORE-9167

svn path=/trunk/; revision=66257

9 years ago[GDI32_APITEST]
Timo Kreuzer [Sat, 14 Feb 2015 11:25:02 +0000 (11:25 +0000)]
[GDI32_APITEST]
Fix InitStuff(), declare the 32 bpp DIB array 2 dimensional and make it 8x8 in size.

svn path=/trunk/; revision=66256

9 years ago[CMAKE]
Timo Kreuzer [Sat, 14 Feb 2015 11:09:31 +0000 (11:09 +0000)]
[CMAKE]
Fix the fix. (tm)

svn path=/trunk/; revision=66255

9 years ago[CMAKE]
Timo Kreuzer [Sat, 14 Feb 2015 11:01:58 +0000 (11:01 +0000)]
[CMAKE]
Fix bugs in start/end_module_group, found by Jérôme.

svn path=/trunk/; revision=66254

9 years ago[IPHLPAPI]
Pierre Schweitzer [Sat, 14 Feb 2015 08:02:08 +0000 (08:02 +0000)]
[IPHLPAPI]
Add the missing loop iterator in GetAdaptersAddresses().
This fixes infinite loop, and fixes Firefox 3.6 boot.

CORE-9051 #resolve #comment Fixed in r66253

svn path=/trunk/; revision=66253

9 years ago[WINLOGON]
Hermès Bélusca-Maïto [Sat, 14 Feb 2015 05:27:55 +0000 (05:27 +0000)]
[WINLOGON]
- Reshuffle a bit some code.
- Never fail if the kill-COM-processes thread fails to be created.
- WlxLogoff GINA callback *must* be called *after* our logoff handling (with HandleLogoff). This is what happens on Windows (just add breakpoints on ExitWindowsEx and on WlxIsLogoffOk and WlxLogoff, and enable winlogon tracing).

[WIN32K]
Rename a flag to something more meaningful, and fix a flag filtering bug: lParams = wParam & something; ---> lParams = lParam & something; (the wParam is used for something else).

Part 12/X
CORE-8322

svn path=/trunk/; revision=66252

9 years ago[ROSTESTS]
Timo Kreuzer [Fri, 13 Feb 2015 20:20:52 +0000 (20:20 +0000)]
[ROSTESTS]
Create rostests module group. You can now compile rostests with "ninja rostests". Dedicated to Colin.

svn path=/trunk/; revision=66251

9 years ago[CMAKE]
Timo Kreuzer [Fri, 13 Feb 2015 20:19:51 +0000 (20:19 +0000)]
[CMAKE]
Add support for "module groups". These are meta targets that automatically include all targets using set_module_type() that are included between start_module_group(name) and end_module_group().

svn path=/trunk/; revision=66250

9 years ago[CONSRV]: Remove unused commented DtbgIsDesktopVisible.
Hermès Bélusca-Maïto [Fri, 13 Feb 2015 16:19:14 +0000 (16:19 +0000)]
[CONSRV]: Remove unused commented DtbgIsDesktopVisible.

svn path=/trunk/; revision=66249

9 years ago[BASESRV]: Only SHUTDOWN_NORETRY can be set via Get/SetProcessShutdownParameters...
Hermès Bélusca-Maïto [Fri, 13 Feb 2015 16:16:28 +0000 (16:16 +0000)]
[BASESRV]: Only SHUTDOWN_NORETRY can be set via Get/SetProcessShutdownParameters APIs.

svn path=/trunk/; revision=66248

9 years ago[IPHLPAPI]
Johannes Anderwald [Fri, 13 Feb 2015 15:03:45 +0000 (15:03 +0000)]
[IPHLPAPI]
- hackplement GetExtendedTcpTable class TCP_TABLE_OWNER_PID_ALL
- fixes XAMPP control panel startup

svn path=/trunk/; revision=66247

9 years ago[PSDK]
Johannes Anderwald [Fri, 13 Feb 2015 14:58:05 +0000 (14:58 +0000)]
[PSDK]
- add MIB_TCPROW_OWNER_PID, MIB_TCPTABLE_OWNER_PID types

svn path=/trunk/; revision=66246

9 years ago[NtUser]
James Tabor [Fri, 13 Feb 2015 13:45:11 +0000 (13:45 +0000)]
[NtUser]
- Fix wine msg:test_SendMessageTimeout. Do not allow the message to pass on after a timeout.

svn path=/trunk/; revision=66245

9 years ago[NtUser]
James Tabor [Fri, 13 Feb 2015 13:39:57 +0000 (13:39 +0000)]
[NtUser]
- Use a real timer for caret. This should cleanup message testing from those random system timer messages. See CORE-7447.

svn path=/trunk/; revision=66244

9 years ago[WIN32K:NTUSER]
Thomas Faber [Fri, 13 Feb 2015 10:11:50 +0000 (10:11 +0000)]
[WIN32K:NTUSER]
- Assert sanity of object reference counts in UserReferenceObject, UserDereferenceObject and UserDeleteObject. If you hit a cLockObj < 0x10000 assertion failure, you found yourself a use after free (RtlFreeHeap will put a LIST_ENTRY in this location, so a freed item has a kernel pointer there).
See CORE-8703 for an example.

svn path=/trunk/; revision=66243

9 years ago[GDI32_APITEST]
Thomas Faber [Fri, 13 Feb 2015 09:06:00 +0000 (09:06 +0000)]
[GDI32_APITEST]
- Fix stack buffer overflow in InitPerBitDepth
ROSTESTS-147 #resolve

svn path=/trunk/; revision=66242

9 years ago[NtUser]
James Tabor [Fri, 13 Feb 2015 01:03:38 +0000 (01:03 +0000)]
[NtUser]
- This should fix dialog breakage due to r66237.

svn path=/trunk/; revision=66241

9 years ago[WINLOGON]
Hermès Bélusca-Maïto [Thu, 12 Feb 2015 23:35:58 +0000 (23:35 +0000)]
[WINLOGON]
- Implement KillComProcesses that just kills with force and without any notification back to winlogon, any remaining app that is still alive even if we asked before to kill apps (it's just the aim of this function, not more).
- Fix internal flags according to WinDbg sessions with Win2k3 + tracing checked build winlogon (testing logoff/shutdown/reboot from winlogon itself and when using the "shutdown" command).
- FIXME: Manage EWX_FORCE flag in winlogon...

[WINSRV]
Fix a DPRINT.

[WIN32K]
- Introduce a NotifyLogon function to manage winlogon notifications (when we shutdown and "end" shutdown steps, or cancel it).
- Fix some flags settings.

Part 11/X
CORE-8322

-------
This is a test:
!error !rot13 !reebe !ebg13 !error !rot13 !reebe !ebg13

svn path=/trunk/; revision=66240

9 years ago[NtUser]
James Tabor [Thu, 12 Feb 2015 23:10:10 +0000 (23:10 +0000)]
[NtUser]
- Fix dialog breakage due to r66237.

svn path=/trunk/; revision=66239

9 years ago[NtUser]
James Tabor [Thu, 12 Feb 2015 21:33:43 +0000 (21:33 +0000)]
[NtUser]
- Fix wine msg.c:test_quit_message tests.

svn path=/trunk/; revision=66238

9 years ago[NtUser]
James Tabor [Thu, 12 Feb 2015 21:28:39 +0000 (21:28 +0000)]
[NtUser]
- Reorder Destroy and Free window, getting close to how wine does it. Still more work is needed.

svn path=/trunk/; revision=66237

9 years ago[WIN32K]
Timo Kreuzer [Thu, 12 Feb 2015 09:18:20 +0000 (09:18 +0000)]
[WIN32K]
Initialize EBRUSHOBJ.psoMask in EBRUSHOBJ_vInit. Should fix CORE-9165

svn path=/trunk/; revision=66236

9 years ago[NTOS:MM]
Thomas Faber [Thu, 12 Feb 2015 09:14:52 +0000 (09:14 +0000)]
[NTOS:MM]
- Set aside some additional system PTEs if special pool is enabled
CORE-8680

svn path=/trunk/; revision=66235

9 years ago[NtUser]
James Tabor [Thu, 12 Feb 2015 00:17:41 +0000 (00:17 +0000)]
[NtUser]
- Fix the results from the new API CreateWindowEx tests. Message sequence and isolating each job Destroy and Free perform will come later. Refer to CORE-8703. This may not fix the crash while in wine test User32:msg.c.
- Dedicated to Thomas Faber.
- Fix build window list using threads. The link list works okay for locking but for tracking thread windows, use the snapshot method.

svn path=/trunk/; revision=66234

9 years ago[ApiTest]
James Tabor [Wed, 11 Feb 2015 23:53:08 +0000 (23:53 +0000)]
[ApiTest]
- Add Thomas Faber API test from CORE-8703.

svn path=/trunk/; revision=66233

9 years ago[MESA]
Timo Kreuzer [Wed, 11 Feb 2015 21:36:01 +0000 (21:36 +0000)]
[MESA]
Partly sync find_value() with MESA 10.4.4. Fixes endless loop when GoogleEarth is started. GoogleEarth now loads and displays the earth, but it doesn't handle any input and makes the entire GUI hang.

svn path=/trunk/; revision=66232

9 years ago[WIN32K]
Timo Kreuzer [Wed, 11 Feb 2015 21:35:48 +0000 (21:35 +0000)]
[WIN32K]
Implement support for hatch brush masks.

svn path=/trunk/; revision=66231

9 years ago[WIN32K]
Timo Kreuzer [Wed, 11 Feb 2015 21:35:09 +0000 (21:35 +0000)]
[WIN32K]
Fix handling of mask bitmap in NtGdiMaskBlt

svn path=/trunk/; revision=66230

9 years ago[WIN32K]
Timo Kreuzer [Wed, 11 Feb 2015 21:34:42 +0000 (21:34 +0000)]
[WIN32K]
- Handle the case where we have a masked ROP, but no mask surface in EngBitBlt
- Alloc ROPs with a mask in EngPaint
Fixes ASSERT when GoogleEarth is launched.

svn path=/trunk/; revision=66229

9 years ago[WIN32K]
Timo Kreuzer [Wed, 11 Feb 2015 21:34:11 +0000 (21:34 +0000)]
[WIN32K]
Add minimal infrastructure for handling pattern brush masks.

svn path=/trunk/; revision=66228

9 years ago[WIN32K]
Timo Kreuzer [Wed, 11 Feb 2015 21:33:50 +0000 (21:33 +0000)]
[WIN32K]
Improve naming of some BRUSH fields and set the correct fields to the correct values (ulStyle was not for the brush style, but the hatch style!)

svn path=/trunk/; revision=66227

9 years ago[WIN32K]
Timo Kreuzer [Wed, 11 Feb 2015 21:33:24 +0000 (21:33 +0000)]
[WIN32K]
- Make sure PENs and BRUSHes are properly initialized.
- Fix BRUSHATTR allocation
- enable BRUSHATTR deallocation
- Remove some obsolete defines

svn path=/trunk/; revision=66226

9 years ago[WIN32K]
Timo Kreuzer [Wed, 11 Feb 2015 21:32:54 +0000 (21:32 +0000)]
[WIN32K]
Fix ROP2 value coming from user mode before using it.

svn path=/trunk/; revision=66225

9 years ago[WIN32K]
Timo Kreuzer [Wed, 11 Feb 2015 21:32:24 +0000 (21:32 +0000)]
[WIN32K]
Simplify ROP4_USES_* macros

svn path=/trunk/; revision=66224

9 years ago[WIN32K]: Fix an insecure user buffer reading/writing. Caught by Thomas Faber, thanks!
Hermès Bélusca-Maïto [Wed, 11 Feb 2015 20:12:30 +0000 (20:12 +0000)]
[WIN32K]: Fix an insecure user buffer reading/writing. Caught by Thomas Faber, thanks!
CORE-8322

svn path=/trunk/; revision=66223

9 years ago[SHELL32]
Thomas Faber [Wed, 11 Feb 2015 11:06:12 +0000 (11:06 +0000)]
[SHELL32]
- Show a confirmation dialog when emptying the recycle bin. Patch by Robert Naumann, with some modifications by me.
CORE-9006 #resolve

svn path=/trunk/; revision=66222

9 years ago[GDI32_APITEST]
Timo Kreuzer [Tue, 10 Feb 2015 22:33:19 +0000 (22:33 +0000)]
[GDI32_APITEST]
Add more tests for MaskBlt

svn path=/trunk/; revision=66221

9 years ago[GDI32_APITEST]
Timo Kreuzer [Tue, 10 Feb 2015 22:31:17 +0000 (22:31 +0000)]
[GDI32_APITEST]
Add more helper code

svn path=/trunk/; revision=66220

9 years ago[BROWSEUI]
Daniel Reimer [Tue, 10 Feb 2015 21:02:11 +0000 (21:02 +0000)]
[BROWSEUI]
Fix german layout to... look better.

svn path=/trunk/; revision=66219