reactos.git
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

9 years ago[GDI32_APITEST]
Thomas Faber [Tue, 10 Feb 2015 20:29:54 +0000 (20:29 +0000)]
[GDI32_APITEST]
- Fix flakiness in GetDIBits test

svn path=/trunk/; revision=66218

9 years ago[CONSRV]: Fix a DPRINT.
Hermès Bélusca-Maïto [Tue, 10 Feb 2015 18:27:34 +0000 (18:27 +0000)]
[CONSRV]: Fix a DPRINT.

svn path=/trunk/; revision=66217

9 years ago[FAST486]
Aleksandar Andrejevic [Tue, 10 Feb 2015 17:29:26 +0000 (17:29 +0000)]
[FAST486]
Implement Fast486FpuMultiply properly.

svn path=/trunk/; revision=66216

9 years ago[BROWSEUI]
Daniel Reimer [Tue, 10 Feb 2015 02:03:35 +0000 (02:03 +0000)]
[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

9 years ago[BROWSEUI]
Daniel Reimer [Mon, 9 Feb 2015 23:25:49 +0000 (23:25 +0000)]
[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

9 years agoFix build on unix hosts
Giannis Adamopoulos [Mon, 9 Feb 2015 22:31:53 +0000 (22:31 +0000)]
Fix build on unix hosts

svn path=/trunk/; revision=66213

9 years ago[BROWSEUI]
Giannis Adamopoulos [Mon, 9 Feb 2015 22:29:23 +0000 (22:29 +0000)]
[BROWSEUI]
- Implement CProgressDialog based on wine
- Patch by Huw Campbell, improved by me
CORE-4476

svn path=/trunk/; revision=66212

9 years ago[INCLUDE]
Thomas Faber [Mon, 9 Feb 2015 19:59:59 +0000 (19:59 +0000)]
[INCLUDE]
- Fix CListView::HitTest. Fixes stack corruption when dragging files on the desktop.
CORE-9143 #resolve

svn path=/trunk/; revision=66211

9 years ago[USER32]
Thomas Faber [Mon, 9 Feb 2015 19:04:42 +0000 (19:04 +0000)]
[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

9 years ago[COM_APITEST]
Giannis Adamopoulos [Sun, 8 Feb 2015 23:47:11 +0000 (23:47 +0000)]
[COM_APITEST]
- Test the interfaces exposed by CLSID_ProgressDialog
CORE-4476

svn path=/trunk/; revision=66209

9 years ago[DDK]
Thomas Faber [Sun, 8 Feb 2015 14:22:26 +0000 (14:22 +0000)]
[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

9 years ago[NTOS]
Thomas Faber [Sun, 8 Feb 2015 14:15:45 +0000 (14:15 +0000)]
[NTOS]
- Avoid removing list entry if the list is empty in IopUnQueueIrpFromThread
CORE-8419

svn path=/trunk/; revision=66207

9 years ago[DDK]
Thomas Faber [Sun, 8 Feb 2015 13:22:06 +0000 (13:22 +0000)]
[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

9 years ago[NTOSKRNL]
Eric Kohl [Sun, 8 Feb 2015 11:49:58 +0000 (11:49 +0000)]
[NTOSKRNL]
Implement NtSaveMergedKeys and its backend CmSaveMergedKeys.

svn path=/trunk/; revision=66205

9 years ago[DDK]
Thomas Faber [Sun, 8 Feb 2015 10:57:47 +0000 (10:57 +0000)]
[DDK]
- Add RtlFailFast and FAST_FAIL_* codes
CORE-8419

svn path=/trunk/; revision=66204

9 years ago[PORTCLS]
Johannes Anderwald [Sun, 8 Feb 2015 08:11:51 +0000 (08:11 +0000)]
[PORTCLS]
- fix crash / assert triggered with cwawdm driver
- fix irp leak
- CORE 7822

svn path=/trunk/; revision=66203

9 years ago[WINSRV]: Remove some deprecated code, keep other parts for reusage later on; cleanup...
Hermès Bélusca-Maïto [Sun, 8 Feb 2015 00:54:22 +0000 (00:54 +0000)]
[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

9 years ago[SPEC2DEF]
Thomas Faber [Sun, 8 Feb 2015 00:00:30 +0000 (00:00 +0000)]
[SPEC2DEF]
- Don't warn about symbols that should be private on MSVC builds. Link already does this.
CORE-8445

svn path=/trunk/; revision=66201

9 years ago[CMAKE]
Thomas Faber [Sat, 7 Feb 2015 23:54:15 +0000 (23:54 +0000)]
[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

9 years ago[SPEC2DEF]: Display the -private exports warning *only* when making import libs.
Hermès Bélusca-Maïto [Sat, 7 Feb 2015 21:42:26 +0000 (21:42 +0000)]
[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

9 years ago[SPEC2DEF]
Thomas Faber [Sat, 7 Feb 2015 21:20:15 +0000 (21:20 +0000)]
[SPEC2DEF]
- Remove space before colon in error messages

svn path=/trunk/; revision=66198

9 years ago[WINLOGON]
Hermès Bélusca-Maïto [Sat, 7 Feb 2015 20:46:27 +0000 (20:46 +0000)]
[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

9 years ago[WIN32K:INCLUDES] Some formatting fixes. NFC.
Amine Khaldi [Sat, 7 Feb 2015 19:14:42 +0000 (19:14 +0000)]
[WIN32K:INCLUDES] Some formatting fixes. NFC.

svn path=/trunk/; revision=66196

9 years ago[WIN32K]
Timo Kreuzer [Sat, 7 Feb 2015 17:51:20 +0000 (17:51 +0000)]
[WIN32K]
Fix the ROP code passed to IntEngStretchBlt from NtGdiStretchDIBitsInternal. Fixes crash of Nimbus Notes installer.
CORE-9048 #resolve

svn path=/trunk/; revision=66195

9 years ago[WIN32k:includes] Whitespace fixes.
Hermès Bélusca-Maïto [Sat, 7 Feb 2015 16:19:57 +0000 (16:19 +0000)]
[WIN32k:includes] Whitespace fixes.

svn path=/trunk/; revision=66194

9 years ago[FREELDR]
Timo Kreuzer [Sat, 7 Feb 2015 15:52:18 +0000 (15:52 +0000)]
[FREELDR]
- #ifdef DBG -> #if DBG
- #if 0 DbgDumpMemoryMap()

svn path=/trunk/; revision=66193

9 years ago[WINLOGON][WIN32K]
Hermès Bélusca-Maïto [Sat, 7 Feb 2015 15:26:42 +0000 (15:26 +0000)]
[WINLOGON][WIN32K]
Move the shutdown privilege check from winlogon to win32k (function "UserInitiateShutdown") as it should be done.

[WIN32K]
- Introduce the pair of UserInitiateShutdown/UserEndShutdown calls that should be called when WINSRV starts a shutdown (and when it finishes it). In particular it is in UserInitiateShutdown that we need to check whether the caller has the rights to perform a shutdown (it should also have a valid window station).
- Remove the ROS-specific TWOPARAM_ROUTINE_EXITREACTOS call that is traded for Win2k3-compatible call to UserInitiateShutdown.

[WINSRV]
Hackfix our current ExitWindowsEx functionality (based on a patch by Alex made against r46050 for win32csr) to make it "compatible" with the improvements in win32k: impersonate the caller and call the UserInitiateShutdown win32k system call (instead of the TWOPARAM_ROUTINE_EXITREACTOS). More will come later on.

[USER32]
Win32k can require performing shutdown in an asynchronous way (needed also on WINSRV side) so we need to put all the code in a worker thread.

Part 8/X (part 6 was r65693 and part 7 was r66186).

CORE-8322 #comment Start to add Alex' win32csr shutdown patch in WINSRV; fixes for winlogon and additions to win32k.

svn path=/trunk/; revision=66192

9 years ago[MKHIVE]
Timo Kreuzer [Sat, 7 Feb 2015 15:05:04 +0000 (15:05 +0000)]
[MKHIVE]
Add back CmpAllocate prototype. Fixes MSVC warnings.

svn path=/trunk/; revision=66191

9 years ago[SHELL32]
Giannis Adamopoulos [Sat, 7 Feb 2015 14:42:39 +0000 (14:42 +0000)]
[SHELL32]
- Get rid of IDD_FILE_COPY dialog. It was never used, never completed and windows don't really have such a dialog.
- Remove SHShowFileOperationDialog which was never completed. This will be replaced shortly with a working solution by Huw Davies

svn path=/trunk/; revision=66190

9 years ago[RTL]
Thomas Faber [Sat, 7 Feb 2015 13:24:29 +0000 (13:24 +0000)]
[RTL]
- Implement RtlIpv4StringToAddressW. Dedicated to Jérôme. Thanks to the countless reviewers.
CORE-6490

svn path=/trunk/; revision=66189

9 years ago[WIN32K]
Thomas Faber [Sat, 7 Feb 2015 11:11:37 +0000 (11:11 +0000)]
[WIN32K]
- Do not use an uninitialized variable in UserSetProcessWindowStation. Feel free to fix this properly

svn path=/trunk/; revision=66188

9 years ago[RTL]
Thomas Faber [Sat, 7 Feb 2015 10:07:24 +0000 (10:07 +0000)]
[RTL]
- Implement RtlIpv4StringToAddressA and RtlIpv4StringToAddressExA using their -W counterparts
CORE-6490

svn path=/trunk/; revision=66187

9 years ago[WINLOGON][WIN32K]: Tend towards Win2k3-compatible winlogon logoff/shutdown messaging...
Hermès Bélusca-Maïto [Sat, 7 Feb 2015 01:18:40 +0000 (01:18 +0000)]
[WINLOGON][WIN32K]: Tend towards Win2k3-compatible winlogon logoff/shutdown messaging. Something that needs to be fixed is that it is not winlogon that checks whether the app requesting the shutdown has the correct rights, but it is win32k. I temporarily disable this check in winlogon (it's not as if we introduced a security breach in ReactOS ^^)

svn path=/trunk/; revision=66186

9 years ago[WINSRV]: Remove a long standing hack (added 4 years ago) that is now useless.
Hermès Bélusca-Maïto [Fri, 6 Feb 2015 23:29:09 +0000 (23:29 +0000)]
[WINSRV]: Remove a long standing hack (added 4 years ago) that is now useless.
CORE-5138 #comment Hack from r51460 finally removed.

svn path=/trunk/; revision=66185

9 years ago[User32]
James Tabor [Fri, 6 Feb 2015 21:17:10 +0000 (21:17 +0000)]
[User32]
- Patch by Huw Davies : Merge the blitting of the centered and non-centered cases.

svn path=/trunk/; revision=66184

9 years ago[WineTests|User32]
James Tabor [Fri, 6 Feb 2015 21:07:59 +0000 (21:07 +0000)]
[WineTests|User32]
- Sync Combo to wine head. Patch by Huw Davies : Make the combo's listbox a topmost window. See CORE-5186 for prior report.

svn path=/trunk/; revision=66183

9 years ago[User32]
James Tabor [Fri, 6 Feb 2015 20:57:45 +0000 (20:57 +0000)]
[User32]
- Patch by Piotr Caban : Only store dialog focus when window is hidden or inactive. Only use DIALOGINFO-> hwndFocus to store last focus of inactive windows.

svn path=/trunk/; revision=66182

9 years ago[WineTests|User32]
James Tabor [Fri, 6 Feb 2015 20:56:57 +0000 (20:56 +0000)]
[WineTests|User32]
- Sync Dialog to wine head.

svn path=/trunk/; revision=66181

9 years ago[KMTEST/TCPIP]
Jérôme Gardou [Fri, 6 Feb 2015 10:49:04 +0000 (10:49 +0000)]
[KMTEST/TCPIP]
 - Add tests checking for TDI_CONNECT behaviour.

svn path=/trunk/; revision=66180

9 years ago[FREELDR]
Hermès Bélusca-Maïto [Fri, 6 Feb 2015 01:21:45 +0000 (01:21 +0000)]
[FREELDR]
- For now, only activate custom ReactOS boot on non-x86 builds.
- Fix INI section item list initialization before using it! Fixes custom ReactOS boots (ie. remove an invalid heap free). Now custom ReactOS boots work!

svn path=/trunk/; revision=66179

9 years ago[SHELL32]
Hermès Bélusca-Maïto [Fri, 6 Feb 2015 00:07:23 +0000 (00:07 +0000)]
[SHELL32]
- Fix registry value retrieval with RegGetValue (RRF_RT_REG_EXPAND_SZ has a non-obvious functioning: it should be used with NO_EXPAND flag. Otherwise use RRF_RT_REG_SZ to retrieve REG_SZ values, or REG_EXPAND_SZ values with automatic expansion as expected). CORE-9001 #resolve #comment Fixed, thanks for reporting!
- Fix whitespace.

svn path=/trunk/; revision=66178

9 years ago[Win32ss]
James Tabor [Thu, 5 Feb 2015 23:46:57 +0000 (23:46 +0000)]
[Win32ss]
- Validate the parent window before locking it. Attempt to fix CORE-9117.

svn path=/trunk/; revision=66177

9 years ago[DLLs] Revert r66167 (Privatize the exports that should be so). Fixes MSVC build...
Amine Khaldi [Thu, 5 Feb 2015 22:12:55 +0000 (22:12 +0000)]
[DLLs] Revert r66167 (Privatize the exports that should be so). Fixes MSVC build. Of course the glorious GCC toolchain is oblivious to this.

svn path=/trunk/; revision=66176

9 years ago[User32]
James Tabor [Thu, 5 Feb 2015 21:31:05 +0000 (21:31 +0000)]
[User32]
- Return timeout if the count and wait time is zero. This is a wine hack and fixes two related mgs:test_MsgWait* tests. Attempt to fix CORE-9117. Not sure if MsgWaitForMultipleObjects is the problem.

svn path=/trunk/; revision=66175

9 years ago[FREELDR]: Remove some extra newlines at the end of error messages that are displayed...
Hermès Bélusca-Maïto [Thu, 5 Feb 2015 21:24:26 +0000 (21:24 +0000)]
[FREELDR]: Remove some extra newlines at the end of error messages that are displayed via message boxes, and also for few of them, use the fact that our message boxes implement printf-like features.

svn path=/trunk/; revision=66174

9 years ago[FREELDR]: Fix initialization of BootPath variable, and add some explanation comment...
Hermès Bélusca-Maïto [Thu, 5 Feb 2015 21:17:35 +0000 (21:17 +0000)]
[FREELDR]: Fix initialization of BootPath variable, and add some explanation comment as requested long time ago by Pierre.

svn path=/trunk/; revision=66173

9 years ago[W32KNAPI]
Timo Kreuzer [Thu, 5 Feb 2015 10:10:33 +0000 (10:10 +0000)]
[W32KNAPI]
Load NtGdiFlushUserBatch dynamically to allow loading on Win 2003, where the function does not exist.
ROSTESTS-131 #resolve

svn path=/trunk/; revision=66172

9 years ago[GDI32]
Timo Kreuzer [Thu, 5 Feb 2015 09:35:54 +0000 (09:35 +0000)]
[GDI32]
CORE-8350 #comment Fix return value on error in RealizePalette. #resolve

svn path=/trunk/; revision=66171

9 years ago[FAST486]
Aleksandar Andrejevic [Thu, 5 Feb 2015 01:03:09 +0000 (01:03 +0000)]
[FAST486]
Implement FRNDINT.

svn path=/trunk/; revision=66170

9 years ago[FREELDR]: Add some debug information when searching for PCI routing tables.
Hermès Bélusca-Maïto [Thu, 5 Feb 2015 00:43:39 +0000 (00:43 +0000)]
[FREELDR]: Add some debug information when searching for PCI routing tables.

svn path=/trunk/; revision=66169

9 years ago- Missed this one.
James Tabor [Thu, 5 Feb 2015 00:13:51 +0000 (00:13 +0000)]
- Missed this one.

svn path=/trunk/; revision=66168

9 years ago[DLLs]: Privatize the exports that should be so.
Hermès Bélusca-Maïto [Thu, 5 Feb 2015 00:12:12 +0000 (00:12 +0000)]
[DLLs]: Privatize the exports that should be so.

svn path=/trunk/; revision=66167

9 years ago[Win32ss]
James Tabor [Thu, 5 Feb 2015 00:11:35 +0000 (00:11 +0000)]
[Win32ss]
- Setup system cursors and icons. Could help with Themes.
- Set default cursor to the message queue structure.
- Fix wine cursor icon tests. Fix ATI cursor passing issue.
- Fix that sticky mouse cursor while the screen saver is on.
- Move cursor code from User32 and shake that pop up window too.
- Setup for window station security checking.
- Dedicated to the great work by Jérôme Gardou. Doing ones best to preserve his original code!

svn path=/trunk/; revision=66166

9 years ago[SPEC2DEF]
Hermès Bélusca-Maïto [Wed, 4 Feb 2015 23:56:23 +0000 (23:56 +0000)]
[SPEC2DEF]
- Warn about symbols that should be private. Patch by Thomas Faber. CORE-8445 #resolve #comment Committed in revision 66165. It's also nice/useful to get the warnings even if we are not generating an import lib (example when building rsaenh): MSVC warns also in this case.
- Improve error messages.
- some_ptr = 0; ---> use NULL instead.
- remove useless extra parentheses.

svn path=/trunk/; revision=66165

9 years ago[NtUser]
James Tabor [Wed, 4 Feb 2015 21:59:15 +0000 (21:59 +0000)]
[NtUser]
- Add object handle information and set station user support.

svn path=/trunk/; revision=66164

9 years ago[MSPAINT]: Improve help menu name in some languages.
Hermès Bélusca-Maïto [Wed, 4 Feb 2015 21:34:22 +0000 (21:34 +0000)]
[MSPAINT]: Improve help menu name in some languages.
Patch by Jared.
CORE-9087 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=66163

9 years ago[RAPPS]
Daniel Reimer [Wed, 4 Feb 2015 21:27:20 +0000 (21:27 +0000)]
[RAPPS]
Fix broken link to Total Commander
CORE-9123 #resolve #comment Please retry. Thx for help.

svn path=/trunk/; revision=66162

9 years ago[NTDLL]
Jérôme Gardou [Wed, 4 Feb 2015 16:58:41 +0000 (16:58 +0000)]
[NTDLL]
 - use the edx register to store the function pointer to the syscall trampoline.
This is how google Chrome checks if an exported function is a system call or not.
See https://chromium.googlesource.com/chromium/src.git/+/master/sandbox/win/src/service_resolver_32.cc and https://bugs.winehq.org/show_bug.cgi?id=21232 for details

svn path=/trunk/; revision=66161

9 years ago[TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-7861
Amine Khaldi [Wed, 4 Feb 2015 14:58:20 +0000 (14:58 +0000)]
[TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-7861

svn path=/trunk/; revision=66160

9 years ago[SHELL32] Move some *RecycleBin*() functions to a more appropriate source file. Impro...
Amine Khaldi [Wed, 4 Feb 2015 09:13:43 +0000 (09:13 +0000)]
[SHELL32] Move some *RecycleBin*() functions to a more appropriate source file. Improve header inclusions.

svn path=/trunk/; revision=66159

9 years ago[GDI32_APITEST]
Timo Kreuzer [Wed, 4 Feb 2015 09:02:25 +0000 (09:02 +0000)]
[GDI32_APITEST]
Add simple tests for RealizePalette.
CORE-8350 #comment Tests show that the patch is not correct.

svn path=/trunk/; revision=66158

9 years ago[WIN32K]
Timo Kreuzer [Wed, 4 Feb 2015 08:21:54 +0000 (08:21 +0000)]
[WIN32K]
Always update surface flags in EngModifySurface

svn path=/trunk/; revision=66157

9 years ago[FAST486]
Aleksandar Andrejevic [Wed, 4 Feb 2015 03:22:48 +0000 (03:22 +0000)]
[FAST486]
Implement FDECSTP, FINCSTP and FXTRACT.

svn path=/trunk/; revision=66156

9 years ago[FAST486]: Use a more "regular" syntax (i.e. understandable by other compilers than...
Hermès Bélusca-Maïto [Wed, 4 Feb 2015 03:12:03 +0000 (03:12 +0000)]
[FAST486]: Use a more "regular" syntax (i.e. understandable by other compilers than GCC).

svn path=/trunk/; revision=66155

9 years ago[FAST486]
Aleksandar Andrejevic [Wed, 4 Feb 2015 02:47:13 +0000 (02:47 +0000)]
[FAST486]
Implement FCHS, FABS, FTST, FXAM, FLD1, FLDL2T, FLDL2E, FLDPI, FLDLG2, FLDLN2 and FLDZ.

svn path=/trunk/; revision=66154

9 years ago[MPLAY32]: Use a consistent type/naming for mci errors.
Hermès Bélusca-Maïto [Wed, 4 Feb 2015 01:42:11 +0000 (01:42 +0000)]
[MPLAY32]: Use a consistent type/naming for mci errors.

svn path=/trunk/; revision=66153

9 years ago[MPLAY32]
Hermès Bélusca-Maïto [Wed, 4 Feb 2015 01:36:17 +0000 (01:36 +0000)]
[MPLAY32]
Build the Open-File filter mask in runtime, according to the supported extensions and media devices registered in the registry.
Patch by Ricardo Hanke.
CORE-7883 #resolve #comment Committed, with number-of-chars vs. number-of-bytes fixes by me, plus minor modification to build the filter only once when mplay32 is launched, and use a default filter if runtime filter build fails.

svn path=/trunk/; revision=66152