]>
git.ipfire.org Git - thirdparty/vala.git/log
Corentin Noël [Wed, 6 Mar 2019 18:27:49 +0000 (19:27 +0100)]
vapi: Rename graphene-1.0 to graphene-gobject-1.0
It is the actual name of the pkg-config to use
Rico Tzschichholz [Thu, 14 Mar 2019 12:37:30 +0000 (13:37 +0100)]
vapi: Remove vte, vte-2.90 bindings
Fixes https://gitlab.gnome.org/GNOME/vala/issues/584
Rico Tzschichholz [Tue, 5 Mar 2019 20:16:15 +0000 (21:16 +0100)]
codegen: Handle ArrayType in visit_delete_statement() as delete allows them
Rico Tzschichholz [Thu, 14 Mar 2019 08:16:51 +0000 (09:16 +0100)]
vala: Report error for yield statements without async context
Rico Tzschichholz [Tue, 12 Mar 2019 09:29:46 +0000 (10:29 +0100)]
vala: Report error for public creation methods of abstract classes
Only report a warning for external creation methods to reduce the initial
fallout.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/766
Rico Tzschichholz [Sat, 2 Mar 2019 19:56:27 +0000 (20:56 +0100)]
vala: Add support for --target-glib=auto
Determine target-glib according to the available version of glib-2.0.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/761
Rico Tzschichholz [Thu, 14 Mar 2019 12:54:12 +0000 (13:54 +0100)]
Require and target GLib >= 2.48
The next stable release of vala will happen 3.5 years after the
release of GLib 2.48.0.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/671
Rico Tzschichholz [Thu, 14 Mar 2019 08:49:36 +0000 (09:49 +0100)]
Bump version suffix to 0.46
Rico Tzschichholz [Sun, 17 Mar 2019 14:29:30 +0000 (15:29 +0100)]
Release 0.44.1
Rico Tzschichholz [Sat, 16 Mar 2019 16:36:20 +0000 (17:36 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 16 Mar 2019 16:35:16 +0000 (17:35 +0100)]
gtk4: Update to 3.94.0+
f14d998c
Rico Tzschichholz [Sat, 16 Mar 2019 16:34:22 +0000 (17:34 +0100)]
gstreamer: Update from 1.15.2+ git master
Rico Tzschichholz [Thu, 15 Nov 2018 10:18:04 +0000 (11:18 +0100)]
libgvc: Some additions and ownership/return-type fixes
Rico Tzschichholz [Fri, 15 Mar 2019 18:18:25 +0000 (19:18 +0100)]
libvaladoc: Don't try to create a Content.ListItem when there is none
Rico Tzschichholz [Fri, 15 Mar 2019 06:49:50 +0000 (07:49 +0100)]
glib-2.0: Add string.validate_len() since 2.60
Rico Tzschichholz [Thu, 14 Mar 2019 12:32:51 +0000 (13:32 +0100)]
vte-2.90: Mark as deprecated, it was replaced by vte-2.91
Rico Tzschichholz [Tue, 12 Mar 2019 09:18:03 +0000 (10:18 +0100)]
parser: Implicit creation method of abstract classes must be protected
Rico Tzschichholz [Tue, 12 Mar 2019 09:06:11 +0000 (10:06 +0100)]
Mark defined constructors of abstract classes as protected
Rico Tzschichholz [Tue, 12 Mar 2019 09:50:04 +0000 (10:50 +0100)]
gio-2.0: SocketAddress.from_native() is a factory method not a constructor
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)]
vala: Allow assignment of 0U to enum types
Don't restrict unsigned 0 literal to flags-enums though.
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)]
ccodegen: Use unsigned default value for flags-enum
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)]
tests: Add "method ccode return-type" test to increase coverage
https://bugzilla.gnome.org/show_bug.cgi?id=699956
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)]
tests: Extend "struct with delegate" test to increase coverage
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)]
gsignal: Move disconnect error from signal-module to semantic-analyzer pass
Add corresponding invalid test to increase coverage
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)]
gsignal: Use guint to represent flags-enum in custom GMarshalFunc
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)]
tests: Extend "detailed signal" test to increase coverage
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)]
gsignal: get_detail_cexpression/get_signal_name_cexpression must not be null
Rico Tzschichholz [Sat, 9 Mar 2019 08:57:37 +0000 (09:57 +0100)]
Release 0.44.0
Rico Tzschichholz [Fri, 8 Mar 2019 20:57:24 +0000 (21:57 +0100)]
parser: Don't include member-initializer in src-ref of object-creation-expr
Rico Tzschichholz [Fri, 8 Mar 2019 18:25:03 +0000 (19:25 +0100)]
parser: Don't include initializer in src-ref of array-creation-expression
Rico Tzschichholz [Fri, 8 Mar 2019 17:46:02 +0000 (18:46 +0100)]
parser: Extend source_reference of initializer-list to cover "{ ... }"
Rico Tzschichholz [Fri, 8 Mar 2019 17:46:02 +0000 (18:46 +0100)]
parser: Exclude trailing semicolon from source_reference of statements
Rico Tzschichholz [Fri, 8 Mar 2019 17:46:02 +0000 (18:46 +0100)]
parser: Don't include assigned value in source_reference of constants
This is how it is done for fields already.
Rico Tzschichholz [Fri, 8 Mar 2019 17:46:02 +0000 (18:46 +0100)]
parser: Restrict source_reference for catch/lock expression to its header
Rico Tzschichholz [Thu, 7 Mar 2019 09:52:20 +0000 (10:52 +0100)]
gtk4: Update to 3.94.0+
eacbeb9e
Rico Tzschichholz [Thu, 7 Mar 2019 09:51:58 +0000 (10:51 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 7 Mar 2019 09:50:13 +0000 (10:50 +0100)]
gstreamer: Update from 1.15.2+ git master
Rico Tzschichholz [Wed, 6 Mar 2019 14:55:13 +0000 (15:55 +0100)]
vala: More regular invocations of check() on inferred Expression.value_type
Rico Tzschichholz [Wed, 6 Mar 2019 16:25:05 +0000 (17:25 +0100)]
tests: Add regression test for generic-type interference of static function
Rico Tzschichholz [Sun, 3 Mar 2019 07:52:44 +0000 (08:52 +0100)]
Release 0.43.92
Rico Tzschichholz [Fri, 1 Mar 2019 13:16:14 +0000 (14:16 +0100)]
tests: Extent "post-condition" method test to increase coverage
Rico Tzschichholz [Fri, 1 Mar 2019 11:37:14 +0000 (12:37 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 27 Feb 2019 13:29:47 +0000 (14:29 +0100)]
gtk4: Update to 3.94.0+
b4ae491b
Rico Tzschichholz [Fri, 1 Mar 2019 08:45:56 +0000 (09:45 +0100)]
codegen: Include "glib-object.h" for typeof expression
Rico Tzschichholz [Thu, 28 Feb 2019 19:35:08 +0000 (20:35 +0100)]
vala: Don't ignore qualified parent when inferring type of enum member
Regression of
33c91a04f758c89f0402994a6df894e6c2032def
https://bugzilla.gnome.org/show_bug.cgi?id=666035
Rico Tzschichholz [Thu, 28 Feb 2019 08:36:43 +0000 (09:36 +0100)]
vala: Correctly perform compatibility check of array length-type
Regression of
36671ae5def89b46384e627a467247c834948254
https://gitlab.gnome.org/GNOME/vala/issues/607
Rico Tzschichholz [Wed, 27 Feb 2019 14:45:13 +0000 (15:45 +0100)]
girwriter: Always use get_gir_name() for TypeSymbols
Rico Tzschichholz [Wed, 27 Feb 2019 13:29:47 +0000 (14:29 +0100)]
codegen: Respect finish[_vfunc]_name attributes defined in vala sources
Rico Tzschichholz [Wed, 27 Feb 2019 13:29:47 +0000 (14:29 +0100)]
codegen: Replace gvaluecollector_h_needed with dedidated add_include() calls
Rico Tzschichholz [Tue, 26 Feb 2019 21:45:02 +0000 (22:45 +0100)]
poppler-glib: Update to 0.74
Rico Tzschichholz [Tue, 26 Feb 2019 13:01:53 +0000 (14:01 +0100)]
tests: Extent "girwriter" test to increase coverage
Rico Tzschichholz [Tue, 26 Feb 2019 13:10:35 +0000 (14:10 +0100)]
girwriter: Support transfer-ownership="container" for arrays
Rico Tzschichholz [Tue, 26 Feb 2019 08:51:30 +0000 (09:51 +0100)]
genieparser: Don't create VoidType unconditionally
Alistair Thomas [Wed, 22 Mar 2017 20:28:42 +0000 (20:28 +0000)]
genie: Allow the main function "init" to return an integer as exit status
Fixes https://gitlab.gnome.org/GNOME/vala/issues/402
Alistair Thomas [Mon, 25 Feb 2019 21:00:51 +0000 (21:00 +0000)]
tests: Add some Genie tests to increase coverage
Alistair Thomas [Mon, 25 Feb 2019 21:00:51 +0000 (21:00 +0000)]
testrunner: Add support for Genie source files (.gs)
Rico Tzschichholz [Mon, 25 Feb 2019 08:58:11 +0000 (09:58 +0100)]
gobject-2.0: Add SignalHandler.disconnect_by_data()
Rico Tzschichholz [Sun, 24 Feb 2019 20:44:48 +0000 (21:44 +0100)]
codegen: Respect array_length_cname attribute for global fields
Rico Tzschichholz [Sun, 24 Feb 2019 20:39:47 +0000 (21:39 +0100)]
codegen: Add get_variable_array_length_cname() and use as possible
This also replaces get_parameter_array_length_cname()
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
codegen: Replace if-else-tree with switch in visit_binary_expression()
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
codegen: Replace if-else-tree with switch in visit_unary_expression()
Rico Tzschichholz [Sun, 24 Feb 2019 07:27:38 +0000 (08:27 +0100)]
tests: TypeModule allows registering static types since 2.56
This prevents fatal runtime testing.
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
tests: Add "custom types" struct tests to increase coverage
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
tests: Add "constructor chain up" generics test to increase coverage
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
tests: Add "null-terminated array" delegate test to increase coverage
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
tests: Add "struct in array" test to increase coverage
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
tests: Add "to_string" enum test to increase coverage
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
tests: Add "ModuleInit" test to increase coverage
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
codegen: Only emit declaration of *_register_type if needed
This allows to add a test case for ModuleInit with -Werror=redundant-decls
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
codegen: Allow to associate CCodeFile to actual SourceFile
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)]
codegen: Rename to CCodeMethodCallModule.generate_enum_to_string_function()
Rico Tzschichholz [Thu, 21 Feb 2019 14:18:48 +0000 (15:18 +0100)]
Release 0.43.91
Rico Tzschichholz [Thu, 21 Feb 2019 10:23:11 +0000 (11:23 +0100)]
glib-2.0: Add "delegate_target = false" to Log.writer_journald/_standard_streams/_default
In addition to
d9bab3f04f8c9713929ab1ef166472b5f8c84ee7
Rico Tzschichholz [Thu, 21 Feb 2019 07:04:03 +0000 (08:04 +0100)]
tests: Add regression test for modulo operation on double and float
https://bugzilla.gnome.org/show_bug.cgi?id=610660
Rico Tzschichholz [Thu, 21 Feb 2019 07:34:30 +0000 (08:34 +0100)]
Revert "vala: Don't replace assignments for local variables with non-null simple-types"
This reverts commit
e701142da4601ece5ca71cc4484728b08969c74e.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/755
Rico Tzschichholz [Wed, 20 Feb 2019 22:37:46 +0000 (23:37 +0100)]
girparser: Correctly set array_length_type for delegates returning an array
Fixes https://gitlab.gnome.org/GNOME/vala/issues/754
Rico Tzschichholz [Wed, 20 Feb 2019 18:40:08 +0000 (19:40 +0100)]
webkit2gtk-4.0: Update to 2.23.91
Rico Tzschichholz [Tue, 19 Feb 2019 14:04:51 +0000 (15:04 +0100)]
gtk4: Update to 3.94.0+
02e856f6
Rico Tzschichholz [Wed, 20 Feb 2019 15:39:37 +0000 (16:39 +0100)]
atk-1.0: Adjust for upstream revert of Implementor using G_DEFINE_INTERFACE
See https://gitlab.gnome.org/GNOME/atk/commit/
96d13ae47f6f77445483ee8a0d7d6569a95f35bf
Rico Tzschichholz [Sat, 16 Feb 2019 09:03:32 +0000 (10:03 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 16 Feb 2019 09:00:28 +0000 (10:00 +0100)]
gtk4: Update to 3.94.0+
bea1a02e
Rico Tzschichholz [Sat, 16 Feb 2019 08:50:53 +0000 (09:50 +0100)]
webkit2gtk-4.0: Update to 2.23.90
Rico Tzschichholz [Thu, 14 Feb 2019 16:35:04 +0000 (17:35 +0100)]
libvaladoc: Properly support the output of async constructors
Fixes https://gitlab.gnome.org/GNOME/vala/issues/753
Rico Tzschichholz [Thu, 14 Feb 2019 11:40:36 +0000 (12:40 +0100)]
clutter-1.0: Drop deprecated from Actor.pick()
The signal "pick" was deprecated with 1.12, but not the virtual method.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/625
Rico Tzschichholz [Tue, 12 Feb 2019 16:47:49 +0000 (17:47 +0100)]
valadoc: Report warning if resources for doclet could not be copied
Rico Tzschichholz [Sun, 10 Feb 2019 18:58:46 +0000 (19:58 +0100)]
vapi: Drop gdk-x11-3.0 from GIDL_BINDINGS
Rico Tzschichholz [Sun, 10 Feb 2019 12:26:09 +0000 (13:26 +0100)]
gio-unix-2.0: Add DesktopAppInfo.get_string_list() since 2.60
Rico Tzschichholz [Sun, 10 Feb 2019 12:12:43 +0000 (13:12 +0100)]
gtk+-unix-print-*.0: Fix PrintJob.get_page_ranges(), Printer.get_hard_margins()
Rico Tzschichholz [Sun, 10 Feb 2019 12:13:53 +0000 (13:13 +0100)]
gtk4-unix-printer: Update to 3.94.0+
a872c41f
and fix PrintJob.get_page_ranges(), Printer.get_hard_margins()
Rico Tzschichholz [Sun, 10 Feb 2019 11:48:42 +0000 (12:48 +0100)]
gtk4: Update to 3.94.0+
a872c41f
Rico Tzschichholz [Sun, 10 Feb 2019 11:32:00 +0000 (12:32 +0100)]
gstreamer: Update from 1.15.1+ git master
Rico Tzschichholz [Tue, 5 Feb 2019 17:28:22 +0000 (18:28 +0100)]
Revert "valadoc: Update API tests"
This reverts commit
881333fe7a8ecf64de21633c165b0db0db2e41ff.
Rico Tzschichholz [Tue, 5 Feb 2019 15:00:33 +0000 (16:00 +0100)]
Revert "valadoc: Drop duplicated code to add source files and use CodeContext API"
This reverts commit
54ba304eddd05264cbb9eacd734914938f50c7e4.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/748
Rico Tzschichholz [Wed, 6 Feb 2019 09:03:51 +0000 (10:03 +0100)]
gtk4: Update to 3.94.0+
d2d35e52
Rico Tzschichholz [Wed, 6 Feb 2019 08:12:17 +0000 (09:12 +0100)]
vapi: Follow GTK upstream rename to gtk4 and gtk4-unix-print
Rico Tzschichholz [Sun, 3 Feb 2019 16:04:21 +0000 (17:04 +0100)]
Release 0.43.90
Rico Tzschichholz [Thu, 31 Jan 2019 19:09:07 +0000 (20:09 +0100)]
codegen: Pass lambda expression of variable initializer to signal connect
Rico Tzschichholz [Mon, 21 Jan 2019 09:19:22 +0000 (10:19 +0100)]
vapi: Add goocanvas-2.0 bindings
Fixes https://gitlab.gnome.org/GNOME/vala/issues/739
Rico Tzschichholz [Wed, 30 Jan 2019 15:49:09 +0000 (16:49 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 30 Jan 2019 15:47:49 +0000 (16:47 +0100)]
gdk-3.0: Update to 3.24.4+
a0129f55