]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Mon, 5 Aug 2019 19:15:42 +0000 (21:15 +0200)]
cairo: Add 1.16 symbols
Michael Gratton [Mon, 5 Aug 2019 13:15:27 +0000 (23:15 +1000)]
sqlite3: Bind sqlite3_expanded_sql() and sqlite3_normalised_sql()
Rico Tzschichholz [Mon, 5 Aug 2019 06:38:22 +0000 (08:38 +0200)]
Release 0.45.90
Mart Raudsepp [Sat, 27 Jul 2019 17:20:45 +0000 (20:20 +0300)]
valadoc: Install icons and doclets to API dependent folders
This allows to co-install different valadoc versions as for the compiler.
Rico Tzschichholz [Sun, 4 Aug 2019 07:59:41 +0000 (09:59 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 4 Aug 2019 06:13:23 +0000 (08:13 +0200)]
glib-2.0: Add new symbols and deprecations from 2.62
Rico Tzschichholz [Sun, 28 Jul 2019 15:21:25 +0000 (17:21 +0200)]
vala: Support static methods in error-domains
Actually generate methods defined inside error-domains and state that
instance methods are not supported yet.
See https://gitlab.gnome.org/GNOME/vala/issues/829
Rico Tzschichholz [Fri, 26 Jul 2019 12:03:12 +0000 (14:03 +0200)]
codegen: Include required type-definition when casting from generic pointer
Fixes https://gitlab.gnome.org/GNOME/vala/issues/828
David Hewitt [Wed, 24 Jul 2019 18:27:18 +0000 (18:27 +0000)]
x11: Fix return type of XInternAtoms and XGetAtomNames bindings
Rico Tzschichholz [Wed, 24 Jul 2019 06:57:03 +0000 (08:57 +0200)]
codegen: Move private type-struct to type-definition section
Rico Tzschichholz [Wed, 24 Jul 2019 06:54:33 +0000 (08:54 +0200)]
codegen: Append line-break after G_DEFINE_AUTOPTR_CLEANUP_FUNC
In addition to
38781a502b7381ef5383ae282fa33ddda9b493ed
Rico Tzschichholz [Tue, 23 Jul 2019 07:00:44 +0000 (09:00 +0200)]
tests: Add GMutex and GRecMutex test to increase coverage
Rico Tzschichholz [Mon, 22 Jul 2019 10:49:53 +0000 (12:49 +0200)]
codegen: Use G_TYPE_CHECK_INSTANCE_CAST for comparisons with interfaces
Avoids "comparison of distinct pointer types lacks a cast" warning for
such cases.
Rico Tzschichholz [Mon, 22 Jul 2019 07:54:02 +0000 (09:54 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 22 Jul 2019 07:52:48 +0000 (09:52 +0200)]
gstreamer: Update from 1.17.0+ git master
Rico Tzschichholz [Mon, 22 Jul 2019 07:29:37 +0000 (09:29 +0200)]
girparser: Handle "function-macro" by skipping them
See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/159
Jim Mason [Sun, 21 Jul 2019 17:04:04 +0000 (18:04 +0100)]
vala: Fix mixup of target_glib_major/minor in set_target_glib_version()
Introduced with
3d926c1288b3ec4fd692dd1de6b91fb6c2090183
Fixes https://gitlab.gnome.org/GNOME/vala/issues/825
Rico Tzschichholz [Fri, 19 Jul 2019 18:02:26 +0000 (20:02 +0200)]
vala: Implicit GValue cast requires GOBJECT profile
This fixes criticals like
vala_data_type_get_data_type: assertion 'self != NULL' failed
Regression of
7d771a0c07d63cb7605cbdc28dd8df50719731f8
Rico Tzschichholz [Fri, 19 Jul 2019 17:56:32 +0000 (19:56 +0200)]
vala: NoAccessorMethod checks require GOBJECT profile
This fixes criticals like
vala_class_real_is_subtype_of: assertion 't != NULL' failed
Regression of
a6441ec3c27e059d32501a4e09c937ac668f3ad9
Rico Tzschichholz [Fri, 19 Jul 2019 17:53:45 +0000 (19:53 +0200)]
vala: 'construct' is not supported in POSIX profile
This fixes criticals like
vala_class_real_is_subtype_of: assertion 't != NULL' failed
Regession of
6c8c75f59024b32230b1c13ea344a568f19b86df
Rico Tzschichholz [Fri, 19 Jul 2019 15:58:45 +0000 (17:58 +0200)]
posix: Fix return-value of mknod() and c-include for tcgetsid()
Introduced with
535f2734d19875ccc1f170841b72eba0c4adad1e
Christian Kellner [Tue, 16 Jul 2019 15:54:29 +0000 (17:54 +0200)]
posix: add *at() calls and related constants
Add missing calls from the *at() call family that was added in
POSIX.1-2008, and related constants.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/823
Rico Tzschichholz [Thu, 18 Jul 2019 18:52:35 +0000 (20:52 +0200)]
webkit2gtk-4.0: Fix WebContext.initialize_notification_permissions()
Bind it as WebContext.init_notification_permissions() to avoid conflict.
Christian Kellner [Tue, 16 Jul 2019 16:16:52 +0000 (18:16 +0200)]
glib-2.0: add MappedFile.from_fd constructor
Add the missing 'g_mapped_file_new_from_fd' constructor, added
with glib 2.32.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/824
Rico Tzschichholz [Tue, 16 Jul 2019 08:07:21 +0000 (10:07 +0200)]
Release 0.45.3
Rico Tzschichholz [Tue, 9 Jul 2019 11:22:26 +0000 (13:22 +0200)]
glib-2.0: Fix RecMutexLocker binding
Rico Tzschichholz [Tue, 9 Jul 2019 09:09:37 +0000 (11:09 +0200)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 9 Jul 2019 09:08:20 +0000 (11:08 +0200)]
gtk4: Update to 3.96.0+
b05d1676
Rico Tzschichholz [Tue, 9 Jul 2019 09:07:34 +0000 (11:07 +0200)]
gstreamer: Update from 1.17.0+ git master
Rico Tzschichholz [Tue, 9 Jul 2019 08:33:08 +0000 (10:33 +0200)]
glib-2.0: Add new symbols from 2.62
Rico Tzschichholz [Tue, 9 Jul 2019 08:06:56 +0000 (10:06 +0200)]
glib-2.0: Add binding for g_strv_equal() (since 2.60)
Rico Tzschichholz [Mon, 8 Jul 2019 17:11:19 +0000 (19:11 +0200)]
codegen: Real structs are allowed by simple generics and passed as reference
Add the required pointer-indirections to fix invalid memory accesses.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/819
Jeremy Philippe [Fri, 5 Jul 2019 16:26:05 +0000 (18:26 +0200)]
build: Pass -no-undefined when linking libcodegen
This is required to build under MinGW (and presumably Cygwin).
Fixes https://gitlab.gnome.org/GNOME/vala/issues/820
Rico Tzschichholz [Fri, 5 Jul 2019 14:54:19 +0000 (16:54 +0200)]
codegen: Assign GValue result of function calls to temp-var on copy_value
Regression of
a94a28141e1f222d1da7e72bea4cd2d1e5242f41
Fixes https://gitlab.gnome.org/GNOME/vala/issues/819
Rico Tzschichholz [Tue, 18 Jun 2019 21:34:09 +0000 (23:34 +0200)]
codegen: Don't write declaration of extern symbols with given header
The corresponding header will provide the declaration and therefore fix
build with -Werror=redundant-decls.
Set cheader_filename for implicit to_string() method of enums which is
transformed into symbol calls from glib-object.h. This avoids the leak of
an superfluous prototype of that method into the generated c code.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/745
Rico Tzschichholz [Tue, 18 Jun 2019 21:34:09 +0000 (23:34 +0200)]
vala: Add Symbol.is_extern and use/set is accordingly
This actually holds the information whether a symbol was declared
with `extern` modificator. Adjust the setting of Symbol.external and
usage of Symbol.external_package.
See https://gitlab.gnome.org/GNOME/vala/issues/745
Gran PC [Sun, 30 Jun 2019 13:06:39 +0000 (13:06 +0000)]
xtst: Fix signature of XTest.fake_relative_motion_event()
See https://gitlab.gnome.org/GNOME/vala/merge_requests/67
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