]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
8 years agogdbus: Ensure extracted data from the GVariant is freed on error
Carlos Garnacho [Sun, 12 Feb 2017 22:02:34 +0000 (23:02 +0100)] 
gdbus: Ensure extracted data from the GVariant is freed on error

This will make extracted variables properly freed when extracting those
fails at some point.

https://bugzilla.gnome.org/show_bug.cgi?id=778540

8 years agogdbus: Initialize intermediate variables
Carlos Garnacho [Sun, 12 Feb 2017 22:08:12 +0000 (23:08 +0100)] 
gdbus: Initialize intermediate variables

Those may be left uninitialized after error handling paths are introduced,
so invalid data might be attempted to be freed later on.

https://bugzilla.gnome.org/show_bug.cgi?id=778540

8 years agoFix broken 20a1536f9911c1aadbfbe046bc01afc57bb724a5
Rico Tzschichholz [Sun, 12 Feb 2017 18:57:38 +0000 (19:57 +0100)] 
Fix broken 20a1536f9911c1aadbfbe046bc01afc57bb724a5

https://bugzilla.gnome.org/show_bug.cgi?id=777697

8 years agocodegen: Support casting arbitary value-types to arrays 5f316333d6a803e4240b5cccc95a6abd2294137b
Rico Tzschichholz [Thu, 12 Jan 2017 21:01:52 +0000 (22:01 +0100)] 
codegen: Support casting arbitary value-types to arrays

Also calculate a valid length for the resulting array.

This enables easier usage of common uint8[]-based buffer API.

https://bugzilla.gnome.org/show_bug.cgi?id=777194

8 years agovala: Non-null initializers are not allowed for owned namespace fields
Rico Tzschichholz [Tue, 24 Jan 2017 13:33:31 +0000 (14:33 +0100)] 
vala: Non-null initializers are not allowed for owned namespace fields

https://bugzilla.gnome.org/show_bug.cgi?id=777697

8 years agocodegen: Fix memory leak when using object initializer for properties c0e955db075d3d155782c167a0abb81e0dce5f59
Rico Tzschichholz [Fri, 20 Jan 2017 17:09:38 +0000 (18:09 +0100)] 
codegen: Fix memory leak when using object initializer for properties

Assigning values to properties this way leads to a ref/copy of the source
and therefore requires a unref/destroy afterwards.

https://bugzilla.gnome.org/show_bug.cgi?id=766739

8 years agoglib-2.0: Add uuid_string_* symbols
Rico Tzschichholz [Thu, 9 Feb 2017 14:09:49 +0000 (15:09 +0100)] 
glib-2.0: Add uuid_string_* symbols

8 years agocodegen: Don't return void for non-nullable simple-type structs
Michael James Gratton [Mon, 6 Feb 2017 05:47:21 +0000 (16:47 +1100)] 
codegen: Don't return void for non-nullable simple-type structs

https://bugzilla.gnome.org/show_bug.cgi?id=778224

8 years agogdk-2.0: Include gdk/gdkkeysyms.h for Gdk.Key
Rico Tzschichholz [Sat, 4 Feb 2017 12:12:18 +0000 (13:12 +0100)] 
gdk-2.0: Include gdk/gdkkeysyms.h for Gdk.Key

Required since gdk.h doesn't include gdk/gdkkeysyms.h as gdk-3.0 does.

https://bugzilla.gnome.org/show_bug.cgi?id=778173

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 1 Feb 2017 18:40:43 +0000 (19:40 +0100)] 
vapi: Update GIR-based bindings

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 22 Jan 2017 14:02:28 +0000 (15:02 +0100)] 
vapi: Update GIR-based bindings

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 17 Jan 2017 12:23:15 +0000 (13:23 +0100)] 
vapi: Update GIR-based bindings

8 years agovapi: Remove clutter-json-1.0
Rico Tzschichholz [Tue, 17 Jan 2017 11:58:45 +0000 (12:58 +0100)] 
vapi: Remove clutter-json-1.0

It went obsolete since Clutter 1.6.0 has been released, 6 years ago.

8 years agovapi: "ref" functions must return an unowned value
Rico Tzschichholz [Tue, 17 Jan 2017 11:52:47 +0000 (12:52 +0100)] 
vapi: "ref" functions must return an unowned value

Otherwise vala would automatically add a corresponding "unref" call.

8 years agogtk+-4.0: Update to 3.89.3
Rico Tzschichholz [Sun, 15 Jan 2017 20:02:17 +0000 (21:02 +0100)] 
gtk+-4.0: Update to 3.89.3

8 years agotests: Add testcase for double-free regression
Ole André Vadla Ravnås [Sun, 15 Jan 2017 18:28:00 +0000 (19:28 +0100)] 
tests: Add testcase for double-free regression

https://bugzilla.gnome.org/show_bug.cgi?id=777242

8 years agoRevert "codegen: g_free is already NULL-safe"
Rico Tzschichholz [Mon, 16 Jan 2017 14:52:41 +0000 (15:52 +0100)] 
Revert "codegen: g_free is already NULL-safe"

This reverts commit 5b024e44077b6738855b6b2e92d913b75fda3444.

https://bugzilla.gnome.org/show_bug.cgi?id=777242

8 years agoFix build with -Werror=switch
Rico Tzschichholz [Tue, 10 Jan 2017 11:18:49 +0000 (12:18 +0100)] 
Fix build with -Werror=switch

8 years agoRelease 0.35.3 0.35.3
Rico Tzschichholz [Tue, 10 Jan 2017 08:49:10 +0000 (09:49 +0100)] 
Release 0.35.3

8 years agogtk+-4.0: Update to 3.89.2+57a11ca2
Rico Tzschichholz [Tue, 10 Jan 2017 08:46:16 +0000 (09:46 +0100)] 
gtk+-4.0: Update to 3.89.2+57a11ca2

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 7 Jan 2017 17:42:10 +0000 (18:42 +0100)] 
vapi: Update GIR-based bindings

8 years agogtk+-4.0: Update to 3.89.2+1e6fce97
Rico Tzschichholz [Sat, 7 Jan 2017 17:41:37 +0000 (18:41 +0100)] 
gtk+-4.0: Update to 3.89.2+1e6fce97

8 years agogobject-introspection-1.0: Prettify and fix the whole thing
Rico Tzschichholz [Sat, 10 Dec 2016 19:07:19 +0000 (20:07 +0100)] 
gobject-introspection-1.0: Prettify and fix the whole thing

https://bugzilla.gnome.org/show_bug.cgi?id=775812

8 years agoRegenerate GIR-based bindings
Rico Tzschichholz [Thu, 5 Jan 2017 20:51:12 +0000 (21:51 +0100)] 
Regenerate GIR-based bindings

8 years agogirparser: Let alias inherit more information from base_type
Rico Tzschichholz [Thu, 5 Jan 2017 20:49:38 +0000 (21:49 +0100)] 
girparser: Let alias inherit more information from base_type

8 years agoD-Bus: support [DBus (signature = ...)] for properties
Abderrahim Kitouni [Tue, 27 Dec 2016 15:21:20 +0000 (16:21 +0100)] 
D-Bus: support [DBus (signature = ...)] for properties

This was working for methods and signals, but not for properties.
Also add tests for all cases.

https://bugzilla.gnome.org/show_bug.cgi?id=744595

8 years agovala: Fix output of syntax errors reports
Rico Tzschichholz [Thu, 5 Jan 2017 08:47:09 +0000 (09:47 +0100)] 
vala: Fix output of syntax errors reports

get_error() did not take printf-formatted strings, it expected fully
populated ones for direct usage with Report.error().

Output error message with report_parse_error() from try-catch-statements.

https://bugzilla.gnome.org/show_bug.cgi?id=776827

8 years agogirparser: Allow to specify the base_type of an alias
Rico Tzschichholz [Wed, 4 Jan 2017 15:03:09 +0000 (16:03 +0100)] 
girparser: Allow to specify the base_type of an alias

8 years agoRegenerate GIR-based bindings
Rico Tzschichholz [Sat, 10 Dec 2016 19:06:37 +0000 (20:06 +0100)] 
Regenerate GIR-based bindings

8 years agogirparser: Improve function to method conversion
Rico Tzschichholz [Sat, 10 Dec 2016 19:02:46 +0000 (20:02 +0100)] 
girparser: Improve function to method conversion

Update the array-length, closure and destroy indexes if needed.
Drop instance_pos attribute if it refers to the first parameter which is
the default anyway.

8 years agoMove writing of G_GNUC_DEPRECATED down to CCodeDeclarator implementations
Rico Tzschichholz [Tue, 3 Jan 2017 17:55:18 +0000 (18:55 +0100)] 
Move writing of G_GNUC_DEPRECATED down to CCodeDeclarator implementations

Doing so in CCodeDeclaration is error-prone. CCodeVariableDeclarator still
requires special handling which isn't done here.

8 years agoccodefunction: Only add G_GNUC_DEPRECATED to declarations
Rico Tzschichholz [Tue, 3 Jan 2017 17:52:43 +0000 (18:52 +0100)] 
ccodefunction: Only add G_GNUC_DEPRECATED to declarations

8 years agovapi: Add gtk+-unix-print-4.0 bindings
Rico Tzschichholz [Tue, 3 Jan 2017 15:11:23 +0000 (16:11 +0100)] 
vapi: Add gtk+-unix-print-4.0 bindings

8 years agovapi: Add gtk+-unix-print-2.0 bindings
Rico Tzschichholz [Tue, 3 Jan 2017 13:55:51 +0000 (14:55 +0100)] 
vapi: Add gtk+-unix-print-2.0 bindings

8 years agovapi: Add gtk+-unix-print-3.0 bindings
Rico Tzschichholz [Mon, 2 Jan 2017 19:48:35 +0000 (20:48 +0100)] 
vapi: Add gtk+-unix-print-3.0 bindings

8 years agogtk+-4.0: Update to 3.89.2+b993acfe
Rico Tzschichholz [Thu, 29 Dec 2016 07:53:46 +0000 (08:53 +0100)] 
gtk+-4.0: Update to 3.89.2+b993acfe

8 years agogtk+-3.0: Update to 3.22.5+a1aee460
Rico Tzschichholz [Thu, 29 Dec 2016 13:19:20 +0000 (14:19 +0100)] 
gtk+-3.0: Update to 3.22.5+a1aee460

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 29 Dec 2016 13:15:50 +0000 (14:15 +0100)] 
vapi: Update GIR-based bindings

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 17 Dec 2016 12:03:59 +0000 (13:03 +0100)] 
vapi: Update GIR-based bindings

8 years agocodegen: Re-use CCodeIdentifier ("_data_")
Rico Tzschichholz [Wed, 14 Dec 2016 18:37:12 +0000 (19:37 +0100)] 
codegen: Re-use CCodeIdentifier ("_data_")

8 years agocodegen: Compensate for the lack of g_task_get_completed on glib < 2.44
Carlos Garnacho [Wed, 14 Dec 2016 13:14:23 +0000 (14:14 +0100)] 
codegen: Compensate for the lack of g_task_get_completed on glib < 2.44

If a target glib between 2.36 and 2.44 is used, store a boolean var
in the async task data, which is initialized to FALSE and set to
TRUE in the async task callback, so async-forced-to-sync like the
async generator example can block until the task is complete.

There is one special case, if the async task receives no callback
to execute, the boolean flag is set to TRUE right away, as it
will be "finished" by the first time it's checked.

https://bugzilla.gnome.org/show_bug.cgi?id=763345

8 years agoRelease 0.35.2 0.35.2
Rico Tzschichholz [Wed, 14 Dec 2016 09:22:44 +0000 (10:22 +0100)] 
Release 0.35.2

8 years agogtk+-4.0: Make Gsk.Renderer.for_window() a static factory method
Rico Tzschichholz [Mon, 12 Dec 2016 11:54:14 +0000 (12:54 +0100)] 
gtk+-4.0: Make Gsk.Renderer.for_window() a static factory method

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 11 Dec 2016 12:36:23 +0000 (13:36 +0100)] 
vapi: Update GIR-based bindings

8 years agovala: Check inferred generic-types of MemberAccess
Rico Tzschichholz [Thu, 8 Dec 2016 12:30:10 +0000 (13:30 +0100)] 
vala: Check inferred generic-types of MemberAccess

Although avoid this check for simple-generic accesses where this would be
too strict and not wanted.

https://bugzilla.gnome.org/show_bug.cgi?id=775466

8 years agovala: Check generic-types count of DelegateType
Matthias Berndt [Thu, 29 Sep 2016 21:27:21 +0000 (23:27 +0200)] 
vala: Check generic-types count of DelegateType

https://bugzilla.gnome.org/show_bug.cgi?id=772204

8 years agocodegen: Reference struct fields with their actual cname
Rico Tzschichholz [Wed, 7 Dec 2016 17:54:30 +0000 (18:54 +0100)] 
codegen: Reference struct fields with their actual cname

https://bugzilla.gnome.org/show_bug.cgi?id=775761

8 years agoImprove constructor chain-up checks 73b9e4b4a2c059ceb6bce7ab173050fb70739892
Simon Werbeck [Wed, 26 Nov 2014 10:53:31 +0000 (11:53 +0100)] 
Improve constructor chain-up checks

The only valid expressions for chaining up are:
 * this[.named] ()
 * base[.named] ()
 * Object () - for GObject style chain-ups

This patch should prevent invalid chain-ups such as:
* Foo.named (), where Foo is not a valid base class
* (new Foo ()) (), i.e. invoking expressions that return an object

In preparation to fixing bug 567269, is_chainup() was turned into a
property.

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 5 Dec 2016 15:55:13 +0000 (16:55 +0100)] 
vapi: Update GIR-based bindings

8 years agogirwriter: Add fullname GIR attribute, and set fullname of GObject.Type
Yu Feng [Sun, 4 Dec 2016 01:43:06 +0000 (17:43 -0800)] 
girwriter: Add fullname GIR attribute, and set fullname of GObject.Type

In gir files generated by Vala, members of type GType is referenced
with name "GObject.Type", but GObject-introspection expect it to be
"GType".

While there was no way to override the fully qualified GIR name of a
member, this patch adds [GIR (fullname = "GType")] to fix the mismatch
for GObject.Type.

https://bugzilla.gnome.org/show_bug.cgi?id=775591

8 years agocodegen: Add function-prototypes for all register-type calls
Rico Tzschichholz [Thu, 1 Dec 2016 17:09:48 +0000 (18:09 +0100)] 
codegen: Add function-prototypes for all register-type calls

Make sure to match the list of called register-type calls and include
implemented classes and interfaces.

https://bugzilla.gnome.org/show_bug.cgi?id=775446

8 years agogtk+-4.0: Update to 3.89.1+e09b78f7
Rico Tzschichholz [Thu, 1 Dec 2016 09:54:36 +0000 (10:54 +0100)] 
gtk+-4.0: Update to 3.89.1+e09b78f7

8 years agomethodcall: Don't try to remove N_/NC_ while they are properly handled in C
Rico Tzschichholz [Wed, 30 Nov 2016 18:27:17 +0000 (19:27 +0100)] 
methodcall: Don't try to remove N_/NC_ while they are properly handled in C

This avoids messing around with the ownership and properly invokes copying
if needed.

https://bugzilla.gnome.org/show_bug.cgi?id=642350

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 29 Nov 2016 11:41:18 +0000 (12:41 +0100)] 
vapi: Update GIR-based bindings

8 years agotests: Add gir-test for fixed-size arrays
Rico Tzschichholz [Sun, 27 Nov 2016 11:06:25 +0000 (12:06 +0100)] 
tests: Add gir-test for fixed-size arrays

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 24 Nov 2016 14:47:45 +0000 (15:47 +0100)] 
vapi: Update GIR-based bindings

8 years agogirparser: No support for fixed-size array as return-value
Rico Tzschichholz [Thu, 24 Nov 2016 08:23:40 +0000 (09:23 +0100)] 
girparser: No support for fixed-size array as return-value

Due to the special syntax for those arrays it lead to omitting the
array-qualifier and therefore generating broken bindings.

8 years agoRelease 0.35.1 0.35.1
Rico Tzschichholz [Tue, 22 Nov 2016 11:57:21 +0000 (12:57 +0100)] 
Release 0.35.1

8 years agogstreamer-1.0: Make ElementFactory.get_static_pad_templates fully "unowned"
Rico Tzschichholz [Mon, 21 Nov 2016 17:00:02 +0000 (18:00 +0100)] 
gstreamer-1.0: Make ElementFactory.get_static_pad_templates fully "unowned"

https://bugzilla.gnome.org/show_bug.cgi?id=774791

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 20 Nov 2016 19:46:12 +0000 (20:46 +0100)] 
vapi: Update GIR-based bindings

8 years agocodegen: Use GTask instead of GSimpleAsyncResult if 2.36 target is selected 14ca2e09f9021e681947fa3f1fb5c1a6974059ae
Carlos Garnacho [Wed, 23 Mar 2016 14:04:37 +0000 (15:04 +0100)] 
codegen: Use GTask instead of GSimpleAsyncResult if 2.36 target is selected

GTask brings some differences compared to GSimpleAsyncResult. Most namely,
g_task_return*() operations perform at once the async result data asignment
and the caller's main context activation. This is something that has to be
done exactly once, so the code flow has slight changes to ensure that.

Also, the async operation data used to be attached early through
g_simple_async_result_set_op_res_gpointer, only to be maybe replaced by
the real return data. If GTask is being used, we set this data through
g_task_set_task_data().

There's code out there relying on immediate return here when state is
!=0. As GTask always defers the finalization to an idle in its main
context, ensure the source is dispatched and the task completed before
returning.

https://bugzilla.gnome.org/show_bug.cgi?id=763345

8 years agogtk+-4.0: Update to 3.89.0+48e7f419
Rico Tzschichholz [Wed, 16 Nov 2016 17:29:26 +0000 (18:29 +0100)] 
gtk+-4.0: Update to 3.89.0+48e7f419

8 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 13 Nov 2016 11:10:45 +0000 (12:10 +0100)] 
vapi: Update GIR-based bindings

8 years agogtk+-4.0: Update to 3.89.0+2520662d
Rico Tzschichholz [Sun, 13 Nov 2016 09:06:50 +0000 (10:06 +0100)] 
gtk+-4.0: Update to 3.89.0+2520662d

8 years agoFix build with -Werror=redundant-decls
Rico Tzschichholz [Sat, 12 Nov 2016 12:18:36 +0000 (13:18 +0100)] 
Fix build with -Werror=redundant-decls

8 years agoFix build with -Werror=enum-compare
Rico Tzschichholz [Fri, 11 Nov 2016 23:34:00 +0000 (00:34 +0100)] 
Fix build with -Werror=enum-compare

8 years agotests: Enable -Werror=redundant-decls
Rico Tzschichholz [Fri, 11 Nov 2016 22:44:11 +0000 (23:44 +0100)] 
tests: Enable -Werror=redundant-decls

8 years agocodegen: Don't write declaration of CreationMethod for compact-classes twice
Rico Tzschichholz [Fri, 11 Nov 2016 22:39:21 +0000 (23:39 +0100)] 
codegen: Don't write declaration of CreationMethod for compact-classes twice

https://bugzilla.gnome.org/show_bug.cgi?id=772661

8 years agoccode: Fix and disable deprecating EnumValue
Rico Tzschichholz [Fri, 11 Nov 2016 20:59:05 +0000 (21:59 +0100)] 
ccode: Fix and disable deprecating EnumValue

This still requires GCC 6.0 and later to work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47043

8 years agoMove "blurb", "nick" and "notify" into Property
Rico Tzschichholz [Fri, 11 Nov 2016 19:04:06 +0000 (20:04 +0100)] 
Move "blurb", "nick" and "notify" into Property

8 years agoTransform CCode*'s "deprecated" into using CCodeNode's "modifiers"
Rico Tzschichholz [Fri, 11 Nov 2016 18:30:41 +0000 (19:30 +0100)] 
Transform CCode*'s "deprecated" into using CCodeNode's "modifiers"

8 years agotests: Add missing main() in bug641418-*.test
Rico Tzschichholz [Thu, 10 Nov 2016 17:23:28 +0000 (18:23 +0100)] 
tests: Add missing main() in bug641418-*.test

8 years agocodegen: g_free is already NULL-safe
Rico Tzschichholz [Thu, 10 Nov 2016 13:40:18 +0000 (14:40 +0100)] 
codegen: g_free is already NULL-safe

8 years agocodegen: Don't implicitly initialize local variables with an initializer
Rico Tzschichholz [Thu, 10 Nov 2016 10:52:16 +0000 (11:52 +0100)] 
codegen: Don't implicitly initialize local variables with an initializer

8 years agoDon't initilize local variable if not requested
Rico Tzschichholz [Thu, 10 Nov 2016 09:44:11 +0000 (10:44 +0100)] 
Don't initilize local variable if not requested

8 years agocodegen: Remove unused create_local()
Rico Tzschichholz [Thu, 10 Nov 2016 09:29:10 +0000 (10:29 +0100)] 
codegen: Remove unused create_local()

8 years agocodegen: Make get_temp_variable() default to init=false
Rico Tzschichholz [Thu, 10 Nov 2016 09:24:42 +0000 (10:24 +0100)] 
codegen: Make get_temp_variable() default to init=false

8 years agoRevert "Always initialize temp variables to fix fatal warnings of GCC 4.8"
Rico Tzschichholz [Thu, 10 Nov 2016 08:21:19 +0000 (09:21 +0100)] 
Revert "Always initialize temp variables to fix fatal warnings of GCC 4.8"

This reverts commit eeb861dfba147bc37cfc7a9c22e1b582cf20ff31.

8 years agoAdd G_GNUC_PRINTF/SCANF attribute for Printf/ScanfFormat functions
Rico Tzschichholz [Tue, 8 Nov 2016 15:37:31 +0000 (16:37 +0100)] 
Add G_GNUC_PRINTF/SCANF attribute for Printf/ScanfFormat functions

https://bugzilla.gnome.org/show_bug.cgi?id=710862

8 years agoTransform CCodeParameter's "format_arg" into CCodeNode's "modifiers"
Rico Tzschichholz [Tue, 8 Nov 2016 11:09:25 +0000 (12:09 +0100)] 
Transform CCodeParameter's "format_arg" into CCodeNode's "modifiers"

8 years agoAdd CCodeNode "modifiers" and transform CCodeFunction's "attributes" to it
Rico Tzschichholz [Tue, 8 Nov 2016 11:00:48 +0000 (12:00 +0100)] 
Add CCodeNode "modifiers" and transform CCodeFunction's "attributes" to it

8 years agovala: Clean up PropertyAccessor API
Rico Tzschichholz [Thu, 20 Oct 2016 18:37:42 +0000 (20:37 +0200)] 
vala: Clean up PropertyAccessor API

8 years agovala: check a property has an accessor and/or a mutator 6dfc56a54544a129e91d11202d5f1c5424d57dab
Alistair Thomas [Tue, 8 Nov 2016 00:36:58 +0000 (00:36 +0000)] 
vala: check a property has an accessor and/or a mutator

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=773956

8 years agogtk+-4.0: Update to 3.89.0+fa7d77d4
Rico Tzschichholz [Mon, 7 Nov 2016 20:50:07 +0000 (21:50 +0100)] 
gtk+-4.0: Update to 3.89.0+fa7d77d4

8 years agocodegen: Add G_GNUC_FORMAT attribute for FormatArg function-pointers
Rico Tzschichholz [Mon, 7 Nov 2016 20:03:56 +0000 (21:03 +0100)] 
codegen: Add G_GNUC_FORMAT attribute for FormatArg function-pointers

8 years agotests: More cases of FormatArg functions
Rico Tzschichholz [Mon, 7 Nov 2016 19:49:14 +0000 (20:49 +0100)] 
tests: More cases of FormatArg functions

8 years agocodegen: Add G_GNUC_FORMAT attribute for FormatArg functions
Jürg Billeter [Mon, 7 Nov 2016 19:23:38 +0000 (20:23 +0100)] 
codegen: Add G_GNUC_FORMAT attribute for FormatArg functions

https://bugzilla.gnome.org/show_bug.cgi?id=774060

8 years agotests: Enable -Werror=format-nonliteral
Jürg Billeter [Mon, 7 Nov 2016 19:22:59 +0000 (20:22 +0100)] 
tests: Enable -Werror=format-nonliteral

8 years agovala: Pass through the format-literal
Rico Tzschichholz [Mon, 7 Nov 2016 17:56:04 +0000 (18:56 +0100)] 
vala: Pass through the format-literal

https://bugzilla.gnome.org/show_bug.cgi?id=774060

8 years agoFix broken destruction of null-terminated arrays in async data structs
Richard Wiedenhöft [Sun, 28 Feb 2016 17:19:29 +0000 (18:19 +0100)] 
Fix broken destruction of null-terminated arrays in async data structs

https://bugzilla.gnome.org/show_bug.cgi?id=762819

8 years agodoap: Add description as required
Rico Tzschichholz [Sun, 6 Nov 2016 09:11:50 +0000 (10:11 +0100)] 
doap: Add description as required

8 years agoDrop obsolete MAINTAINERS file
Rico Tzschichholz [Sun, 6 Nov 2016 08:44:17 +0000 (09:44 +0100)] 
Drop obsolete MAINTAINERS file

8 years agoAdd myself to doap
Rico Tzschichholz [Sun, 6 Nov 2016 08:41:43 +0000 (09:41 +0100)] 
Add myself to doap

8 years agoUpdate bugreport and package urls
Rico Tzschichholz [Sun, 6 Nov 2016 08:26:48 +0000 (09:26 +0100)] 
Update bugreport and package urls

8 years agomethod: Print encountered type if return types mismatch
Timm Bäder [Sat, 5 Nov 2016 13:02:16 +0000 (14:02 +0100)] 
method: Print encountered type if return types mismatch

If a class overrides a method of a base type, print both the encountered
return type and the return type expected by the base class.

https://bugzilla.gnome.org/show_bug.cgi?id=769501

8 years agogtk+-4.0: Fix cheader_filename for Gdk and update to 3.89.0+a47fb1c4
Rico Tzschichholz [Fri, 4 Nov 2016 08:13:22 +0000 (09:13 +0100)] 
gtk+-4.0: Fix cheader_filename for Gdk and update to 3.89.0+a47fb1c4

8 years agogirwriter: Use the correct tag- and element-name for an annotation
Andrea Del Signore [Thu, 3 Nov 2016 22:01:00 +0000 (23:01 +0100)] 
girwriter: Use the correct tag- and element-name for an annotation

The correct syntax is <attribute name=".." value=".."/>

https://bugzilla.gnome.org/show_bug.cgi?id=769597

8 years agocodegen: Allow underscores in type parameter names
Severin Heiniger [Fri, 27 Jun 2014 05:12:14 +0000 (22:12 -0700)] 
codegen: Allow underscores in type parameter names

https://bugzilla.gnome.org/show_bug.cgi?id=644938

8 years agotests: Enable -Werror=format-security
Jürg Billeter [Tue, 1 Nov 2016 18:18:36 +0000 (19:18 +0100)] 
tests: Enable -Werror=format-security

8 years agocodegen: Avoid temporary variables for calls to [FormatArg] methods
Jürg Billeter [Tue, 1 Nov 2016 17:03:17 +0000 (18:03 +0100)] 
codegen: Avoid temporary variables for calls to [FormatArg] methods

This prevents bogus C compiler warnings with -Wformat-nonliteral.

https://bugzilla.gnome.org/show_bug.cgi?id=769229