Commit graph

43243 commits

Author SHA1 Message Date
Amine Khaldi e7c36f373f [CMAKE]
- Add mingw libs to build.

svn path=/branches/cmake-bringup/; revision=48335
2010-07-28 21:52:04 +00:00
Amine Khaldi 23735be2c3 [CMAKE]
- Fix stdole2.

svn path=/branches/cmake-bringup/; revision=48333
2010-07-28 17:00:50 +00:00
Amine Khaldi 42fd01caf3 [CMAKE]
- Add sound drivers libs to build.

svn path=/branches/cmake-bringup/; revision=48332
2010-07-28 16:24:00 +00:00
Amine Khaldi 9b289c4a25 [CMAKE]
- Add ip and oskittcp to build.

svn path=/branches/cmake-bringup/; revision=48331
2010-07-28 14:59:02 +00:00
Amine Khaldi 0d72b49f46 [CMAKE]
- We won't be using mkdir to create folders since cmake has a command for it.
- Split nci generated files into separate targets, so that modules can depend on each one of them separately if needed.
- Add win32ksys to build.

svn path=/branches/cmake-bringup/; revision=48329
2010-07-28 12:58:37 +00:00
Amine Khaldi 0de1055529 [CMAKE]
- Add ntdllsys to build.

svn path=/branches/cmake-bringup/; revision=48326
2010-07-28 10:35:37 +00:00
Amine Khaldi a7d2ad6334 [CMAKE]
- Rename ncitool to nci and mark it as an exported native tool.
- Add nci generated intermediate files to build.

svn path=/branches/cmake-bringup/; revision=48325
2010-07-28 10:13:27 +00:00
Amine Khaldi 4455372650 [CMAKE]
- Add pseh to build.

svn path=/branches/cmake-bringup/; revision=48320
2010-07-28 00:08:02 +00:00
Amine Khaldi 917e248cc6 [CMAKE]
- Add rtl to build.

svn path=/branches/cmake-bringup/; revision=48319
2010-07-27 23:55:52 +00:00
Sir Richard b2e6f743b6 [CMAKE]: Fix compiler detection, we should check for CMAKE_HOST_SYSTEM_NAME, not CMAKE_SYSTEM_NAME, which is always Windows on a cross-build.
[CMAKE]: PROCESSIR->PROCESSOR

svn path=/branches/cmake-bringup/; revision=48316
2010-07-27 17:36:25 +00:00
Sir Richard bba1ffd927 [CMAKE]: Watch and learn, Amine...
svn path=/branches/cmake-bringup/; revision=48311
2010-07-27 16:07:39 +00:00
Sir Richard 6a78adc872 [CMAKE]: Too much of bzip2 was being built.
svn path=/branches/cmake-bringup/; revision=48310
2010-07-27 16:03:05 +00:00
Sir Richard 33d9345552 [CMAKE]: Detect correct MinGW compiler on Windows vs Linux/Darwin.
svn path=/branches/cmake-bringup/; revision=48309
2010-07-27 16:00:40 +00:00
Amine Khaldi 94fd5aceb2 [CMAKE]
- Add ext2lib, ntfslib, vfatlib and vfatxlib to build.

svn path=/branches/cmake-bringup/; revision=48304
2010-07-27 13:09:55 +00:00
Amine Khaldi e16d438002 [CMAKE]
- Add proper dependencies on psdk.
- Parallel build works now.

svn path=/branches/cmake-bringup/; revision=48303
2010-07-27 12:53:24 +00:00
Amine Khaldi a633674741 [CMAKE]
- cmlib depends on bugcodes.

svn path=/branches/cmake-bringup/; revision=48302
2010-07-27 11:12:09 +00:00
Amine Khaldi 05b70f3ba2 [CMAKE]
- Add idna, normalize and scripts to build.

svn path=/branches/cmake-bringup/; revision=48301
2010-07-27 11:01:39 +00:00
Amine Khaldi 1e82e45439 [CMAKE]
- Separate the resources creation into several targets. With this we're able to set proper dependencies on them selectively, and not as a whole.
- Make chew and csq, as a result, depend only on bugcodes.

svn path=/branches/cmake-bringup/; revision=48297
2010-07-27 01:36:55 +00:00
Amine Khaldi 401329a84b [CMAKE]
- Add rsym to build.
- Add fslib, nls and pseh placeholders.
- Make crt depend on psdk interfaces.

svn path=/branches/cmake-bringup/; revision=48296
2010-07-27 01:32:49 +00:00
Amine Khaldi 1bdc83e770 [CMAKE]
- No need to check these drivers for CMAKE_CROSSCOMPILING.

svn path=/branches/cmake-bringup/; revision=48295
2010-07-27 00:51:21 +00:00
Amine Khaldi d667e37083 [CMAKE]
- Rename MACRO_ADD_INTERFACES to MACRO_ADD_PSDK_INTERFACES, HEADERS to PSDK_HEADERS.
- Change the psdk target name from build_headers to psdk.

svn path=/branches/cmake-bringup/; revision=48294
2010-07-27 00:49:52 +00:00
Amine Khaldi 5648d2bc9d [CMAKE]
- Add dxsdk interfaces to build.

svn path=/branches/cmake-bringup/; revision=48293
2010-07-27 00:48:07 +00:00
Amine Khaldi 486a2d0e81 [CMAKE]
- Add chew and csq to build.

svn path=/branches/cmake-bringup/; revision=48285
2010-07-26 18:49:24 +00:00
Ziliang Guo 147875c573 [CMAKE]
-Use hinting in freetype now that patent has expired.

svn path=/branches/cmake-bringup/; revision=48284
2010-07-26 18:21:09 +00:00
Amine Khaldi 4df268ef33 - Fix freetype.
svn path=/branches/cmake-bringup/; revision=48283
2010-07-26 18:09:20 +00:00
Ziliang Guo ac666a6d0a [CMAKE]
-Add freetype to build.

svn path=/branches/cmake-bringup/; revision=48282
2010-07-26 17:59:46 +00:00
Amine Khaldi f65e75e216 [CMAKE]
- Add icu4ros to build.

svn path=/branches/cmake-bringup/; revision=48281
2010-07-26 16:39:47 +00:00
Sir Richard 8efcb1c052 [CMAKE]: Add almost all the 3rdparty libs. The remaining ones are more annoying and will require more handwriting. I'm letting someone else write those out.
svn path=/branches/cmake-bringup/; revision=48270
2010-07-26 00:38:25 +00:00
Sir Richard 8235c4622d [CMAKE]: Build all the remaining host tools/libraries (I think).
[CMAKE]: Fix definitions for some libraries.
[CMAKE]: Build host tools with appropriate flags.

svn path=/branches/cmake-bringup/; revision=48268
2010-07-25 23:54:32 +00:00
Sir Richard 02b1c8a4e2 [CMAKE]: Add wmc to host tools, and export it as native-wmc.
[CMAKE]: Add a makelist to build the mc->headers as one target.
[CMAKE]: Fix the IDL rule to build all IDLs as one target.
[CMAKE]: Build a whole lot more libraries.

svn path=/branches/cmake-bringup/; revision=48267
2010-07-25 23:05:32 +00:00
Sir Richard 6907bbcc2f [CMAKE]: Add standard ReactOS compiler flags, and organize defines nicely too.
svn path=/branches/cmake-bringup/; revision=48266
2010-07-25 22:16:45 +00:00
Sir Richard 4a961b42be [CMAKE]: Build more stuff.
svn path=/branches/cmake-bringup/; revision=48264
2010-07-25 21:24:00 +00:00
Sir Richard 3b4b183c21 [CMAKE]: CRT can now be built! Our first cross-compile target.
[CMAKE]: Next steps should be to bring all the compiler settings/defines that aren't yet being used, to add per-architecture file tracking, and to enable precompiled header support.

svn path=/branches/cmake-bringup/; revision=48262
2010-07-25 20:28:17 +00:00
Sir Richard 13187ac941 [CMAKE]: Make cross-build work on all systems. RosBE Already is nice and adds itself to the path. CMAKE is magical and finds the RosBE compilers.
svn path=/branches/cmake-bringup/; revision=48261
2010-07-25 20:07:19 +00:00
Sir Richard b50bbda653 [CMAKE]: Use some CMAKE magic to have widl defined as a "host tool", and make the cross build CMAKE import it (as native-widl). Cross-build CMAKE will then use "native-widl" to build the header/IDL files in the cross-output-directory, instead of the host-output-directory.
[CMAKE]: Add generated headers to the include path.

svn path=/branches/cmake-bringup/; revision=48260
2010-07-25 20:04:16 +00:00
Sir Richard b2ab6100e7 [CMAKE]: Ignore "build" directory.
[CMAKE]: Fix build.
[CMAKE]: Generate headers outside the source tree, into intermediate directories.

svn path=/branches/cmake-bringup/; revision=48259
2010-07-25 19:27:03 +00:00
Sir Richard d51dc0e932 [CMAKE]: Start supporting building the CRT.
svn path=/branches/cmake-bringup/; revision=48258
2010-07-25 19:18:15 +00:00
Sir Richard 844fdca239 [CMAKE]: Add a makefile to build the IDL files. Not perfect, but gets the job done.
[CMAKE]: Add a mignw32 toolchain file, right now it's pretty hacked for my system only, but it works.

svn path=/branches/cmake-bringup/; revision=48256
2010-07-25 17:03:07 +00:00
Sir Richard 50c679fa37 [CMAKE]: Add make lists for the core host tools/libraries, and add a command to generate the build.h header. There's little fixes needed here and there, but this should be a good template for people to see how easy CMake is. This will build all the wine tools/libraries, nci, gendib, rsym, etc...
svn path=/branches/cmake-bringup/; revision=48244
2010-07-25 05:53:51 +00:00
Sir Richard a9581208d6 [CMAKE]: Remove legacy makefiles.
svn path=/branches/cmake-bringup/; revision=48242
2010-07-25 05:23:30 +00:00
Amine Khaldi 62ff6c86b7 - Delete rbuild and the rbuild files.
svn path=/branches/cmake-bringup/; revision=48237
2010-07-24 19:21:04 +00:00
Amine Khaldi c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00
Sir Richard a28e798006 [NTOS]: Implement MmDeleteTeb, VADs are now deleted/freed on thread exit as well (but the underlying page is still leaked). Should fix the advapi32 security crash.
[NTOS]: Sometimes it seems we hit some bad VADs due to bugs? in the AVL tree implementation. I'm going on vacation for a month and can't look at this, so I've hacked the code to ignore such VADs for now, in the interest of fixing the winetest regression.

svn path=/trunk/; revision=48235
2010-07-24 16:28:51 +00:00
Sir Richard 2384532846 [NTOS]: Implement MmCleanProcessAddressSpace in ARM3, now the PEB/TEB VADs are removed when the process exits (although the pages are still leaking, for now), and the pool allocation for the VAD is also freed.
[NTOS]: Use ARM3 paged pool up until smss.exe starts. There's a last bug in the expansion code before we can get rid of the old paged pool.

svn path=/trunk/; revision=48234
2010-07-24 16:12:39 +00:00
Sir Richard 3ec9a11a16 [NTOS]: Reimplement MmCreateProcessAddressSpace in ARM3. Basically the same as before but using the ARM3 PFN list APIs, the ARM3 macros, etc. Once change is processes are now populating the MmProcessList, and the "MmGlobalKernelPageTable" isn't used anymore for new processes. Also the mappings come from SysPTE space, not hyperspace.
[NTOS]: More work will be needed in this area, but this gets rid of another ReactOS dinosaur.

svn path=/trunk/; revision=48233
2010-07-24 15:30:24 +00:00
Cameron Gutman ecd26cf41a [DHCPCSVC]
- Initialize length to prevent a possible buffer overflow
- Thanks to janderwald for finding my mistake

svn path=/trunk/; revision=48232
2010-07-24 15:04:24 +00:00
Sir Richard 7ea7b76e51 [NTOS]: Take over MmInitializeProcessAddressSpace, MmInitializeHandBuiltProcess, MmInitializeHandBuiltProcess2 into ARM3, and cleanup the code.
[NTOS]: Prepare to take over MmCreateProcessAddressSpace.

svn path=/trunk/; revision=48231
2010-07-24 15:01:05 +00:00
Amine Khaldi 3bb2ea0d09 [KMIXER]
- Remove memset and memcpy implementations from pin.c

svn path=/trunk/; revision=48230
2010-07-24 14:49:46 +00:00
Amine Khaldi e297cfa306 [NDIS]
- Move NDIS_HARDWARE_STATUS, GEN_GET_TIME_CAPS, GEN_GET_NETCARD_TIME, NDIS_MEDIA_STATE, NDIS_GUID, NDIS_PM_PACKET_PATTERN, NETWORK_ADDRESS, NETWORK_ADDRESS_LIST, TRANSPORT_HEADER_OFFSET and NDIS_CO_LINK_SPEED from ndis.h to ntddndis.h (where they should belong).
- typedef NDIS_STATUS for ntddndis.h
- Group some related definitions in ndis.h
- Some _ANONYMOUS_* -> __MINGW_EXTENSION conversions.
- Guard some definitions against NDIS_LEGACY_DRIVER.
- Add some missing definitions.
- NDIS_MINIPORT_BLOCK : PVOID  Signature; -> NDIS_OBJECT_HEADER Header;
- Add missing xfilter.h inclusion.
- Add some missing function declarations.
- Convert some function declarations into macros.
- Guard some definitions against NDIS_LEGACY_MINIPORT.

svn path=/trunk/; revision=48229
2010-07-24 13:47:41 +00:00
Amine Khaldi 39cec38832 [XDK]
- Missed this one (FORCEINLINE)
[DDK]
- Update DDK to reflect the XDK changes.

svn path=/trunk/; revision=48228
2010-07-24 10:51:22 +00:00