Commit graph

60998 commits

Author SHA1 Message Date
James Tabor af36a2a4df [User32]
- Move notify window event to a better location for passing wine msg:test_winevents. See CORE-7447.

svn path=/trunk/; revision=66280
2015-02-15 10:14:18 +00:00
Pierre Schweitzer c1e830e073 [BOOTDATA]
Errm...
Spotted by Giannis

svn path=/trunk/; revision=66279
2015-02-15 10:02:57 +00:00
Pierre Schweitzer 8ea7e85637 [BOOTDATA]
msiexec can be used as a service (and might be required by some MSIs)

svn path=/trunk/; revision=66278
2015-02-15 09:59:29 +00:00
Thomas Faber bc8701e5b7 [KMTESTS:KE]
- Enable KeSpinLock test that apparently never made it into testlist.c for some reason?

svn path=/trunk/; revision=66277
2015-02-15 09:29:32 +00:00
Johannes Anderwald 5ff3a2b55c [INF]
- add wdmaudio.inf 

svn path=/trunk/; revision=66276
2015-02-15 09:03:08 +00:00
Hermès Bélusca-Maïto 4c28eeae21 [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
2015-02-15 02:07:23 +00:00
Timo Kreuzer 61ec2f8e01 [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
2015-02-15 00:26:41 +00:00
Timo Kreuzer e07232f673 [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
2015-02-15 00:05:50 +00:00
Pierre Schweitzer 5b0af50bdc [NTFS]
Query the value of NtfsMftZoneReservation on mount.
Not used yet.
CORE-8725

svn path=/trunk/; revision=66272
2015-02-14 20:55:47 +00:00
Hermès Bélusca-Maïto 4f6f4969d9 [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
2015-02-14 19:56:04 +00:00
Thomas Faber a3e8496b8d [RTL]
- Implement RtlIpv4StringToAddressExW. Patch by Mark Jansen.
CORE-6490

svn path=/trunk/; revision=66270
2015-02-14 19:14:32 +00:00
Timo Kreuzer 279e2f65b3 [DRIVERS]
Fix a few MSVC warnings

svn path=/trunk/; revision=66269
2015-02-14 19:07:36 +00:00
Timo Kreuzer 2566611f13 [CMAKE]
Disable MSVC linker warning LNK4078 (multiple sections found with different attributes) for INIT sections.

svn path=/trunk/; revision=66268
2015-02-14 18:58:52 +00:00
Timo Kreuzer d932c7c5bf [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
2015-02-14 17:04:42 +00:00
Timo Kreuzer 1605785f0b [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
2015-02-14 15:44:44 +00:00
Pierre Schweitzer 4490614032 [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
2015-02-14 15:41:44 +00:00
Pierre Schweitzer 483c6f32a5 [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
2015-02-14 15:35:35 +00:00
Timo Kreuzer e713b40c77 [SPEC2DEF]
Silence warning about ignored C++ redirections

svn path=/trunk/; revision=66263
2015-02-14 14:28:02 +00:00
Timo Kreuzer 0be5288cdb [GDI32_APITEST]
Add additional tests for CreateBitmap and fix a test.
Patch by Victor Martinez
ROSTESTS-56 #resolve

svn path=/trunk/; revision=66262
2015-02-14 14:07:50 +00:00
David Quintana a15598b25c [BROWSEUI]
* Convert some leftover DbgPrints to TRACEs and ERRs.

svn path=/trunk/; revision=66261
2015-02-14 14:00:24 +00:00
Timo Kreuzer 35862dad78 [GDI32_APITEST]
Fix GCC build

svn path=/trunk/; revision=66260
2015-02-14 13:24:54 +00:00
Timo Kreuzer dd25b0e4c0 [GDI32_APITEST]
Add tests for OffsetRgn, PaintRgn and FrameRgn, fix 1BPP DIB creation in InitStuff()

svn path=/trunk/; revision=66259
2015-02-14 13:19:02 +00:00
Thomas Faber 46e350e52c [COM_APITEST]
- Add classes found in Wine's shell32_classes.idl and browseui_classes.idl

svn path=/trunk/; revision=66258
2015-02-14 12:59:16 +00:00
Thomas Faber 094a54bd50 [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
2015-02-14 12:03:58 +00:00
Timo Kreuzer 529aae440b [GDI32_APITEST]
Fix InitStuff(), declare the 32 bpp DIB array 2 dimensional and make it 8x8 in size.

svn path=/trunk/; revision=66256
2015-02-14 11:25:02 +00:00
Timo Kreuzer 151e583938 [CMAKE]
Fix the fix. (tm)

svn path=/trunk/; revision=66255
2015-02-14 11:09:31 +00:00
Timo Kreuzer ec1c6cbde1 [CMAKE]
Fix bugs in start/end_module_group, found by Jérôme.

svn path=/trunk/; revision=66254
2015-02-14 11:01:58 +00:00
Pierre Schweitzer 4a5d15129b [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
2015-02-14 08:02:08 +00:00
Hermès Bélusca-Maïto d3b9c68d22 [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
2015-02-14 05:27:55 +00:00
Timo Kreuzer 31e18a472f [ROSTESTS]
Create rostests module group. You can now compile rostests with "ninja rostests". Dedicated to Colin.

svn path=/trunk/; revision=66251
2015-02-13 20:20:52 +00:00
Timo Kreuzer acc5a32efa [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
2015-02-13 20:19:51 +00:00
Hermès Bélusca-Maïto b8a680b61e [CONSRV]: Remove unused commented DtbgIsDesktopVisible.
svn path=/trunk/; revision=66249
2015-02-13 16:19:14 +00:00
Hermès Bélusca-Maïto 71b4e606fd [BASESRV]: Only SHUTDOWN_NORETRY can be set via Get/SetProcessShutdownParameters APIs.
svn path=/trunk/; revision=66248
2015-02-13 16:16:28 +00:00
Johannes Anderwald c75d1415e8 [IPHLPAPI]
- hackplement GetExtendedTcpTable class TCP_TABLE_OWNER_PID_ALL
- fixes XAMPP control panel startup

svn path=/trunk/; revision=66247
2015-02-13 15:03:45 +00:00
Johannes Anderwald 0cffc5a67c [PSDK]
- add MIB_TCPROW_OWNER_PID, MIB_TCPTABLE_OWNER_PID types

svn path=/trunk/; revision=66246
2015-02-13 14:58:05 +00:00
James Tabor fee28b842e [NtUser]
- Fix wine msg:test_SendMessageTimeout. Do not allow the message to pass on after a timeout.

svn path=/trunk/; revision=66245
2015-02-13 13:45:11 +00:00
James Tabor 89e2d8aeb8 [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
2015-02-13 13:39:57 +00:00
Thomas Faber f0c36353f3 [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
2015-02-13 10:11:50 +00:00
Thomas Faber c4f27cbca8 [GDI32_APITEST]
- Fix stack buffer overflow in InitPerBitDepth
ROSTESTS-147 #resolve

svn path=/trunk/; revision=66242
2015-02-13 09:06:00 +00:00
James Tabor cc64141e3f [NtUser]
- This should fix dialog breakage due to r66237.

svn path=/trunk/; revision=66241
2015-02-13 01:03:38 +00:00
Hermès Bélusca-Maïto fc6cd9e51d [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
2015-02-12 23:35:58 +00:00
James Tabor adf709aee1 [NtUser]
- Fix dialog breakage due to r66237.

svn path=/trunk/; revision=66239
2015-02-12 23:10:10 +00:00
James Tabor 56ed054411 [NtUser]
- Fix wine msg.c:test_quit_message tests.

svn path=/trunk/; revision=66238
2015-02-12 21:33:43 +00:00
James Tabor b390d903ad [NtUser]
- Reorder Destroy and Free window, getting close to how wine does it. Still more work is needed.

svn path=/trunk/; revision=66237
2015-02-12 21:28:39 +00:00
Timo Kreuzer c940d08a6a [WIN32K]
Initialize EBRUSHOBJ.psoMask in EBRUSHOBJ_vInit. Should fix CORE-9165

svn path=/trunk/; revision=66236
2015-02-12 09:18:20 +00:00
Thomas Faber f1d9eded2c [NTOS:MM]
- Set aside some additional system PTEs if special pool is enabled
CORE-8680

svn path=/trunk/; revision=66235
2015-02-12 09:14:52 +00:00
James Tabor d0376b2093 [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
2015-02-12 00:17:41 +00:00
James Tabor 8f317b9b09 [ApiTest]
- Add Thomas Faber API test from CORE-8703.

svn path=/trunk/; revision=66233
2015-02-11 23:53:08 +00:00
Timo Kreuzer c34281f198 [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
2015-02-11 21:36:01 +00:00
Timo Kreuzer becf1bd404 [WIN32K]
Implement support for hatch brush masks.

svn path=/trunk/; revision=66231
2015-02-11 21:35:48 +00:00