]>
git.ipfire.org Git - thirdparty/vala.git/log
JCWasmx86 [Sun, 17 Jul 2022 09:08:25 +0000 (11:08 +0200)]
dbusgen/tests: Changed to info to error
JCWasmx86 [Sun, 12 Jun 2022 07:27:34 +0000 (09:27 +0200)]
Commented out failing tests
JCWasmx86 [Wed, 8 Jun 2022 09:55:38 +0000 (11:55 +0200)]
fixup! Added failing tests
JCWasmx86 [Wed, 8 Jun 2022 09:54:56 +0000 (11:54 +0200)]
Added failing tests
JCWasmx86 [Wed, 8 Jun 2022 08:17:12 +0000 (10:17 +0200)]
Added first runtime tests
JCWasmx86 [Tue, 7 Jun 2022 09:01:15 +0000 (11:01 +0200)]
Added fixes for keywords in C
JCWasmx86 [Mon, 6 Jun 2022 13:26:15 +0000 (15:26 +0200)]
Removed irrelevant warnings
JCWasmx86 [Mon, 6 Jun 2022 13:23:20 +0000 (15:23 +0200)]
Fix naming of properties
JCWasmx86 [Sun, 5 Jun 2022 20:12:43 +0000 (22:12 +0200)]
Fixed properties
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
JCWasmx86 [Sun, 5 Jun 2022 14:09:53 +0000 (16:09 +0200)]
Made condition more readable
JCWasmx86 [Sun, 5 Jun 2022 13:57:57 +0000 (15:57 +0200)]
Added colorful output
JCWasmx86 [Sun, 5 Jun 2022 13:51:33 +0000 (15:51 +0200)]
Updated tests
JCWasmx86 [Sun, 5 Jun 2022 12:45:20 +0000 (14:45 +0200)]
Removed obsolete TODO
JCWasmx86 [Sun, 5 Jun 2022 12:40:07 +0000 (14:40 +0200)]
Ignore duplicate standard interfaces
JCWasmx86 [Sat, 4 Jun 2022 18:19:13 +0000 (20:19 +0200)]
Added tests
JCWasmx86 [Sat, 4 Jun 2022 17:37:22 +0000 (19:37 +0200)]
Don't generate a hashmap, if >0 args are generic or array
JCWasmx86 [Sat, 4 Jun 2022 17:17:17 +0000 (19:17 +0200)]
Don't use arrays in generics
JCWasmx86 [Sat, 4 Jun 2022 07:56:02 +0000 (09:56 +0200)]
Added more TODOs
JCWasmx86 [Sat, 4 Jun 2022 07:54:22 +0000 (09:54 +0200)]
Fix duplicate member names
JCWasmx86 [Sat, 4 Jun 2022 07:29:21 +0000 (09:29 +0200)]
Added guard against endless loop after invalid XML
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)
JCWasmx86 [Sun, 15 May 2022 09:26:34 +0000 (11:26 +0200)]
Minor fixes
JCWasmx86 [Tue, 26 Apr 2022 12:01:34 +0000 (14:01 +0200)]
dbusgen: Added support for org.gtk.GDBus.DocString
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
Rico Tzschichholz [Wed, 18 Aug 2021 13:09:31 +0000 (15:09 +0200)]
Drop pkg-config file
Rico Tzschichholz [Wed, 25 Sep 2019 19:11:14 +0000 (21:11 +0200)]
dbusgen use DUMP mode
Rico Tzschichholz [Thu, 20 Sep 2018 08:57:10 +0000 (10:57 +0200)]
WIP dbusgen: Add namespace options
Rico Tzschichholz [Wed, 19 Sep 2018 20:17:39 +0000 (22:17 +0200)]
dbusgen/tests: Use test-codegen.xml from glib/gio
Rico Tzschichholz [Tue, 26 Mar 2019 22:31:34 +0000 (23:31 +0100)]
dbusgen: Use strings and string-arrays like gdbus-codegen does
Rico Tzschichholz [Tue, 26 Mar 2019 16:45:05 +0000 (17:45 +0100)]
dbusgen: Set DBus.name on symbols as needed
Rico Tzschichholz [Wed, 19 Sep 2018 19:55:25 +0000 (21:55 +0200)]
dbusgen: Some parser reordering and property type fixing
Rico Tzschichholz [Wed, 19 Sep 2018 19:19:46 +0000 (21:19 +0200)]
dbusgen: Implement org.gtk.GDBus.C.ForceGVariant
Rico Tzschichholz [Wed, 19 Sep 2018 17:13:18 +0000 (19:13 +0200)]
dbusgen: Add DBus signature attribute if type is not supported yet
Rico Tzschichholz [Wed, 19 Sep 2018 16:41:47 +0000 (18:41 +0200)]
dbusgen: Make sure to name changes are reversible
Rico Tzschichholz [Wed, 19 Sep 2018 13:07:00 +0000 (15:07 +0200)]
dbusgen: Add mandatory "throws DBusError, IOError" to methods
Rico Tzschichholz [Wed, 19 Sep 2018 12:22:26 +0000 (14:22 +0200)]
doc: Add valadbusgen manpage
Rico Tzschichholz [Thu, 7 Dec 2017 09:46:15 +0000 (10:46 +0100)]
dbusgen: Add some annotations todos
Chris Daley [Sun, 26 Nov 2017 22:07:43 +0000 (14:07 -0800)]
Use GLib.ObjectPath instead of string
Rico Tzschichholz [Sat, 25 Nov 2017 22:35:30 +0000 (23:35 +0100)]
Fix comment style
Rico Tzschichholz [Sat, 25 Nov 2017 22:21:23 +0000 (23:21 +0100)]
Fix ownership
Chris Daley [Sat, 25 Nov 2017 01:19:22 +0000 (17:19 -0800)]
added support for dbus extensions
Chris Daley [Fri, 24 Nov 2017 21:17:25 +0000 (13:17 -0800)]
returns more expressive types
Chris Daley [Fri, 24 Nov 2017 18:45:23 +0000 (10:45 -0800)]
added support for Handle types
Chris Daley [Fri, 24 Nov 2017 18:35:03 +0000 (10:35 -0800)]
added support for doc tags
Rico Tzschichholz [Thu, 23 Nov 2017 21:15:55 +0000 (22:15 +0100)]
Parameter-names are not mandatory
Rico Tzschichholz [Thu, 23 Nov 2017 21:06:19 +0000 (22:06 +0100)]
Cleaning
Rico Tzschichholz [Thu, 23 Nov 2017 19:10:57 +0000 (20:10 +0100)]
More recognized types
Rico Tzschichholz [Thu, 23 Nov 2017 17:56:22 +0000 (18:56 +0100)]
Don't use camel-cased symbol names
Rico Tzschichholz [Thu, 23 Nov 2017 17:50:04 +0000 (18:50 +0100)]
Reuse retrieved attributes
Chris Daley [Thu, 23 Nov 2017 14:41:38 +0000 (06:41 -0800)]
now parses properties and doc tags correctly
Rico Tzschichholz [Thu, 23 Nov 2017 14:56:03 +0000 (15:56 +0100)]
DataType needs to be copied
Chris Daley [Mon, 20 Nov 2017 21:49:16 +0000 (13:49 -0800)]
Initial commit of dbusgen
Rico Tzschichholz [Wed, 25 Sep 2019 19:09:47 +0000 (21:09 +0200)]
vala: Don't force cheader attributes for code-writer in DUMP
JCWasmx86 [Sun, 5 Jun 2022 15:30:29 +0000 (17:30 +0200)]
glib-2.0: Fix binding of g_variant_type_n_items()
Andre Klapper [Fri, 28 Apr 2023 02:33:08 +0000 (04:33 +0200)]
DOAP: Replace defunct mailing-list with developer-forum (GNOME Discourse)
Rico Tzschichholz [Sat, 22 Apr 2023 08:49:14 +0000 (10:49 +0200)]
codegen: Include "glib-object.h" when using GType/GBoxedCopyFunc
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
Rico Tzschichholz [Sun, 9 Apr 2023 11:29:26 +0000 (13:29 +0200)]
valadoc/tests: Add girwriter test
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
Rico Tzschichholz [Wed, 19 Apr 2023 11:16:30 +0000 (13:16 +0200)]
build: valadoc requires valac 0.18.1
Rico Tzschichholz [Wed, 19 Apr 2023 11:16:30 +0000 (13:16 +0200)]
build: Improve usage of AC_PATH_PROG() for valacs
Rico Tzschichholz [Tue, 18 Apr 2023 08:52:18 +0000 (10:52 +0200)]
Regenerate manpages
Rico Tzschichholz [Tue, 18 Apr 2023 08:48:07 +0000 (10:48 +0200)]
Sync NEWS from 0.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
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.
Rico Tzschichholz [Mon, 17 Apr 2023 13:56:12 +0000 (15:56 +0200)]
gee: Fix type-arguments in cast
Rico Tzschichholz [Mon, 17 Apr 2023 13:40:02 +0000 (15:40 +0200)]
gee: Fix reversed type-arguments
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
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
Rico Tzschichholz [Sun, 16 Apr 2023 12:24:25 +0000 (14:24 +0200)]
tests: Add missing instance fields to GIR test files
Rico Tzschichholz [Thu, 13 Apr 2023 18:36:08 +0000 (20:36 +0200)]
vapi: Regenerate bindings for GenericType change
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
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
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()
Lorenz Wildberg [Tue, 11 Apr 2023 20:02:51 +0000 (22:02 +0200)]
vala: Improve check of type_referene in ObjectCreationExpression
Rico Tzschichholz [Sat, 8 Apr 2023 17:30:33 +0000 (19:30 +0200)]
vala: Check type-arguments in more declarations
Rico Tzschichholz [Sat, 8 Apr 2023 13:50:53 +0000 (15:50 +0200)]
girparser: Add support for type_parameters, implements and prerequisites metadata
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
Rico Tzschichholz [Mon, 10 Apr 2023 21:42:16 +0000 (23:42 +0200)]
valadoc: Add missing generic type arguments
Rico Tzschichholz [Mon, 10 Apr 2023 15:13:35 +0000 (17:13 +0200)]
vala: Add GenericSymbol interface for symbols supporting type-parameters
Rico Tzschichholz [Sat, 8 Apr 2023 20:43:41 +0000 (22:43 +0200)]
gee: Add more missing generic type arguments
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.
Rico Tzschichholz [Sat, 8 Apr 2023 13:50:53 +0000 (15:50 +0200)]
vala: Improve error message for wrong number of type-arguments
Rico Tzschichholz [Sat, 8 Apr 2023 13:50:53 +0000 (15:50 +0200)]
vala: Improve Symbol.to_string() to include TypeParameters
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")
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
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()
Rico Tzschichholz [Thu, 6 Apr 2023 16:22:38 +0000 (18:22 +0200)]
gio-2.0: Add new symbols from 2.76
Rico Tzschichholz [Thu, 6 Apr 2023 16:22:38 +0000 (18:22 +0200)]
girparser: Apply "instance_idx" metadata for delegates
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)]
glib-2.0: Fix a few binding errors
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)]
gtk+-3.0: Fix a few binding issues
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)]
gtk4: Fix a few binding errors
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)]
libvaladoc: Make better use of properties
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)]
valadoc: Check correct value for null when looking for return comment
Rico Tzschichholz [Thu, 6 Apr 2023 10:01:00 +0000 (12:01 +0200)]
glib-2.0: Add new symbols from 2.76
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
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]
Rico Tzschichholz [Tue, 4 Apr 2023 11:24:17 +0000 (13:24 +0200)]
Sync NEWS from 0.56
Rico Tzschichholz [Sat, 1 Apr 2023 11:28:39 +0000 (13:28 +0200)]
vapi: Drop webkit2gtk-5.0 bindings