Commit graph

2416 commits

Author SHA1 Message Date
Thomas Faber ddfbce11a3 [TOOLS]
- Fix MSVC warnings for C++ host-tools

svn path=/trunk/; revision=68998
2015-09-04 15:22:16 +00:00
Thomas Faber df1aa949dd [RSYM]
- This is not the typo you are looking for

svn path=/trunk/; revision=68982
2015-09-04 08:06:17 +00:00
Thomas Faber e6718d0d2b [RSYM]
- Sort symbol entries with line number information before those without. Fixes backtraces showing ":0" as file/line for the first line of a function

svn path=/trunk/; revision=68980
2015-09-04 08:02:35 +00:00
Pierre Schweitzer e33dc625bc [HHPCOMP]
Fix headers inclusion on MacOSX.
This fixes hhpcomp build on MacOSX
Patch by Nicolas Rouvière

CORE-10084 #resolve #comment Committed in r68906. Thanks!

svn path=/trunk/; revision=68906
2015-09-01 22:44:56 +00:00
Benedikt Freisen b2e64aa3fc [HHPCOMP] Remove __inline to fix VS 2015 build. See CORE-10013.
svn path=/trunk/; revision=68793
2015-08-22 11:41:11 +00:00
Benedikt Freisen 85a5a71d79 [HHPCOMP]
Improve functionality of Windows MSVC build. Based on a WIP patch by Michael Fritscher.
See CORE-10019.

svn path=/trunk/; revision=68792
2015-08-22 11:16:50 +00:00
David Quintana 42df3d1b7e [BROWSEUI]
[OLEAUT32]
[DDK]
[PSDK]
[STLPORT]
[CPPRT]
Port the vs2015 fixes to also work on x64

[HHCOMP]
Fix compilation with VS in x64 mode

svn path=/trunk/; revision=68791
2015-08-22 00:17:15 +00:00
Pierre Schweitzer 3f35787ba3 [HHPCOMP]
Enable build

svn path=/trunk/; revision=68700
2015-08-11 21:26:29 +00:00
Pierre Schweitzer 0e7a15846d [HHPCOMP]
- Fix warnings

svn path=/trunk/; revision=68699
2015-08-11 21:25:08 +00:00
Pierre Schweitzer c106a075fe [HHPCOMP]
- Fix warnings

svn path=/trunk/; revision=68698
2015-08-11 21:17:30 +00:00
Thomas Faber 120c2fc6ad [HHPCOMP]
- Fix VC10 build
- Don't cast function pointers
- Fix warnings

svn path=/trunk/; revision=68697
2015-08-11 21:16:24 +00:00
Benedikt Freisen 602935e1cb [HHPCOMP] Apply changes proposed by learn_more which supposedly fix the GCCWin build
svn path=/trunk/; revision=68696
2015-08-11 21:06:37 +00:00
Benedikt Freisen 71fe4f3c6e [HHPCOMP] Disable build again.
svn path=/trunk/; revision=68695
2015-08-11 20:47:06 +00:00
Benedikt Freisen 9195b8bf65 [HHPCOMP] Hopefully satisfy the buildbot THIS time.
svn path=/trunk/; revision=68694
2015-08-11 20:30:32 +00:00
Benedikt Freisen f2c87c42b2 [HHPCOMP] Re-enable and (hopefully) fix build. Patch by Michael Fritscher (CORE-10013) with some changes by me to make the program work again (on Linux)
svn path=/trunk/; revision=68693
2015-08-11 20:19:58 +00:00
Benedikt Freisen ffcda8c4d2 [TOOLS][HHPCOMP] Do not build hhpcomp for now because the libraries it has to use appear to be less portable than I thought
svn path=/trunk/; revision=68686
2015-08-11 14:15:05 +00:00
Benedikt Freisen 65780ec3c1 [TOOLS][HHPCOMP] Initial commit of hhpcomp, our new HTML Help Project (*.hhp) compiler
svn path=/trunk/; revision=68685
2015-08-11 13:37:36 +00:00
Hermès Bélusca-Maïto 406e3ca53b [GRMBL]: Fix build on *niks.
svn path=/trunk/; revision=68256
2015-06-24 20:00:23 +00:00
Hermès Bélusca-Maïto f4c0c8f78c [TOOLS_BIN2C]
- Fix a GCC warning (error on Macs) concerning the printf "%Iu" specifier.
- To make sure data included by bin2c, that need to be interpreted as a (long) string, is correctly NULL-terminated, introduce an output format called "STR": this creates a long character array using the "\xXX" format.
- To circumvent a silly limitation of MSVC (all versions?) about the maximum length (65535 bytes) of a char string (aka. char MyArray[] = "...my_long_string...";), introduced yet another output format called "BINSTR" which creates an array of bytes that is NULL-terminated (aka. char MyArray[] = {0xde, 0xad, 0xbe, 0xef, 0x00};).
- Finally, the output format "BIN" is the regular bin2c format (simple array of bytes).

[HAL_PCIDATA][FREELDR_INSTALL]
Use the above-described functionality (for HAL_PCIDATA, use BINSTR format because the PciVendors data is otherwise too large to be stored in "char_string" format).

svn path=/trunk/; revision=68255
2015-06-24 19:54:19 +00:00
Daniel Reimer da7e2c1c32 [ARM arch]
PATCH: Get configure and host-tools building on arm again by Steven Edwards from dev-ml
+ adding Timo's portable sqrt variant to where it's needed to fix win32k build.
+ disabled the assert in sqrt.c for now.

svn path=/trunk/; revision=68145
2015-06-15 11:40:33 +00:00
Hermès Bélusca-Maïto 1011d89eaa [TOOLS]
Improve bin2c by saving in a #define the size of the generated array, and specify this size in the declaration of the array so that doing sizeof(...) becomes possible. Use "unsigned char" as the (portable) type of the contents of the array.

[HAL]
Add PCHAR casts where needed to take into account the previous modifications.

svn path=/trunk/; revision=68139
2015-06-14 18:13:50 +00:00
Pierre Schweitzer 22fd66f79e [CREATE_NLS]
Initialize line count before incrementing it

svn path=/trunk/; revision=67801
2015-05-17 09:38:32 +00:00
David Quintana 3933ca6bce This commit brings support for compiling ReactOS with Visual Studio 2015 RC (and possibly the final release).
[BUILD]
msvc.cmake: Disable thread-local static initialization.
CMakeLists.txt: Disable PCH for VS2015.
configure.cmd: Make it aware of cl.exe version 19.x

[CPPRT]
Add alias for the new variants of the delete operators.

[BROWSEUI]
[MFIFS]
[FRAMEDYN]
[NDIS]
[DDK]
[PSDK]
[STLPORT]
Add explicit declarations of the new delete operators for those modules that don't use the WITH_RUNTIME option.

[WIDL]
[WPP]
Do not alias the snprintf family of functions to the _snprintf variants, since VS14 already declares them internally.

svn path=/trunk/; revision=67483
2015-04-30 21:48:26 +00:00
Timo Kreuzer 7ee7d29258 [CMAKE]
Use native OS tools for concatenating files. Remove cat from host tools.

svn path=/trunk/; revision=66989
2015-03-30 22:31:43 +00:00
Hermès Bélusca-Maïto 1a06e54fa5 [BIN2C][CAT]: Use stderr for printing errors (to not mix them up with normal output that should go to stdout. This is especially needed for cat).
svn path=/trunk/; revision=66947
2015-03-29 02:00:15 +00:00
Hermès Bélusca-Maïto d8714d6ad9 [CAT]
- stricmp doesn't exist in *nix, use strcasecmp instead.
- setmode (for setting IO streams mode -- text, binary --) is useless in *nix world, so just define it as a dummy function.
Should fix build.

svn path=/trunk/; revision=66945
2015-03-29 00:52:49 +00:00
Hermès Bélusca-Maïto 1f2509e3e4 [CAT]: io.h appears to be useless, and seems to not be part of all C setups.
svn path=/trunk/; revision=66943
2015-03-29 00:16:53 +00:00
Hermès Bélusca-Maïto c1324010e5 [ROSAPPS][HOST-TOOLS]:
- Take the best of the two CAT rosapps and turn them into a host-tool. Will be used later on in the build process.
- Few comment cleaning in bin2c tool.

svn path=/trunk/; revision=66942
2015-03-29 00:13:25 +00:00
Hermès Bélusca-Maïto b086a99725 Small source tree cleanup:
- Remove leftovers from rbuild era.
- Remove .hgeol that was introduced in r53995 in an attempt to have Mercury "get[ing] native line endings":
<@hbelusca> tkreuzer - hi tkreuzer! do you know whether you still need this .hgeol file at the root of our source tree?
<@tkreuzer> hbelusca: no, feel free to delete it
- rgenstat/llmosrt.c --> llmsort.c (take it from cdmake); this is however an unused tool in our build toolchain.

svn path=/trunk/; revision=66570
2015-03-05 20:43:25 +00:00
Amine Khaldi 1e0744ebaf [UNICODE] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66404
2015-02-22 15:05:52 +00:00
Timo Kreuzer e713b40c77 [SPEC2DEF]
Silence warning about ignored C++ redirections

svn path=/trunk/; revision=66263
2015-02-14 14:28:02 +00:00
Thomas Faber 683c14c278 [SPEC2DEF]
- Don't warn about symbols that should be private on MSVC builds. Link already does this.
CORE-8445

svn path=/trunk/; revision=66201
2015-02-08 00:00:30 +00:00
Hermès Bélusca-Maïto 41180fb6b0 [SPEC2DEF]: Display the -private exports warning *only* when making import libs.
CORE-8445 #comment -private warning only displayed for import libs.

svn path=/trunk/; revision=66199
2015-02-07 21:42:26 +00:00
Thomas Faber cfcdf14cef [SPEC2DEF]
- Remove space before colon in error messages

svn path=/trunk/; revision=66198
2015-02-07 21:20:15 +00:00
Timo Kreuzer 8e988cc2f3 [MKHIVE]
Add back CmpAllocate prototype. Fixes MSVC warnings.

svn path=/trunk/; revision=66191
2015-02-07 15:05:04 +00:00
Hermès Bélusca-Maïto aa19105965 [SPEC2DEF]
- Warn about symbols that should be private. Patch by Thomas Faber. CORE-8445 #resolve #comment Committed in revision 66165. It's also nice/useful to get the warnings even if we are not generating an import lib (example when building rsaenh): MSVC warns also in this case.
- Improve error messages.
- some_ptr = 0; ---> use NULL instead.
- remove useless extra parentheses.

svn path=/trunk/; revision=66165
2015-02-04 23:56:23 +00:00
Hermès Bélusca-Maïto b799bbb859 [RTL]
- Whitespace files.
- Add missing PSEH inclusion (that can be detected if one comments the objbase.h include in rtl.h ...)

[MKHIVE]
Code cleanup + add a comment to explain what this ntoskrnl.h file is.

svn path=/trunk/; revision=66138
2015-02-01 13:33:06 +00:00
Hermès Bélusca-Maïto 5a6cb60c3d [CDMAKE]: Code cleanup (remove useless comments and that setjmp thingie).
svn path=/trunk/; revision=66137
2015-02-01 12:39:37 +00:00
Hermès Bélusca-Maïto 2369d5c3db Code style changes only.
svn path=/trunk/; revision=66130
2015-01-31 19:05:15 +00:00
Hermès Bélusca-Maïto 2f36640fb3 No code clarification, sorry.
svn path=/trunk/; revision=66129
2015-01-31 18:56:14 +00:00
Hermès Bélusca-Maïto 1957f91121 [CDMAKE]: Fix Philip's firstname; clarify code.
svn path=/trunk/; revision=66128
2015-01-31 18:54:52 +00:00
Hermès Bélusca-Maïto 73164f7524 [CDMAKE]: Have fun with cdmake:
- Fix copyright headers
- Fix string identifiers for ISO9660 and Joliet

svn path=/trunk/; revision=66127
2015-01-31 18:44:28 +00:00
Pierre Schweitzer cb47930ae1 [CDMAKE]
It's totally pointless to nullify after calloc

svn path=/trunk/; revision=66101
2015-01-28 20:41:23 +00:00
Hermès Bélusca-Maïto abc4e17f7c [CDMAKE]
- Fix misusage of the hash-table. CORE-9098 #resolve #comment Fixed in revision 66100!
- Really fix date for files and directories when CDs are generated on Windows. Use UTC time everywhere. Simplify code.

svn path=/trunk/; revision=66100
2015-01-28 20:26:56 +00:00
Hermès Bélusca-Maïto de72d5eae8 [CDMAKE]: Whitespace fixes only.
svn path=/trunk/; revision=66098
2015-01-27 19:31:19 +00:00
Hermès Bélusca-Maïto 66cc347765 [CDMAKE]
- Disable unused dir_hash_next_dir function and corresponding target_dir_traversal structure definition.
- Be really sure de->head and de->child are initialized at NULL.
- Remove extra parentheses and unused variable.

svn path=/trunk/; revision=66083
2015-01-24 00:15:08 +00:00
Hermès Bélusca-Maïto ea6251ad97 [CDMAKE]
- llmosrt.c --> llmsort.c as it should be named.
- Remove useless free(...) calls and a temp variable.

svn path=/trunk/; revision=66080
2015-01-23 21:38:15 +00:00
Timo Kreuzer caae20ea25 [SPEC2DEF]
Fix generation of ARM assembly stubs with C++ name mangling. Patch by Yuntian Zhang.
CORE-8700 #resolve #comment Committed, thanks.

svn path=/trunk/; revision=66068
2015-01-20 18:33:33 +00:00
Hermès Bélusca-Maïto feb9cd80e4 [CDMAKE]: Remove potential trailing dir-separator characters at the end of the directory, in case e.g. we build up something like: "bootcd\\somefile.ext" in the boot/livecd.lst files (--> I want a directory "bootcd" and a file "somefile.ext", instead of the directory "bootcd\", otherwise the ISO becomes broken. Notice that when the path is "bootcd\somefile.ext the existing code worked ok. That's why I want to strip the remaining backslashes).
svn path=/trunk/; revision=66050
2015-01-18 13:11:35 +00:00
Hermès Bélusca-Maïto 147616c9fc [CDMAKE]: Whitespace and tabs fixes only. Next time you open your editor for coding ROS...: PLEASE, OH PLEASE!!! USE: 4-space indentation (NO TABS!!) and NO K&R coding style!!!!! (we *already* have a fixed code style in ROS).
svn path=/trunk/; revision=66049
2015-01-18 13:04:43 +00:00