]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Mon, 1 Jul 2019 09:10:35 +0000 (11:10 +0200)]
glib-2.0: Bind strcmp0 as GLib.CompareFunc<string?>
Allows proper usage with experimental non-null
Fixes https://gitlab.gnome.org/GNOME/vala/issues/810
Rico Tzschichholz [Mon, 17 Jun 2019 15:05:03 +0000 (17:05 +0200)]
Release 0.45.2
Rico Tzschichholz [Mon, 17 Jun 2019 10:59:12 +0000 (12:59 +0200)]
tests: Null-terminate arrays for compatibility test of uint8 and uchar
Fixes https://gitlab.gnome.org/GNOME/vala/issues/809
Rico Tzschichholz [Mon, 17 Jun 2019 06:05:54 +0000 (08:05 +0200)]
vala: Only warn about imcompatible type of external construct property
This is to reduce the initial fallout.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/803
Rico Tzschichholz [Sat, 15 Jun 2019 18:25:25 +0000 (20:25 +0200)]
gtk+-3.0: Update to 3.24.9~
18177388
Rico Tzschichholz [Sat, 15 Jun 2019 18:25:02 +0000 (20:25 +0200)]
gtk4: Update to 3.96.0+
8cfdd6c5
Rico Tzschichholz [Sat, 15 Jun 2019 18:11:36 +0000 (20:11 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 15 Jun 2019 18:09:43 +0000 (20:09 +0200)]
gstreamer: Update from 1.17.0+ git master
Rico Tzschichholz [Sat, 15 Jun 2019 15:43:28 +0000 (17:43 +0200)]
girparser: Skip 'attribute' elements
Rico Tzschichholz [Fri, 14 Jun 2019 16:32:24 +0000 (18:32 +0200)]
vala: Use non-deprecated GLib.ModuleFlags values
Rico Tzschichholz [Fri, 14 Jun 2019 16:04:16 +0000 (18:04 +0200)]
genie: Make 'self' match its TokenType name
Rico Tzschichholz [Fri, 14 Jun 2019 06:16:23 +0000 (08:16 +0200)]
girwriter: Report error on secondary top-level namespace to be written
Fixes https://gitlab.gnome.org/GNOME/vala/issues/805
Rico Tzschichholz [Thu, 13 Jun 2019 13:58:58 +0000 (15:58 +0200)]
codegen: Use array_length of collection variable instead of expression
Rico Tzschichholz [Fri, 14 Jun 2019 05:11:17 +0000 (07:11 +0200)]
libvaladoc: Use non-deprecated GLib.ModuleFlags values
Rico Tzschichholz [Sat, 8 Jun 2019 08:54:07 +0000 (10:54 +0200)]
gmodule-2.0: Build from GIR
Rico Tzschichholz [Thu, 6 Jun 2019 13:46:04 +0000 (15:46 +0200)]
glib-2.0: Add Unicode 12.0 symbols
Rico Tzschichholz [Wed, 5 Jun 2019 13:17:23 +0000 (15:17 +0200)]
genie: Drop unused "writeonly" token
Rico Tzschichholz [Wed, 5 Jun 2019 09:07:20 +0000 (11:07 +0200)]
gtk4: Update to 3.96.0+
69016825
Rico Tzschichholz [Mon, 27 May 2019 16:10:57 +0000 (18:10 +0200)]
gtk4: Update to 3.96.0+
cfe648eb
Rico Tzschichholz [Mon, 27 May 2019 16:03:39 +0000 (18:03 +0200)]
gstreamer: Update from 1.17.0+ git master
Rico Tzschichholz [Mon, 27 May 2019 16:02:32 +0000 (18:02 +0200)]
webkit2gtk-4.0: Update to 2.25.1
Rico Tzschichholz [Thu, 23 May 2019 09:49:26 +0000 (11:49 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 23 May 2019 09:48:54 +0000 (11:48 +0200)]
gstreamer: Update from 1.17.0+ git master
Rico Tzschichholz [Mon, 20 May 2019 18:19:18 +0000 (20:19 +0200)]
Release 0.45.1
Rico Tzschichholz [Mon, 20 May 2019 18:53:02 +0000 (20:53 +0200)]
vala: Strip "basedir" from Source.filename attribute
This is gives some control over the written relative filenames and fixes
make distcheck due of out-of-source-dir building.
Rico Tzschichholz [Mon, 20 May 2019 10:59:17 +0000 (12:59 +0200)]
gtk4: Update to 3.96.0+
322507f2
Rico Tzschichholz [Fri, 17 May 2019 06:56:12 +0000 (08:56 +0200)]
codegen: When freeing local variables don't stop at "switch" on "continue"
So distinguish between BreakStatement and ContinueStatement to make the
correct decision in append_local_free().
Fixes https://gitlab.gnome.org/GNOME/vala/issues/799
Rico Tzschichholz [Wed, 8 May 2019 08:22:54 +0000 (10:22 +0200)]
clutter-1.0: Bind Margin, PaintVolume, Point, Rect and Size as struct
Reverts
0cd8009728245300d32009fb029898b4a3ceed8a and its confusion
regards "caller-allocates" out-parameters
Fixes https://gitlab.gnome.org/GNOME/vala/issues/795
Rico Tzschichholz [Thu, 16 May 2019 17:43:41 +0000 (19:43 +0200)]
Regenerate GIDL-based bindings to fix getter ownership of struct properties
Rico Tzschichholz [Thu, 9 May 2019 17:06:11 +0000 (19:06 +0200)]
Regenerate GIR-based bindings to fix getter ownership of struct properties
Rico Tzschichholz [Thu, 16 May 2019 15:24:05 +0000 (17:24 +0200)]
vala: Trust "value_owned" when writing property getter
Rico Tzschichholz [Thu, 9 May 2019 08:17:36 +0000 (10:17 +0200)]
vala: No-accessor struct properties in GLib.Object class must be owned
Real structs are returned as heap-allocated structor by g_object_get() and
not defining them with owned getter results in memory leaks.
Additionally force DelegateType, PointerType and ValueType as unowned to
preserve the current behaviour for binding generation.
Rico Tzschichholz [Thu, 9 May 2019 16:51:43 +0000 (18:51 +0200)]
tests: Properties with NoAccessorMethod return heap-allocated structs
Rico Tzschichholz [Wed, 8 May 2019 10:25:20 +0000 (12:25 +0200)]
cogl-1.0: Fix out-params in Cogl.get_modelview_matrix/projection_matrix/bitmasks
Fixes https://gitlab.gnome.org/GNOME/vala/issues/794
Rico Tzschichholz [Wed, 15 May 2019 08:32:57 +0000 (10:32 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 15 May 2019 08:32:32 +0000 (10:32 +0200)]
gstreamer: Update from 1.17.0+ git master
Rico Tzschichholz [Wed, 15 May 2019 08:26:39 +0000 (10:26 +0200)]
gtk4: Update to 3.96.0+
6a27fe15
Rico Tzschichholz [Sun, 12 May 2019 18:59:15 +0000 (20:59 +0200)]
codegen: Always use G_TYPE_CHECK_INSTANCE_TYPE for external symbols
and get_ccode_type_check_function() for SourceFileType.SOURCE symbols.
Rico Tzschichholz [Tue, 7 May 2019 13:44:37 +0000 (15:44 +0200)]
girparser: Add support for string "ctype" metadata
https://gitlab.gnome.org/GNOME/vala/issues/793
Rico Tzschichholz [Mon, 6 May 2019 12:48:25 +0000 (14:48 +0200)]
codegen: Support GObject properties with nullable GType-based struct type
Fixes https://gitlab.gnome.org/GNOME/vala/issues/792
Rico Tzschichholz [Fri, 3 May 2019 13:32:04 +0000 (15:32 +0200)]
girwriter: Write implicit fields for arrays and delegates
Rico Tzschichholz [Thu, 2 May 2019 16:09:19 +0000 (18:09 +0200)]
girwriter: Write implicit parameters and properties for generics
Rico Tzschichholz [Wed, 1 May 2019 15:37:07 +0000 (17:37 +0200)]
compiler: Add OptionFlags.NO_ARG to deprecated "--thread" option
It was defined with OptionArg.NONE and never took an extra argument.
Regression of
d8e810680f370fac7e9a5e80f8d94316707625c2
Rico Tzschichholz [Wed, 1 May 2019 14:36:27 +0000 (16:36 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 1 May 2019 14:35:53 +0000 (16:35 +0200)]
gstreamer: Update from 1.17.0+ git master
Rico Tzschichholz [Wed, 1 May 2019 13:09:04 +0000 (15:09 +0200)]
gtk4: Update to 3.94.0+
724ec3ca
Rico Tzschichholz [Wed, 1 May 2019 10:51:45 +0000 (12:51 +0200)]
girwriter: Only replace existing GIR files if they changed
Same how it is done in CodeWriter.write_file()
Rico Tzschichholz [Sat, 27 Apr 2019 11:20:28 +0000 (13:20 +0200)]
girwriter: Populate gir_namespace/version attributes of external namespaces
Rico Tzschichholz [Mon, 29 Apr 2019 14:30:43 +0000 (16:30 +0200)]
girwriter: Don't write c:include tags for symbols from external packages
Rico Tzschichholz [Sun, 28 Apr 2019 15:52:40 +0000 (17:52 +0200)]
girwriter: Properly write attributes for non-GObject classes
Rico Tzschichholz [Sun, 28 Apr 2019 15:51:23 +0000 (17:51 +0200)]
tests: Actually define SkippedStruct as struct for girwriter
Rico Tzschichholz [Sun, 28 Apr 2019 14:41:44 +0000 (16:41 +0200)]
codegen: Make sure to call a corresponding pop_function()
Rico Tzschichholz [Sun, 28 Apr 2019 14:30:22 +0000 (16:30 +0200)]
codegen: Make sure to call a corresponding pop_line()
Rico Tzschichholz [Sun, 28 Apr 2019 14:08:34 +0000 (16:08 +0200)]
codegen: Make sure to call a corresponding pop_context()
Rico Tzschichholz [Sun, 28 Apr 2019 10:18:57 +0000 (12:18 +0200)]
tests: Adjust for fuzzy generated GIR header
In addition to
fd3fedf3e7fd56162e5721d9e7487784b009c75b
Rico Tzschichholz [Sat, 27 Apr 2019 18:21:44 +0000 (20:21 +0200)]
girwriter: Don't write "property" attribute for non-gobject properties
Rico Tzschichholz [Sun, 28 Apr 2019 07:22:13 +0000 (09:22 +0200)]
codegen: Move construct property checks to SemanticAnalyzer pass
Rico Tzschichholz [Sat, 27 Apr 2019 18:18:34 +0000 (20:18 +0200)]
codegen: Move GObject property validity checks to SemanticAnalyzer
Rico Tzschichholz [Sun, 28 Apr 2019 07:25:23 +0000 (09:25 +0200)]
valadoc/tests: construct properties require GLib.Object derived class
Rico Tzschichholz [Sat, 27 Apr 2019 11:37:17 +0000 (13:37 +0200)]
tests: Fix namespace attributes for girwriter
Rico Tzschichholz [Sat, 27 Apr 2019 09:17:28 +0000 (11:17 +0200)]
girwriter: Properly resolve GLib.TypeInterface instead of hardcoding it
This makes sure to pick up the dependency on GObject-2.0.gir
Rico Tzschichholz [Sat, 27 Apr 2019 08:25:32 +0000 (10:25 +0200)]
girwriter: Mention that this file is generated and not meant to be modified
Same as already done for generated vapi files.
Rico Tzschichholz [Tue, 23 Apr 2019 06:24:59 +0000 (08:24 +0200)]
build: Pass some useful G_LOG_DOMAIN definitions
Rico Tzschichholz [Tue, 23 Apr 2019 07:22:40 +0000 (09:22 +0200)]
tests: More "unassigned variable" tests to increase coverage
Rico Tzschichholz [Fri, 19 Apr 2019 12:49:14 +0000 (14:49 +0200)]
vapi: Add graphene-1.0 to allow smoother transition to graphene-gobject-1.0
Rico Tzschichholz [Thu, 18 Apr 2019 14:28:43 +0000 (16:28 +0200)]
tests: Add "fast-vapi" test to increase coverage
Rico Tzschichholz [Sat, 30 Mar 2019 18:37:45 +0000 (19:37 +0100)]
vala: Write "Source" attribute in fast-vapi mode
This enables users to reference to the original source of a symbol.
[Source (filename = "...", line = ..., column = ...)]
Rico Tzschichholz [Wed, 17 Apr 2019 16:17:05 +0000 (18:17 +0200)]
javascriptcoregtk-4.0: Update to 2.24.1
Rico Tzschichholz [Wed, 17 Apr 2019 16:15:42 +0000 (18:15 +0200)]
gtk4: Update to 3.94.0+
2656f5b4
Rico Tzschichholz [Wed, 17 Apr 2019 16:15:05 +0000 (18:15 +0200)]
gstreamer: Update from 1.15.90+ git master
Rico Tzschichholz [Sat, 13 Apr 2019 15:46:23 +0000 (17:46 +0200)]
tests: Extend "foreach" tests to increase coverage
Rico Tzschichholz [Sun, 14 Apr 2019 13:28:49 +0000 (15:28 +0200)]
tests: Extend "assigned local variable" control flow tests
Rico Tzschichholz [Thu, 11 Apr 2019 05:32:24 +0000 (07:32 +0200)]
parser: Set correct end source-reference of Block for embedded statement
Rico Tzschichholz [Wed, 10 Apr 2019 12:12:21 +0000 (14:12 +0200)]
parser: Improve source-reference of declaration block for ForStatement
Rico Tzschichholz [Wed, 10 Apr 2019 12:12:21 +0000 (14:12 +0200)]
parser: Improve source-location for local Constant declarations
Rico Tzschichholz [Wed, 10 Apr 2019 12:12:21 +0000 (14:12 +0200)]
parser: Don't include trailing semi-colon to ExpressionStatement
Rico Tzschichholz [Wed, 10 Apr 2019 12:12:21 +0000 (14:12 +0200)]
parser: Improve source-location for LocalVariable/DeclarationStatement
Rico Tzschichholz [Wed, 10 Apr 2019 12:12:21 +0000 (14:12 +0200)]
parser: Set correct end source-location for Block
This location was off by one token.
Rico Tzschichholz [Mon, 8 Apr 2019 18:59:11 +0000 (20:59 +0200)]
Sync NEWS from 0.44
Rico Tzschichholz [Mon, 8 Apr 2019 18:32:49 +0000 (20:32 +0200)]
libarchive: Fix Archive.[set_]mode/perm() and add Archive.FileMode
Keep FileType as special case of FileMode for filetype methods.
Rico Tzschichholz [Mon, 8 Apr 2019 15:44:14 +0000 (17:44 +0200)]
gtk4: Update to 3.94.0+
2594593d
Rico Tzschichholz [Mon, 8 Apr 2019 15:43:40 +0000 (17:43 +0200)]
gdk-3.0,gtk+-3.0: Update from 3.24.7+
Rico Tzschichholz [Mon, 8 Apr 2019 15:42:53 +0000 (17:42 +0200)]
gstreamer: Update from 1.15.2+ git master
Rico Tzschichholz [Mon, 8 Apr 2019 08:00:19 +0000 (10:00 +0200)]
codegen: Always assign original variable when consuming instance to destroy
Fixes https://gitlab.gnome.org/GNOME/vala/issues/781
Luca Bruno [Sat, 4 May 2013 13:35:04 +0000 (15:35 +0200)]
vala: Use global CodeContext to retrieve root_symbol
Rico Tzschichholz [Sat, 6 Apr 2019 19:14:22 +0000 (21:14 +0200)]
vala: Include possible "result" to defined variables of Method
Rico Tzschichholz [Sat, 6 Apr 2019 12:13:34 +0000 (14:13 +0200)]
tests: Add "unassigned local variable in while" test
Rico Tzschichholz [Sat, 6 Apr 2019 08:13:02 +0000 (10:13 +0200)]
tests: Extend "assigned local variable" control flow tests
Cover condition statements of WhileStatement and ConditionalExpression
Rico Tzschichholz [Thu, 4 Apr 2019 08:45:10 +0000 (10:45 +0200)]
pango: Fix StringBuilder parameter of scan_word()
Rico Tzschichholz [Tue, 2 Apr 2019 10:31:58 +0000 (12:31 +0200)]
build: Require --with-cgraph configure flag when cross-compiling
Fixes https://gitlab.gnome.org/GNOME/vala/issues/775
Rico Tzschichholz [Mon, 1 Apr 2019 19:21:19 +0000 (21:21 +0200)]
valadoc: Drop obsolete "Driver" API
Rico Tzschichholz [Sun, 31 Mar 2019 13:13:30 +0000 (15:13 +0200)]
Sync NEWS from 0.44
Rico Tzschichholz [Sun, 31 Mar 2019 08:26:43 +0000 (10:26 +0200)]
Add explicit "default: break;" statements for coverage of enum-typed switch
Rico Tzschichholz [Sun, 31 Mar 2019 08:33:30 +0000 (10:33 +0200)]
libvaladoc: Handle missing Run.Style.NONE in switch
Rico Tzschichholz [Sun, 31 Mar 2019 08:25:56 +0000 (10:25 +0200)]
libvaladoc: Handle missing Content.List.Bullet.ORDERED in switch
Rico Tzschichholz [Fri, 29 Mar 2019 18:19:24 +0000 (19:19 +0100)]
gtk4: Update to 3.94.0+
f273eca7
Rico Tzschichholz [Thu, 21 Mar 2019 10:38:28 +0000 (11:38 +0100)]
codegen: Implement silent-cast for GLib.Variant
Fixes https://gitlab.gnome.org/GNOME/vala/issues/767
Rico Tzschichholz [Wed, 27 Mar 2019 23:02:59 +0000 (00:02 +0100)]
gstreamer-1.0: Fix TypeFind and TypeFindFactory method references
Rico Tzschichholz [Wed, 27 Mar 2019 23:02:59 +0000 (00:02 +0100)]
gobject-introspection-1.0: Fix TypeInfo and TypeTag method references
Fixes https://gitlab.gnome.org/GNOME/vala/issues/778
Rico Tzschichholz [Wed, 27 Mar 2019 23:02:59 +0000 (00:02 +0100)]
girparser: Create correct output in get_default_lower_case_suffix()
It must match the output of CCodeAttribute.get_default_lower_case_suffix()
Add metadata support to set lower_case_csuffix
See https://gitlab.gnome.org/GNOME/vala/issues/778