Commit graph

60773 commits

Author SHA1 Message Date
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
Timo Kreuzer 88cc747e0b [WIN32K]
Fix handling of mask bitmap in NtGdiMaskBlt

svn path=/trunk/; revision=66230
2015-02-11 21:35:09 +00:00
Timo Kreuzer ab543f2e54 [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
2015-02-11 21:34:42 +00:00
Timo Kreuzer aad6643529 [WIN32K]
Add minimal infrastructure for handling pattern brush masks.

svn path=/trunk/; revision=66228
2015-02-11 21:34:11 +00:00
Timo Kreuzer 3035893507 [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
2015-02-11 21:33:50 +00:00
Timo Kreuzer 1b7dcc47ca [WIN32K]
- Make sure PENs and BRUSHes are properly initialized.
- Fix BRUSHATTR allocation
- enable BRUSHATTR deallocation
- Remove some obsolete defines

svn path=/trunk/; revision=66226
2015-02-11 21:33:24 +00:00
Timo Kreuzer a9a2c6971f [WIN32K]
Fix ROP2 value coming from user mode before using it.

svn path=/trunk/; revision=66225
2015-02-11 21:32:54 +00:00
Timo Kreuzer cc61579cf1 [WIN32K]
Simplify ROP4_USES_* macros

svn path=/trunk/; revision=66224
2015-02-11 21:32:24 +00:00
Hermès Bélusca-Maïto ccb97ad07d [WIN32K]: Fix an insecure user buffer reading/writing. Caught by Thomas Faber, thanks!
CORE-8322

svn path=/trunk/; revision=66223
2015-02-11 20:12:30 +00:00
Thomas Faber 07232c5dd8 [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
2015-02-11 11:06:12 +00:00
Timo Kreuzer 4b22cb6483 [GDI32_APITEST]
Add more tests for MaskBlt

svn path=/trunk/; revision=66221
2015-02-10 22:33:19 +00:00
Timo Kreuzer 95d5773b2e [GDI32_APITEST]
Add more helper code

svn path=/trunk/; revision=66220
2015-02-10 22:31:17 +00:00
Daniel Reimer bd1dc3f8ca [BROWSEUI]
Fix german layout to... look better.

svn path=/trunk/; revision=66219
2015-02-10 21:02:11 +00:00
Thomas Faber a7c7e5b7cf [GDI32_APITEST]
- Fix flakiness in GetDIBits test

svn path=/trunk/; revision=66218
2015-02-10 20:29:54 +00:00
Hermès Bélusca-Maïto 9c52a6c77b [CONSRV]: Fix a DPRINT.
svn path=/trunk/; revision=66217
2015-02-10 18:27:34 +00:00
Aleksandar Andrejevic 7ffd32d418 [FAST486]
Implement Fast486FpuMultiply properly.


svn path=/trunk/; revision=66216
2015-02-10 17:29:26 +00:00
Daniel Reimer fdc2ad5b23 [BROWSEUI]
German update.
(Is it possible that our browseui is not even similar to the one from Win 5.2?)

svn path=/trunk/; revision=66215
2015-02-10 02:03:35 +00:00
Daniel Reimer ab2c8401b7 [BROWSEUI]
Sync all languages with the once more not synced English one... Every language has a different state and no one sees that if the new strings are not added in there. At least add the English original. Thx for understanding.
DIALOG -> DIALOGEX

svn path=/trunk/; revision=66214
2015-02-09 23:25:49 +00:00
Giannis Adamopoulos 791bd8a318 Fix build on unix hosts
svn path=/trunk/; revision=66213
2015-02-09 22:31:53 +00:00
Giannis Adamopoulos bb9cc13c1f [BROWSEUI]
- Implement CProgressDialog based on wine
- Patch by Huw Campbell, improved by me
CORE-4476

svn path=/trunk/; revision=66212
2015-02-09 22:29:23 +00:00
Thomas Faber fd227cda35 [INCLUDE]
- Fix CListView::HitTest. Fixes stack corruption when dragging files on the desktop.
CORE-9143 #resolve

svn path=/trunk/; revision=66211
2015-02-09 19:59:59 +00:00
Thomas Faber c066cbd438 [USER32]
- In ICO_ExtractIconExW, don't try to return two icons if only one was requested. Fixes stack corruption.
CORE-9142 #resolve

svn path=/trunk/; revision=66210
2015-02-09 19:04:42 +00:00
Giannis Adamopoulos 7b2c9d42ef [COM_APITEST]
- Test the interfaces exposed by CLSID_ProgressDialog
CORE-4476

svn path=/trunk/; revision=66209
2015-02-08 23:47:11 +00:00
Thomas Faber 3df35a13be [DDK]
- Add additional list entry checks that can be optionally enabled by defining EXTRA_KERNEL_LIST_ENTRY_CHECKS. These checks warn against attempts to remove items from an empty list, which can easily be an error (and is trivial to avoid where it's not).
- Enable these checks by default for ReactOS code
CORE-8419 #resolve

svn path=/trunk/; revision=66208
2015-02-08 14:22:26 +00:00
Thomas Faber 5a1de25f17 [NTOS]
- Avoid removing list entry if the list is empty in IopUnQueueIrpFromThread
CORE-8419

svn path=/trunk/; revision=66207
2015-02-08 14:15:45 +00:00
Thomas Faber a5667eedbc [DDK]
- Add list entry security checks equivalent to those in current WDKs. This is useful for ROS because it detects memory corruption very quickly.
CORE-8419

svn path=/trunk/; revision=66206
2015-02-08 13:22:06 +00:00