]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
2 years agodbusgen/tests: Changed to info to error wip/dbusgen
JCWasmx86 [Sun, 17 Jul 2022 09:08:25 +0000 (11:08 +0200)] 
dbusgen/tests: Changed to info to error

2 years agoCommented out failing tests
JCWasmx86 [Sun, 12 Jun 2022 07:27:34 +0000 (09:27 +0200)] 
Commented out failing tests

2 years agofixup! Added failing tests
JCWasmx86 [Wed, 8 Jun 2022 09:55:38 +0000 (11:55 +0200)] 
fixup! Added failing tests

2 years agoAdded failing tests
JCWasmx86 [Wed, 8 Jun 2022 09:54:56 +0000 (11:54 +0200)] 
Added failing tests

2 years agoAdded first runtime tests
JCWasmx86 [Wed, 8 Jun 2022 08:17:12 +0000 (10:17 +0200)] 
Added first runtime tests

2 years agoAdded fixes for keywords in C
JCWasmx86 [Tue, 7 Jun 2022 09:01:15 +0000 (11:01 +0200)] 
Added fixes for keywords in C

2 years agoRemoved irrelevant warnings
JCWasmx86 [Mon, 6 Jun 2022 13:26:15 +0000 (15:26 +0200)] 
Removed irrelevant warnings

2 years agoFix naming of properties
JCWasmx86 [Mon, 6 Jun 2022 13:23:20 +0000 (15:23 +0200)] 
Fix naming of properties

2 years agoFixed properties
JCWasmx86 [Sun, 5 Jun 2022 20:12:43 +0000 (22:12 +0200)] 
Fixed properties

2 years agoAdded struct generation:
JCWasmx86 [Sun, 5 Jun 2022 15:30:29 +0000 (17:30 +0200)] 
Added struct generation:

Only message is:
(valadbusgen:196678): vala-CRITICAL **: 17:30:19.916: vala_collection_add: assertion 'self != NULL' failed
albeit I'm not sure whether it is the fault of the code or of my environment

2 years agoMade condition more readable
JCWasmx86 [Sun, 5 Jun 2022 14:09:53 +0000 (16:09 +0200)] 
Made condition more readable

2 years agoAdded colorful output
JCWasmx86 [Sun, 5 Jun 2022 13:57:57 +0000 (15:57 +0200)] 
Added colorful output

2 years agoUpdated tests
JCWasmx86 [Sun, 5 Jun 2022 13:51:33 +0000 (15:51 +0200)] 
Updated tests

2 years agoRemoved obsolete TODO
JCWasmx86 [Sun, 5 Jun 2022 12:45:20 +0000 (14:45 +0200)] 
Removed obsolete TODO

2 years agoIgnore duplicate standard interfaces
JCWasmx86 [Sun, 5 Jun 2022 12:40:07 +0000 (14:40 +0200)] 
Ignore duplicate standard interfaces

2 years agoAdded tests
JCWasmx86 [Sat, 4 Jun 2022 18:19:13 +0000 (20:19 +0200)] 
Added tests

2 years agoDon't generate a hashmap, if >0 args are generic or array
JCWasmx86 [Sat, 4 Jun 2022 17:37:22 +0000 (19:37 +0200)] 
Don't generate a hashmap, if >0 args are generic or array

2 years agoDon't use arrays in generics
JCWasmx86 [Sat, 4 Jun 2022 17:17:17 +0000 (19:17 +0200)] 
Don't use arrays in generics

2 years agoAdded more TODOs
JCWasmx86 [Sat, 4 Jun 2022 07:56:02 +0000 (09:56 +0200)] 
Added more TODOs

2 years agoFix duplicate member names
JCWasmx86 [Sat, 4 Jun 2022 07:54:22 +0000 (09:54 +0200)] 
Fix duplicate member names

2 years agoAdded guard against endless loop after invalid XML
JCWasmx86 [Sat, 4 Jun 2022 07:29:21 +0000 (09:29 +0200)] 
Added guard against endless loop after invalid XML

2 years agoAdded more TODOs and a mitigation measure for duplicate argnames (org.freedesktop...
JCWasmx86 [Sat, 4 Jun 2022 06:27:55 +0000 (08:27 +0200)] 
Added more TODOs and a mitigation measure for duplicate argnames (org.freedesktop.systemd1.Mount)

2 years agoMinor fixes
JCWasmx86 [Sun, 15 May 2022 09:26:34 +0000 (11:26 +0200)] 
Minor fixes

2 years agodbusgen: Added support for org.gtk.GDBus.DocString
JCWasmx86 [Tue, 26 Apr 2022 12:01:34 +0000 (14:01 +0200)] 
dbusgen: Added support for org.gtk.GDBus.DocString

2 years agodbusgen: Added support for org.gtk.GDBus.Since and partially the org.freedesktop...
JCWasmx86 [Tue, 26 Apr 2022 07:59:44 +0000 (09:59 +0200)] 
dbusgen: Added support for org.gtk.GDBus.Since and partially the org.freedesktop.DBus.Property.EmitsChangedSignal annotation

2 years agoDrop pkg-config file
Rico Tzschichholz [Wed, 18 Aug 2021 13:09:31 +0000 (15:09 +0200)] 
Drop pkg-config file

2 years agodbusgen use DUMP mode
Rico Tzschichholz [Wed, 25 Sep 2019 19:11:14 +0000 (21:11 +0200)] 
dbusgen use DUMP mode

2 years agoWIP dbusgen: Add namespace options
Rico Tzschichholz [Thu, 20 Sep 2018 08:57:10 +0000 (10:57 +0200)] 
WIP dbusgen: Add namespace options

2 years agodbusgen/tests: Use test-codegen.xml from glib/gio
Rico Tzschichholz [Wed, 19 Sep 2018 20:17:39 +0000 (22:17 +0200)] 
dbusgen/tests: Use test-codegen.xml from glib/gio

2 years agodbusgen: Use strings and string-arrays like gdbus-codegen does
Rico Tzschichholz [Tue, 26 Mar 2019 22:31:34 +0000 (23:31 +0100)] 
dbusgen: Use strings and string-arrays like gdbus-codegen does

2 years agodbusgen: Set DBus.name on symbols as needed
Rico Tzschichholz [Tue, 26 Mar 2019 16:45:05 +0000 (17:45 +0100)] 
dbusgen: Set DBus.name on symbols as needed

2 years agodbusgen: Some parser reordering and property type fixing
Rico Tzschichholz [Wed, 19 Sep 2018 19:55:25 +0000 (21:55 +0200)] 
dbusgen: Some parser reordering and property type fixing

2 years agodbusgen: Implement org.gtk.GDBus.C.ForceGVariant
Rico Tzschichholz [Wed, 19 Sep 2018 19:19:46 +0000 (21:19 +0200)] 
dbusgen: Implement org.gtk.GDBus.C.ForceGVariant

2 years agodbusgen: Add DBus signature attribute if type is not supported yet
Rico Tzschichholz [Wed, 19 Sep 2018 17:13:18 +0000 (19:13 +0200)] 
dbusgen: Add DBus signature attribute if type is not supported yet

2 years agodbusgen: Make sure to name changes are reversible
Rico Tzschichholz [Wed, 19 Sep 2018 16:41:47 +0000 (18:41 +0200)] 
dbusgen: Make sure to name changes are reversible

2 years agodbusgen: Add mandatory "throws DBusError, IOError" to methods
Rico Tzschichholz [Wed, 19 Sep 2018 13:07:00 +0000 (15:07 +0200)] 
dbusgen: Add mandatory "throws DBusError, IOError" to methods

2 years agodoc: Add valadbusgen manpage
Rico Tzschichholz [Wed, 19 Sep 2018 12:22:26 +0000 (14:22 +0200)] 
doc: Add valadbusgen manpage

2 years agodbusgen: Add some annotations todos
Rico Tzschichholz [Thu, 7 Dec 2017 09:46:15 +0000 (10:46 +0100)] 
dbusgen: Add some annotations todos

2 years agoUse GLib.ObjectPath instead of string
Chris Daley [Sun, 26 Nov 2017 22:07:43 +0000 (14:07 -0800)] 
Use GLib.ObjectPath instead of string

2 years agoFix comment style
Rico Tzschichholz [Sat, 25 Nov 2017 22:35:30 +0000 (23:35 +0100)] 
Fix comment style

2 years agoFix ownership
Rico Tzschichholz [Sat, 25 Nov 2017 22:21:23 +0000 (23:21 +0100)] 
Fix ownership

2 years agoadded support for dbus extensions
Chris Daley [Sat, 25 Nov 2017 01:19:22 +0000 (17:19 -0800)] 
added support for dbus extensions

2 years agoreturns more expressive types
Chris Daley [Fri, 24 Nov 2017 21:17:25 +0000 (13:17 -0800)] 
returns more expressive types

2 years agoadded support for Handle types
Chris Daley [Fri, 24 Nov 2017 18:45:23 +0000 (10:45 -0800)] 
added support for Handle types

2 years agoadded support for doc tags
Chris Daley [Fri, 24 Nov 2017 18:35:03 +0000 (10:35 -0800)] 
added support for doc tags

2 years agoParameter-names are not mandatory
Rico Tzschichholz [Thu, 23 Nov 2017 21:15:55 +0000 (22:15 +0100)] 
Parameter-names are not mandatory

2 years agoCleaning
Rico Tzschichholz [Thu, 23 Nov 2017 21:06:19 +0000 (22:06 +0100)] 
Cleaning

2 years agoMore recognized types
Rico Tzschichholz [Thu, 23 Nov 2017 19:10:57 +0000 (20:10 +0100)] 
More recognized types

2 years agoDon't use camel-cased symbol names
Rico Tzschichholz [Thu, 23 Nov 2017 17:56:22 +0000 (18:56 +0100)] 
Don't use camel-cased symbol names

2 years agoReuse retrieved attributes
Rico Tzschichholz [Thu, 23 Nov 2017 17:50:04 +0000 (18:50 +0100)] 
Reuse retrieved attributes

2 years agonow parses properties and doc tags correctly
Chris Daley [Thu, 23 Nov 2017 14:41:38 +0000 (06:41 -0800)] 
now parses properties and doc tags correctly

2 years agoDataType needs to be copied
Rico Tzschichholz [Thu, 23 Nov 2017 14:56:03 +0000 (15:56 +0100)] 
DataType needs to be copied

2 years agoInitial commit of dbusgen
Chris Daley [Mon, 20 Nov 2017 21:49:16 +0000 (13:49 -0800)] 
Initial commit of dbusgen

2 years agovala: Don't force cheader attributes for code-writer in DUMP
Rico Tzschichholz [Wed, 25 Sep 2019 19:09:47 +0000 (21:09 +0200)] 
vala: Don't force cheader attributes for code-writer in DUMP

2 years agoglib-2.0: Fix binding of g_variant_type_n_items()
JCWasmx86 [Sun, 5 Jun 2022 15:30:29 +0000 (17:30 +0200)] 
glib-2.0: Fix binding of g_variant_type_n_items()

2 years agoDOAP: Replace defunct mailing-list with developer-forum (GNOME Discourse)
Andre Klapper [Fri, 28 Apr 2023 02:33:08 +0000 (04:33 +0200)] 
DOAP: Replace defunct mailing-list with developer-forum (GNOME Discourse)

2 years agocodegen: Include "glib-object.h" when using GType/GBoxedCopyFunc
Rico Tzschichholz [Sat, 22 Apr 2023 08:49:14 +0000 (10:49 +0200)] 
codegen: Include "glib-object.h" when using GType/GBoxedCopyFunc

2 years agogirwriter: Write filename, line, and column attributes for doc elements
Lleyton Gray [Fri, 24 Mar 2023 01:16:47 +0000 (18:16 -0700)] 
girwriter: Write filename, line, and column attributes for doc elements

See https://gitlab.gnome.org/GNOME/vala/issues/707

2 years agovaladoc/tests: Add girwriter test
Rico Tzschichholz [Sun, 9 Apr 2023 11:29:26 +0000 (13:29 +0200)] 
valadoc/tests: Add girwriter test

2 years agovaladoc: Backing method of lambda-expression isn't included in valadoc AST
Rico Tzschichholz [Fri, 14 Apr 2023 13:13:54 +0000 (15:13 +0200)] 
valadoc: Backing method of lambda-expression isn't included in valadoc AST

2 years agobuild: valadoc requires valac 0.18.1
Rico Tzschichholz [Wed, 19 Apr 2023 11:16:30 +0000 (13:16 +0200)] 
build: valadoc requires valac 0.18.1

2 years agobuild: Improve usage of AC_PATH_PROG() for valacs
Rico Tzschichholz [Wed, 19 Apr 2023 11:16:30 +0000 (13:16 +0200)] 
build: Improve usage of AC_PATH_PROG() for valacs

2 years agoRegenerate manpages
Rico Tzschichholz [Tue, 18 Apr 2023 08:52:18 +0000 (10:52 +0200)] 
Regenerate manpages

2 years agoSync NEWS from 0.56
Rico Tzschichholz [Tue, 18 Apr 2023 08:48:07 +0000 (10:48 +0200)] 
Sync NEWS from 0.56

2 years agoUpdate another glib version reference to reflect bump to 2.56
Rico Tzschichholz [Mon, 17 Apr 2023 19:17:20 +0000 (21:17 +0200)] 
Update another glib version reference to reflect bump to 2.56

See 97d6ffb154ce0afab2bafb81b824ff7faadb66fa

2 years agoglib-2.0: g_chdir is declared in <glib/gstdio.h>
Florian Weimer [Mon, 17 Apr 2023 20:04:18 +0000 (22:04 +0200)] 
glib-2.0: g_chdir is declared in <glib/gstdio.h>

Not <glib.h>.  Fixes an implicit function error when building deja-dup.

2 years agogee: Fix type-arguments in cast
Rico Tzschichholz [Mon, 17 Apr 2023 13:56:12 +0000 (15:56 +0200)] 
gee: Fix type-arguments in cast

2 years agogee: Fix reversed type-arguments
Rico Tzschichholz [Mon, 17 Apr 2023 13:40:02 +0000 (15:40 +0200)] 
gee: Fix reversed type-arguments

2 years agovapi: Regenerate for GIR-based bindings to pick up sealed declaration modifier
Rico Tzschichholz [Sun, 16 Apr 2023 12:24:25 +0000 (14:24 +0200)] 
vapi: Regenerate for GIR-based bindings to pick up sealed declaration modifier

2 years agogirparser: Classes are considered sealed when there were no fields found
Rico Tzschichholz [Sun, 16 Apr 2023 12:24:25 +0000 (14:24 +0200)] 
girparser: Classes are considered sealed when there were no fields found

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1036

2 years agotests: Add missing instance fields to GIR test files
Rico Tzschichholz [Sun, 16 Apr 2023 12:24:25 +0000 (14:24 +0200)] 
tests: Add missing instance fields to GIR test files

2 years agovapi: Regenerate bindings for GenericType change
Rico Tzschichholz [Thu, 13 Apr 2023 18:36:08 +0000 (20:36 +0200)] 
vapi: Regenerate bindings for GenericType change

2 years agovala: Don't make GenericType nullable by default
Rico Tzschichholz [Thu, 13 Apr 2023 18:36:08 +0000 (20:36 +0200)] 
vala: Don't make GenericType nullable by default

Allow equality between nullable and non-nullable generic-types for now

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1191

2 years agocodegen: Fix usage of lambda-expression from delegate initializer
Rico Tzschichholz [Thu, 13 Apr 2023 08:46:45 +0000 (10:46 +0200)] 
codegen: Fix usage of lambda-expression from delegate initializer

Unset delegate-type if a lambda-expression handler was found to use
the correct code paths.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1428

2 years agocodegen: Return CCodeInvalidExpression instead of null
Rico Tzschichholz [Thu, 13 Apr 2023 06:25:02 +0000 (08:25 +0200)] 
codegen: Return CCodeInvalidExpression instead of null

This fixes the following criticals:

  vala_ccode_cast_expression_construct: assertion 'expr != NULL' failed
  vala_ccode_function_call_add_argument: assertion 'expr != NULL' failed

Remove dead code, this is already handled in get_dup_func_expression()

2 years agovala: Improve check of type_referene in ObjectCreationExpression
Lorenz Wildberg [Tue, 11 Apr 2023 20:02:51 +0000 (22:02 +0200)] 
vala: Improve check of type_referene in ObjectCreationExpression

2 years agovala: Check type-arguments in more declarations
Rico Tzschichholz [Sat, 8 Apr 2023 17:30:33 +0000 (19:30 +0200)] 
vala: Check type-arguments in more declarations

2 years agogirparser: Add support for type_parameters, implements and prerequisites metadata
Rico Tzschichholz [Sat, 8 Apr 2023 13:50:53 +0000 (15:50 +0200)] 
girparser: Add support for type_parameters, implements and prerequisites metadata

2 years agovala: Don't report consequential error when base_method is incompatible already
Rico Tzschichholz [Tue, 11 Apr 2023 10:21:14 +0000 (12:21 +0200)] 
vala: Don't report consequential error when base_method is incompatible already

2 years agovaladoc: Add missing generic type arguments
Rico Tzschichholz [Mon, 10 Apr 2023 21:42:16 +0000 (23:42 +0200)] 
valadoc: Add missing generic type arguments

2 years agovala: Add GenericSymbol interface for symbols supporting type-parameters
Rico Tzschichholz [Mon, 10 Apr 2023 15:13:35 +0000 (17:13 +0200)] 
vala: Add GenericSymbol interface for symbols supporting type-parameters

2 years agogee: Add more missing generic type arguments
Rico Tzschichholz [Sat, 8 Apr 2023 20:43:41 +0000 (22:43 +0200)] 
gee: Add more missing generic type arguments

2 years agogee: Fix return-type of HashMap.MapIterator.get_key()/get_value()
Rico Tzschichholz [Sat, 8 Apr 2023 16:50:59 +0000 (18:50 +0200)] 
gee: Fix return-type of HashMap.MapIterator.get_key()/get_value()

They didn't match the declarations in Vala.MapIterator interface.

2 years agovala: Improve error message for wrong number of type-arguments
Rico Tzschichholz [Sat, 8 Apr 2023 13:50:53 +0000 (15:50 +0200)] 
vala: Improve error message for wrong number of type-arguments

2 years agovala: Improve Symbol.to_string() to include TypeParameters
Rico Tzschichholz [Sat, 8 Apr 2023 13:50:53 +0000 (15:50 +0200)] 
vala: Improve Symbol.to_string() to include TypeParameters

2 years agoUse already available glib_ns instead of root_symbol.scope.lookup ("GLib")
Rico Tzschichholz [Sat, 8 Apr 2023 13:50:53 +0000 (15:50 +0200)] 
Use already available glib_ns instead of root_symbol.scope.lookup ("GLib")

2 years agovala: Check type-argument count of interface prerequisites
Rico Tzschichholz [Sat, 8 Apr 2023 08:55:39 +0000 (10:55 +0200)] 
vala: Check type-argument count of interface prerequisites

Additionally add test case for type-argument count of class base-types

2 years agogio-2.0: Add missing type-argument in ListStore.find_with_equal_func_full()
Rico Tzschichholz [Fri, 7 Apr 2023 14:49:10 +0000 (16:49 +0200)] 
gio-2.0: Add missing type-argument in ListStore.find_with_equal_func_full()

2 years agogio-2.0: Add new symbols from 2.76
Rico Tzschichholz [Thu, 6 Apr 2023 16:22:38 +0000 (18:22 +0200)] 
gio-2.0: Add new symbols from 2.76

2 years agogirparser: Apply "instance_idx" metadata for delegates
Rico Tzschichholz [Thu, 6 Apr 2023 16:22:38 +0000 (18:22 +0200)] 
girparser: Apply "instance_idx" metadata for delegates

2 years agoglib-2.0: Fix a few binding errors
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)] 
glib-2.0: Fix a few binding errors

2 years agogtk+-3.0: Fix a few binding issues
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)] 
gtk+-3.0: Fix a few binding issues

2 years agogtk4: Fix a few binding errors
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)] 
gtk4: Fix a few binding errors

2 years agolibvaladoc: Make better use of properties
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)] 
libvaladoc: Make better use of properties

2 years agovaladoc: Check correct value for null when looking for return comment
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)] 
valadoc: Check correct value for null when looking for return comment

2 years agoglib-2.0: Add new symbols from 2.76
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)] 
glib-2.0: Add new symbols from 2.76

2 years agocodegen: Stabilize CCode.cname for backing method of lamdba expression
Rico Tzschichholz [Thu, 6 Apr 2023 13:14:52 +0000 (15:14 +0200)] 
codegen: Stabilize CCode.cname for backing method of lamdba expression

Move lambda_id generation to CCodeAttribute and use _vala_lambda%d_ pattern

2 years agog-i: Fix compiling with mingw clang
Biswapriyo Nath [Tue, 4 Apr 2023 18:45:21 +0000 (00:15 +0530)] 
g-i: Fix compiling with mingw clang

This adds the return type with GetFullPathNameA declaration.
Otherwise the following error is shown with clang 16

grealpath.h:29:19: error: type specifier missing, defaults to 'int';
ISO C99 and later do not support implicit int [-Wimplicit-int]

2 years agoSync NEWS from 0.56
Rico Tzschichholz [Tue, 4 Apr 2023 11:24:17 +0000 (13:24 +0200)] 
Sync NEWS from 0.56

2 years agovapi: Drop webkit2gtk-5.0 bindings
Rico Tzschichholz [Sat, 1 Apr 2023 11:28:39 +0000 (13:28 +0200)] 
vapi: Drop webkit2gtk-5.0 bindings