Commit graph

51909 commits

Author SHA1 Message Date
Alex Ionescu 82a8352b60 [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
2012-09-09 16:59:23 +00:00
Timo Kreuzer 850822c853 [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
2012-09-09 10:42:32 +00:00
Dmitry Gorbachev d470d955aa Silence GCC warning.
svn path=/trunk/; revision=57254
2012-09-08 08:07:44 +00:00
James Tabor 6b4f67148c - fix CMake x86 MSVCWin build.
svn path=/trunk/; revision=57253
2012-09-08 06:47:10 +00:00
James Tabor 0505da21b0 [User32Test]
- Turn off GetMenuBarInfo input test temporarily for now.

svn path=/trunk/; revision=57252
2012-09-08 06:12:41 +00:00
James Tabor 64823b2694 [Win32SS]
- HAX: Fix menu test crash!
- Contract be damned. This number 2 on my list to move server side! 

svn path=/trunk/; revision=57251
2012-09-08 06:09:19 +00:00
Sylvain Petreolle 4dc4dad0b3 [NDIS]
Remove spurious form feeds from NDIS code.
Patch by Lee Schroeder.
See issue #7310 for more details.

svn path=/trunk/; revision=57250
2012-09-07 12:01:14 +00:00
James Tabor 17529f9e44 - turn off debugs.
svn path=/trunk/; revision=57249
2012-09-07 05:50:11 +00:00
Dmitry Gorbachev 082e2570bc [MOUNTMGR][NDIS]
Fix some string length calculations.

[CRT]
Declare variables extern.

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

svn path=/trunk/; revision=57248
2012-09-06 21:11:44 +00:00
Dmitry Gorbachev 267f517b43 [OPENGL]
Silence GCC warning.

svn path=/trunk/; revision=57247
2012-09-06 21:09:36 +00:00
Amine Khaldi 5423c59abe [FORMATTING]
* No code changes.

svn path=/trunk/; revision=57246
2012-09-06 18:36:48 +00:00
James Tabor 93c87d7be9 [SDK|UndocUser] - Add missing scroll flags.
svn path=/trunk/; revision=57245
2012-09-06 15:44:10 +00:00
Amine Khaldi 78e5340f6c [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
2012-09-06 12:28:53 +00:00
Dmitry Gorbachev e9301d98b4 Remove "bashisms" from configure.sh script, simplify it a bit.
svn path=/trunk/; revision=57243
2012-09-05 21:40:14 +00:00
Dmitry Gorbachev 2dfa217c3c [ATACTL]
Add set_cpp() to CMake script.

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

svn path=/trunk/; revision=57242
2012-09-05 21:39:43 +00:00
Dmitry Gorbachev 455caa18fa [NTOSKRNL]
- Remove an unused variable.

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

svn path=/trunk/; revision=57241
2012-09-05 21:38:02 +00:00
Dmitry Gorbachev b784f3a4a3 [PSDK]
Mark Disconnect() method of INetConnectionConnectUi as pure in netcon.h

svn path=/trunk/; revision=57240
2012-09-05 21:36:16 +00:00
Amine Khaldi 0f50eca2a8 [SMSS]
* Rename the folder back to smss now.
See issue #7278 for more details.

svn path=/trunk/; revision=57239
2012-09-04 21:05:16 +00:00
Amine Khaldi 8fc9d7dd58 [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
2012-09-04 20:56:22 +00:00
Cameron Gutman 0a9e0dc0a5 [AFD]
- Try to fix MSVC build

svn path=/trunk/; revision=57237
2012-09-04 07:42:21 +00:00
James Tabor 458994e118 [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
2012-09-04 05:37:13 +00:00
Cameron Gutman 81095c0413 [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
2012-09-04 05:05:57 +00:00
Cameron Gutman 358a84e09b [WS2_32_APITEST]
- Add a test for NtReadFile on a socket

svn path=/trunk/; revision=57234
2012-09-04 03:02:40 +00:00
Cameron Gutman 136c0d4296 [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
2012-09-04 03:01:15 +00:00
James Tabor 7a2e4c733b [WineTests] - Sync to 1.5.12.
svn path=/trunk/; revision=57232
2012-09-04 02:13:48 +00:00
Cameron Gutman dae657d1a1 [NTOSKRNL]
- Print a warning in several cases where a wait may fail in an unexpected way

svn path=/trunk/; revision=57231
2012-09-03 22:19:05 +00:00
Cameron Gutman a757f3684e [MSAFD]
- Fix access rights on socket events

svn path=/trunk/; revision=57230
2012-09-03 22:00:16 +00:00
Alex Ionescu 706b25f988 [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
2012-09-03 16:29:31 +00:00
Alex Ionescu 5547667b67 [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
2012-09-03 06:23:31 +00:00
Alex Ionescu 5b9e315fb7 [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
2012-09-03 01:12:58 +00:00
Alex Ionescu 80829aac14 [NTOSKRNL]: Fixed keyed event initialization.
svn path=/trunk/; revision=57226
2012-09-03 00:33:05 +00:00
Alex Ionescu fdf0f24838 [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
2012-09-02 22:06:42 +00:00
Alex Ionescu 3bd32fbc1b [NTOSKRNL]: Missed the one ASSERT that mattered...
svn path=/trunk/; revision=57224
2012-09-02 21:46:50 +00:00
Alex Ionescu c37fa08214 [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
2012-09-02 20:56:55 +00:00
Alex Ionescu 74f2cde659 [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
2012-09-02 20:49:31 +00:00
Alex Ionescu 073dea7474 [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
2012-09-02 18:54:05 +00:00
Alex Ionescu 00e311967b [NTOSKRNL]: Restore the protect hack, maybe it's not as no-op as it seems.
svn path=/trunk/; revision=57220
2012-09-02 18:03:14 +00:00
Mike Nordell d1cd8f60ab Comment-fix. Get/Set flip.
svn path=/trunk/; revision=57219
2012-09-02 15:33:32 +00:00
Alex Ionescu e24ab55f65 [NTOSKRNL]: Remove another useless ASSERT.
svn path=/trunk/; revision=57218
2012-09-02 08:21:18 +00:00
Alex Ionescu e715ded83a [NTOSKRNL]: Fix stupid checks
svn path=/trunk/; revision=57217
2012-09-02 08:17:58 +00:00
Alex Ionescu ec28155f4f [NTOSKRNL]: Kill not-needed assertion.
svn path=/trunk/; revision=57216
2012-09-02 08:13:24 +00:00
Alex Ionescu 07c872333e [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
2012-09-02 01:17:42 +00:00
Timo Kreuzer b783283577 [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
2012-09-01 17:01:05 +00:00
Amine Khaldi ca021c3bf9 [SOUNDBLASTER]
* Nothing links to it, don't compile it.

svn path=/trunk/; revision=57213
2012-09-01 12:49:21 +00:00
Amine Khaldi a0841a5ada [DNSLIB]
* Nothing links to it, don't compile it.

svn path=/trunk/; revision=57212
2012-09-01 12:02:03 +00:00
Amine Khaldi 9f7d0ac646 [CMAKE]
* Improve this one while we're at it.

svn path=/trunk/; revision=57211
2012-09-01 11:37:24 +00:00
Amine Khaldi cd70b62ce1 [CMAKE]
* Addendum to r57181. By Hermès Bélusca.

svn path=/trunk/; revision=57210
2012-09-01 11:35:12 +00:00
Alex Ionescu cda03c0940 [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
2012-09-01 02:32:25 +00:00
Timo Kreuzer 5666d93992 [CRT_APITEST]
Fix broken test.

svn path=/trunk/; revision=57208
2012-08-31 17:20:56 +00:00
Mike Nordell 55e8f7ae69 Stop erroneous reporting of SEGV from test case. MS own CRT SEGV on NULL format string
svn path=/trunk/; revision=57207
2012-08-31 14:16:17 +00:00