Commit graph

44973 commits

Author SHA1 Message Date
Gabriel Ilardi 855227336f [SHELL32]
Italian & Spanish fixes + RunFileDlg translations

svn path=/trunk/; revision=51133
2011-03-24 08:34:49 +00:00
Amine Khaldi 70a12312e3 [BUILD]
- Remove redundant -fms-extensions as we set it globally already.

svn path=/trunk/; revision=51132
2011-03-23 23:17:45 +00:00
Rafal Harabien 58789369ad Revert previous commit
Sorry... I'll test first next time.

svn path=/trunk/; revision=51131
2011-03-23 20:48:20 +00:00
Rafal Harabien a3c683546c [DDK]
Add most of RtlString***W functions based on ANSI versions.

svn path=/trunk/; revision=51130
2011-03-23 20:36:25 +00:00
Rafal Harabien 4732a3af3d [WIN32K]
Remove a useless if in cliprgn.c
Patch by Thomas Faber <thfabba at gmx dot de>
See issue #6015 for more details.

svn path=/trunk/; revision=51129
2011-03-23 17:11:40 +00:00
Rafal Harabien cd1a61c18f [USER32]
Gray close button if SC_CLOSE is disabled is sysmenu or class has CS_NOCLOSE flag
See issue #5272 for more details.

svn path=/trunk/; revision=51128
2011-03-23 16:51:26 +00:00
Rafal Harabien fcd25281d9 [SHELL32]
Sync RunFileDlg to wine. It was crashing for one char input.
Add "All files (*.*)" filter to RunDlg and OpenWith dialogs. 
Improved polish translation.
Translators: please localize rest...

svn path=/trunk/; revision=51127
2011-03-23 16:22:38 +00:00
Rafal Harabien cd22887a97 [NTOSKRNL]
Revert r51108. ProbeForRead doesn't check if memory is readable.
Improve comments and replace trick raising exception with call to ExRaiseAccessViolation.

[WIN32K]
Remove ASSERTs in IntSetSysColors: this function is only called in NtUserSetSysColors in SEH block. It shouldn't crash for NULL pointers.

svn path=/trunk/; revision=51126
2011-03-23 15:49:44 +00:00
Rafal Harabien 2165af8818 [WIN32K]
Check for failed allocations when creating window
See issue #6021 for more details.

svn path=/trunk/; revision=51125
2011-03-23 15:33:13 +00:00
Gabriel Ilardi aeddc6ac0c Jeisson Toscano: Some Spanish translation updates plus some corrections added by elhoir and me. Bugs: 5891, 5892 and 5897.
See issue #5891 for more details.

svn path=/trunk/; revision=51124
2011-03-23 14:39:39 +00:00
Aleksey Bragin 17d6f165a7 [NTDLL/LDR]
- Fix a few bugs (wrong variable usage, wrong variable initialization) which led to incorrect snapping of import address table.
- Wrap LdrpSnapThunk() invocations into SEH.

svn path=/trunk/; revision=51123
2011-03-23 12:25:53 +00:00
Gabriel Ilardi 906bcad66a Paolo Devoti: Some Italian fixes.
See issue #5847 for more details.

svn path=/trunk/; revision=51122
2011-03-23 11:56:35 +00:00
Gabriel Ilardi d312252d26 [NTOS/INBV]
- Update boot screen copyright year.

svn path=/trunk/; revision=51121
2011-03-23 11:44:35 +00:00
Aleksey Bragin cc6c8e90e2 [NTOS/KE]
- Remove VirtualBox SYSENTER-hack added in r50991.
- Bring back NT-compatible SYSENTER support detection changed in r50991.

svn path=/trunk/; revision=51120
2011-03-22 16:35:51 +00:00
Aleksey Bragin 4fb00286d5 [RTL/HEAP]
- Thomas Faber: Use macro instead of manually removing item from the list.
See issue #6016 for more details.

svn path=/trunk/; revision=51119
2011-03-22 16:27:41 +00:00
Aleksey Bragin 64e9e4c196 [NTDLL]
- Implement LdrpInitializeProcess(). Currently unused.
- Add a whole bunch of supportive PE related code. Used only by the new code, which is not enabled yet in trunk.
- Implement LdrpCheckForLoadedDll().
- Move on to usage of various global vars defined in the new code, rename some of them to match.
- Almost no changes for the codepath in trunk.

svn path=/trunk/; revision=51117
2011-03-22 12:41:52 +00:00
Giannis Adamopoulos 4a05e4ef29 [win32k]
- Simplify BuildWindowStationNameList a bit

svn path=/trunk/; revision=51116
2011-03-22 09:59:36 +00:00
Giannis Adamopoulos 8cf95d1319 [ntoskrnl]
- Implement calling OkayToCloseProcedure callouts to win32k for desktop and window station objects
- Fix a bug that caused ObpCloseHandle to return success even when OkayToCloseProcedure failed

[win32k]
- Rewrite SetProcessWindowStation to actually set the current window station and close the previous one
- Implement OkayToCloseProcedure callouts from the kernel to prevent closing the current desktop or window station

svn path=/trunk/; revision=51115
2011-03-22 09:19:26 +00:00
Pierre Schweitzer eb3ddf59b3 [NTDLL]
Fixed build

svn path=/trunk/; revision=51114
2011-03-22 06:53:56 +00:00
Aleksey Bragin 1df2f8464a [NTDLL/LDR]
- Implement misc utility functions needed for monstrous LdrpInitializeProcess(). Currently unused.

svn path=/trunk/; revision=51113
2011-03-21 22:58:47 +00:00
Rafal Harabien 46afc9aa8c Fix for r51111. Fixes build...
svn path=/trunk/; revision=51112
2011-03-21 18:30:17 +00:00
Rafal Harabien 08632f7128 [GDI32]
GetTextExtentExPointW doesn't fail if nMaxExtent is negative (only ANSI version does)
Fixes gdi32:GetTextExtentExPoint apitest

svn path=/trunk/; revision=51111
2011-03-21 17:58:08 +00:00
Rafal Harabien f561f03d31 Fix gdi32:SetSysColors apitest
svn path=/trunk/; revision=51110
2011-03-21 14:52:08 +00:00
Rafal Harabien 347b8aee6f Make sure rectangle is not inverted in Rectangle function
Fixes gdi32:Rectangle apitest

svn path=/trunk/; revision=51109
2011-03-21 14:47:06 +00:00
Rafal Harabien ec3c8d2441 Fix ProbeForRead. It wasn't ever checking if memory can be accessed. Thanks to big-endian it wasn't breaking MmUserProbeAddress as well. Code is now nearly the same as in ProbeForWrite. It shouldn't break anything. If it does, it's not bug in this code. :)
svn path=/trunk/; revision=51108
2011-03-21 14:43:56 +00:00
Rafal Harabien 96de2d1363 Improve GetClipRgn and SetSysColors apitests
svn path=/trunk/; revision=51107
2011-03-21 14:36:32 +00:00
Rafal Harabien 6a7c60945f Set last error to ERROR_INVALID_PARAMETER in NtGdiGetRandomRgn if invalid hdc is given
Fixes gdi32:GetClipRgn apitest

svn path=/trunk/; revision=51106
2011-03-21 14:32:46 +00:00
Rafal Harabien 32b6884390 Don't assume WM_DESTROY is last message - listview sends notification after it. Confirmed in Windows 7.
See issue #6026 for more details.

svn path=/trunk/; revision=51105
2011-03-21 14:21:16 +00:00
Rafal Harabien 8fb7057c46 Set last error to ERROR_PROC_NOT_FOUND in case of NULL module in GetProcAddress
Check for error when freeing datafile
Fixes 2 winetests

svn path=/trunk/; revision=51104
2011-03-21 14:16:01 +00:00
Rafal Harabien 073c778dcb Don't destroy ImageList used by ListView if control was created without LVS_SHAREIMAGELISTS flag
Fixes crashes when closing RegEdit, RApps and hardware tab in mouse settings.

svn path=/trunk/; revision=51103
2011-03-21 14:07:29 +00:00
James Tabor 01ecf02e26 [Win32k]
- Setup RectInRegion for internal use.

svn path=/trunk/; revision=51102
2011-03-21 02:20:24 +00:00
Giannis Adamopoulos 508ce4d9f8 [win32k]
- Fix disconnecting from a desktop when IntSetThreadDesktop gets NULL parameter

svn path=/trunk/; revision=51101
2011-03-20 14:28:12 +00:00
James Tabor 5177b0a967 [User32_ApiTests]
- Patch by Thomas Faber: Tests for new DeferWindowPos implementation. See bug 6025.

svn path=/trunk/; revision=51100
2011-03-20 12:59:07 +00:00
James Tabor 66f5809036 - Fix a miss var for testing.
svn path=/trunk/; revision=51099
2011-03-20 11:29:51 +00:00
Olaf Siejka 099a888ea2 [CACLS]
- Danish translation by Wilhelm Wiens

[RAPPS]
- Polish translations of SumatraPDF entry by Adam Stachowicz

[SETUP]
- Polish translation of 'VBR only' in the reactos.exe

svn path=/trunk/; revision=51098
2011-03-20 11:25:34 +00:00
Pierre Schweitzer 75629abccd [MSI]
Fix build according to Christoph recommandations

svn path=/trunk/; revision=51097
2011-03-20 10:10:52 +00:00
Christoph von Wittich 7dfa68869c [msi]
-partial sync to wine 1.3.16

svn path=/trunk/; revision=51096
2011-03-20 08:47:41 +00:00
James Tabor 06afcd3dd6 [User32]
- Finishing with setting window class types from the window proc. Next step will be checking it in the User32 message exchange instead of using the class structure. This was recognized with the MDI tests, this too could fix the combo listbox issue.
- Minor static test fixes and miscellaneous notes.

svn path=/trunk/; revision=51095
2011-03-20 01:29:39 +00:00
James Tabor 1b6ac48af4 [Win32k]
- Move the appropriate code from window.c to winpos.c, decreasing the size in window.c. Adding proper checks for maximums and desktop/message windows.
- Started MinMaximize, experimental, based on an idea and boredom, needing a good test case. Also away of troubleshooting our window positioning with minimize and maximizing windows.

svn path=/trunk/; revision=51094
2011-03-20 01:09:15 +00:00
James Tabor f106ac2d2b [Win32k]
- Fix sign for BeginDeferWindowPos(-1) test, see bug 6025.


svn path=/trunk/; revision=51093
2011-03-20 00:21:45 +00:00
Eric Kohl 80b43e7b13 [SERVICES]
RQueryServiceConfig2A/W must return ERROR_SUCCESS if the Description value of a service does not exist. This fixes a winetest failure.

svn path=/trunk/; revision=51092
2011-03-19 19:14:53 +00:00
Olaf Siejka fb3cc815f7 [DESK.CPL]
- Activate "Show window contents while dragging" button for all languages present. Spotted by Piotr_hh
See issue #6002 for more details.

svn path=/trunk/; revision=51091
2011-03-19 14:11:37 +00:00
Pierre Schweitzer 5f2514cd75 [HAL]
Remove HAL entry point (HalInitSystem) from generic lib, and move it to generic libs that handle different build flags.
This fixes HAL MP entry point, for example

svn path=/trunk/; revision=51090
2011-03-19 13:59:23 +00:00
James Tabor 115d07d686 [Win32k]
- Implement the set of DeferWindowPos functions. Regedit (one of many application) uses it and allocated three when it should be four. This was a good test to verify the batch list growing routine. Instead of drawing per DeferWindowPos call, now a real list is created and run down as a batch.
- ReactOS should handle this the correct way and a good test case is located here: http://bugs.winehq.org/show_bug.cgi?id=23187
- The code is from wine and modified for the use in ReactOS.

svn path=/trunk/; revision=51089
2011-03-18 22:41:22 +00:00
Aleksey Bragin f5912e7155 [NTDLL]
- Rewrite the very first initialization routine: LdrpInit().
- Rename LdrpInit2() to LdrpInitializeProcess(), and LdrpAttachThread() to LdrpInitializeThread(). Still old code there.

svn path=/trunk/; revision=51088
2011-03-18 20:23:18 +00:00
Johannes Anderwald 39b14c177e [Y]
- Fix argument checking
- Close correct handle
- Patch by Kuts Alexey
- bug 6004

svn path=/trunk/; revision=51087
2011-03-18 16:28:21 +00:00
Giannis Adamopoulos b75783bd61 [win32k]
- SetThreadDesktop: Actually set hdesk in PTHREADINFO
Now GetThreadDesktop doesn't return 0

svn path=/trunk/; revision=51086
2011-03-17 20:32:24 +00:00
Aleksey Bragin 1ba1132e21 [NTDLL/LDR]
- Use LdrpRunInitializeRoutines() instead of the old LdrpAttachThread(). This adds calls to unimplemented context functions, but since they were not called at all by the old code it shouldn't change the behaviour significantly. Besides of that, it's start of significant changes in the "mainstream" codepaths, so regressions might occur.

svn path=/trunk/; revision=51085
2011-03-17 17:47:42 +00:00
Aleksey Bragin 3b6432c7ed [NTDLL]
- Implement fetching address of a security cookie in an image. Still not used even if it's present there.
- Silence some debug prints.

svn path=/trunk/; revision=51084
2011-03-17 14:25:59 +00:00
Aleksey Bragin 6fc1e4e122 [RTL]
- Limit unimplemented warnings about RtlActivateActivationContextUnsafeFast calls for now so that they don't flood the log too much.

svn path=/trunk/; revision=51083
2011-03-17 14:24:34 +00:00