]>
git.ipfire.org Git - thirdparty/vala.git/log
Rico Tzschichholz [Sun, 14 Apr 2019 16:03:50 +0000 (18:03 +0200)]
tests: Add "postcondition with local result" test to increase coverage
Rico Tzschichholz [Sun, 14 Apr 2019 08:24:18 +0000 (10:24 +0200)]
test: Add "ownership mismatch" test for coalesce and conditional expression
Luca Bruno [Mon, 3 Feb 2014 13:30:02 +0000 (14:30 +0100)]
Use %? in the parser rather than stringifying expressions
Luca Bruno [Sun, 2 Feb 2014 19:39:52 +0000 (20:39 +0100)]
Set the scope of the codebuilder block for symbol resolution
Luca Bruno [Sat, 1 Feb 2014 17:37:50 +0000 (18:37 +0100)]
Move PostfixExpression transformation into the CCodeTransformer
Luca Bruno [Sat, 1 Feb 2014 11:26:29 +0000 (12:26 +0100)]
Move Template transformation to the CCodeTransformer
Luca Bruno [Sat, 25 Feb 2012 20:25:57 +0000 (21:25 +0100)]
Move UnaryExpression tranformation into CCodeTransformer
Luca Bruno [Sat, 1 Feb 2014 09:42:27 +0000 (10:42 +0100)]
Cleanup generated empty blocks
Luca Bruno [Thu, 5 Jan 2012 14:33:32 +0000 (15:33 +0100)]
DOM-like linked list of statements
Luca Bruno [Thu, 5 Jan 2012 10:42:15 +0000 (11:42 +0100)]
Move ObjectCreationExpression transformation to the CCodeTransformer
Rico Tzschichholz [Tue, 8 Nov 2016 14:02:24 +0000 (15:02 +0100)]
tests: Add "coalesce evaluation with error" test to increase coverage
See https://gitlab.gnome.org/GNOME/vala/issues/534
Rico Tzschichholz [Sat, 13 Apr 2019 18:52:35 +0000 (20:52 +0200)]
WIP binary fix
Luca Bruno [Wed, 4 Jan 2012 22:59:34 +0000 (23:59 +0100)]
Move BinaryExpression transformation to the CCodeTransformer
Fixes https://gitlab.gnome.org/GNOME/vala/issues/534
Luca Bruno [Wed, 4 Jan 2012 17:38:38 +0000 (18:38 +0100)]
Move ForeachStatement transformation into the CCodeTransformer
Luca Bruno [Tue, 27 Dec 2011 18:07:31 +0000 (19:07 +0100)]
Move ConditionalExpression transformation into the CCodeTransformer
Luca Bruno [Wed, 31 Aug 2011 08:51:08 +0000 (10:51 +0200)]
Move ForStatement transformation into the CCodeTransformer
Rico Tzschichholz [Wed, 13 Dec 2017 14:00:56 +0000 (15:00 +0100)]
tests: Add test for do-while statement control-flow
https://gitlab.gnome.org/GNOME/vala/issues/27
Luca Bruno [Tue, 30 Aug 2011 11:42:39 +0000 (13:42 +0200)]
Move DoStatement transformation into the CCodeTransformer
Fixes https://gitlab.gnome.org/GNOME/vala/issues/27
Luca Bruno [Tue, 30 Aug 2011 10:43:41 +0000 (12:43 +0200)]
Move WhileStatement transformation into the CCodeTransformer
Luca Bruno [Sun, 7 Aug 2011 10:22:15 +0000 (12:22 +0200)]
Move MethodCall transformation into the CCodeTransformer
Luca Bruno [Sun, 7 Aug 2011 10:22:15 +0000 (12:22 +0200)]
Add CodeTransformer and an implementation stub, CCodeTransformer
Luca Bruno [Thu, 29 Dec 2011 18:42:55 +0000 (19:42 +0100)]
vala: Add CodeBuilder
Luca Bruno [Fri, 30 Dec 2011 08:26:26 +0000 (09:26 +0100)]
parser: Allow to parse expressions/statements from string
Rico Tzschichholz [Sat, 13 Apr 2019 19:23:27 +0000 (21:23 +0200)]
vala: Add result variable while checking post-conditions
Rico Tzschichholz [Sat, 13 Apr 2019 19:02:05 +0000 (21:02 +0200)]
Revert "vala: Fix result var for pre/post conditions"
This reverts commit
6e8b22fb9e9d3cecc6e1501911ea55ef66b48b9f.
Luca Bruno [Sat, 4 May 2013 09:30:05 +0000 (11:30 +0200)]
vala: Fix result var for pre/post conditions
Luca Bruno [Sat, 6 Aug 2011 08:38:59 +0000 (10:38 +0200)]
vala: Make SemanticAnalyzer be stateless
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