Timo Kreuzer [Mon, 28 Mar 2011 11:27:08 +0000 (11:27 +0000)]
[CMAKE]
move the EXTERN _KiSystemService:PROC from syscalls.inc to zw.S. Fixes build of ntdll with MSVC
svn path=/branches/cmake-bringup/; revision=51180
Amine Khaldi [Sun, 27 Mar 2011 17:44:53 +0000 (17:44 +0000)]
[CMAKE]
- Alter base addresses to prevent kernel32 relocation.
- Fixes 2nd stage hang.
svn path=/branches/cmake-bringup/; revision=51174
Amine Khaldi [Sat, 26 Mar 2011 23:14:25 +0000 (23:14 +0000)]
[CMAKE]
- Sync with trunk r51165.
svn path=/branches/cmake-bringup/; revision=51166
Rafal Harabien [Sat, 26 Mar 2011 21:41:49 +0000 (21:41 +0000)]
Fix duplicated startup version string
Patch by Thomas Faber <thfabba at gmx dot de>
See issue #6015 for more details.
svn path=/trunk/; revision=51165
Eric Kohl [Sat, 26 Mar 2011 20:07:09 +0000 (20:07 +0000)]
Disable some misleading service tests because a test cannot determine wheter or not the number of active or inactive services is correct.
svn path=/trunk/; revision=51164
Rafal Harabien [Sat, 26 Mar 2011 17:49:55 +0000 (17:49 +0000)]
[VIDEOPRT]
Add missing check
Don't assume UNICODE_STRING is NULL-terminated
svn path=/trunk/; revision=51163
Amine Khaldi [Sat, 26 Mar 2011 16:56:24 +0000 (16:56 +0000)]
[CMAKE]
- Merge the win32k change from r51126.
svn path=/branches/cmake-bringup/; revision=51162
Rafal Harabien [Sat, 26 Mar 2011 15:24:05 +0000 (15:24 +0000)]
[GDI32]
Fix gdi32:CreatePen apitest
svn path=/trunk/; revision=51161
Rafal Harabien [Sat, 26 Mar 2011 15:23:10 +0000 (15:23 +0000)]
[GDI32_APITEST]
Improve CreatePen and GetCurrentObject tests
svn path=/trunk/; revision=51160
Rafal Harabien [Sat, 26 Mar 2011 15:12:23 +0000 (15:12 +0000)]
[NDIS]
Correct Length value in case string is truncated
svn path=/trunk/; revision=51159
Amine Khaldi [Sat, 26 Mar 2011 14:40:09 +0000 (14:40 +0000)]
[CMAKE]
- Fix normaliz exports.
svn path=/branches/cmake-bringup/; revision=51158
Timo Kreuzer [Sat, 26 Mar 2011 13:33:46 +0000 (13:33 +0000)]
[CMAKE]
Fix build
svn path=/branches/cmake-bringup/; revision=51157
Amine Khaldi [Sat, 26 Mar 2011 13:31:09 +0000 (13:31 +0000)]
[CMAKE]
- Fix resource compilation with windres for 2.8.4
svn path=/branches/cmake-bringup/; revision=51156
Timo Kreuzer [Sat, 26 Mar 2011 13:30:16 +0000 (13:30 +0000)]
[CMAKE]
Convert normaliz to spec
svn path=/branches/cmake-bringup/; revision=51155
Amine Khaldi [Sat, 26 Mar 2011 13:00:21 +0000 (13:00 +0000)]
[CMAKE]
- Sync with trunk r51050.
svn path=/branches/cmake-bringup/; revision=51154
Jérôme Gardou [Sat, 26 Mar 2011 12:36:15 +0000 (12:36 +0000)]
[CMAKE]
- fix cmake version check
svn path=/branches/cmake-bringup/; revision=51153
Jérôme Gardou [Sat, 26 Mar 2011 12:31:05 +0000 (12:31 +0000)]
[CMAKE]
- wrap cmake 2.8.4 (which is > 2.8.2, ah ah) policy into right checks
- put it in the right place
svn path=/branches/cmake-bringup/; revision=51152
Timo Kreuzer [Sat, 26 Mar 2011 11:43:22 +0000 (11:43 +0000)]
[CMAKE]
define isinf to !_finite to fix MSVC build
svn path=/branches/cmake-bringup/; revision=51151
Timo Kreuzer [Sat, 26 Mar 2011 11:37:13 +0000 (11:37 +0000)]
[CMAKE]
Fix wined3d dll filename for imports
svn path=/branches/cmake-bringup/; revision=51150
Jérôme Gardou [Sat, 26 Mar 2011 11:11:46 +0000 (11:11 +0000)]
[CMAKE]
- cmake 2.8.4 comes with a new policy, set the needed behaviour.
svn path=/branches/cmake-bringup/; revision=51149
James Tabor [Sat, 26 Mar 2011 05:31:59 +0000 (05:31 +0000)]
[User32]
- Cleanup edit and add back missing break in combo.
svn path=/trunk/; revision=51148
James Tabor [Sat, 26 Mar 2011 02:10:04 +0000 (02:10 +0000)]
[GDI32]
- Patch by Thomas Faber: GetTextExtentPoint32 must not assume null termination of lpString.
svn path=/trunk/; revision=51147
Timo Kreuzer [Sat, 26 Mar 2011 01:20:11 +0000 (01:20 +0000)]
[USER32]
Improve formatting
svn path=/trunk/; revision=51146
James Tabor [Sat, 26 Mar 2011 00:43:56 +0000 (00:43 +0000)]
[Csrss|Win32k]
- Enable the desktop class and set the ReactOS variant of csrss back to local desktop class. Now all class tests pass, see bug 4778.
svn path=/trunk/; revision=51145
Rafal Harabien [Fri, 25 Mar 2011 23:09:06 +0000 (23:09 +0000)]
[WIN32K]
wcsncpy -> RtlStringCbCopyW (part 4/x)
Avoid unneeded allocation
svn path=/trunk/; revision=51144
Rafal Harabien [Fri, 25 Mar 2011 22:57:46 +0000 (22:57 +0000)]
[WIN32K]
wcsncpy -> safe api (part 3/x)
svn path=/trunk/; revision=51143
Rafal Harabien [Fri, 25 Mar 2011 22:49:30 +0000 (22:49 +0000)]
[WIN32K]
Fix GDITAG_LDE/TAG_LDE mess
svn path=/trunk/; revision=51142
Rafal Harabien [Fri, 25 Mar 2011 22:45:59 +0000 (22:45 +0000)]
[WIN32K]
Forgotten in r51139...
svn path=/trunk/; revision=51141
Rafal Harabien [Fri, 25 Mar 2011 22:36:37 +0000 (22:36 +0000)]
[WIN32K]
Change wcsncpy to safe functions (part 2/x)
svn path=/trunk/; revision=51140
Rafal Harabien [Fri, 25 Mar 2011 22:34:53 +0000 (22:34 +0000)]
[WIN32K]
Make sure strings returned by internal function RegQueryValue are NULL terminated
svn path=/trunk/; revision=51139
Rafal Harabien [Fri, 25 Mar 2011 22:28:15 +0000 (22:28 +0000)]
[NTOSKRNL]
Change strncpy calls to RtlStringSbCopyA (PART 1/x)
Fix bug in MmLoadSystemImage which caused FileName parameter to be freed
svn path=/trunk/; revision=51138
Rafal Harabien [Fri, 25 Mar 2011 21:58:39 +0000 (21:58 +0000)]
[USER32]
Fix bug causing no NULL termination of strings after conversion in EnumDisplayDevicesA. Fixes one usr32:monitor winetest
svn path=/trunk/; revision=51137
Rafal Harabien [Fri, 25 Mar 2011 21:49:03 +0000 (21:49 +0000)]
Forgotten in r51135...
svn path=/trunk/; revision=51136
Rafal Harabien [Fri, 25 Mar 2011 21:42:48 +0000 (21:42 +0000)]
[PSDK]
Import strsafe.h from mingw-w64. It's more complete compared to our headers
[DDK]
Import ntstrsafe.h from mingw-w64 (converted from strsafe.h). It's more complete compared to our headers
[NTOSKRNL]
Use sizeof instead of magic numbers
Let's use strsafe functions now instead of strncpy/wcsncpy, which doesn't always NULL terminate :)
svn path=/trunk/; revision=51135
Gabriel Ilardi [Thu, 24 Mar 2011 08:34:49 +0000 (08:34 +0000)]
[SHELL32]
Italian & Spanish fixes + RunFileDlg translations
svn path=/trunk/; revision=51133
Amine Khaldi [Wed, 23 Mar 2011 23:17:45 +0000 (23:17 +0000)]
[BUILD]
- Remove redundant -fms-extensions as we set it globally already.
svn path=/trunk/; revision=51132
Rafal Harabien [Wed, 23 Mar 2011 20:48:20 +0000 (20:48 +0000)]
Revert previous commit
Sorry... I'll test first next time.
svn path=/trunk/; revision=51131
Rafal Harabien [Wed, 23 Mar 2011 20:36:25 +0000 (20:36 +0000)]
[DDK]
Add most of RtlString***W functions based on ANSI versions.
svn path=/trunk/; revision=51130
Rafal Harabien [Wed, 23 Mar 2011 17:11:40 +0000 (17:11 +0000)]
[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
Rafal Harabien [Wed, 23 Mar 2011 16:51:26 +0000 (16:51 +0000)]
[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
Rafal Harabien [Wed, 23 Mar 2011 16:22:38 +0000 (16:22 +0000)]
[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
Rafal Harabien [Wed, 23 Mar 2011 15:49:44 +0000 (15:49 +0000)]
[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
Rafal Harabien [Wed, 23 Mar 2011 15:33:13 +0000 (15:33 +0000)]
[WIN32K]
Check for failed allocations when creating window
See issue #6021 for more details.
svn path=/trunk/; revision=51125
Gabriel Ilardi [Wed, 23 Mar 2011 14:39:39 +0000 (14:39 +0000)]
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
Aleksey Bragin [Wed, 23 Mar 2011 12:25:53 +0000 (12:25 +0000)]
[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
Gabriel Ilardi [Wed, 23 Mar 2011 11:56:35 +0000 (11:56 +0000)]
Paolo Devoti: Some Italian fixes.
See issue #5847 for more details.
svn path=/trunk/; revision=51122
Gabriel Ilardi [Wed, 23 Mar 2011 11:44:35 +0000 (11:44 +0000)]
[NTOS/INBV]
- Update boot screen copyright year.
svn path=/trunk/; revision=51121
Aleksey Bragin [Tue, 22 Mar 2011 16:35:51 +0000 (16:35 +0000)]
[NTOS/KE]
- Remove VirtualBox SYSENTER-hack added in r50991.
- Bring back NT-compatible SYSENTER support detection changed in r50991.
svn path=/trunk/; revision=51120
Aleksey Bragin [Tue, 22 Mar 2011 16:27:41 +0000 (16:27 +0000)]
[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
Aleksey Bragin [Tue, 22 Mar 2011 12:41:52 +0000 (12:41 +0000)]
[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
Giannis Adamopoulos [Tue, 22 Mar 2011 09:59:36 +0000 (09:59 +0000)]
[win32k]
- Simplify BuildWindowStationNameList a bit
svn path=/trunk/; revision=51116
Giannis Adamopoulos [Tue, 22 Mar 2011 09:19:26 +0000 (09:19 +0000)]
[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
Pierre Schweitzer [Tue, 22 Mar 2011 06:53:56 +0000 (06:53 +0000)]
[NTDLL]
Fixed build
svn path=/trunk/; revision=51114
Aleksey Bragin [Mon, 21 Mar 2011 22:58:47 +0000 (22:58 +0000)]
[NTDLL/LDR]
- Implement misc utility functions needed for monstrous LdrpInitializeProcess(). Currently unused.
svn path=/trunk/; revision=51113
Rafal Harabien [Mon, 21 Mar 2011 18:30:17 +0000 (18:30 +0000)]
Fix for r51111. Fixes build...
svn path=/trunk/; revision=51112
Rafal Harabien [Mon, 21 Mar 2011 17:58:08 +0000 (17:58 +0000)]
[GDI32]
GetTextExtentExPointW doesn't fail if nMaxExtent is negative (only ANSI version does)
Fixes gdi32:GetTextExtentExPoint apitest
svn path=/trunk/; revision=51111
Rafal Harabien [Mon, 21 Mar 2011 14:52:08 +0000 (14:52 +0000)]
Fix gdi32:SetSysColors apitest
svn path=/trunk/; revision=51110
Rafal Harabien [Mon, 21 Mar 2011 14:47:06 +0000 (14:47 +0000)]
Make sure rectangle is not inverted in Rectangle function
Fixes gdi32:Rectangle apitest
svn path=/trunk/; revision=51109
Rafal Harabien [Mon, 21 Mar 2011 14:43:56 +0000 (14:43 +0000)]
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
Rafal Harabien [Mon, 21 Mar 2011 14:36:32 +0000 (14:36 +0000)]
Improve GetClipRgn and SetSysColors apitests
svn path=/trunk/; revision=51107
Rafal Harabien [Mon, 21 Mar 2011 14:32:46 +0000 (14:32 +0000)]
Set last error to ERROR_INVALID_PARAMETER in NtGdiGetRandomRgn if invalid hdc is given
Fixes gdi32:GetClipRgn apitest
svn path=/trunk/; revision=51106
Rafal Harabien [Mon, 21 Mar 2011 14:21:16 +0000 (14:21 +0000)]
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
Rafal Harabien [Mon, 21 Mar 2011 14:16:01 +0000 (14:16 +0000)]
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
Rafal Harabien [Mon, 21 Mar 2011 14:07:29 +0000 (14:07 +0000)]
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
James Tabor [Mon, 21 Mar 2011 02:20:24 +0000 (02:20 +0000)]
[Win32k]
- Setup RectInRegion for internal use.
svn path=/trunk/; revision=51102
Giannis Adamopoulos [Sun, 20 Mar 2011 14:28:12 +0000 (14:28 +0000)]
[win32k]
- Fix disconnecting from a desktop when IntSetThreadDesktop gets NULL parameter
svn path=/trunk/; revision=51101
James Tabor [Sun, 20 Mar 2011 12:59:07 +0000 (12:59 +0000)]
[User32_ApiTests]
- Patch by Thomas Faber: Tests for new DeferWindowPos implementation. See bug 6025.
svn path=/trunk/; revision=51100
James Tabor [Sun, 20 Mar 2011 11:29:51 +0000 (11:29 +0000)]
- Fix a miss var for testing.
svn path=/trunk/; revision=51099
Olaf Siejka [Sun, 20 Mar 2011 11:25:34 +0000 (11:25 +0000)]
[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
Pierre Schweitzer [Sun, 20 Mar 2011 10:10:52 +0000 (10:10 +0000)]
[MSI]
Fix build according to Christoph recommandations
svn path=/trunk/; revision=51097
Christoph von Wittich [Sun, 20 Mar 2011 08:47:41 +0000 (08:47 +0000)]
[msi]
-partial sync to wine 1.3.16
svn path=/trunk/; revision=51096
James Tabor [Sun, 20 Mar 2011 01:29:39 +0000 (01:29 +0000)]
[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
James Tabor [Sun, 20 Mar 2011 01:09:15 +0000 (01:09 +0000)]
[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
James Tabor [Sun, 20 Mar 2011 00:21:45 +0000 (00:21 +0000)]
[Win32k]
- Fix sign for BeginDeferWindowPos(-1) test, see bug 6025.
svn path=/trunk/; revision=51093
Eric Kohl [Sat, 19 Mar 2011 19:14:53 +0000 (19:14 +0000)]
[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
Olaf Siejka [Sat, 19 Mar 2011 14:11:37 +0000 (14:11 +0000)]
[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
Pierre Schweitzer [Sat, 19 Mar 2011 13:59:23 +0000 (13:59 +0000)]
[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
James Tabor [Fri, 18 Mar 2011 22:41:22 +0000 (22:41 +0000)]
[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
Aleksey Bragin [Fri, 18 Mar 2011 20:23:18 +0000 (20:23 +0000)]
[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
Johannes Anderwald [Fri, 18 Mar 2011 16:28:21 +0000 (16:28 +0000)]
[Y]
- Fix argument checking
- Close correct handle
- Patch by Kuts Alexey
- bug 6004
svn path=/trunk/; revision=51087
Giannis Adamopoulos [Thu, 17 Mar 2011 20:32:24 +0000 (20:32 +0000)]
[win32k]
- SetThreadDesktop: Actually set hdesk in PTHREADINFO
Now GetThreadDesktop doesn't return 0
svn path=/trunk/; revision=51086
Aleksey Bragin [Thu, 17 Mar 2011 17:47:42 +0000 (17:47 +0000)]
[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
Aleksey Bragin [Thu, 17 Mar 2011 14:25:59 +0000 (14:25 +0000)]
[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
Aleksey Bragin [Thu, 17 Mar 2011 14:24:34 +0000 (14:24 +0000)]
[RTL]
- Limit unimplemented warnings about RtlActivateActivationContextUnsafeFast calls for now so that they don't flood the log too much.
svn path=/trunk/; revision=51083
Giannis Adamopoulos [Thu, 17 Mar 2011 13:19:18 +0000 (13:19 +0000)]
[win32k]
- Improve the definition and simplify NtUserCreateDesktop, NtUserOpenDesktop, NtUserCreateWindowStation, NtUserOpenWindowStation
svn path=/trunk/; revision=51082
Aleksey Bragin [Thu, 17 Mar 2011 11:20:16 +0000 (11:20 +0000)]
- Fix build.
svn path=/trunk/; revision=51080
Aleksey Bragin [Thu, 17 Mar 2011 10:59:54 +0000 (10:59 +0000)]
[NTDLL/LDR]
- Fix a typo in LdrQueryProcessModuleInformationEx().
- Stub LdrpEnsureLoaderLockIsHeld() for now.
- Improve LdrpRunInitializeRoutines() and enable it (just compiling, it's not in the running path of the code yet).
- Fix an uninit var warning in ldrpe.c
- Implement LdrpClearLoadInProgress().
- Rename "ExeModule" to a more consistent LdrpImageEntry.
svn path=/trunk/; revision=51079
Roel Messiant [Wed, 16 Mar 2011 21:07:25 +0000 (21:07 +0000)]
[GENERAL]
Patch by Rafal Harabien (rafalh1992 at o2 dot pl)
- Change () to (VOID) in function declarators. Part 6/XX.
[USETUP]
Patch by Rafal Harabien (rafalh1992 at o2 dot pl)
- Initialize Offset field of partition list. Spotted using DPH.
svn path=/trunk/; revision=51072
Colin Finck [Wed, 16 Mar 2011 16:46:37 +0000 (16:46 +0000)]
[SHELL32]
Thomas Faber
- Fix memory leak in RenderHDROP.
Modifications by me to have just a single return statement in the function.
See issue #5998 for more details.
svn path=/trunk/; revision=51069
Johannes Anderwald [Wed, 16 Mar 2011 15:18:52 +0000 (15:18 +0000)]
[WDMAUD_KERNEL]
- Don't alter the IoStatus.Information field with the number of bytes written
- Fixes sndrec32 crash (now also working in ReactOS)
- Should be merged to 0.3.13 ;)
svn path=/trunk/; revision=51067
Aleksey Bragin [Wed, 16 Mar 2011 14:22:15 +0000 (14:22 +0000)]
[NTDLL/LDR]
- Rewrite LdrQueryProcessModuleInformation.
- Start committing PE loader related code (quite a lot of it, and still not all parts yet), unused right now so won't break anything.
svn path=/trunk/; revision=51065
Colin Finck [Wed, 16 Mar 2011 13:28:39 +0000 (13:28 +0000)]
[RAPPS]
Change all ftp:// links to http:// ones. The changes to the fragile Mozilla links should be reverted as soon as our/Wine's URLDownloadToFileW function finally supports FTP URLs.
Vote for Wine Bug 26445 (http://bugs.winehq.org/show_bug.cgi?id=26445) to get this fixed!
svn path=/trunk/; revision=51063
Pierre Schweitzer [Wed, 16 Mar 2011 12:18:57 +0000 (12:18 +0000)]
[RAPPS]
Due to a lack of implemented feature in DLL, switch FF3.6 download links to HTTP.
Site given by Mozilla Foundation.
svn path=/trunk/; revision=51062
Aleksey Bragin [Wed, 16 Mar 2011 11:58:12 +0000 (11:58 +0000)]
[RTL]
- Hack away LdrVerifyMappedImageMatchesChecksum() invocations with zero ImageSize until MM is fixed.
- Implement a helper ChkSum() routine to be used later by LdrVerifyMappedImageMatchesChecksum().
svn path=/trunk/; revision=51061
Aleksey Bragin [Wed, 16 Mar 2011 09:52:41 +0000 (09:52 +0000)]
[NTDLL/LDR]
- Rewrite LdrImageMatchesChecksum, remove now outdated LdrpCheckImageChecksum.
svn path=/trunk/; revision=51060
Aleksey Bragin [Wed, 16 Mar 2011 09:49:07 +0000 (09:49 +0000)]
[RTL]
- Implement LdrVerifyMappedImageChecksum (copied from ntdll/ldr/utils.c).
svn path=/trunk/; revision=51059
Colin Finck [Tue, 15 Mar 2011 23:45:38 +0000 (23:45 +0000)]
[CRT]
- Revert 38185 which synced fputwc to the Wine version for the sake of fixing Winetests.
This removed the implicit ANSI conversion, which was honestly checking the wrong flags. The new version correctly checks for WX_TEXT and only does the conversion in this case. This way we also don't fail any additional Winetests.
- Simplify streamout_char in the new printf implementation and use _fputtc instead of _flsbuf.
This way, we correctly do an implicit ANSI conversion when required.
- Fix fgetwc declaration.
Thanks to Timo for many hints and assistance. Most of this code is actually his idea :-)
Thanks to Olaf for providing a build server to speed up my code tests.
See issue #6007 for more details.
svn path=/trunk/; revision=51058
Pierre Schweitzer [Tue, 15 Mar 2011 19:45:43 +0000 (19:45 +0000)]
[NDK]
Define HAL_IRQ_TRANSLATOR_VERSION constant
[NTOSKRNL]
When needed, use HAL_IRQ_TRANSLATOR_VERSION from NDK and don't define it locally
svn path=/trunk/; revision=51057
Aleksey Bragin [Tue, 15 Mar 2011 18:56:17 +0000 (18:56 +0000)]
[NTDLL/LDR]
- Rewrite loader lock APIs. Now they support proper flags, return correct error codes and generate/check a cookie.
svn path=/trunk/; revision=51056
Aleksey Bragin [Tue, 15 Mar 2011 18:50:31 +0000 (18:50 +0000)]
[SETUP]
- Mario Kacmar: Added 'VBR only' as possible option to the reactos.exe - it is necessary to add it to other languages (I would not mess up codepages).
See issue #5734 for more details.
svn path=/trunk/; revision=51055