]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
4 years agowebkit2gtk-web-extension-4.0: UserMessage parameters and fd_list props are nullable mjog/webkit-usermessage-nullables
Michael Gratton [Wed, 26 Aug 2020 01:32:12 +0000 (11:32 +1000)] 
webkit2gtk-web-extension-4.0: UserMessage parameters and fd_list props are nullable

4 years agowebkit2gtk-4.0: UserMessage parameters and fd_list props are nullable
Michael Gratton [Wed, 26 Aug 2020 01:31:16 +0000 (11:31 +1000)] 
webkit2gtk-4.0: UserMessage parameters and fd_list props are nullable

4 years agogirparser: Additionally fallback to "glib:type-name" to retrieve the cname
Rico Tzschichholz [Mon, 24 Aug 2020 15:36:05 +0000 (17:36 +0200)] 
girparser: Additionally fallback to "glib:type-name" to retrieve the cname

4 years agolibvaladoc/girimporter: Fallback to "glib:type-name" for class, interface and record
Rico Tzschichholz [Mon, 24 Aug 2020 15:03:43 +0000 (17:03 +0200)] 
libvaladoc/girimporter: Fallback to "glib:type-name" for class, interface and record

This caused criticals like:

  valadoc_importer_gir_documentation_importer_attach_comment: assertion 'cname != NULL' failed

4 years agolibvaladoc/girimporter: Improve parse_symbol_doc() and don't use parse_doc()
Rico Tzschichholz [Mon, 24 Aug 2020 11:14:09 +0000 (13:14 +0200)] 
libvaladoc/girimporter: Improve parse_symbol_doc() and don't use parse_doc()

4 years agolibvaladoc/girimporter: Skip "attribute" elements
Rico Tzschichholz [Sun, 23 Aug 2020 15:50:14 +0000 (17:50 +0200)] 
libvaladoc/girimporter: Skip "attribute" elements

This is the same patch as in commit 6ea19c61015d0dd6cacb581397c8fe37ace9df4a

4 years agoRelease 0.49.91 0.49.91
Rico Tzschichholz [Sun, 23 Aug 2020 13:57:06 +0000 (15:57 +0200)] 
Release 0.49.91

4 years agogio-2.0: Socket.receive*.buffer parameters are not "out"
Rico Tzschichholz [Sun, 23 Aug 2020 10:53:49 +0000 (12:53 +0200)] 
gio-2.0: Socket.receive*.buffer parameters are not "out"

4 years agoglib-2.0: Update GLib.Uri API (since 2.66)
Rico Tzschichholz [Sun, 23 Aug 2020 08:02:52 +0000 (10:02 +0200)] 
glib-2.0: Update GLib.Uri API (since 2.66)

4 years agoglib-2.0: Add GLib.UriParamsIter bindings (since 2.66)
Rico Tzschichholz [Sun, 23 Aug 2020 07:32:47 +0000 (09:32 +0200)] 
glib-2.0: Add GLib.UriParamsIter bindings (since 2.66)

4 years agogio-unix-2.0: Add g_unix_mount_copy and g_unix_mount_point_copy
Rico Tzschichholz [Sun, 23 Aug 2020 07:19:17 +0000 (09:19 +0200)] 
gio-unix-2.0: Add g_unix_mount_copy and g_unix_mount_point_copy

4 years agogio-unix-2.0: Add g_unix_mount_point_at and g_unix_mount_points_get
Rico Tzschichholz [Sun, 23 Aug 2020 07:09:15 +0000 (09:09 +0200)] 
gio-unix-2.0: Add g_unix_mount_point_at and g_unix_mount_points_get

4 years agogtk4: Resolve a few conflicts of methods with virtual-methods
Rico Tzschichholz [Sat, 22 Aug 2020 12:23:41 +0000 (14:23 +0200)] 
gtk4: Resolve a few conflicts of methods with virtual-methods

4 years agovala: Add ObjectCreationExpression.to_string()
Rico Tzschichholz [Wed, 19 Aug 2020 15:42:37 +0000 (17:42 +0200)] 
vala: Add ObjectCreationExpression.to_string()

4 years agovala: Additionally break on ObjectCreationExpression in "tainted" check
Rico Tzschichholz [Wed, 19 Aug 2020 13:58:37 +0000 (15:58 +0200)] 
vala: Additionally break on ObjectCreationExpression in "tainted" check

4 years agoFix various typos in comments and strings
Rico Tzschichholz [Wed, 19 Aug 2020 07:04:21 +0000 (09:04 +0200)] 
Fix various typos in comments and strings

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

4 years agomanual: Update from wiki.gnome.org
Rico Tzschichholz [Wed, 19 Aug 2020 06:35:52 +0000 (08:35 +0200)] 
manual: Update from wiki.gnome.org

4 years agocodegen: Always include base_struct declaration if available
Alistair Thomas [Tue, 27 Oct 2015 18:23:09 +0000 (18:23 +0000)] 
codegen: Always include base_struct declaration if available

This fixes inheritance of structs across source files while not using
a header file.

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

4 years agocodegen: Don't append unreachable clean-up section of Block
Rico Tzschichholz [Mon, 17 Aug 2020 14:37:59 +0000 (16:37 +0200)] 
codegen: Don't append unreachable clean-up section of Block

Found by -Werror=unreachable-code

Improvements for https://gitlab.gnome.org/GNOME/vala/issues/838

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

4 years agoRevert "codegen: Don't append unreachable clean-up section of Block"
Rico Tzschichholz [Mon, 17 Aug 2020 14:33:44 +0000 (16:33 +0200)] 
Revert "codegen: Don't append unreachable clean-up section of Block"

This reverts commit 8f3a0a0b64e0c7fbcc9231c3058247920dd6eeda.

4 years agodoc: Update AUTHORS in manpages
Rico Tzschichholz [Sat, 15 Aug 2020 18:31:41 +0000 (20:31 +0200)] 
doc: Update AUTHORS in manpages

4 years agoRelease 0.49.90 0.49.90
Rico Tzschichholz [Sat, 15 Aug 2020 13:23:46 +0000 (15:23 +0200)] 
Release 0.49.90

4 years agogtk4: Update to 3.99.0+e6e2d6b4
Rico Tzschichholz [Sat, 15 Aug 2020 10:39:09 +0000 (12:39 +0200)] 
gtk4: Update to 3.99.0+e6e2d6b4

4 years agopango: Update from 1.46.0
Rico Tzschichholz [Sat, 15 Aug 2020 10:38:54 +0000 (12:38 +0200)] 
pango: Update from 1.46.0

4 years agogstreamer: Update from 1.17.2+ git master
Rico Tzschichholz [Sat, 15 Aug 2020 10:38:45 +0000 (12:38 +0200)] 
gstreamer: Update from 1.17.2+ git master

4 years agowebkit2gtk-4.0: Update to 2.29.91
Rico Tzschichholz [Sat, 15 Aug 2020 10:38:11 +0000 (12:38 +0200)] 
webkit2gtk-4.0: Update to 2.29.91

4 years agovala: Set parent_node for child nodes of lambda-expression
Rico Tzschichholz [Thu, 13 Aug 2020 21:00:44 +0000 (23:00 +0200)] 
vala: Set parent_node for child nodes of lambda-expression

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

4 years agotests: Add "pre-post-increment with side effect" tests to increase coverage
Rico Tzschichholz [Thu, 13 Aug 2020 17:05:49 +0000 (19:05 +0200)] 
tests: Add "pre-post-increment with side effect" tests to increase coverage

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

4 years agoForce usage of temporary variables for "tainted" member accesses
Rico Tzschichholz [Thu, 13 Aug 2020 17:05:49 +0000 (19:05 +0200)] 
Force usage of temporary variables for "tainted" member accesses

This is required to handle the side effect of postfix- and unary-
increment/decrement expressions.

Regression of 32ffc862417be39d42a1b8eeb3d0748b3e138aff
and b9035aaf17a9a97a070812a8ee83251fd3893b1e

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

4 years agovala: Move transformation of unary increment/decrement to codegen
Rico Tzschichholz [Thu, 13 Aug 2020 17:05:49 +0000 (19:05 +0200)] 
vala: Move transformation of unary increment/decrement to codegen

In preparation for https://gitlab.gnome.org/GNOME/vala/issues/1061

4 years agoAdd TraverseVisitor for traversing the tree with a callback
Rico Tzschichholz [Fri, 26 Oct 2018 12:08:59 +0000 (14:08 +0200)] 
Add TraverseVisitor for traversing the tree with a callback

This will allow cleaning up virtual methods of code nodes
and more stateful to stateless code conversion.

4 years agotests: Don't rely on undefined use-after-free behaviour of glibc
Rico Tzschichholz [Tue, 11 Aug 2020 08:03:14 +0000 (10:03 +0200)] 
tests: Don't rely on undefined use-after-free behaviour of glibc

Makes this check work with musl >= 1.2.1

https://bugzilla.gnome.org/show_bug.cgi?id=736774

4 years agotests: Add "nested namespace" girwriter test to increase coverage
Rico Tzschichholz [Mon, 10 Aug 2020 11:18:08 +0000 (13:18 +0200)] 
tests: Add "nested namespace" girwriter test to increase coverage

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

4 years agotests: Add "constant and union" gir test to increase coverage
Rico Tzschichholz [Mon, 10 Aug 2020 09:56:47 +0000 (11:56 +0200)] 
tests: Add "constant and union" gir test to increase coverage

4 years agotests: Add "property accessor with try statement" test to increase coverage
Rico Tzschichholz [Mon, 10 Aug 2020 09:56:47 +0000 (11:56 +0200)] 
tests: Add "property accessor with try statement" test to increase coverage

4 years agotests: Add more "invalid" tests to increase coverage
Rico Tzschichholz [Mon, 10 Aug 2020 09:56:47 +0000 (11:56 +0200)] 
tests: Add more "invalid" tests to increase coverage

4 years agoRevert "girwriter: Use appropriate get_ccode_* functions"
Rico Tzschichholz [Mon, 10 Aug 2020 11:43:49 +0000 (13:43 +0200)] 
Revert "girwriter: Use appropriate get_ccode_* functions"

This reverts commit 7b0498d4f4fcaa3bd9e04d65560324847136f0ac.

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

4 years agoRelease 0.49.2 0.49.2
Rico Tzschichholz [Mon, 10 Aug 2020 06:04:13 +0000 (08:04 +0200)] 
Release 0.49.2

4 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Sun, 9 Aug 2020 19:17:23 +0000 (21:17 +0200)] 
vapi: Update GIR-based bindings

4 years agogstreamer: Update from 1.17.2+ git master
Rico Tzschichholz [Sun, 9 Aug 2020 19:16:53 +0000 (21:16 +0200)] 
gstreamer: Update from 1.17.2+ git master

4 years agogtk4: Update to 3.99.0+358b698e
Rico Tzschichholz [Sun, 9 Aug 2020 14:59:23 +0000 (16:59 +0200)] 
gtk4: Update to 3.99.0+358b698e

4 years agoposix: Declare WRDE_APPEND constant as public
Jeremy Philippe [Sun, 9 Aug 2020 12:10:37 +0000 (14:10 +0200)] 
posix: Declare WRDE_APPEND constant as public

4 years agoposix: Add missing "has_typedef" attribute for some delegates
Rico Tzschichholz [Sun, 9 Aug 2020 14:43:28 +0000 (16:43 +0200)] 
posix: Add missing "has_typedef" attribute for some delegates

5 years agogoocanvas-2.0: Fix some field ownerships and types
Rico Tzschichholz [Fri, 7 Aug 2020 19:45:22 +0000 (21:45 +0200)] 
goocanvas-2.0: Fix some field ownerships and types

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

5 years agocodegen: Support non-virtual signals with default handler
Rico Tzschichholz [Fri, 7 Aug 2020 16:54:51 +0000 (18:54 +0200)] 
codegen: Support non-virtual signals with default handler

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

5 years agotests: Add "return in construct/destructor" tests to increase coverage
Rico Tzschichholz [Thu, 6 Aug 2020 20:03:43 +0000 (22:03 +0200)] 
tests: Add "return in construct/destructor" tests to increase coverage

5 years agotests: Add "enum typed property" tests to increase coverage
Rico Tzschichholz [Thu, 6 Aug 2020 20:29:35 +0000 (22:29 +0200)] 
tests: Add "enum typed property" tests to increase coverage

5 years agovala: Switch context if with-variable is not owned by with-statement ifself
Rico Tzschichholz [Thu, 6 Aug 2020 09:09:52 +0000 (11:09 +0200)] 
vala: Switch context if with-variable is not owned by with-statement ifself

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

5 years agogtk4: Update to 3.99.0+83e9b5b4
Rico Tzschichholz [Thu, 6 Aug 2020 12:47:58 +0000 (14:47 +0200)] 
gtk4: Update to 3.99.0+83e9b5b4

5 years agovala: Mark tranformed member-access as qualified
Rico Tzschichholz [Wed, 5 Aug 2020 15:45:39 +0000 (17:45 +0200)] 
vala: Mark tranformed member-access as qualified

Regression of 866258f688d781f3536892b8f93abdd3112198ec

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

5 years agogio-2.0: Include "gio/gsettingsbackend.h" for GLib.SettingsBackend members
Rico Tzschichholz [Wed, 5 Aug 2020 06:21:14 +0000 (08:21 +0200)] 
gio-2.0: Include "gio/gsettingsbackend.h" for GLib.SettingsBackend members

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

5 years agogirparser: Add support for string "feature_test_macro" metadata
Rico Tzschichholz [Wed, 5 Aug 2020 06:21:14 +0000 (08:21 +0200)] 
girparser: Add support for string "feature_test_macro" metadata

5 years agocodegen: Include header for base-symbols when connecting vfuncs
Rico Tzschichholz [Wed, 5 Aug 2020 05:27:53 +0000 (07:27 +0200)] 
codegen: Include header for base-symbols when connecting vfuncs

This eases the handling of types which are split over different headers.

5 years agopango: Update from 1.45.4+
Rico Tzschichholz [Tue, 4 Aug 2020 13:26:27 +0000 (15:26 +0200)] 
pango: Update from 1.45.4+

5 years agogstreamer: Update from 1.17.2+ git master
Rico Tzschichholz [Tue, 4 Aug 2020 13:26:27 +0000 (15:26 +0200)] 
gstreamer: Update from 1.17.2+ git master

5 years agogtk4: Update to 3.99.0+bbb15f65
Rico Tzschichholz [Tue, 4 Aug 2020 13:26:27 +0000 (15:26 +0200)] 
gtk4: Update to 3.99.0+bbb15f65

5 years agovala: Inherit CCode.returns_floating_reference attribute from base method
Rico Tzschichholz [Tue, 4 Aug 2020 07:02:25 +0000 (09:02 +0200)] 
vala: Inherit CCode.returns_floating_reference attribute from base method

Regression of 49a6d475052ec476140c545a26ac8d5abe35c849

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

5 years agoUpdate manpages
Rico Tzschichholz [Mon, 3 Aug 2020 11:21:00 +0000 (13:21 +0200)] 
Update manpages

5 years agoRelease 0.49.1 0.49.1
Rico Tzschichholz [Mon, 3 Aug 2020 11:01:46 +0000 (13:01 +0200)] 
Release 0.49.1

5 years agogio-unix-2.0: Fix "g_unix_mount_for" binding
Rico Tzschichholz [Sun, 2 Aug 2020 10:35:42 +0000 (12:35 +0200)] 
gio-unix-2.0: Fix "g_unix_mount_for" binding

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

5 years agoglib-2.0: Add GLib.File.set_contents_full() binding (since 2.66)
Rico Tzschichholz [Sat, 1 Aug 2020 14:21:11 +0000 (16:21 +0200)] 
glib-2.0: Add GLib.File.set_contents_full() binding (since 2.66)

5 years agogstreamer: Update from 1.17.2+ git master
Rico Tzschichholz [Sat, 1 Aug 2020 12:55:46 +0000 (14:55 +0200)] 
gstreamer: Update from 1.17.2+ git master

5 years agogtk4: Update to 3.99.0+d743e757
Rico Tzschichholz [Fri, 31 Jul 2020 16:57:19 +0000 (18:57 +0200)] 
gtk4: Update to 3.99.0+d743e757

5 years agoSync NEWS from 0.48
Rico Tzschichholz [Wed, 29 Jul 2020 11:07:05 +0000 (13:07 +0200)] 
Sync NEWS from 0.48

5 years agowebkit2gtk-4.0: Update to 2.29.4
Rico Tzschichholz [Wed, 29 Jul 2020 10:31:40 +0000 (12:31 +0200)] 
webkit2gtk-4.0: Update to 2.29.4

5 years agogtk4,gtk4-unix-print: Update to 3.98.5+23dcf36e
Rico Tzschichholz [Wed, 29 Jul 2020 08:14:35 +0000 (10:14 +0200)] 
gtk4,gtk4-unix-print: Update to 3.98.5+23dcf36e

5 years agogirwriter: Use appropriate get_ccode_* functions
Rico Tzschichholz [Tue, 28 Jul 2020 11:53:29 +0000 (13:53 +0200)] 
girwriter: Use appropriate get_ccode_* functions

This will pick up possible CCode.*name attributes

5 years agogirwriter: Internal fields/vfuncs in type-symbols are public in C
Rico Tzschichholz [Tue, 28 Jul 2020 11:53:29 +0000 (13:53 +0200)] 
girwriter: Internal fields/vfuncs in type-symbols are public in C

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

5 years agogirwriter: Don't include symbols outside of a namespace
Rico Tzschichholz [Mon, 27 Jul 2020 16:10:38 +0000 (18:10 +0200)] 
girwriter: Don't include symbols outside of a namespace

Additionally report a warning for symbols which doesn't fulfill this rule.

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

5 years agocodegen: Properly destroy elements of an inline struct array
Rico Tzschichholz [Mon, 27 Jul 2020 11:36:56 +0000 (13:36 +0200)] 
codegen: Properly destroy elements of an inline struct array

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

5 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Sat, 25 Jul 2020 13:06:23 +0000 (15:06 +0200)] 
vapi: Update GIR-based bindings

5 years agogtk+-3.0: Update to 3.24.21+ffe2df7b
Rico Tzschichholz [Sat, 25 Jul 2020 13:05:24 +0000 (15:05 +0200)] 
gtk+-3.0: Update to 3.24.21+ffe2df7b

5 years agogtk4: Update to 3.98.5+f2bdb1fb
Rico Tzschichholz [Sat, 25 Jul 2020 13:04:34 +0000 (15:04 +0200)] 
gtk4: Update to 3.98.5+f2bdb1fb

5 years agogstreamer: Update from 1.17.2+ git master
Rico Tzschichholz [Sat, 25 Jul 2020 13:04:08 +0000 (15:04 +0200)] 
gstreamer: Update from 1.17.2+ git master

5 years agogirparser: Skip 'docsection' elements in <namespace>
Rico Tzschichholz [Thu, 23 Jul 2020 06:24:15 +0000 (08:24 +0200)] 
girparser: Skip 'docsection' elements in <namespace>

See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226

5 years agovala: Check error-type accessibility of creation methods and delegates
Rico Tzschichholz [Wed, 22 Jul 2020 13:04:04 +0000 (15:04 +0200)] 
vala: Check error-type accessibility of creation methods and delegates

5 years agocodegen: Check param for null before using it
Rico Tzschichholz [Wed, 22 Jul 2020 08:16:39 +0000 (10:16 +0200)] 
codegen: Check param for null before using it

Regression of 5490b0b21a4089d803d51c91311430d60d266f7b

This caused criticals like:

  vala_get_ccode_array_length: assertion 'node != NULL' failed

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

5 years agovala: Mark with-statements as experimental
Rico Tzschichholz [Tue, 21 Jul 2020 13:17:02 +0000 (15:17 +0200)] 
vala: Mark with-statements as experimental

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

5 years agovala: Allow prototype access to signal with emitter
Rico Tzschichholz [Mon, 20 Jul 2020 18:11:13 +0000 (20:11 +0200)] 
vala: Allow prototype access to signal with emitter

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

5 years agotests: Add "access vfunc pointer" test to increase coverage
Rico Tzschichholz [Mon, 20 Jul 2020 18:11:13 +0000 (20:11 +0200)] 
tests: Add "access vfunc pointer" test to increase coverage

5 years agogirwriter: Write c:symbol-prefix on supported elements
Jean Pierre Dudey [Sun, 19 Jul 2020 21:48:12 +0000 (16:48 -0500)] 
girwriter: Write c:symbol-prefix on supported elements

This specifies the symbol prefix, e.g.: window in gtk_window_new

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

5 years agogirwriter: Write c:type="void" when name="none"
Jean Pierre Dudey [Sun, 19 Jul 2020 23:34:36 +0000 (18:34 -0500)] 
girwriter: Write c:type="void" when name="none"

This is to match g-ir-scanner behaviour of using the c:type to
identify void return value.

5 years agogirwriter: Add c:identifier-prefixes to <namespace>
Jean Pierre Dudey [Sun, 19 Jul 2020 18:32:07 +0000 (13:32 -0500)] 
girwriter: Add c:identifier-prefixes to <namespace>

c:prefix is deprecated and c:identifier-prefixes should be used.

5 years agoglib-2.0: Drop type_id from GLib.Error, let it be handled internally
Rico Tzschichholz [Mon, 20 Jul 2020 08:37:53 +0000 (10:37 +0200)] 
glib-2.0: Drop type_id from GLib.Error, let it be handled internally

Regression of 4db1b33e7a8424e12abc85342111e75bd07c7aa9

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

5 years agovala: Improve check of expression passed to yield
Rico Tzschichholz [Mon, 20 Jul 2020 08:37:53 +0000 (10:37 +0200)] 
vala: Improve check of expression passed to yield

Report a proper error and fix codegen cricical when a signal is given:

  vala_ccode_function_add_expression: assertion 'expression != NULL' failed

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

5 years agogstreamer: Update from 1.17.2+ git master
Rico Tzschichholz [Sat, 18 Jul 2020 14:14:45 +0000 (16:14 +0200)] 
gstreamer: Update from 1.17.2+ git master

5 years agogtk4: Update to 3.98.5+4da3edd4
Rico Tzschichholz [Sat, 18 Jul 2020 14:13:43 +0000 (16:13 +0200)] 
gtk4: Update to 3.98.5+4da3edd4

5 years agotests: Fix "methods/extern" test with -Werror=address and gcc 5.4.0
Rico Tzschichholz [Fri, 17 Jul 2020 21:43:23 +0000 (23:43 +0200)] 
tests: Fix "methods/extern" test with -Werror=address and gcc 5.4.0

5 years agogtk+-3.0: Resolve conflicts of signals with properties
Rico Tzschichholz [Fri, 17 Jul 2020 21:23:59 +0000 (23:23 +0200)] 
gtk+-3.0: Resolve conflicts of signals with properties

5 years agogtk4: Resolve conflict of DropTarget.drop signal with property
Rico Tzschichholz [Fri, 17 Jul 2020 21:23:59 +0000 (23:23 +0200)] 
gtk4: Resolve conflict of DropTarget.drop signal with property

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

5 years agogirparser: Warn about conflicting signals and properties
Rico Tzschichholz [Fri, 17 Jul 2020 21:23:59 +0000 (23:23 +0200)] 
girparser: Warn about conflicting signals and properties

5 years agovala: Fix code indentation
Rico Tzschichholz [Fri, 17 Jul 2020 10:35:03 +0000 (12:35 +0200)] 
vala: Fix code indentation

5 years agolibvaladoc: Support exporting the `class` modifier on fields
Rico Tzschichholz [Fri, 17 Jul 2020 10:29:25 +0000 (12:29 +0200)] 
libvaladoc: Support exporting the `class` modifier on fields

5 years agolibvaladoc: Support exporting the `class` modifier on methods
Corentin Noël [Fri, 17 Jul 2020 08:35:37 +0000 (10:35 +0200)] 
libvaladoc: Support exporting the `class` modifier on methods

5 years agovala: Tranform instance member-access to a static one if possible
Rico Tzschichholz [Thu, 16 Jul 2020 13:25:05 +0000 (15:25 +0200)] 
vala: Tranform instance member-access to a static one if possible

There is a warning issued already and this cleans up the AST to prevent
unwanted behaviour in the code-generator, which resulted in the
invocation of "CCodeBaseModule.emit_temp_var()" and criticals like:

  vala_ccode_function_add_declaration: assertion 'self != NULL' failed
  vala_ccode_function_add_assignment: assertion 'self != NULL' failed

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

5 years agovala: Use inheritted scopes of base-types/prerequisites to resolve symbols
Rico Tzschichholz [Wed, 15 Jul 2020 15:46:58 +0000 (17:46 +0200)] 
vala: Use inheritted scopes of base-types/prerequisites to resolve symbols

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

5 years agovala: Fully qualify member-access when using-directive was used to resolve
Rico Tzschichholz [Wed, 15 Jul 2020 15:46:58 +0000 (17:46 +0200)] 
vala: Fully qualify member-access when using-directive was used to resolve

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

5 years agotests: Add "pre/post-increment" tests to increase coverage
Rico Tzschichholz [Tue, 14 Jul 2020 12:13:51 +0000 (14:13 +0200)] 
tests: Add "pre/post-increment" tests to increase coverage

5 years agotestrunner: Add "-Werror=tautological-pointer-compare" flag
Rico Tzschichholz [Tue, 14 Jul 2020 12:13:51 +0000 (14:13 +0200)] 
testrunner: Add "-Werror=tautological-pointer-compare" flag

5 years agocodegen: Inline allocated and constant arrays are never NULL
Rico Tzschichholz [Tue, 14 Jul 2020 12:13:51 +0000 (14:13 +0200)] 
codegen: Inline allocated and constant arrays are never NULL

Found by -Werror=tautological-pointer-compare