Commit graph

20 commits

Author SHA1 Message Date
Joachim Henze d8b86cdafb [0.4.13][APISETS] api-ms-win-core-winrt-l1-1-0: Ro*() are NT6.2+ (Win8). CORE-16707 #2739
I double-checked and although the crash in Motorbike does *not* happen by default in all of those builds:
0.4.14-RC-54-g6a6672d (hidden by opt-in apisets-default in release branch)
0.4.13-release-1-g2ac9d98 (hidden by opt-in apisets-default in release branch)
0.4.12-release-17-g79780cd (hidden also, I don't understand why)
0.4.11-release-28-gc4d930d (hidden also, I don't understand why)
0.4.10-release-35-g94b4a3e (hidden also, I don't understand why)
0.4.9-release-41-gd3a79fe (hidden also, I don't understand why)
0.4.8-release-46-gd4d58d7 (hidden, does not have apisets yet)
0.4.7-release-56-g835b508 (hidden, does not have apisets yet)

It was really only crashing in master by default, not on the release branches.

I decided to port the proper fix back nevertheless, because:
- the exports are wrong for our target
- I can not guarantee otherwise that it would not pop up all of a sudden later
- avoids the crash in rls-branches in case the app was intentionally started in Vista-compat-mode
- and the fix also decreases the binary size of that apiset.

Fix picked from 0.4.15-dev-179-g 02825c20e4
2021-01-29 23:22:01 +01:00
Joachim Henze e812b5ac42 [0.4.13][APISETS] Fix last build issue for MSVC Rls-config CORE-17402
dll\apisets\api-ms-win-crt-utility-l1-1-0_stubs.c(41) : error C2169: 'llabs' : intrinsic function, cannot be defined

Allows to complete the whole 'ninja bootcd' after 'configure -DCMAKE_BUILD_TYPE=Release'
for compiler MSVC 2010SP1 16.0.40219.1 with RosBE 2.1.6

Similar to the fix committed in 0.4.15-dev-1453-g 4ad7b6d634
2021-01-12 02:32:57 +01:00
William Kent 3862cc6f03 [0.4.13][KERNEL32] Fix regression CORE-16630
Fixes symptom "MSVCPP2017 setup crash due to missing export"
The issue very likely got introduced by
0.4.13-dev-986-g
029b8f2cf9
because our loader exports stuff from neweer Windows versions
since then in case an executables manifest states compatibility.

Original commit message from patches author William Kent:

Stub GetCurrentPackageId() (#1942)

* [KERNEL32] Add stub implementation for GetCurrentPackageId() function

This Windows 8+ function is called by WiX bundles (EXE-based installers) upon exit, if the export is present. If it is a stub in the spec, they will crash, even if they are coded to be compatible with Windows XP/ReactOS.
Also add GetCurrentPackageId() forwarder to apiset.

cherry picked from commit 0.4.14-dev-482-g
192926ee02
2020-01-16 23:55:25 +01:00
Joachim Henze baa9a3e611 [0.4.13][APISETS][KERNEL32] Appease regression CORE-16563
Symptom "Far Manager 3.0 Build 5200 can not load NetBox.dll"
due to uncaught exception when accessing GetSystemTimePreciseAsFileTime().

The symptom started to show with 0.4.13-dev-986-g
029b8f2cf9
as LDR exposes more Vista+ stuff since then.

The fix is a selective backmerge of master PR-1963
2019-12-25 16:24:55 +01:00
Joachim Henze a596f5c8bd [0.4.13][APISETS] Appease regression CORE-16563 for another function (2 of 2)
Symptom: "Far Manager main app unhandled exception when exiting"

The issue started to show with 0.4.13-dev-986-g
029b8f2cf9

Thanks to Mark Jansen for providing this 2nd patch.

cherry picked from commit 0.4.14-dev-654-g
6f93f2cf10
2019-12-23 15:17:25 +01:00
Joachim Henze 57cd41a6c7 [0.4.13][APISETS] Appease regression CORE-16563 (1 of 2)
Symptom: "Far Manager main app does not longer start up"

The issue started to show with 0.4.13-dev-986-g
029b8f2cf9

Thanks to Mark Jansen for providing this first patch.

cherry picked from commit 0.4.14-dev-653-g
cabf120833
2019-12-23 15:16:43 +01:00
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
There is no need to compile our DLLs as shared libraries since we are
managing symbols exports and imports through spec files.

On my system, this reduces the configure-time by a factor of two.
2019-04-06 17:43:38 +02:00
Denis Malikov 14df8c2e48
[MSVCRT] export _local_unwind4 for 6.0+ version 2019-01-10 19:48:49 +01:00
Denis Malikov 343bc19720 [MSVCRT] export _except_handler4_common 2019-01-05 13:44:33 +01:00
Mark Jansen bb6dfbc473
[APISETS] Remove default kernel32 import library, since stubs no longer need it 2019-01-04 20:33:37 +01:00
Mark Jansen da02cc337a
[APISETS] Update from wine-3.20-144-g2ef62f9085 2018-11-25 19:06:29 +01:00
Mark Jansen a95afd562e
[APISETS] Teach update.py how to generate a manifest 2018-11-25 19:06:29 +01:00
Mark Jansen 6121df7321
[APISETS] Stubplement versioned forwarders 2018-11-25 19:06:16 +01:00
Mark Jansen a91899a6a1
[APISETS] Fix data forwarding.
Thanks to Timo for the help :)
2018-04-21 18:56:33 +02:00
Giannis Adamopoulos 8d3045622e [RTL] actctx.c: Use an alternative implicit activation context when an application is built for latest windows versions.
Instead of loading systemcompatible.manifest as the implicit activation context, load forwardcompatible.manifest
Add a new assembly containing all apisets called ReactOS.Apisets and make it a dependency to forwardcompatible.manifest
2018-04-09 01:28:43 +03:00
Mark Jansen 15affd19ee
[APISETS] Update the script to take the current newline setting into account. 2018-04-08 17:30:44 +02:00
Mark Jansen 5aefc6f49a
[KERNEL32_VISTA] Export InitializeCriticalSectionEx. 2018-04-08 17:30:44 +02:00
Mark Jansen ac620c2e8e
[KERNEL32] Implement FlsAlloc/FlsFree based on Wine's implementation. 2018-04-08 17:27:24 +02:00
Mark Jansen 3f15a0d473
[APISETS] Add the initial set of auto-generated files.
CORE-13231
2018-04-07 14:50:59 +02:00
Mark Jansen 3ff8f1bb09
[APISETS] Introduce a script that will generate apisets based on wine apisets.
Functions that are present in ReactOS will be forwarded, the rest stubbed.
CORE-13231
2018-04-07 14:50:58 +02:00