reactos.git
11 years agoMake GpGraphics save/restore state id's a bit more like Windows. Fixes a winetest...
Mike Nordell [Fri, 14 Sep 2012 21:26:45 +0000 (21:26 +0000)]
Make GpGraphics save/restore state id's a bit more like Windows. Fixes a winetest graphics state check failure.

svn path=/trunk/; revision=57299

11 years ago[MSXML3]
Thomas Faber [Fri, 14 Sep 2012 17:22:44 +0000 (17:22 +0000)]
[MSXML3]
- Make a copy of the data type information instead of writing to the (read-only) .rsrc section. Already applied upstream.
CORE-6645 #comment Should be fixed. Can you retest with HEAD please?

svn path=/trunk/; revision=57298

11 years ago[HAL]: Automatically generate the embedded PCI database. By Hermès Bélusca with impro...
Amine Khaldi [Fri, 14 Sep 2012 13:14:47 +0000 (13:14 +0000)]
[HAL]: Automatically generate the embedded PCI database. By Hermès Bélusca with improvements from me.
CORE-6654 #resolve #comment Patch committed. Thanks !

svn path=/trunk/; revision=57297

11 years ago[HOST-TOOLS/BIN2C]: Add bin2c host tool, to be used for embedding binary files inside...
Amine Khaldi [Fri, 14 Sep 2012 11:12:40 +0000 (11:12 +0000)]
[HOST-TOOLS/BIN2C]: Add bin2c host tool, to be used for embedding binary files inside C source code, by transforming them into a byte array. By Hermès Bélusca.
CORE-6653 #resolve Committed to trunk. Cheers ;)

svn path=/trunk/; revision=57296

11 years ago[RTL]
Timo Kreuzer [Fri, 14 Sep 2012 09:56:23 +0000 (09:56 +0000)]
[RTL]
Implement RtlpSafeCopyMemory, which uses SEH to copy the memory (not in freeldr)
Make RtlLargeIntegerToChar use RtlpSafeCopyMemory to copy the string to the target buffer.
CORE-3767 #resolve

svn path=/trunk/; revision=57295

11 years ago[WIN32K]
Timo Kreuzer [Thu, 13 Sep 2012 23:02:49 +0000 (23:02 +0000)]
[WIN32K]
Fix a bug in TranslateCOLORREF(). It was depending on pdc->pSurface to be set.

svn path=/trunk/; revision=57294

11 years ago[WIN32SS]
Jérôme Gardou [Thu, 13 Sep 2012 21:49:32 +0000 (21:49 +0000)]
[WIN32SS]
* Properly implement GetNearestColor

svn path=/trunk/; revision=57293

11 years ago* Reapply r57265 now that the testbot issues are solved.
Amine Khaldi [Thu, 13 Sep 2012 21:07:44 +0000 (21:07 +0000)]
* Reapply r57265 now that the testbot issues are solved.
[UNIATA]: Sync to 0.43f5.
[ATACTL]: Sync to 0.43f5.
CORE-6563 #comment Committed the 0.43f5 sync.

svn path=/trunk/; revision=57292

11 years ago[User32]
James Tabor [Thu, 13 Sep 2012 20:44:04 +0000 (20:44 +0000)]
[User32]
- Aric Stewart : While calculating lines, discard uniscribe data for non-visible lines.
- Nikolay Sivov : Release uniscribe data on Edit control destruction (valgrind).
- Sync Port wine.
- Someone needs to post a wine bug report due to the lack of support for Ctrl+Backspace. Debug fixme was added. See bug 1419.

svn path=/trunk/; revision=57291

11 years ago[Win32SS]
James Tabor [Thu, 13 Sep 2012 01:22:33 +0000 (01:22 +0000)]
[Win32SS]
- Based on wine Alexandre Julliard: ScrollWindow should not use a cached DC, unlike ScrollWindowEx.

svn path=/trunk/; revision=57290

11 years ago[NDIS]
Cameron Gutman [Thu, 13 Sep 2012 01:04:21 +0000 (01:04 +0000)]
[NDIS]
- NdisReadConfiguration should return NdisParameterInteger for requests for NdisParameterHexInteger
- Assert that conversion to integer from string does not fail
- Always trigger the ISR function if MiniportInitialize or MiniportHalt is executing

CORE-6064 #comment Please try to replicate with DEBUG_ULTRA turned on in NDIS

svn path=/trunk/; revision=57289

11 years agoAdd comment explaining initialization.
Mike Nordell [Thu, 13 Sep 2012 00:52:12 +0000 (00:52 +0000)]
Add comment explaining initialization.

svn path=/trunk/; revision=57288

11 years ago[FREELDR]
Timo Kreuzer [Wed, 12 Sep 2012 21:20:48 +0000 (21:20 +0000)]
[FREELDR]
Fix an x64 compilation warning
Patch by Hermes Belusca
CORE-6641

svn path=/trunk/; revision=57287

11 years ago[GDI32]
Timo Kreuzer [Wed, 12 Sep 2012 18:17:10 +0000 (18:17 +0000)]
[GDI32]
Fix SetTextAlign:
- return GDI_ERROR (-1) not 0 on error
- properly handle LAYOUT_RTL

svn path=/trunk/; revision=57286

11 years ago[NTOSKRNL]: I fail.
Alex Ionescu [Wed, 12 Sep 2012 17:06:49 +0000 (17:06 +0000)]
[NTOSKRNL]: I fail.

svn path=/trunk/; revision=57285

11 years ago[NTOSKRNL]: Use the token lock acquire/release macros that were already written inste...
Alex Ionescu [Wed, 12 Sep 2012 16:29:28 +0000 (16:29 +0000)]
[NTOSKRNL]: Use the token lock acquire/release macros that were already written instead of manually doing it. Also fix the macros since they didn't work in GCC.
No functional change, just code cleanup.

svn path=/trunk/; revision=57284

11 years ago[FREELDR]
Timo Kreuzer [Tue, 11 Sep 2012 21:15:39 +0000 (21:15 +0000)]
[FREELDR]
Finally commit the patch to improve freeldr disk performance by Carlo Bramini.
Obviously someone wants to read 0 bytes and that should not fail.

svn path=/trunk/; revision=57283

11 years ago[KMIXER]
Thomas Faber [Tue, 11 Sep 2012 21:13:21 +0000 (21:13 +0000)]
[KMIXER]
- Fix Pin_fnFastWrite return value in failure case. Patch by Vincenzo Cotugno

svn path=/trunk/; revision=57282

11 years ago[FREELDR]
Timo Kreuzer [Tue, 11 Sep 2012 19:11:56 +0000 (19:11 +0000)]
[FREELDR]
Revert once again. testbot hates me. sigh...

svn path=/trunk/; revision=57281

11 years ago[FREELDR/SETUPLDR]
Amine Khaldi [Tue, 11 Sep 2012 18:10:29 +0000 (18:10 +0000)]
[FREELDR/SETUPLDR]
* Make freeldr_common depend on bugcodes and remove this dependency from the other targets.
* Improve those conditions readability a bit.

svn path=/trunk/; revision=57280

11 years agoMake FPU exception dispatching work (more?) properly.
Mike Nordell [Tue, 11 Sep 2012 17:34:49 +0000 (17:34 +0000)]
Make FPU exception dispatching work (more?) properly.

svn path=/trunk/; revision=57279

11 years ago[FREELDR]
Timo Kreuzer [Tue, 11 Sep 2012 17:34:09 +0000 (17:34 +0000)]
[FREELDR]
Apply Carlos patch again, but use MaxSectors = 1 for now. That should result in the exact identical behaviour as before.

svn path=/trunk/; revision=57278

11 years ago[SYSSETUP]
Thomas Faber [Tue, 11 Sep 2012 17:08:38 +0000 (17:08 +0000)]
[SYSSETUP]
- Use a writable buffer for lpCommandLine in CreateProcessW. Simplify starting of control panel applets. Patch by Hermès Bélusca.
- CORE-6570 #resolve #comment We need FishEye ;)

svn path=/trunk/; revision=57277

11 years ago[FREELDR]
Timo Kreuzer [Tue, 11 Sep 2012 14:45:24 +0000 (14:45 +0000)]
[FREELDR]
- Remove the FILESYSBUFFER from the memory layout, grow the DISKREADBUFFER to 64 KB

svn path=/trunk/; revision=57276

11 years agorevert r57274. Looks like testbot doesn't like it.
Timo Kreuzer [Tue, 11 Sep 2012 12:17:38 +0000 (12:17 +0000)]
revert r57274. Looks like testbot doesn't like it.

svn path=/trunk/; revision=57275

11 years ago[FREELDR]
Timo Kreuzer [Tue, 11 Sep 2012 11:45:47 +0000 (11:45 +0000)]
[FREELDR]
- Remove the FILESYSBUFFER from the memory layout, grow the DISKREADBUFFER to 64 KB
- Make use of the full disk buffer when reading sectors, speeds up hdd boot process by about a factor of 2, patch by Carlo Bramini
- See CORE-6071

svn path=/trunk/; revision=57274

11 years agoFirst tiny step towards fixing floating point exception handling.
Mike Nordell [Tue, 11 Sep 2012 06:05:11 +0000 (06:05 +0000)]
First tiny step towards fixing floating point exception handling.

svn path=/trunk/; revision=57273

11 years agoUnbreak MSVC build.
Mike Nordell [Tue, 11 Sep 2012 05:14:33 +0000 (05:14 +0000)]
Unbreak MSVC build.

svn path=/trunk/; revision=57272

11 years agoHopefully unbreak MSVC build.
Mike Nordell [Tue, 11 Sep 2012 04:52:19 +0000 (04:52 +0000)]
Hopefully unbreak MSVC build.

svn path=/trunk/; revision=57271

11 years agoTest for SetUnhandledExceptionFilter actually rerturning what it should.
Mike Nordell [Tue, 11 Sep 2012 04:34:03 +0000 (04:34 +0000)]
Test for SetUnhandledExceptionFilter actually rerturning what it should.

svn path=/trunk/; revision=57270

11 years agoMake SetUnhandledExceptionFilter return the _previous_ handler as it should. Fixes...
Mike Nordell [Tue, 11 Sep 2012 03:50:20 +0000 (03:50 +0000)]
Make SetUnhandledExceptionFilter return the _previous_ handler as it should. Fixes at least a winetest for ntdll (MinGW startup code got stuck in infinite loop due to this bug)

svn path=/trunk/; revision=57269

11 years agoUpdate rapps to new Versions
Daniel Reimer [Mon, 10 Sep 2012 21:08:55 +0000 (21:08 +0000)]
Update rapps to new Versions

svn path=/trunk/; revision=57268

11 years ago[FREELDR]
Timo Kreuzer [Mon, 10 Sep 2012 20:53:39 +0000 (20:53 +0000)]
[FREELDR]
Stop using the FILESYSBUFFER. It's a 64 KB memory region statically set up int the lower 1MB address space. This memory is rare and it doesn't make sense to put the buffer there, since it's only used to copy the data from the DISKREADBUFFER (which *must* be in the lower 1MB) to a temporary location to copy it to some other location afterwards. It's replaced with temporary heap buffers and direct reads, where possible. Also Don't read a full FAT cluster, when only a part of it is required.

svn path=/trunk/; revision=57267

11 years ago* Revert r57265 until the testbot issues caused by earlier revisions are fixed.
Amine Khaldi [Mon, 10 Sep 2012 20:45:26 +0000 (20:45 +0000)]
* Revert r57265 until the testbot issues caused by earlier revisions are fixed.

svn path=/trunk/; revision=57266

11 years ago[UNIATA]: Sync to 0.43f5.
Amine Khaldi [Mon, 10 Sep 2012 19:38:32 +0000 (19:38 +0000)]
[UNIATA]: Sync to 0.43f5.
[ATACTL]: Sync to 0.43f5.

svn path=/trunk/; revision=57265

11 years ago[CMLIB]: Forgot part of last patch.
Alex Ionescu [Mon, 10 Sep 2012 15:32:43 +0000 (15:32 +0000)]
[CMLIB]: Forgot part of last patch.

svn path=/trunk/; revision=57264

11 years ago[NTOSKRNL]: CORE-6491 #resolve #comment Implement hive list support by hbelusca,...
Alex Ionescu [Mon, 10 Sep 2012 15:25:26 +0000 (15:25 +0000)]
[NTOSKRNL]: CORE-6491 #resolve #comment Implement hive list support by hbelusca, with some minor cleanups by me. Loaded hives are now in the hivelist key.

svn path=/trunk/; revision=57263

11 years ago[NTOSKRNL]: CORE-6597 #resolve #time 5m #comment Fix incorrect double list increment
Alex Ionescu [Mon, 10 Sep 2012 15:00:16 +0000 (15:00 +0000)]
[NTOSKRNL]: CORE-6597 #resolve #time 5m #comment Fix incorrect double list increment

svn path=/trunk/; revision=57262

11 years ago[NTOSKRNL]: Small refactoring and optimizations to some Se routines, mainly generaliz...
Alex Ionescu [Mon, 10 Sep 2012 08:15:43 +0000 (08:15 +0000)]
[NTOSKRNL]: Small refactoring and optimizations to some Se routines, mainly generalizations for Restricted Token support once someone implements it. Also start using the token lock when necessary. Add comments when missing. Nothing terribly exciting...
[NTOSKRNL]: As a side effect, implement SeCreateClientSecurityFromSubjectContext and SeGetTokenControlInformation, although most of the code was already there.
[NTOSKRNL]: One useful change, SE_GROUP_USE_FOR_DENY_ONLY (Deny Only Groups) are now handled correctly.

svn path=/trunk/; revision=57261

11 years ago[CMAKE]
Amine Khaldi [Sun, 9 Sep 2012 23:59:16 +0000 (23:59 +0000)]
[CMAKE]
* Refer to the PSEH lib using its variable.

svn path=/trunk/; revision=57260

11 years ago[PSEH3]
Timo Kreuzer [Sun, 9 Sep 2012 21:12:00 +0000 (21:12 +0000)]
[PSEH3]
Implement PSEH 3.0. Currently disabled by default. Dedicated to Amine Khaldi.

svn path=/trunk/; revision=57259

11 years ago[MSXML3_WINETEST]
Amine Khaldi [Sun, 9 Sep 2012 19:49:50 +0000 (19:49 +0000)]
[MSXML3_WINETEST]
* Addendum to r57257.

svn path=/trunk/; revision=57258

11 years ago* Improve the whole msxml* situation in ReactOS, which improves compatibility with...
Amine Khaldi [Sun, 9 Sep 2012 19:47:25 +0000 (19:47 +0000)]
* Improve the whole msxml* situation in ReactOS, which improves compatibility with many applications (MS Visual C++ 2010 Redistributable Package, I'm looking at you !)
[PSDK]: Sync some headers and idl files with Wine.
[PSDK]: Import xmldom.h from Wine.
[LIBWINE]: Sync some debugging functions with Wine.
[UUID]: Add SID_SContainerDispatch.
[MSXML]: Import from Wine.
[MSXML2]: Import from Wine.
[MSXML3]: Sync with Wine 1.5.12.
[MSXML4]: Import from Wine.
[MSXML6]: Import from Wine.
[SYSSETUP]: Register the newly imported msxml* dlls.

svn path=/trunk/; revision=57257

11 years ago[NTOSKRNL]: Fix two NtAccess function prototypes (NO-OP, not implemented/used)
Alex Ionescu [Sun, 9 Sep 2012 16:59:23 +0000 (16:59 +0000)]
[NTOSKRNL]: Fix two NtAccess function prototypes (NO-OP, not implemented/used)
[NTOSKRNL]: Add missing call to ObValidateAccessMask (NO-OP, always returns TRUE).

svn path=/trunk/; revision=57256

11 years ago[XDK]
Timo Kreuzer [Sun, 9 Sep 2012 10:42:32 +0000 (10:42 +0000)]
[XDK]
- Move exception stuff to rtltypes.h
- Add missing exception flags
- Add _DISK_GEOMETRY_EX forward declaration

[PSDK]
- Add missing exception flags to winnt.h

[NDK]
- Remove exception flags, they are defined in both winnt.h and wdm.h

svn path=/trunk/; revision=57255

11 years agoSilence GCC warning.
Dmitry Gorbachev [Sat, 8 Sep 2012 08:07:44 +0000 (08:07 +0000)]
Silence GCC warning.

svn path=/trunk/; revision=57254

11 years ago- fix CMake x86 MSVCWin build.
James Tabor [Sat, 8 Sep 2012 06:47:10 +0000 (06:47 +0000)]
- fix CMake x86 MSVCWin build.

svn path=/trunk/; revision=57253

11 years ago[User32Test]
James Tabor [Sat, 8 Sep 2012 06:12:41 +0000 (06:12 +0000)]
[User32Test]
- Turn off GetMenuBarInfo input test temporarily for now.

svn path=/trunk/; revision=57252

11 years ago[Win32SS]
James Tabor [Sat, 8 Sep 2012 06:09:19 +0000 (06:09 +0000)]
[Win32SS]
- HAX: Fix menu test crash!
- Contract be damned. This number 2 on my list to move server side!

svn path=/trunk/; revision=57251

11 years ago[NDIS]
Sylvain Petreolle [Fri, 7 Sep 2012 12:01:14 +0000 (12:01 +0000)]
[NDIS]
Remove spurious form feeds from NDIS code.
Patch by Lee Schroeder.
See issue #7310 for more details.

svn path=/trunk/; revision=57250

11 years ago- turn off debugs.
James Tabor [Fri, 7 Sep 2012 05:50:11 +0000 (05:50 +0000)]
- turn off debugs.

svn path=/trunk/; revision=57249

11 years ago[MOUNTMGR][NDIS]
Dmitry Gorbachev [Thu, 6 Sep 2012 21:11:44 +0000 (21:11 +0000)]
[MOUNTMGR][NDIS]
Fix some string length calculations.

[CRT]
Declare variables extern.

[DMUSIC]
Fix a bug, already fixed in Wine.

svn path=/trunk/; revision=57248

11 years ago[OPENGL]
Dmitry Gorbachev [Thu, 6 Sep 2012 21:09:36 +0000 (21:09 +0000)]
[OPENGL]
Silence GCC warning.

svn path=/trunk/; revision=57247

11 years ago[FORMATTING]
Amine Khaldi [Thu, 6 Sep 2012 18:36:48 +0000 (18:36 +0000)]
[FORMATTING]
* No code changes.

svn path=/trunk/; revision=57246

11 years ago[SDK|UndocUser] - Add missing scroll flags.
James Tabor [Thu, 6 Sep 2012 15:44:10 +0000 (15:44 +0000)]
[SDK|UndocUser] - Add missing scroll flags.

svn path=/trunk/; revision=57245

11 years ago[PSDK]
Amine Khaldi [Thu, 6 Sep 2012 12:28:53 +0000 (12:28 +0000)]
[PSDK]
* Use __attribute__((weak)) instead of __declspec(selectany) until http://llvm.org/bugs/show_bug.cgi?id=13778 is fixed.

svn path=/trunk/; revision=57244

11 years agoRemove "bashisms" from configure.sh script, simplify it a bit.
Dmitry Gorbachev [Wed, 5 Sep 2012 21:40:14 +0000 (21:40 +0000)]
Remove "bashisms" from configure.sh script, simplify it a bit.

svn path=/trunk/; revision=57243

11 years ago[ATACTL]
Dmitry Gorbachev [Wed, 5 Sep 2012 21:39:43 +0000 (21:39 +0000)]
[ATACTL]
Add set_cpp() to CMake script.

[LIBUSB][UNIATA]
Compile with no RTTI and exception handling.

svn path=/trunk/; revision=57242

11 years ago[NTOSKRNL]
Dmitry Gorbachev [Wed, 5 Sep 2012 21:38:02 +0000 (21:38 +0000)]
[NTOSKRNL]
- Remove an unused variable.

[CHARMAP][CSRSRV][MOUNTMGR]
- Declare variables extern.

svn path=/trunk/; revision=57241

11 years ago[PSDK]
Dmitry Gorbachev [Wed, 5 Sep 2012 21:36:16 +0000 (21:36 +0000)]
[PSDK]
Mark Disconnect() method of INetConnectionConnectUi as pure in netcon.h

svn path=/trunk/; revision=57240

11 years ago[SMSS]
Amine Khaldi [Tue, 4 Sep 2012 21:05:16 +0000 (21:05 +0000)]
[SMSS]
* Rename the folder back to smss now.
See issue #7278 for more details.

svn path=/trunk/; revision=57239

11 years ago[CMAKE]
Amine Khaldi [Tue, 4 Sep 2012 20:56:22 +0000 (20:56 +0000)]
[CMAKE]
* Remove the importlibs folder. It's not needed anymore. While we're here, it's worth noting that the use of link_directories is not recommended, you should use target_link_libraries with absolute paths for example.

svn path=/trunk/; revision=57238

11 years ago[AFD]
Cameron Gutman [Tue, 4 Sep 2012 07:42:21 +0000 (07:42 +0000)]
[AFD]
- Try to fix MSVC build

svn path=/trunk/; revision=57237

11 years ago[Win32k]
James Tabor [Tue, 4 Sep 2012 05:37:13 +0000 (05:37 +0000)]
[Win32k]
- Move more support for Desktop Proc into Win32k. Increase Desktop drawing by about 10%. Rearanged code and plugged in the server side callout.

svn path=/trunk/; revision=57236

11 years ago[WININET]
Cameron Gutman [Tue, 4 Sep 2012 05:05:57 +0000 (05:05 +0000)]
[WININET]
- Merge fix for buffer overrun causing rapps to crash
- http://www.winehq.org/pipermail/wine-patches/2012-July/115909.html

svn path=/trunk/; revision=57235

11 years ago[WS2_32_APITEST]
Cameron Gutman [Tue, 4 Sep 2012 03:02:40 +0000 (03:02 +0000)]
[WS2_32_APITEST]
- Add a test for NtReadFile on a socket

svn path=/trunk/; revision=57234

11 years ago[AFD]
Cameron Gutman [Tue, 4 Sep 2012 03:01:15 +0000 (03:01 +0000)]
[AFD]
- Fix handling of IRP_MJ_READ and IRP_MJ_WRITE to allow passing sockets as parameters to NtReadFile and NtWriteFile

svn path=/trunk/; revision=57233

11 years ago[WineTests] - Sync to 1.5.12.
James Tabor [Tue, 4 Sep 2012 02:13:48 +0000 (02:13 +0000)]
[WineTests] - Sync to 1.5.12.

svn path=/trunk/; revision=57232

11 years ago[NTOSKRNL]
Cameron Gutman [Mon, 3 Sep 2012 22:19:05 +0000 (22:19 +0000)]
[NTOSKRNL]
- Print a warning in several cases where a wait may fail in an unexpected way

svn path=/trunk/; revision=57231

11 years ago[MSAFD]
Cameron Gutman [Mon, 3 Sep 2012 22:00:16 +0000 (22:00 +0000)]
[MSAFD]
- Fix access rights on socket events

svn path=/trunk/; revision=57230

11 years ago[NTOSKRNL]: Fix a stupid bug in MiProtectVirtualMemory which was causing empty PTEs...
Alex Ionescu [Mon, 3 Sep 2012 16:29:31 +0000 (16:29 +0000)]
[NTOSKRNL]: Fix a stupid bug in MiProtectVirtualMemory which was causing empty PTEs whose protection was being set to remain zero PTEs, instead of demand-zero PTEs, but still acquire a page table reference. When they were later touched in the page fault code, and made into demand-zero PTEs, they'd get referenced again, thus Aleksey hacked away all the referencing code to work around this (causing PDEs to disappear...)
[NTOSKRNL]: Restore the page table reference counting mechanism, and put it in a macro to be cleaner. Also use macros for testing PD boundaries, instead of math-by-hand.

svn path=/trunk/; revision=57229

11 years ago[NTOSKRNL]: Implement correct locking and unlocking of the working set, one of the...
Alex Ionescu [Mon, 3 Sep 2012 06:23:31 +0000 (06:23 +0000)]
[NTOSKRNL]: Implement correct locking and unlocking of the working set, one of the biggest blunders in ARM3 so far.
[NTOSKRNL]: Implement MiDereferenceControlArea to avoid leaking CAs in failure cases.

svn path=/trunk/; revision=57228

11 years ago[NTOSKRNL]: Make executive init functions fail if something didn't work, intstead...
Alex Ionescu [Mon, 3 Sep 2012 01:12:58 +0000 (01:12 +0000)]
[NTOSKRNL]: Make executive init functions fail if something didn't work, intstead of silently failing.
[NTOSKRNL]: Fix Win32k object initialization, fixes boot.

svn path=/trunk/; revision=57227

11 years ago[NTOSKRNL]: Fixed keyed event initialization.
Alex Ionescu [Mon, 3 Sep 2012 00:33:05 +0000 (00:33 +0000)]
[NTOSKRNL]: Fixed keyed event initialization.

svn path=/trunk/; revision=57226

11 years ago[NTOSKRNL]: Fix what should be at least 40 KmTest:ob failures, by correctly using...
Alex Ionescu [Sun, 2 Sep 2012 22:06:42 +0000 (22:06 +0000)]
[NTOSKRNL]: Fix what should be at least 40 KmTest:ob failures, by correctly using the right attributes, security mappings, flags, names, etc... for the object types. This probably fixes countless subtle bugs in applications/drivers that were non-obvious before, especially now that Device names are case insensitive, or that asking for certain GENERIC rights translates correctly.
Thank you thfabba (Thomas Fabber) for one of the most useful, yet ignored, tests in our suite. Hope this makes it up to you.

svn path=/trunk/; revision=57225

11 years ago[NTOSKRNL]: Missed the one ASSERT that mattered...
Alex Ionescu [Sun, 2 Sep 2012 21:46:50 +0000 (21:46 +0000)]
[NTOSKRNL]: Missed the one ASSERT that mattered...

svn path=/trunk/; revision=57224

11 years ago[NTOSKRNL]: Warn, but do not ASSERT, about the fact that we don't have commit charges...
Alex Ionescu [Sun, 2 Sep 2012 20:56:55 +0000 (20:56 +0000)]
[NTOSKRNL]: Warn, but do not ASSERT, about the fact that we don't have commit charges yet. Fixes OllyDbg2 assertions (and probably others too).

svn path=/trunk/; revision=57223

11 years ago[NTOSKRNL]: No longer force PAGE_READWRITE for allocations. Seems Mm is now mature...
Alex Ionescu [Sun, 2 Sep 2012 20:49:31 +0000 (20:49 +0000)]
[NTOSKRNL]: No longer force PAGE_READWRITE for allocations. Seems Mm is now mature enough to handle this. Tried with some winetests and they look happier.

svn path=/trunk/; revision=57222

11 years ago[NTOSKRNL]: Implement MiCheckSecuredVad and stop whining about not supporting SEC_NO_...
Alex Ionescu [Sun, 2 Sep 2012 18:54:05 +0000 (18:54 +0000)]
[NTOSKRNL]: Implement MiCheckSecuredVad and stop whining about not supporting SEC_NO_CHANGE, cleaning up the log.
[NTOSKRNL]: Kill a bunch of now-useless DPRINT1s in Mm, significantly cleaning up the log.
[HIVES/MSI]: .NET needs InstallRoot, not InstallDir. Kills millions of DPRINT1s, thus cleaning up the log.

svn path=/trunk/; revision=57221

11 years ago[NTOSKRNL]: Restore the protect hack, maybe it's not as no-op as it seems.
Alex Ionescu [Sun, 2 Sep 2012 18:03:14 +0000 (18:03 +0000)]
[NTOSKRNL]: Restore the protect hack, maybe it's not as no-op as it seems.

svn path=/trunk/; revision=57220

11 years agoComment-fix. Get/Set flip.
Mike Nordell [Sun, 2 Sep 2012 15:33:32 +0000 (15:33 +0000)]
Comment-fix. Get/Set flip.

svn path=/trunk/; revision=57219

11 years ago[NTOSKRNL]: Remove another useless ASSERT.
Alex Ionescu [Sun, 2 Sep 2012 08:21:18 +0000 (08:21 +0000)]
[NTOSKRNL]: Remove another useless ASSERT.

svn path=/trunk/; revision=57218

11 years ago[NTOSKRNL]: Fix stupid checks
Alex Ionescu [Sun, 2 Sep 2012 08:17:58 +0000 (08:17 +0000)]
[NTOSKRNL]: Fix stupid checks

svn path=/trunk/; revision=57217

11 years ago[NTOSKRNL]: Kill not-needed assertion.
Alex Ionescu [Sun, 2 Sep 2012 08:13:24 +0000 (08:13 +0000)]
[NTOSKRNL]: Kill not-needed assertion.

svn path=/trunk/; revision=57216

11 years ago[NTOSKRNL]: Do not return data in failure cases in NtProtectVirtualMemory.
Alex Ionescu [Sun, 2 Sep 2012 01:17:42 +0000 (01:17 +0000)]
[NTOSKRNL]: Do not return data in failure cases in NtProtectVirtualMemory.
[NTOSKRNL]: No longer support non-ARM3 sections in NtProtectVirtualMemory, as the only OS calls were already NO-OPS.
[NTOSKRNL]: Always use ARM3 sections unless SEC_PHYSICAL_MEMORY is used, and make the check explicit.
[NTOSKRNL]: No longer support allocating memory on top of non-ARM3 sections.
[NTOSKRNL]: No longer ASSERT when certain features are not yet implemented, instead return an error code.
[NTOSKRNL]: Add another check in NtFreevirtualMemory when invalid memory is being freed, insert of ASSERTing.
[NTOSKRNL]: Implement and use MiIsEntireRangeCommitted when protecting memory to make sure the entire range is committed.
This patch removes multiple hacks, ASSERTs, and evil mixing of ARM3 and non-ARM3 code/memory.

svn path=/trunk/; revision=57215

11 years ago[INTRIN]
Timo Kreuzer [Sat, 1 Sep 2012 17:01:05 +0000 (17:01 +0000)]
[INTRIN]
Mark intrinsics on gcc with __attribute__((artificial)) so that they appear as one unit in the debug info. This way traces don't point inside the implementations, when they cause an eception, but rather to the line where they are used.

svn path=/trunk/; revision=57214

11 years ago[SOUNDBLASTER]
Amine Khaldi [Sat, 1 Sep 2012 12:49:21 +0000 (12:49 +0000)]
[SOUNDBLASTER]
* Nothing links to it, don't compile it.

svn path=/trunk/; revision=57213

11 years ago[DNSLIB]
Amine Khaldi [Sat, 1 Sep 2012 12:02:03 +0000 (12:02 +0000)]
[DNSLIB]
* Nothing links to it, don't compile it.

svn path=/trunk/; revision=57212

11 years ago[CMAKE]
Amine Khaldi [Sat, 1 Sep 2012 11:37:24 +0000 (11:37 +0000)]
[CMAKE]
* Improve this one while we're at it.

svn path=/trunk/; revision=57211

11 years ago[CMAKE]
Amine Khaldi [Sat, 1 Sep 2012 11:35:12 +0000 (11:35 +0000)]
[CMAKE]
* Addendum to r57181. By Hermès Bélusca.

svn path=/trunk/; revision=57210

11 years ago[NTOSKRNL]: Cleanup MmCreateArm3Section a little bit to handle file-backed sections...
Alex Ionescu [Sat, 1 Sep 2012 02:32:25 +0000 (02:32 +0000)]
[NTOSKRNL]: Cleanup MmCreateArm3Section a little bit to handle file-backed sections in the future.
[NTOSKRNL]: Remove an ASSERT(FALSE) that was only there for testing.
[NTOSKRNL]: Support transition pages during prototype PTE faults, which is our first try at soft faults! Should fix ASSERTs that were seen in the previous attempts in ole32, corrupting the registry.
[NTOSKRNL]: It's fine for MiCreatePagingFileMap to fail in MmCreateSection -- don't assert and simply return failure. Should fix the ASSERTs taht were seen in KmTest.
[NTOSKRNL]: Enable richard's ARM3 section code unconditionally for all non-file backed sections. Works4me. Let's see what Testbot says.
Nobody has showed me how to use/where is PatchBot, and google founds 0 relevant results, so this is going into main again. However I'm actually home this week to revert if something goes wrong :)

svn path=/trunk/; revision=57209

11 years ago[CRT_APITEST]
Timo Kreuzer [Fri, 31 Aug 2012 17:20:56 +0000 (17:20 +0000)]
[CRT_APITEST]
Fix broken test.

svn path=/trunk/; revision=57208

11 years agoStop erroneous reporting of SEGV from test case. MS own CRT SEGV on NULL format string
Mike Nordell [Fri, 31 Aug 2012 14:16:17 +0000 (14:16 +0000)]
Stop erroneous reporting of SEGV from test case. MS own CRT SEGV on NULL format string

svn path=/trunk/; revision=57207

11 years agoFix build
Timo Kreuzer [Thu, 30 Aug 2012 10:16:13 +0000 (10:16 +0000)]
Fix build

svn path=/trunk/; revision=57206

11 years ago[FREELDR/CRT]
Timo Kreuzer [Thu, 30 Aug 2012 10:12:55 +0000 (10:12 +0000)]
[FREELDR/CRT]
Freeldr size is currently limited to 448 KB. On MSVC it was already at 442 KB, before wine's wctype table was used. The new wctype table is itself 37 KB. This lead to freeldr overflowing into memory regions that were used for the filesystem buffer, causing bootfailures. Fix this by giving freeldr it's own using _isctype(), since freeldr casts WCHAR to CHAR anyway.

svn path=/trunk/; revision=57205

11 years ago[MESA]
Jérôme Gardou [Thu, 30 Aug 2012 00:57:44 +0000 (00:57 +0000)]
[MESA]
- fix build

svn path=/trunk/; revision=57204

11 years ago[LIBMESA]
Jérôme Gardou [Thu, 30 Aug 2012 00:51:00 +0000 (00:51 +0000)]
[LIBMESA]
- Use x86 ASM optimizations on GCC
- Don't compile useless stuff

svn path=/trunk/; revision=57203

11 years ago[ROSAPPS]
Sylvain Petreolle [Wed, 29 Aug 2012 21:07:55 +0000 (21:07 +0000)]
[ROSAPPS]
Add the imagesoft CMakeLists.txt (forgotten in previous commit.)

svn path=/trunk/; revision=57202

11 years ago[ROSAPPS]
Sylvain Petreolle [Wed, 29 Aug 2012 20:44:54 +0000 (20:44 +0000)]
[ROSAPPS]
Move imagesoft to applications and add it to build.
Convert lang files to UTF-8.
Fix casts and x64 warnings.
Patch by Hermes Belusca.
See bug 7185 for details.

svn path=/trunk/; revision=57201

11 years ago[ROSAPPS]
Sylvain Petreolle [Wed, 29 Aug 2012 18:06:24 +0000 (18:06 +0000)]
[ROSAPPS]
Add vgafontedit to build.
Convert the language resource files into UTF-8.
Fix x64 warnings.
Patch by Hermes Belusca.
Bug 7152.

svn path=/trunk/; revision=57200