]>
git.ipfire.org Git - thirdparty/vala.git/log
Luca Bruno [Sat, 1 Feb 2014 10:15:24 +0000 (11:15 +0100)]
Use return_temp_access in conditional expression
Luca Bruno [Sat, 1 Feb 2014 10:10:52 +0000 (11:10 +0100)]
Return (owned) for temp variables when possible to avoid useless copies
Luca Bruno [Sat, 1 Feb 2014 09:42:27 +0000 (10:42 +0100)]
Cleanup generated empty blocks
Luca Bruno [Sat, 1 Feb 2014 09:22:41 +0000 (10:22 +0100)]
Visit all nodes for transformation, not only the source ones
Luca Bruno [Thu, 30 Jan 2014 23:10:57 +0000 (00:10 +0100)]
Fix coalescing operator
Luca Bruno [Sun, 9 Jun 2013 19:22:46 +0000 (21:22 +0200)]
Allow symbol_from_string to return null
Luca Bruno [Tue, 21 May 2013 19:08:05 +0000 (21:08 +0200)]
Make gdbus work, temp commit
Luca Bruno [Sat, 18 May 2013 10:41:15 +0000 (12:41 +0200)]
Use qualified names in transformed expressions
Luca Bruno [Sat, 18 May 2013 10:39:22 +0000 (12:39 +0200)]
Copy types in transformer
Luca Bruno [Sat, 4 May 2013 13:35:04 +0000 (15:35 +0200)]
Fix passing BusName and manage unhandled GErrors
Luca Bruno [Fri, 26 Oct 2012 23:20:09 +0000 (01:20 +0200)]
codegen: Fix making local variables and constants active
Luca Bruno [Fri, 26 Oct 2012 11:46:42 +0000 (13:46 +0200)]
dbus: Copy type when declaring temporary variables
If type is not copied, then the semantic analyzer will modify the
original type.
Luca Bruno [Thu, 25 Oct 2012 18:32:48 +0000 (20:32 +0200)]
transformer: Clear wrapper cache for every file
Luca Bruno [Mon, 22 Oct 2012 14:12:31 +0000 (16:12 +0200)]
codegen: Fix capture of compiler-generated internal temp variables
Make variable_name_map be global instead of per EmitContext.
Rico Tzschichholz [Mon, 22 Oct 2012 13:03:18 +0000 (15:03 +0200)]
Fix deserialiation of hash tables
Rico Tzschichholz [Mon, 22 Oct 2012 11:16:39 +0000 (13:16 +0200)]
Report error for unsupported GVariant (de)serialization
Rico Tzschichholz [Mon, 22 Oct 2012 11:15:13 +0000 (13:15 +0200)]
Fix some code-style issues
Rico Tzschichholz [Mon, 1 Oct 2012 15:23:02 +0000 (17:23 +0200)]
Access SemanticAnalyzer.get_data_type_for_symbol in a static way
Luca Bruno [Fri, 13 Apr 2012 11:42:14 +0000 (13:42 +0200)]
dbus: Require gio-2.0
Luca Bruno [Sat, 25 Feb 2012 20:25:57 +0000 (21:25 +0100)]
Fix unary expression and active locals
Luca Bruno [Sat, 11 Feb 2012 22:22:58 +0000 (23:22 +0100)]
Fix for statement and foreach on GList
Luca Bruno [Thu, 9 Feb 2012 12:45:57 +0000 (13:45 +0100)]
Do not handle binary expressions without parent statement
Luca Bruno [Fri, 6 Jan 2012 13:11:22 +0000 (14:11 +0100)]
Allow floating temp variables with CodeBuilder
Luca Bruno [Thu, 5 Jan 2012 19:41:10 +0000 (20:41 +0100)]
Use builder for the while statements
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 12:14:58 +0000 (13:14 +0100)]
Drop GVariant stuff from CCodeBaseModule
Luca Bruno [Thu, 5 Jan 2012 10:42:15 +0000 (11:42 +0100)]
Move ObjectCreationExpression transformation to the code transformer
Luca Bruno [Wed, 4 Jan 2012 22:59:34 +0000 (23:59 +0100)]
Move BinaryExpression transformation to the code transformer
Luca Bruno [Wed, 4 Jan 2012 18:38:09 +0000 (19:38 +0100)]
Split CodeTransformer into CCodeTransformer
Luca Bruno [Wed, 4 Jan 2012 17:38:38 +0000 (18:38 +0100)]
Move ForeachStatement transformation into the code transformer
Luca Bruno [Thu, 5 Jan 2012 12:47:43 +0000 (13:47 +0100)]
Preserve the cast when unboxing gvariant
Luca Bruno [Wed, 4 Jan 2012 15:09:37 +0000 (16:09 +0100)]
Fix nested Variant (de)serialization
Luca Bruno [Wed, 4 Jan 2012 14:25:04 +0000 (15:25 +0100)]
Drop build_context from CodeBuilder
Luca Bruno [Wed, 4 Jan 2012 14:19:23 +0000 (15:19 +0100)]
Drop unnecessary code
Luca Bruno [Wed, 4 Jan 2012 11:08:19 +0000 (12:08 +0100)]
GDBus server transformer
Luca Bruno [Tue, 3 Jan 2012 16:22:35 +0000 (17:22 +0100)]
GDBus client transformer
Luca Bruno [Tue, 3 Jan 2012 14:34:48 +0000 (15:34 +0100)]
Complete the gvariant transformer
Luca Bruno [Tue, 3 Jan 2012 12:51:57 +0000 (13:51 +0100)]
Use wrapper methods for deserializing gvariants
Luca Bruno [Tue, 3 Jan 2012 12:27:08 +0000 (13:27 +0100)]
Drop serialize_expression
Luca Bruno [Tue, 3 Jan 2012 12:14:31 +0000 (13:14 +0100)]
Move gvariant helper methods down to CodeTransformer
Luca Bruno [Tue, 3 Jan 2012 12:12:57 +0000 (13:12 +0100)]
Simplify some code
Luca Bruno [Tue, 3 Jan 2012 12:09:20 +0000 (13:09 +0100)]
Let the transformer handle recursive transformations
Luca Bruno [Tue, 3 Jan 2012 11:37:00 +0000 (12:37 +0100)]
Resolve symbols during transformation
Luca Bruno [Tue, 3 Jan 2012 10:46:23 +0000 (11:46 +0100)]
Use wrapper method for serializing hash table and structs
Luca Bruno [Tue, 3 Jan 2012 10:29:04 +0000 (11:29 +0100)]
Cache wrapper methods
Luca Bruno [Tue, 3 Jan 2012 10:22:18 +0000 (11:22 +0100)]
Wrapper methods
Luca Bruno [Fri, 30 Dec 2011 17:18:44 +0000 (18:18 +0100)]
Deserialize hash tables
Luca Bruno [Fri, 30 Dec 2011 16:56:43 +0000 (17:56 +0100)]
Deserialize structs
Luca Bruno [Fri, 30 Dec 2011 16:31:40 +0000 (17:31 +0100)]
Deserialize arrays
Luca Bruno [Fri, 30 Dec 2011 13:07:35 +0000 (14:07 +0100)]
Basic gvariant deserialization
Luca Bruno [Fri, 30 Dec 2011 10:27:19 +0000 (11:27 +0100)]
Serialize hash table
Luca Bruno [Fri, 30 Dec 2011 09:53:58 +0000 (10:53 +0100)]
Serialize structs
Luca Bruno [Tue, 27 Dec 2011 23:19:58 +0000 (00:19 +0100)]
GVariant transformer
Luca Bruno [Thu, 29 Dec 2011 18:42:55 +0000 (19:42 +0100)]
Code builder
Luca Bruno [Fri, 30 Dec 2011 08:26:26 +0000 (09:26 +0100)]
Allow to parse expressions/statements from string
Luca Bruno [Thu, 29 Dec 2011 11:39:15 +0000 (12:39 +0100)]
Several transformer fixes
Luca Bruno [Tue, 27 Dec 2011 18:07:31 +0000 (19:07 +0100)]
Move ConditionalExpression transformation into the code transformer
Luca Bruno [Wed, 31 Aug 2011 08:51:08 +0000 (10:51 +0200)]
Move ForStatement transformation into the code transformer
Luca Bruno [Tue, 30 Aug 2011 11:42:39 +0000 (13:42 +0200)]
Move DoStatement transformation into the code transformer
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 code transformer
Luca Bruno [Sun, 7 Aug 2011 10:22:15 +0000 (12:22 +0200)]
Code transformer
Luca Bruno [Sat, 4 May 2013 09:30:05 +0000 (11:30 +0200)]
Fix result var for pre/post conditions
Luca Bruno [Sat, 6 Aug 2011 08:38:59 +0000 (10:38 +0200)]
Make the semantic analyzer be stateless
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)