Ariel Abreu
7d8c664778
Fix behavior of some XPC object functions
...
In particular:
* `xpc_string_create` needs to copy its input
* `xpc_data_create` needs to do the same
* `xpc_object_destroy` needs to free the memory copied into `xpc_string`s and `xpc_data`s
* `xpc_dictionary_set_value` needs to copy the key given to it
* `xpc_dictionary_destroy` needs to free the keys it copied
There's probably a few more, but these are the ones that popped up when I was fixing another library
2020-04-07 08:44:15 -04:00
Andrew Hyatt
bb16507350
Missing libxpc symbol ( darlinghq/darling#445 )
2019-01-05 10:51:37 -05:00
Andrew Hyatt
d3dcb32fff
Changes to get libinfo to attempt DS IPC
...
Libinfo should now attempt to do directory service
related stuff.
darlinghq/darling#357
2018-12-17 16:11:50 -05:00
Lubos Dolezel
a3e012662c
Integrate some fixes from https://github.com/PureDarwin/launchd-and-libxpc/pull/3
2018-08-22 22:29:52 +02:00
Lubos Dolezel
e5ffcf16ed
Integrate bugfixes from commit 43c30a322c4299c9642a62665f5698e08f35a546 in https://github.com/PureDarwin/launchd-and-libxpc.git
2018-08-22 22:11:53 +02:00
Lubos Dolezel
9c5865bcd2
Add MIG_NO_REPLY handling, the lack of which was badly breaking launchd
2017-07-24 18:49:33 +02:00
Lubos Dolezel
4437a46ee1
Fix a ton of severe bugs in libxpc to the point where it seems to work a little
2017-07-23 16:24:18 +02:00
Lubos Dolezel
a7dffc1fd5
Fix very obvious bugs in xpc_misc.c
2017-07-19 23:17:02 +02:00
Andrew Hyatt
f4d47e4b8b
Add missing functions (Stubs)
2017-04-25 21:59:04 -07:00
Andrew Hyatt
da28ea126a
Merge branch 'master' of https://github.com/darlinghq/darling-libxpc
2017-04-08 13:48:00 -07:00
Andrew Hyatt
1c81ef5845
Some stubs for unimplemented functions
2017-04-08 13:47:07 -07:00
Lubos Dolezel
f72de1d0e6
Update to latest NextBSD sources, adapt them to macOS
2017-04-02 22:34:44 +02:00
Lubos Dolezel
7e15e911a7
Enable/add more stubs
2017-04-02 21:21:58 +02:00
Lubos Dolezel
4cc9c19090
Enable xpc_strerror() code
2017-04-02 20:24:19 +02: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
Lubos Dolezel
e089cc59af
Fat build and new libc
2017-01-28 00:20:42 +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
9da170a675
Make it use SEQPACKET sockets. Datagram sockets are too problematic to garbage-collect.
2015-09-13 00:47:17 +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