Commit graph

45136 commits

Author SHA1 Message Date
Aleksey Bragin 9561880163 [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
2011-04-14 09:57:08 +00:00
Michael Martin 3203ddd6e1 [Win32k]
- Fix implementation of message callbacks,  now callbacks can be called across processes. 
- Fix some comments.

svn path=/trunk/; revision=51332
2011-04-14 01:21:38 +00:00
Matthias Kupfer 1968375672 remove obsolete object handling
svn path=/trunk/; revision=51331
2011-04-13 20:20:16 +00:00
Giannis Adamopoulos 45fc0e0951 [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
2011-04-13 18:25:58 +00:00
Rafal Harabien b69fae78db [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
2011-04-13 08:14:37 +00:00
Michael Martin 35e6c5fe82 [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
2011-04-13 04:48:50 +00:00
Michael Martin fe97558adf [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
2011-04-13 04:43:25 +00:00
Michael Martin b6256418e9 [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
2011-04-13 04:33:14 +00:00
Giannis Adamopoulos 9c9874002e [shell32]
- Properly arrange icons in explorer shell view window. This also fixes navigating in files with keyboard arrows

svn path=/trunk/; revision=51323
2011-04-12 20:59:50 +00:00
Rafal Harabien e58c66359a [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
2011-04-12 18:45:06 +00:00
Rafal Harabien 7db2a95a80 [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
2011-04-12 18:38:38 +00:00
Eric Kohl 0dda24faea [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
2011-04-11 17:52:06 +00:00
Aleksey Bragin 0669ecfaf3 [RAPPS]
- Swedish translation by Jan Blomqvist-Kinander.

svn path=/trunk/; revision=51319
2011-04-11 17:36:44 +00:00
Aleksey Bragin bdf1dd8864 [WIN32CSR]
- Swedish translation by Jan Blomqvist-Kinander.

svn path=/trunk/; revision=51318
2011-04-11 17:03:20 +00:00
Gabriel Ilardi 7281838670 [SNDVOL32]
Italian and Spanish translation updates.

svn path=/trunk/; revision=51317
2011-04-11 12:26:16 +00:00
Gabriel Ilardi e52e2fbef6 [WIN32CSR]
Italian translation of command prompt's window title

svn path=/trunk/; revision=51316
2011-04-11 10:56:45 +00:00
James Tabor e059680fea [Win32k]
- PATCH: Arty's fixes based on CMake branch testing. Just the timer code. See bug 6103.

svn path=/trunk/; revision=51315
2011-04-11 03:24:14 +00:00
Rafal Harabien 52ce60c8d8 [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
2011-04-10 21:24:49 +00:00
Eric Kohl 9f1ea5942e [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
2011-04-10 15:42:55 +00:00
Giannis Adamopoulos c08567e81e [user32_apitest]
- Add some more tests for SetCursorPos

svn path=/trunk/; revision=51312
2011-04-10 15:14:15 +00:00
Olaf Siejka dcd0dff4cc Fix build. The translation patch was outdated.
svn path=/trunk/; revision=51311
2011-04-10 14:55:11 +00:00
Matthias Kupfer 70bef06a00 Radek Liska <radekliska AT gmail DOT com>
- Czech translations for sndrec32 and sndvol32.
- See issue #6098 for details.

svn path=/trunk/; revision=51310
2011-04-10 13:19:01 +00:00
Johannes Anderwald d896f82fa7 [SHELL32]
- Fix control style of property dialogs
- Patch Edijs Kolesnikovics, terminedijs@yahoo.com, irc:Edijus

svn path=/trunk/; revision=51309
2011-04-10 10:44:05 +00:00
Olaf Siejka efe9675fbd [WIN32CSR]
Polish translation of Command prompt window title

svn path=/trunk/; revision=51308
2011-04-10 08:49:31 +00:00
Amine Khaldi 588882aa00 [DOSKEY/SNDREC32]
- Activate polish translations. Patch by Adam Stachowicz.

svn path=/trunk/; revision=51307
2011-04-09 21:02:25 +00:00
James Tabor e5989efb7f - Fix build
svn path=/trunk/; revision=51306
2011-04-09 20:41:04 +00:00
James Tabor 86153cc8a8 [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
2011-04-09 20:32:52 +00:00
Giannis Adamopoulos 36147ed99d add some tests for GetKeyState and SetCursorPos
svn path=/trunk/; revision=51304
2011-04-09 19:12:49 +00:00
Johannes Anderwald e6b7c8a1e1 [EXPLORER_NEW]
- Use ReactOS registry key for ReactOS features
- Patch by Edijus Kolesnikovičs, terminedijs@yahoo.com

svn path=/trunk/; revision=51300
2011-04-09 16:34:15 +00:00
Johannes Anderwald 057f632693 [SNDVOL32]
- Remove 'E'

svn path=/trunk/; revision=51298
2011-04-09 15:28:46 +00:00
Daniel Reimer bec28e056e Partial revert, as explained on ML. Sry...
svn path=/trunk/; revision=51297
2011-04-09 15:21:22 +00:00
Daniel Reimer dc37bd8b99 - 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
2011-04-09 14:46:37 +00:00
Giannis Adamopoulos 893a0bfccb [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
2011-04-09 12:44:45 +00:00
Kamil Hornicek 4041e16e6f 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
2011-04-09 12:18:34 +00:00
Matthias Kupfer f02f58236a Command Prompt with translated window title
- German translation added
- other languages need to be translated (.rc files prepared)

svn path=/trunk/; revision=51293
2011-04-09 12:01:36 +00:00
Johannes Anderwald 39dac2cce0 [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
2011-04-09 10:36:25 +00:00
Michael Martin 6301753d1d [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
2011-04-09 07:19:31 +00:00
James Tabor f78f9456fb [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
2011-04-09 07:08:17 +00:00
Sylvain Petreolle 02a6a17e28 [SNDVOL32]
Redraw window with correct size.
Window height was growing after changing preferences.

svn path=/trunk/; revision=51289
2011-04-08 23:18:20 +00:00
Sylvain Petreolle 6d9847ecb3 [SNDVOL32]
Update french translation.

svn path=/trunk/; revision=51288
2011-04-08 22:40:12 +00:00
Johannes Anderwald 3fe212aea3 [SNDVOL32]
- Fix mute switch control style

svn path=/trunk/; revision=51287
2011-04-08 22:17:18 +00:00
Johannes Anderwald a54b06c8cd [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
2011-04-08 22:04:41 +00:00
Olaf Siejka fcdea4c19d [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
2011-04-08 21:57:32 +00:00
Johannes Anderwald d234fd5fc8 [SNDVOL32]
- Add english resources for sndvol32
- Enjoy ;)

svn path=/trunk/; revision=51284
2011-04-08 21:09:07 +00:00
James Tabor 5399e1d53e [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
2011-04-08 19:29:15 +00:00
James Tabor efe3b7a684 [Win32k]
- Fix crash in msg test_interthread_message test. Noticed it once and not sure how to track it.

svn path=/trunk/; revision=51282
2011-04-08 18:48:28 +00:00
Aleksey Bragin a6586c33b1 [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
2011-04-08 17:49:49 +00:00
Timo Kreuzer b63bf768a6 [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
2011-04-08 12:30:33 +00:00
Aleksey Bragin a3690ead55 [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
2011-04-08 09:21:41 +00:00
Aleksey Bragin ef01012506 [KMTEST]
- Thomas Faber: Reset test results before starting a new FsRtl test.
See issue #6083 for more details.

svn path=/trunk/; revision=51276
2011-04-08 08:35:48 +00:00