Commit graph

43228 commits

Author SHA1 Message Date
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
Amine Khaldi e1e0ed63e2 [[MINGW-W64]
- Tighten up reactos.diff now that we have all those diffs (except one) committed upstream.

svn path=/trunk/; revision=48227
2010-07-24 10:10:15 +00:00
Amine Khaldi 0e192aab81 [MINGW-W64]
- Sync gs_support.c now that our patches are committed upstream.

svn path=/trunk/; revision=48226
2010-07-24 09:59:34 +00:00
Amine Khaldi e7cebee706 [CRT]
- Add __MINGW_ATTRIB_UNUSED macro.

svn path=/trunk/; revision=48225
2010-07-24 09:52:46 +00:00
Amine Khaldi 74f12eeaf7 [XDK]
- Make sure FORCEINLINE comes as first in declarations.
[DDK]
- Update DDK to reflect the XDK changes.

svn path=/trunk/; revision=48224
2010-07-24 09:20:56 +00:00
Sir Richard be9e04b5cb [NTOS]: Implement an AVL node deletion algorithm (RtlpDeleteAvlTreeNode). Use it in MiRemoveNode, now implemeneted, and RtlDeleteElementGenericTableAvl, also now implemented. It hopefully works.
svn path=/trunk/; revision=48223
2010-07-24 04:00:22 +00:00
Timo Kreuzer bfc2638590 [NTOSKRNL]
Bring over all current amd64 specific code from the amd64 branch

svn path=/trunk/; revision=48222
2010-07-24 01:12:13 +00:00
Cameron Gutman 869cdbce37 - Fix epic naming fail (DhcpEnabled -> EnableDHCP
[DHCPCSVC]: Verify that the length is correct
[TCPIP]: Make sure DHCP is enabled before reading IP information

svn path=/trunk/; revision=48221
2010-07-24 00:25:59 +00:00
Timo Kreuzer 66b4c2ff3e [NTOSKRNL]
Add missing declarations

svn path=/trunk/; revision=48220
2010-07-23 23:50:26 +00:00
Timo Kreuzer 19540dcad5 [NTOSKRNL]
- Add KiGetLinkedTrapFrame for amd64
- Add MiAddressToPti
- Fix MmCreateProcessAddressSpace, MmInitializeHandBuiltProcess prototype (ULONG -> ULONG_PTR)
- #if out some C_ASSERTs for other architectures than x86
- #define InitializeSListHead to RtlInitializeSListHead on amd64
- Don't implement MiSyncARM3WithROS on amd64
- Implement RtlPcToFileHeader, RtlpGetStackLimits

svn path=/trunk/; revision=48219
2010-07-23 23:30:00 +00:00
Timo Kreuzer c168961990 [NDK]
Update amd64/asm.h to MSVC compatible format

svn path=/trunk/; revision=48218
2010-07-23 23:23:51 +00:00
Timo Kreuzer 56f8b1717a [NTOSKRNL]
Don't use freeldrhack on amd64

svn path=/trunk/; revision=48217
2010-07-23 22:40:13 +00:00
Cameron Gutman 59081046c2 - Remove some debug info that I forgot about
svn path=/trunk/; revision=48216
2010-07-23 22:33:09 +00:00
Cameron Gutman 63dfd0ccaa [NETCFGX]
- Create the DhcpEnabled value in the registry
[TCPIP]
- Apply the static IP address configuration data
[DHCPCSVC]
- Remove the static IP address code

svn path=/trunk/; revision=48215
2010-07-23 22:30:27 +00:00
Cameron Gutman 00e8981795 [DHCPCSVC]
- Generate a link-local IP address if DHCP fails
- Don't destroy the IP addresses in the registry

svn path=/trunk/; revision=48213
2010-07-23 21:57:08 +00:00
Cameron Gutman 3d5cb94c4a [NDIS]
- Verify that each adapter has been initialized before passing it to the protocol's BindAdapter function
- Also verify that each adapter has not already been bound to the protocol
- Miniport drivers can now function without a reboot (needed to use 3rd-party NIC drivers on the live CD)

svn path=/trunk/; revision=48212
2010-07-23 16:34:35 +00:00