glib/gobject
Philip Withnall 1e10d6b6dd glib-genmarshal: Avoid a string copy for static string valist arguments
When building a valist marshaller, we can avoid a string copy if the
argument is known to always be static. The marshaller we ship in
`gmarshal.c` got this right, but marshallers generated by
glib-genmarshal were missing the optimisation. Fix that, and add a unit
test.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Fixes: #1792
2019-06-08 00:31:03 +01:00
..
tests glib-genmarshal: Avoid a string copy for static string valist arguments 2019-06-08 00:31:03 +01:00
gatomicarray.c gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gatomicarray.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gbinding.c binding: Clarify the use of g_object_unref() to remove a binding 2018-12-17 11:01:07 +01:00
gbinding.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gboxed.c docs: Expand introduction to boxed types 2019-05-02 14:31:31 +01:00
gboxed.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gclosure.c gclosure: Minor documentation formatting improvements 2018-08-16 10:59:45 +01:00
gclosure.h gclosure: Expand documentation and fix some typos 2018-04-26 18:04:47 +01:00
genums.c gobject: Fix various compiler warnings when compiling with G_DISABLE_ASSERT 2019-03-08 19:46:21 +00:00
genums.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
glib-enumtypes.c.template build: Rename gobjectenumtypes.[ch] to glib-enumtypes.[ch] 2019-03-04 11:12:59 +00:00
glib-enumtypes.h.template build: Rename gobjectenumtypes.[ch] to glib-enumtypes.[ch] 2019-03-04 11:12:59 +00:00
glib-genmarshal.in glib-genmarshal: Avoid a string copy for static string valist arguments 2019-06-08 00:31:03 +01:00
glib-mkenums.in glib-mkenums: Support reading @rspfiles for arguments 2018-12-04 16:16:00 +05:30
glib-types.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gmarshal.c gmarshal: Move marshaller documentation comments to above functions 2019-03-04 12:33:17 +00:00
gmarshal.h gmarshal: Move marshaller documentation comments to above functions 2019-03-04 12:33:17 +00:00
gobject_gdb.py python: avoid equality check for None 2018-07-12 23:48:41 +02:00
gobject_probes.d Add missing semicolons to gobject_probes.d 2012-10-15 19:48:44 -04:00
gobject_trace.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gobject-autocleanups.h gobject: Add g_autoptr() support for GTypeClass, GEnumClass, GFlagsClass 2018-05-15 15:38:33 +01:00
gobject-query.c Spelling: fix spelling of specify 2018-09-25 14:34:48 +01:00
gobject.c Allow calling get_property() with an uninitialized GValue 2019-06-04 20:05:24 +01:00
gobject.h gmacros: Add new private g_has_typeof to abstract __typeof__ checks 2018-07-16 15:59:44 +01:00
gobject.rc.in meson: build Windows resource files 2018-01-04 22:19:30 +01:00
gobject.stp.in glib: Namespace global tapset variables by soname 2016-11-23 10:50:39 +00:00
gobjectnotifyqueue.c gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gparam.c gparam: Remove unsynchronized write to g_type field 2019-02-22 17:53:18 +01:00
gparam.h Revert "headers: Add various missing G_DISABLE_DEPRECATED guards" 2019-03-16 11:30:13 +00:00
gparamspecs.c gobject: Fix various compiler warnings when compiling with G_DISABLE_ASSERT 2019-03-08 19:46:21 +00:00
gparamspecs.h Revert "headers: Add various missing G_DISABLE_DEPRECATED guards" 2019-03-16 11:30:13 +00:00
gsignal.c gisgnal: Add g_clear_signal_handler 2019-05-20 13:33:41 -05:00
gsignal.h gisgnal: Add g_clear_signal_handler 2019-05-20 13:33:41 -05:00
gsourceclosure.c all: Remove trailing newlines from g_message()/g_warning()/g_error()s 2018-04-27 16:46:19 +01:00
gsourceclosure.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gtype-private.h gtype: Add private DEFINE_TYPE with prelude to workaround gtype deadlocks 2017-06-14 14:45:45 -04:00
gtype.c docs: Use ‘look up’ as a verb, rather than the noun ‘lookup’ 2019-04-26 12:12:31 +01:00
gtype.h Revert "headers: Add various missing G_DISABLE_DEPRECATED guards" 2019-03-16 11:30:13 +00:00
gtypemodule.c all: Remove trailing newlines from g_message()/g_warning()/g_error()s 2018-04-27 16:46:19 +01:00
gtypemodule.h gtypemodule: Cast *_init functions to void(*)(void) first 2019-01-25 11:29:05 +00:00
gtypeplugin.c gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gtypeplugin.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gvalue.c gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gvalue.h Revert "GValue – Don't cast G_VALUE_TYPE() argument to GValue*" 2018-02-08 14:28:32 +00:00
gvaluearray.c gvaluearray: Mark the whole of GValueArray as deprecated 2019-03-15 11:09:36 +00:00
gvaluearray.h Revert "headers: Add various missing G_DISABLE_DEPRECATED guards" 2019-03-16 11:30:13 +00:00
gvaluecollector.h gobject: Add prefixes to variables in G_VALUE_COLLECT*() macros 2018-06-20 16:00:48 +01:00
gvaluetransform.c gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gvaluetypes.c gobject: Fix various compiler warnings when compiling with G_DISABLE_ASSERT 2019-03-08 19:46:21 +00:00
gvaluetypes.h gobject/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
libgobject-gdb.py.in Rename gdb macros with _gdb suffix to avoid ns clashes 2016-05-23 10:52:10 -04:00
meson.build Only build tests if certain conditions are met. 2019-04-16 10:19:41 +00:00