Commit graph

45516 commits

Author SHA1 Message Date
Timo Kreuzer 285dd00828 [CMAKE]
Fix MSVC build of ntdllsys

svn path=/branches/cmake-bringup/; revision=50699
2011-02-15 12:46:08 +00:00
Sylvain Petreolle 141181cdbc [CMAKE]
Fix msvc ext2 build.
Fix soundblaster includes.

svn path=/branches/cmake-bringup/; revision=50697
2011-02-14 20:56:12 +00:00
Timo Kreuzer 0c69202021 [ASM]
Add ljmp16 .fill and .space macros

svn path=/branches/cmake-bringup/; revision=50696
2011-02-14 20:12:12 +00:00
Timo Kreuzer e274013c30 [MSVCRT]
_CxxThrowException is stdcall, not cdecl.
Someone please forward this to wine

svn path=/branches/cmake-bringup/; revision=50693
2011-02-14 14:28:07 +00:00
Timo Kreuzer 0ea1c67bac [NTOSKRNL]
Fix build with MSVC

svn path=/branches/cmake-bringup/; revision=50692
2011-02-14 13:45:15 +00:00
Timo Kreuzer e29077a3cf [KDCOM]
Fix build of new kdcom

svn path=/branches/cmake-bringup/; revision=50691
2011-02-14 13:42:40 +00:00
Johannes Anderwald 2c23ee07a9 - Fix compiling (not linking)
svn path=/branches/cmake-bringup/; revision=50690
2011-02-14 13:02:24 +00:00
Timo Kreuzer 58541489db [CMAKE]
- Drop support for MSVC versions below 1300
- use the same flags for WDK / host as normal
- Disable optimization on Debug builds, its incompatible with /ZI

svn path=/branches/cmake-bringup/; revision=50689
2011-02-14 11:09:48 +00:00
Amine Khaldi 3f7f1e0d7f [CMAKE]
- Get rid of the redundancy in setting msvc flags, and set /ZI instead of /Zi for both host and target modules.
- Get rid of the redundancy in setting the default behaviour of the FIND_XXX() commands between toolchain files.

svn path=/branches/cmake-bringup/; revision=50688
2011-02-14 10:32:46 +00:00
Timo Kreuzer 25b4d48b89 [CMAKE]
Remove the RelWithDebInfo hack for MSVC

svn path=/branches/cmake-bringup/; revision=50687
2011-02-14 09:33:36 +00:00
Amine Khaldi afd1fcd6cf [CMAKE]
- Fix host checking and the unix case handling in today() macro.
- Fixes unix build.

svn path=/branches/cmake-bringup/; revision=50684
2011-02-13 19:01:08 +00:00
Johannes Anderwald f9fead82ad [MMIXER]
- Allocate memory for the logical pin array
- Use the correct counter variable for logical pin array
- Found by msvc

svn path=/branches/cmake-bringup/; revision=50674
2011-02-12 19:08:22 +00:00
Johannes Anderwald d33174f9de [KS]
- Fix a bug where a spinlock was acquired on not initialized local variable
- Found by msvc

svn path=/branches/cmake-bringup/; revision=50671
2011-02-12 18:52:35 +00:00
Timo Kreuzer 44366c9fd0 Fix merge artifact
svn path=/branches/cmake-bringup/; revision=50666
2011-02-12 10:46:17 +00:00
Timo Kreuzer 33533af643 [RICHED20]
Fix compilation with MSVC
the small fix in txtsrv.c should be sent to wine (tm)

svn path=/branches/cmake-bringup/; revision=50664
2011-02-12 01:40:32 +00:00
Timo Kreuzer bcf29f9d9d [NTOSKRNL]
Fix compilation of zw.S with MSVC

svn path=/branches/cmake-bringup/; revision=50660
2011-02-11 17:39:07 +00:00
Amine Khaldi d4a7d0fb36 [CMAKE]
- Mark fastcall exports correctly, now that we have proper support in spec2def.

svn path=/branches/cmake-bringup/; revision=50658
2011-02-11 17:07:01 +00:00
Timo Kreuzer 054a3b2291 [CLASSPNP]
Fix a bug, I introduced.

svn path=/branches/cmake-bringup/; revision=50651
2011-02-10 13:07:54 +00:00
Timo Kreuzer 1d2ca9b115 [USB]
Fix merge artifact

svn path=/branches/cmake-bringup/; revision=50649
2011-02-10 12:56:12 +00:00
Amine Khaldi 54f8c1fb23 [CMAKE]
- Fix build.

svn path=/branches/cmake-bringup/; revision=50636
2011-02-09 17:06:56 +00:00
Timo Kreuzer 89fbead325 sync trunk HEAD (r50626)
svn path=/branches/cmake-bringup/; revision=50635
2011-02-09 15:56:57 +00:00
Amine Khaldi d6f1cb454c [CMAKE]
- Apply the proper definition to user32_wsprintf using target properties.

svn path=/branches/cmake-bringup/; revision=50630
2011-02-09 12:09:21 +00:00
Timo Kreuzer 9b9bf81ccc [CMAKE]
Remove unneccessary EXTERNAL_OBJECT property

svn path=/branches/cmake-bringup/; revision=50629
2011-02-09 11:16:40 +00:00
Timo Kreuzer fc12facc03 [CMAKE]
Ignore warnings about different section flags, when linking freeldr

svn path=/branches/cmake-bringup/; revision=50628
2011-02-09 11:09:50 +00:00
Timo Kreuzer b32867cfba [CMAKE]
Link cryptdll to advapi32

svn path=/branches/cmake-bringup/; revision=50627
2011-02-09 10:30:01 +00:00
Timo Kreuzer ebe0662d8c [WIN32K]
add missing file

svn path=/trunk/; revision=50626
2011-02-09 09:31:37 +00:00
Timo Kreuzer 014ff8c894 [NCI]
Ue macros for the other nci generated files, too and delete nci-tool.

svn path=/trunk/; revision=50625
2011-02-09 01:07:30 +00:00
Pierre Schweitzer 46610513c9 [FREELDR/NTFS]
Some fixes and addings to the NTFS header.
To be used later in order to fix NTFS driver in FreeLdr

svn path=/trunk/; revision=50624
2011-02-08 23:36:14 +00:00
Timo Kreuzer 4c9f7711b5 try to fix build.
How did it work before? Probably by chance. "As usual"(tm)

svn path=/trunk/; revision=50623
2011-02-08 20:32:04 +00:00
Timo Kreuzer 7fd2b87f3b [ASM]
- Change the macros to prefix the labels with Nt or Zw depending on whether we build usermode or kernel mode stubs
- Create zw.S using the macros

svn path=/trunk/; revision=50622
2011-02-08 19:00:54 +00:00
Timo Kreuzer e37056f9ec [WIN32KSYS]
replace nci-generated stubs with a stub file using macros

svn path=/trunk/; revision=50621
2011-02-08 17:33:50 +00:00
Timo Kreuzer 7b91620ccb [ASM]
Add syscalls.inc, containing assembler macros to generate syscall stubs (all supported architectures)

svn path=/trunk/; revision=50620
2011-02-08 16:50:49 +00:00
Aleksey Bragin eef9f90434 - "FontSmoothing" system parameter registry key should be REG_SZ (as it is in Windows, and as other SPIs are).
svn path=/trunk/; revision=50619
2011-02-08 15:55:56 +00:00
Roel Messiant 67f749a33b [HEAP]
- RtlpInsertFreeBlockHelper: Don't validate the Previous Size of the next Heap Entry when inserting a free Heap Entry into a free list. Should solve bug #5843 and may affect bug #5857.
  All callers of this function already perform this check, except for RtlpInsertFreeBlock, a function used during Heap Segment creation/expansion.
  RtlpInsertFreeBlock creates multiple free Heap Entries (using the helper function) if the free space is too big to be contained in a single Heap Entry.
  In such a case however, it creates a Heap Entry and calls the helper before creating the next Heap Entry, which triggers this assert.

svn path=/trunk/; revision=50617
2011-02-08 06:06:33 +00:00
Pierre Schweitzer 6b67a4985e [RTL]
Minor code changes to RTL (one would call them "optimisation"). Added some missing paged code.
Plus added useful asserts (used to catch r50615 bug!)

svn path=/trunk/; revision=50616
2011-02-07 23:23:33 +00:00
Pierre Schweitzer dab840147a [USETUP]
Fix a really mean bug: wcslen() returns the size in characters whereas MaximumLength has to be in bytes.
Now, this sets MaximumLength to its appropriate size and prevents some memory issues (and buffers having odd size, which is weird for an unicode string...).

svn path=/trunk/; revision=50615
2011-02-07 23:16:29 +00:00
Pierre Schweitzer ff11a09b02 [KMTEST]
Adding a new test for FsRtlIsNameInExpression(). Which is failing...
Will that end a day?!

svn path=/trunk/; revision=50614
2011-02-07 21:38:55 +00:00
Pierre Schweitzer 395793a7f2 [NTOSKRNL/PPC]
Fix the fix, spotted by "ThFabba" on IRC

svn path=/trunk/; revision=50612
2011-02-06 13:50:57 +00:00
Pierre Schweitzer 0b40557c13 [NTOSKRNL/PPC]
Fix sizeof() wrong usage

svn path=/trunk/; revision=50611
2011-02-06 13:05:45 +00:00
Eric Kohl d3bca39b11 [SETUPAPI]
Implement CM_Is_Version_Available and CM_Is_Version_Available_Ex.

svn path=/trunk/; revision=50610
2011-02-05 21:58:19 +00:00
Jérôme Gardou 0b0d97cc92 [SYSSETUP]
SC Manager needs SC_MANAGER_ENUMERATE_SERVICE access right to be able to open a service
Add debug prints to help tracking down the "EnableUserModePnpManager()" issue

svn path=/trunk/; revision=50609
2011-02-05 16:00:11 +00:00
Timo Kreuzer 32bd053438 [NTOS]
Try to fix a winetst crash.

svn path=/trunk/; revision=50607
2011-02-04 23:19:00 +00:00
Amine Khaldi f11bd43d00 [FREELDR]
- Don't apply gcc only flags to msvc.

svn path=/branches/cmake-bringup/; revision=50606
2011-02-04 22:43:36 +00:00
Timo Kreuzer 92d036f574 [WIN32K]
Fix a bug in calculation of the background color for 32bpp -> 1bpp color translations.
Fixes bug 2372

svn path=/trunk/; revision=50605
2011-02-04 13:53:49 +00:00
Timo Kreuzer 66cff693af [WIN32K]
Fix buggy mechanism of pushing and popping free gdi handle slots. The old mechanism unneccessarily locked the entry and it was prone to the ABA problem as it didn't use a sequence number.

svn path=/trunk/; revision=50604
2011-02-03 19:25:09 +00:00
Amine Khaldi 4426c9c0e7 [PORTCLS]
- Merge 50601 and 50602 from trunk. Portcls now compiles and links with msvc.

svn path=/branches/cmake-bringup/; revision=50603
2011-02-03 18:26:08 +00:00
Amine Khaldi 81b68c76fc [PORTCLS]
- Fix more msvc issues.

svn path=/trunk/; revision=50602
2011-02-03 18:21:19 +00:00
Johannes Anderwald 8fc76c66ea [PORTCLS]
- Try fix msvc issues for cmake branch

svn path=/trunk/; revision=50601
2011-02-03 17:17:18 +00:00
Johannes Anderwald 960f350819 [AUDIO]
- Add i/o completion routine, which delivers the number of bytes written / read
- Close event handle, after the overlapped request has been handled.
- Audio stack no longer leaks ~ 50 event handles per second

svn path=/trunk/; revision=50600
2011-02-03 09:34:59 +00:00
Timo Kreuzer 321385374d [CMAKE]
-Define HAVE_ALLOCA_H for dbghelp

svn path=/branches/cmake-bringup/; revision=50599
2011-02-02 17:40:25 +00:00