Hervé Poussineau [Sun, 1 May 2011 07:57:47 +0000 (07:57 +0000)]
[freeldr] Handle ramdisks < 8MB
svn path=/trunk/; revision=51515
Eric Kohl [Sat, 30 Apr 2011 23:41:40 +0000 (23:41 +0000)]
[NETEVENT]
- Remove netevent.c and netevent.spec because netevent.dll is a resource-only dll.
- Set entrypoint to 0.
svn path=/trunk/; revision=51514
Eric Kohl [Sat, 30 Apr 2011 22:33:53 +0000 (22:33 +0000)]
[EVENTLOG]
Implement an event source list and use it to find the event log file for a given event source when an event was reported.
svn path=/trunk/; revision=51513
James Tabor [Sat, 30 Apr 2011 22:17:55 +0000 (22:17 +0000)]
[Win32k]
- Update key state when key and hardware is set before the event set. This allows input.c to post and set key states.
svn path=/trunk/; revision=51512
Eric Kohl [Sat, 30 Apr 2011 22:09:16 +0000 (22:09 +0000)]
[SMSS]
Fix for the loading of the "KnownDlls" in SMSS. Patch by Hermès BÉLUSCA - MAÏTO.
The patch was applied without changes to comments, indentation and coding style.
See issue #6159 for more details.
svn path=/trunk/; revision=51511
Rafal Harabien [Sat, 30 Apr 2011 21:41:15 +0000 (21:41 +0000)]
[COMCTL32]
* Properly support WM_SYSCOLORCHANGE in ListView controls with default background. Should be sent to Wine (tm)
svn path=/trunk/; revision=51510
James Tabor [Sat, 30 Apr 2011 21:14:11 +0000 (21:14 +0000)]
[Win32k]
- Clear and set send erase background bit when sending WM_ERASEBKGND and if return zero reset the bit. This prevents a message loop in riched20 when calling GetUpdateRect. Spotted by Michael Martin.
svn path=/trunk/; revision=51509
Rafal Harabien [Sat, 30 Apr 2011 19:32:37 +0000 (19:32 +0000)]
[SNDVOL32 & TASKMGR]
* Properly support WM_SYSCOLORCHANGE
svn path=/trunk/; revision=51508
Gabriel Ilardi [Sat, 30 Apr 2011 15:55:13 +0000 (15:55 +0000)]
[SUBST]
Italian update by Paolo Devoti.
See issue #6178 for more details.
svn path=/trunk/; revision=51505
Amine Khaldi [Sat, 30 Apr 2011 14:26:21 +0000 (14:26 +0000)]
[CRT/MINGW-W64]
* Reorganize dll entry and C runtime initialization. By Kai Tietz.
svn path=/trunk/; revision=51504
Matthias Kupfer [Sat, 30 Apr 2011 11:56:02 +0000 (11:56 +0000)]
Add Python 3
svn path=/trunk/; revision=51503
Gabriel Ilardi [Sat, 30 Apr 2011 00:49:10 +0000 (00:49 +0000)]
[NOTEPAD]
Revert 51497, this is really a hack, sorry.
svn path=/trunk/; revision=51500
Giannis Adamopoulos [Fri, 29 Apr 2011 21:59:48 +0000 (21:59 +0000)]
[explorer]
- Return 1 when explorer terminates. This value lets winlogon know that explorer terminated without errors and it doesn't need to restart
svn path=/trunk/; revision=51499
Giannis Adamopoulos [Fri, 29 Apr 2011 21:49:37 +0000 (21:49 +0000)]
[taskmgr]
- When terminating an application use 1 as exit code. This is used by Task Manager in windows. It also prevents explorer from restarting in windows
- Disable redrawing the list of processes while the list is updated. Fixes flicker in windows
svn path=/trunk/; revision=51498
Gabriel Ilardi [Fri, 29 Apr 2011 21:47:53 +0000 (21:47 +0000)]
[NOTEPAD]
Patch by Edijs Kolesnikovics: Write default font, weight and point size when run for the first time. That's what ms notepad does too.
See issue #5305 for more details.
svn path=/trunk/; revision=51497
Giannis Adamopoulos [Fri, 29 Apr 2011 17:50:30 +0000 (17:50 +0000)]
[win32k]
- UserSetProcessWindowStation: Use PsGetProcessWin32WindowStation and PsSetProcessWindowStation. Close the prevoious window station handle only when the window station was not set by UserSetProcessWindowStation (should be the case for console apps)
svn path=/trunk/; revision=51496
Gabriel Ilardi [Fri, 29 Apr 2011 15:58:37 +0000 (15:58 +0000)]
[DESK]
French translation by Jeisson Toscano. I adjusted some dialogs to make text fit in.
See issue #6028 for more details.
svn path=/trunk/; revision=51495
Gabriel Ilardi [Fri, 29 Apr 2011 14:01:03 +0000 (14:01 +0000)]
[rapps]
Jeisson Toscano: French update + some Spanish translation updates (with corrections from vicmarcal and me)
See issue #6012 for more details.
svn path=/trunk/; revision=51494
Olaf Siejka [Fri, 29 Apr 2011 13:07:12 +0000 (13:07 +0000)]
- Swedish translation of charmap, find, dxdiag, mmc, mplay32, msconfig, devmgmt, eventvwr, servman, mstsc, ipconfig, ping, notepad, rapps, regedit, 3dtext, logon, shutdown, sndrec32, sndvol32, usetup, vminst and cmd. Patch by Jan Blomqvist Kinander (JaixBly [at] spray [dot] se)
[SETUP][USETUP]
- Translation update by Adam "Saibamen" Stachowicz. See issue #6171 for more details
svn path=/trunk/; revision=51492
Rafal Harabien [Thu, 28 Apr 2011 22:33:50 +0000 (22:33 +0000)]
[KERNEL32]
* Fix formatting. No code changes.
svn path=/trunk/; revision=51486
Rafal Harabien [Thu, 28 Apr 2011 22:15:39 +0000 (22:15 +0000)]
[KERNEL32]
* Use current directory in GetDriveType if no path is given
* Check if path is properly ended
* Remove slash from end when calling NtCrateFile function
* Fixes few kernel32_apitest tests and floppy icon in My Computer if no floppy is inserted
See issue #6148 for more details.
svn path=/trunk/; revision=51485
Rafal Harabien [Thu, 28 Apr 2011 22:10:51 +0000 (22:10 +0000)]
[APITESTS]
* Add GetDriveType tests. Some fails in ReactOS
* Fix few rbuild files
svn path=/trunk/; revision=51484
Giannis Adamopoulos [Thu, 28 Apr 2011 20:33:16 +0000 (20:33 +0000)]
[win32k]
- Store the initial desktop handle and use it evey time a new thread is created.
svn path=/trunk/; revision=51483
Gregor Schneider [Thu, 28 Apr 2011 20:17:14 +0000 (20:17 +0000)]
[calc] Fix degree to radians conversion
See issue #3018 for more details.
svn path=/trunk/; revision=51482
Gregor Schneider [Thu, 28 Apr 2011 19:59:16 +0000 (19:59 +0000)]
[win32csr] Implement routines to allow copy, paste and select all on console windows
See issue #4068 for more details.
svn path=/trunk/; revision=51481
Giannis Adamopoulos [Thu, 28 Apr 2011 19:52:23 +0000 (19:52 +0000)]
[win32k]
- Use ObCloseHandle instead of ZwClose when closing window station handles
svn path=/trunk/; revision=51480
Giannis Adamopoulos [Thu, 28 Apr 2011 19:26:09 +0000 (19:26 +0000)]
[win32k]
- Call update_input_key_state correctly
svn path=/trunk/; revision=51479
Timo Kreuzer [Thu, 28 Apr 2011 14:29:47 +0000 (14:29 +0000)]
[WIN32K]
- Don't use exclusive locks for pens
- Don't try to delete the window update region
- Don't ignore pid in GreIsHandleValid
- Check if handle is valid before deleting it in DC_Cleanup
- Silence a DPRINT
svn path=/trunk/; revision=51475
Timo Kreuzer [Thu, 28 Apr 2011 08:50:27 +0000 (08:50 +0000)]
Fix release build
svn path=/trunk/; revision=51472
Gabriel Ilardi [Thu, 28 Apr 2011 08:26:49 +0000 (08:26 +0000)]
[mshtml]
Revert associations for ie, we can't use them. Spotted by encoded.
See issue #6158 for more details.
svn path=/trunk/; revision=51471
Timo Kreuzer [Thu, 28 Apr 2011 08:26:46 +0000 (08:26 +0000)]
[WIN32K]
Rewrite of the GDI handle manager
- The old handle manager used a completely retarded spinlock in combination with KeDelayExecutionThread() for both exclusive
and shared locks. This is probably the most uneffective algorithm possible. It was also duplicating code everywhere and it was a overall mess It
is now replaced with a lock-free reference counter for shared locks and a pushlock for exclusive locks. -> Better performance and scalability.
- Allocate user mode object attributes from the new gdi pool. This way, we don't need any caching, since the pool serves as a cache. Its also
much faster and uses much less memory.
- Allow object allocations of different size, instead of fixed size from a table. This way a single allocation can take care of actual needs.
- Allow allcoating objects without a handle and insert them into the handle table later
- Properly synchronize the process GDIHandleCount. Now gdiview and taskmanager show the correct number of gdi handles.
- Implement a new event tracking system, that is capable of tracking all reverences and locks of objects and pool allocations to help track
possible leaks
- Make sure that all objects of a process are deleted in cleanup
- Make sure all usermode memory allocations are freed, when cleaning up the process pool.
- Make sure that each object type is using the correct type of lock (either shared or exclusive, not a mixture)
- Fix some object / reference leaks
- Lots of inferface improvements
- Use global variables for certain things instead of members in the mapped gdi handle table
- Make IntSysCreateRectpRgn create a region without a handle
- Fix detection od source and mask use in GreStretchBltMask
- Use GDIOBJ_bLockMultipleObjects in NtGdiCombineRegion to avoid possible deadlocks
- Fix NtGdiAbortPath to reset DCPATH_ACTIVE flag in the dc and only bail out on error, instead of always
- Replace DC_AllocateDcAttr and DC_AllocDcAttr with DC_bAllocDcAttr using the new user mode pool
- Remove DCU_SyncDcAttrtoUser and DCU_SynchDcAttrtoUser. Those functions were unused and didn't do anything useful anyway,
- Replace IntGdiSetDCOwnerEx and DC_SetOwnership with GreSetDCOwner, remove unused NoSetBrush parameter
- Replace GDIOBJ_bValidateHandle and IsObjectDead with GreIsHandleValid
- Chage GDIOBJ_bLockMultipleObjects: pass object type, return a BOOL, whether all objects could be locked, cleanup on failure
svn path=/trunk/; revision=51470
Timo Kreuzer [Wed, 27 Apr 2011 23:49:09 +0000 (23:49 +0000)]
[WIN32K]
Don't send messages from or to a thread in cleanup. Fixes possible deadlock.
svn path=/trunk/; revision=51469
James Tabor [Wed, 27 Apr 2011 23:09:45 +0000 (23:09 +0000)]
[Win32k]
- Fix KsStudios actions with Hooks.
svn path=/trunk/; revision=51468
Giannis Adamopoulos [Wed, 27 Apr 2011 12:33:16 +0000 (12:33 +0000)]
[win32k]
-Fix a case when a window is created and we don't have a monitor created yet. (This can happen when we may attempt to use gui on demand)
svn path=/trunk/; revision=51464
Gabriel Ilardi [Wed, 27 Apr 2011 07:09:47 +0000 (07:09 +0000)]
[SUBST]
Add Italian and Spanish translations.
svn path=/trunk/; revision=51463
James Tabor [Tue, 26 Apr 2011 03:31:15 +0000 (03:31 +0000)]
[User32]
- Sync up menu without the Right to Left support. Still missing needed changes for adding it.
- Patches by Alexandre Julliard and Dmitry Timoshkov.
svn path=/trunk/; revision=51461
James Tabor [Tue, 26 Apr 2011 00:01:03 +0000 (00:01 +0000)]
[Win32Csr]
- Hack ReactOS to boot again! See bug 5655.
svn path=/trunk/; revision=51460
James Tabor [Mon, 25 Apr 2011 23:14:06 +0000 (23:14 +0000)]
[User32|Win32csr]
- Move AppSwitch to User32.
svn path=/trunk/; revision=51459
Amine Khaldi [Mon, 25 Apr 2011 21:55:41 +0000 (21:55 +0000)]
[CRT/MINGW-W64]
* Call pei and __main before possible invocation of DllEntryPoint. By Kai Tietz.
svn path=/trunk/; revision=51458
Timo Kreuzer [Mon, 25 Apr 2011 21:53:06 +0000 (21:53 +0000)]
[win32k]
Acquire ownership of the window clip region, before deleting it. Fixes a region leak.
svn path=/trunk/; revision=51457
Johannes Anderwald [Mon, 25 Apr 2011 20:34:41 +0000 (20:34 +0000)]
[MMIXER]
- Merge 50674 to trunk:
- Allocate memory for the logical pin array
- Use the correct counter variable for logical pin array
- Found by msvc
See issue #6143 for more details.
svn path=/trunk/; revision=51455
Sylvain Petreolle [Mon, 25 Apr 2011 19:02:07 +0000 (19:02 +0000)]
[SHIMGVW]
Implement imageview_fullscreenW.
svn path=/trunk/; revision=51454
Sylvain Petreolle [Mon, 25 Apr 2011 18:59:20 +0000 (18:59 +0000)]
sndrec32, clb, shimgvw:
French translations by Jason Toscano <JasonGenie at gmail dot com>
Corrections/adjustements by me
svn path=/trunk/; revision=51453
Aleksey Bragin [Mon, 25 Apr 2011 16:08:00 +0000 (16:08 +0000)]
Sam Arun Raj Seeniraj:
[NTOSKRNL.EXE]
- Complemented existing stub routines ObpDeleteSymbolicLinkName() and ObpCreateSymbolicLinkName(). Now when symbolic links are created, they are checked for dos drive mapping and ObSystemDeviceMap is updated accordingly.
- Updates to ObpDeviceMapLock are protected by a guarded mutex (changed from fast mutex by Aleksey Bragin).
- Aleksey Bragin: Fix concurrent access issues in ObDereferenceDeviceMap. The DeviceMap read/write operation must be atomic (within the ObpDeviceMapLock region).
[SUBST.EXE]
- Removed hard coded strings and moved it to resource file.
[WIN32CSR.DLL]
- Added a workaround, when target path end with a trailing '\', the substituted drive fails to parse to the target, this is a bug in the object manager, but working around it in CsrDefineDosDevice() by stripping trailing '\'.
See issue #993 for more details.
svn path=/trunk/; revision=51452
James Tabor [Mon, 25 Apr 2011 15:31:49 +0000 (15:31 +0000)]
[Win32k]
- Need this file too.
svn path=/trunk/; revision=51451
James Tabor [Mon, 25 Apr 2011 15:18:39 +0000 (15:18 +0000)]
[User32|Win32k]
- Isolated Alt-Tab/Esc issues. Placed update_input_key_state when posting to a queue like wine. This fixed the shift key checks. The Alt-Space is handled after a Translate Message call (WM_SYSCHAR), developers need to check application code to help support it (ConCtrl32). Will move AltSwitch.c from win32csr and port patch from bug 5378 to User32. ReactOS registers the Switch Class in Win32k and it is not used.
- Implemented the rest of HotKey Support. ReactOS Explorer does not save hotkey actions.
- See related bugs 1091.
svn path=/trunk/; revision=51450
Eric Kohl [Mon, 25 Apr 2011 14:01:54 +0000 (14:01 +0000)]
[PSDK]
Add some missing device class GUIDs.
svn path=/trunk/; revision=51449
Olaf Siejka [Mon, 25 Apr 2011 11:32:28 +0000 (11:32 +0000)]
- Slovakian translation updates for rapps, shell32 and win32csr.
[CALC]
- Conversion fix for Farenheit.
Patches by Mario Kacmar
svn path=/trunk/; revision=51448
Amine Khaldi [Sun, 24 Apr 2011 17:15:23 +0000 (17:15 +0000)]
[PEFIXUP]
* Set IMAGE_SCN_MEM_NOT_PAGED flag for read-only data section (.rdata). Patch by Pavel Pisa.
See issue #5618 for more details.
svn path=/trunk/; revision=51447
Aleksey Bragin [Sun, 24 Apr 2011 11:24:37 +0000 (11:24 +0000)]
[NTOSKRNL/KE]
- Correctly return whether there is a kernel APC pending in KiSwapContextExit. Fixes IRQL asserts seen in bugs 5955 and 5777. Michael Martin's help in finding and fixing this bug was invaluable. Also thanks to Art Yerkes and testing team for additional information.
See issue #5955 for more details.
svn path=/trunk/; revision=51445
Olaf Siejka [Sun, 24 Apr 2011 10:05:12 +0000 (10:05 +0000)]
- Swedish translation of calcs, charmap, doskey, more, dxdiag, fontview, kbswitch, logoff, magnify and mmc
- Swedish translation adjustments of calc and find
- Fix comments in magnify
Patch by Jan Blomqvist Kinander (JaixBly [at] spray [dot] se)
svn path=/trunk/; revision=51444
Michael Martin [Sun, 24 Apr 2011 06:48:50 +0000 (06:48 +0000)]
[ntoskrnl]
- Fix a type from rev 19847. Only if the KernelMode List is not empty are there pending APCs.
svn path=/trunk/; revision=51442
Eric Kohl [Sat, 23 Apr 2011 14:40:30 +0000 (14:40 +0000)]
[SERVICES]
Disable more debug messages.
svn path=/trunk/; revision=51439
Eric Kohl [Sat, 23 Apr 2011 11:26:16 +0000 (11:26 +0000)]
[NPFS]
Silence some debug messages.
svn path=/trunk/; revision=51438
Eric Kohl [Sat, 23 Apr 2011 10:52:01 +0000 (10:52 +0000)]
[CLASS2]
Prepare ReactOS for the change from the ancient 32 sectors / 64 tracks disk layout (used until Windows NT4) to the modern 63 sectors / 255 tracks disk layout (used since Windows 2000).
svn path=/trunk/; revision=51437
Gregor Schneider [Fri, 22 Apr 2011 22:58:09 +0000 (22:58 +0000)]
[shell32] Split declarations and operations, in case any pure C compiler cares
svn path=/trunk/; revision=51436
Gregor Schneider [Fri, 22 Apr 2011 22:53:31 +0000 (22:53 +0000)]
[shell32] Pass an argument array to FormatMessage to insert the filename details into error messages (instead of failing)
See issue #5977 for more details.
svn path=/trunk/; revision=51435
Gregor Schneider [Fri, 22 Apr 2011 21:29:30 +0000 (21:29 +0000)]
[ipconfig] Respect the size parameter in the LoadStringAndOem helper function, fixes "ipconfig /?"
See issue #6146 for more details.
svn path=/trunk/; revision=51434
Eric Kohl [Fri, 22 Apr 2011 15:18:31 +0000 (15:18 +0000)]
[SERVICES]
RChangeServiceConfig2W: Use the error code of a call to RegSetValueExW.
svn path=/trunk/; revision=51429
Amine Khaldi [Fri, 22 Apr 2011 14:23:49 +0000 (14:23 +0000)]
[NETID]
* Use EDITTEXT instead of LTEXT. Patch by Edijs Kolesnikovics <terminedijs at yahoo dot com>
See issue #6129 for more details.
svn path=/trunk/; revision=51428
Eric Kohl [Fri, 22 Apr 2011 14:09:21 +0000 (14:09 +0000)]
[SERVICES]
Lock the service database in order to protect it from concurrent access.
svn path=/trunk/; revision=51427
Amine Khaldi [Fri, 22 Apr 2011 14:07:22 +0000 (14:07 +0000)]
[Translations]
* explorer-new: Fix some wrong UK and RU translations.
* shell32: Update UK and RU translations.
* Patch by Igor Paliychuk <mansonigor at gmail dot com>
svn path=/trunk/; revision=51426
Gabriel Ilardi [Fri, 22 Apr 2011 12:30:50 +0000 (12:30 +0000)]
[shimgvw]
Add Italian translation.
[mplay32]
Fix Italian translation for play.
svn path=/trunk/; revision=51424
Rafal Harabien [Fri, 22 Apr 2011 11:51:08 +0000 (11:51 +0000)]
[MPLAY32]
* Move "Play" string from shell32. It will be used in audio files context menu in explorer
[SHIMGVW]
* Move "Preview" string from shell32. It will be used in image files context menu in explorer
* Add Polish translation
[SHELL32]
* Remove "Play" and "Preview" translations - they shouldn't be in shell32
* Add "explore" translation for folder context menu
svn path=/trunk/; revision=51423
Gregor Schneider [Thu, 21 Apr 2011 21:59:17 +0000 (21:59 +0000)]
[kernel32] Radek Liska: sync czech NLS resources to Wine
See issue #6122 for more details.
svn path=/trunk/; revision=51419
Timo Kreuzer [Thu, 21 Apr 2011 21:49:46 +0000 (21:49 +0000)]
[CRT]
Fix a typo in a comment
svn path=/trunk/; revision=51418
Timo Kreuzer [Thu, 21 Apr 2011 21:48:24 +0000 (21:48 +0000)]
[WIN32K/GDI32]
Add official ENTRY structure definition
svn path=/trunk/; revision=51417
Gregor Schneider [Thu, 21 Apr 2011 21:25:30 +0000 (21:25 +0000)]
[cardlib] Install a button release callback
[spider] Use the button release callback instead of button click callbacks
See issue #6125 for more details.
svn path=/trunk/; revision=51416
Gregor Schneider [Thu, 21 Apr 2011 21:05:47 +0000 (21:05 +0000)]
Rename paint to mspaint to maintain script compatibility
See issue #6071 for more details.
svn path=/trunk/; revision=51415
James Tabor [Thu, 21 Apr 2011 16:43:52 +0000 (16:43 +0000)]
- Add Unicows to packing list.
svn path=/trunk/; revision=51414
Rafal Harabien [Wed, 20 Apr 2011 21:31:41 +0000 (21:31 +0000)]
[KERNEL32]
* Properly check if buffer given to GetComputerName is too small. Fixes hostname.exe if computer name is MAX_COMPUTERNAME_LENGTH long (the default for bootcd since it's generated randomly in Setup).
* Simplify it a bit
svn path=/trunk/; revision=51412
Timo Kreuzer [Wed, 20 Apr 2011 21:10:13 +0000 (21:10 +0000)]
[WIN32K]
Don't try to lock a dcs clip region if its NULL
svn path=/trunk/; revision=51411
Rafal Harabien [Wed, 20 Apr 2011 18:13:27 +0000 (18:13 +0000)]
[FLOPPY]
Formatting only, no code changes.
svn path=/trunk/; revision=51410
Rafal Harabien [Wed, 20 Apr 2011 17:44:12 +0000 (17:44 +0000)]
[FLOPPY]
Increase floppy drives count in global ConfigurationInformation. Fixes not working floppies in explorer.
See issue #4236 for more details.
svn path=/trunk/; revision=51409
James Tabor [Wed, 20 Apr 2011 04:55:08 +0000 (04:55 +0000)]
[Unicows]
- Import wine unicows for Adobe Reader 7.1.0. See bug 5560.
svn path=/trunk/; revision=51408
James Tabor [Tue, 19 Apr 2011 18:18:19 +0000 (18:18 +0000)]
[Win32k]
- This should fix the dcattr leaked when deleting a DC, See bug 6119.
svn path=/trunk/; revision=51405
James Tabor [Tue, 19 Apr 2011 17:18:05 +0000 (17:18 +0000)]
[Win32k]
- Replace patch point for forced DC removal. See bug 6119.
svn path=/trunk/; revision=51403
Gabriel Ilardi [Tue, 19 Apr 2011 09:15:05 +0000 (09:15 +0000)]
[winetests]
Add new lines to test results for kernel32/dosdev.c
svn path=/trunk/; revision=51400
Gabriel Ilardi [Tue, 19 Apr 2011 07:59:23 +0000 (07:59 +0000)]
[win32csr/file.c]
Add missing new lines to some DPRINT1
svn path=/trunk/; revision=51399
Amine Khaldi [Mon, 18 Apr 2011 22:17:25 +0000 (22:17 +0000)]
* Fix build.
svn path=/trunk/; revision=51395
Aleksey Bragin [Mon, 18 Apr 2011 21:56:44 +0000 (21:56 +0000)]
[KERNEL32_WINETEST]
- Sam Arun Raj Seeniraj: Added new test cases to QueryDosDevice(). Should be sent to Wine (tm).
See issue #993 for more details.
svn path=/trunk/; revision=51394
Aleksey Bragin [Mon, 18 Apr 2011 21:48:19 +0000 (21:48 +0000)]
Sam Arun Raj Seeniraj:
[KERNEL32]
- DefineDosDeviceW() is implemented and calls into csrss.exe CsrDefineDosDevice().
- Fixed a minor bug in DefineDosDeviceA(), as calling RtlCreateUnicodeStringFromAsciiz() prevented NULL lpTargetPath to be passed down to DefineDosDeviceW().
- Fixed a minor bug in QueryDosDeviceW() that causes lpTargetPath buffer to be returned with NULL string terminator placed at the wrong point in the buffer.
[WIN32CSR.DLL]
- Implemented CsrDefineDosDevice() in win32csr.dll, the symbolic links are created in global name space currently.
[SUBST.EXE]
- Implemented a subst.exe clone.
See issue #993 for more details.
svn path=/trunk/; revision=51393
Timo Kreuzer [Mon, 18 Apr 2011 19:09:05 +0000 (19:09 +0000)]
[WIN32K]
- Use shared locks for surfaces and palettes
svn path=/trunk/; revision=51392
Timo Kreuzer [Mon, 18 Apr 2011 14:15:18 +0000 (14:15 +0000)]
[WIN32K]
Set ulShareCount of static palettes to 1, so they won't get dereferenced to 0
svn path=/trunk/; revision=51391
Giannis Adamopoulos [Mon, 18 Apr 2011 09:13:31 +0000 (09:13 +0000)]
[win32k]
- GetKeyboardState and SetKeyboardState should use the thread key state and not the global key state
svn path=/trunk/; revision=51389
Amine Khaldi [Sun, 17 Apr 2011 16:55:24 +0000 (16:55 +0000)]
[CMAKE]
* Addendum to the previous commit.
svn path=/trunk/; revision=51382
Eric Kohl [Sun, 17 Apr 2011 14:43:32 +0000 (14:43 +0000)]
[ADVAPI32]
Implement EnumServiceGroupW.
svn path=/trunk/; revision=51380
Giannis Adamopoulos [Sun, 17 Apr 2011 12:33:29 +0000 (12:33 +0000)]
[win32k]
- Improve IS_KBD_MESSAGE macro. Should fix some more tests
svn path=/trunk/; revision=51379
Eric Kohl [Sun, 17 Apr 2011 11:58:26 +0000 (11:58 +0000)]
[EVENTVWR]
- Change string resource id prefix from IDC to IDS.
- Add missing string resources.
svn path=/trunk/; revision=51378
Giannis Adamopoulos [Sun, 17 Apr 2011 10:38:06 +0000 (10:38 +0000)]
[win32k]
- Do not distinguish left and right keys in WH_KEYBOARD and key messages. Based on wine
Fixes several tests
svn path=/trunk/; revision=51377
Giannis Adamopoulos [Sun, 17 Apr 2011 10:35:09 +0000 (10:35 +0000)]
[user32_apitest]
- Some more tests for GetKeyState
svn path=/trunk/; revision=51376
Olaf Siejka [Sun, 17 Apr 2011 10:20:22 +0000 (10:20 +0000)]
[VIDEOPRT]
- Check for the correct, just created, registry key. Fix
a wrong comparison. Patch by Thomas Faber.
See issue #6123 for more details.
svn path=/trunk/; revision=51375
Matthias Kupfer [Sun, 17 Apr 2011 09:50:07 +0000 (09:50 +0000)]
fix accidentally set property svn:executable
svn path=/trunk/; revision=51374
Olaf Siejka [Sat, 16 Apr 2011 22:29:55 +0000 (22:29 +0000)]
[CALC]
- Swedish translation by Jaix Bly.
See issue #6113 for more details.
svn path=/trunk/; revision=51371
Olaf Siejka [Sat, 16 Apr 2011 22:16:25 +0000 (22:16 +0000)]
[VIDEOPRT]
- Fix whitespace and logic order (formatting only). Patch by Thomas Faber
See issue #6123 for more details.
svn path=/trunk/; revision=51370
Rafal Harabien [Fri, 15 Apr 2011 20:42:07 +0000 (20:42 +0000)]
[SYSSETUP]
* Generate random computer name (REACTOS-xxxxxxx) in Setup. Patch by David Quintana <gigaherz at gmail dot com> modified by me
See issue #6099 for more details.
svn path=/trunk/; revision=51358
Timo Kreuzer [Fri, 15 Apr 2011 20:14:44 +0000 (20:14 +0000)]
[WIN32K]
Implement gdi pool. An allocator for user mode gdi object attributes.
The old method allocated a 4k page for every object, wasting 4k physical memory and 64k address space (allcoation granularity)
The new allocator creates a per process pool for each object attribute type. Allocations are done from "sections" that start with 1 page and grow dynamically up to 64k, if neccessary a new section is allocated. This will use about 1/10 of memory for dc attributes and 1/512 for brush attributes. Also allocation is way faster. Caching object attributes is not neccessary anymore.
svn path=/trunk/; revision=51357
Rafal Harabien [Fri, 15 Apr 2011 20:03:44 +0000 (20:03 +0000)]
[WIN32K]
* Revert part of 37148. One FontGDI is used for fonts with different sizes. Do not cache font metrics then and instead calculate them every time when needed. It fixes spacing in menus if some application uses default GUI font with size other than 11.
See issue #4106 for more details.
svn path=/trunk/; revision=51356
Rafal Harabien [Fri, 15 Apr 2011 16:54:25 +0000 (16:54 +0000)]
[SYSSETUP]
* Fix information about computer name length limit in Setup. Translators: please review
svn path=/trunk/; revision=51354
Timo Kreuzer [Fri, 15 Apr 2011 15:29:08 +0000 (15:29 +0000)]
[WIN32K]
- Use shared locks for surfaces and palettes
svn path=/trunk/; revision=51352