Commit graph

45596 commits

Author SHA1 Message Date
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
Timo Kreuzer
41d9b26507 [WINE]
Add alloca.h, which includes malloc.h. This is neccessary for MSVC builds of dbghelp

svn path=/branches/cmake-bringup/; revision=50598
2011-02-02 17:39:22 +00:00
Timo Kreuzer
85c0b78873 [SECUR32]
- Sort exports like on Windows
- Implement some functions as proper stubs
[SECURITY]
- Cleanup exports (remove 31 of 77 functions)
- properly forward all exports
- Link to secur32 for forwarded exports

svn path=/branches/cmake-bringup/; revision=50597
2011-02-02 17:06:20 +00:00
Timo Kreuzer
f9a184e117 [CMAKE]
Link fusion to uuid to fix msvc build

svn path=/branches/cmake-bringup/; revision=50595
2011-02-02 14:41:48 +00:00
Timo Kreuzer
f264eb68b2 [CMAKE]
Fix MSVC build of normaliz

svn path=/branches/cmake-bringup/; revision=50594
2011-02-02 14:05:29 +00:00
Timo Kreuzer
61c48c4272 [CMAKE]
Fix a typo

svn path=/branches/cmake-bringup/; revision=50593
2011-02-02 14:01:06 +00:00
Timo Kreuzer
7b45f773ed [CMAKE]
Link cfgmgr32 to setupapi, it redirects functions there and MSVC needs the importlib for that.

svn path=/branches/cmake-bringup/; revision=50592
2011-02-02 13:52:30 +00:00
Timo Kreuzer
ca768add12 [USER32]
- Remove exports for IsProcess16Bit and IsSETEnabled
- Redirect CalcMenuBar, PaintMenuBar and SetConsoleReserveKeys to NtUser*
- Implement stubs for BuildReasonArray, CreateSystemThreads, DestroyReasons, DeviceEventWorker, GetCursorFrameInfo, GetReasonTitleFromReasonCode, RecordShutdownReason, UserLpkPSMTextOut, UserLpkTabbedTextOut, Win32PoolAllocationStats
- Remove implementations of SetCursor, ClipCursor, GetClipCursor and HiliteMenuItem
- Remove auto stub file from sources
- Fix resource include path

svn path=/branches/cmake-bringup/; revision=50590
2011-02-02 13:15:26 +00:00
Timo Kreuzer
a2ceee354a [CMAKE]
revert r50587

svn path=/branches/cmake-bringup/; revision=50589
2011-02-01 22:07:32 +00:00
Timo Kreuzer
79d0882159 [CMAKE]
Correctly define CMAKE_RC_CREATE_SHARED_LIBRARY and CMAKE_ASM_CREATE_SHARED_LIBRARY for MSVC.

svn path=/branches/cmake-bringup/; revision=50588
2011-02-01 22:06:31 +00:00
Timo Kreuzer
fbba664095 [TAPIUI]
Set linker language C

svn path=/branches/cmake-bringup/; revision=50587
2011-02-01 21:51:48 +00:00
Timo Kreuzer
4fa40b55e4 [MSCMS]
mscms needs to link to advapi32, currently gcc builds optimize the calls to Reg* apis away, because of unimplemented fucntions.

svn path=/branches/cmake-bringup/; revision=50586
2011-02-01 20:23:33 +00:00
Timo Kreuzer
7d6c6d9196 [JSCRIPT]
Fix build with MSVC

svn path=/branches/cmake-bringup/; revision=50585
2011-02-01 20:08:13 +00:00
Timo Kreuzer
12eb8a290f [CMAKE]
add ftol2_asm.s to crt and ci.c to msvcsup

svn path=/branches/cmake-bringup/; revision=50584
2011-01-31 23:29:03 +00:00
Timo Kreuzer
84a13923a5 [CRT]
Implement call_finally_block, call_filter and call_unwind_func for MSVC

svn path=/branches/cmake-bringup/; revision=50583
2011-01-31 22:10:17 +00:00
Sylvain Petreolle
0c8a13f783 [ROSTESTS]
Add mmixer_test to cmake build.

svn path=/trunk/; revision=50582
2011-01-31 21:50:16 +00:00
Sylvain Petreolle
f22ed7dc10 [CMAKE]
Sync trunk up to r50570.

svn path=/branches/cmake-bringup/; revision=50581
2011-01-31 21:47:39 +00:00
Timo Kreuzer
99f04cc9ab [CMAKE]
(M)IDL doesn't allow definiting multiple identifiers with the same name and different case. Define MSIRUNMODE to MSIRUNMODE_T so it doesn't conflict with MsiRunMode anymore.

svn path=/branches/cmake-bringup/; revision=50580
2011-01-31 21:44:35 +00:00
Timo Kreuzer
b75df5788b [CMAKE]
Fix MSVC build of imm32

svn path=/branches/cmake-bringup/; revision=50579
2011-01-31 21:11:21 +00:00
Timo Kreuzer
8ea8ddbce1 [CMAKE]
Disable run-time type information for MSVC

svn path=/branches/cmake-bringup/; revision=50578
2011-01-31 19:47:02 +00:00
Timo Kreuzer
cb4db3af6f [CRT]
Put __declspec(nothrow) at a valid (for MSVC) position.

svn path=/branches/cmake-bringup/; revision=50577
2011-01-31 19:46:05 +00:00