Timo Kreuzer [Thu, 26 Apr 2012 16:19:22 +0000 (16:19 +0000)]
[WIN32K]
- Implement TranslateCOLORREF, based on IntHandleSpecialColorType, but now returning both the translated color and the resulting RGB color, correctly handling DIBINDEX, which will use the given value without translation.
- Rewrite NtGdiSetPixel using IntPatBlt
- Rewrite NtGdiGetPixel using IntEngCopyBits
- Fix EXLATEOBJ_iXlateTable to return 0, when the palette index is too big, instead of wrapping around
- Remove old debugcode
svn path=/trunk/; revision=56429
Timo Kreuzer [Thu, 26 Apr 2012 09:42:46 +0000 (09:42 +0000)]
[WIN32K]
Fix NtGdiPatBlt: ROPs with a source are not allowed, the background ROP is simply ignored.
svn path=/trunk/; revision=56428
Timo Kreuzer [Thu, 26 Apr 2012 09:30:15 +0000 (09:30 +0000)]
[WIN32K]
Pass EBRUSHOBJ to IntPatBlt instead of the BRUSH. This way we can use the DC's eboFill, instead of initializing a new EBRUSHOBJ.
svn path=/trunk/; revision=56427
Thomas Faber [Wed, 25 Apr 2012 22:21:00 +0000 (22:21 +0000)]
[RTL]
- Accept NULL Buffer/Size in RtlGetFullPathName_Ustr
- Fix NULL dereference in RtlGetFullPathName_UstrEx if no StaticString was given
- Various other corrections to path functions. 17 test failures fixed overall.
svn path=/trunk/; revision=56426
Timo Kreuzer [Wed, 25 Apr 2012 19:25:48 +0000 (19:25 +0000)]
[WIN32K]
Make sure a bitmap is compatible with the dc before selecting it.
svn path=/trunk/; revision=56425
Timo Kreuzer [Wed, 25 Apr 2012 18:15:41 +0000 (18:15 +0000)]
[GDI32]
Fix SetWindowExtEx to pass all tests
svn path=/trunk/; revision=56424
Timo Kreuzer [Wed, 25 Apr 2012 18:14:52 +0000 (18:14 +0000)]
[GDI32_APITEST]
Add more tests for SetWindowExtEx
svn path=/trunk/; revision=56423
Timo Kreuzer [Wed, 25 Apr 2012 17:29:50 +0000 (17:29 +0000)]
[WIN32K]
- Make XFORMOBJ_iSetXform fail, when the XFORM is invalid (eM11 or eM22 are 0)
- Handle error in GreModifyWorldTransform
svn path=/trunk/; revision=56422
Timo Kreuzer [Wed, 25 Apr 2012 15:20:55 +0000 (15:20 +0000)]
[GDI32]
Fix CombineTransform to pass all tests
svn path=/trunk/; revision=56421
Timo Kreuzer [Wed, 25 Apr 2012 15:18:12 +0000 (15:18 +0000)]
[GDI32_APITEST]
Add more tests for CombineTransform and cleanup the code a bit
svn path=/trunk/; revision=56420
Thomas Faber [Wed, 25 Apr 2012 13:06:30 +0000 (13:06 +0000)]
[NTDLL_APITEST]
- Try GetProcAddress even on private functions. Allows easier testing in ROS by temporarily exporting them.
svn path=/trunk/; revision=56419
Timo Kreuzer [Wed, 25 Apr 2012 12:42:40 +0000 (12:42 +0000)]
{ROSTESTS]
Fix compilation
svn path=/trunk/; revision=56418
Timo Kreuzer [Wed, 25 Apr 2012 12:38:23 +0000 (12:38 +0000)]
[WINETESTS]
Add some useful macros to wine/test.h
svn path=/trunk/; revision=56417
Thomas Faber [Wed, 25 Apr 2012 12:13:38 +0000 (12:13 +0000)]
[NTDLL_APITEST]
- Add a test for RtlDoesFileExists_U (and its three friends, if addresses are provided)
- Various small path test improvements
svn path=/trunk/; revision=56416
Thomas Faber [Wed, 25 Apr 2012 12:04:44 +0000 (12:04 +0000)]
[NDK]
- Remove RtlDoesFileExists_UstrEx
svn path=/trunk/; revision=56415
Thomas Faber [Wed, 25 Apr 2012 10:17:29 +0000 (10:17 +0000)]
[KERNEL32]
- Do not use Zw functions from user mode
svn path=/trunk/; revision=56414
Thomas Faber [Wed, 25 Apr 2012 09:52:38 +0000 (09:52 +0000)]
[NTDLL_APITEST]
- Add a test for RtlGetFullPathName_Ustr (requires the function address to be known)
- Various improvements to the other path tests
svn path=/trunk/; revision=56413
Thomas Faber [Wed, 25 Apr 2012 07:57:50 +0000 (07:57 +0000)]
[NTDLL_APITEST]
- Fix GCC build
svn path=/trunk/; revision=56412
Thomas Faber [Wed, 25 Apr 2012 07:43:33 +0000 (07:43 +0000)]
[NTDLL_APITEST]
- Add test for RtlGetLongestNtPathLength
- Add test for RtlDetermineDosPathNameType_U (and RtlDetermineDosPathNameType_Ustr, if address is known)
svn path=/trunk/; revision=56411
Thomas Faber [Wed, 25 Apr 2012 07:24:17 +0000 (07:24 +0000)]
[RTL/NDK]
- Add missing mmtypes.h include in mmfuncs.h
- Remove RtlDetermineDosPathNameType_Ustr from rtlfuncs.h, move it up in path.c
- Add RtlGetLongestNtPathLength to rtlfuncs.h
svn path=/trunk/; revision=56410
Timo Kreuzer [Tue, 24 Apr 2012 18:35:50 +0000 (18:35 +0000)]
[WIN32K]
- Fix a bug in the region code that could cause allocating 0 bytes
- Remove SetLastError()
- "flatten" IntGdiCombineRgn making it more readable
svn path=/trunk/; revision=56409
Timo Kreuzer [Tue, 24 Apr 2012 17:11:08 +0000 (17:11 +0000)]
[GDI32_APITEST]
- Add tests for CombineRgn
svn path=/trunk/; revision=56408
Timo Kreuzer [Tue, 24 Apr 2012 14:49:09 +0000 (14:49 +0000)]
[WIN32K/GDI32]
- rewrite GetObject again :)
- simplify and fix FontGetObject
- remove some pointless code
svn path=/trunk/; revision=56407
Cameron Gutman [Tue, 24 Apr 2012 14:47:15 +0000 (14:47 +0000)]
[USBSTOR]
- Add forgotten storage of the LUN in the PDO extension which not only broke units beyond LUN 0 but also caused a BSOD due to reporting duplicate devices to the PnP manager
- Thanks to tower for reporting
svn path=/trunk/; revision=56406
Timo Kreuzer [Tue, 24 Apr 2012 14:45:12 +0000 (14:45 +0000)]
[GDI32_APITEST]
- Add more tests for GetObject
svn path=/trunk/; revision=56405
Thomas Faber [Tue, 24 Apr 2012 07:27:59 +0000 (07:27 +0000)]
[AFD] - Fix broken IP address pointer arithmetic (CID 14130)
[PCNET] - Fix incorrectly truncated FullDuplex BOOLEAN
svn path=/trunk/; revision=56404
James Tabor [Tue, 24 Apr 2012 02:29:07 +0000 (02:29 +0000)]
- Fix message regressions from 54637.
svn path=/trunk/; revision=56403
Timo Kreuzer [Mon, 23 Apr 2012 22:16:50 +0000 (22:16 +0000)]
[GDI32_APITEST]
- Add more tests for GetObject and SelectObject
- Fix a bug that made gcc builds crash
svn path=/trunk/; revision=56402
Timo Kreuzer [Mon, 23 Apr 2012 21:22:12 +0000 (21:22 +0000)]
[GDI32/WIN32K]
Fix some regressions from previous commit
svn path=/trunk/; revision=56401
Timo Kreuzer [Mon, 23 Apr 2012 19:22:17 +0000 (19:22 +0000)]
[GDI32/WIN32K]
- Rewrite GetCurrentObject and GetObject, fixes a lot of tests
svn path=/trunk/; revision=56400
James Tabor [Mon, 23 Apr 2012 19:09:31 +0000 (19:09 +0000)]
- Safe to test SetForegroundWindow.
svn path=/trunk/; revision=56399
Timo Kreuzer [Mon, 23 Apr 2012 19:06:10 +0000 (19:06 +0000)]
fix build
svn path=/trunk/; revision=56398
Timo Kreuzer [Mon, 23 Apr 2012 19:02:51 +0000 (19:02 +0000)]
[GDI32_APITEST]
- Add more tests for GetCurrentObject and GetObject
- Comment out tests that fail on debug builds
svn path=/trunk/; revision=56397
James Tabor [Mon, 23 Apr 2012 18:51:48 +0000 (18:51 +0000)]
[Win32SS]
- Desktop: Added code for server side switch over and some notes. Did not include desktopbg.c.
- Focus: Fixes wine Win tests for SetParent, Active, Focus and Foreground. Leaving the wine todos. Msg tests improved. Pop up menus are still broken see bug 6751. The tests reflect these pop up menu issues.
- WinPos: (WIP) Fixed MapWindowPoints. Arrange icons is still broken. SetWindowPos sets the foreground when it should.
- Implemented AllowSetForegroundWindow and LockSetForegroundWindow.
- Commit to reset base lines for RegTest ComCtl32 and related bugs.
- Coding credits and complements go out to the Wine team.
svn path=/trunk/; revision=56396
Amine Khaldi [Mon, 23 Apr 2012 16:43:05 +0000 (16:43 +0000)]
[PSDK]
* Add the missing PWIN32_FIND_DATA type.
svn path=/trunk/; revision=56395
Timo Kreuzer [Mon, 23 Apr 2012 10:56:45 +0000 (10:56 +0000)]
[GDI32_APITEST]
Fix build
svn path=/trunk/; revision=56394
Timo Kreuzer [Mon, 23 Apr 2012 10:42:22 +0000 (10:42 +0000)]
[GDI32_APITEST]
Add tests for CreateBitmap, CreateIconIndirect, GetRandomRgn and PatBlt
svn path=/trunk/; revision=56393
Timo Kreuzer [Mon, 23 Apr 2012 10:12:35 +0000 (10:12 +0000)]
[WIN32K]
- Fix calculation of the brush origin. The coordinates passed to EngBitBlt "defines which pixel in the mask corresponds to the upper left corner of the destination rectangle." Our code was using it as corresponding to the surface origin.
The fix is currently only used when the new dib code is compiled. The old dib code is broken and expects the broken behaviour
svn path=/trunk/; revision=56392
Sylvain Petreolle [Mon, 23 Apr 2012 00:17:01 +0000 (00:17 +0000)]
[ADVAPI32/SERVICES]
Fix changing a service description in (R)ChangeServiceConfig2W.
Fixes bad service description in Vmware Tools.
svn path=/trunk/; revision=56391
Eric Kohl [Sun, 22 Apr 2012 22:40:43 +0000 (22:40 +0000)]
[USETUP]
Treat REG_DWORD values in inf files as unsigned values.
svn path=/trunk/; revision=56390
Thomas Faber [Sun, 22 Apr 2012 13:11:54 +0000 (13:11 +0000)]
[AFD/FORMATTING]
- Try to fix indentation nightmare
svn path=/trunk/; revision=56389
Timo Kreuzer [Sat, 21 Apr 2012 21:00:08 +0000 (21:00 +0000)]
[DIBLIB]
Fix calculation of pattern pointer
[WIN32K]
Fix (almost) calculation of pattern origin. There's still a bugger left.
svn path=/trunk/; revision=56388
Timo Kreuzer [Sat, 21 Apr 2012 18:42:14 +0000 (18:42 +0000)]
[DIBLIB]
Fix a bug that caused all BitBlt functions with for a solid brush to ignore the XLATEOBJ
svn path=/trunk/; revision=56387
James Tabor [Sat, 21 Apr 2012 18:18:59 +0000 (18:18 +0000)]
[Win32k]
- Troubleshooting bug 5630, moved DestroyProcessClasses from process to thread since process is called first. This way, it is assured the class destruction is on queue, but not before thread death.
- Added a global pointer to be used in a later commit.
- Warning: this does not fix bug 5630.
svn path=/trunk/; revision=56386
Thomas Faber [Sat, 21 Apr 2012 17:52:29 +0000 (17:52 +0000)]
[NTOSKRNL]
- Export base MCB functions
svn path=/trunk/; revision=56385
Timo Kreuzer [Sat, 21 Apr 2012 16:05:24 +0000 (16:05 +0000)]
[WIN32K]
In NtGdiGetTextExtentExW fail when Count is negative.
svn path=/trunk/; revision=56384
Amine Khaldi [Sat, 21 Apr 2012 13:22:52 +0000 (13:22 +0000)]
[PSDK]
* Sync cryptuiapi.h with Wine. Patch by Carlo Bramini.
See issue #7016 for more details.
svn path=/trunk/; revision=56383
Amine Khaldi [Sat, 21 Apr 2012 10:57:16 +0000 (10:57 +0000)]
[CHARMAP]
* Implement LoadSettings() and SaveSettings(). Patch by Edijs Kolesnikovics with some minor changes by me.
See issue #6925 for more details.
svn path=/trunk/; revision=56382
Amine Khaldi [Sat, 21 Apr 2012 10:46:07 +0000 (10:46 +0000)]
[MSCONFIG]
* Correctly update the selected command line text. Patch by Edijs Kolesnikovics.
See issue #6963 for more details.
svn path=/trunk/; revision=56381
Amine Khaldi [Sat, 21 Apr 2012 10:41:16 +0000 (10:41 +0000)]
[MSCONFIG]
* Get the timeout correctly. Patch by Edijs Kolesnikovics.
See issue #6964 for more details.
svn path=/trunk/; revision=56380
Thomas Faber [Sat, 21 Apr 2012 09:06:54 +0000 (09:06 +0000)]
[KMTESTS/OB]
- Add ObTypes test that checks all object types that should be present on Windows
svn path=/trunk/; revision=56379
Thomas Faber [Sat, 21 Apr 2012 06:57:07 +0000 (06:57 +0000)]
[RTL/NDK]
- RtlGetFullPathName_UstrEx returns NTSTATUS
svn path=/trunk/; revision=56378
Thomas Faber [Sat, 21 Apr 2012 06:44:26 +0000 (06:44 +0000)]
[NDK]
- Add PsJobType, LpcPortObjectType
svn path=/trunk/; revision=56377
Thomas Faber [Sat, 21 Apr 2012 06:35:45 +0000 (06:35 +0000)]
[NTOSKRNL]
- Export SeTokenObjectType
svn path=/trunk/; revision=56376
Timo Kreuzer [Fri, 20 Apr 2012 19:35:27 +0000 (19:35 +0000)]
[[NTOSKRNL]
Fix another typo
svn path=/trunk/; revision=56375
Timo Kreuzer [Fri, 20 Apr 2012 19:32:36 +0000 (19:32 +0000)]
[NTOSKRNL]
Fix a typo ;-)
svn path=/trunk/; revision=56374
Timo Kreuzer [Fri, 20 Apr 2012 19:31:07 +0000 (19:31 +0000)]
[NTOSKRNL]
Implement keyed events (untested)
svn path=/trunk/; revision=56373
Amine Khaldi [Fri, 20 Apr 2012 19:24:27 +0000 (19:24 +0000)]
* Missed this in my previous commit.
svn path=/trunk/; revision=56372
Amine Khaldi [Fri, 20 Apr 2012 19:21:16 +0000 (19:21 +0000)]
[EXPLORER]
* Handle the /select cmd option. Patch by Edijs Kolesnikovics.
See issue #6096 for more details.
svn path=/trunk/; revision=56371
Amine Khaldi [Fri, 20 Apr 2012 19:12:07 +0000 (19:12 +0000)]
[FORMATTING]
* No code changes.
svn path=/trunk/; revision=56370
Timo Kreuzer [Fri, 20 Apr 2012 19:01:15 +0000 (19:01 +0000)]
[NDK]
- Fix name of ETHREAD::KeyedWaitSemaphore
- Reorder some amd64 msr constants
svn path=/trunk/; revision=56369
Timo Kreuzer [Fri, 20 Apr 2012 12:39:00 +0000 (12:39 +0000)]
[CMAKE]
- Rename CreateBootSectorTarget2 to CreateBootSectorTarget and remove the old rbuild version
svn path=/trunk/; revision=56368
Pierre Schweitzer [Thu, 19 Apr 2012 20:55:59 +0000 (20:55 +0000)]
[NTOSKRNL]
Fix a memory leak
svn path=/trunk/; revision=56367
Timo Kreuzer [Thu, 19 Apr 2012 14:33:53 +0000 (14:33 +0000)]
[NTOSKRNL]
Fix a bug in MiAllocatePoolPages, that made the function succeed, when MAX_ULONG / -1 / 0xFFFFFFFF bytes were requested. The value overflowed into 0 and 0 pages were returned. When freeing this block, it could either free the next following large allocation or ASSERT when the end of the pool was reached without finding the end of the allocation.
Fixes FoxitReader 4.2/4.3
svn path=/trunk/; revision=56366
Timo Kreuzer [Wed, 18 Apr 2012 18:06:23 +0000 (18:06 +0000)]
[CRT TEST]
disable the crt tests until the cmake issues are resolved
svn path=/trunk/; revision=56365
Timo Kreuzer [Wed, 18 Apr 2012 17:37:21 +0000 (17:37 +0000)]
[CRT TEST]
for now disable the static test, it needs some fixes first
svn path=/trunk/; revision=56364
Timo Kreuzer [Wed, 18 Apr 2012 17:21:18 +0000 (17:21 +0000)]
[TESTS]
Add a test framework for crt (ntdll, crtdll, msvcrt and static)
svn path=/trunk/; revision=56363
Timo Kreuzer [Wed, 18 Apr 2012 17:18:11 +0000 (17:18 +0000)]
[CRTDLL]
Create an import lib (needed for upcoming test)
svn path=/trunk/; revision=56362
Timo Kreuzer [Wed, 18 Apr 2012 16:26:41 +0000 (16:26 +0000)]
[NTDLL]
Mark _chkstk as extern to avoid duplication with msvcrtex library (using alloca will cause _alloca_probe to be linked, which aliases _chkstk)
svn path=/trunk/; revision=56361
Timo Kreuzer [Wed, 18 Apr 2012 15:30:36 +0000 (15:30 +0000)]
[CRT]
Fix warnings
svn path=/trunk/; revision=56360
Timo Kreuzer [Wed, 18 Apr 2012 15:12:45 +0000 (15:12 +0000)]
[CRT]
Sync startup code with mingw-w64, reduce difference a bit, remaining changes were passed upstream
svn path=/trunk/; revision=56359
Sylvain Petreolle [Wed, 18 Apr 2012 14:35:42 +0000 (14:35 +0000)]
[DXDIAG]
Fix warning in Turkish translation.
svn path=/trunk/; revision=56358
Timo Kreuzer [Wed, 18 Apr 2012 13:39:19 +0000 (13:39 +0000)]
[NTOSKRNL]
- Implement saving / restoring debug registers on traps
- Replace the loop in KeContextToTrapFrame with something less ridiculous
- fixes a number of ntdd exception winetests
svn path=/trunk/; revision=56357
Timo Kreuzer [Wed, 18 Apr 2012 11:27:03 +0000 (11:27 +0000)]
[NTOSKRNL]
Fix SepGet*FromDescriptor, returning NULL, when the relative offset is 0.
Fixes VMware tools installer.
svn path=/trunk/; revision=56356
Olaf Siejka [Mon, 16 Apr 2012 20:26:26 +0000 (20:26 +0000)]
[TRANSLATION]
- turkish partial translation of setup and user32 by Arda Tanrýkulu (bug no. 6999);
svn path=/trunk/; revision=56355
Timo Kreuzer [Mon, 16 Apr 2012 12:47:36 +0000 (12:47 +0000)]
[PSDK/NDK]
- Add missing PEXCEPTION_ROUTINE, RtlLookupFunctionEntry, RtlVirtualUnwind to winnt.h
- Remove PEXCEPTION_ROUTINE from NDK
- delete obsolete reactos/mingw-w64 folder
svn path=/trunk/; revision=56354
Timo Kreuzer [Sun, 15 Apr 2012 19:11:29 +0000 (19:11 +0000)]
[EXPLORER]
Expand the environment variables when running startup programs
Patch by Edijs Kolesnikovics, slightly modified by me
See issue #6953 for more details.
svn path=/trunk/; revision=56353
Timo Kreuzer [Sun, 15 Apr 2012 13:52:00 +0000 (13:52 +0000)]
[RTL/AMD64]
- Fix a bug in DbgBreakPointWithStatus: the int 3 must be after RtlpBreakWithStatusInstruction
svn path=/trunk/; revision=56352
James Tabor [Sun, 15 Apr 2012 01:32:04 +0000 (01:32 +0000)]
- Allow warnings when needed.
svn path=/trunk/; revision=56351
Timo Kreuzer [Sat, 14 Apr 2012 22:22:20 +0000 (22:22 +0000)]
[CMD]
Add quotes to autocompleted names, when certain characters are present, not only spaces. Not sure if that's really all, but should be the most common.
svn path=/trunk/; revision=56350
Timo Kreuzer [Sat, 14 Apr 2012 21:35:58 +0000 (21:35 +0000)]
[CMD]
Handle the + character only optionally as a token seperator, so that other commands like rename are not affected.
svn path=/trunk/; revision=56349
Timo Kreuzer [Sat, 14 Apr 2012 21:19:12 +0000 (21:19 +0000)]
Remove confusing comments
svn path=/trunk/; revision=56348
Timo Kreuzer [Sat, 14 Apr 2012 20:57:38 +0000 (20:57 +0000)]
[CMD]
Fix several bugs in the copy command:
- "x:" is not a valid source path (see bug #5709)
- when appending files using "+", cmd must distinguish between + as operator and + as part of the source file, when being put in "". For that reason the tokenizer was modified to make + a seperate token, which is replaced with | when creating the string of multiple files (since + is a valid file character)
- ? was not correctly handled when passed in the output file name
- factor out the code to create the file name from wildcards and make it readable (no, p, q, r are NOT reasonable variable names!)
- Move code out of the loop that doesn't belong there
- Make sure the file names are printed when multiple files are copied or appended
- write the count of written files (which is 1 when appending), not source files after the copy process is done
- Remove an excessive newline when writing strings with ConPuts()
- Improve readability a bit
svn path=/trunk/; revision=56346
Timo Kreuzer [Sat, 14 Apr 2012 12:10:02 +0000 (12:10 +0000)]
[SHELL32]
Fix a trace message, noticed by Edijus
svn path=/trunk/; revision=56345
Timo Kreuzer [Sat, 14 Apr 2012 10:40:21 +0000 (10:40 +0000)]
[SHELL32]
Remove trailing backslash in shellink working dir
Patch by Edijs Kolesnikovics (terminedijs at yahoo dot com)
See issue #7000 for more details.
svn path=/trunk/; revision=56344
Amine Khaldi [Fri, 13 Apr 2012 21:35:00 +0000 (21:35 +0000)]
[NTKRNLMP]
* Properly set the exports to refer to ntkrnlmp.exe instead of ntoskrnl.exe.
svn path=/trunk/; revision=56343
Timo Kreuzer [Fri, 13 Apr 2012 18:33:56 +0000 (18:33 +0000)]
[WIN32K]
Fix path reference leaks in PATH_add_outline
Should fix failed assertion when closing google earth.
thanks to r3ddr4g0n for providing the neccessary debug info.
svn path=/trunk/; revision=56342
Timo Kreuzer [Fri, 13 Apr 2012 16:27:14 +0000 (16:27 +0000)]
[WIN32K]
Fix indentation and the name of the programmer who dared to use GNU style indentation.
svn path=/trunk/; revision=56341
Amine Khaldi [Fri, 13 Apr 2012 16:16:39 +0000 (16:16 +0000)]
[NTKRNLMP]
* Add to build. Dedicated to Stefan.
svn path=/trunk/; revision=56340
Sylvain Petreolle [Thu, 12 Apr 2012 17:08:38 +0000 (17:08 +0000)]
[MSI]
Workaround crash for installers that require image binding.
Suggested by Amine.
svn path=/trunk/; revision=56339
Eric Kohl [Sun, 8 Apr 2012 22:27:44 +0000 (22:27 +0000)]
[SERVICES]
Log failed service starts and stops.
svn path=/trunk/; revision=56338
Eric Kohl [Sun, 8 Apr 2012 21:06:32 +0000 (21:06 +0000)]
[SERVICES]
- Make the handle to the shutdown event a global handle and set it when the service manager is being shut down.
- Close the start event properly.
svn path=/trunk/; revision=56337
Stefan Ginsberg [Sun, 8 Apr 2012 15:57:04 +0000 (15:57 +0000)]
- There is no need for the i8042 driver to use a hacked KdSystemDebugControl call to breakpoint or crash on TAB+k/TAB+b. Just call DbgBreakPoint or KeBugCheck directly.
svn path=/trunk/; revision=56336
Stefan Ginsberg [Sat, 7 Apr 2012 01:18:36 +0000 (01:18 +0000)]
- It seems the remaining page fault issue was fixed as well in 56333, so it should now be safe to enable this check. Finally, it is now illegal to page fault in ReactOS with interrupts disabled, as it should be. Previous attempts to fix this were likely hindered by the old memory manager, but ARM3 seems to do its job and doesn't fault on non-paged memory that I believe the old Mm was doing.
- Hacks--;
svn path=/trunk/; revision=56335
Stefan Ginsberg [Fri, 6 Apr 2012 21:01:17 +0000 (21:01 +0000)]
- Add missing newline to debug print.
svn path=/trunk/; revision=56334
Stefan Ginsberg [Fri, 6 Apr 2012 20:13:33 +0000 (20:13 +0000)]
- Even while I love having the trap/fpu/context code in C, the bugs this switch introduced continue to amaze me. This time, fix a bug from 45156 when KiFlushNPXState was rewritten in C. The C version could miss to restore the interrupt state, which would lead to interrupts being disabled when it was not expected. This "interrupt leak" was seen in the page fault handler if a page fault occurred after interrupts had been disabled (which had sometimes been observed to occur on the test server during exception handling and thread creation when KiFlushNPXState had been called). This didn't completely hang the system because during thread creation (and other system calls where this may have happened) interrupts would be re-enabled when returning to user mode when restoring eflags, and the exception handling would result in a system call which would enable interrupts again (it appears exception handler would have run with interrupts disabled, though!). This is now fixed, as well as any other issues this might have caused. The hack in the page fault handler remains until another issue has been fixed.
svn path=/trunk/; revision=56333
Eric Kohl [Fri, 6 Apr 2012 18:25:18 +0000 (18:25 +0000)]
[RTL]
Implement RtlCreateBootStatusDataFile, RtlGetSetBootStatusData, RtlLockBootStatusData and RtlUnlockBootStatusData.
[SYSSETUP]
Call RtlCreateBootStatusDataFile as part of the install process.
svn path=/trunk/; revision=56332
Cameron Gutman [Fri, 6 Apr 2012 16:08:20 +0000 (16:08 +0000)]
[TCPIP]
- Fix a crash when a NIC driver indicates the media state before we're expecting it
- Fixes bug 6895
svn path=/trunk/; revision=56331
Timo Kreuzer [Tue, 3 Apr 2012 15:02:51 +0000 (15:02 +0000)]
[CSRSRV/CSRSRV2]
Hard error parameters are ULONG_PTR, no need to truncate them
svn path=/trunk/; revision=56330
Timo Kreuzer [Tue, 3 Apr 2012 14:56:58 +0000 (14:56 +0000)]
{PORTCLS]
forgot this one
svn path=/trunk/; revision=56329