Timo Kreuzer [Sun, 30 May 2010 13:02:29 +0000 (13:02 +0000)]
[intrin_x86.h]
- cast return value of __sync_val_compare_and_swap to make clang happy
- add __cdecl to a number of intrinsics to make them (hopefully) compatible with crt header declarations.
svn path=/trunk/; revision=47442
Timo Kreuzer [Sun, 30 May 2010 12:21:21 +0000 (12:21 +0000)]
[NTDDK]
Protect IoMapTransfer from incompatible redefinition. Patch by AmineKhaldi.
svn path=/trunk/; revision=47441
Christoph von Wittich [Sun, 30 May 2010 11:25:21 +0000 (11:25 +0000)]
[WS2_32]
set LastError to 0 when WSASendTo was successful
svn path=/trunk/; revision=47440
Christoph von Wittich [Sun, 30 May 2010 10:25:19 +0000 (10:25 +0000)]
[SHDOCVW]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47439
Christoph von Wittich [Sun, 30 May 2010 10:20:31 +0000 (10:20 +0000)]
[URLMON]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47438
Michael Martin [Sun, 30 May 2010 06:23:41 +0000 (06:23 +0000)]
[user32]
- Pass a pointer to a structure, that holds the CallBack procedure and data, as the 5th parameter to NtUserMessageCall.
- Fix a bug In User32CallSendAsyncProcForKernel, the ArgumentLength is the size of SENDASYNCPROC_CALLBACK_ARGUMENTS.
[win32k]
- For types FNID_SENDMESSAGECALLBACK call co_IntSendMessageWithCallBack to put the message in the send queue.
- Rewrite code for when messages have a completioncallback
svn path=/trunk/; revision=47434
Sir Richard [Sun, 30 May 2010 03:02:39 +0000 (03:02 +0000)]
[NTOS]: Implement MiAllocatePfn, it is a simpler wrapper that grabs a page, sets its protection, and initializes its PFN entry.
[NTOS]: Use MiAllocatePfn in MiLoadImageSection instead of MmAllocPage. Other than doing a better job at initializing the page, it creates our first caller of this function, great for testing, since this is a rather high-demand function, especially at boot.
Please test.
svn path=/trunk/; revision=47432
Gregor Schneider [Sat, 29 May 2010 23:54:47 +0000 (23:54 +0000)]
[BOOTVID] Dramatically simplify 4bpp blitting routine
See issue #5103 for more details.
svn path=/trunk/; revision=47431
Timo Kreuzer [Sat, 29 May 2010 21:48:32 +0000 (21:48 +0000)]
[_mingw.h]
Help compilation with clang. Patch by Amine Khaldi.
svn path=/trunk/; revision=47430
Eric Kohl [Sat, 29 May 2010 21:15:48 +0000 (21:15 +0000)]
[RTL]
Implement RtlEncodeSystemPointer using the user shared data cookie.
svn path=/trunk/; revision=47429
Eric Kohl [Sat, 29 May 2010 20:40:28 +0000 (20:40 +0000)]
[FORMATTING]
No code changes.
svn path=/trunk/; revision=47428
Sir Richard [Sat, 29 May 2010 19:27:32 +0000 (19:27 +0000)]
Timo/Physicus: Please validate for AMD64.
[NTOS]: Write down the PTE attribute flags for X86/AMD64. Timo/Physicus: Please double-check.
[NTOS]: Write down the array that converts from the MM_ protection flags arleady defined, into the appropriate PTE attribute flags that are architecture-specific.
[NTOS]: This will allow constant-time conversion of NT attributes into PTE attributes. Win32 attributes to NT attributes conversion won't be needed until VAD support.
svn path=/trunk/; revision=47427
Sir Richard [Sat, 29 May 2010 19:21:08 +0000 (19:21 +0000)]
[NTOS]: Fix Implementation of BreakOnTermination -- Process Flags should be accessed with interlocked bit semantics, not through C bitfield extension.
[NTOS]: Revert 47425 and apply a better fix.
svn path=/trunk/; revision=47426
Eric Kohl [Sat, 29 May 2010 19:13:19 +0000 (19:13 +0000)]
[NTOSKRNL]
Do not use _SEH2_YIELD in NtSetInformationProcess, NtQueryInformationThread and NtSetInformationThread while a thread or process is still being referenced.
svn path=/trunk/; revision=47425
Sir Richard [Sat, 29 May 2010 18:33:50 +0000 (18:33 +0000)]
Testers: Please pay attention to this build and test it fully:
[NTOS]: Implement MiDecrementShareCount (to start replacing MmReleasePageMemoryConsumer calls for pages that were grabbed through ARM3, not Mm).
[NTOS]: Implement MiInitializePfn (to initialize pages grabbed through ARM3/MiRemoveAnyPage instead of Mm/MmAllocPage).
[NTOS]: For stack pages, use new ARM3 PFN alloc/free routines, as a first test/beginning of the new ARM3 ABI.
[NTOS]: Implement and start using the Pending-Deletion PFN flag.
[NTOS]: As a result, for stack pages, the Transition page state will now be seen, and the new routine for re-inserting pages into the free list will now be used. Tracking of page table references is also done now for these pages (but we don't free the PT since this doesn't seem safe yet).
svn path=/trunk/; revision=47424
Eric Kohl [Sat, 29 May 2010 18:22:47 +0000 (18:22 +0000)]
[NTOSKRNL / RTL]
- Implement BreakOnTermination case for NtQueryInformationProcess and NtSetInformationProcess.
- Implement RtlSetProcessIsCritical.
svn path=/trunk/; revision=47423
Christoph von Wittich [Sat, 29 May 2010 18:04:05 +0000 (18:04 +0000)]
[MSHTML_WINETEST]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47422
Gregor Schneider [Sat, 29 May 2010 18:01:20 +0000 (18:01 +0000)]
[CMD] File completion
- Don't pass device paths to FindFirstFile (similar to r47418)
- Allows to complete files, whose names start like DOS devices (COMx, LPTx. AUX, NUL, CON, etc)
See issue #4848 for more details.
svn path=/trunk/; revision=47421
Christoph von Wittich [Sat, 29 May 2010 17:47:03 +0000 (17:47 +0000)]
[SHLWAPI]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47420
Christoph von Wittich [Sat, 29 May 2010 17:33:37 +0000 (17:33 +0000)]
[WS2_32]
implement WSAAddressToStringA/W (taken from wine)
svn path=/trunk/; revision=47419
Gregor Schneider [Sat, 29 May 2010 16:49:23 +0000 (16:49 +0000)]
[CMD] copy command:
- Don't pass device path to FindFirstFile, use short path instead
- Join duplicate code to simplify processing
See issue #3575 for more details.
svn path=/trunk/; revision=47418
Cameron Gutman [Sat, 29 May 2010 16:00:43 +0000 (16:00 +0000)]
[NTOSKRNL]
- Fix stack skipping logic in IofCompleteRequest
- Fixes displaying MULTIPLE_IRP_COMPLETE_REQUESTS bug check
- Patch by lassy with a typo fix by me
svn path=/trunk/; revision=47417
Christoph von Wittich [Sat, 29 May 2010 14:54:55 +0000 (14:54 +0000)]
[MSHTML]
-sync to wine 1.2 RC2
-add ros_diff.patch
svn path=/trunk/; revision=47416
Christoph von Wittich [Sat, 29 May 2010 14:44:13 +0000 (14:44 +0000)]
[MSHTML]
restore local mshtml changes lost by last wine sync
svn path=/trunk/; revision=47415
Christoph von Wittich [Sat, 29 May 2010 14:42:39 +0000 (14:42 +0000)]
[BOOTDATA]
revert 47055
svn path=/trunk/; revision=47414
Christoph von Wittich [Sat, 29 May 2010 14:21:43 +0000 (14:21 +0000)]
[JSCRIPT]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47413
Christoph von Wittich [Sat, 29 May 2010 13:41:35 +0000 (13:41 +0000)]
[WININET]
-sync to wine 1.2 RC2
-enable http compression with zlib
svn path=/trunk/; revision=47412
Daniel Reimer [Sat, 29 May 2010 13:22:48 +0000 (13:22 +0000)]
Update zlib from 1.2.3 to 1.2.5
svn path=/trunk/; revision=47411
Christoph von Wittich [Sat, 29 May 2010 13:14:05 +0000 (13:14 +0000)]
[CRYPT32]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47410
Gregor Schneider [Sat, 29 May 2010 12:57:29 +0000 (12:57 +0000)]
[BOOTVID] Don't increment an uninitialized and unused variable, bug #5103
svn path=/trunk/; revision=47409
Daniel Reimer [Sat, 29 May 2010 12:47:30 +0000 (12:47 +0000)]
Update:
DejaVu Fonts 2.30 -> 2.31
Liberation Fonts 1.04 -> 1.05.2
svn path=/trunk/; revision=47408
Gregor Schneider [Sat, 29 May 2010 12:31:48 +0000 (12:31 +0000)]
[KERNEL32] ReplaceFileW:
- Initialize Unicode string structure, so that only allocated buffers are freed when leaving the function
- Fixes several heap warnings in kernel32:file test
svn path=/trunk/; revision=47407
Gregor Schneider [Sat, 29 May 2010 12:29:26 +0000 (12:29 +0000)]
[KERNEL32] WaitNamedPipeW: Free Unicode buffer when leaving the function
svn path=/trunk/; revision=47406
Christoph von Wittich [Sat, 29 May 2010 11:34:57 +0000 (11:34 +0000)]
[OLE32]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47405
Christoph von Wittich [Sat, 29 May 2010 09:23:23 +0000 (09:23 +0000)]
[CRT]
fix behavior of _system (fixes msvcrt environ winetest)
svn path=/trunk/; revision=47403
Christoph von Wittich [Sat, 29 May 2010 09:22:07 +0000 (09:22 +0000)]
[MSVCRT_WINETEST]
partial sync to wine 1.2 RC2
svn path=/trunk/; revision=47402
Christoph von Wittich [Sat, 29 May 2010 09:07:32 +0000 (09:07 +0000)]
[QUARTZ]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47401
Christoph von Wittich [Sat, 29 May 2010 09:05:43 +0000 (09:05 +0000)]
[QEDIT]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47400
Christoph von Wittich [Sat, 29 May 2010 09:03:59 +0000 (09:03 +0000)]
[RSAENH]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47399
Christoph von Wittich [Sat, 29 May 2010 09:02:25 +0000 (09:02 +0000)]
[MSXML3]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47398
Christoph von Wittich [Sat, 29 May 2010 08:55:43 +0000 (08:55 +0000)]
[MSI]
sync to wine 1.2 RC2
svn path=/trunk/; revision=47397
Christoph von Wittich [Sat, 29 May 2010 08:01:25 +0000 (08:01 +0000)]
[MSI]
delete msi_ros.diff
svn path=/trunk/; revision=47394
Michael Martin [Sat, 29 May 2010 06:51:03 +0000 (06:51 +0000)]
[win32k]
- The timer is created usingUserCreateObject. It may be a good idea to save the handle in the timer object so that it can be deleted later.
- Dereference the object before attempting to delete it.
svn path=/trunk/; revision=47393
Cameron Gutman [Sat, 29 May 2010 00:29:12 +0000 (00:29 +0000)]
[NTOSKRNL]
- Set the Status variable to STATUS_SUCCESS in PIP_RETURN_DATA
- Fixes testbot
svn path=/trunk/; revision=47391
Cameron Gutman [Fri, 28 May 2010 23:17:59 +0000 (23:17 +0000)]
[NTOSKRNL]
- Use PnpDetermineResourceListSize to determine the resource list size and remove the broken IopCalculateResourceListSize function
svn path=/trunk/; revision=47390
Sir Richard [Fri, 28 May 2010 23:08:41 +0000 (23:08 +0000)]
[NTOS]: Root Bus PDO should not override Status with STATUS_NOT_IMPLEMENTED and instead use the current IRP status (which drivers/PnP will typically set to STATUS_NOT_SUPPORTED). Found by testing the new PCIx driver (probably fixes other bus drivers too).
svn path=/trunk/; revision=47389
Sir Richard [Fri, 28 May 2010 23:03:27 +0000 (23:03 +0000)]
[NTOS]: Re-implement IoGetDeviceProperty. Main changes are usage of existing (and new) helper functions for registry/IRP access, much better factored code, correct implementation of DevicePropertyPhysicalDeviceObjectName, fixed implementation of DevicePropertyBootConfigurationTranslated and DevicePropertyBootConfiguration (do not crash the system anymore), and support for more device properties.
[NTOS]: Fix caller of IoGetDeviceProperty in pnpres.c to work with new function behavior (which matches WDK documentation and test cases).
[NTOS]: Implement helper function PnpBusTypeGuidGet, should be used later in other PnP code, but now used only for this patch.
[NTOS]: Implement helper function PnpDetermineResourceListSize, ditto. N.B. Current IopCalculateResourceListSize function is broken and callers should use this one instead.
[NTOS]: Implement helper function PpIrpQueryCapabilities, should be used later in device node code, but now only used for this patch.
[NTOS]: Implement helper function PnpDeviceObjectToDeviceInstance, ditto.
Main purpose of this patch is to unblock the new PCIx driver.
svn path=/trunk/; revision=47388
Cameron Gutman [Fri, 28 May 2010 22:54:27 +0000 (22:54 +0000)]
[FREELOADER]
- Fix DoOptionsMenu and implement AppendBootOptions to support F8 boot options
- Fixes bug 5363
svn path=/trunk/; revision=47387
Michael Martin [Fri, 28 May 2010 20:35:30 +0000 (20:35 +0000)]
[win32k]
- Remove use of TMRF_DELETEPENDING for deleting timers as this was a bad idea.
Timers need to be deleted immediately as waiting for them to be deleted resulted in some processes running out of handles.
Fixes richedit winetest for editor.
- Add flag TMRF_TIFROMWND for timers created from user mode so the thread stored in the timer object is from the window and not caller.
Fixes an issue where FireFox would not show any of its windows and looked dead.
- When creating and deleting timers, If the window is non null and IDEvent is 0 then the IDEvent is changed to 1.
- When modifying timer list use UserEnter and Leave instead of a Critical Region only.
svn path=/trunk/; revision=47385
Eric Kohl [Fri, 28 May 2010 19:36:57 +0000 (19:36 +0000)]
[NTOSKRNL]
- Implement SeAppendPrivileges().
svn path=/trunk/; revision=47384
Eric Kohl [Fri, 28 May 2010 16:28:27 +0000 (16:28 +0000)]
[FORMATTING]
No code changes.
svn path=/trunk/; revision=47383
Eric Kohl [Fri, 28 May 2010 15:03:09 +0000 (15:03 +0000)]
[NTOSKRNL]
Implement SeFreePrivileges().
svn path=/trunk/; revision=47382
Cameron Gutman [Fri, 28 May 2010 05:15:42 +0000 (05:15 +0000)]
[MSAFD]
- Fix a broken call to WSPBind that I missed in r47378
svn path=/trunk/; revision=47380
Cameron Gutman [Fri, 28 May 2010 04:39:49 +0000 (04:39 +0000)]
[TCPIP]
- Return STATUS_INVALID_ADDRESS if the caller tries to get a non-local address
- Return STATUS_ADDRESS_ALREADY_EXISTS if the caller uses an address that is in use
[MSAFD]
- Translate STATUS_ADDRESS_ALREADY_EXISTS -> WSAEADDRINUSE, STATUS_LOCAL_DISCONNECT -> WSAECONNABORTED, and STATUS_REMOTE_DISCONNECT -> WSAECONNRESET
[IP]
- Translate OSK_EADDRINUSE -> STATUS_ADDRESS_ALREADY_EXISTS, OSK_ECONNABORTED -> STATUS_LOCAL_DISCONNECT, and OSK_ECONNRESET -> STATUS_REMOTE_DISCONNECT
- Fixes waiting for binding during ws2_32 sock winetest
svn path=/trunk/; revision=47379
Cameron Gutman [Fri, 28 May 2010 04:07:39 +0000 (04:07 +0000)]
[MSAFD]
- Pass a valid pointer for lpErrno to WSPBind when performing an implicit bind
- Remove the hack in MsafdReturnWithErrno for dealing with stupid callers that provide don't provide a valid Errno pointer
svn path=/trunk/; revision=47378
Cameron Gutman [Fri, 28 May 2010 03:55:50 +0000 (03:55 +0000)]
[MSAFD]
- Remove an incorrect change
- Create a new function called TranslateNtStatusError to translate NTSTATUS to winsock error codes
- Call the TranslateNtStatusError in MsafdReturnWithErrno and also use it to translate AFD's poll event error codes
[AFD]
- Track the status for each poll event in our FCB and copy it back when we get an IOCTL_AFD_ENUM_NETWORK_EVENTS IRP
- Remove some useless PollReeval calls
svn path=/trunk/; revision=47377
Cameron Gutman [Fri, 28 May 2010 02:25:56 +0000 (02:25 +0000)]
[MSAFD]
- Zero the entire struct not just the lpNetworkEvents member
- Write the error codes returned from AFD to the iErrorCode array
- Fixes hundreds of ws2_32_winetest sock failures (only 104 failures now)
- Dedicated to Physicus
svn path=/trunk/; revision=47376
Cameron Gutman [Thu, 27 May 2010 23:52:32 +0000 (23:52 +0000)]
[NPFS]
- Partially revert r47370 and apply a better patch
- Change ReadEvent and WriteEvent to notification events because we reset those events manually when we run out of buffer space
svn path=/trunk/; revision=47375
Eric Kohl [Thu, 27 May 2010 20:15:35 +0000 (20:15 +0000)]
The global flag FLG_HEAP_ENABLE_CALL_TRACING has been replaced by FLG_ENABLE_SYSTEM_CRIT_BREAKS in Windows XP and above.
svn path=/trunk/; revision=47374
Benedikt Freisen [Thu, 27 May 2010 14:53:53 +0000 (14:53 +0000)]
[PAINT]
- After clearing a new selection and creating an undo-step, draw selection contents
- Fixes bug #5246
svn path=/trunk/; revision=47373
Benedikt Freisen [Thu, 27 May 2010 12:21:50 +0000 (12:21 +0000)]
[PAINT]
- Improvements by Black_Fox, see bug #5418
- Readability improvement, patch by Katayama Hirofumi, see bug #5420
svn path=/trunk/; revision=47372
Kamil Hornicek [Thu, 27 May 2010 10:25:14 +0000 (10:25 +0000)]
- Sync wined3d, ddraw, d3d8, d3d9 with Wine
svn path=/trunk/; revision=47371
Cameron Gutman [Thu, 27 May 2010 00:26:34 +0000 (00:26 +0000)]
[NPFS]
- Change the other side's to PIPE_STATUS_CLOSING_STATE in NpfsCleanup and NpfsClose so the reading/writing thread knows that the pipe is dead when we signal its event
- Fixes iphlpapi_winetest hang and possibly bug #4689
svn path=/trunk/; revision=47370
Timo Kreuzer [Wed, 26 May 2010 22:33:10 +0000 (22:33 +0000)]
[WIN32K]
GreGradientFill: don't forget to unlock the DC
svn path=/trunk/; revision=47367
Hervé Poussineau [Wed, 26 May 2010 19:58:54 +0000 (19:58 +0000)]
[freeldr] Repair NTFS driver. ReactOS is now able to boot (again) from NTFS partitions
svn path=/trunk/; revision=47365
Hervé Poussineau [Wed, 26 May 2010 19:56:07 +0000 (19:56 +0000)]
[freeldr] Disable NTFS cache because it gives wrong results
svn path=/trunk/; revision=47364
Timo Kreuzer [Wed, 26 May 2010 11:30:35 +0000 (11:30 +0000)]
[FREETYPE]
Update to 2.3.12, conversion patch already applied
svn path=/trunk/; revision=47363
Gabriel Ilardi [Wed, 26 May 2010 11:28:02 +0000 (11:28 +0000)]
[USETUP]
- Spanish translation update by Javier Remacha. Fixes bug 4367.
- Fixed a typo in Italian and English.
- Some other Spanish and Italian translation updates by Javier and me.
svn path=/trunk/; revision=47362
Timo Kreuzer [Wed, 26 May 2010 11:07:12 +0000 (11:07 +0000)]
[FREETYPE]
- Cleanup old files
- Remove setjmplongjmp.s
- Correction to last commit message: the conversion patch was already applied
svn path=/trunk/; revision=47361
Timo Kreuzer [Wed, 26 May 2010 10:40:15 +0000 (10:40 +0000)]
[FREETYPE]
Patch by Jerome Gardou: Update freetype to 2.3.9
The FT_MulFix patch is not neccessary anymore, the 1BPP -> 8BPP conversion patch will be applied again right after this.
See issue #4537 for more details.
svn path=/trunk/; revision=47360
Jeffrey Morlan [Wed, 26 May 2010 04:57:45 +0000 (04:57 +0000)]
[WIN32CSR] Implement console pausing. [Bug 4739]
svn path=/trunk/; revision=47359
Michael Martin [Wed, 26 May 2010 02:04:09 +0000 (02:04 +0000)]
[win32k]
- Implement DestroyTimersForWindow and call it instead of MsqRemoveTimersWindow when destroying a window.
- Fire NewMessages event when cleaning up thread so that threads dont wait for new messages that will never be received. Fixes a problem where some application that use timers dont completly exit.
- IntSetTimer: Dont try to raise a timer from the dead. Once the TMRF_DELETEPENDING flag is set, let it be destroyed.
- co_MsqWaitForNewMessages: Call the wait without a timeout value as now when the timer expires the NewMessages event will be set to exit the wait.
- Message Queue specific timer code and old time queuing code is now dead. It will be removed later when we are happy with new timer implementation.
svn path=/trunk/; revision=47358
Gabriel Ilardi [Tue, 25 May 2010 13:42:30 +0000 (13:42 +0000)]
[USETUP]
- Estonian translation of minimum disk space required by Andres Traks #3302.
[USERENV]
- Fix mistakenly translated strings "recent" and "sendto" in Italian and Spanish resources, plus another Spanish fix.
Several Czech translation updates by Radek Liska #5429.
svn path=/trunk/; revision=47351
Timo Kreuzer [Tue, 25 May 2010 11:55:04 +0000 (11:55 +0000)]
[WIN32K]
Refactor NtGdiGradientFill, use 1 SEH block instead of 2, replace IntGdiGradientFill with GreGradientFill, don't lock the DC in UserDrawCaption.
svn path=/trunk/; revision=47350
Timo Kreuzer [Tue, 25 May 2010 11:41:29 +0000 (11:41 +0000)]
[WIN32K]
Delete old clipregion only and set a new one, if it could be created already, to avoid setting a NULL region.
See issue #4431 for more details.
svn path=/trunk/; revision=47349
Michael Martin [Tue, 25 May 2010 10:33:13 +0000 (10:33 +0000)]
[win32k]
- Minor revert of 47281 to fix OO installer textboxes.
svn path=/trunk/; revision=47348
Gabriel Ilardi [Tue, 25 May 2010 08:16:09 +0000 (08:16 +0000)]
[USETUP]
- Polish and Czech (#5429) translations of required disk space by Maciej Bialas and Radek Liska
- Some fixes and updates to Italian and Spanish resources
svn path=/trunk/; revision=47346
Eric Kohl [Mon, 24 May 2010 22:32:23 +0000 (22:32 +0000)]
[USETUP]
Make the required minimum disk space configurable from the txtsetup.sif file.
svn path=/trunk/; revision=47345
Eric Kohl [Mon, 24 May 2010 21:43:51 +0000 (21:43 +0000)]
[USETUP]
Made the 'Copying file...' status line message left aligned like all the other status line messages.
svn path=/trunk/; revision=47343
Eric Kohl [Mon, 24 May 2010 21:08:06 +0000 (21:08 +0000)]
[USETUP]
- Add german translation of required minimum disk space warning.
svn path=/trunk/; revision=47342
Gabriel Ilardi [Mon, 24 May 2010 20:53:32 +0000 (20:53 +0000)]
[USETUP]
- Check for required minimum disk space eventually warn the user.
- Added Italian and Spanish warnings, the other languages need translation.
- Patch by R.T.Sivakumar modified by me.
See issue #3302 for more details.
svn path=/trunk/; revision=47341
Timo Kreuzer [Mon, 24 May 2010 13:34:08 +0000 (13:34 +0000)]
[WIN32K / WIN32CSR]
Get rid of FASTCALL specifier for static functions and functions with no parameters.
svn path=/trunk/; revision=47340
Timo Kreuzer [Mon, 24 May 2010 12:57:03 +0000 (12:57 +0000)]
[WIN32K]
When destroying a window, generate a mouse move message, so that the underlying window is notified about the mouse position and can update the pointer if neccessary. Fixes bug #4499 and bug #3893
See issue #4499 for more details.
svn path=/trunk/; revision=47339
Aleksey Bragin [Mon, 24 May 2010 08:51:52 +0000 (08:51 +0000)]
- Revert 47310. Please find a way to enable kmtest only when building the testing cd image, not the installation/live one.
svn path=/trunk/; revision=47338
Jeffrey Morlan [Mon, 24 May 2010 00:04:56 +0000 (00:04 +0000)]
[WIN32CSR] fix tuiconsole
svn path=/trunk/; revision=47337
Eric Kohl [Sun, 23 May 2010 23:41:16 +0000 (23:41 +0000)]
[SMSS]
- Add the system environment variables PROCESSOR_LEVEL and PROCESSOR_REVISION.
svn path=/trunk/; revision=47336
Jeffrey Morlan [Sun, 23 May 2010 22:38:16 +0000 (22:38 +0000)]
[WIN32CSR]
- Make consistent use of RECT/SMALL_RECT structures: a RECT uses pixel coordinates relative to the window client area and is endpoint-exclusive; a SMALL_RECT uses character coordinates relative to the screen buffer and is endpoint-inclusive.
- Allow text selections outside of the visible window
- Implement GetConsoleSelectionInfo
svn path=/trunk/; revision=47335
Eric Kohl [Sun, 23 May 2010 20:41:03 +0000 (20:41 +0000)]
[REGEDIT]
Ignore the case when sorting value names.
svn path=/trunk/; revision=47334
Eric Kohl [Sun, 23 May 2010 19:27:04 +0000 (19:27 +0000)]
[SMSS]
- Remove the system environment variable OS from the hivesys*.inf files.
- Change the type of the system environment variable PATHEXT in the hivesys*.inf files from REG_EXPAND_SZ to REG_SZ.
- Let SMSS add the system environment variables OS and NUMBER_OF_PROCESSORS to the registry.
svn path=/trunk/; revision=47333
Jeffrey Morlan [Sun, 23 May 2010 17:40:54 +0000 (17:40 +0000)]
[KERNEL32], [WIN32CSR] More fixes for console winetest
- BasepInitConsole: Initialize console input EXE name
- GetConsoleProcessList: Use capture buffer; only copy IDs if buffer has enough room for all of them; return total number of processes.
svn path=/trunk/; revision=47331
Eric Kohl [Sun, 23 May 2010 17:28:06 +0000 (17:28 +0000)]
[SMSS]
- Remove the system environment variable PROCESSOR_ARCHITECTURE from the hivesys*.inf files.
- Let SMSS add the system environment variables PROCESSOR_ARCHITECTURE and PROCESSOR_IDENTIFIER to the registry.
svn path=/trunk/; revision=47330
Gabriel Ilardi [Sun, 23 May 2010 17:07:56 +0000 (17:07 +0000)]
[INTL]
- Polish translation of Metric and Imperial by Olaf Siejka.
svn path=/trunk/; revision=47329
Gabriel Ilardi [Sun, 23 May 2010 17:01:06 +0000 (17:01 +0000)]
[REGEDIT]
- Don't display "finished" message if search is aborted.
Patch by Katayama Hirofumi.
See issue #5421 for more details.
svn path=/trunk/; revision=47328
Sylvain Petreolle [Sun, 23 May 2010 16:26:11 +0000 (16:26 +0000)]
Perform case insensitive comparison against the selected language id.
svn path=/trunk/; revision=47327
Jeffrey Morlan [Sun, 23 May 2010 15:56:37 +0000 (15:56 +0000)]
[KERNEL32], [WIN32CSR] Implement the CREATE_NO_WINDOW flag which creates a console with an invisible window.
svn path=/trunk/; revision=47326
Michael Martin [Sun, 23 May 2010 11:53:01 +0000 (11:53 +0000)]
[win32k]
- For the Low Level Mouse Hook (WH_MOUSE_LL), input can come from the mouse driver or mouse_event. Both of which result in a call to UserSetCursorPos.
UserMode SetCursorPos API also ends up here. Add BOOL parameter that can be used to determine if hooks are to be called.
- Move the code related to calling the hook procedure from MsqInsertSystemMessage into UserSetCursorPos and call the hook procedure here if needed.
If hook procedure returns non 0 value. Dont insert the system message.
- Fixes a recursive call to the hook procedure resulting thread using to much stack exposed by user32 winetest for input.
svn path=/trunk/; revision=47325
Eric Kohl [Sun, 23 May 2010 11:35:08 +0000 (11:35 +0000)]
[WINLOGON]
- Set the APPDATA environment variable without loading shell32.dll.
This should fix bug #5398.
svn path=/trunk/; revision=47324
Giannis Adamopoulos [Sun, 23 May 2010 10:59:41 +0000 (10:59 +0000)]
[kernel32_winetest]
- kernel32 tests need a resource file
svn path=/trunk/; revision=47322
Jeffrey Morlan [Sun, 23 May 2010 09:10:02 +0000 (09:10 +0000)]
[WIN32CSR] Implement FILE_SHARE_* flags for console handles. Fixes some more winetests.
svn path=/trunk/; revision=47319
Jeffrey Morlan [Sun, 23 May 2010 06:04:15 +0000 (06:04 +0000)]
[WIN32CSR] Delete even the active screen buffer when all handles are closed. Fixes a winetest.
svn path=/trunk/; revision=47318