Changes In Branch invoke-invocation Through [911b65cc6b] Excluding Merge-Ins
This is equivalent to a diff from c71d3d9433 to 911b65cc6b
2021-04-07
| ||
22:35 | Merge trunk into branch "invoke-invocation" check-in: f77f1f13ca user: js tags: invoke-invocation | |
21:38 | Remove utils/ofsock, it has been moved to a branch check-in: 5da858b5be user: js tags: trunk | |
21:37 | Move incomplete utils/ofsock into a new branch check-in: 52b10168ce user: js tags: ofsock | |
21:32 | Merge trunk into branch "invoke-invocation" check-in: 911b65cc6b user: js tags: invoke-invocation | |
21:29 | Remove incomplete -[OFInvocation invoke] support check-in: c71d3d9433 user: js tags: trunk | |
21:24 | Move incomplete support for invoking to new branch check-in: 153a646c78 user: js tags: invoke-invocation | |
21:14 | Rename OFCryptoHash -> OFCryptographicHash check-in: 2969086342 user: js tags: trunk | |
2019-09-29
| ||
15:25 | Remove incomplete -[OFInvocation invoke] support check-in: fc521f01cc user: js tags: 1.0 | |
Modified configure.ac from [b9427c0b96] to [bfb050aa3d].
︙ | |||
355 356 357 358 359 360 361 362 363 364 365 366 367 368 | 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 | + | AC_ARG_ENABLE(shared, AS_HELP_STRING([--disable-shared], [do not build shared library])) AS_IF([test x"$enable_shared" != x"no"], [ BUILDSYS_SHARED_LIB AC_SUBST(OBJFW_SHARED_LIB, "${LIB_PREFIX}objfw${LIB_SUFFIX}") AC_SUBST(EXCEPTIONS_LIB_A, "exceptions.lib.a") AC_SUBST(FORWARDING_LIB_A, "forwarding.lib.a") AC_SUBST(INVOCATION_LIB_A, "invocation.lib.a") AC_SUBST(LOOKUP_ASM_LIB_A, "lookup-asm.lib.a") BUILDSYS_FRAMEWORK([ AC_SUBST(OBJFW_FRAMEWORK, "ObjFW.framework") build_framework="yes" ]) ], [ |
︙ | |||
395 396 397 398 399 400 401 402 403 404 405 406 407 408 | 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 | + | AS_IF([test x"$enable_shared" = x"no" -a x"$enable_amiga_lib" = x"no"], [ enable_static="yes" ]) AS_IF([test x"$enable_static" = x"yes"], [ AC_SUBST(OBJFW_STATIC_LIB, "libobjfw.a") AC_SUBST(EXCEPTIONS_A, "exceptions.a") AC_SUBST(FORWARDING_A, "forwarding.a") AC_SUBST(INVOCATION_A, "invocation.a") AC_SUBST(LOOKUP_ASM_A, "lookup-asm.a") ]) AC_DEFINE_UNQUOTED(PLUGIN_SUFFIX, "$PLUGIN_SUFFIX", [Suffix for plugins]) AS_IF([test x"$enable_files" != x"no" -a x"$PLUGIN_SUFFIX" != x""], [ AC_SUBST(USE_SRCS_PLUGINS, '${SRCS_PLUGINS}') AC_SUBST(TESTPLUGIN, "plugin") |
︙ |
Modified src/Makefile from [7c8e6917fc] to [1e045757f6].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | include ../extra.mk |
︙ | |||
228 229 230 231 232 233 234 | 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | - + + - + + | ${OF_KQUEUE_KERNEL_EVENT_OBSERVER_M} \ ${OF_POLL_KERNEL_EVENT_OBSERVER_M} \ ${OF_SELECT_KERNEL_EVENT_OBSERVER_M} \ OFTCPSocketSOCKS5Connector.m OBJS_EXTRA = exceptions/exceptions.a \ encodings/encodings.a \ |
Modified src/OFInvocation.h from [8c29c4a2ab] to [14d19be34a].
︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | + + + + + + + + + + + + | * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFObject.h" OF_ASSUME_NONNULL_BEGIN #ifdef OF_APPLE_RUNTIME # ifdef OF_X86_64 # define OF_INVOCATION_CAN_INVOKE # endif #else # ifdef OF_ELF # ifdef OF_X86_64 # define OF_INVOCATION_CAN_INVOKE # endif # endif #endif @class OFMethodSignature; @class OFMutableArray OF_GENERIC(ObjectType); @class OFMutableData; /** * @class OFInvocation OFInvocation.h ObjFW/OFInvocation.h |
︙ | |||
81 82 83 84 85 86 87 88 89 90 | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | + + + + + + + | /** * @brief Gets the return value. * * @param buffer The buffer in which the return value is stored */ - (void)getReturnValue: (void *)buffer; #ifdef OF_INVOCATION_CAN_INVOKE /** * @brief Invokes the method. */ - (void)invoke; #endif @end OF_ASSUME_NONNULL_END |
Modified src/OFInvocation.m from [ea63101931] to [fa4bb596dc].
︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 29 30 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | + + + + | #include <string.h> #import "OFInvocation.h" #import "OFArray.h" #import "OFData.h" #import "OFMethodSignature.h" #ifdef OF_INVOCATION_CAN_INVOKE extern void of_invocation_invoke(OFInvocation *); #endif @implementation OFInvocation @synthesize methodSignature = _methodSignature; + (instancetype)invocationWithMethodSignature: (OFMethodSignature *)signature { return [[[self alloc] initWithMethodSignature: signature] autorelease]; |
︙ | |||
101 102 103 104 105 106 107 108 | 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | + + + + + + + | memcpy(_returnValue.mutableItems, buffer, _returnValue.itemSize); } - (void)getReturnValue: (void *)buffer { memcpy(buffer, _returnValue.items, _returnValue.itemSize); } #ifdef OF_INVOCATION_CAN_INVOKE - (void)invoke { of_invocation_invoke(self); } #endif @end |
Added src/invocation/Makefile version [a7afc8dd3a].
|
Added src/invocation/apple-call-x86_64.S version [bd0fafe6da].