summaryrefslogtreecommitdiff
path: root/gi/function.cpp
Commit message (Expand)AuthorAgeFilesLines
* Some really rough work on fixing function pointer supportewlsh/fix-function-pointersEvan Welsh2021-08-061-85/+140
* context: Cleanup completed trampoline in context, as this is what they belong toMarco Trevisan (Treviño)2021-08-011-9/+1
* GjsMaybeOwned: Remove notifier support and move it into GjsPrivateContextMarco Trevisan (Treviño)2021-08-011-0/+2
* function: Use minimal allocation for trampoline dataMarco Trevisan (Treviño)2021-08-011-1/+1
* GjsCallBackTrampoline: Inherit from Gjs::Closure (and so GClosure)Marco Trevisan (Treviño)2021-08-011-51/+35
* closure: Reimplement to be a C++ class with custom heap allocatorMarco Trevisan (Treviño)2021-08-011-9/+8
* function: Move Function into the Gjs namespace to be uniqueMarco Trevisan (Treviño)2021-05-131-5/+14
* Merge branch '386-arg-cache-not-supported' into 'master'Philip Chimento2021-05-041-10/+6
|\
| * arg-cache: Never throw when building the argument cachePhilip Chimento2021-03-201-10/+6
* | object: Discard disposed GObject's and do not create wrappers for themMarco Trevisan (Treviño)2021-04-221-0/+5
* | gerror: Handle any value when converting thrown value to GErrorPhilip Chimento2021-04-201-22/+14
* | closure: Clean up gjs_closure_invoke()Philip Chimento2021-04-171-15/+18
* | gerror: Make gjs_gerror_make_from_error() infalliblePhilip Chimento2021-04-111-7/+5
* | function: Save original allocated pointersPhilip Chimento2021-04-111-12/+12
|/
* Add some profiling labelsIvan Molodetskikh2021-03-071-0/+12
* function: Compute the array length coherently to what we do in cacheMarco Trevisan (Treviño)2021-02-131-9/+6
* function: Change return value of format_name() to std::stringPhilip Chimento2021-02-081-27/+28
* function: Cleanup function call GError on failuresMarco Trevisan (Treviño)2021-01-301-2/+2
* function: Split finishing function invocation phase to another functionMarco Trevisan (Treviño)2021-01-301-23/+32
* function: Store more call-state data in GjsFunctionCallStateMarco Trevisan (Treviño)2021-01-301-68/+48
* function: Remove JSClass macrosPhilip Chimento2021-01-301-230/+239
* function: Use std::string for building the function stringMarco Trevisan (Treviño)2021-01-021-11/+6
* function: Allocate ffi_arg_pointers using an unique_ptr arrayMarco Trevisan (Treviño)2020-11-221-2/+2
* function: Don't use alloca for CallState valuesMarco Trevisan (Treviño)2020-11-221-10/+1
* jsapi-util: Inherit constructors for GjsAutoBaseInfo and friendsMarco Trevisan (Treviño)2020-10-271-1/+1
* Merge branch 'gvalue-caller-allocates' into 'master'Philip Chimento2020-10-271-13/+25
|\
| * arg-cache: Use more flags to store argument flagsMarco Trevisan (Treviño)2020-10-221-7/+7
| * gi: Support caller-allocates GValue argumentsMarco Trevisan (Treviño)2020-10-221-3/+14
| * arg: Use argument flags for the gjs conversion functionsMarco Trevisan (Treviño)2020-10-221-3/+4
* | Revert "arg-cache: Save space by not caching GType"wip/verdre/cache-gtypeJonas Dreßler2020-10-221-7/+3
|/
* maint: Convert all existing license/copyright comments to SPDX formatPhilip Chimento2020-10-041-21/+2
* function: Split trampoline callback handler removing gotoMarco Trevisan (Treviño)2020-09-201-95/+103
* function: Use c++ features to handle GjsCallbackTrampolineMarco Trevisan (Treviño)2020-09-201-92/+103
* function: Use a vector to hold the completed trampolinesMarco Trevisan (Treviño)2020-09-201-7/+4
* arg-cache: Make it clearer how we handle the trampoline referencesMarco Trevisan (Treviño)2020-09-201-0/+2
* engine: Cleanup leftover async calls trampolines on gcMarco Trevisan (Treviño)2020-09-201-9/+1
* function: Use more auto pointers for base infoMarco Trevisan (Treviño)2020-09-201-8/+3
* function: Cleanup the completed trampolines removal in one callMarco Trevisan (Treviño)2020-09-201-8/+3
* function: Define a trampoline autopointer cleanup function and use itMarco Trevisan (Treviño)2020-09-201-12/+6
* function: Use gatomicrefcount for trampoline refcountingMarco Trevisan (Treviño)2020-09-201-6/+3
* function: Make gjs_callback_trampoline_ref to return the structMarco Trevisan (Treviño)2020-09-201-3/+3
* CI: Fix IWYU includesincludesPhilip Chimento2020-09-201-0/+2
* Merge branch 'ewlsh/fix-leak' into 'master'Philip Chimento2020-09-101-0/+1
|\
| * Fix leak when virtual function is unimplemented.Evan Welsh2020-09-081-0/+1
* | Merge branch 'remove-gslice' into 'master'Philip Chimento2020-09-101-4/+4
|\ \
| * | cleanup: Don't use GSlice anywhereMarco Trevisan (Treviño)2020-09-041-4/+4
| |/
* | function: Assert the presency of function info only if we've argumentsMarco Trevisan (Treviño)2020-09-101-4/+4
* | function: Early-initialize arguments cache or we won't ever release themMarco Trevisan (Treviño)2020-09-101-15/+18
|/
* function: Unref the allocated trampoline if returning earlyMarco Trevisan (Treviño)2020-09-031-3/+6
* function: Don't assume FFI argument always matches GIArgumentSimon McVittie2020-08-241-7/+9