3975 Commits

Author SHA1 Message Date
Thomas A
e73f202d04 Add bootstrap_cmds submodule 2023-01-28 16:27:31 -08:00
Thomas A
cfc75846d2 Remove bootstrap_cmds From Darling Repo 2023-01-28 13:53:28 -08:00
Thomas A
8f75c8c542 Remove architecture from Darling repo. Add symbol link to architecture submodule. 2023-01-25 11:26:10 -08:00
Thomas A
5a7959ec6e Add architecture submodule 2023-01-25 11:24:37 -08:00
Thomas A
0f56b11651 Forgot To Add AppKit As A Dependency 2023-01-02 08:44:10 -08:00
Ariel Abreu
cdabb90a83
Add librpcsvc; build missing xdr sources in libinfo 2023-01-02 10:20:31 -05:00
Thomas A
88574f95de Add AuthenticationServices Stubs 2022-12-31 22:57:22 -08:00
Thomas A
ea18a26122 Forgot to merge libsystem changes (Libinfo relocation) into main branch 2022-12-08 18:15:49 -08:00
CuriousTommy
d7758064b4
Merge pull request #1243 from darlinghq/relocate_libinfo
Relocate Libinfo
2022-12-08 17:59:43 -08:00
Thomas A
5d83dd4699 Fix building for Libinfo 2022-12-08 14:28:44 -08:00
Thomas A
a037da3546 Add Libinfo submodule 2022-12-08 14:28:44 -08:00
Thomas A
8d7d17298b Remove libinfo from Darling repo 2022-12-08 14:28:44 -08:00
CuriousTommy
a81030e314
[debian] Change python to python2
Should hopefully fix the CICD build issues...
2022-12-08 11:15:09 -08:00
Andrew Hyatt
87b39c27ad Hide some cctools warnings 2022-11-24 02:04:36 -05:00
Andrew Hyatt
b631335d05 Remove unused code from startup/darling.c 2022-11-24 02:04:11 -05:00
Andrew Hyatt
2dd446df8c Remove some duplicate protocol headers 2022-11-24 01:14:13 -05:00
Andrew Hyatt
934ff20078 Add some CLion files to .gitignore 2022-11-24 01:13:46 -05:00
Andrew Hyatt
a0a64b3fd1 Hopefully fix libcsu.a error on ninja 2022-11-24 01:13:24 -05:00
Thomas A
d25dfb522e Update cocotron submodule 2022-11-20 21:36:18 -08:00
Thomas A
4b9079b918 Update submodules 2022-11-20 15:11:59 -08:00
Thomas A
19b7308c3b Fix int-conversion error 2022-11-20 12:30:55 -08:00
Thomas A
d98de55844 [libaks] Print function name for stubs 2022-11-20 12:30:55 -08:00
Thomas A
09f42148ee Relocate acm headers. Add acm stubs.
Fixes int-conversion error
2022-11-20 12:30:55 -08:00
Ariel Abreu
8e028983e5
Fixes for darling-coredump to produce usable coredumps
It seems that LLDB expects any region listed as a load command to be
present in the core file, even regions with a reported file size of 0.
So instead, let's do the same thing LLDB does when saving core dumps and
just zero out those regions.

Previously, we were getting lots of "missing NT_FILE" warnings, but these
were actually wrong. It seems that if a region in the ELF core dump has
a file size of 0 and there's no corresponding NT_FILE entry, this means
it doesn't actually reside in a file (as usually indicated by a program
header file size of 0); instead, it means that the region was simply
zero-filled and the kernel did not include it in the core dump.

An additional fix has also been added that allows the main executable to
be detected even when the prefix is unmounted. This is just applying the
same logic we were already using when reading from files in the
read-and-dump stage.
2022-11-17 01:14:14 -05:00
Luboš Doležel
8011c83cc9
Merge pull request #1237 from mrolappe/master
Update darling-dmg module for disk image mount fix
2022-11-14 22:18:58 +01:00
Marco Rolappe
7eb87a88d6 Update darling-dmg module for disk image mount fix 2022-11-14 22:12:29 +01:00
Thomas A
126750fabd Add InternationalSupport Stubs 2022-11-13 15:40:01 -08:00
Thomas A
6bbbefebe6 Add .dylib files (symbolic-links) for generate-offlineasm.sh
The script relies on the System libraries existing in the SDK, otherwise, the linker will fail. For some reason, some of these files are ignored by the .gitignore file. I'm not sure why that is the case...

In an official macOS SDK, .tbd (a text-based library stub) files are used instead. However, I wasn't able to figure out if these files can be used on Linux. So for the time being, I'll just symbol-link the .dylib files when needed.
2022-11-02 12:40:54 -07:00
Thomas A
b2a6375abf Relocate Csu Source To Dedicated Repo 2022-10-04 09:06:39 -07:00
Thomas A
575b9af286 Update foundation 2022-09-30 10:41:47 -07:00
Thomas A
f31e04e5be Revert "Update libnotify"
This reverts commit bd77cc5acba9a0c1be58fb2bd639fee970466369.
2022-09-27 20:23:50 -07:00
Thomas A
bd77cc5acb Update libnotify 2022-09-27 19:51:28 -07:00
Thomas A
81f2aadfc1 Remove "frameworks/include" & "private-frameworks/include"
The SDK generator adds the headers in the framework-include and framework-private-include folder. So these folders are no longer needed.
2022-09-09 21:14:13 -07:00
Thomas A
01a2408cf0 Add SDK framework headers for Bom and Photos 2022-09-09 08:26:51 -07:00
CuriousTommy
7583f84e0a
Merge pull request #1199 from mrolappe/stubs-Photos
Add Photos framework stubs
2022-09-09 07:16:00 -07:00
CuriousTommy
31d1066495
Merge pull request #1200 from mrolappe/stubs-Bom
Add Bom framework
2022-09-09 07:15:44 -07:00
Thomas A
a227806634 Update Photos CMakeList file 2022-09-08 21:50:13 -07:00
Marco Rolappe
cc152ceb08 Add Photos framework stubs 2022-09-08 21:40:33 -07:00
Thomas A
435904ce93 Forgot to add REGENERATE_SDK check for Generating Sub-Frameworks SDK 2022-09-08 21:12:42 -07:00
Thomas A
8999ffa276 Update Bom CMakeLists file 2022-09-08 20:43:37 -07:00
Marco Rolappe
630c985dcd Move Bom framework stub sources to src/private-frameworks 2022-09-08 20:38:36 -07:00
Marco Rolappe
4410c6441b Add Bom framework 2022-09-08 20:38:36 -07:00
Thomas A
fbf27b717b Don't use backslashes for "${FRAMEWORK_VERSION}" 2022-09-08 20:29:43 -07:00
Thomas A
1cc5b56fd8 WIP changes for adding SDK header generating methods to stub generator
Code is currently untested.
2022-09-06 22:19:14 -07:00
CuriousTommy
029d33179b
Implement Support For Generating Header (#1213)
Implemented CMake methods for:
* Deleting the old headers before generating the new headers.
* Updating the "Developer" and "framework-include" headers.
* Generating the private frameworks headers into their proper dedicated folders ("PrivateFrameworks" and "framework-private-include")

Updated multiple frameworks to take advantage of this feature.
2022-09-06 12:14:20 -07:00
Ariel Abreu
795f1e7524
Update Foundation and libkqueue 2022-09-06 00:52:54 -04:00
Ariel Abreu
0cada3718d
Merge pull request #1209 from trungnt2910/dev/trungnt2910/wsl1-support
feat: Some more WSL support
2022-09-01 10:28:23 -04:00
Trung Nguyen
53fab040ac
chore: Update darlingserver and libkqueue submodules 2022-09-01 21:25:17 +07:00
Trung Nguyen
809eaccdc3
fix: Allow a NULL value for mcontext.fpregs
On WSL1, this value is always NULL. See
https://github.com/microsoft/WSL/issues/2555
for more details.
2022-08-29 22:52:18 +07:00
Trung Nguyen
73dcf3f331
fix: Add mldr lifetime pipes to guard table. 2022-08-29 22:23:27 +07:00