]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Wed, 17 Jan 2018 09:26:10 +0000 (10:26 +0100)]
vala: Move constant lists from Class/Interface up to ObjectTypeSymbol
Rico Tzschichholz [Wed, 17 Jan 2018 09:14:21 +0000 (10:14 +0100)]
vala: Move inner-type lists from Class/Interface up to ObjectTypeSymbol
Inner-types are classes, structs, enums and delegates
Daniel Espinosa [Tue, 16 Jan 2018 15:57:23 +0000 (09:57 -0600)]
vala: Move member lists from Class/Interface up to ObjectTypeSymbol
Members are fields, methods, properties and signals
https://bugzilla.gnome.org/show_bug.cgi?id=789069
Rico Tzschichholz [Tue, 16 Jan 2018 12:08:32 +0000 (13:08 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 15 Jan 2018 13:54:27 +0000 (14:54 +0100)]
test: Drop workaround for fixed bug with compact classes
https://bugzilla.gnome.org/show_bug.cgi?id=533977
Daniel Espinosa [Mon, 15 Jan 2018 13:28:43 +0000 (14:28 +0100)]
codegen: Add support for abstract/virtual methods and properties in compact classes
Reworked and extened by Rico Tzschichholz
https://bugzilla.gnome.org/show_bug.cgi?id=741465
Rico Tzschichholz [Fri, 12 Jan 2018 16:47:36 +0000 (17:47 +0100)]
webkit2gtk-web-extension-4.0: Fix DOM.EventTarget interface
Rico Tzschichholz [Wed, 10 Jan 2018 16:04:25 +0000 (17:04 +0100)]
gtk+-4.0: Update to 3.93.0+
60d3378d
Rico Tzschichholz [Wed, 10 Jan 2018 15:23:45 +0000 (16:23 +0100)]
libwnck-3.0: Update to 3.24.1
Rico Tzschichholz [Wed, 10 Jan 2018 15:23:19 +0000 (16:23 +0100)]
webkit2gtk-4.0: Update to 2.19.5
Rico Tzschichholz [Tue, 27 Sep 2016 20:50:13 +0000 (22:50 +0200)]
Regenerate GIR-based bindings
Rico Tzschichholz [Mon, 30 Jun 2014 07:39:59 +0000 (09:39 +0200)]
girparser: Improve instance method detection
Improve reparenting static namespace functions to their presumably parent
structures. Only allow this if the first parameter is not defined as (out)
or (inout)
Unfortunately, while this patch fixes detection, nothing can be done about
breaking API.
Based on patch by Simon Werbeck <simon.werbeck@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=732460
Rico Tzschichholz [Sun, 26 Nov 2017 20:35:02 +0000 (21:35 +0100)]
valadoc: Less string copying
Rico Tzschichholz [Sun, 26 Nov 2017 19:40:14 +0000 (20:40 +0100)]
valadoc: Drop custom realpath()
Rico Tzschichholz [Sun, 26 Nov 2017 18:27:00 +0000 (19:27 +0100)]
valadoc: Drop custom SourceLocation
Rico Tzschichholz [Thu, 7 Sep 2017 07:56:40 +0000 (09:56 +0200)]
valadoc: Drop custom MarkupReader
Rico Tzschichholz [Tue, 9 Jan 2018 07:48:58 +0000 (08:48 +0100)]
gio-unix-2.0: Update to 2.55.1
Michael James Gratton [Tue, 9 Jan 2018 01:30:50 +0000 (12:30 +1100)]
libvaladoc: Add support for single line documentation comments
This is useful for example in annotating properties:
/** Returns the current state of the frobnocator. */
public State frob { get; set; };
* libvaladoc/documentation/documentationparser.vala
(DocumentationParser.init_valadoc_rules): Split Comment rule up into
single and multi-line versions. Duplication Paragraph creation and
cleanup for single-line comments.
https://bugzilla.gnome.org/show_bug.cgi?id=736483
Michael James Gratton [Tue, 9 Jan 2018 01:36:43 +0000 (12:36 +1100)]
libvaladoc: Allow @link tags to be split over multiple lines
* libvaladoc/documentation/documentationparser.vala
(DocumentationParser.init_valadoc_rules): Allow both SP and NL in
general tag rule to separate tag name and body.
* libvaladoc/taglets/tagletlink.vala (Link): Allow multiple further SP
and NL chars before the link.
https://bugzilla.gnome.org/show_bug.cgi?id=646982
Rico Tzschichholz [Mon, 8 Jan 2018 21:05:47 +0000 (22:05 +0100)]
Release 0.39.4
Rico Tzschichholz [Mon, 8 Jan 2018 16:03:14 +0000 (17:03 +0100)]
ccode: Don't write trailing space in function declarations/definitions
https://bugzilla.gnome.org/show_bug.cgi?id=688447
Rico Tzschichholz [Mon, 8 Jan 2018 15:51:44 +0000 (16:51 +0100)]
vala: Add pkgdatadir and pkglibdir to pkg-config file
Rico Tzschichholz [Mon, 8 Jan 2018 15:44:15 +0000 (16:44 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 8 Jan 2018 09:03:10 +0000 (10:03 +0100)]
vapigen: Add coverage build-flags
Rico Tzschichholz [Sun, 7 Jan 2018 18:00:12 +0000 (19:00 +0100)]
tests: Add invalid "base" tests to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 17:59:11 +0000 (18:59 +0100)]
tests: Add "while (false)" test to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 15:07:22 +0000 (16:07 +0100)]
tests: Add "continue" parser test to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 14:39:44 +0000 (15:39 +0100)]
tests: Add "preprocessor" parser test to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 14:27:57 +0000 (15:27 +0100)]
tests: Add "assignment" operator parser tests to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 13:22:20 +0000 (14:22 +0100)]
tests: Add "do-while" parser tests to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 13:09:38 +0000 (14:09 +0100)]
tests: Add "iterator" methods tests to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 12:13:54 +0000 (13:13 +0100)]
tests: Add "contains" method test to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 09:44:18 +0000 (10:44 +0100)]
tests: Add "dynamic" signal and property tests to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 08:45:04 +0000 (09:45 +0100)]
tests: Add explicit "move" and "resize" array tests to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 08:20:43 +0000 (09:20 +0100)]
tests: Add "initially-unowned" test to increase coverage
Rico Tzschichholz [Sat, 6 Jan 2018 22:52:37 +0000 (23:52 +0100)]
tests: Add "tuple" parser test to increase coverage
Rico Tzschichholz [Sat, 6 Jan 2018 22:17:36 +0000 (23:17 +0100)]
tests: Add "template" parser test to increase coverage
Rico Tzschichholz [Sun, 7 Jan 2018 19:04:07 +0000 (20:04 +0100)]
valadoc: Add coverage build-flags
Rico Tzschichholz [Sun, 7 Jan 2018 18:59:47 +0000 (19:59 +0100)]
valadoc/tests: split VALAFLAGS over multiple lines in testrunner.sh
Rico Tzschichholz [Sat, 6 Jan 2018 20:03:48 +0000 (21:03 +0100)]
codegen: Drop dead lambda-in-constructor path
Unreachable since
097b31af35cd587674a8cddd5dccc49c01b89858
Rico Tzschichholz [Sun, 7 Jan 2018 10:25:03 +0000 (11:25 +0100)]
vala: Replace if-else-tree with switch
Rico Tzschichholz [Sat, 6 Jan 2018 08:53:48 +0000 (09:53 +0100)]
codegen: Add destroy out-param when invoking delegate returned by delegate
https://bugzilla.gnome.org/show_bug.cgi?id=792077
Rico Tzschichholz [Sat, 6 Jan 2018 09:14:00 +0000 (10:14 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 6 Jan 2018 09:04:15 +0000 (10:04 +0100)]
gtk+-4.0: Update to 3.93.0+
3c38ebb9
Rico Tzschichholz [Sat, 6 Jan 2018 09:02:40 +0000 (10:02 +0100)]
gtk+-3.0: Update to 3.22.26+
6f26d0dc
Rico Tzschichholz [Fri, 5 Jan 2018 15:30:18 +0000 (16:30 +0100)]
gtk+-2.0: Don't hide user_data parameter in Clipboard.set_with_data()
https://bugzilla.gnome.org/show_bug.cgi?id=792237
Rico Tzschichholz [Fri, 5 Jan 2018 15:26:58 +0000 (16:26 +0100)]
gtk+-3.0: Don't hide user_data parameter in Clipboard.set_with_data()
https://bugzilla.gnome.org/show_bug.cgi?id=792237
Rico Tzschichholz [Wed, 3 Jan 2018 19:57:13 +0000 (20:57 +0100)]
codegen: Only add property-enum and GParamSpec-array for GObject classes
Rico Tzschichholz [Wed, 3 Jan 2018 19:44:08 +0000 (20:44 +0100)]
codegen: Use g_enum/flags_to_string while targeting glib >= 2.54
Rico Tzschichholz [Sun, 3 Sep 2017 09:27:21 +0000 (11:27 +0200)]
g-i: Update type qualifiers
Rico Tzschichholz [Wed, 3 Jan 2018 08:19:38 +0000 (09:19 +0100)]
Release 0.39.3
Rico Tzschichholz [Wed, 3 Jan 2018 07:36:59 +0000 (08:36 +0100)]
gtk+-4.0: Update to 3.93.0+
6aeae2c8
Rico Tzschichholz [Tue, 2 Jan 2018 12:07:58 +0000 (13:07 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 2 Jan 2018 12:07:42 +0000 (13:07 +0100)]
gstreamer-1.0: Update from 1.13+ git master
Rico Tzschichholz [Tue, 2 Jan 2018 12:07:04 +0000 (13:07 +0100)]
webkit2gtk-4.0: Update to 2.19.3
Rico Tzschichholz [Mon, 25 Dec 2017 11:04:01 +0000 (12:04 +0100)]
parser: Allow custom invocations of parse_file()
Use CodeContext of SourceFile if needed
https://bugzilla.gnome.org/show_bug.cgi?id=791936
Rico Tzschichholz [Tue, 2 Jan 2018 08:55:34 +0000 (09:55 +0100)]
gtk+-4.0: Update to 3.93.0+
fcc8d778
Rico Tzschichholz [Wed, 20 Dec 2017 20:34:20 +0000 (21:34 +0100)]
codegen: Fix chain-up regression with real non-null struct parameters
Regression of
b9035aaf17a9a97a070812a8ee83251fd3893b1e
https://bugzilla.gnome.org/show_bug.cgi?id=791785
Rico Tzschichholz [Thu, 14 Dec 2017 19:15:29 +0000 (20:15 +0100)]
semanticanalyzer: Transform replaced_nodes field into method
Rico Tzschichholz [Thu, 14 Dec 2017 18:45:51 +0000 (19:45 +0100)]
vala: Move next_lambda_id into LambdaExpression
Rico Tzschichholz [Thu, 14 Dec 2017 18:05:55 +0000 (19:05 +0100)]
vala: Replace more public fields
Rico Tzschichholz [Thu, 14 Dec 2017 16:38:38 +0000 (17:38 +0100)]
vala: Add dedicated BinaryExpression.chained() constructor
Rico Tzschichholz [Thu, 14 Dec 2017 16:25:10 +0000 (17:25 +0100)]
vala: Add dedicated CastExpression.silent() constructor
Rico Tzschichholz [Thu, 14 Dec 2017 16:17:13 +0000 (17:17 +0100)]
codegen: Avoid silent casts if not needed
Rico Tzschichholz [Thu, 14 Dec 2017 14:01:12 +0000 (15:01 +0100)]
semanticanalyzer: Directly access local datatypes in check_print_format()
Rico Tzschichholz [Thu, 14 Dec 2017 10:35:20 +0000 (11:35 +0100)]
codegen: Don't hold reference of CodeContext in TypeRegisterFunction
Rico Tzschichholz [Thu, 14 Dec 2017 09:23:14 +0000 (10:23 +0100)]
Release taken references to CodeContext after using it
https://bugzilla.gnome.org/show_bug.cgi?id=712694
Rico Tzschichholz [Thu, 14 Dec 2017 08:57:53 +0000 (09:57 +0100)]
vala: Use CodeContext.root instead of SemanticAnalyzer.root_symbol
https://bugzilla.gnome.org/show_bug.cgi?id=712694
Rico Tzschichholz [Thu, 14 Dec 2017 08:19:33 +0000 (09:19 +0100)]
girwriter: Use local reference to current CodeContext
Jukka-Pekka Iivonen [Fri, 26 Mar 2010 14:12:00 +0000 (15:12 +0100)]
parser: Accept comma-separated list in case-statements of switchs
switch (i) {
case 0, 1, 2:
break;
}
https://bugzilla.gnome.org/show_bug.cgi?id=614015
Alistair Thomas [Wed, 13 Dec 2017 16:10:20 +0000 (16:10 +0000)]
gtk+-2.0: Mark MessageDialog constructor parameter, message_format, as nullable
https://bugzilla.gnome.org/show_bug.cgi?id=791570
Alistair Thomas [Wed, 13 Dec 2017 15:32:39 +0000 (15:32 +0000)]
vapi: Remove librsvg-2.0 binding
This binding was upstreamed 19 June 2012. See:
https://git.gnome.org/browse/librsvg/commit/?id=
729a3d6b6486faa92c7a56a5a4f5bf04173c8624
https://bugzilla.gnome.org/show_bug.cgi?id=776025
Alistair Thomas [Wed, 13 Dec 2017 15:32:03 +0000 (15:32 +0000)]
vapi: Remove libgdata bindings
This binding was upstreamed 24 February 2013. See:
https://git.gnome.org/browse/libgdata/commit/?id=
2186969875520d535704f61280f62145932b4948
https://bugzilla.gnome.org/show_bug.cgi?id=776024
Alistair Thomas [Wed, 13 Dec 2017 15:31:42 +0000 (15:31 +0000)]
vapi: Remove gtksourceview-3.0 bindings
This binding was upstreamed 12 August 2014. See:
https://git.gnome.org/browse/gtksourceview/commit/?id=
44742519a806240a528fd61a19027cf2c24bdf02
and have been partially removed from Vala back in 2014:
https://git.gnome.org/browse/vala/commit/?id=
dbc07519e666c2ab9a2ecbee8dc550c0a3741204
https://bugzilla.gnome.org/show_bug.cgi?id=776023
Alistair Thomas [Wed, 13 Dec 2017 15:31:25 +0000 (15:31 +0000)]
vapi: Remove libgnome-keyring binding
This binding has been upstreamed since 28 June 2012. See
https://git.gnome.org/browse/libgnome-keyring/commit/?id=
ea1476c1a941d71d6d7be90aa6fc5b8ba8da7c83
https://bugzilla.gnome.org/show_bug.cgi?id=776022
Alistair Thomas [Wed, 13 Dec 2017 15:34:52 +0000 (15:34 +0000)]
vapi: Remove gedit 3 binding
The bindings have been upstreamed since 17 February 2014. See
https://git.gnome.org/browse/gedit/commit/?id=
e16b196c32cd288bc186abff19e5a23af5f83422
https://bugzilla.gnome.org/show_bug.cgi?id=776021
Rico Tzschichholz [Wed, 13 Dec 2017 11:40:50 +0000 (12:40 +0100)]
Make use of GLib.OPTION_REMAINING instead of ""
Rico Tzschichholz [Wed, 13 Dec 2017 11:31:42 +0000 (12:31 +0100)]
glib-2.0: Add GLib.OPTION_REMAINING and GLib.OptionFlags.NONE
Rico Tzschichholz [Mon, 11 Dec 2017 09:41:15 +0000 (10:41 +0100)]
Release 0.39.2
Rico Tzschichholz [Mon, 11 Dec 2017 08:11:20 +0000 (09:11 +0100)]
Regenerate GIR-based bindings
Rico Tzschichholz [Mon, 11 Dec 2017 08:08:25 +0000 (09:08 +0100)]
girparser: Don't mark simple-type out-parameters with '?' as nullable
Using '?' on simple-types has a different meaning in vala and would create
a boxed-type which is not compatible with the original type.
Rico Tzschichholz [Sun, 10 Dec 2017 22:14:01 +0000 (23:14 +0100)]
gtk+-4.0: Update to 3.93.0+
6af4947e
Rico Tzschichholz [Sun, 10 Dec 2017 22:07:48 +0000 (23:07 +0100)]
gtk+-3.0: Fix lost GLib.InitiallyUnowned inheritance of Gtk.Widget
Rico Tzschichholz [Sun, 10 Dec 2017 17:45:49 +0000 (18:45 +0100)]
gtk+-3.0: Drop obsolete GIDL sources
https://bugzilla.gnome.org/show_bug.cgi?id=730746
Rico Tzschichholz [Thu, 28 Apr 2016 20:31:08 +0000 (22:31 +0200)]
gtk+-3.0: Switch to GIR
Initially based on patch by Evan Nemerson
https://bugzilla.gnome.org/show_bug.cgi?id=730746
Rico Tzschichholz [Sat, 9 Dec 2017 21:52:45 +0000 (22:52 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 9 Dec 2017 21:47:40 +0000 (22:47 +0100)]
gstreamer-1.0: Update from 1.13+ git master
Rico Tzschichholz [Sat, 9 Dec 2017 21:45:38 +0000 (22:45 +0100)]
gtk+-4.0: Update to 3.93.0+
8233cf36
Rico Tzschichholz [Fri, 8 Dec 2017 08:59:11 +0000 (09:59 +0100)]
gtk+-4.0: Add some fixes from gtk+-3.0
Rico Tzschichholz [Fri, 8 Dec 2017 07:38:28 +0000 (08:38 +0100)]
Regenerate GIR-based bindings
Rico Tzschichholz [Fri, 8 Dec 2017 07:35:17 +0000 (08:35 +0100)]
girparser: Accept setters with boolean return-type as valid property-accessor
Rico Tzschichholz [Thu, 7 Dec 2017 16:32:54 +0000 (17:32 +0100)]
girparser: Handle metadata for fields inside a transparent union
Rico Tzschichholz [Thu, 7 Dec 2017 20:36:47 +0000 (21:36 +0100)]
gtk+-3.0: Fix FileChooser.add_choice()
Rico Tzschichholz [Fri, 8 Dec 2017 23:25:16 +0000 (00:25 +0100)]
SemanticAnalyzer.get_data_type_for_symbol() doesn't require a TypeSymbol
Rico Tzschichholz [Fri, 8 Dec 2017 23:19:06 +0000 (00:19 +0100)]
Improve error message for missing type-parameter on enclosing type
https://bugzilla.gnome.org/show_bug.cgi?id=587905
Rico Tzschichholz [Fri, 8 Dec 2017 22:21:05 +0000 (23:21 +0100)]
SemanticAnalyser.get_actual_type() should never return null
So better return an InvalidType in case of error.
https://bugzilla.gnome.org/show_bug.cgi?id=587905
George Barrett [Wed, 6 Dec 2017 14:51:05 +0000 (15:51 +0100)]
codegen: Don't create null-safe destroy-wrapper for GenericType
https://bugzilla.gnome.org/show_bug.cgi?id=791283
Rico Tzschichholz [Wed, 6 Dec 2017 19:54:54 +0000 (20:54 +0100)]
Move type_parameter property to GenericType
Rico Tzschichholz [Wed, 6 Dec 2017 19:34:21 +0000 (20:34 +0100)]
vala: Convert last non-type-check-based usages of GenericType instances
Rico Tzschichholz [Wed, 6 Dec 2017 17:25:33 +0000 (18:25 +0100)]
tests: Add further "use of generics in constructor" test
https://bugzilla.gnome.org/show_bug.cgi?id=593137