Commit Graph

26 Commits

Author SHA1 Message Date
Andrew Hyatt
1c81ef5845 Some stubs for unimplemented functions 2017-04-08 13:47:07 -07:00
Lubos Dolezel
006d12cbbf Merge remote-tracking branch 'origin/master' into using-machos-experiment 2017-02-22 21:46:51 +01:00
Sergey Bugaev
7a69dafb39 Implement XPC activity stub 2017-02-15 15:17:09 +03:00
Sergey Bugaev
48eef895be Use OSAtomic 2017-02-15 15:15:02 +03:00
Sergey Bugaev
711cfaa385 Compile libxpc with debuginfo 2017-02-15 15:13:50 +03:00
Sergey Bugaev
3cff5788a7 Make libSystem depend on libxpc 2017-02-12 10:37:25 +03:00
Sergey Bugaev
45c90a8f42 Implememnt _xpc_error_* 2017-02-12 10:35:29 +03:00
Lubos Dolezel
71c371c153 Use libclosure 2017-01-28 21:57:35 +01:00
Lubos Dolezel
ee160b8de0 Add sbuf implementation 2017-01-28 00:21:38 +01:00
Lubos Dolezel
e089cc59af Fat build and new libc 2017-01-28 00:20:42 +01:00
Lubos Dolezel
f9d2655335 Changes for Darling build 2016-03-07 21:25:42 +01:00
Lubos Dolezel
2d27e0d52a Add one internal Apple function 2016-02-25 08:30:44 +01:00
Jakub Klama
c70dc7d15a Add support for mach transport back. Allow to select transport at runtime using XPC_TRANSPORT environment variable. 2015-10-04 13:03:29 +02:00
Jakub Klama
38039006d1 Introduce explicit frame format.
Also:
* Remove iovecs from transport API, use plain buffers instead
2015-09-13 22:39:42 +02:00
Jakub Klama
dd7760f048 Fix compilation, add xpc.main() function. 2015-09-13 21:29:30 +02:00
Jakub Klama
52e89f1288 Remove child connection from tail queue when peer disappears. 2015-09-13 21:28:41 +02:00
Jakub Klama
0c91f9e667 Implement minimal xpc_copy(). 2015-09-13 21:28:09 +02:00
Jakub Klama
7786469f9e Rename directory. 2015-09-13 01:40:58 +02:00
Jakub Klama
f7ee45cbb4 Import py-xpc bindings. 2015-09-13 01:39:19 +02:00
Jakub Klama
c38896f594 Add more error checks; Fix xpc_connection_get_egid() naming. 2015-09-13 01:11:54 +02:00
Jakub Klama
7c2a5cce66 Get rid of now unused unix_port structure. 2015-09-13 01:03:59 +02:00
Jakub Klama
9da170a675 Make it use SEQPACKET sockets. Datagram sockets are too problematic to garbage-collect. 2015-09-13 00:47:17 +02:00
Jakub Klama
718c85f93f Fix style; tie debug output to XPC_DEBUG make option. 2015-09-12 15:37:54 +02:00
Jakub Klama
1cc56fcd11 Add support for passing fds using UNIX transport. 2015-09-12 00:41:32 +02:00
Jakub Klama
404e5c1b70 Initial import.
This code is based on original libxpc from NextBSD.
Improvements:
* MessagePack serialization instead of heavily-modified libnv
* Support for multiple transports (UNIX domain sockets and Mach IPC)
2015-09-11 16:37:32 +02:00
Jakub Klama
9072def42d Initial commit 2015-09-11 16:35:24 +02:00