Commit graph

193 commits

Author SHA1 Message Date
Timo Kreuzer
b8702f60f7 [UUID]
Add a number of GUIDs. They are duplicated from idl generated headers, because of a small difference between widl and midl. widl generates "DEFINE_GUID" entries for each interface, while midl generates "extern GUID" only. The latter matching MS SDK headers. If someone can think of a more elegant way of solving this, let me know.

svn path=/branches/cmake-bringup/; revision=49837
2010-11-28 10:12:35 +00:00
Timo Kreuzer
a97affe62a [CMAKE]
Fix build of msvcsup (add missing file)

svn path=/branches/cmake-bringup/; revision=49829
2010-11-27 23:47:10 +00:00
Amine Khaldi
4103cf5929 [CMAKE]
- Comment out what seems to be a missing file.

svn path=/branches/cmake-bringup/; revision=49812
2010-11-27 10:48:44 +00:00
Timo Kreuzer
dc89f45599 [CMAKE]
Add msvcsup static library for MSVC. This might be superseded by something else later.

svn path=/branches/cmake-bringup/; revision=49804
2010-11-26 23:45:30 +00:00
Sylvain Petreolle
f1283c58c6 [CMAKE]
Sync with trunk. (r49792)

svn path=/branches/cmake-bringup/; revision=49803
2010-11-26 23:33:34 +00:00
Sylvain Petreolle
cca965e6bc [CMAKE]
Add missing asm dependency.

svn path=/branches/cmake-bringup/; revision=49801
2010-11-26 23:05:46 +00:00
Timo Kreuzer
0ff3955b9b [MINGW]
Merge .CRT section into .rdata when linking to mingw lib. This silences the warnings about uninitialized constructors.

svn path=/branches/cmake-bringup/; revision=49799
2010-11-26 22:52:46 +00:00
Timo Kreuzer
cfba60d19d [LIBXML2]
add a hack around the hack

svn path=/branches/cmake-bringup/; revision=49795
2010-11-25 23:16:12 +00:00
Sylvain Petreolle
046d0e3522 [CMAKE]
ntdllsys: Add asm dependency.

svn path=/branches/cmake-bringup/; revision=49696
2010-11-21 18:37:27 +00:00
Timo Kreuzer
b9bb6eeba9 [RTL]
Add missing Interlocked definition

svn path=/branches/cmake-bringup/; revision=49690
2010-11-21 14:40:57 +00:00
Timo Kreuzer
822496fa61 [MINGW]
Remove alloca_probe_16 stub

svn path=/branches/cmake-bringup/; revision=49682
2010-11-21 12:29:35 +00:00
Timo Kreuzer
45a06d507a [RTL]
- Use portable interlocked functions in code, define them to intrinsics for x86 and x64 in the header

svn path=/branches/cmake-bringup/; revision=49680
2010-11-21 10:05:20 +00:00
Timo Kreuzer
0b8509a565 [CRT]
- Use ___readcr4 instead of __readcr4, because MSVC doesn't like this intrinsic to be redefined.
- Add _ftol2

svn path=/branches/cmake-bringup/; revision=49679
2010-11-21 09:36:26 +00:00
Timo Kreuzer
1a4c47df9e [RTL]
Don't use _InterlockedCompareExchangePointer, that function doesn't exist on x86

svn path=/branches/cmake-bringup/; revision=49678
2010-11-21 01:36:51 +00:00
Timo Kreuzer
f90a97e5a6 [CRT]
- Add __readcr4 to crt to compensate for MSVC bug
- Compile strnset with MSVC

svn path=/branches/cmake-bringup/; revision=49669
2010-11-20 16:38:45 +00:00
Amine Khaldi
e11826a832 [CMAKE]
- Sync with trunk.

svn path=/branches/cmake-bringup/; revision=49668
2010-11-20 16:33:34 +00:00
Timo Kreuzer
d65aa994f7 [CRT]
Implement __alloca_probe_16

svn path=/branches/cmake-bringup/; revision=49660
2010-11-20 13:03:11 +00:00
Timo Kreuzer
cf90c329f2 [RTL]
Add stubs for RtlAddVectoredContinueHandler and RtlRemoveVectoredContinueHandler

svn path=/branches/cmake-bringup/; revision=49649
2010-11-19 23:51:02 +00:00
Timo Kreuzer
8b7d047834 [CMAKE]
- Add asm dependencies to freeldr, ntdll, crt
- Add importlib for hal and ntoskrnl
- Fix ntoskrnl spec file
- Fix resource pathes in ntoskrnl.rc

svn path=/branches/cmake-bringup/; revision=49645
2010-11-19 22:02:33 +00:00
Timo Kreuzer
5312a38c2f [CRT]
Remove unneccessary prototypes

svn path=/branches/cmake-bringup/; revision=49643
2010-11-19 18:57:51 +00:00
Timo Kreuzer
da6504af5d [CRT]
Silence a warning

svn path=/branches/cmake-bringup/; revision=49642
2010-11-19 18:56:58 +00:00
Timo Kreuzer
39f50aac50 [RTL]
Add dependency to asm

svn path=/branches/cmake-bringup/; revision=49641
2010-11-19 18:55:26 +00:00
Amine Khaldi
6a5e2c0992 [CMAKE]
- Fix libcntpr build.

svn path=/branches/cmake-bringup/; revision=49635
2010-11-19 16:42:39 +00:00
Sylvain Petreolle
d490a7349e [CMAKE]
Fix crt parallel build.

svn path=/branches/cmake-bringup/; revision=49608
2010-11-16 17:44:24 +00:00
Timo Kreuzer
406dfdbc87 [CMAKE]
Sync trunk (rr49606)

svn path=/branches/cmake-bringup/; revision=49607
2010-11-16 13:43:39 +00:00
Timo Kreuzer
1335cf4210 [CRT]
Add a number of compilation fixes for MSVC

svn path=/branches/cmake-bringup/; revision=49598
2010-11-15 20:08:49 +00:00
Timo Kreuzer
ab6c2ee54c [CRT]
incude asm.inc instead of reactos/asm.h
Fix a bug that smeaked into _chkstk

svn path=/branches/cmake-bringup/; revision=49591
2010-11-15 01:29:12 +00:00
Timo Kreuzer
07652e2631 [RTL]
Make asm files compilable with ML

svn path=/branches/cmake-bringup/; revision=49589
2010-11-15 01:03:14 +00:00
Timo Kreuzer
b554be26f1 [CRT]
Revert renaming change to tchar.h, which does not contain any assembly

svn path=/branches/cmake-bringup/; revision=49567
2010-11-11 17:12:12 +00:00
Timo Kreuzer
ab465e66e3 [CRT]
Rename a number of .h files that contain assembly code into .inc to better reflect their purpose

svn path=/branches/cmake-bringup/; revision=49566
2010-11-11 17:10:09 +00:00
Timo Kreuzer
1d6d730ed6 [MSVCRT] Don't export linux stuff from our precious MSVCRT
[MINGW] Bring back _matherr()

svn path=/branches/cmake-bringup/; revision=49553
2010-11-10 22:43:46 +00:00
Jérôme Gardou
8c6671477e [HEADERS]
- start using our own c++ headers and forward stlport ones to them in msvc build.
 - fix fpecode declaration for MSVC.
[CMAKE]
 - cardlib is a cpp library.
Now stlport compiles with msvc.

svn path=/branches/cmake-bringup/; revision=49552
2010-11-10 22:20:05 +00:00
Timo Kreuzer
3742d626dc [CRT]
Add  pragma function for _wcsset on MSVC builds

svn path=/branches/cmake-bringup/; revision=49551
2010-11-10 22:15:10 +00:00
Timo Kreuzer
cfe78ef2b3 [RTL]
Instead of including ndk/asm.h, add the 2 neccessary constants to seh.s

svn path=/branches/cmake-bringup/; revision=49550
2010-11-10 22:11:12 +00:00
Jérôme Gardou
5d8dd5d148 [STLPORT]
- move headers to include directory
  - delete some incidentally committed things

svn path=/branches/cmake-bringup/; revision=49546
2010-11-10 17:36:28 +00:00
Timo Kreuzer
f655f86d82 [MINGW]
special stuff for MSVC

svn path=/branches/cmake-bringup/; revision=49543
2010-11-09 20:43:09 +00:00
Timo Kreuzer
4dc6967310 [CRT]
Fix assembly syntax


svn path=/branches/cmake-bringup/; revision=49536
2010-11-08 19:21:13 +00:00
Timo Kreuzer
84b1635034 [CRT]
- Add #pragma function to a number of intrisics that we implement to avoid a compiler error of MSVC
- Add a workaround to prevent some functions from being inlined
- Move sqrtf out of i386 directory
- Convert a number of inline assembly functions to raw assembly

svn path=/branches/cmake-bringup/; revision=49534
2010-11-08 18:36:45 +00:00
Timo Kreuzer
5f52062082 [MSVC]
Fix warnings

svn path=/branches/cmake-bringup/; revision=49532
2010-11-08 13:48:45 +00:00
Amine Khaldi
1c18b9b723 [CMAKE]
- Add a preprocessed definition file for acledit.
- Add the pdef2def macro.
- Include wpp into build, widl links to it.
- Fix libmpg123.

svn path=/branches/cmake-bringup/; revision=49509
2010-11-06 11:31:38 +00:00
Timo Kreuzer
351689996d [MINGW]
#if 0 _matherr(). We already have it in our crt and it's exported from msvcrt. MSVC doesn't like when it's there twice.

svn path=/branches/cmake-bringup/; revision=49506
2010-11-06 09:17:04 +00:00
Timo Kreuzer
d46d983c8f [MINGW]
Don't define __ImageBase to something else on MSVC builds

svn path=/branches/cmake-bringup/; revision=49505
2010-11-06 00:25:57 +00:00
Amine Khaldi
7c79c0ae87 [CMAKE]
- Explicitly disable auto imports, and fix the modules that were missed out by the previous related commit.
- Dedicated to Usurp.

svn path=/branches/cmake-bringup/; revision=49497
2010-11-05 21:22:07 +00:00
Jérôme Gardou
97863bb997 [CMAKE]
Fix mingw_dllmain build

svn path=/branches/cmake-bringup/; revision=49496
2010-11-05 18:52:57 +00:00
Amine Khaldi
f0156b8450 [CMAKE]
- Update spec2def use in bzip2.

svn path=/branches/cmake-bringup/; revision=49494
2010-11-05 18:35:47 +00:00
Amine Khaldi
c93d1289fd [CMAKE]
- Remove wpp from build.
- Improve several tools and libs.
- Improve the root cmake file.

svn path=/branches/cmake-bringup/; revision=49492
2010-11-05 18:06:25 +00:00
Amine Khaldi
2901215553 [CMAKE]
- Improve more libs.

svn path=/branches/cmake-bringup/; revision=49490
2010-11-05 17:35:39 +00:00
Amine Khaldi
0e69cd8f27 [CMAKE]
- Improve drivers' libs.

svn path=/branches/cmake-bringup/; revision=49489
2010-11-05 17:29:01 +00:00
Amine Khaldi
30bb25e2f0 [CMAKE]
- Improve most of the static libraries.

svn path=/branches/cmake-bringup/; revision=49479
2010-11-05 12:02:12 +00:00
Sylvain Petreolle
8456a5473e [CMAKE]
Revert incorrect auto import change and use proper definitions instead.

svn path=/branches/cmake-bringup/; revision=49476
2010-11-05 09:38:42 +00:00
Amine Khaldi
12ab761aa1 [CMAKE]
- Improve hal, adns and bzip2.

svn path=/branches/cmake-bringup/; revision=49471
2010-11-04 21:38:28 +00:00
Timo Kreuzer
42f5ff6943 [MINGW]
add CRTDLL definition so that the startup code for dlls is actually compiled

svn path=/branches/cmake-bringup/; revision=49452
2010-11-02 20:39:19 +00:00
Timo Kreuzer
a3623f23de [CRT]
- Make all x86assembly ML compatible
- Remove memcpy, it was duplicated from memmove, copy the label instead
- Guard some code against compilation on msvc, as these functions are intrinsics on MSVC and cannot be implemented
- Fix some x64 assembly (don't modify stack below rsp)

svn path=/branches/cmake-bringup/; revision=49421
2010-11-02 00:06:33 +00:00
Timo Kreuzer
89358dad46 [RTL]
Make asm files ML compatible

svn path=/branches/cmake-bringup/; revision=49399
2010-11-01 11:41:01 +00:00
Timo Kreuzer
415f19bb99 [NTDLLSYS]
Set LINKER_LANGUAGE to C. Neccessary for MSVC.

svn path=/branches/cmake-bringup/; revision=49397
2010-11-01 09:39:06 +00:00
Jérôme Gardou
a305f84916 [CMAKE]
- fix libxslt build

svn path=/branches/cmake-bringup/; revision=49384
2010-10-31 23:19:12 +00:00
Jérôme Gardou
4ee1da42f1 [CMAKE]
- rewrite spec2def macro because
1. cmake gracefully handles def files as source files
2. cmake gracefully handles autogenerated files as source
3. it did not take into account the fact that all shared libraries haven't the .dll extension

svn path=/branches/cmake-bringup/; revision=49358
2010-10-30 16:08:19 +00:00
Sylvain Petreolle
1c93be12da [CMAKE]
scrnsave: add missing dependency.

svn path=/branches/cmake-bringup/; revision=49348
2010-10-30 10:16:42 +00:00
Amine Khaldi
34134f4cfa [CMAKE]
- More work on the missing modules. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49325
2010-10-28 11:33:02 +00:00
Jérôme Gardou
ed8cab27c4 sync with trunk r49322
svn path=/branches/cmake-bringup/; revision=49323
2010-10-27 23:45:28 +00:00
Sylvain Petreolle
1fb94b1cb5 [CMAKE]
sync with trunk (r49230)

svn path=/branches/cmake-bringup/; revision=49246
2010-10-23 22:14:59 +00:00
Jérôme Gardou
2d93fd22ac [CMAKE]
- include stlport directory in set_cpp macro
  - move set_cpp macro where it belongs : it's generic enough to go to CMakeMacros.cmake

svn path=/branches/cmake-bringup/; revision=49148
2010-10-14 20:16:57 +00:00
Jérôme Gardou
33a0b314cd [CMAKE]
- add kernelmodedriver module type
  - add set_cpp macro, which takes care of all c++ stuff for you
  - hackfix stlport headers for c++ kernel mode modules.
  - complain about explorer
  - solitaire, telnet and uniata now build happily against stlport

svn path=/branches/cmake-bringup/; revision=49141
2010-10-14 11:03:20 +00:00
Timo Kreuzer
1ae19bdc4a [CMAKE]
Disable PSEH for MSVC

svn path=/branches/cmake-bringup/; revision=49076
2010-10-09 16:23:07 +00:00
Amine Khaldi
78306f6e03 [CMAKE]
- Fix libmpg123 and add it to build.

svn path=/branches/cmake-bringup/; revision=49073
2010-10-09 14:34:03 +00:00
Amine Khaldi
239538fb9b [CMAKE]
- Bring back explorer.

svn path=/branches/cmake-bringup/; revision=49068
2010-10-09 12:48:57 +00:00
Amine Khaldi
e9977ecc9f [CMAKE]
- More work on the dlls.
- libgcc is already a standard C lib, don't relink to it for executables.
- ICU isn't needed for now, disable it.

svn path=/branches/cmake-bringup/; revision=49059
2010-10-08 21:02:11 +00:00
Amine Khaldi
da7764cd5c [CMAKE]
- Improve some dlls.
- Fix cmd and stlport.
- Add libgcc as a C standard lib.

svn path=/branches/cmake-bringup/; revision=49056
2010-10-08 19:10:33 +00:00
Jérôme Gardou
db37322eb6 [CMAKE]
- link executables against gcc and mingw_common
  - remove link dependencies from mingw_common
This puts C executables into a good shape again.

svn path=/branches/cmake-bringup/; revision=49054
2010-10-08 18:04:16 +00:00
Jérôme Gardou
e20a0a30ee [CMAKE]
- Use stlport specific includes only for c++ source files
  - remove linking to ntdll, kernel32 and oldnames for mingw_common

svn path=/branches/cmake-bringup/; revision=49050
2010-10-08 13:47:39 +00:00
Jérôme Gardou
27267a3cab [CMAKE]
- add gcc dependencies to executables, not to mingw_(w)main
[STLPORT]
  - move features definitions where it belongs.
[SDK]
  - errno _must_ be defined in errno.h, nowhere else, or stlport headers choke.

svn path=/branches/cmake-bringup/; revision=49049
2010-10-08 10:46:54 +00:00
Amine Khaldi
4efda499f7 [CMAKE]
Jerome Gardou:
- Add STLport 5.2.1 (yes, STLport, the c++ stl implementation) to build. For now, it works only in user mode.
- Link some c++ executables to it
- sol.exe : one step towards a complete and modern OS.
- Dedicated to Amine for his patience and his help.
- Might Break Things! (tm)

svn path=/branches/cmake-bringup/; revision=49046
2010-10-07 22:09:31 +00:00
Jérôme Gardou
4553cddf93 [CMAKE]
- add missing file to mingw_common

svn path=/branches/cmake-bringup/; revision=49030
2010-10-07 11:47:29 +00:00
Sylvain Petreolle
3345c4056d [CMAKE]
Add missing psdk dependency to nt and smlib.
Fixes parallel builds.

svn path=/branches/cmake-bringup/; revision=49009
2010-10-06 08:02:25 +00:00
Amine Khaldi
d686345e81 [CMAKE]
- More work on the base modules. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48984
2010-10-04 22:19:49 +00:00
Amine Khaldi
5682f2f8b1 [CMAKE]
- Fix bzip2.

svn path=/branches/cmake-bringup/; revision=48974
2010-10-04 07:11:54 +00:00
Amine Khaldi
afe5d2ee6e [CMAKE]
- Improve uuid and add psdk dependency.

svn path=/branches/cmake-bringup/; revision=48872
2010-09-25 14:30:47 +00:00
Amine Khaldi
80c36d8bb3 [CMAKE]
- Remove unneeded dependency.
- Remove rbuild file.

svn path=/branches/cmake-bringup/; revision=48834
2010-09-20 19:46:05 +00:00
Timo Kreuzer
e4d6536049 [CMAKE]
Add missing cportlib cmake file.

svn path=/branches/cmake-bringup/; revision=48832
2010-09-20 18:41:46 +00:00
Timo Kreuzer
912ce51ae6 [CMAKE]
Sync with trunk head (r48826)

svn path=/branches/cmake-bringup/; revision=48831
2010-09-20 17:27:52 +00:00
Timo Kreuzer
942aa9560e [MSVC]
Don't pass gcc specific options to msvc

svn path=/branches/cmake-bringup/; revision=48818
2010-09-19 17:39:09 +00:00
Amine Khaldi
13f105b14b [CMAKE]
- Introduce MSVC toolchain support. Just use -DCMAKE_TOOLCHAIN_FILE=toolchain-msvc.cmake for the toolchain.
- Sync setjmp.h from trunk.
- Improve mingw targets (mingw_common, mingw_wmain, oldnames... etc) a bit to make them compile and link with msvc.
- Dedicated to Timo ;)

svn path=/branches/cmake-bringup/; revision=48809
2010-09-19 00:27:24 +00:00
Amine Khaldi
13dc8a4761 [CMAKE]
- Generalize CMAKE_C_LINK_EXECUTABLE and CMAKE_EXE_LINKER_FLAGS, and use additional flags per module.
- Fix usetup: make it depend on psdk and buildno_header, and also fix the entry point (_NtProcessStartup -> _NtProcessStartup@4)
- Make ext2lib depend on psdk.

svn path=/branches/cmake-bringup/; revision=48802
2010-09-18 12:14:03 +00:00
Sylvain Petreolle
174808a463 Move all temporary import libs to a single directory.
This allows linking to libraries with "-lfoo".

svn path=/branches/cmake-bringup/; revision=48796
2010-09-17 20:27:01 +00:00
Amine Khaldi
6e7a324a26 [CMAKE]
- Improve bootvid, crt and ntoskrnl.

svn path=/branches/cmake-bringup/; revision=48762
2010-09-12 21:02:18 +00:00
Amine Khaldi
aec35b5416 [CMAKE]
- libcntpr needs buildno.h

svn path=/branches/cmake-bringup/; revision=48671
2010-08-31 21:24:12 +00:00
Amine Khaldi
def27fd0d4 [CMAKE]
- Improve rossym lib.

svn path=/branches/cmake-bringup/; revision=48658
2010-08-30 14:30:09 +00:00
Amine Khaldi
5ba1569888 [CMAKE]
- Improve pseh.

svn path=/branches/cmake-bringup/; revision=48656
2010-08-30 13:00:41 +00:00
Amine Khaldi
8719ae188a [CMAKE]
- Improve rtl.

svn path=/branches/cmake-bringup/; revision=48655
2010-08-30 12:37:44 +00:00
Amine Khaldi
1e684c2d24 [CMAKE]
- Add samsrv, sccbase, schannel, sensapi, serialui, shdoclc, shfolder, shlwapi, slbcsp, smdll, sndblst, snmpapi, spoolss, srclient, sxs, t2embed, tapi32, tapiui, traffic, updspapi, url, usp10 and uxtheme to build.
- Add mlang, mpr, and shell32 import libs.
- Fix shdoclc and shlwapi translations (patches will be sent upstream).
- Improve mmebuddy.

svn path=/branches/cmake-bringup/; revision=48644
2010-08-29 14:13:38 +00:00
Amine Khaldi
a999e307d8 [CMAKE]
- Rewrite crt and libcntpr targets, with support for other than i386.
- Bring-in logf.c from trunk.

svn path=/branches/cmake-bringup/; revision=48643
2010-08-29 11:07:31 +00:00
Amine Khaldi
5ff40b3f5c [CMAKE]
- Fix adns lib.

svn path=/branches/cmake-bringup/; revision=48598
2010-08-22 23:46:10 +00:00
Amine Khaldi
5644c2c39d [CMAKE]
- Now that we have c++ flags set globally, no need to mention them on the respective targets.
- debug.h : leftover from the kernel32 sync.

svn path=/branches/cmake-bringup/; revision=48543
2010-08-14 10:47:57 +00:00
Amine Khaldi
82edce4255 [CMAKE]
- Link mingw_common to kernel32 and ntdll.
- Fix mingw_wmain.
- Improve the paths use.

svn path=/branches/cmake-bringup/; revision=48542
2010-08-14 10:44:46 +00:00
Amine Khaldi
e79e797ecc [CMAKE]
- Sync the recent crt changes from trunk.
- Improve crt build.

svn path=/branches/cmake-bringup/; revision=48541
2010-08-14 10:41:24 +00:00
Amine Khaldi
4fecfbd2b9 [CMAKE]
- Don't include debug.c in libwine.

svn path=/branches/cmake-bringup/; revision=48538
2010-08-14 10:11:52 +00:00
Amine Khaldi
7c99b62e1f [CMAKE]
- Move generated precompiled headers to binary folders.
- Enable auto image base for ntdll.
- Update the location of generated PCH files for rtl, ntdll and crt.

svn path=/branches/cmake-bringup/; revision=48459
2010-08-04 19:10:43 +00:00
Amine Khaldi
ba7d98adba [CMAKE]
- Fix precompiled header support (the pch cleanup phase).
- Improve its use in crt.

svn path=/branches/cmake-bringup/; revision=48452
2010-08-04 10:38:17 +00:00
Sir Richard
d928872abe [CMAKE]: Add support for precompiled headers (this was not fun).
[CMAKE]: Use them in RTL and CRT. Someone needs to add them to the other makefiles.

svn path=/branches/cmake-bringup/; revision=48447
2010-08-04 06:41:07 +00:00
Amine Khaldi
53edf4d8fa [CMAKE]
- Formatting. No code change.

svn path=/branches/cmake-bringup/; revision=48444
2010-08-03 21:58:41 +00:00