]>
git.ipfire.org Git - thirdparty/vala.git/log
Daniel Espinosa [Sat, 27 Apr 2019 02:05:14 +0000 (21:05 -0500)]
vala: anotate valaversion file
VAPI doesn't include annotations about GIR version.
Daniel Espinosa [Fri, 26 Apr 2019 18:38:09 +0000 (13:38 -0500)]
vala: added namespace GIR version annotation
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
Rico Tzschichholz [Wed, 27 Mar 2019 08:55:31 +0000 (09:55 +0100)]
vala: Report error for unsupported operator instead of assertion
Rico Tzschichholz [Wed, 27 Mar 2019 08:53:23 +0000 (09:53 +0100)]
docs: Bump glib requirement in README.md
Rico Tzschichholz [Sun, 24 Mar 2019 17:34:29 +0000 (18:34 +0100)]
tests: Add "struct (un)boxing" variant test
Rico Tzschichholz [Thu, 22 Nov 2018 11:40:23 +0000 (12:40 +0100)]
vala: Don't replace assignments for local variables with non-null simple-types
Reintroduce
e701142da4601ece5ca71cc4484728b08969c74e
See https://gitlab.gnome.org/GNOME/vala/issues/755
Rico Tzschichholz [Tue, 26 Mar 2019 12:00:01 +0000 (13:00 +0100)]
codegen: Handle "modulo" operation on floating-types in CCodeAssignmentModule
Duplication with CCodeBaseModule.visit_binary_expression()
See https://gitlab.gnome.org/GNOME/vala/issues/755
Rico Tzschichholz [Mon, 25 Mar 2019 19:59:25 +0000 (20:59 +0100)]
codegen: Use available *_unref functions in G_DEFINE_AUTOPTR_CLEANUP_FUNC
Compact classes might have a unref_function in external packages. Therefore
subclassing them resulted in an errornous reference to free_function.
Rico Tzschichholz [Mon, 25 Mar 2019 11:46:15 +0000 (12:46 +0100)]
codegen: Move implicit GValue cast for comparison to BinaryExpression
Handle "==" and "!=" only as it was done before.
This generates correct c-code for boxed simple-types and will perform
value-based comparisons.
See https://bugzilla.gnome.org/show_bug.cgi?id=585063
Rico Tzschichholz [Mon, 25 Mar 2019 09:20:37 +0000 (10:20 +0100)]
vapi: Update GIR-based bindings
Rico Tzschichholz [Mon, 25 Mar 2019 09:19:31 +0000 (10:19 +0100)]
gstreamer: Update from 1.15.2+ git master
Rico Tzschichholz [Mon, 25 Mar 2019 09:15:21 +0000 (10:15 +0100)]
gio-2.0: Revert enum-typed flags parameters in Socket API
See https://gitlab.gnome.org/GNOME/glib/merge_requests/728
Rico Tzschichholz [Sun, 10 Mar 2019 21:51:06 +0000 (22:51 +0100)]
codegen: Use default-value to pass element_size to GArray constructor
Based on patch by Jakub Kaszycki
Rico Tzschichholz [Mon, 11 Mar 2019 09:31:10 +0000 (10:31 +0100)]
codegen: Resolve generics in sizeof-expression of parameter initializer
Rico Tzschichholz [Sun, 10 Mar 2019 20:51:02 +0000 (21:51 +0100)]
codegen: Don't create special GArray clear-func for non-null structs
Based on patch by Jakub Kaszycki
Rico Tzschichholz [Thu, 21 Mar 2019 14:38:37 +0000 (15:38 +0100)]
codegen: Move try_cast_variant_to_type() to GVariantModule.visit_cast_expression()
Rico Tzschichholz [Thu, 21 Mar 2019 07:12:30 +0000 (08:12 +0100)]
codegen: Move get_type_signature() to DataType
Rico Tzschichholz [Wed, 13 Mar 2019 09:39:42 +0000 (10:39 +0100)]
ccode: Rename CCodeFeatureTestMacro to CCodeDefine and generalize it
This now serves as base for CCodeMacroReplacement too.
Corentin Noël [Fri, 22 Mar 2019 08:09:21 +0000 (09:09 +0100)]
tests: Add more invalid "assignment" tests to increase coverage
Corentin Noël [Thu, 21 Mar 2019 21:19:28 +0000 (22:19 +0100)]
tests: Add a field starting with a digit test
Rico Tzschichholz [Wed, 20 Mar 2019 07:27:47 +0000 (08:27 +0100)]
tests: Add some invalid "array slice" tests to increase coverage
Rico Tzschichholz [Tue, 19 Mar 2019 21:54:07 +0000 (22:54 +0100)]
vala: Bump implicit target-glib to 2.48
Missing in
1229ead2f945d913b3264f898f363aa4bf46f217
See https://gitlab.gnome.org/GNOME/vala/issues/671
Rico Tzschichholz [Tue, 19 Mar 2019 12:42:13 +0000 (13:42 +0100)]
vala: Add CodeContext.get_source_file() and perform some sanity checks
Rico Tzschichholz [Tue, 19 Mar 2019 12:43:30 +0000 (13:43 +0100)]
codegen: No need to retrieve CodeContext.save_csources inside loop
Rico Tzschichholz [Tue, 19 Mar 2019 08:53:45 +0000 (09:53 +0100)]
glib-2.0: Don't annotate dedicated GLib.assert_*() functions with [Assert]
Fixes https://gitlab.gnome.org/GNOME/vala/issues/769
Rico Tzschichholz [Mon, 18 Mar 2019 11:43:02 +0000 (12:43 +0100)]
codegen: Move and make a few methods to static functions
Rico Tzschichholz [Tue, 19 Mar 2019 07:09:35 +0000 (08:09 +0100)]
vala: Variadic parameters are not supported for async methods
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