Commit graph

47 commits

Author SHA1 Message Date
Timo Kreuzer
6ddf034ab4 [MKISOFS] Silence MSVC warnings 2019-03-04 21:58:42 +01:00
Timo Kreuzer
73c776c744 [WIDL] Fix non-x86 builds 2019-03-04 21:58:42 +01:00
Amine Khaldi
22c8b4bf12 [WIDL] Sync with Wine Staging 4.0. CORE-15682 2019-01-29 13:18:09 +01:00
Serge Gautherie
c5d8d8d289 [LOG2LINES] Use translate_line() for command line input too
NB: Last step would be to re-use translate_files()...
2019-01-05 13:39:02 +01:00
Mark Jansen
1692ab3fe3
[APPCOMPAT] Move sdbtagid.h and sdbtypes.h to a shared location 2019-01-05 13:11:35 +01:00
Timo Kreuzer
bcb0d7c6c9 [CABMAN] Fix a problem with creating temp files on some Windows system 2018-12-29 21:37:42 +01:00
Serge Gautherie
5c77cd9050 [LOG2LINES] Partially sync output format from command line input (#1109) 2018-12-21 00:27:01 +01:00
Mark Jansen
1e568ce62d [SDK] Update gen_baseaddress.
* Speed up the script by using the fallback by default
* Suggest what cmake file to edit
* Add support for x64 modules (addresses not updated yet)
CORE-14923
2018-12-12 00:41:07 +01:00
Serge Gautherie
b92f1f4cdf
[LOG2LINES] Free all memory on exit. 2018-12-08 17:38:24 +01:00
Serge Gautherie
ca2bb9ee28
[LOG2LINES] Optimize malloc() calls. 2018-12-08 17:38:16 +01:00
Hermès Bélusca-Maïto
dbaa875f05
[LOG2LINES] Fix indentation. 2018-12-08 17:38:03 +01:00
Serge Gautherie
f5f515c17c
[LOG2LINES] Replace overkill malloc() usage.
NOTE: Since the 'cache_name' and 'tmp_name' pointers move inside the
corresponding cached strings, separate cache buffers are needed.
2018-12-08 17:34:18 +01:00
Hermès Bélusca-Maïto
aef566c19e
[MKHIVE] Minor code rearrangement. 2018-10-20 19:52:07 +02:00
Hermès Bélusca-Maïto
da019b0fc5
[MKHIVE] Fix some compilation warnings. 2018-10-19 00:25:19 +02:00
Hermès Bélusca-Maïto
e723b9f4b4
[MKHIVE] Fix cases where 'rc' was used without being initialized.
Fixes crashes when the tool is compiled with Run-Time Checks enabled.
And thus should fix the MSVC buildbots!
Thanks to Pierre for having brought this issue to me.

CORE-15201
2018-10-18 23:11:55 +02:00
Hermès Bélusca-Maïto
473ca91166
[MKHIVE] Fix compilation warnings. 2018-10-15 00:37:08 +02:00
Hermès Bélusca-Maïto
fc35f6eb4b
[MKHIVE] Return win32-like error codes for functions that expect to do so. Fix and comment out some unused ERROR_xxx/STATUS_xxx defines. 2018-10-14 17:10:04 +02:00
Hermès Bélusca-Maïto
8f82b00fa6
[MKHIVE] Minor code formatting. 2018-10-14 16:28:13 +02:00
Hermès Bélusca-Maïto
d91a47826e
[MKHIVE] Implement RegDeleteKeyW() and RegDeleteValueW(). 2018-10-14 15:59:57 +02:00
Hermès Bélusca-Maïto
6a44c10d5d
[MKHIVE] Minor improvements.
- Fix a bug in RegpCreateOrOpenKey() when we attempt to open an
  non-existing (sub-)key.
- Check failure of RegCreateKeyExW() in CreateSymLink().
- Remove unneeded includes.
- Update few comments.
2018-10-14 15:59:54 +02:00
Hermès Bélusca-Maïto
ec3c61c233
[MKHIVE] Simplify CmiAddValueKey() by using CmpAddValueToList(). 2018-10-14 15:59:50 +02:00
Hermès Bélusca-Maïto
a965cf6e04
[MKHIVE] Sync a bit more of reginf.c with the corresponding setupapi code. 2018-10-14 15:59:46 +02:00
Hermès Bélusca-Maïto
81d435a181
[MKHIVE] Implement and use RegCloseKey(). 2018-10-14 15:59:41 +02:00
Hermès Bélusca-Maïto
4caf391324
[NTOS][MKHIVE] Minor code formatting. 2018-10-14 15:59:34 +02:00
Mark Jansen
d564c7c8e3
[SPEC2DEF] Fix support for different OS versions. 2018-10-12 19:30:35 +02:00
Hermès Bélusca-Maïto
4e6fc201a0
[MKHIVE] Fixes for the previous fixes.
- Fix parsing of the options.
- Only uppercase the file name part and NOT the full path!
  And do it in a way GCC-Linux correctly understands, aka.:
      *ptr = toupper(*ptr); ++ptr;
  but NOT!:
      *ptr++ = toupper(*ptr);
  (that last one worked on GCC-Win and MSVC).

[CMAKE] Let's keep SETUPREG.HIV and BCD hive file names in uppercase
(use the '-u' switch) while keeping the other ones in lowercase.

Should definitively fix GCCLin builder!
2018-10-09 01:33:10 +02:00
Hermès Bélusca-Maïto
f37dd1e10a
[MKHIVE] Remove support for '/' options, this does not behave well under Linux. 2018-10-09 00:25:01 +02:00
Hermès Bélusca-Maïto
efbe071e02
[MKHIVE] Minor additional functionality.
- Add support for '/' switch characters.
- Add '-?' switch.

TEMPORARY:
- Add a '-u' switch to generate hive file names in uppercase (by default
  we keep these in lowercase). Should help in fixing GCCLin builder.

[CMAKE] Fix expected file name case. Should help in fixing GCCLin builder.
2018-10-09 00:15:14 +02:00
Hermès Bélusca-Maïto
c069ca1797
[MKHIVE] Improve dprint output (delimiting where strings start & end: is useful for empty strings).
svn path=/branches/setup_improvements/; revision=74768
2018-10-08 21:23:39 +02:00
Hermès Bélusca-Maïto
84d2264d9b
[MKHIVE][CMAKE] Make mkhive a bit more flexible, so that it can generate only specific hives on-demand (and not all of them always at once).
This commit is needed for building a single bootcd registry hive. It will also enable 1-st stage setup to have a proper registry present as done on Windows.
CORE-13347

[CMAKE]
Note that the mkhive commands should really depend on the generated UTF16 INF files since the latter are those that are actually used as input for mkhive.
Otherwise, the mkhive calls & the UTF16 INF file conversion is not serialized and we can generate "corrupted" hives due to the fact that mkhive is using
INF files that are in the process of being (and therefore, only partially) generated.

svn path=/branches/setup_improvements/; revision=74741
svn path=/branches/setup_improvements/; revision=74749
2018-10-08 21:23:38 +02:00
Thomas Faber
5e6810d5d2
[SDK] Make gen_baseaddress.py compatible with Python 3. 2018-09-08 11:11:08 +02:00
Serge Gautherie
8283a9ece2 [LOG2LINES] Enforce "Iso" type when unpacking the Iso file
Work around some "7z" dealing with files not named "*.iso" as "Cab" type.
Issue at least with "7-Zip [64]  9.20" on "Ubuntu 16.04".

CORE-14734
2018-08-19 17:39:15 +02:00
Serge Gautherie
97d3b3ce33
[REACTOS] RtlAssert(): use "%lu" as LineNumber format. 2018-08-08 21:24:07 +02:00
Timo Kreuzer
cf77354dce [REACTOS] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
Mark Jansen
6b92dd7323
[SDK] Update gen_baseaddress.py for reserved base addresses.
CORE-11382
2018-07-12 21:55:21 +02:00
Mark Jansen
5a9dc5e791
[SDK] Add gen_baseaddress.py
This tool was already used to calculate the last baseaddress update.
It is based on baseaddress.sh that has been floating around.
CORE-11382
2018-07-01 20:17:46 +02:00
Serge Gautherie
4f1a29e1b1 [LOG2LINES] translate_line(): Let 'offset' be an 'unsigned int', instead of a 'size_t' (#624)
Avoids half-uninitialized value on, i.e., Linux 64-bit (with ReactOS 32-bit).
CORE-14737
2018-06-21 14:05:35 +02:00
Mark Jansen
3551953c84
[XML2SDB] Add support for TAG_LINK_DATE and TAG_LINKER_VERSION. 2018-04-22 18:51:53 +02:00
Timo Kreuzer
01df9a410c [SPEC2DEF] Implement support for different OS versions 2018-04-21 18:31:27 +02:00
Mark Jansen
767fc4a6ad
[XML2SDB] Add support for DATA in Layers. 2018-04-12 18:49:12 +02:00
Amine Khaldi
8296d6c1ef [WIDL] Sync with Wine Staging 3.3. CORE-14434 2018-04-11 12:29:04 +01:00
Amine Khaldi
6cbd6bd3ce [UNICODE] Sync with Wine Staging 3.3. CORE-14434 2018-04-11 12:25:43 +01:00
Mark Jansen
1d0e7bddea [XML2SDB] Parse Flags. 2018-01-27 15:12:24 +01:00
Dmitry Bagdanov
991d33c5d1 [CABMAN] Move CCFDATAStorage class to a separate file 2018-01-27 10:42:05 +01:00
Dmitry Bagdanov
ae391dd609 [CABMAN] Remove _WIN32 ifdef's 2018-01-27 10:42:05 +01:00
Amine Khaldi
891d81e058 [WIDL] Sync with Wine Staging 2.16. CORE-13762
b42a155 widl: Handle C++ aggregate returns in a MSVC compatible way.
084fa63 widl: Only generate Proxy Stubs when functions have the call_as attribute.
fbdf119 widl: Try to find imported typelib using .tlb extension if it wasn't specified.
2017-10-08 13:41:50 +01:00
Colin Finck
c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00