winesync
d4dc3ccab1
[WINESYNC] reg/tests: Add additional tests with embedded NUL characters.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 6c62ffeca7f381199bef1969452fcef46b979f0f by Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-19 13:06:28 +02:00
winesync
f3c6b93bb6
[WINESYNC] reg/tests: Replace RegCloseKey() with the helper function close_key().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 93fbe09ed098f6356485c6390a533e04f6ff3959 by Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-19 13:06:27 +02:00
winesync
3b511b56d7
[WINESYNC] reg/tests: Verify registry export after each empty key test.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 5cacd496a14b8f83c8e0209bb00bf2ea4ce90e01 by Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-19 13:06:27 +02:00
winesync
70f06b31a9
[WINESYNC] reg/tests: Always overwrite export test file during 'export' sequence.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id b51b969a011c3efbddbbf29a312e49d0b5877faf by Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-19 13:06:27 +02:00
winesync
5b42e659ce
[WINESYNC] reg/tests: Check for key non-existence with verify_key_nonexist().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 597a12420be2bee4e69b9400a075ae4393863573 by Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-19 13:06:27 +02:00
winesync
4dbcf50583
[WINESYNC] reg/tests: Move /v* syntax tests to the 'add' and 'delete' test sequences.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id e6e227f21de08c7ddfe3e48b3ceb2fef01b6c0a6 by Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-19 13:06:27 +02:00
winesync
855cf07c70
[WINESYNC] reg/tests: Ensure test key is fully removed before each sequence begins.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 405853adb53695c0fd3f7d38ac733dd6900a48dd by Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-19 13:06:27 +02:00
winesync
e163213a0f
[WINESYNC] reg/tests: Check for elevated privileges before cleaning up the Windows 3.1 test key and running unit tests.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id add814af3eb7368961fe5b37a66c616e4bd97e4b by Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-19 13:06:27 +02:00
winesync
ee54c25871
[WINESYNC] reg/tests: Add initial syntax tests for 'reg copy'.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 6cf0e7fe85ba2f9348cec4d4d555c5dac42033de by Hugh McMaster <hugh.mcmaster@outlook.com>
2022-06-19 13:06:27 +02:00
winesync
7b9269fc8e
[WINESYNC] reg: FormatMessage() now reports ERROR_NO_WORK_DONE error for empty string.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id f81d15beb690c5e08c5995b90aec8015218bee55 by Alexandre Julliard <julliard@winehq.org>
2022-06-19 13:06:27 +02:00
William Kent
21bd607758
[MKISOFS] Add ARM64 processor support
...
Also changed a "shouldn't-ever-happen" deliberate syntax error into a proper #error.
CORE-17518
2022-05-25 16:34:11 +03:00
William Kent
212cbb6fff
[CABMAN] Make cabman exit with non-zero exit code if argument parsing fails ( #4022 )
...
Co-authored-by: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
2022-05-05 17:21:54 +02:00
William Kent
0ebad9f3c5
[TXT2NLS] Use delete[] to deallocate new[] output ( #4022 )
...
Per AppleClang 13.0 warning.
2022-05-05 17:21:54 +02:00
Mark Jansen
fd00338b59
[WINESYNC] Fail gracefully when unable to delete a file
2022-04-09 01:26:30 +02:00
Justin Miller
2204695f0a
[SDK] Fix some arm64 stuff that was discovered during testing
...
Addendum to 6dfc13e4
. CORE-17518
2022-04-07 19:50:43 +03:00
Hermès Bélusca-Maïto
a4cad7be6b
[SDK:CMLIB][MKHIVE][BOOT:ENVIRON][NTOS:CONFIG] Add missing HvGetCell casts. Replace some ASSERT(FALSE).
2022-03-27 18:37:16 +02:00
Mark Jansen
80c56a5f6c
[WINESYNC]: msi is now in sync with wine-staging wine-7.3
2022-03-20 19:28:46 +01:00
winesync
3b5586f635
[WINESYNC] msi: Create the custom action server as an elevated process.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51143
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
wine-staging patch by Zebediah Figura <z.figura12@gmail.com>
2022-03-20 19:28:45 +01:00
winesync
48d97683b3
[WINESYNC] msi: Do not sign extend after multiplying.
...
Signed-off-by: Mark Jansen <learn0more+wine@gmail.com>
wine-staging patch by Mark Jansen <learn0more+wine@gmail.com>
2022-03-20 19:28:45 +01:00
Justin Miller
b1fca7ea55
[SDK][XDK] Add more definitions for ARM64 and start fixing PE binaries ( #4142 )
...
- Add context structure and definitions, NEON128 structure,
runtime function entry, dispatcher context, scope table
All definitions are based on the latest SDK for arm64.
[SDK] Use _TARGET_PE64 in the pefixup
[GENINC] Add AA64 identifier for ARM64 PE binaries
CORE-17518
2021-12-09 17:54:16 +03:00
Sergey Valentei
84ed4a79dc
[HHPCOMP] Check return value when calling chdir ( #4073 )
...
Signed-off-by: Sergey Valentei <ihsinme@gmail.com>
2021-11-17 14:28:12 +03:00
Justin Miller
be223b9de7
[SDK] Allow ARM64 MSVC to complete configuration ( #4045 )
...
- Add some of the missing CMake adjustments to continue the configure and compile process with ARM64 MSVC
- Created quick stubs for the functions in SDK needed to finish the configuration process
- Put in an ARM64 option for spec2def
CORE-17518 CORE-17615
2021-10-22 18:52:32 +03:00
Konrad Dybcio
d26409cc34
[SDK][MKISOFS] xconfig.h: Don't define VA_LIST_IS_ARRAY on Linux/ARM(64) ( #4012 )
...
For some bizarre reason ARM toolchains have some peculiar issues with various va_arg macros,
as this is not the first time one of these is problematic (though I don't remember the previous one,
it was a long, long time ago ™️ ).. They always seem to expect va_list as an argument though, so
let's make them happy and by extension make ros-tools compile on Linux/ARM(64) compile again!
2021-10-20 22:12:23 +03:00
Konrad Dybcio
dff479c82f
[HHPCOMP] lz_nonslide.h: Define u_char on Linux ( #4011 )
...
Not defining the type breaks the compilation on (at least arm) Linux. Add a check for Linux-as-build-host to make it pass.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-10-16 01:30:22 +03:00
Victor Perevertkin
e372f2b19b
[REACTOS] Remove PowerPC Open Firmware-related code
...
Was forgotten during the overall PowerPC support removal.
Addendum to 6ef6fabfc5
2021-09-24 04:13:08 +03:00
Hermès Bélusca-Maïto
9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93
.
...
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00
Hermès Bélusca-Maïto
9b1edceae1
[REACTOS] Fix some instances of DPRINTs with trailing whitespace before newlines.
2021-09-13 03:52:19 +02:00
Mark Jansen
560fdd150a
[SDK] Add script to check includes with modified struct packing
2021-06-19 16:30:21 +02:00
Victor Perevertkin
34593d933b
[FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces
2021-06-11 15:33:08 +03:00
Jérôme Gardou
79b2d9c2ff
[TXT2NLS] Rewrite the tool
...
With support for multibyte codepages & glyph tables
CORE-17571
2021-05-19 22:50:29 +02:00
Jérôme Gardou
1549f0837f
[SDK] Turn txt2nls into a host tool
2021-05-19 22:50:29 +02:00
Jérôme Gardou
0f723105c6
[CMAKE] Allow compiling amd64 port with GCC on Windows
...
Dedicated to Daniel
2021-05-19 14:13:51 +02:00
Dmitry Borisov
6e33c8ffd3
[PEFIXUP] Fixup of resource sections in GCC builds. ( #3594 )
...
Make resource sections discardable for kernel-mode drivers and DLLs.
2021-05-10 00:36:38 +02:00
Hermès Bélusca-Maïto
9e0a3cdf6c
[PEFIXUP] Add support for overriding the attributes of specific PE sections. ( #3598 )
...
Use a syntax identical to the one from the EDITBIN tool:
--section:name[=newname][,[[!]{CDEIKOMPRSUW}][A{1248PTSX}]]
https://docs.microsoft.com/en-us/cpp/build/reference/section-editbin?view=msvc-160
2021-05-09 01:39:21 +02:00
Hermès Bélusca-Maïto
eb29a33169
[PEFIXUP] Section names are case-sensitive, so we can just use strncmp() instead of the non-standard strncasecmp() for names comparisons. ( #3598 )
2021-05-05 19:15:02 +02:00
Hermès Bélusca-Maïto
ea26767353
[PEFIXUP] Avoid multi-level nesting of code with the error handling done at the very end. Use size_t variables for file sizes. ( #3598 )
2021-05-05 19:15:01 +02:00
Hermès Bélusca-Maïto
88b933330d
[PEFIXUP] Only recalculate the PE checksum if the image is not from a reproducible build (original checksum == 0). ( #3598 )
2021-05-05 19:15:01 +02:00
Hermès Bélusca-Maïto
7ad33940c2
[PEFIXUP] Use vfprintf() with the va_args list. ( #3598 )
2021-05-05 19:14:57 +02:00
Jérôme Gardou
a8255233f8
[SPEC2DEF] Fix imports of C++ stdcall exports
...
Too much mangling mangles it too much
2021-05-03 22:00:57 +02:00
Jérôme Gardou
ba74a05a17
[PSEH] Add implementation for GCC amd64
...
Also, put include directory next to the library and use
target_include_directories(.. INTERFACE ..) to get this right.
This is because :
- Having includes & implementation in two different places buggers me
- This makes sure that there is no "if it compiles everything is fine" behaviour from anyone
because now even static libraries need it for GCC amd64 build
Also add __USE_PSEH2__ define for the non SEH-aware compilers out there and use it in a few headers
where we define macros involving __try
2021-04-28 13:10:23 +02:00
Jérôme Gardou
37bc01f42b
[CMAKE] Introduce a GCC plugin for helping with amd64 SEH implementation
...
\#pragma REACTOS SEH(except)
\#pragma REACTOS SEH(finally)
What it does is counting the number of SEH __try blocks and emit the proper assembly statements at function prologue
It also checks for mixing C++ & SEH exception handling, which wouldn't work
2021-04-28 13:10:23 +02:00
Jérôme Gardou
1d1a21a920
[SDK] Make sure we build pefixup with AMD64 definitions
2021-04-28 13:10:23 +02:00
Konrad Dybcio
d5421d5a3d
[HHPCOMP] Add ARM64/AArch64 types
...
These were missing... not anymore!
Addendum to 4c7b71ac
. CORE-17518
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-04-25 21:08:17 +03:00
Serge Gautherie
28dadda8be
[CMAKE] Properly generate all Bison and Flex files at build time
...
This fully reverts 09c4d0a
.
Addendum to 5375e33
.
CORE-15991
2021-04-03 21:50:08 +03:00
Eric Kohl
6b04e46304
[WIDL] Do not transfer an explicit primitive binding handle to the server
...
This enables us to run WIDL-generated code on Windows XP again.
This patch has already been sent upstream.
2021-03-28 16:20:10 +02:00
Konrad Dybcio
4c7b71ac4f
[HHPCOMP] Add ARM (32-bit) types ( #3548 )
...
ARM32 seems to use the same type defines as i386 and friends.
Let's allow the thing to be compiled again!
CORE-17517
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-03-24 09:32:11 +03:00
Jérôme Gardou
e55123a6a2
[CMAKE] Add the kernel module type
...
Take this as an occasion to use target_link_options more
2021-03-23 11:18:43 +01:00
Jérôme Gardou
5489efcb1a
[SDK:TOOLS] Add --driver option to pefixup
...
For now, this adds IMAGE_SCN_MEM_DISCARDABLE to the INIT section, and IMAGE_SCN_MEM_NOT_PAGED to sections which are not named PAGE or .reloc
2021-03-23 11:18:43 +01:00
Serge Gautherie
55b93aecdc
[CMAKE] target_compile_definitions() calls: Remove (now) useless '-D' ( #3490 )
...
Documented as automatically removed, since CMake 3.12.4 at least.
https://cmake.org/cmake/help/v3.12/command/target_compile_definitions.html
2021-03-03 04:16:02 +01:00
Hervé Poussineau
c6730a4a87
[RSYM/x64] Allow binaries without symbol table
2021-02-22 14:42:04 +01:00