reactos.git
13 years ago[NTOSKRNL]
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

13 years ago[WIN32K]
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

13 years agoJeisson Toscano: Some Spanish translation updates plus some corrections added by...
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

13 years ago[NTDLL/LDR]
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

13 years agoPaolo Devoti: Some Italian fixes.
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

13 years ago[NTOS/INBV]
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

13 years ago[NTOS/KE]
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

13 years ago[RTL/HEAP]
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

13 years ago[NTDLL]
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

13 years ago[win32k]
Giannis Adamopoulos [Tue, 22 Mar 2011 09:59:36 +0000 (09:59 +0000)]
[win32k]
- Simplify BuildWindowStationNameList a bit

svn path=/trunk/; revision=51116

13 years ago[ntoskrnl]
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

13 years ago[NTDLL]
Pierre Schweitzer [Tue, 22 Mar 2011 06:53:56 +0000 (06:53 +0000)]
[NTDLL]
Fixed build

svn path=/trunk/; revision=51114

13 years ago[NTDLL/LDR]
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

13 years agoFix for r51111. Fixes build...
Rafal Harabien [Mon, 21 Mar 2011 18:30:17 +0000 (18:30 +0000)]
Fix for r51111. Fixes build...

svn path=/trunk/; revision=51112

13 years ago[GDI32]
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

13 years agoFix gdi32:SetSysColors apitest
Rafal Harabien [Mon, 21 Mar 2011 14:52:08 +0000 (14:52 +0000)]
Fix gdi32:SetSysColors apitest

svn path=/trunk/; revision=51110

13 years agoMake sure rectangle is not inverted in Rectangle function
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

13 years agoFix ProbeForRead. It wasn't ever checking if memory can be accessed. Thanks to big...
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

13 years agoImprove GetClipRgn and SetSysColors apitests
Rafal Harabien [Mon, 21 Mar 2011 14:36:32 +0000 (14:36 +0000)]
Improve GetClipRgn and SetSysColors apitests

svn path=/trunk/; revision=51107

13 years agoSet last error to ERROR_INVALID_PARAMETER in NtGdiGetRandomRgn if invalid hdc is...
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

13 years agoDon't assume WM_DESTROY is last message - listview sends notification after it. Confi...
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

13 years agoSet last error to ERROR_PROC_NOT_FOUND in case of NULL module in GetProcAddress
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

13 years agoDon't destroy ImageList used by ListView if control was created without LVS_SHAREIMAG...
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

13 years ago[Win32k]
James Tabor [Mon, 21 Mar 2011 02:20:24 +0000 (02:20 +0000)]
[Win32k]
- Setup RectInRegion for internal use.

svn path=/trunk/; revision=51102

13 years ago[win32k]
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

13 years ago[User32_ApiTests]
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

13 years ago- Fix a miss var for testing.
James Tabor [Sun, 20 Mar 2011 11:29:51 +0000 (11:29 +0000)]
- Fix a miss var for testing.

svn path=/trunk/; revision=51099

13 years ago[CACLS]
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

13 years ago[MSI]
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

13 years ago[msi]
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

13 years ago[User32]
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

13 years ago[Win32k]
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

13 years ago[Win32k]
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

13 years ago[SERVICES]
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

13 years ago[DESK.CPL]
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

13 years ago[HAL]
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

13 years ago[Win32k]
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

13 years ago[NTDLL]
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

13 years ago[Y]
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

13 years ago[win32k]
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

13 years ago[NTDLL/LDR]
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

13 years ago[NTDLL]
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

13 years ago[RTL]
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

13 years ago[win32k]
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

13 years ago- Fix build.
Aleksey Bragin [Thu, 17 Mar 2011 11:20:16 +0000 (11:20 +0000)]
- Fix build.

svn path=/trunk/; revision=51080

13 years ago[NTDLL/LDR]
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

13 years ago[GENERAL]
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

13 years ago[SHELL32]
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

13 years ago[WDMAUD_KERNEL]
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

13 years ago[NTDLL/LDR]
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

13 years ago[RAPPS]
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

13 years ago[RAPPS]
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

13 years ago[RTL]
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

13 years ago[NTDLL/LDR]
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

13 years ago[RTL]
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

13 years ago[CRT]
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

13 years ago[NDK]
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

13 years ago[NTDLL/LDR]
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

13 years ago[SETUP]
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

13 years ago[DRIVERS]
Roel Messiant [Tue, 15 Mar 2011 18:41:17 +0000 (18:41 +0000)]
[DRIVERS]
- Change () to (VOID) in function declarators. Part 5/XX.

svn path=/trunk/; revision=51054

13 years ago[SHELL32]
Sylvain Petreolle [Tue, 15 Mar 2011 15:37:09 +0000 (15:37 +0000)]
[SHELL32]
Fix missing "Open" menu entry on right click for All Users desktop shortcuts.
Patch by Thomas Faber <thfabba at gmx dot de>

See issue #5998 for more details.

svn path=/trunk/; revision=51053

13 years ago[HAL\x86]
Pierre Schweitzer [Mon, 14 Mar 2011 22:25:50 +0000 (22:25 +0000)]
[HAL\x86]
Define a flag when building HAL with ACPI support

svn path=/trunk/; revision=51052

13 years ago[NTDLL/LDR]
Aleksey Bragin [Mon, 14 Mar 2011 22:06:25 +0000 (22:06 +0000)]
[NTDLL/LDR]
- Rewrite TLS part of the ntdll loader. Old TLS-related messy, duplicated and hard to maintain code is gone.
- Disclaimer: All new ldr-rewrite code is almost entirely based on Alex's patch made in 2006, with my improvements, bugfixes and adapting existing codepaths.
- File naming convention: Files of the ldr*.c mask are considered as a new rewritten loader code. All other files in ntdll/ldr directory are old code which soon may be deprecated.

svn path=/trunk/; revision=51051

13 years ago[win32k]
Giannis Adamopoulos [Mon, 14 Mar 2011 15:59:21 +0000 (15:59 +0000)]
[win32k]
- Partly revert r51031

svn path=/trunk/; revision=51050

13 years ago[RAPPS]
Colin Finck [Mon, 14 Mar 2011 14:31:19 +0000 (14:31 +0000)]
[RAPPS]
- Add a "mIRC 6" entry to have a working IRC client while keeping "mIRC 7" for testing. (see bug 6005)
  Keep in mind that the automatically downloaded app database is the same for previous releases, current releases and Trunk, so just changing the version for the release wouldn't have been a solution.
- Add SumatraPDF 1.2 (working) to the app database. Patch by Vincenzo Cotugno (vins820 at hotmail dot com), German translation by me.
- Change all .txt files to svn:eol-style CRLF, these are target files which should have Windows line-endings.

svn path=/trunk/; revision=51048

13 years ago[MSAFD]
Johannes Anderwald [Mon, 14 Mar 2011 12:48:28 +0000 (12:48 +0000)]
[MSAFD]
- Print the caller in MsafdReturnWithErrno
- Initialize SockAsyncCompletionPort handle
- Check if the creation of the completion port failed
- Defer free of the socket information struct until the socket handle has been closed because the socket may have a pending select. When the socket is closed, the pending select is canceled, thus a apc routine is invoked which access the freed socket information struct.
- Fixes mIRC crash
- Should be merged to 0.3.13 branch

svn path=/trunk/; revision=51047

13 years ago[RAPPS]
Pierre Schweitzer [Mon, 14 Mar 2011 08:40:09 +0000 (08:40 +0000)]
[RAPPS]
Added French translation for all the available applications. Only strings that other translators have translated are translated here.
Regarding OOo 2.4, as 2.4.3 version isn't available in French (wut?!), it has been set to 2.4.2.
If anything wrong, let me know.

svn path=/trunk/; revision=51046

13 years ago[RAPPS]
Colin Finck [Sun, 13 Mar 2011 22:00:28 +0000 (22:00 +0000)]
[RAPPS]
Adam Stachowicz (saibamenppl@gmail.com)
- Fix mIRC version number in Rapps

See issue #5999 for more details.

svn path=/trunk/; revision=51044

13 years agoMichael Martin
Colin Finck [Sun, 13 Mar 2011 21:55:49 +0000 (21:55 +0000)]
Michael Martin
- Fix "EnableUserModePnpManager() failed!" in second stage setup.

Tested by Eric Kohl and igorko.
See issue #5989 for more details.

svn path=/trunk/; revision=51043

13 years ago[WDMAUD.DRV]
Roel Messiant [Sun, 13 Mar 2011 21:28:51 +0000 (21:28 +0000)]
[WDMAUD.DRV]
- Correct function declaration of WdmAudOpenSoundDeviceByLegacy and remove a duplicate (wut..).  Should fix build.

svn path=/trunk/; revision=51042

13 years ago[DLL]
Roel Messiant [Sun, 13 Mar 2011 20:56:27 +0000 (20:56 +0000)]
[DLL]
- Change () to (VOID) in function declarators. Part 4/XX.

svn path=/trunk/; revision=51041

13 years ago[BASE]
Roel Messiant [Sun, 13 Mar 2011 17:59:02 +0000 (17:59 +0000)]
[BASE]
- Change () to (VOID) in function declarators. Part 3/XX.

svn path=/trunk/; revision=51039

13 years ago[RAPPS]
Colin Finck [Sun, 13 Mar 2011 12:49:37 +0000 (12:49 +0000)]
[RAPPS]
Rafal Harabien (rafalh1992@o2.pl)
- Fix links and descriptions in the Rapps database, also update some application versions

I took the last patch in the bug report and applied the changes to remood.txt manually (due to mixed encoding within the same file).
See issue #5999 for more details.

svn path=/trunk/; revision=51034

13 years ago[RAPPS]
Colin Finck [Sun, 13 Mar 2011 12:44:58 +0000 (12:44 +0000)]
[RAPPS]
Fix a bug while testing Rapps under Windows. If you had an application with no registered DisplayName installed, Rapps used to consider every application with no RegName in its database (= currently all Rapps applications) installed. Therefore the list of available applications has always been empty.
Now an application is always added to the ListView if no RegName is set for it.

svn path=/trunk/; revision=51033

13 years ago[RAPPS]
Pierre Schweitzer [Sun, 13 Mar 2011 12:10:41 +0000 (12:10 +0000)]
[RAPPS]
Fix french translation file encoding

svn path=/trunk/; revision=51032

13 years ago[win32]
Giannis Adamopoulos [Sun, 13 Mar 2011 11:22:18 +0000 (11:22 +0000)]
[win32]
- Rafal Harabien:
- Always call IntKeyboardInput and co_MsqPostKeyboardMessage while holding the user lock
- Simplify cleaning up sent messages
See issue #5580 for more details.

svn path=/trunk/; revision=51031

13 years ago[RAPPS]
Pierre Schweitzer [Sun, 13 Mar 2011 10:43:38 +0000 (10:43 +0000)]
[RAPPS]
French translation by Jason Toscano <JasonGenie at gmail dot com>
Corrections/adjustements by me
See issue #5993 for more details.

svn path=/trunk/; revision=51030

13 years ago[USER32]
Aleksey Bragin [Sun, 13 Mar 2011 09:56:01 +0000 (09:56 +0000)]
[USER32]
- Rafal Harabien: Add some missing bitmaps to user32. They are copied from Wine. Change "old" cursors identifiers to defines from winuser.h (OCR_*).
See issue #6000 for more details.

svn path=/trunk/; revision=51029

13 years ago[FTP]
Roel Messiant [Sat, 12 Mar 2011 23:39:18 +0000 (23:39 +0000)]
[FTP]
- FTP has been a really, really naughty app.. Fix up function prototypes and definitions after () -> (void) change.
  Fixes build.. if I'm lucky.

svn path=/trunk/; revision=51028

13 years ago[APPLICATIONS]
Roel Messiant [Sat, 12 Mar 2011 19:03:27 +0000 (19:03 +0000)]
[APPLICATIONS]
- Change all C function prototype declarations with an empty argument list to use void, or the list specified in the function definition.
  According to the C language specification, such a declaration means "no information about the number or types of the parameters is supplied".
  This can expose cases where gcc allows us to pass an excessive amount of arguments to functions in certain cases.
  Thanks to Thomas Faber for informing us about this.

svn path=/trunk/; revision=51027

13 years ago[DDK]
Amine Khaldi [Sat, 12 Mar 2011 15:50:58 +0000 (15:50 +0000)]
[DDK]
Fix ioaccess.h svn properties. Spotted by Jonathan Yong.

svn path=/trunk/; revision=51026

13 years ago[NTOSKRNL]
Pierre Schweitzer [Sat, 12 Mar 2011 12:56:36 +0000 (12:56 +0000)]
[NTOSKRNL]
Revert r51017 that was reverting r51016.
In fact, it seems that cmlib assert error, whatever that eats randomly doesn't come from software issue inside ReactOS, but from a build issue.
Indeed, as you may see in the different tests I performed it shows that the same build produces the same failure, again and again. But, new build shows that there is no assert anylonger with that commit.
Don't ask me why or how it happens, I just don't get it.
But most of the time, it works, no one knows why ("as usual" (tm)). But it's cool.

Someone from BE team and/or buildslaves managers should take a serious look at this issue.

Just in case: if that commit re-hits cmlib assert, don't blame it immediatly, just commit something else, and see whether trunk is still broken.
But, as you can see in testman, we have now test results for r51016 ;-)

svn path=/trunk/; revision=51025

13 years ago[EXPLORER]
Pierre Schweitzer [Sat, 12 Mar 2011 11:53:55 +0000 (11:53 +0000)]
[EXPLORER]
Make fix of r51022 compiler independant, on Johannes' suggestion.

svn path=/trunk/; revision=51024

13 years ago[win32k]
Giannis Adamopoulos [Sat, 12 Mar 2011 11:08:06 +0000 (11:08 +0000)]
[win32k]
-In WH_KEYBOARD hook, lparam isn't a pointer to KBDLLHOOKSTRUCT
See issue #5991 for more details.

svn path=/trunk/; revision=51023

13 years ago[EXPLORER]
Pierre Schweitzer [Sat, 12 Mar 2011 08:23:05 +0000 (08:23 +0000)]
[EXPLORER]
Fix array access out of bounds.
See issue #5990 for more details

svn path=/trunk/; revision=51022

13 years ago[Win32k]
James Tabor [Sat, 12 Mar 2011 01:29:08 +0000 (01:29 +0000)]
[Win32k]
- Move the drag detection routine to kernel space, this will decrease the number of kernel calls that is noticeable with slower systems running an emulator.

svn path=/trunk/; revision=51021

13 years ago[SETUPAPI]
Eric Kohl [Fri, 11 Mar 2011 18:58:23 +0000 (18:58 +0000)]
[SETUPAPI]
Implement CM_Register_Device_Driver[_Ex].

svn path=/trunk/; revision=51020

13 years ago[OPENGL32]
Jérôme Gardou [Fri, 11 Mar 2011 18:17:34 +0000 (18:17 +0000)]
[OPENGL32]
  - use well defined macro instead of weird pointer calculation
  - reset thread specific data on a thread detach call
Fixes crash in heroes 3 and probably others

svn path=/trunk/; revision=51019

13 years ago[GDI32_APITEST]
Jérôme Gardou [Fri, 11 Mar 2011 15:32:54 +0000 (15:32 +0000)]
[GDI32_APITEST]
  - Test Rectangle function.
Don't laugh, ROS fails those tests and fixing this breaks the GUI.

svn path=/trunk/; revision=51018

13 years ago[NTOSKRNL]
Pierre Schweitzer [Fri, 11 Mar 2011 15:17:59 +0000 (15:17 +0000)]
[NTOSKRNL]
Revert r51016 that quite magically breaks Qemu test bot (Registry corruption?).
Everything was (and is still fine) on VirtualBox.
It will be put back online once the issue will have been fixed.

svn path=/trunk/; revision=51017

13 years ago[NTOSKRNL]
Pierre Schweitzer [Fri, 11 Mar 2011 13:16:16 +0000 (13:16 +0000)]
[NTOSKRNL]
Add most of the missing HAL stubs for both public & private dispatch tables

svn path=/trunk/; revision=51016

13 years ago[NDK]
Pierre Schweitzer [Fri, 11 Mar 2011 13:00:20 +0000 (13:00 +0000)]
[NDK]
pHalAllocateMapRegisters type functions are to return NTSTATUS and not BOOLEAN

svn path=/trunk/; revision=51015

13 years ago[GDI32]
Jérôme Gardou [Fri, 11 Mar 2011 10:33:03 +0000 (10:33 +0000)]
[GDI32]
   - allocate sufficient buffer when creating a DIBSECTION compatible bitmap.
Fixes bug 5822

svn path=/trunk/; revision=51014

13 years ago[NOTEPAD]
Aleksey Bragin [Thu, 10 Mar 2011 22:07:56 +0000 (22:07 +0000)]
[NOTEPAD]
- Edijs: Zero initialize the caption string.
See issue #5992 for more details.

svn path=/trunk/; revision=51013

13 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 10 Mar 2011 21:02:21 +0000 (21:02 +0000)]
[NTOSKRNL]
Implemented FstubTranslatorNull, FstubTranslateResource, FstubTranslateRequirement, xHalGetInterruptTranslator.
In other words: please welcome interrupt translator in ReactOS.
It's not used yet.

svn path=/trunk/; revision=51012

13 years agoFatCreateCcb has no params.
Ged Murphy [Thu, 10 Mar 2011 15:37:51 +0000 (15:37 +0000)]
FatCreateCcb has no params.
Fixes building on msvc

svn path=/trunk/; revision=51011

13 years ago[MSAFD]
Johannes Anderwald [Thu, 10 Mar 2011 14:07:55 +0000 (14:07 +0000)]
[MSAFD]
- Fix bug introduced in 51007

svn path=/trunk/; revision=51010

13 years ago[GDI32]
James Tabor [Thu, 10 Mar 2011 13:45:09 +0000 (13:45 +0000)]
[GDI32]
- Protect SetDIBitsToDevice with seh and track it. This is for vbrun60spXX. Code fix ups and cleanup.

svn path=/trunk/; revision=51009

13 years ago[Win32k]
James Tabor [Thu, 10 Mar 2011 13:09:56 +0000 (13:09 +0000)]
[Win32k]
- Fix an uncovered bug. This should fix coolplayer and winamp type applications. Does not fix drawing issues.

svn path=/trunk/; revision=51008

13 years ago[MSAFD]
Johannes Anderwald [Thu, 10 Mar 2011 12:41:50 +0000 (12:41 +0000)]
[MSAFD]
- Correct calculating PollBufferSize
- Found by DPH

svn path=/trunk/; revision=51007