Commit graph

60660 commits

Author SHA1 Message Date
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
Eric Kohl f2772f2806 [NTOSKRNL]
Implement NtSaveMergedKeys and its backend CmSaveMergedKeys.

svn path=/trunk/; revision=66205
2015-02-08 11:49:58 +00:00
Thomas Faber f142ee5329 [DDK]
- Add RtlFailFast and FAST_FAIL_* codes
CORE-8419

svn path=/trunk/; revision=66204
2015-02-08 10:57:47 +00:00
Johannes Anderwald 89896f9912 [PORTCLS]
- fix crash / assert triggered with cwawdm driver
- fix irp leak
- CORE 7822

svn path=/trunk/; revision=66203
2015-02-08 08:11:51 +00:00
Hermès Bélusca-Maïto 3d3bdc5873 [WINSRV]: Remove some deprecated code, keep other parts for reusage later on; cleanup SrvExitWindowsEx. If you enable the NotifyAndTerminateProcess call, you get a basic win32 process termination. This is now where the real work starts: do not kill CSRSS nor Winlogon, do not kill processes from other sessions, etc... Deal with console apps; display timeout dialog, and focus on the app that blocks shutdown by switching to the correct desktop. And we MUST NOT use user32 desktop APIs for switching to the different desktops, but we need to directly call win32k!! (for reasons that will appear later on; not implemented at the moment). Giannis, I will need your help for that!
Part 10/X
CORE-8322

svn path=/trunk/; revision=66202
2015-02-08 00:54:22 +00:00
Thomas Faber 683c14c278 [SPEC2DEF]
- Don't warn about symbols that should be private on MSVC builds. Link already does this.
CORE-8445

svn path=/trunk/; revision=66201
2015-02-08 00:00:30 +00:00
Thomas Faber b8808ef996 [CMAKE]
- Support NO_PRIVATE_WARNINGS parameter when invoking spec2def to suppress warnings about symbols that should be private
- Disable such warnings for msxml3, ole32 and rsaenh
CORE-8445

svn path=/trunk/; revision=66200
2015-02-07 23:54:15 +00:00
Hermès Bélusca-Maïto 41180fb6b0 [SPEC2DEF]: Display the -private exports warning *only* when making import libs.
CORE-8445 #comment -private warning only displayed for import libs.

svn path=/trunk/; revision=66199
2015-02-07 21:42:26 +00:00
Thomas Faber cfcdf14cef [SPEC2DEF]
- Remove space before colon in error messages

svn path=/trunk/; revision=66198
2015-02-07 21:20:15 +00:00
Hermès Bélusca-Maïto 38bb64ba24 [WINLOGON]
- Add DPRINTs to monitor how shutdown goes on (obviously they will go away when shutdown on ROS will be working).
- Add dumb handler for LN_LOGOFF_CANCELED message (unused for now...)

[WIN32K]: DPRINTs added for monitoring shutdown.

[WINSRV]: Start to plugin the whole thing (using pieces of Alex' shutdown patch):
- We need to use a "shutdown" loop (for UserThreadInitiateShutdown win32k call) for being able to cancel shuts down (not implemented yet).
- Add the "magic" call to CsrShutdownProcesses that calls the Shutdown callback of each CSR server for each Win32 process (these are those callbacks that do the real job of terminating the apps, displaying the "Kill the app" dialog, etc...). In few words, the old (disabled) code of InternalExitReactos need to go into those shutdown callbacks (but this is for other commits!).

Part 9/X

CORE-8322 #comment Continue plugging in the shutdown code (from Alex' patch) in WINSRV with adaptations into WINLOGON (+ adding DPRINTs for controlling the whole thing).

svn path=/trunk/; revision=66197
2015-02-07 20:46:27 +00:00
Amine Khaldi aeaff2bf59 [WIN32K:INCLUDES] Some formatting fixes. NFC.
svn path=/trunk/; revision=66196
2015-02-07 19:14:42 +00:00
Timo Kreuzer 981aafb792 [WIN32K]
Fix the ROP code passed to IntEngStretchBlt from NtGdiStretchDIBitsInternal. Fixes crash of Nimbus Notes installer.
CORE-9048 #resolve

svn path=/trunk/; revision=66195
2015-02-07 17:51:20 +00:00
Hermès Bélusca-Maïto 159c00fe95 [WIN32k:includes] Whitespace fixes.
svn path=/trunk/; revision=66194
2015-02-07 16:19:57 +00:00
Timo Kreuzer 880a4bf3de [FREELDR]
- #ifdef DBG -> #if DBG
- #if 0 DbgDumpMemoryMap()

svn path=/trunk/; revision=66193
2015-02-07 15:52:18 +00:00