]>
git.ipfire.org Git - thirdparty/vala.git/log
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
Rico Tzschichholz [Wed, 30 Jan 2019 15:46:43 +0000 (16:46 +0100)]
gtk+-4.0: Update to 3.94.0+
a7fa1cf6
Rico Tzschichholz [Wed, 30 Jan 2019 15:46:23 +0000 (16:46 +0100)]
gstreamer: Update from 1.15.1+
Rico Tzschichholz [Mon, 21 Jan 2019 09:19:22 +0000 (10:19 +0100)]
goocanvas: Update from 1.0.0+
af07af5d
Rico Tzschichholz [Tue, 29 Jan 2019 17:22:39 +0000 (18:22 +0100)]
g-i: Fix return value on error in start_discriminator()
Rico Tzschichholz [Tue, 29 Jan 2019 16:05:30 +0000 (17:05 +0100)]
libvaladoc: Don't change the size of an array in-parameter
Avoid a possible memory issue while the resize of an array reference is
possible, the new length can't be propagated back to the caller.
Issue an warning for unexpected string lengths.
Rico Tzschichholz [Sat, 26 Jan 2019 20:23:22 +0000 (21:23 +0100)]
vala: Parser doesn't ensure "protected" to be applied on TypeSymbol members
Probably ObjectTypeSymbol should be enforced.
Rico Tzschichholz [Fri, 25 Jan 2019 19:10:48 +0000 (20:10 +0100)]
vala: Check inferred variable_type of LocalVariables
Guillaume Poirier-Morency [Fri, 14 Oct 2016 20:08:50 +0000 (16:08 -0400)]
glib-2.0: Bind g_log_writer_journald/_standard_streams/_default as LogWriterFunc
Fixes https://gitlab.gnome.org/GNOME/vala/issues/559
Rico Tzschichholz [Wed, 23 Jan 2019 21:39:42 +0000 (22:39 +0100)]
codegen: Properly handle and catch inner-error of finally-block
If all inner-errors are caught there is no jump-out of the current finally-
block therefore the control-flow analyzer is happy. To make this work the
surrounding inner-error must not be used or changed here.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/742
Rico Tzschichholz [Wed, 23 Jan 2019 20:36:12 +0000 (21:36 +0100)]
codegen: Replace some unfortunate asserts with internal error reports
Rico Tzschichholz [Wed, 23 Jan 2019 16:35:09 +0000 (17:35 +0100)]
vala: Both arguments of NC_() must be constant for this call to be constant
Rico Tzschichholz [Mon, 21 Jan 2019 18:45:09 +0000 (19:45 +0100)]
Release 0.43.6
Rico Tzschichholz [Mon, 21 Jan 2019 16:31:07 +0000 (17:31 +0100)]
vala: Don't tweak closure on static lambdas
Regression of
92ba4e178723b1aa6404da556c79b08abe5eaf05
Fixes https://gitlab.gnome.org/GNOME/vala/issues/740
Corentin Noël [Mon, 21 Jan 2019 13:19:56 +0000 (14:19 +0100)]
gst-editing-services-1.0: Fix some construtors and (un)hide symbols
Rico Tzschichholz [Mon, 21 Jan 2019 15:13:45 +0000 (16:13 +0100)]
tests: Add asynchronous "catch-error-scope" regression test
See https://gitlab.gnome.org/GNOME/vala/issues/741
Rico Tzschichholz [Mon, 21 Jan 2019 15:03:14 +0000 (16:03 +0100)]
Revert "codegen: Use copies of error_variable of catch-clauses for nested usage"
This reverts commit
765c39c73c3096dd1de984db023763ec13448ef5 .
Fixes https://gitlab.gnome.org/GNOME/vala/issues/741
Rico Tzschichholz [Mon, 21 Jan 2019 14:29:41 +0000 (15:29 +0100)]
libvaladoc/girimporter: Skip "source-position" elements
See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/75
Rico Tzschichholz [Mon, 14 Jan 2019 20:05:50 +0000 (21:05 +0100)]
javascriptcoregtk-4.0: Fix GLib.Callback parameters which can't hold target
Michal Proszek [Sun, 20 Jan 2019 19:56:39 +0000 (19:56 +0000)]
genie: Support `protected` accessibility and allow explicit `public`
Fixes https://gitlab.gnome.org/GNOME/vala/issues/346
Rico Tzschichholz [Sun, 20 Jan 2019 18:23:43 +0000 (19:23 +0100)]
codegen: Don't apply address-of operator on literals when casting to array
Regression of
5f316333d6a803e4240b5cccc95a6abd2294137b
https://bugzilla.gnome.org/show_bug.cgi?id=777194
Corentin Noël [Sat, 19 Jan 2019 14:05:48 +0000 (15:05 +0100)]
libvaladoc: Build backing Vala.SourceFile for GIRs processed by importer
This fixes criticals when reporting errors and warnings
Fixes https://gitlab.gnome.org/GNOME/vala/issues/738
Rico Tzschichholz [Sat, 19 Jan 2019 16:17:53 +0000 (17:17 +0100)]
Release 0.43.5
Corentin Noël [Fri, 18 Jan 2019 11:46:52 +0000 (12:46 +0100)]
valadoc: Specify that the "--driver" option is deprecated
Fixes https://gitlab.gnome.org/GNOME/vala/issues/736
Rico Tzschichholz [Fri, 18 Jan 2019 13:19:54 +0000 (14:19 +0100)]
compiler: Report deprecated command-line option "--thread"
Rico Tzschichholz [Thu, 17 Jan 2019 13:19:48 +0000 (14:19 +0100)]
glib-2.0: Add Queue.clear_full() since 2.60
Rico Tzschichholz [Wed, 16 Jan 2019 20:12:23 +0000 (21:12 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 16 Jan 2019 20:10:46 +0000 (21:10 +0100)]
gtk+-4.0: Update to 3.94.0+
9b15c690
Rico Tzschichholz [Wed, 16 Jan 2019 20:09:56 +0000 (21:09 +0100)]
gdk-3.0,gtk+-3.0: Update to 3.24.3+
9c8f1478