]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
5 years agoAdd test case wip/null-conditional e73009f2e4de8190eb372f8bcc93d9de9b102712
Rico Tzschichholz [Thu, 19 Dec 2019 09:18:30 +0000 (10:18 +0100)] 
Add test case

5 years agovala: Add conditional member access. 1984952531043e6b713e2884d640d4b976a43c88
Jeremy Philippe [Wed, 18 Dec 2019 15:54:05 +0000 (16:54 +0100)] 
vala: Add conditional member access.

This implements support for the "null-conditional" operator of C#
(also called "safe navigation" operator).

It supports both plain member access and method calls (including void
method calls, which are simply bypassed if the inner expression is
null).

5 years agovapi: Update GIR-based bindings edf4b3dcbabe7f3a0e3cd0207205d82236b82c8a
Rico Tzschichholz [Mon, 9 Dec 2019 12:50:55 +0000 (13:50 +0100)] 
vapi: Update GIR-based bindings

5 years agovala: Check before accessing "name" of parent_symbol which might be null
Rico Tzschichholz [Mon, 9 Dec 2019 11:15:44 +0000 (12:15 +0100)] 
vala: Check before accessing "name" of parent_symbol which might be null

5 years agoglib-2.0: Add new symbols from 2.64 e0a963f2c54aefd0bdcc899434209edc0b3ba4e8
Rico Tzschichholz [Thu, 5 Dec 2019 17:47:51 +0000 (18:47 +0100)] 
glib-2.0: Add new symbols from 2.64

5 years agoglib-2.0: Add to_string() for GLib.PollFd and GLib.Pid
Rico Tzschichholz [Thu, 5 Dec 2019 17:03:13 +0000 (18:03 +0100)] 
glib-2.0: Add to_string() for GLib.PollFd and GLib.Pid

5 years agocodegen: Don't attribute *_get_type_once() with G_GNUC_CONST
Rico Tzschichholz [Fri, 6 Dec 2019 08:27:15 +0000 (09:27 +0100)] 
codegen: Don't attribute *_get_type_once() with G_GNUC_CONST

Follow up on 6b03920e39bc3900148d02ea5c2ddc13d6e91091

5 years agocodegen: Improve *_get_type() fast path (requires glib >= 2.58) 6b03920e39bc3900148d02ea5c2ddc13d6e91091 89/head
Rico Tzschichholz [Thu, 5 Dec 2019 13:08:36 +0000 (14:08 +0100)] 
codegen: Improve *_get_type() fast path (requires glib >= 2.58)

Uses G_GNUC_NO_INLINE if glib >= 2.58 is targetted otherwise the
compiler is free to inline the separate *_get_type_once() function.

Follows the changes introduced in glib by
https://gitlab.gnome.org/GNOME/glib/commit/e924f777369710221c3e0a9d7bf40392a27d1fa4

See https://gitlab.gnome.org/GNOME/glib/issues/541
and https://gitlab.gnome.org/GNOME/vala/issues/879

5 years agocodegen: Remove unreachable code in TypeRegisterFunction.init_from_type()
Rico Tzschichholz [Thu, 5 Dec 2019 13:08:36 +0000 (14:08 +0100)] 
codegen: Remove unreachable code in TypeRegisterFunction.init_from_type()

Not used since 79b1a3e39a3d2bac9fbe40c99336b3b89e374571

5 years agovala: Don't allow "va_list" as return-type or type of fields 8ee44db879457846294ab80ba17280b228e7e2e9
Rico Tzschichholz [Tue, 3 Dec 2019 12:02:13 +0000 (13:02 +0100)] 
vala: Don't allow "va_list" as return-type or type of fields

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

5 years agovala: Improve error message for unsupported inner types and declarations
Rico Tzschichholz [Mon, 2 Dec 2019 11:06:41 +0000 (12:06 +0100)] 
vala: Improve error message for unsupported inner types and declarations

5 years agogstreamer: Update from 1.17.0+ git master b23471650480d8964c2b35aa84159cf46fed3a11
Rico Tzschichholz [Wed, 27 Nov 2019 12:57:21 +0000 (13:57 +0100)] 
gstreamer: Update from 1.17.0+ git master

5 years agogtk4: Update to 3.96.0+9f69c7f3
Rico Tzschichholz [Wed, 27 Nov 2019 12:56:26 +0000 (13:56 +0100)] 
gtk4: Update to 3.96.0+9f69c7f3

5 years agowebkit2gtk-4.0: Update to 2.27.3
Rico Tzschichholz [Wed, 27 Nov 2019 12:55:35 +0000 (13:55 +0100)] 
webkit2gtk-4.0: Update to 2.27.3

5 years agotest: Add some "method-call" tests to increase coverage
Rico Tzschichholz [Tue, 26 Nov 2019 13:31:20 +0000 (14:31 +0100)] 
test: Add some "method-call" tests to increase coverage

5 years agovala: Don't report further errors if MemberInitializer.check() failed
Rico Tzschichholz [Wed, 27 Nov 2019 12:38:47 +0000 (13:38 +0100)] 
vala: Don't report further errors if MemberInitializer.check() failed

5 years agovala: Don't ignore inner errors in Block and acknowledge them further
Rico Tzschichholz [Wed, 27 Nov 2019 10:42:55 +0000 (11:42 +0100)] 
vala: Don't ignore inner errors in Block and acknowledge them further

This avoids useless subsequent errors and possible criticals while
operating on broken AST.

5 years agocodegen: Fix precondition in creation method of structs
Rico Tzschichholz [Tue, 26 Nov 2019 10:06:45 +0000 (11:06 +0100)] 
codegen: Fix precondition in creation method of structs

5 years agovala: Include type_name to default implementation of CCode.to_string()
Rico Tzschichholz [Tue, 26 Nov 2019 09:47:56 +0000 (10:47 +0100)] 
vala: Include type_name to default implementation of CCode.to_string()

5 years agoscanner: Improve check of "\u" escape sequence 77fe44c8a4064a77f93ec79cd380a31a1d565b6f
Rico Tzschichholz [Mon, 25 Nov 2019 21:04:33 +0000 (22:04 +0100)] 
scanner: Improve check of "\u" escape sequence

5 years agoscanner: "\x" requires two hex digits at most and ignore leading zero #2
Rico Tzschichholz [Mon, 25 Nov 2019 08:35:53 +0000 (09:35 +0100)] 
scanner: "\x" requires two hex digits at most and ignore leading zero #2

5 years agovala: Drop Namespace.remove_struct()
Rico Tzschichholz [Mon, 25 Nov 2019 07:30:43 +0000 (08:30 +0100)] 
vala: Drop Namespace.remove_struct()

5 years agovala: Let the parser have set namespace members as static
Rico Tzschichholz [Sun, 24 Nov 2019 21:42:18 +0000 (22:42 +0100)] 
vala: Let the parser have set namespace members as static

... and move error reporting for invalid members into check()

5 years agoparser: Implicit "main" method of main-block is public and static
Rico Tzschichholz [Sun, 24 Nov 2019 21:42:18 +0000 (22:42 +0100)] 
parser: Implicit "main" method of main-block is public and static

5 years agoscanner: "\x" requires two hex digits at most
Rico Tzschichholz [Sun, 24 Nov 2019 18:33:50 +0000 (19:33 +0100)] 
scanner: "\x" requires two hex digits at most

5 years agotests: Add "member-access" tests to increase coverage
Rico Tzschichholz [Sun, 24 Nov 2019 17:23:58 +0000 (18:23 +0100)] 
tests: Add "member-access" tests to increase coverage

5 years agotests: Add "scanner" tests to increase coverage
Rico Tzschichholz [Sun, 24 Nov 2019 17:23:58 +0000 (18:23 +0100)] 
tests: Add "scanner" tests to increase coverage

5 years agotests: Extend "float and integer" tests to increase coverage
Rico Tzschichholz [Sun, 24 Nov 2019 17:23:58 +0000 (18:23 +0100)] 
tests: Extend "float and integer" tests to increase coverage

5 years agopango: Update to 1.44+
Rico Tzschichholz [Thu, 21 Nov 2019 15:19:47 +0000 (16:19 +0100)] 
pango: Update to 1.44+

5 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Thu, 21 Nov 2019 13:39:00 +0000 (14:39 +0100)] 
vapi: Update GIR-based bindings

5 years agogtk4: Update to 3.96.0+5e11a2ae
Rico Tzschichholz [Thu, 21 Nov 2019 13:38:06 +0000 (14:38 +0100)] 
gtk4: Update to 3.96.0+5e11a2ae

5 years agogstreamer: Update from 1.17.0+ git master
Rico Tzschichholz [Thu, 21 Nov 2019 13:37:54 +0000 (14:37 +0100)] 
gstreamer: Update from 1.17.0+ git master

5 years agovala: Add a basic parameter check for [Print] methods
Rico Tzschichholz [Thu, 21 Nov 2019 07:37:32 +0000 (08:37 +0100)] 
vala: Add a basic parameter check for [Print] methods

and add tests to increase coverage

Introdruced with ea8cd97480a7a560cfd8ae3f060f63638b7d9de4

5 years agotests: Fix and make fast-vapi test actually fatal 8cd5a579a8a4a6b55c30cdd58387a61ec4b70917
Rico Tzschichholz [Tue, 19 Nov 2019 08:34:50 +0000 (09:34 +0100)] 
tests: Fix and make fast-vapi test actually fatal

5 years agovala: Keep formal_target_type when transforming method-call/object-creation
Rico Tzschichholz [Tue, 19 Nov 2019 08:11:39 +0000 (09:11 +0100)] 
vala: Keep formal_target_type when transforming method-call/object-creation

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

5 years agovala: Improve handling of "void" as generic type 7d772d364fc55ab5944abae8173f9256f14711cd
Rico Tzschichholz [Mon, 18 Nov 2019 11:49:12 +0000 (12:49 +0100)] 
vala: Improve handling of "void" as generic type

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

5 years agovala: VoidType is actually compatible with itself
Rico Tzschichholz [Mon, 18 Nov 2019 12:02:28 +0000 (13:02 +0100)] 
vala: VoidType is actually compatible with itself

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

5 years agocodegen: Use result of CCodeBaseModule.get_this_type() 552467a619fcc92353a442046fbe711d7283e28a
Rico Tzschichholz [Sun, 17 Nov 2019 11:49:11 +0000 (12:49 +0100)] 
codegen: Use result of CCodeBaseModule.get_this_type()

5 years agovala: Check "this_parameter" if available
Rico Tzschichholz [Sun, 17 Nov 2019 11:49:11 +0000 (12:49 +0100)] 
vala: Check "this_parameter" if available

5 years agovala: Unify "this_parameter" creation using SemanticAnalyzer.get_this_type()
Rico Tzschichholz [Sun, 17 Nov 2019 11:49:11 +0000 (12:49 +0100)] 
vala: Unify "this_parameter" creation using SemanticAnalyzer.get_this_type()

5 years agovala: Allow SemanticAnalyzer.get_this_type() to handle more symbols
Rico Tzschichholz [Sun, 17 Nov 2019 11:49:11 +0000 (12:49 +0100)] 
vala: Allow SemanticAnalyzer.get_this_type() to handle more symbols

and append possible type-parameters to match get_data_type_for_symbol()

Suported symbol types are Method, Property, Constructor and Destructor

5 years agogidl/girparser: Creation methods must not be marked as static
Rico Tzschichholz [Sun, 17 Nov 2019 13:08:24 +0000 (14:08 +0100)] 
gidl/girparser: Creation methods must not be marked as static

5 years agovala: scope "owner" of constructor/destructor subroutines is already set
Rico Tzschichholz [Sun, 17 Nov 2019 11:49:11 +0000 (12:49 +0100)] 
vala: scope "owner" of constructor/destructor subroutines is already set

5 years agotests: Add "invalid address-of" test to increase coverage
Rico Tzschichholz [Sat, 16 Nov 2019 11:51:08 +0000 (12:51 +0100)] 
tests: Add "invalid address-of" test to increase coverage

5 years agovala: Don't require constant initializer in fast-vapi
Rico Tzschichholz [Thu, 14 Nov 2019 20:04:42 +0000 (21:04 +0100)] 
vala: Don't require constant initializer in fast-vapi

Regression of 984c034256de3830d6daa0ab6f5eff108dea09bb

Extend --fast-vapi test by using --use-fast-vapi

See https://github.com/dino/dino/issues/646
and https://gitlab.gnome.org/GNOME/vala/issues/461

5 years agocodegen: Share generate_struct_*() helpers between classes and interfaces
Rico Tzschichholz [Thu, 14 Nov 2019 16:29:26 +0000 (17:29 +0100)] 
codegen: Share generate_struct_*() helpers between classes and interfaces

5 years agocodegen: Fix vfunc signature of delegate-typed property in interface
Rico Tzschichholz [Thu, 14 Nov 2019 16:28:08 +0000 (17:28 +0100)] 
codegen: Fix vfunc signature of delegate-typed property in interface

5 years agovala: Report error for async creation expression without yield
Rico Tzschichholz [Thu, 14 Nov 2019 13:53:04 +0000 (14:53 +0100)] 
vala: Report error for async creation expression without yield

5 years agocodegen: Fix support of dynamic DBus methods
Rico Tzschichholz [Thu, 14 Nov 2019 11:32:15 +0000 (12:32 +0100)] 
codegen: Fix support of dynamic DBus methods

5 years agotest: Add "GLib.Closure parameter" test to increase coverage
Rico Tzschichholz [Tue, 12 Nov 2019 22:49:35 +0000 (23:49 +0100)] 
test: Add "GLib.Closure parameter" test to increase coverage

5 years agotest: Add "GLib.Log constants" tests to increase coverage
Rico Tzschichholz [Tue, 12 Nov 2019 13:20:07 +0000 (14:20 +0100)] 
test: Add "GLib.Log constants" tests to increase coverage

5 years agoRelease 0.47.1 0.47.1
Rico Tzschichholz [Mon, 11 Nov 2019 11:40:04 +0000 (12:40 +0100)] 
Release 0.47.1

5 years agoSync NEWS from 0.46
Rico Tzschichholz [Mon, 11 Nov 2019 07:48:06 +0000 (08:48 +0100)] 
Sync NEWS from 0.46

5 years agocodegen: Commonize the determining of return-type for delegates and methods
Rico Tzschichholz [Sat, 9 Nov 2019 14:20:11 +0000 (15:20 +0100)] 
codegen: Commonize the determining of return-type for delegates and methods

5 years agocodegen: Use SemanticAnalyzer.get_data_type_for_symbol()
Rico Tzschichholz [Sat, 9 Nov 2019 14:20:11 +0000 (15:20 +0100)] 
codegen: Use SemanticAnalyzer.get_data_type_for_symbol()

5 years agovala: Make Callable derive from Symbol
Rico Tzschichholz [Sat, 9 Nov 2019 14:20:11 +0000 (15:20 +0100)] 
vala: Make Callable derive from Symbol

This is a better choice as common base-class.

5 years agovala: Set GLib.Error as symbol of error-types if no error-domain was given
Rico Tzschichholz [Sat, 9 Nov 2019 14:20:11 +0000 (15:20 +0100)] 
vala: Set GLib.Error as symbol of error-types if no error-domain was given

5 years agoglib-2.0: Add "has_typedef = false" to custom MarkupParser*Func delegates
Rico Tzschichholz [Sat, 9 Nov 2019 14:20:11 +0000 (15:20 +0100)] 
glib-2.0: Add "has_typedef = false" to custom MarkupParser*Func delegates

5 years agovala: Improve check of delegate assignments and initializers
Rico Tzschichholz [Fri, 8 Nov 2019 15:17:58 +0000 (16:17 +0100)] 
vala: Improve check of delegate assignments and initializers

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

5 years agovala: Restore DestroysInstance behaviour for non-compact classes 42dca9175240a0cfa5c002c271eb53b29afe5b7a
Rico Tzschichholz [Wed, 6 Nov 2019 20:03:51 +0000 (21:03 +0100)] 
vala: Restore DestroysInstance behaviour for non-compact classes

Although this attribute is not meant to be applied on methods of reference
counted classes, the original behaviour should not be changed silently.

Regression of 3d83f31a659bd179e8a867dd054126ac6f22e82b

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

5 years agocompiler: Add "--list-sources" options to output a list of all sources
Rico Tzschichholz [Wed, 6 Nov 2019 12:57:07 +0000 (13:57 +0100)] 
compiler: Add "--list-sources" options to output a list of all sources

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

5 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Wed, 6 Nov 2019 12:25:48 +0000 (13:25 +0100)] 
vapi: Update GIR-based bindings

5 years agogstreamer: Update from 1.17.0+ git master
Rico Tzschichholz [Wed, 6 Nov 2019 12:23:06 +0000 (13:23 +0100)] 
gstreamer: Update from 1.17.0+ git master

5 years agovala: Add missing gmodule-2.0 to Requires.private of pkg-config file
Ole André Vadla Ravnås [Sun, 29 Jul 2018 18:54:24 +0000 (20:54 +0200)] 
vala: Add missing gmodule-2.0 to Requires.private of pkg-config file

5 years agolibvaladoc: Move gmodule-2.0 to Requires.private of pkg-config file
Rico Tzschichholz [Wed, 6 Nov 2019 08:25:53 +0000 (09:25 +0100)] 
libvaladoc: Move gmodule-2.0 to Requires.private of pkg-config file

It is not required by the public API

5 years agovala: Support "unowned var" to declare local variables
Rico Tzschichholz [Thu, 3 Oct 2019 18:42:58 +0000 (20:42 +0200)] 
vala: Support "unowned var" to declare local variables

Based on patch by Aaron Andersen

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

5 years agogtk4,gtk4-unix-print: Update to 3.96.0+fbea677a 7c367780af1677278ed83d6afc2c5933211c3155
Rico Tzschichholz [Tue, 5 Nov 2019 14:53:14 +0000 (15:53 +0100)] 
gtk4,gtk4-unix-print: Update to 3.96.0+fbea677a

5 years agog-i: Ignore flags like -mfpmath=sse, -msse or -msse2
Rico Tzschichholz [Sun, 27 Aug 2017 18:28:39 +0000 (20:28 +0200)] 
g-i: Ignore flags like -mfpmath=sse, -msse or -msse2

5 years agog-i: Avoid use of uninitialized "markup" warning
Rico Tzschichholz [Tue, 5 Nov 2019 14:34:52 +0000 (15:34 +0100)] 
g-i: Avoid use of uninitialized "markup" warning

5 years agog-i: Calculate size correctly, avoid use-after-free
Rico Tzschichholz [Tue, 5 Nov 2019 14:33:43 +0000 (15:33 +0100)] 
g-i: Calculate size correctly, avoid use-after-free

5 years agogio-2.0: Use custom TaskReadyCallback delegate in Task.report*_error()
Rico Tzschichholz [Tue, 5 Nov 2019 12:22:46 +0000 (13:22 +0100)] 
gio-2.0: Use custom TaskReadyCallback delegate in Task.report*_error()

5 years agovala: Don't mark method as used on recursive usage of itself
Rico Tzschichholz [Tue, 5 Nov 2019 10:14:26 +0000 (11:14 +0100)] 
vala: Don't mark method as used on recursive usage of itself

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

5 years agovala: Write value of constants/enums in fast-vapi if they are constant only 984c034256de3830d6daa0ab6f5eff108dea09bb
Rico Tzschichholz [Tue, 5 Nov 2019 09:07:49 +0000 (10:07 +0100)] 
vala: Write value of constants/enums in fast-vapi if they are constant only

Introduced by 89a1243a4f066cc9652b26f86eb94fd038874982

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

5 years agovala: Add GenericType.dup/destroy fields
Rico Tzschichholz [Fri, 1 Nov 2019 20:31:47 +0000 (21:31 +0100)] 
vala: Add GenericType.dup/destroy fields

This provides direct access to the according values of generic-types
and type-parameters.

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

5 years agocodegen: Make type-parameter properties readable
Rico Tzschichholz [Sat, 2 Nov 2019 06:37:33 +0000 (07:37 +0100)] 
codegen: Make type-parameter properties readable

Those are immutable while being construct-only properties.

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

5 years agotests: Add invalid "multiple base classes" tests to increase coverage
Rico Tzschichholz [Sun, 3 Nov 2019 19:07:40 +0000 (20:07 +0100)] 
tests: Add invalid "multiple base classes" tests to increase coverage

5 years agovala: Improve error reporting for invalid interface prerequisites
Rico Tzschichholz [Sun, 3 Nov 2019 19:03:20 +0000 (20:03 +0100)] 
vala: Improve error reporting for invalid interface prerequisites

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

5 years agocodegen: G_DEFINE_AUTOPTR_CLEANUP_FUNC must not declared more than once
Rico Tzschichholz [Sun, 3 Nov 2019 15:34:47 +0000 (16:34 +0100)] 
codegen: G_DEFINE_AUTOPTR_CLEANUP_FUNC must not declared more than once

Follow on f413cb32470d9c2598416772bc0166c6f974ec9f

5 years agogirwriter: Fix position of priv field (--abi-stability) 7cb3a3f00dcbadded394a6cb9b7042b7d627bea8
Rico Tzschichholz [Wed, 16 Oct 2019 09:48:44 +0000 (11:48 +0200)] 
girwriter: Fix position of priv field (--abi-stability)

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

5 years agogirwriter: Add readable="0"/private="1" attribute to type-specific fields
Rico Tzschichholz [Fri, 1 Nov 2019 15:50:12 +0000 (16:50 +0100)] 
girwriter: Add readable="0"/private="1" attribute to type-specific fields

5 years agocodegen: Fix setting of generic-type properties for gobject style chain up 5baca30c036b3980bef5948c12ee711cd23ea91c
Rico Tzschichholz [Thu, 31 Oct 2019 09:39:44 +0000 (10:39 +0100)] 
codegen: Fix setting of generic-type properties for gobject style chain up

Correctly refer to their canonical names.

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

5 years agovala: Improve error message for arrays as type arguments 4e34272c34ef558663af19414a7584506cb60fc0
Florian Brosch [Tue, 2 Sep 2014 23:37:31 +0000 (01:37 +0200)] 
vala: Improve error message for arrays as type arguments

5 years agovala: Do not allow to change .length of arrays with fixed length
Florian Brosch [Wed, 17 Sep 2014 12:45:52 +0000 (14:45 +0200)] 
vala: Do not allow to change .length of arrays with fixed length

This would result in invalid C code.

5 years agovala: Do not allow to .resize() on arrays with fixed length
Florian Brosch [Wed, 17 Sep 2014 12:49:00 +0000 (14:49 +0200)] 
vala: Do not allow to .resize() on arrays with fixed length

5 years agovala: Infer array length of inline allocated arrays for fields
Florian Brosch [Thu, 18 Sep 2014 03:09:03 +0000 (05:09 +0200)] 
vala: Infer array length of inline allocated arrays for fields

Don't allow non-arrays as initializer for inline allocated arrays

Same as 0f0bca7e0519af13d9217fbca2c20ce67cd3baba

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

5 years agovala: Do not allow += for arrays with fixed length 7d3290e44c1acba6b18584f4c52d40765883b581
Florian Brosch [Tue, 16 Sep 2014 22:17:01 +0000 (00:17 +0200)] 
vala: Do not allow += for arrays with fixed length

5 years agogtk+-*.0: Fix iter parameter of TextBuffer.backspace() 7b2e66e1272d4f9f89664ab0ea328d6dea2d5f6d 87/head
Rico Tzschichholz [Tue, 29 Oct 2019 09:51:52 +0000 (10:51 +0100)] 
gtk+-*.0: Fix iter parameter of TextBuffer.backspace()

5 years agoglib-2.0: Add new symbols from 2.64 9ab99edfc1ee3ba958ec95956fdb37aac7d6f74f
Rico Tzschichholz [Tue, 29 Oct 2019 07:19:37 +0000 (08:19 +0100)] 
glib-2.0: Add new symbols from 2.64

5 years agogtksourceview-2.0: Fix iter parameter in SourceBuffer.backward/forward/... 83af5c8be996d258a2fa36c12214013c449c6d04 86/head
Alberto Fanjul [Tue, 29 Oct 2019 08:17:26 +0000 (09:17 +0100)] 
gtksourceview-2.0: Fix iter parameter in SourceBuffer.backward/forward/...

5 years agovala: Don't falsely resolve binary-expression to bool e679740751b4fde1d40103f8a84fba0fed1ff9a2
Rico Tzschichholz [Thu, 24 Oct 2019 12:15:56 +0000 (14:15 +0200)] 
vala: Don't falsely resolve binary-expression to bool

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

5 years agolinux: Add memfd_create(2)
Rico Tzschichholz [Wed, 23 Oct 2019 20:50:22 +0000 (22:50 +0200)] 
linux: Add memfd_create(2)

5 years agotests: Add invalid "silent cast of array" test to increase coverage
Rico Tzschichholz [Wed, 23 Oct 2019 13:30:40 +0000 (15:30 +0200)] 
tests: Add invalid "silent cast of array" test to increase coverage

5 years agotests: Add "typeof" tests for fundamental GLib.Type
Rico Tzschichholz [Wed, 23 Oct 2019 12:21:49 +0000 (14:21 +0200)] 
tests: Add "typeof" tests for fundamental GLib.Type

5 years agovala: Issue warning when passing arrays to typeof(), except for "string[]"
Rico Tzschichholz [Wed, 23 Oct 2019 12:21:49 +0000 (14:21 +0200)] 
vala: Issue warning when passing arrays to typeof(), except for "string[]"

Passing arrays resolve to G_TYPE_INVALID, and "string[]" to G_TYPE_STRV

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

5 years agovapi: Update GIR-based bindings
Rico Tzschichholz [Tue, 22 Oct 2019 15:57:21 +0000 (17:57 +0200)] 
vapi: Update GIR-based bindings

5 years agowebkit2gtk-4.0: Update to 2.27.2
Rico Tzschichholz [Tue, 22 Oct 2019 15:56:45 +0000 (17:56 +0200)] 
webkit2gtk-4.0: Update to 2.27.2

5 years agogirparser: Detect and replace "-" in parameter names
Rico Tzschichholz [Tue, 22 Oct 2019 16:42:16 +0000 (18:42 +0200)] 
girparser: Detect and replace "-" in parameter names

... to avoid generating bindings with invalid syntax.

5 years agoglib-2.0: Check errno for EINVAL and ERANGE in *.try_parse()
Rico Tzschichholz [Tue, 22 Oct 2019 08:30:53 +0000 (10:30 +0200)] 
glib-2.0: Check errno for EINVAL and ERANGE in *.try_parse()

5 years agotests: Make (u)int.try_parse() tests more 32bit friendly
Rico Tzschichholz [Mon, 21 Oct 2019 19:22:17 +0000 (21:22 +0200)] 
tests: Make (u)int.try_parse() tests more 32bit friendly

5 years agolibuse-1.0: Remove unused private "malloc" binding
Rico Tzschichholz [Mon, 21 Oct 2019 13:35:07 +0000 (15:35 +0200)] 
libuse-1.0: Remove unused private "malloc" binding