]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
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 "{ ... }"

6 years agoparser: Exclude trailing semicolon from source_reference of statements
Rico Tzschichholz [Fri, 8 Mar 2019 17:46:02 +0000 (18:46 +0100)] 
parser: Exclude trailing semicolon from source_reference of statements

6 years agoparser: Don't include assigned value in source_reference of constants
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.

6 years agoparser: Restrict source_reference for catch/lock expression to its header
Rico Tzschichholz [Fri, 8 Mar 2019 17:46:02 +0000 (18:46 +0100)] 
parser: Restrict source_reference for catch/lock expression to its header

6 years agogtk4: Update to 3.94.0+eacbeb9e d3770a01f0a0648cc51baa350eb80c88588bf542
Rico Tzschichholz [Thu, 7 Mar 2019 09:52:20 +0000 (10:52 +0100)] 
gtk4: Update to 3.94.0+eacbeb9e

6 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 7 Mar 2019 09:51:58 +0000 (10:51 +0100)] 
vapi: Update GIR-based bindings

6 years agogstreamer: Update from 1.15.2+ git master
Rico Tzschichholz [Thu, 7 Mar 2019 09:50:13 +0000 (10:50 +0100)] 
gstreamer: Update from 1.15.2+ git master

6 years agovala: More regular invocations of check() on inferred Expression.value_type 13f38eb6e2f21a9a02a3536323b1496bfb82cad4
Rico Tzschichholz [Wed, 6 Mar 2019 14:55:13 +0000 (15:55 +0100)] 
vala: More regular invocations of check() on inferred Expression.value_type

6 years agotests: Add regression test for generic-type interference of static function
Rico Tzschichholz [Wed, 6 Mar 2019 16:25:05 +0000 (17:25 +0100)] 
tests: Add regression test for generic-type interference of static function

6 years agoRelease 0.43.92 1950090e66921b3e5cef73060ed1cc54782043c1 0.43.92
Rico Tzschichholz [Sun, 3 Mar 2019 07:52:44 +0000 (08:52 +0100)] 
Release 0.43.92

6 years agotests: Extent "post-condition" method test to increase coverage
Rico Tzschichholz [Fri, 1 Mar 2019 13:16:14 +0000 (14:16 +0100)] 
tests: Extent "post-condition" method test to increase coverage

6 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Fri, 1 Mar 2019 11:37:14 +0000 (12:37 +0100)] 
vapi: Update GIR-based bindings

6 years agogtk4: Update to 3.94.0+b4ae491b
Rico Tzschichholz [Wed, 27 Feb 2019 13:29:47 +0000 (14:29 +0100)] 
gtk4: Update to 3.94.0+b4ae491b

6 years agocodegen: Include "glib-object.h" for typeof expression
Rico Tzschichholz [Fri, 1 Mar 2019 08:45:56 +0000 (09:45 +0100)] 
codegen: Include "glib-object.h" for typeof expression

6 years agovala: Don't ignore qualified parent when inferring type of enum member
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

6 years agovala: Correctly perform compatibility check of array length-type
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

6 years agogirwriter: Always use get_gir_name() for TypeSymbols
Rico Tzschichholz [Wed, 27 Feb 2019 14:45:13 +0000 (15:45 +0100)] 
girwriter: Always use get_gir_name() for TypeSymbols

6 years agocodegen: Respect finish[_vfunc]_name attributes defined in vala sources
Rico Tzschichholz [Wed, 27 Feb 2019 13:29:47 +0000 (14:29 +0100)] 
codegen: Respect finish[_vfunc]_name attributes defined in vala sources

6 years agocodegen: Replace gvaluecollector_h_needed with dedidated add_include() calls
Rico Tzschichholz [Wed, 27 Feb 2019 13:29:47 +0000 (14:29 +0100)] 
codegen: Replace gvaluecollector_h_needed with dedidated add_include() calls

6 years agopoppler-glib: Update to 0.74
Rico Tzschichholz [Tue, 26 Feb 2019 21:45:02 +0000 (22:45 +0100)] 
poppler-glib: Update to 0.74

6 years agotests: Extent "girwriter" test to increase coverage
Rico Tzschichholz [Tue, 26 Feb 2019 13:01:53 +0000 (14:01 +0100)] 
tests: Extent "girwriter" test to increase coverage

6 years agogirwriter: Support transfer-ownership="container" for arrays
Rico Tzschichholz [Tue, 26 Feb 2019 13:10:35 +0000 (14:10 +0100)] 
girwriter: Support transfer-ownership="container" for arrays

6 years agogenieparser: Don't create VoidType unconditionally
Rico Tzschichholz [Tue, 26 Feb 2019 08:51:30 +0000 (09:51 +0100)] 
genieparser: Don't create VoidType unconditionally

6 years agogenie: Allow the main function "init" to return an integer as exit status
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

6 years agotests: Add some Genie tests to increase coverage feac71ef0fd6083bebc2a4818834a4351a7e4629
Alistair Thomas [Mon, 25 Feb 2019 21:00:51 +0000 (21:00 +0000)] 
tests: Add some Genie tests to increase coverage

6 years agotestrunner: Add support for Genie source files (.gs) d6421ce0b8c65638a8e6cb8837b8a748689d836c
Alistair Thomas [Mon, 25 Feb 2019 21:00:51 +0000 (21:00 +0000)] 
testrunner: Add support for Genie source files (.gs)

6 years agogobject-2.0: Add SignalHandler.disconnect_by_data() f71945c56a47f8adf697b3be4ac3faa6053834d8
Rico Tzschichholz [Mon, 25 Feb 2019 08:58:11 +0000 (09:58 +0100)] 
gobject-2.0: Add SignalHandler.disconnect_by_data()

6 years agocodegen: Respect array_length_cname attribute for global fields
Rico Tzschichholz [Sun, 24 Feb 2019 20:44:48 +0000 (21:44 +0100)] 
codegen: Respect array_length_cname attribute for global fields

6 years agocodegen: Add get_variable_array_length_cname() and use as possible
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()

6 years agocodegen: 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_binary_expression()

6 years agocodegen: Replace if-else-tree with switch in visit_unary_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()

6 years agotests: TypeModule allows registering static types since 2.56
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.

6 years agotests: Add "custom types" struct tests to increase coverage
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)] 
tests: Add "custom types" struct tests to increase coverage

6 years agotests: Add "constructor chain up" generics test 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

6 years agotests: Add "null-terminated array" delegate 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

6 years agotests: Add "struct in array" 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

6 years agotests: Add "to_string" enum 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

6 years agotests: Add "ModuleInit" test to increase coverage
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)] 
tests: Add "ModuleInit" test to increase coverage

6 years agocodegen: Only emit declaration of *_register_type if needed
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

6 years agocodegen: Allow to associate CCodeFile to actual SourceFile
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)] 
codegen: Allow to associate CCodeFile to actual SourceFile

6 years agocodegen: Rename to CCodeMethodCallModule.generate_enum_to_string_function()
Rico Tzschichholz [Sat, 23 Feb 2019 19:19:31 +0000 (20:19 +0100)] 
codegen: Rename to CCodeMethodCallModule.generate_enum_to_string_function()

6 years agoRelease 0.43.91 0.43.91
Rico Tzschichholz [Thu, 21 Feb 2019 14:18:48 +0000 (15:18 +0100)] 
Release 0.43.91

6 years agoglib-2.0: Add "delegate_target = false" to Log.writer_journald/_standard_streams...
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