Commit Graph

3377 Commits

Author SHA1 Message Date
Ariel Abreu
101c907f39
Csu-88 2020-06-16 09:20:52 -04:00
Ariel Abreu
955cf9f4cb
Darling build of copyfile-166.40.1 2020-06-16 08:50:36 -04:00
Ariel Abreu
20ab534eb4
Fix copyfile header links in the SDK; add Kernel framework to the SDK
For now, the Kernel framework just links to the SDK headers, just like the System framework
2020-06-16 08:50:06 -04:00
Ariel Abreu
ce78db7998
copyfile-166.40.1 2020-06-16 08:44:17 -04:00
Ariel Abreu
139d10b1f5
Fix libmalloc build
Needed more fake DTrace probes and a couple preprocessor definitions for nanov2_malloc.c (to make all the functions compile and resolve undefined symbols at link time)
2020-06-15 23:08:39 -04:00
Ariel Abreu
cc34da6202
Link libinfo with libtrace; define PRIVATE in another source file 2020-06-15 22:29:07 -04:00
Ariel Abreu
97b790313b
Link libsystem_darwin with the necessary libraries 2020-06-15 21:45:58 -04:00
Ariel Abreu
2ada569f27
Fix the build for libdarwin 2020-06-15 20:43:23 -04:00
Ariel Abreu
7c3df4e5ec
Add more headers to the SDK
These are for libdarwin
2020-06-15 20:42:51 -04:00
Ariel Abreu
1b4c88ddc2
Use cctools-port headers for src/buildtools 2020-06-15 15:44:51 -04:00
Ariel Abreu
c78af68651
Merge remote-tracking branch 'origin/master' into update-sources 2020-06-15 14:47:49 -04:00
Ariel Abreu
fe54593478
Update submodules 2020-06-15 14:15:39 -04:00
Ariel Abreu
8b5b89cbc6
Link libc with corecrypto and libtrace 2020-06-15 14:11:18 -04:00
Ariel Abreu
38dd79e337
Add os/api.h to the SDK 2020-06-15 14:10:47 -04:00
Ariel Abreu
9ddfd1c5c1
Update submodules 2020-06-14 23:53:18 -04:00
Ariel Abreu
0229b91a56
More/fixed SDK headers
Also move launchd_defs.h into libxpc
2020-06-14 23:53:04 -04:00
HinTak
77da61ee85
Apple fonttools fixes (#813)
* missing symbols required by ftxsummarizer

fixes #799

* missing symbols required by FontValidator

fixes #806

* Copied const CFStringRef's from configd/SystemConfiguration.fproj/SCDConsoleUser.c

See also src/configd/SystemConfiguration.fproj/SCDConsoleUser.c ,
and src/external/configd/SystemConfiguration.fproj/SCDConsoleUser.c ,
which are not currrently used.

fixes #810

* correct to match value from ATS version 236.0.0

* match values from ATS version 236.0.0

* stubs needed by CoreDisplay, values matched to IOSurface 1.0.0

* moving constants from LaunchServices into the same group, for easier look-up

* Fix kMDItemFinderComment constant value

Co-authored-by: CuriousTommy <curioustommy@protonmail.com>
2020-06-14 20:50:33 -07:00
Ariel Abreu
06e468bf48
Darling build of launchd-842.92.1 2020-06-14 21:51:13 -04:00
Ariel Abreu
6dc7c86e45
launchd-842.92.1 2020-06-14 12:38:51 -04:00
Thomas A
273d688d83 Revert "__darling_mach_syscall: Get rid of negative check for x86_64"
This reverts commit 67286d8b3f. Seems to be cause issues with vchroot.
2020-06-13 08:54:15 -07:00
Thomas A
e713ce8b1a Fix macro typos 2020-06-13 08:43:30 -07:00
Ariel Abreu
7963d3fa1d
Update cups submodule 2020-06-12 23:19:45 -04:00
Ariel Abreu
5b39bbae89
Darling build of Libinfo-538 2020-06-12 23:02:28 -04:00
Ariel Abreu
e994c52001
More SDK headers 2020-06-12 23:02:08 -04:00
Ariel Abreu
b89f098150
configd-1061.40.2 2020-06-12 21:35:44 -04:00
Ariel Abreu
ab7865574c
Remove unnecessary hack in libc
The last commit to properly set the macOS deployment target project-wide fixed this (somehow; not sure how); the normal build now generates "syslog" on its own
2020-06-12 21:31:47 -04:00
Ariel Abreu
5b75583bb5
Remove macOS deployment target definitions
The deployment target is now set project-wide in the root Darling CMakeLists.txt
2020-06-12 21:24:25 -04:00
Ariel Abreu
ec4ec43278
Link libinfo headers directly in the SDK
...as opposed to linking to the symlinks in the `include` directory in libinfo
2020-06-12 21:05:58 -04:00
Ariel Abreu
a69cad115c
Libinfo-538 2020-06-10 13:19:16 -04:00
Ariel Abreu
7d8154b23d
Move libmacho into cctools
This is to remove our redundant copy of libmacho in the main repo---cctools already had a copy of it, but no CMakeLists for it
2020-06-10 13:02:15 -04:00
Ariel Abreu
fe9bb283bc
More SDK headers (cctools headers this time) 2020-06-10 13:01:50 -04:00
Ariel Abreu
b5dd53376f
Fix include directories for libm 2020-06-10 10:13:57 -04:00
Ariel Abreu
8685da0bac
Update submodules 2020-06-10 10:03:35 -04:00
Ariel Abreu
8aa58d068b
Add some good guesses for the OD Mach service names 2020-06-10 10:03:19 -04:00
Ariel Abreu
13ba951dd5
More SDK headers 2020-06-10 10:02:42 -04:00
Ariel Abreu
46929088b8
Update CMakeLists for Libsystem-1281 2020-06-09 09:56:16 -04:00
Ariel Abreu
3b8f7f870a
Libsystem-1281 2020-06-09 09:13:41 -04:00
Ariel Abreu
d9a1224eda
Fix libmalloc build 2020-06-08 22:05:12 -04:00
Ariel Abreu
01495687c1
Update libdispatch 2020-06-07 18:59:06 -04:00
Ariel Abreu
938e7e3446
Prevent object filename conflicts for two source files that differ only in extensions 2020-06-07 18:58:40 -04:00
Ariel Abreu
07e7b0beaa
Some more SDK include changes 2020-06-07 18:58:03 -04:00
Ariel Abreu
5c9b41b75d
Change bootstrap_cmds's parser include back to 'parser.h' 2020-06-07 18:57:42 -04:00
Thomas A
67286d8b3f __darling_mach_syscall: Get rid of negative check for x86_64
This check might have made sense on i386, but x86_64 uses `rax` to hold the syscall number.
2020-06-06 15:20:47 -07:00
CuriousTommy
1a7000b299
Merge pull request #817 from CuriousTommy/asm_generic_syscall
Fixing up `src/kernel` to support architectures that use the generic syscall header
2020-06-05 20:51:49 -07:00
Thomas A
fc6a720edf Fixing up src/kernel to support architectures that use the generic syscall header.
For newer architectures (like ARM64), they share the same generic syscall header. However, there has been a push by the Linux developers to reduce the number duplicate syscalls in the newer generic syscall header.

So Darling will need to workaround this issue.
2020-06-02 18:12:58 -07:00
Ariel Abreu
a989a5453f
Add back Darling modifications for bootstrap_cmds 2020-05-31 23:21:30 -04:00
Ariel Abreu
a6ff0e4861
bootstrap_cmds-116 2020-05-31 22:25:33 -04:00
Thomas A
e14fbcc49e Add missing variables for Blender 2020-05-24 21:37:22 -07:00
Thomas A
ef3b4d66c8 src/duct: Use machine/cpu_capabilities.h header 2020-05-23 21:39:58 -07:00
Thomas A
dccbb26cc6 src/libm: Moved various functions and structs to common math.h 2020-05-23 21:39:47 -07:00