]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
6 years agoFix raw variants wip/transform
Rico Tzschichholz [Sun, 28 Oct 2018 21:20:24 +0000 (22:20 +0100)] 
Fix raw variants

6 years agoGDbus Improving
Rico Tzschichholz [Sun, 28 Oct 2018 17:57:48 +0000 (18:57 +0100)] 
GDbus Improving

6 years agoGDBus Improve property getter
Rico Tzschichholz [Sun, 28 Oct 2018 16:52:59 +0000 (17:52 +0100)] 
GDBus Improve property getter

6 years agoAPI cleaning Code builder
Rico Tzschichholz [Thu, 25 Oct 2018 19:40:00 +0000 (21:40 +0200)] 
API cleaning Code builder

6 years agoFix array (de)serialization
Rico Tzschichholz [Thu, 25 Oct 2018 17:01:07 +0000 (19:01 +0200)] 
Fix array (de)serialization

6 years agoMinor clean up in visit_method_call()
Rico Tzschichholz [Tue, 17 Apr 2018 12:35:42 +0000 (14:35 +0200)] 
Minor clean up in visit_method_call()

6 years agotests: "??" evaluates both of sides of expression when right side throws error
Rico Tzschichholz [Tue, 8 Nov 2016 14:02:24 +0000 (15:02 +0100)] 
tests: "??" evaluates both of sides of expression when right side throws error

https://gitlab.gnome.org/GNOME/vala/issues/534

6 years agotests: Add test for do-while statement control-flow
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

6 years agoGDBus: Handle fd_list being null
Rico Tzschichholz [Sun, 19 Mar 2017 22:14:10 +0000 (23:14 +0100)] 
GDBus: Handle fd_list being null

6 years agoFix string templates
Luca Bruno [Mon, 7 Jul 2014 07:57:08 +0000 (09:57 +0200)] 
Fix string templates

6 years agoDo not load plugins from libdir. Issue a warning when using --plugindir
Luca Bruno [Tue, 4 Feb 2014 23:10:09 +0000 (00:10 +0100)] 
Do not load plugins from libdir. Issue a warning when using --plugindir

6 years agoLoad plugins with GModule
Luca Bruno [Tue, 4 Feb 2014 21:25:08 +0000 (22:25 +0100)] 
Load plugins with GModule

6 years agoMake CodeTransformer pluggable
Luca Bruno [Tue, 4 Feb 2014 20:33:44 +0000 (21:33 +0100)] 
Make CodeTransformer pluggable

6 years agoUse more statements()
Luca Bruno [Mon, 3 Feb 2014 14:54:54 +0000 (15:54 +0100)] 
Use more statements()

6 years agoRename CodeBuilder.replaced to data
Luca Bruno [Mon, 3 Feb 2014 13:33:26 +0000 (14:33 +0100)] 
Rename CodeBuilder.replaced to data

6 years agoUse %? in the parser rather than stringifying expressions
Luca Bruno [Mon, 3 Feb 2014 13:30:02 +0000 (14:30 +0100)] 
Use %? in the parser rather than stringifying expressions

6 years agoVisit more expressions in the transformer
Luca Bruno [Mon, 3 Feb 2014 23:48:10 +0000 (00:48 +0100)] 
Visit more expressions in the transformer

6 years agoAccept method call children
Luca Bruno [Mon, 3 Feb 2014 12:03:21 +0000 (13:03 +0100)] 
Accept method call children

6 years agoUse statements() parsing
Luca Bruno [Sun, 2 Feb 2014 22:32:35 +0000 (23:32 +0100)] 
Use statements() parsing

6 years agoFactorize some common code with convenient api. Fix do-while loops
Luca Bruno [Sun, 2 Feb 2014 22:14:28 +0000 (23:14 +0100)] 
Factorize some common code with convenient api. Fix do-while loops

6 years agoSet the scope of the codebuilder block for symbol resolution
Luca Bruno [Sun, 2 Feb 2014 19:39:52 +0000 (20:39 +0100)] 
Set the scope of the codebuilder block for symbol resolution

6 years agoMove postfix transformation from the codegen to the transformer
Luca Bruno [Sat, 1 Feb 2014 17:37:50 +0000 (18:37 +0100)] 
Move postfix transformation from the codegen to the transformer

6 years agoUse _ctmp%d_ for compiler variables since they are globally mapped. Fix templates
Luca Bruno [Sat, 1 Feb 2014 17:26:35 +0000 (18:26 +0100)] 
Use _ctmp%d_ for compiler variables since they are globally mapped. Fix templates

6 years agoMove Template transformation to the code transformer
Luca Bruno [Sat, 1 Feb 2014 11:26:29 +0000 (12:26 +0100)] 
Move Template transformation to the code transformer

6 years agoUse return_temp_access in coalescing expression
Luca Bruno [Sat, 1 Feb 2014 10:22:18 +0000 (11:22 +0100)] 
Use return_temp_access in coalescing expression

6 years agoUse return_temp_access in conditional expression
Luca Bruno [Sat, 1 Feb 2014 10:15:24 +0000 (11:15 +0100)] 
Use return_temp_access in conditional expression

6 years agoReturn (owned) for temp variables when possible to avoid useless copies
Luca Bruno [Sat, 1 Feb 2014 10:10:52 +0000 (11:10 +0100)] 
Return (owned) for temp variables when possible to avoid useless copies

6 years agoCleanup generated empty blocks
Luca Bruno [Sat, 1 Feb 2014 09:42:27 +0000 (10:42 +0100)] 
Cleanup generated empty blocks

6 years agoVisit all nodes for transformation, not only the source ones
Luca Bruno [Sat, 1 Feb 2014 09:22:41 +0000 (10:22 +0100)] 
Visit all nodes for transformation, not only the source ones

6 years agoFix coalescing operator
Luca Bruno [Thu, 30 Jan 2014 23:10:57 +0000 (00:10 +0100)] 
Fix coalescing operator

6 years agoAllow symbol_from_string to return null
Luca Bruno [Sun, 9 Jun 2013 19:22:46 +0000 (21:22 +0200)] 
Allow symbol_from_string to return null

6 years agoMake gdbus work, temp commit
Luca Bruno [Tue, 21 May 2013 19:08:05 +0000 (21:08 +0200)] 
Make gdbus work, temp commit

6 years agoUse qualified names in transformed expressions
Luca Bruno [Sat, 18 May 2013 10:41:15 +0000 (12:41 +0200)] 
Use qualified names in transformed expressions

6 years agoCopy types in transformer
Luca Bruno [Sat, 18 May 2013 10:39:22 +0000 (12:39 +0200)] 
Copy types in transformer

6 years agoFix passing BusName and manage unhandled GErrors
Luca Bruno [Sat, 4 May 2013 13:35:04 +0000 (15:35 +0200)] 
Fix passing BusName and manage unhandled GErrors

6 years agocodegen: Fix making local variables and constants active
Luca Bruno [Fri, 26 Oct 2012 23:20:09 +0000 (01:20 +0200)] 
codegen: Fix making local variables and constants active

6 years agodbus: Copy type when declaring temporary variables
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.

6 years agotransformer: Clear wrapper cache for every file
Luca Bruno [Thu, 25 Oct 2012 18:32:48 +0000 (20:32 +0200)] 
transformer: Clear wrapper cache for every file

6 years agocodegen: Fix capture of compiler-generated internal temp variables
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.

6 years agoFix deserialiation of hash tables
Rico Tzschichholz [Mon, 22 Oct 2012 13:03:18 +0000 (15:03 +0200)] 
Fix deserialiation of hash tables

6 years agoReport error for unsupported GVariant (de)serialization
Rico Tzschichholz [Mon, 22 Oct 2012 11:16:39 +0000 (13:16 +0200)] 
Report error for unsupported GVariant (de)serialization

6 years agoFix some code-style issues
Rico Tzschichholz [Mon, 22 Oct 2012 11:15:13 +0000 (13:15 +0200)] 
Fix some code-style issues

6 years agoAccess SemanticAnalyzer.get_data_type_for_symbol in a static way
Rico Tzschichholz [Mon, 1 Oct 2012 15:23:02 +0000 (17:23 +0200)] 
Access SemanticAnalyzer.get_data_type_for_symbol in a static way

6 years agodbus: Require gio-2.0
Luca Bruno [Fri, 13 Apr 2012 11:42:14 +0000 (13:42 +0200)] 
dbus: Require gio-2.0

6 years agoFix unary expression and active locals
Luca Bruno [Sat, 25 Feb 2012 20:25:57 +0000 (21:25 +0100)] 
Fix unary expression and active locals

6 years agoFix for statement and foreach on GList
Luca Bruno [Sat, 11 Feb 2012 22:22:58 +0000 (23:22 +0100)] 
Fix for statement and foreach on GList

6 years agoDo not handle binary expressions without parent statement
Luca Bruno [Thu, 9 Feb 2012 12:45:57 +0000 (13:45 +0100)] 
Do not handle binary expressions without parent statement

6 years agoAllow floating temp variables with CodeBuilder
Luca Bruno [Fri, 6 Jan 2012 13:11:22 +0000 (14:11 +0100)] 
Allow floating temp variables with CodeBuilder

6 years agoUse builder for the while statements
Luca Bruno [Thu, 5 Jan 2012 19:41:10 +0000 (20:41 +0100)] 
Use builder for the while statements

6 years agoDOM-like linked list of statements
Luca Bruno [Thu, 5 Jan 2012 14:33:32 +0000 (15:33 +0100)] 
DOM-like linked list of statements

6 years agoDrop GVariant stuff from CCodeBaseModule
Luca Bruno [Thu, 5 Jan 2012 12:14:58 +0000 (13:14 +0100)] 
Drop GVariant stuff from CCodeBaseModule

6 years agoMove ObjectCreationExpression transformation to the code transformer
Luca Bruno [Thu, 5 Jan 2012 10:42:15 +0000 (11:42 +0100)] 
Move ObjectCreationExpression transformation to the code transformer

6 years agoMove BinaryExpression 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

6 years agoSplit CodeTransformer into CCodeTransformer
Luca Bruno [Wed, 4 Jan 2012 18:38:09 +0000 (19:38 +0100)] 
Split CodeTransformer into CCodeTransformer

6 years agoMove ForeachStatement transformation into the code transformer
Luca Bruno [Wed, 4 Jan 2012 17:38:38 +0000 (18:38 +0100)] 
Move ForeachStatement transformation into the code transformer

6 years agoPreserve the cast when unboxing gvariant
Luca Bruno [Thu, 5 Jan 2012 12:47:43 +0000 (13:47 +0100)] 
Preserve the cast when unboxing gvariant

6 years agoFix nested Variant (de)serialization
Luca Bruno [Wed, 4 Jan 2012 15:09:37 +0000 (16:09 +0100)] 
Fix nested Variant (de)serialization

6 years agoDrop build_context from CodeBuilder
Luca Bruno [Wed, 4 Jan 2012 14:25:04 +0000 (15:25 +0100)] 
Drop build_context from CodeBuilder

6 years agoDrop unnecessary code
Luca Bruno [Wed, 4 Jan 2012 14:19:23 +0000 (15:19 +0100)] 
Drop unnecessary code

6 years agoGDBus server transformer
Luca Bruno [Wed, 4 Jan 2012 11:08:19 +0000 (12:08 +0100)] 
GDBus server transformer

6 years agoGDBus client transformer
Luca Bruno [Tue, 3 Jan 2012 16:22:35 +0000 (17:22 +0100)] 
GDBus client transformer

6 years agoComplete the gvariant transformer
Luca Bruno [Tue, 3 Jan 2012 14:34:48 +0000 (15:34 +0100)] 
Complete the gvariant transformer

6 years agoUse wrapper methods for deserializing gvariants
Luca Bruno [Tue, 3 Jan 2012 12:51:57 +0000 (13:51 +0100)] 
Use wrapper methods for deserializing gvariants

6 years agoDrop serialize_expression
Luca Bruno [Tue, 3 Jan 2012 12:27:08 +0000 (13:27 +0100)] 
Drop serialize_expression

6 years agoMove gvariant helper methods down to CodeTransformer
Luca Bruno [Tue, 3 Jan 2012 12:14:31 +0000 (13:14 +0100)] 
Move gvariant helper methods down to CodeTransformer

6 years agoSimplify some code
Luca Bruno [Tue, 3 Jan 2012 12:12:57 +0000 (13:12 +0100)] 
Simplify some code

6 years agoLet the transformer handle recursive transformations
Luca Bruno [Tue, 3 Jan 2012 12:09:20 +0000 (13:09 +0100)] 
Let the transformer handle recursive transformations

6 years agoResolve symbols during transformation
Luca Bruno [Tue, 3 Jan 2012 11:37:00 +0000 (12:37 +0100)] 
Resolve symbols during transformation

6 years agoUse wrapper method for serializing hash table and structs
Luca Bruno [Tue, 3 Jan 2012 10:46:23 +0000 (11:46 +0100)] 
Use wrapper method for serializing hash table and structs

6 years agoCache wrapper methods
Luca Bruno [Tue, 3 Jan 2012 10:29:04 +0000 (11:29 +0100)] 
Cache wrapper methods

6 years agoWrapper methods
Luca Bruno [Tue, 3 Jan 2012 10:22:18 +0000 (11:22 +0100)] 
Wrapper methods

6 years agoDeserialize hash tables
Luca Bruno [Fri, 30 Dec 2011 17:18:44 +0000 (18:18 +0100)] 
Deserialize hash tables

6 years agoDeserialize structs
Luca Bruno [Fri, 30 Dec 2011 16:56:43 +0000 (17:56 +0100)] 
Deserialize structs

6 years agoDeserialize arrays
Luca Bruno [Fri, 30 Dec 2011 16:31:40 +0000 (17:31 +0100)] 
Deserialize arrays

6 years agoBasic gvariant deserialization
Luca Bruno [Fri, 30 Dec 2011 13:07:35 +0000 (14:07 +0100)] 
Basic gvariant deserialization

6 years agoSerialize hash table
Luca Bruno [Fri, 30 Dec 2011 10:27:19 +0000 (11:27 +0100)] 
Serialize hash table

6 years agoSerialize structs
Luca Bruno [Fri, 30 Dec 2011 09:53:58 +0000 (10:53 +0100)] 
Serialize structs

6 years agoGVariant transformer
Luca Bruno [Tue, 27 Dec 2011 23:19:58 +0000 (00:19 +0100)] 
GVariant transformer

6 years agoCode builder
Luca Bruno [Thu, 29 Dec 2011 18:42:55 +0000 (19:42 +0100)] 
Code builder

6 years agoAllow to parse expressions/statements from string
Luca Bruno [Fri, 30 Dec 2011 08:26:26 +0000 (09:26 +0100)] 
Allow to parse expressions/statements from string

6 years agoSeveral transformer fixes
Luca Bruno [Thu, 29 Dec 2011 11:39:15 +0000 (12:39 +0100)] 
Several transformer fixes

6 years agoMove ConditionalExpression transformation into the code transformer
Luca Bruno [Tue, 27 Dec 2011 18:07:31 +0000 (19:07 +0100)] 
Move ConditionalExpression transformation into the code transformer

6 years agoMove ForStatement 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

6 years agoMove DoStatement 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

6 years agoMove WhileStatement transformation into the code transformer
Luca Bruno [Tue, 30 Aug 2011 10:43:41 +0000 (12:43 +0200)] 
Move WhileStatement transformation into the code transformer

6 years agoCode transformer
Luca Bruno [Sun, 7 Aug 2011 10:22:15 +0000 (12:22 +0200)] 
Code transformer

6 years agoFix result var for pre/post conditions
Luca Bruno [Sat, 4 May 2013 09:30:05 +0000 (11:30 +0200)] 
Fix result var for pre/post conditions

6 years agoMake the semantic analyzer be stateless
Luca Bruno [Sat, 6 Aug 2011 08:38:59 +0000 (10:38 +0200)] 
Make the semantic analyzer be stateless

6 years agovala: Allow assignment of 0U to enum types 270361907182a4c8b4b291fd1a505d47dd8bcaae
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.

6 years agoccodegen: Use unsigned default value for flags-enum
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)] 
ccodegen: Use unsigned default value for flags-enum

6 years agotests: Add "method ccode return-type" test to increase coverage
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

6 years agotests: Extend "struct with delegate" test to increase coverage
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)] 
tests: Extend "struct with delegate" test to increase coverage

6 years agogsignal: Move disconnect error from signal-module to semantic-analyzer pass
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

6 years agogsignal: Use guint to represent flags-enum in custom GMarshalFunc
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)] 
gsignal: Use guint to represent flags-enum in custom GMarshalFunc

6 years agotests: Extend "detailed signal" test to increase coverage
Rico Tzschichholz [Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)] 
tests: Extend "detailed signal" test to increase coverage

6 years agogsignal: get_detail_cexpression/get_signal_name_cexpression must not be null
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

6 years agoRelease 0.44.0 5c24e43c809acc06b49341834a58e45f90e60313 0.44.0
Rico Tzschichholz [Sat, 9 Mar 2019 08:57:37 +0000 (09:57 +0100)] 
Release 0.44.0

6 years agoparser: Don't include member-initializer in src-ref of object-creation-expr 1fc7ec4333440427fa1dc1f15cd664f03a0faac8 53/head
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

6 years agoparser: Don't include initializer in src-ref of array-creation-expression d792297833eb791050fcf8ee6d99608db5555281
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

6 years agoparser: Extend source_reference of initializer-list to cover "{ ... }" 96b33d62ded1e1a052d51d40e31d78d7738fbbed
Rico Tzschichholz [Fri, 8 Mar 2019 17:46:02 +0000 (18:46 +0100)] 
parser: Extend source_reference of initializer-list to cover "{ ... }"