Commit graph

46322 commits

Author SHA1 Message Date
Aleksey Bragin 3d60cef193 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
2011-04-25 16:08:00 +00:00
James Tabor f34a5b0b2d [Win32k]
- Need this file too.

svn path=/trunk/; revision=51451
2011-04-25 15:31:49 +00:00
James Tabor 6c4a25f386 [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
2011-04-25 15:18:39 +00:00
Eric Kohl 30fde9e816 [PSDK]
Add some missing device class GUIDs.

svn path=/trunk/; revision=51449
2011-04-25 14:01:54 +00:00
Olaf Siejka 6b21aeb9a3 - Slovakian translation updates for rapps, shell32 and win32csr.
[CALC] 
- Conversion fix for Farenheit.

Patches by Mario Kacmar

svn path=/trunk/; revision=51448
2011-04-25 11:32:28 +00:00
Amine Khaldi 2a9813d015 [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
2011-04-24 17:15:23 +00:00
Aleksey Bragin 0e5118d97b [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
2011-04-24 11:24:37 +00:00
Olaf Siejka 28b188a8e9 - 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
2011-04-24 10:05:12 +00:00
Michael Martin 7e9f462dbd [ntoskrnl]
- Fix a type from rev 19847. Only if the KernelMode List is not empty are there pending APCs.

svn path=/trunk/; revision=51442
2011-04-24 06:48:50 +00:00
Eric Kohl 39eeae29f8 [SERVICES]
Disable more debug messages.

svn path=/trunk/; revision=51439
2011-04-23 14:40:30 +00:00
Eric Kohl 5e449dfe39 [NPFS]
Silence some debug messages.

svn path=/trunk/; revision=51438
2011-04-23 11:26:16 +00:00
Eric Kohl 2ec4368714 [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
2011-04-23 10:52:01 +00:00
Gregor Schneider 87a668d95f [shell32] Split declarations and operations, in case any pure C compiler cares
svn path=/trunk/; revision=51436
2011-04-22 22:58:09 +00:00
Gregor Schneider 2fda6e7d2a [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
2011-04-22 22:53:31 +00:00
Gregor Schneider 6a89b41bff [ipconfig] Respect the size parameter in the LoadStringAndOem helper function, fixes "ipconfig /?"
See issue #6146 for more details.

svn path=/trunk/; revision=51434
2011-04-22 21:29:30 +00:00
Eric Kohl 63bd3c88e9 [SERVICES]
RChangeServiceConfig2W: Use the error code of a call to RegSetValueExW.

svn path=/trunk/; revision=51429
2011-04-22 15:18:31 +00:00
Amine Khaldi d05dbec4a3 [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
2011-04-22 14:23:49 +00:00
Eric Kohl d58660ce71 [SERVICES]
Lock the service database in order to protect it from concurrent access.

svn path=/trunk/; revision=51427
2011-04-22 14:09:21 +00:00
Amine Khaldi 295e7d388c [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
2011-04-22 14:07:22 +00:00
Gabriel Ilardi b0d9033638 [shimgvw]
Add Italian translation.
[mplay32]
Fix Italian translation for play.

svn path=/trunk/; revision=51424
2011-04-22 12:30:50 +00:00
Rafal Harabien d8e1c6609b [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
2011-04-22 11:51:08 +00:00
Gregor Schneider 0314742b01 [kernel32] Radek Liska: sync czech NLS resources to Wine
See issue #6122 for more details.

svn path=/trunk/; revision=51419
2011-04-21 21:59:17 +00:00
Timo Kreuzer 3b11a6bdbc [CRT]
Fix a typo in a comment

svn path=/trunk/; revision=51418
2011-04-21 21:49:46 +00:00
Timo Kreuzer 35a1d66de7 [WIN32K/GDI32]
Add official ENTRY structure definition

svn path=/trunk/; revision=51417
2011-04-21 21:48:24 +00:00
Gregor Schneider 7037613d3d [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
2011-04-21 21:25:30 +00:00
Gregor Schneider f3aa24aa4f Rename paint to mspaint to maintain script compatibility
See issue #6071 for more details.

svn path=/trunk/; revision=51415
2011-04-21 21:05:47 +00:00
James Tabor a6294542d0 - Add Unicows to packing list.
svn path=/trunk/; revision=51414
2011-04-21 16:43:52 +00:00
Rafal Harabien a861f7c282 [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
2011-04-20 21:31:41 +00:00
Timo Kreuzer be4bb69ef8 [WIN32K]
Don't try to lock a dcs clip region if its NULL

svn path=/trunk/; revision=51411
2011-04-20 21:10:13 +00:00
Rafal Harabien 1e27c057e4 [FLOPPY]
Formatting only, no code changes.

svn path=/trunk/; revision=51410
2011-04-20 18:13:27 +00:00
Rafal Harabien 057f42a554 [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
2011-04-20 17:44:12 +00:00
James Tabor a75c77dfa7 [Unicows]
- Import wine unicows for Adobe Reader 7.1.0. See bug 5560.

svn path=/trunk/; revision=51408
2011-04-20 04:55:08 +00:00
James Tabor 81a19f5ad5 [Win32k]
- This should fix the dcattr leaked when deleting a DC, See bug 6119.

svn path=/trunk/; revision=51405
2011-04-19 18:18:19 +00:00
James Tabor b307a60502 [Win32k]
- Replace patch point for forced DC removal. See bug 6119.

svn path=/trunk/; revision=51403
2011-04-19 17:18:05 +00:00
Gabriel Ilardi dc2b96f14f [winetests]
Add new lines to test results for kernel32/dosdev.c

svn path=/trunk/; revision=51400
2011-04-19 09:15:05 +00:00
Gabriel Ilardi e3c5f3cdd8 [win32csr/file.c]
Add missing new lines to some DPRINT1

svn path=/trunk/; revision=51399
2011-04-19 07:59:23 +00:00
Amine Khaldi 27bd630de0 * Fix build.
svn path=/trunk/; revision=51395
2011-04-18 22:17:25 +00:00
Aleksey Bragin d4a462fbad [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
2011-04-18 21:56:44 +00:00
Aleksey Bragin a63e424516 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
2011-04-18 21:48:19 +00:00
Timo Kreuzer 46662954bd [WIN32K]
- Use shared locks for surfaces and palettes

svn path=/trunk/; revision=51392
2011-04-18 19:09:05 +00:00
Timo Kreuzer 186ed6e13d [WIN32K]
Set ulShareCount of static palettes to 1, so they won't get dereferenced to 0

svn path=/trunk/; revision=51391
2011-04-18 14:15:18 +00:00
Giannis Adamopoulos f53d1fd407 [win32k]
- GetKeyboardState and SetKeyboardState should use the thread key state and not the global key state

svn path=/trunk/; revision=51389
2011-04-18 09:13:31 +00:00
Amine Khaldi e564c595f2 [CMAKE]
* Addendum to the previous commit.

svn path=/trunk/; revision=51382
2011-04-17 16:55:24 +00:00
Eric Kohl 1b2a6e5f37 [ADVAPI32]
Implement EnumServiceGroupW.

svn path=/trunk/; revision=51380
2011-04-17 14:43:32 +00:00
Giannis Adamopoulos 3026082bde [win32k]
- Improve IS_KBD_MESSAGE macro. Should fix some more tests

svn path=/trunk/; revision=51379
2011-04-17 12:33:29 +00:00
Eric Kohl 4321ac7baa [EVENTVWR]
- Change string resource id prefix from IDC to IDS.
- Add missing string resources.

svn path=/trunk/; revision=51378
2011-04-17 11:58:26 +00:00
Giannis Adamopoulos cde9d99bc3 [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
2011-04-17 10:38:06 +00:00
Giannis Adamopoulos c280a2b6ae [user32_apitest]
- Some more tests for GetKeyState

svn path=/trunk/; revision=51376
2011-04-17 10:35:09 +00:00
Olaf Siejka 9c44037679 [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
2011-04-17 10:20:22 +00:00
Matthias Kupfer 7ce75cdf13 fix accidentally set property svn:executable
svn path=/trunk/; revision=51374
2011-04-17 09:50:07 +00:00