reactos.git
12 years ago[NOTEPAD]
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

13 years ago[win32k]
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

13 years ago[DESK]
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

13 years ago[rapps]
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

13 years ago- Swedish translation of charmap, find, dxdiag, mmc, mplay32, msconfig, devmgmt,...
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

13 years ago[KERNEL32]
Rafal Harabien [Thu, 28 Apr 2011 22:33:50 +0000 (22:33 +0000)]
[KERNEL32]
* Fix formatting. No code changes.

svn path=/trunk/; revision=51486

13 years ago[KERNEL32]
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

13 years ago[APITESTS]
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

13 years ago[win32k]
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

13 years ago[calc] Fix degree to radians conversion
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

13 years ago[win32csr] Implement routines to allow copy, paste and select all on console windows
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

13 years ago[win32k]
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

13 years ago[win32k]
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

13 years ago[WIN32K]
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

13 years agoFix release build
Timo Kreuzer [Thu, 28 Apr 2011 08:50:27 +0000 (08:50 +0000)]
Fix release build

svn path=/trunk/; revision=51472

13 years ago[mshtml]
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

13 years ago[WIN32K]
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

13 years ago[WIN32K]
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

13 years ago[Win32k]
James Tabor [Wed, 27 Apr 2011 23:09:45 +0000 (23:09 +0000)]
[Win32k]
- Fix KsStudios actions with Hooks.

svn path=/trunk/; revision=51468

13 years ago[win32k]
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

13 years ago[SUBST]
Gabriel Ilardi [Wed, 27 Apr 2011 07:09:47 +0000 (07:09 +0000)]
[SUBST]
Add Italian and Spanish translations.

svn path=/trunk/; revision=51463

13 years ago[User32]
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

13 years ago[Win32Csr]
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

13 years ago[User32|Win32csr]
James Tabor [Mon, 25 Apr 2011 23:14:06 +0000 (23:14 +0000)]
[User32|Win32csr]
- Move AppSwitch to User32.

svn path=/trunk/; revision=51459

13 years ago[CRT/MINGW-W64]
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

13 years ago[win32k]
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

13 years ago[MMIXER]
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

13 years ago[SHIMGVW]
Sylvain Petreolle [Mon, 25 Apr 2011 19:02:07 +0000 (19:02 +0000)]
[SHIMGVW]
Implement imageview_fullscreenW.

svn path=/trunk/; revision=51454

13 years agosndrec32, clb, shimgvw:
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

13 years agoSam Arun Raj Seeniraj:
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

13 years ago[Win32k]
James Tabor [Mon, 25 Apr 2011 15:31:49 +0000 (15:31 +0000)]
[Win32k]
- Need this file too.

svn path=/trunk/; revision=51451

13 years ago[User32|Win32k]
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

13 years ago[PSDK]
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

13 years ago- Slovakian translation updates for rapps, shell32 and win32csr.
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

13 years ago[PEFIXUP]
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

13 years ago[NTOSKRNL/KE]
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

13 years ago- Swedish translation of calcs, charmap, doskey, more, dxdiag, fontview, kbswitch...
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

13 years ago[ntoskrnl]
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

13 years ago[SERVICES]
Eric Kohl [Sat, 23 Apr 2011 14:40:30 +0000 (14:40 +0000)]
[SERVICES]
Disable more debug messages.

svn path=/trunk/; revision=51439

13 years ago[NPFS]
Eric Kohl [Sat, 23 Apr 2011 11:26:16 +0000 (11:26 +0000)]
[NPFS]
Silence some debug messages.

svn path=/trunk/; revision=51438

13 years ago[CLASS2]
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

13 years ago[shell32] Split declarations and operations, in case any pure C compiler cares
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

13 years ago[shell32] Pass an argument array to FormatMessage to insert the filename details...
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

13 years ago[ipconfig] Respect the size parameter in the LoadStringAndOem helper function, fixes...
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

13 years ago[SERVICES]
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

13 years ago[NETID]
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

13 years ago[SERVICES]
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

13 years ago[Translations]
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

13 years ago[shimgvw]
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

13 years ago[MPLAY32]
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

13 years ago[kernel32] Radek Liska: sync czech NLS resources to Wine
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

13 years ago[CRT]
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

13 years ago[WIN32K/GDI32]
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

13 years ago[cardlib] Install a button release callback
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

13 years agoRename paint to mspaint to maintain script compatibility
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

13 years ago- Add Unicows to packing list.
James Tabor [Thu, 21 Apr 2011 16:43:52 +0000 (16:43 +0000)]
- Add Unicows to packing list.

svn path=/trunk/; revision=51414

13 years ago[KERNEL32]
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

13 years ago[WIN32K]
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

13 years ago[FLOPPY]
Rafal Harabien [Wed, 20 Apr 2011 18:13:27 +0000 (18:13 +0000)]
[FLOPPY]
Formatting only, no code changes.

svn path=/trunk/; revision=51410

13 years ago[FLOPPY]
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

13 years ago[Unicows]
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

13 years ago[Win32k]
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

13 years ago[Win32k]
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

13 years ago[winetests]
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

13 years ago[win32csr/file.c]
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

13 years ago* Fix build.
Amine Khaldi [Mon, 18 Apr 2011 22:17:25 +0000 (22:17 +0000)]
* Fix build.

svn path=/trunk/; revision=51395

13 years ago[KERNEL32_WINETEST]
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

13 years agoSam Arun Raj Seeniraj:
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

13 years ago[WIN32K]
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

13 years ago[WIN32K]
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

13 years ago[win32k]
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

13 years ago[CMAKE]
Amine Khaldi [Sun, 17 Apr 2011 16:55:24 +0000 (16:55 +0000)]
[CMAKE]
* Addendum to the previous commit.

svn path=/trunk/; revision=51382

13 years ago[ADVAPI32]
Eric Kohl [Sun, 17 Apr 2011 14:43:32 +0000 (14:43 +0000)]
[ADVAPI32]
Implement EnumServiceGroupW.

svn path=/trunk/; revision=51380

13 years ago[win32k]
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

13 years ago[EVENTVWR]
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

13 years ago[win32k]
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

13 years ago[user32_apitest]
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

13 years ago[VIDEOPRT]
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

13 years agofix accidentally set property svn:executable
Matthias Kupfer [Sun, 17 Apr 2011 09:50:07 +0000 (09:50 +0000)]
fix accidentally set property svn:executable

svn path=/trunk/; revision=51374

13 years ago[CALC]
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

13 years ago[VIDEOPRT]
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

13 years ago[SYSSETUP]
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

13 years ago[WIN32K]
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

13 years ago[WIN32K]
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

13 years ago[SYSSETUP]
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

13 years ago[WIN32K]
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

13 years ago[WIN32K]
Timo Kreuzer [Fri, 15 Apr 2011 15:20:17 +0000 (15:20 +0000)]
[WIN32K]
- Use shared locks for surfaces and palettes
- Unimplement NtGdiEngUnlockSurface, it was wrong

svn path=/trunk/; revision=51351

13 years ago[SYSSETUP]
Rafal Harabien [Fri, 15 Apr 2011 14:29:14 +0000 (14:29 +0000)]
[SYSSETUP]
* Computer name length is limited to 15 characters, not 63. Fixes possible buffer overflow
* Spotted by Victor Martinez

svn path=/trunk/; revision=51349

13 years agoproperty svn:executable removed
Matthias Kupfer [Fri, 15 Apr 2011 12:17:50 +0000 (12:17 +0000)]
property svn:executable removed

svn path=/trunk/; revision=51347

13 years agopotential memory problem fixed, obsolete assignment removed
Matthias Kupfer [Fri, 15 Apr 2011 12:16:26 +0000 (12:16 +0000)]
potential memory problem fixed, obsolete assignment removed

svn path=/trunk/; revision=51346

13 years ago[win32k]
Michael Martin [Fri, 15 Apr 2011 07:10:00 +0000 (07:10 +0000)]
[win32k]
- Move dereferencing of the MessageQueue from co_UserDestroyWindow to co_UserFreeWindow.
A reference is added to the MessageQueue for all windows created.co_UserFreeWindow is called for all windows and needs to be where the dereferencing of MessageQueue occurs.
This fixes NonPagedPool memory leak. See bug 6112 for more info.

svn path=/trunk/; revision=51345

13 years ago[usbdriver]
Michael Martin [Fri, 15 Apr 2011 06:44:13 +0000 (06:44 +0000)]
[usbdriver]
- KbdDispatch: Set Status vice IoStatus.Status for all branches of switch. Use break instead of goto intcontfailure.
The previous code would set Status to what ever was in the IoStatus.Status of the IRP and return that Status.
Some times this would be STATUS_PENDING, which IIRC is a no-no.
This caused the kbdclass to enter into a wait that would never be satisifed hence blocking the keyboard thread.
This should fix the failure of keyboard input bugs.

svn path=/trunk/; revision=51344

13 years ago[RTL]
Aleksey Bragin [Thu, 14 Apr 2011 12:20:47 +0000 (12:20 +0000)]
[RTL]
- If there is no data provided and parameters are valid, fail with STATUS_SXS_KEY_NOT_FOUND.

svn path=/trunk/; revision=51339

13 years ago[TRANSLATIONS]
Amine Khaldi [Thu, 14 Apr 2011 12:13:38 +0000 (12:13 +0000)]
[TRANSLATIONS]
Igor Paliychuk (mansonigor at gmail dot com):
* Update Ukrainian localization.
* Leftover from r51055: Update reactos.exe strings and resource sizes.
* Fix displaying of doskey localizations.

svn path=/trunk/; revision=51338

13 years ago[CMAKE]
Amine Khaldi [Thu, 14 Apr 2011 11:55:40 +0000 (11:55 +0000)]
[CMAKE]
- Reflect the recent user32_apitest changes. Please consider updating the cmake files when you alter the rbuild files in the future.

svn path=/trunk/; revision=51336

13 years ago[RTL]
Aleksey Bragin [Thu, 14 Apr 2011 09:57:08 +0000 (09:57 +0000)]
[RTL]
- Properly check parameters in RtlFindActivationContextSectionString. Almost the same as Wine did, but factored out into a standalone function, improved undocumented flags checks and allowing null data pointer in certain cases.

svn path=/trunk/; revision=51333

13 years ago[Win32k]
Michael Martin [Thu, 14 Apr 2011 01:21:38 +0000 (01:21 +0000)]
[Win32k]
- Fix implementation of message callbacks,  now callbacks can be called across processes.
- Fix some comments.

svn path=/trunk/; revision=51332

13 years agoremove obsolete object handling
Matthias Kupfer [Wed, 13 Apr 2011 20:20:16 +0000 (20:20 +0000)]
remove obsolete object handling

svn path=/trunk/; revision=51331

13 years ago[explorer]
Giannis Adamopoulos [Wed, 13 Apr 2011 18:25:58 +0000 (18:25 +0000)]
[explorer]
- Use the shell default auto-arrangement positioning. Aloow using custom positioning when configured. This fixes the positioning of icons of the desktop to look like windows

svn path=/trunk/; revision=51330

13 years ago[GDI32]
Rafal Harabien [Wed, 13 Apr 2011 08:14:37 +0000 (08:14 +0000)]
[GDI32]
* DPtoLP/LPtoDP functions should return TRUE even if they get 0 or less points or if pointer to points is invalid. See gdi32:DPtoLP apitest.
* Fixes 24 gdi32:DPtoLP apitests.

svn path=/trunk/; revision=51328