Commit Graph

2324 Commits

Author SHA1 Message Date
Andrew Hyatt
e706c4c429 Switch back to generating empty classes 2017-12-22 00:28:05 -08:00
Andrew Hyatt
6115eeae20 Detect more C header data 2017-12-21 22:39:57 -08:00
Andrew Hyatt
fa856191b7 Rewrite stub generator to also generate CMakeLists
This combines the C function stub generator and
the Objective-C class generator.

It also detects the dylib current and compat
versions.

It basically creates a stub folder that you can
copy directly into /src.
2017-12-20 23:28:40 -08:00
Andrew Hyatt
30e8242ada Build AudioToolbox placeholder 2017-12-20 23:22:51 -08:00
Lubos Dolezel
cfb21f3aef Skip elfcalls initialization in dyld 2017-12-20 22:03:13 +01:00
Lubos Dolezel
6daea4231a 64 and 32-bit Mach-Os now load via kernel module 2017-12-20 22:01:37 +01:00
Andrew Hyatt
c18eea5c6f Create stubs for libDiagnosticMessagesClient.dylib 2017-12-20 12:18:25 -08:00
Lubos Dolezel
e83cb86d56 Use int bashx83 for calling the LKM, drop /dev/mach, update LKM 2017-12-19 21:43:48 +01:00
Lubos Dolezel
c24d94ff29 LKM progress on kernel-based Mach-O loading 2017-12-17 17:04:26 +01:00
Sergey Bugaev
0561be1392 Fixes in CF (TFB) and Cocotron 2017-12-17 18:58:08 +03:00
Lubos Dolezel
22697c4b0f Fix getting executable's UUID 2017-12-17 01:26:13 +01:00
Sergey Bugaev
17e294365a Fixes in CF, F and Cocotron 2017-12-15 02:17:00 +03:00
Sergey Bugaev
a2bc0b3deb Improvements in CF & F 2017-12-13 00:53:31 +03:00
Viktor Oreshkin
60b32b9ef5 Update lkm submodule 2017-12-12 18:16:31 +03:00
Lubos Dolezel
0a4ede7d08 Fixes for DMG mounting 2017-11-25 17:37:53 +01:00
Lubos Dolezel
a5431f0285 Set libxslt dylib version to 3.0.0 (fixes #359) 2017-11-18 18:41:24 +01:00
Viktor Oreshkin
bc28ac92c4 Update file_cmds
Change install path for touch so it matches macOS
Fix #352 again
2017-11-03 02:06:12 +03:00
Viktor Oreshkin
3935c7afcc Update adv_cmds and file_cmds
Change install paths for stty, ps, chown, chgrp so they match macOS
Fix #352
2017-11-03 01:01:07 +03:00
Viktor Oreshkin
89d6e6ddb1 Use POSIXLY_CORRECT getopt in darling
Fix #350
2017-11-02 23:11:32 +03:00
Viktor Oreshkin
d777989c8c Set HOME even if doesnt start with /home
Fix #351
2017-11-02 23:09:10 +03:00
Viktor Oreshkin
e51b1a1b3c Fix sys_getegid 2017-11-02 04:22:57 +03:00
Viktor Oreshkin
2b7b5f5a07 Update lkm : linux 4.13 support
Fix #349
2017-11-02 00:25:47 +03:00
Viktor Oreshkin
1b86088477 Fixes for clang 5.0 2017-11-01 22:00:34 +03:00
Lubos Dolezel
04efb72c49 LKM fixes 2017-10-09 11:23:17 +02:00
Sergey Bugaev
49d29fa159 Simplify cmake invocation 2017-09-23 18:48:05 +03:00
Andrew Hyatt
ab83b8b655 Remove AppleEvent hacks from Foundation 2017-09-08 17:39:10 -04:00
Andrew Hyatt
53ce4a5178 Fix problems with ScriptingBridge 2017-09-08 17:37:43 -04:00
Andrew Hyatt
ed73f9814e Create headers for AppleEvent 2017-09-08 17:35:52 -04:00
Andrew Hyatt
d5b62150c9 Create stubs for ScriptingBridge (#286) 2017-09-07 12:43:26 -04:00
Lubos Dolezel
4065b5d77d Implement TIOCGLTC and TIOCSLTC ioctls 2017-08-23 20:54:32 +02:00
Andrew Hyatt
203ce93a98 Fix TextEdit missing commit 2017-08-23 11:52:39 -07:00
Andrew Hyatt
814dcde097 Work towards modernizing Foundation/CF/AppKit
The goal is getting TextEdit to build
2017-08-23 11:30:34 -07:00
Andrew Hyatt
f1ea74d5f4 Revert CoreFoundation link name change commit 2017-08-22 12:50:43 -07:00
Andrew Hyatt
fc4165e59d Move NSUserDefaults from Foundation to CoreFoundation
Create a stub for NSDistributedNotificationCenter
2017-08-22 11:45:20 -07:00
Andrew Hyatt
b55fd197d6 Use correct mig arch for IOKit 2017-08-22 10:26:04 -07:00
Lubos Dolezel
80be10163b Work in progress on debugging support - fixes for process synchronization with debugserver 2017-08-22 15:04:30 +02:00
Lubos Dolezel
19cbf03e6e Revert leftover debug print statements in migcom 2017-08-22 14:38:37 +02:00
Lubos Dolezel
1d0114aa51 Fix mig to produce output as on macOS (alignment / natural_t size problem) 2017-08-22 14:31:55 +02:00
Andrew Hyatt
5fdda7ce21 Get CFNetwork building again 2017-08-21 20:01:02 -07:00
Andrew Hyatt
3d8378805c Build libdtrace.dylib 2017-08-21 17:41:16 -07:00
Andrew Hyatt
02fa001673 Create a dummy function and rootless.h 2017-08-21 17:41:16 -07:00
Andrew Hyatt
e71a40d450 Create proper signatures for dtrace 2017-08-21 17:41:16 -07:00
Lubos Dolezel
343079a0af Support thread cancelability 2017-08-20 16:01:25 +02:00
Lubos Dolezel
d4812d4b4a Use correct Mach iface for exceptions
If this breaks the build for you, then delete macosxServer.c from your build directory
2017-08-20 02:07:37 +02:00
Lubos Dolezel
af7810dc19 Update LKM (important fixes) 2017-08-20 01:08:19 +02:00
Lubos Dolezel
abed0c399d Fix cvwait hangs 2017-08-19 23:06:31 +02:00
Lubos Dolezel
aef0882331 Work on debugging support 2017-08-19 22:13:29 +02:00
Lubos Dolezel
60c4c78c4c New way of passing register states to the debugger (LKM changes pending) 2017-08-19 16:00:36 +02:00
Lubos Dolezel
74fef04711 More changes for debugging support 2017-08-18 18:29:15 +02:00
Lubos Dolezel
421ae2f127 Design changes around how we implement ptrace 2017-08-18 18:18:15 +02:00