Commit graph

44593 commits

Author SHA1 Message Date
Art Yerkes
0cb645cb12 Part 1 of fixes: For some reason beyond me, I had abbreviated
MiCowSectionPage to always assume CoW rather than always not
CoW for cache sections.  

Make sure we're looking for cache type sections rather than
(as we were in the branch) data file sections.  More needed.

svn path=/trunk/; revision=49555
2010-11-11 08:15:50 +00:00
Timo Kreuzer
2e9717b577 [CMAKE]
Create importlibs from spec files for kernel32, advapi32, gdi32, user32 and msvcrt
calc now compiles with MSVC and works (slightly buggy)

svn path=/branches/cmake-bringup/; revision=49554
2010-11-10 22:50:21 +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
541b368402 [CMAKE]
- build and export spec2pdef

svn path=/branches/cmake-bringup/; revision=49549
2010-11-10 22:02:51 +00:00
Timo Kreuzer
6d02bbe70e [CMAKE]
- add importlib target for ntdll

svn path=/branches/cmake-bringup/; revision=49547
2010-11-10 21:01:14 +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
2b5855372c [CMAKE]
- Move spec2def into comppiler specific files, use spec2pdef tool on MSVC builds
- Add a ridiculously complex macro to create the importlibs for MSVC. (It was hard for me to figure this out, so be it for you ;-))

svn path=/branches/cmake-bringup/; revision=49545
2010-11-10 12:33:24 +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
Sir Richard
64e92d2d8e [NTOS]: Fix bugs in MiAllocateContiguousPages. Fixes an ASSERT Caemyr was seeting a lot (the cont-able ASSERT).
svn path=/trunk/; revision=49541
2010-11-09 13:26:26 +00:00
Timo Kreuzer
769e7c0eb8 [CMAKE]
Add a hack to fix compilation of irot.idl with MSVC. If someone knows how to correctly fix this, please let me know.

svn path=/branches/cmake-bringup/; revision=49538
2010-11-09 01:42:06 +00:00
Amine Khaldi
5c96fe41a4 [CMAKE]
- Use pdef files in some dlls.

svn path=/branches/cmake-bringup/; revision=49537
2010-11-08 22:57:05 +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
04d745acca [CMAKE]
add missing dependency

svn path=/branches/cmake-bringup/; revision=49535
2010-11-08 19:01:52 +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
5e6639c9b2 [CMAKE]
Don't put /M* on the command line

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

svn path=/branches/cmake-bringup/; revision=49532
2010-11-08 13:48:45 +00:00
Timo Kreuzer
77e17454fa [CMAKE]
Delete the Modules dir.

svn path=/branches/cmake-bringup/; revision=49531
2010-11-08 13:45:34 +00:00
Timo Kreuzer
aad5d0a980 [CMAKE]
Move the cmake module directory one level down

svn path=/branches/cmake-bringup/; revision=49530
2010-11-08 13:41:29 +00:00
Timo Kreuzer
7689b5dda6 [CMAKE]
Convert gdi32 to pdef

svn path=/branches/cmake-bringup/; revision=49529
2010-11-08 13:32:52 +00:00
Timo Kreuzer
21907631c7 [ACLDEDIT]
Delete acledit.def

svn path=/branches/cmake-bringup/; revision=49527
2010-11-08 13:15:54 +00:00
Timo Kreuzer
da76b4e5c2 [CMAKE]
Convert acledit to pdef

svn path=/branches/cmake-bringup/; revision=49526
2010-11-08 12:58:32 +00:00
Sir Richard
f205f243bb [NTOS]: Assign a working set to the system process and correctly initialize its address space.
[NTOS]: Assign the working set list address, system-wide, but per-process (in hyperspace).
[NTOS]: Give every process its working set page, and store it. Build a bogus working set list (MMWSL).
[NTOS]: Use the process working set list (MMWSL) to track page table references during faults, just as Windows does.
[NTOS]: Correctly initialize the colored page list heads and assert their validity.

svn path=/trunk/; revision=49525
2010-11-08 12:35:50 +00:00
Timo Kreuzer
c4f1145fca [CMAKE]
- add new macro add_linkerflag to avoid code duplication
- add new macro set_pdef_file, replacing the use of pdef2def, which is neccessary to resolve issues with MSVC. cmake doesn't handle def files as source files very well, when they are not in the current source directory.

svn path=/branches/cmake-bringup/; revision=49524
2010-11-08 12:24:33 +00:00
Sir Richard
e8c269c0c4 [NTOS]: Optimize new context switching code to avoid wasted cycles.
svn path=/trunk/; revision=49523
2010-11-08 11:56:22 +00:00
Timo Kreuzer
44eef5b073 [SHLWAPI]
Explicitly add msvcrt before ntdll to use it's *sprintf functions. Fixes bug 5557

svn path=/trunk/; revision=49522
2010-11-08 10:04:43 +00:00
Sir Richard
b4593924da [NTOS]: KiDispatchInterrupt (the DPC handler) in C, instead of ASM.
svn path=/trunk/; revision=49521
2010-11-08 02:37:17 +00:00
Sir Richard
77d20c89bf [NTOS]: Context switch in C instead of ASM. Can be made more portable, but it's a good start. Unless Timo rewrites it.
svn path=/trunk/; revision=49520
2010-11-08 02:15:53 +00:00
Pierre Schweitzer
58e3fc91d5 [NTOSKRNL]
Minor stuff.
Here is your commit Timo ;)

svn path=/trunk/; revision=49519
2010-11-08 00:31:00 +00:00
Sylvain Petreolle
c3774adb66 [CMAKE]
Add missing files to bootcd.

svn path=/branches/cmake-bringup/; revision=49518
2010-11-07 21:24:35 +00:00
Sylvain Petreolle
eb4821a38b [CMAKE]
Add remaining Wine directx dlls to bootcd.

svn path=/branches/cmake-bringup/; revision=49517
2010-11-07 21:22:31 +00:00
Timo Kreuzer
7d0aa25a0f [CRT]
In streamout(): fix a number of formatting bugs, round floats, fix issue with large unsigned values that were treated as signed, simplify some code.

svn path=/trunk/; revision=49516
2010-11-07 10:06:00 +00:00
Timo Kreuzer
2f7608101c [CRT]
In streamout() handle %%, negative fieldwidth and negative precision.

svn path=/trunk/; revision=49514
2010-11-07 00:59:41 +00:00
Timo Kreuzer
49cee181ca [CRT]
Fix a bug in streamout(), that could cause a buffer overrun and made msvcrt_winetest crash.

svn path=/trunk/; revision=49513
2010-11-06 23:03:22 +00:00
Amine Khaldi
87def142b6 [SPRINTF]
- Don't compile the new sprintf by default. Requested by Timo.

svn path=/trunk/; revision=49512
2010-11-06 15:38:43 +00:00
Amine Khaldi
42d74e98d6 [CMAKE]
- Add acledit.pdef

svn path=/branches/cmake-bringup/; revision=49510
2010-11-06 11:43:26 +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
117bdf56ae [CMAKE]
- Fix and enable browseui.

svn path=/branches/cmake-bringup/; revision=49504
2010-11-05 23:25:51 +00:00
Amine Khaldi
7393a02b74 [CMAKE]
- Explicitly disable auto imports for executables.
- Set a proper linker invocation for C++ modules.

svn path=/branches/cmake-bringup/; revision=49503
2010-11-05 23:17:29 +00:00
Sylvain Petreolle
d929fc29f7 [CMAKE]
Bootcd/Livecd : Add dplayx, ntfs and mup.
Add forgotten wined3d importlib, my bad.

svn path=/branches/cmake-bringup/; revision=49502
2010-11-05 23:14:29 +00:00
Timo Kreuzer
a7fb24759b Fix build
svn path=/trunk/; revision=49501
2010-11-05 23:12:59 +00:00
Amine Khaldi
f8a9857975 [CMAKE]
- Fix and enable glu32 and winemp3.acm

svn path=/branches/cmake-bringup/; revision=49500
2010-11-05 23:06:24 +00:00
Timo Kreuzer
bf49c46b23 [CRT]
New implementation of all printf functions. It's stream based (like MS one is) rather than buffer based (like our old is). Floating point is not 100% finished, but current implementation is good enough to boot. It can be enabled by a config switch.

svn path=/trunk/; revision=49499
2010-11-05 22:21:36 +00:00
Sylvain Petreolle
e37863e0ac [CMAKE]
Bootcd: Add some directx dlls.

svn path=/branches/cmake-bringup/; revision=49498
2010-11-05 21:49:09 +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