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
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
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
Matthias Kupfer [Fri, 15 Apr 2011 12:17:50 +0000 (12:17 +0000)]
property svn:executable removed
svn path=/trunk/; revision=51347
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
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
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
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
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
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
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
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
Matthias Kupfer [Wed, 13 Apr 2011 20:20:16 +0000 (20:20 +0000)]
remove obsolete object handling
svn path=/trunk/; revision=51331
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
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
Michael Martin [Wed, 13 Apr 2011 04:48:50 +0000 (04:48 +0000)]
[USB\USBEHCI]
- Implement ExecuteTransfer to replace SubmitTransfer.
- Start implentation for BulkTransfers and needed DMA. This needs much more work to be done correctly. We will get to it.
- Implement URB_FUNCTION_CLASS_INTERFACE.
- Add comments.
Change 3 of 3.
svn path=/trunk/; revision=51327
Michael Martin [Wed, 13 Apr 2011 04:43:25 +0000 (04:43 +0000)]
[USB\USBEHCI]
- For common buffer memory, only allocate one page and allocate more as needed. This implementation will most likely be replaced with janderwalds.
- Use a safecount while attempting to stop and start the controller, so that an error can be displayed vice doing endless loop for controllers that are misbehaving.
- Reorganize a few structuers and remove members of structures that are not used.
- Add comments for some of the DirectCall Interface Functions.
Change 2 of 3.
svn path=/trunk/; revision=51326
Michael Martin [Wed, 13 Apr 2011 04:33:14 +0000 (04:33 +0000)]
[USB\USBEHCI]
- Fix linking of QueueHeads. Implement LinkQueueHeadToCompletedList and CleanupAsyncList. These functions are used to software link the completed queueheads to a completed list. Only after the driver handshakes with the controller can this memory be freed.
Fix a few incorrect values for QueueHead.
- EhciDefferedRoutine: Implement handling of completed QueueHeads by removing them from the AnsycList and setting any errors for failure.
- Reserved a QueueHead that will always be in the AsyncList Address Register. By setting it as the Head of Reclamation the controller can know when it has reached the end of the QueueHead list.
- Remove all code from FdoDispatchInternalDeviceControl. This should never be called by upper level drivers.
Change 1 of 3.
svn path=/trunk/; revision=51325
Giannis Adamopoulos [Tue, 12 Apr 2011 20:59:50 +0000 (20:59 +0000)]
[shell32]
- Properly arrange icons in explorer shell view window. This also fixes navigating in files with keyboard arrows
svn path=/trunk/; revision=51323
Rafal Harabien [Tue, 12 Apr 2011 18:45:06 +0000 (18:45 +0000)]
[SHELL32]
* Return 1 in WM_ERASEBKGND when desktop is painted
* Fix background for desktop icons and their labels
* Moreover fixes explorer_new background
svn path=/trunk/; revision=51322
Rafal Harabien [Tue, 12 Apr 2011 18:38:38 +0000 (18:38 +0000)]
[COMCTL32]
* Sync listview to Wine 1.3.17
* Set background and text color before calling DrawFocusRect. Those colors are used by monochrome brush during painting. Tested this function in Windows and our implementation is correct. Wine has DrawFocusRect not correctly implemented and that's why they don't see this bug. Should be sent to wine (tm).
svn path=/trunk/; revision=51321
Eric Kohl [Mon, 11 Apr 2011 17:52:06 +0000 (17:52 +0000)]
[NPFS]
PATCH: Arty's fixes based on CMake branch testing. Just the NPFS code.
See issue #6103 for more details.
svn path=/trunk/; revision=51320
Aleksey Bragin [Mon, 11 Apr 2011 17:36:44 +0000 (17:36 +0000)]
[RAPPS]
- Swedish translation by Jan Blomqvist-Kinander.
svn path=/trunk/; revision=51319
Aleksey Bragin [Mon, 11 Apr 2011 17:03:20 +0000 (17:03 +0000)]
[WIN32CSR]
- Swedish translation by Jan Blomqvist-Kinander.
svn path=/trunk/; revision=51318
Gabriel Ilardi [Mon, 11 Apr 2011 12:26:16 +0000 (12:26 +0000)]
[SNDVOL32]
Italian and Spanish translation updates.
svn path=/trunk/; revision=51317
Gabriel Ilardi [Mon, 11 Apr 2011 10:56:45 +0000 (10:56 +0000)]
[WIN32CSR]
Italian translation of command prompt's window title
svn path=/trunk/; revision=51316
James Tabor [Mon, 11 Apr 2011 03:24:14 +0000 (03:24 +0000)]
[Win32k]
- PATCH: Arty's fixes based on CMake branch testing. Just the timer code. See bug 6103.
svn path=/trunk/; revision=51315
Rafal Harabien [Sun, 10 Apr 2011 21:24:49 +0000 (21:24 +0000)]
[ADVAPI32]
* Copy RegQueryValueExA from Wine. Fixes 24 winetests fails which appeared after r51222. They are caused by calling RegQueryValueExA with buffer size set to large value. Old implementation was allocating new buffer with specified size (it was failing) and using unicode function. New implementation use given buffer size only when coping data.
See issue #6105 for more details.
svn path=/trunk/; revision=51314
Eric Kohl [Sun, 10 Apr 2011 15:42:55 +0000 (15:42 +0000)]
[NETAPI32]
NetUserModalsGet failed if the domain SID returned by LsaQueryInformationPolicy was NULL. Handle the NULL SID case correctly.
See issue #6102 for more details.
svn path=/trunk/; revision=51313
Giannis Adamopoulos [Sun, 10 Apr 2011 15:14:15 +0000 (15:14 +0000)]
[user32_apitest]
- Add some more tests for SetCursorPos
svn path=/trunk/; revision=51312
Olaf Siejka [Sun, 10 Apr 2011 14:55:11 +0000 (14:55 +0000)]
Fix build. The translation patch was outdated.
svn path=/trunk/; revision=51311
Matthias Kupfer [Sun, 10 Apr 2011 13:19:01 +0000 (13:19 +0000)]
Radek Liska <radekliska AT gmail DOT com>
- Czech translations for sndrec32 and sndvol32.
- See issue #6098 for details.
svn path=/trunk/; revision=51310
Johannes Anderwald [Sun, 10 Apr 2011 10:44:05 +0000 (10:44 +0000)]
[SHELL32]
- Fix control style of property dialogs
- Patch Edijs Kolesnikovics, terminedijs@yahoo.com, irc:Edijus
svn path=/trunk/; revision=51309
Olaf Siejka [Sun, 10 Apr 2011 08:49:31 +0000 (08:49 +0000)]
[WIN32CSR]
Polish translation of Command prompt window title
svn path=/trunk/; revision=51308
Amine Khaldi [Sat, 9 Apr 2011 21:02:25 +0000 (21:02 +0000)]
[DOSKEY/SNDREC32]
- Activate polish translations. Patch by Adam Stachowicz.
svn path=/trunk/; revision=51307
James Tabor [Sat, 9 Apr 2011 20:41:04 +0000 (20:41 +0000)]
- Fix build
svn path=/trunk/; revision=51306
James Tabor [Sat, 9 Apr 2011 20:32:52 +0000 (20:32 +0000)]
[Win32k]
- Revert parts of 51283, thanks to Giannis for setting me straight on SetCursorPos and without breaking setting the Track window for TrackMouseEvent. Pass the new SetCursorPos, and wine test_TrackMouseEvent and input test_mouse_ll_hook tests.
svn path=/trunk/; revision=51305
Giannis Adamopoulos [Sat, 9 Apr 2011 19:12:49 +0000 (19:12 +0000)]
add some tests for GetKeyState and SetCursorPos
svn path=/trunk/; revision=51304
Johannes Anderwald [Sat, 9 Apr 2011 16:34:15 +0000 (16:34 +0000)]
[EXPLORER_NEW]
- Use ReactOS registry key for ReactOS features
- Patch by Edijus KolesnikoviÄ\8ds, terminedijs@yahoo.com
svn path=/trunk/; revision=51300
Johannes Anderwald [Sat, 9 Apr 2011 15:28:46 +0000 (15:28 +0000)]
[SNDVOL32]
- Remove 'E'
svn path=/trunk/; revision=51298
Daniel Reimer [Sat, 9 Apr 2011 15:21:22 +0000 (15:21 +0000)]
Partial revert, as explained on ML. Sry...
svn path=/trunk/; revision=51297
Daniel Reimer [Sat, 9 Apr 2011 14:46:37 +0000 (14:46 +0000)]
- Sync all resource files with the English one.
- Translate the new Dialog in the German one.
- Normally we use BEGIN and END, no {}
- DIALOG -> DIALOGEX
svn path=/trunk/; revision=51296
Giannis Adamopoulos [Sat, 9 Apr 2011 12:44:45 +0000 (12:44 +0000)]
[win32k]
- Rewrite GetKeyState based on wine. Now it's results are based on whether or nor the message queue has processed a keyboard message and not the actual state of the keyboard.c
- TODO: ensure it works corectly and use this implementation in most other places in win32k when we need to check the state of a key. To ensure nothing breaks, this change affects only GetKeyState
svn path=/trunk/; revision=51295
Kamil Hornicek [Sat, 9 Apr 2011 12:18:34 +0000 (12:18 +0000)]
Updated Czech translations for ping, charmap, reactos, usetup, console, desk and shell32 by Radek Liska (radekliska at gmail dot com) with some subtle modifications by me.
See issue #6067 for more details.
svn path=/trunk/; revision=51294
Matthias Kupfer [Sat, 9 Apr 2011 12:01:36 +0000 (12:01 +0000)]
Command Prompt with translated window title
- German translation added
- other languages need to be translated (.rc files prepared)
svn path=/trunk/; revision=51293
Johannes Anderwald [Sat, 9 Apr 2011 10:36:25 +0000 (10:36 +0000)]
[SNDVOL32]
- Fix more subtle bugs:
- Check with long line name if the current connection is activated when adding lines to dialog or when adding lines to the preferences dialog
- Use the temporary preferences context when writing the line settings
- Don't destroy the mixer when the preferences dialog is closed. the new mixer will be used for the application when the preferences are changed
- Pass the current selected line to the preferences dialog
svn path=/trunk/; revision=51292
Michael Martin [Sat, 9 Apr 2011 07:19:31 +0000 (07:19 +0000)]
[Win32k]
- Only call hooks and check if Win32Thread is in cleanup if the windows procedure is being called.
- Set DispatchingListEntry.Flink to NULL. The real fix for bug 5580. This bug may be the cause of other crashes experienced by users just before loading desktop. Found by rafalh.
svn path=/trunk/; revision=51291
James Tabor [Sat, 9 Apr 2011 07:08:17 +0000 (07:08 +0000)]
[Win32k]
- Added more missed mouse injection flag and extra data being passed in and from set cursor position. Wine mouse low level hook msg tests now see it and check the validity of the hook message.
svn path=/trunk/; revision=51290
Sylvain Petreolle [Fri, 8 Apr 2011 23:18:20 +0000 (23:18 +0000)]
[SNDVOL32]
Redraw window with correct size.
Window height was growing after changing preferences.
svn path=/trunk/; revision=51289
Sylvain Petreolle [Fri, 8 Apr 2011 22:40:12 +0000 (22:40 +0000)]
[SNDVOL32]
Update french translation.
svn path=/trunk/; revision=51288
Johannes Anderwald [Fri, 8 Apr 2011 22:17:18 +0000 (22:17 +0000)]
[SNDVOL32]
- Fix mute switch control style
svn path=/trunk/; revision=51287
Johannes Anderwald [Fri, 8 Apr 2011 22:04:41 +0000 (22:04 +0000)]
[SNDVOL32]
- Always write line states configuration values in one step
- Fixes the problem when old line state settings were not present
- Advantage is that it is faster and sndvol32 now works in ReactOS
svn path=/trunk/; revision=51286
Olaf Siejka [Fri, 8 Apr 2011 21:57:32 +0000 (21:57 +0000)]
[DOSKEY]
- Polish translation by Adam "Saibman" Stachowicz
[SNDREC32]
- Polish translation by Adam "Saibman" Stachowicz
[SNDVOL32]
- Polish translation update by me
[TRANSLATION]
- Polish translation fixes (spelling, typos, grammar) and updates on multiple modules by Adam "Saibman" Stachowicz, few small corrections by me.
See issue #6087 for more details.
svn path=/trunk/; revision=51285
Johannes Anderwald [Fri, 8 Apr 2011 21:09:07 +0000 (21:09 +0000)]
[SNDVOL32]
- Add english resources for sndvol32
- Enjoy ;)
svn path=/trunk/; revision=51284
James Tabor [Fri, 8 Apr 2011 19:29:15 +0000 (19:29 +0000)]
[User32|Win32k]
- Fix TrackMouseEvent! Keyboard and Mouse pass all the right flags. Update to accelerator code. Fixed recursion in global hooks. Hack-implement GetMouseMovePointsEx due to slack time and boredom, it passes the input tests but does nothing. Pass all the test_TrackMouseEvent!!! test_accelerators and test_menu_messages work too, so far no hangs.
svn path=/trunk/; revision=51283
James Tabor [Fri, 8 Apr 2011 18:48:28 +0000 (18:48 +0000)]
[Win32k]
- Fix crash in msg test_interthread_message test. Noticed it once and not sure how to track it.
svn path=/trunk/; revision=51282
Aleksey Bragin [Fri, 8 Apr 2011 17:49:49 +0000 (17:49 +0000)]
[NTDLL]
- Fix incorrect prototypes and partially implement fast unsafe versions of activation context activation/deactivation, however disable them for now, until the new loader is in place.
- Fix their usage in the new loader code, which by mistake (which got copypasted into three other places) was passing a totally empty activation context to the activate function.
svn path=/trunk/; revision=51281
Timo Kreuzer [Fri, 8 Apr 2011 12:30:33 +0000 (12:30 +0000)]
[NTOSKRNL]
ExInitializePushLock takes a PEX_PUSH_LOCK as parameter, do it the same in the inline version instead of casting to PULONG_PTR everywhere
svn path=/trunk/; revision=51278
Aleksey Bragin [Fri, 8 Apr 2011 09:21:41 +0000 (09:21 +0000)]
[KERNEL32]
- Zero-initialize base address in BasepLoadLibraryAsDatafile. Should fix 2nd stage problems.
- Add a trace debugprint, silented by default.
See issue #6092 for more details.
svn path=/trunk/; revision=51277
Aleksey Bragin [Fri, 8 Apr 2011 08:35:48 +0000 (08:35 +0000)]
[KMTEST]
- Thomas Faber: Reset test results before starting a new FsRtl test.
See issue #6083 for more details.
svn path=/trunk/; revision=51276
Michael Martin [Thu, 7 Apr 2011 23:57:00 +0000 (23:57 +0000)]
[Win32k]
- co_IntSendMessageWithCallBack: Insert the message into the messagequeue before attempting to wake the queue. Probably fixes bug 5580.
- Remove the use of MSQ_SENTNOWAIT that was used to determine if messagequeues needed dereferencing. Instead use the SenderQueue member of the message.
- Do not close the NewMessagesHandle member of the messagequeue in IntDereferenceMessageQueue.
The last reference on a messagequeue could be released by a thread belonging to a process other than the on that created the handle.
Also the creating process could already be long gone. Instead close this handle in MsqDestroyMessageQueue which is in the thread/process that created the handle. Problem noticed by smiley.
- Revert change done in 51254. James you are indeed correct.
Testing shows that the WM_PARENTNOTIFY message is not sent when the program is exiting.
svn path=/trunk/; revision=51275
Johannes Anderwald [Thu, 7 Apr 2011 21:31:21 +0000 (21:31 +0000)]
[SNDVOL32]
- Implement retrieving current volume level and mute state and set the dialog controls on startup
- Remove last line separator from GUI
- Implement updating slider / switch control when another application modifies volume settings
- Implement writing current selected lines settings into registry when the preference dialog is closed
- Implement helper functions which receive / set volume level
- Sndvol32 is now fully functional and has been tested in Windows XP SP3
- TODO: implement support for setting volume balance (left - right slider)
- TODO: Resources have not yet been commited
svn path=/trunk/; revision=51274
Aleksey Bragin [Wed, 6 Apr 2011 21:49:04 +0000 (21:49 +0000)]
[KERNEL32]
- Finish the ldr.c rewrite. Properly implement LoadLibraryExW (which contained some good code pieces added by Alex). Implement BasepLoadLibraryAsDatafile, however it doesn't support redirection yet and a call to load alternate resource module is commented out (it's totally absent in the existing ntdll/ldr API now).
- Mark GetDllLoadPath as deprecated, should be removed when SearchPathW is rewritten (or at least, reviewed). The new function to use is BasepGetDllPath.
svn path=/trunk/; revision=51272
Johannes Anderwald [Wed, 6 Apr 2011 21:05:05 +0000 (21:05 +0000)]
[SNDVOL32]
- Implement loading of resources and parsing the dialog template in memory
- Store the created windows in an array
- Implement destroying of controls when mixer is changed / line selection is altered
- Implement generating layout for each new line
- Implement setting line name
- Resources have not yet been commited
- Sndvol32 is not yet functional
svn path=/trunk/; revision=51271
Aleksey Bragin [Wed, 6 Apr 2011 19:03:20 +0000 (19:03 +0000)]
[KERNEL32]
- Rewrite most of kernel32 module loading APIs (except for LoadLibraryExW, for testing purposes it's gonna be committed in a separate commit). Rewritten parts include:
* Better definition of LOADPARMS32 structure for LoadModule, and rewritten LoadModule which is now a well structured function with proper parameters validation, proper work algorithm and setting proper last error values in failure cases. Optimization of allocating MAX_PATH buffer on stack instead of in the heap is saved from the old version of the function.
* LoadLibraryA, added a path-hack (present at least up to Windows 2003) for twain_32.dll loading (not that important, but still a compatibility issue).
* Make GetProcAddress() use BasepMapModuleHandle for mapping the passed-in handle (including properly handling NULL module handle which was incorrectly handled by the old implementation), and check for a special failure case when LdrGetProcedureAddress returns pointer to the image base address.
svn path=/trunk/; revision=51270