Commit graph

45347 commits

Author SHA1 Message Date
Timo Kreuzer 14a2a83fa2 [CMAKE]
Remove module name from ntoskrnl add_importlib_target

svn path=/branches/cmake-bringup/; revision=50539
2011-01-28 18:16:48 +00:00
Timo Kreuzer 066102156e [HID]
Fix spec file. All of the functions are present, either stubbed or implemented.

svn path=/branches/cmake-bringup/; revision=50538
2011-01-28 18:13:54 +00:00
Timo Kreuzer 2d96eac29f [CRT]
add a single prototype, instead of including math.h

svn path=/branches/cmake-bringup/; revision=50537
2011-01-28 17:44:30 +00:00
Timo Kreuzer 09d50a5784 [CMAKE]
- Preserve case of symbols when assembling (this is not default)
- link to msvcsup

svn path=/branches/cmake-bringup/; revision=50536
2011-01-28 17:40:36 +00:00
Sylvain Petreolle cac01ad6eb [CMAKE]
Fix crt/bootcdregtest regression, due to _USER32_WSPRINTF.
add_definitions does not apply to target, but current directory.

svn path=/branches/cmake-bringup/; revision=50535
2011-01-28 13:41:55 +00:00
Amine Khaldi 79d8b4cf40 [CMAKE]
- Share freeldr_arch as a static lib between freeldr and setupldr.
- Some formatting fixes.

svn path=/branches/cmake-bringup/; revision=50534
2011-01-28 11:40:45 +00:00
Amine Khaldi 14c01bd73c [CMAKE]
- Properly handle setting the suffix variable. Fixes import libs creation.

svn path=/branches/cmake-bringup/; revision=50533
2011-01-28 11:25:24 +00:00
Amine Khaldi 818d876f00 [CMAKE]
- The suffix variable already holds a dot, don't add another one. Fixes import libs generation.

svn path=/branches/cmake-bringup/; revision=50525
2011-01-28 09:31:54 +00:00
Timo Kreuzer 8c4b892bea [undocuser.h]
Add nreline at the end of the file. MSVC is very picky about that.

svn path=/branches/cmake-bringup/; revision=50523
2011-01-27 23:45:40 +00:00
Timo Kreuzer d57a12e96a [RTL]
_Interlocked(Compare)ExchangePointer is an intrinsic that doesn't exist on x86, use portable version.

svn path=/branches/cmake-bringup/; revision=50522
2011-01-27 23:03:01 +00:00
Timo Kreuzer 0af4984309 [CMAKE]
Remove dll name from add_importlib_target macro

svn path=/branches/cmake-bringup/; revision=50520
2011-01-27 21:57:54 +00:00
Timo Kreuzer 39ec3cff8c [CMAKE]
get the library suffix from the target instead of passing it to the macro.

svn path=/branches/cmake-bringup/; revision=50519
2011-01-27 21:50:54 +00:00
Timo Kreuzer 168ca7cab8 [CMAKE]
Use spec file for getuname importlib

svn path=/branches/cmake-bringup/; revision=50518
2011-01-27 21:48:44 +00:00
Timo Kreuzer 62ff363e37 [UUID]
Add IID_IWineD3DDeviceParent for MSVC

svn path=/branches/cmake-bringup/; revision=50515
2011-01-27 16:18:47 +00:00
Timo Kreuzer fe46ef7daa [CMAKE]
Compile a dummy rossym library on MSVC

svn path=/branches/cmake-bringup/; revision=50514
2011-01-27 16:17:25 +00:00
Timo Kreuzer e92a8c0a72 [CRT]
Fix some warnings

svn path=/branches/cmake-bringup/; revision=50513
2011-01-27 13:45:06 +00:00
Timo Kreuzer 676e232576 [CMAKE]
ML64 compatibility fixes for amd64 assembly

svn path=/branches/cmake-bringup/; revision=50512
2011-01-27 13:37:21 +00:00
Timo Kreuzer 4814cb8ca6 [EXPLORER_NEW]
Fix syntax

svn path=/branches/cmake-bringup/; revision=50509
2011-01-27 10:47:55 +00:00
Timo Kreuzer ef0127add2 [WORDPAD]
Fix chinese resource file

svn path=/branches/cmake-bringup/; revision=50508
2011-01-27 10:44:08 +00:00
Timo Kreuzer 8b1927d888 [PING]
Fix resource syntax for MSVC and recent versions of the gcc preprocessor.

svn path=/branches/cmake-bringup/; revision=50507
2011-01-27 10:42:06 +00:00
Timo Kreuzer 8191f95396 [CMAKE]
- Sync with trunk 50501
- fix a couple of merge artifacts (indentation)

svn path=/branches/cmake-bringup/; revision=50505
2011-01-26 23:24:08 +00:00
Sylvain Petreolle e2b7eacdd5 [CMAKE]
Sync trunk up to r50477.

svn path=/branches/cmake-bringup/; revision=50504
2011-01-26 22:19:12 +00:00
Timo Kreuzer 7ad2ae7720 [FREELDR]
Fix compilation on MSVC

svn path=/branches/cmake-bringup/; revision=50496
2011-01-25 22:23:10 +00:00
Timo Kreuzer 81995bfd2e [CRT]
Fix copy pasta. Spotted by rs on irc.

svn path=/branches/cmake-bringup/; revision=50495
2011-01-25 20:56:14 +00:00
Timo Kreuzer 0fab7e8671 [CRT]
On MSVC mark abs, labs and strcmp as intrinsics (needed when compiling with /O2+) and disable a warning that they are not intrinsics (when compiled with /O1)

svn path=/branches/cmake-bringup/; revision=50494
2011-01-25 20:48:56 +00:00
Timo Kreuzer 6b8ea6b64e [CMAKE]
Link smss to msvcsup on MSVC builds


svn path=/branches/cmake-bringup/; revision=50493
2011-01-25 19:19:02 +00:00
Timo Kreuzer f9870b513e [PSDK]
Include pseh.h not only for gcc

svn path=/branches/cmake-bringup/; revision=50492
2011-01-25 18:58:21 +00:00
Timo Kreuzer 5a73dc4e58 [RTL]
Add InterlockedBitTestAndSet* defines

svn path=/branches/cmake-bringup/; revision=50491
2011-01-25 18:48:26 +00:00
Timo Kreuzer 67e321c158 [CMAKE]
- Fix mc command
- temporary disable optimization settings to prevent warning

svn path=/branches/cmake-bringup/; revision=50490
2011-01-25 18:09:29 +00:00
Timo Kreuzer 14bde089ab [CMAKE]
Don't include resources twice in findstr, remove rbuild file

svn path=/branches/cmake-bringup/; revision=50489
2011-01-25 17:00:43 +00:00
Timo Kreuzer f4dd5fd0c6 [CMAKE]
msc.cmake: fix spec2def invocation, add pseh library, remove set_export_spec

svn path=/branches/cmake-bringup/; revision=50488
2011-01-25 16:31:04 +00:00
Timo Kreuzer 45cb5eb141 [CMAKE]
On MSVC builds, compile native SEH support into PSEH library.
This should be part of the crt, but our crt is too disorganized to handle that. The empty C file is for cmake to get the library right.

svn path=/branches/cmake-bringup/; revision=50486
2011-01-25 16:26:54 +00:00
Timo Kreuzer 0c480c0cb2 [KERNEL32]
Escape some characters in nls files for MSVC compatibility

svn path=/branches/cmake-bringup/; revision=50485
2011-01-25 14:40:32 +00:00
Timo Kreuzer 50c1320ff9 [CMAKE]
Fix return type of NdrClientCall*

svn path=/branches/cmake-bringup/; revision=50484
2011-01-25 11:55:45 +00:00
Timo Kreuzer 87ab59ef61 [CRT]
Implement __SEH_epilog

svn path=/branches/cmake-bringup/; revision=50483
2011-01-25 09:33:37 +00:00
Timo Kreuzer 776c09f1fd [CRT]
Implement ms compatible __SEH_prolog

svn path=/branches/cmake-bringup/; revision=50482
2011-01-25 01:28:41 +00:00
Timo Kreuzer d5fecffd28 [NTDLL]
Fix some exports by marking them as fastcall instead of prepending an @ to the name

svn path=/branches/cmake-bringup/; revision=50480
2011-01-24 20:24:35 +00:00
Timo Kreuzer d3f4900a66 [CRT]
compile memcmp, abs and labs on MSVC, too.

svn path=/branches/cmake-bringup/; revision=50479
2011-01-24 19:50:01 +00:00
Timo Kreuzer 0d54e35b94 [CMAKE]
Refactor IDL compilation:
- Move all macros to idl-support.cmake
- Make rpc proxy a static library, instead of fiddeling with SOURCE variable
- Merge client and server rpc libraries into one library
- Reorder global makelist file a little
- Improve configure script
- Improve naming, use add_* when a target is added, generate_* when only a file is generated
- Don't compile wbemcli.idl on MSVC (temp hack)
- Don't compile rossym on MSVC, we don't use it
- Use ml64 as assembler when compiling for amd64
- fix spec2def invocation

svn path=/branches/cmake-bringup/; revision=50478
2011-01-24 18:13:40 +00:00
Aleksey Bragin 311184a8fa - Remove undocumented defines from winuser.h and include undocuser.h when _WINE is defined.
svn path=/trunk/; revision=50477
2011-01-24 12:58:51 +00:00
Roel Messiant 6c6117766d [NTOS]
- Only update the System Page Directory when expanding the paged pool. Fixes the PointerPde asserts.
  On paged pool expansion, the system page directory and the process page directory of the calling process were updated.
  When updating the process page directory, an assert made sure the PDE that got written was invalid.

  In case of the System process, both page directories are located on the same physical page.
  So when this process expanded the paged pool, the system page directory update automagically
  updated the process page directory too.  The assert therefore triggered.

  Not explicitly updating the process page directory will result in a page fault later on, which is
  handled by copying the required PDE from the system page directory to the process page directory.

  Rumour has it this fix is incorrect because "something's wrong with the System PDE stuff".  The lack
  of any further info however leads to this change and explanation.

svn path=/trunk/; revision=50475
2011-01-23 19:27:13 +00:00
Eric Kohl ce2570f468 [NPFS]
Check if the whole pipe name fits into the return buffer. Return STATUS_BUFFER_OVERFLOW if it does not fit and copy only a part of the file name in this case.

svn path=/trunk/; revision=50474
2011-01-23 14:41:07 +00:00
Sylvain Petreolle 256c5c72c0 [CMAKE]
WIN32: get build date without overcomplicated string parsing.

svn path=/branches/cmake-bringup/; revision=50473
2011-01-23 13:10:14 +00:00
Sylvain Petreolle 9fb04fdf80 [CMAKE]
Fix buildno.h when subversion is not installed.

svn path=/branches/cmake-bringup/; revision=50472
2011-01-23 11:27:01 +00:00
Timo Kreuzer 4dbcb77b8f [CRT]
fix definition of _crt_va_arg for amd64

svn path=/branches/cmake-bringup/; revision=50471
2011-01-22 23:22:10 +00:00
Timo Kreuzer 5f6e050626 - _mingw.h: Don't define USE_MINGW_SETJMP_TWO_ARGS for MSVC
- _mingw.h: Fix definition of _CRT_ALIGN for MSVC
- intrin.h: _InterlockedAddLargeStatistic is not an intrinsic on MSVC for x64
- intrin.h: Fix return type of _InterlockedOr64
- wdm.h: Fix warnings in KfRaiseIrql and RtlExtendedMagicDivide inline implementations
- winnt.h: Simplify definition of GetCurrentFiber

svn path=/branches/cmake-bringup/; revision=50470
2011-01-22 19:17:10 +00:00
Timo Kreuzer 1fb963feea [CMAKE]
Remove _M_AXP64 definition

svn path=/branches/cmake-bringup/; revision=50469
2011-01-22 18:41:33 +00:00
Eric Kohl 8b8fbc77af [SETUPAPI]
Fix a warning.

svn path=/trunk/; revision=50468
2011-01-22 18:16:12 +00:00
Timo Kreuzer e212d018ae [CMAKE]
Copy vadefs.h from amd64 branch

svn path=/branches/cmake-bringup/; revision=50467
2011-01-22 17:52:33 +00:00
Timo Kreuzer a3604ffda3 [CMAKE]
- lowerize ARCH string (fixes cmlib)
- move definition

svn path=/branches/cmake-bringup/; revision=50465
2011-01-22 17:13:06 +00:00