Commit Graph
15 Commits
Author SHA1 Message Date
Colin Finck 8d9b815544 Add a library "host_wcsfuncs" with implementations for UTF-16 string functions needed for some host tools
Instead of copying those functions into every host tool, which needs it (as we did previously), we can now implement them all in this library and link the host tools to it.
If USE_HOST_WCSFUNCS is not defined, the "wcsfuncs.h" file will define them to the CRT functions (so this library does not create overhead, when the code is built for the target platform)

See issue #3285 for more details.

svn path=/trunk/; revision=34050
2008-06-22 20:58:56 +00:00
Colin Finck f50c85e75f Remove all remaining occurrences of the W64 macro.
The __w64 setting is obsolete beginning with MSVC 2008.

svn path=/trunk/; revision=33475
2008-05-12 15:59:31 +00:00
Aleksey Bragin 78150156e2 - Add more NLS definitions.
svn path=/trunk/; revision=31828
2008-01-16 17:05:31 +00:00
Colin Finck d959db2131 - Don't reinvent the wheel again: Use <host/typedefs.h> in winebuild instead of defining the types for the host manually again
- Get rid of the "include/psdk" include directory in the winebuild makefile
- Add a definition for UINT_PTR and PUINT_PTR to <host/typedefs.h>

svn path=/trunk/; revision=31347
2007-12-20 00:20:01 +00:00
Colin Finck dba56805a0 Don't define the "min" and "max" macros in the general "typedefs.h", they conflict with the similar functions in the "std" namespace in C++ apps then.
Instead just define them in widl, this is currently the only place where we need them.

svn path=/trunk/; revision=30843
2007-11-28 22:01:17 +00:00
Colin Finck 484d24fef4 Change widl to use only host headers.
Part of my ongoing attempt to separate host and target headers properly (see also bug 2779)
- Add a new header "nls.h" in the host directory, which contains a bunch of definitions needed for both widl and wrc.
- Add some more important defines to "typedefs.h".

svn path=/trunk/; revision=30842
2007-11-28 21:40:39 +00:00
Colin Finck 34d621bb58 MSVC compatibility fix (inline -> __inline)
This makes building rbuild with VS possible again.

svn path=/trunk/; revision=30563
2007-11-18 23:00:21 +00:00
Colin Finck 4de5218bf0 Remove the "#define _TYPEDEFS64_H" line, which prevented the inclusion of the former typedefs64.h, so future generations are not confused :)
svn path=/trunk/; revision=30201
2007-11-05 20:38:32 +00:00
Hervé Poussineau db2e11b33a Add PSHORT and PUSHORT types
svn path=/trunk/; revision=30168
2007-11-05 12:03:15 +00:00
Aleksey Bragin 6b7c404e0b - Move registry shareable types (not internal to ntoskrnl's configuration manager) to cmdata.h, so that freeldr/mkhive can access them too.
- Remove all the ReactOS-specific versions of those types.
- Change all code referencing the ReactOS-specific versions to use the real NT versions, and fix any related code to properly use the new fields.

svn path=/trunk/; revision=29943
2007-10-28 21:31:46 +00:00
Aleksey Bragin ec2b9a0991 - Define LIST_ENTRY functions as part of host headers, instead of mkhive-specific defines.
- Use CM_KEY_CONTROL_BLOCK when communicating with new CM implementation ("config"). CM now builds a dummy KCB so that the functions in "config" can go around their business with KCB without needing to know what a ros-specific PKEY_OBJECT is.

svn path=/trunk/; revision=29902
2007-10-26 20:59:42 +00:00
Aleksey Bragin 6dad5e16a9 - Update cmlib interface to NT 5.2.
- Fix a bug in CmpInitializeHive which was calling HvInitializeHive with inverted params.
- Fix some host header issues.

svn path=/trunk/; revision=29879
2007-10-25 15:53:51 +00:00
Daniel Reimer ae7da04787 Delete all Trailing spaces in code.
svn path=/trunk/; revision=29690
2007-10-19 23:21:45 +00:00
Colin Finck d4a18c707c Forgot to change these ones
svn path=/trunk/; revision=29043
2007-09-14 19:02:21 +00:00
Colin Finck 0429c9f223 - Create a new "include/host" directory for host-only includes.
- Copy the "pshpack*.h", "poppack.h" and "typedefs_host.h" (renamed to "typedefs.h") files to this directory
- Modify the Makefiles of cmlib_host, inflib_host, mkhive, unicode, wmc and wrc to remove the "include/psdk" dependency
- Remove the inclusion of "ntstatus.h" in cmlib_host and mkhive

svn path=/trunk/; revision=29042
2007-09-14 18:55:43 +00:00