Commit graph

45213 commits

Author SHA1 Message Date
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
Michael Martin 0a6bb0f70d [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
2011-04-07 23:57:00 +00:00
Johannes Anderwald 07de2df4a2 [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
2011-04-07 21:31:21 +00:00
Aleksey Bragin 3983f64027 [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
2011-04-06 21:49:04 +00:00
Johannes Anderwald 446f42d3af [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
2011-04-06 21:05:05 +00:00
Aleksey Bragin 672303db6b [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
2011-04-06 19:03:20 +00:00
Timo Kreuzer 0e072c5063 [RPCRT4]
Fix return type of *ClientCall functions.
Merged from cmake branch

svn path=/trunk/; revision=51269
2011-04-06 18:49:16 +00:00
Jérôme Gardou 8324997bc4 [CMAKE]
RosTests : buildno_header is no longer a valid target

svn path=/trunk/; revision=51267
2011-04-06 13:28:32 +00:00
James Tabor 5cf13573ed - Turn on test_capture_4.
svn path=/trunk/; revision=51266
2011-04-06 12:56:46 +00:00
James Tabor 3890323807 [User32|Win32k]
- Pass all the wine test_capture_1/2/3/4.
- Fix the menu tracking pop up hang issue by looking for deceased windows that pass on while in the start of tracking. This could be a fix for other wine tests.
- ReactOS is not Linux and wine is not enough!

svn path=/trunk/; revision=51265
2011-04-06 12:53:52 +00:00
James Tabor 374e21b4e0 [Win32k]
- The Reak fix to unfocused explorer minimize hang, spotted by R3dDr4g0n <vins8920@hotmail.com>.

svn path=/trunk/; revision=51264
2011-04-06 12:23:54 +00:00
James Tabor f43d2fe8ca [Win32k]
- Fix to unfocused explorer minimize hang, spotted by R3dDr4g0n <vins8920@hotmail.com>.

svn path=/trunk/; revision=51263
2011-04-06 01:31:50 +00:00
Eric Kohl ddb4a8780d [WIDL]
Reapply the switchtype patch.

svn path=/trunk/; revision=51262
2011-04-05 21:37:54 +00:00
Rafal Harabien 26504807cd [USRMGR]
Free buffer instead of freeing pointer to buffer

svn path=/trunk/; revision=51261
2011-04-05 21:24:25 +00:00
Rafal Harabien 4ce4beb1cb [SYSTEMINFO]
Add Italian translation (patch by Vincenzo Cotugno <vins8920 at hotmail dot com>)
Decrease buffer size
Don't print NULL domain/workgroup
Add network adapters detection

svn path=/trunk/; revision=51260
2011-04-05 21:20:42 +00:00
Rafal Harabien be54395eb8 [PSDK]
Add GetAdaptersAddresses declaration
Add forgotten GetComputerNameEx macro

svn path=/trunk/; revision=51259
2011-04-05 21:14:18 +00:00
Michael Martin 6ecaf80fcf [NTOS/MM]
- Update PoolTag used with ExFreePooWithTag to match changes made in 46987 by richard.

svn path=/trunk/; revision=51258
2011-04-05 11:42:38 +00:00
Eric Kohl 35a75304b7 [ADVAPI32/LSASRV]
- Implement LsaLookupNames2 in advapi32.dll.
- Implement LsarLookupNames3 in lsasrv.dll as a mock-up which returns a hard-coded user account (Administrator).

This fixes several wine tests.

svn path=/trunk/; revision=51257
2011-04-04 22:08:45 +00:00
Michael Martin 862d46f96e - Revert 51255 that was committed on accident. The patch is not ready yet.
svn path=/trunk/; revision=51256
2011-04-04 22:08:39 +00:00
Michael Martin 771f834c43 [Win32k]
- co_MsqDispatchOneSentMessage: After calling the windows procedure check if the message was a callback. If so place the message into the calling MessageQueue.  Also check if the current MessageQueue is the calling MessageQueue in which case dont call the Windows procedure but call the callback routine. SendMessageCallback is now properly implemented.
- Remove the use of MSQ_SENTNOWAIT and instead use the SenderQueue and CallBackSenderQueue members to determine if the MessageQueues need to be dereferenced.
- Modify co_MsqSendMessage to accept more parameters so that it can handle Notification, Callback and Internal messages. These changes make this function more complex but removes duplicate code in messages.c and move the handling for all queued messages in one location.
- co_IntSendMessageWithCallBack: If the callback is for the same Message Queue, call it vice queuing it.
Insert the message into the MessageQueue before waking the thread to handle the message. Should fix bug 5580.

svn path=/trunk/; revision=51255
2011-04-04 21:50:24 +00:00
Michael Martin 9990b69447 [Win32k]
- Do not block calling thread when sending WM_PARENTNOTIFY messages. Fixes hang at end of user32 winetest for msg.

svn path=/trunk/; revision=51254
2011-04-04 21:15:07 +00:00
Aleksey Bragin 7fcd953546 [KERNEL32]
- Minor cleanup, better flag names (thanks to ProcessHacker team for the good names and values).
- Return error in failure path of BasepGetModuleHandleExW.
- Optimize GetModuleHandleExA so that it calls the internal routine directly, without going through GetModuleHandleExW first and thus validating parameters second time.

svn path=/trunk/; revision=51253
2011-04-04 19:35:24 +00:00
Johannes Anderwald 15474a66e9 [SNDVOL32]
- Set Control variable to null, which prevents that mixer controls being assigned to another line when the current line does not have any controls. Bug was highlighted when opening the property window. In that case sndvol32 frees the previous setting, so all mixer lines are also getting freed including their controls, which caused a double free in the case the line did not have any controls assigned.

svn path=/trunk/; revision=51252
2011-04-04 14:27:29 +00:00
James Tabor 94b1cd39cd - Fix build.
svn path=/trunk/; revision=51249
2011-04-04 07:22:41 +00:00