]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
7 days agogtk4: StyleContext.add_provider_for_display/remove_provider_for_display is not deprecated main wip/issue/1429
Rico Tzschichholz [Mon, 24 Apr 2023 08:00:44 +0000 (10:00 +0200)] 
gtk4: StyleContext.add_provider_for_display/remove_provider_for_display is not deprecated

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

7 days agovapi: Regenerate for GIR-based bindings to 'deprecated' metadata
Rico Tzschichholz [Wed, 27 May 2026 09:01:48 +0000 (11:01 +0200)] 
vapi: Regenerate for GIR-based bindings to 'deprecated' metadata

7 days agogirparser: Improve handling of deprecated=false metadata
Rico Tzschichholz [Mon, 24 Apr 2023 08:00:44 +0000 (10:00 +0200)] 
girparser: Improve handling of deprecated=false metadata

7 days agovala: Recursively check for Version.deprecated attribute from bottom to top
Rico Tzschichholz [Mon, 24 Apr 2023 08:00:44 +0000 (10:00 +0200)] 
vala: Recursively check for Version.deprecated attribute from bottom to top

7 days agovapi: Move gio-unix-2.0 to GIR_BINDINGS
Rico Tzschichholz [Wed, 27 May 2026 08:56:24 +0000 (10:56 +0200)] 
vapi: Move gio-unix-2.0 to GIR_BINDINGS

Missing in 2cef4cb679e7a7dabad51c295b896d58631f08e3

2 weeks agoflatpak: Update gnome Sdk version to 46
Lorenz Wildberg [Sun, 28 Apr 2024 17:58:04 +0000 (17:58 +0000)] 
flatpak: Update gnome Sdk version to 46

2 weeks agogvariant: Simplify variant type check
Sergey Bugaev [Sun, 1 Mar 2026 16:21:20 +0000 (19:21 +0300)] 
gvariant: Simplify variant type check

Even when we don't have one of the basic types, we still have a compile-
time known type string. No need to dynamically allocate anything, just
use G_VARIANT_TYPE () to cast it into a GVariantType.

2 weeks agogvariant: Misc clean-ups
Sergey Bugaev [Sat, 7 Jun 2025 20:12:27 +0000 (23:12 +0300)] 
gvariant: Misc clean-ups

2 weeks agogvariant: Box and unbox nullable basic types
Sergey Bugaev [Sat, 7 Jun 2025 20:10:50 +0000 (23:10 +0300)] 
gvariant: Box and unbox nullable basic types

Just like we already do for other structs. As a side effect, we no
longer need to do this explicitly when generating a "silent" cast.

2 weeks agogvariant: Support some more key types for hash table creation
Sergey Bugaev [Sun, 1 Mar 2026 15:18:16 +0000 (18:18 +0300)] 
gvariant: Support some more key types for hash table creation

GLib also has proper hash/equals functions for indirectly stored doubles
and 64-bit integers. Use those.

2 weeks agogvariant: Use actual destroy_func when creating GHashTable
Sergey Bugaev [Sat, 7 Jun 2025 20:06:24 +0000 (23:06 +0300)] 
gvariant: Use actual destroy_func when creating GHashTable

Instead of hard-coding a few known types, use the actual destroy_func
for the type. This will now do the right thing for (nullable) structs.

2 weeks agogdbus: Allow DBusConnection and DBusMethodInvocation parameters
Sergey Bugaev [Thu, 12 Jun 2025 14:34:47 +0000 (17:34 +0300)] 
gdbus: Allow DBusConnection and DBusMethodInvocation parameters

This is a way for the server implementation to get hold of the
connection that the current method is being invoked on (which may be
important if it's exported on multiple connections, or just to avoid
global variables), for instance to export other objects, or make proxy
calls, on this connection. A full DBusMethodInvocation object can also
be requested in the same way.

Suggested-by: Ivan Molodetskikh <yalterz@gmail.com>
2 weeks agotests: Add a test for D-Bus type mismatch
Sergey Bugaev [Sun, 8 Mar 2026 10:42:22 +0000 (13:42 +0300)] 
tests: Add a test for D-Bus type mismatch

2 weeks agogdbus: Type-check properties
Sergey Bugaev [Sun, 8 Mar 2026 10:19:12 +0000 (13:19 +0300)] 
gdbus: Type-check properties

2 weeks agogdbus: Reimplement method calls using g_dbus_proxy_call
Sergey Bugaev [Sun, 8 Mar 2026 10:09:58 +0000 (13:09 +0300)] 
gdbus: Reimplement method calls using g_dbus_proxy_call

This essentially undoes commit 28fdeeb23dffc8555bc844d225c6e08e2aef95bd
"D-Bus: Use lowlevel message API for method calls in GDBus clients",
whose commit message mentions that this was required for file descriptor
passing. Indeed in 2010, there was no *_with_unix_fd_list methods on
GDBusProxy; those are new in GLib 2.30 (2011). We require GLib 2.56, so
we can rely on those methods being present. This commit implements both
fd-passing an regular D-Bus methods on top of the various variants of
g_dbus_proxy_call methods.

In addition to both the generated code being simpler, this brings the
important functionality of type-checking the reply message.

2 weeks agogdbus: Use GLib.VariantType for D-Bus signature type
Sergey Bugaev [Mon, 23 Mar 2026 05:58:25 +0000 (08:58 +0300)] 
gdbus: Use GLib.VariantType for D-Bus signature type

The only complication here is that we can't easily use
g_variant_new_signature to construct one, since it takes an unowned
string, we have an owned one from g_variant_type_dup_string, and the way
the module is structured, it's hard to add clean-up code after producing
the desired value. So, we call the lower level g_variant_new_from_data
API instead, transferring ownership of our string, the same way as the
serialize_buffer_array code path does.

6 weeks agogio-2.0: Make SettingsBindSetMapping.value a const GValue * tintou/gvalue-settings
Corentin Noël [Wed, 12 Nov 2025 23:17:10 +0000 (00:17 +0100)] 
gio-2.0: Make SettingsBindSetMapping.value a const GValue *

The C type is a const GValue *, make Vala actually generate the correct type.

2 months agogio-unix-2.0: Restore MountEntry/MountPoint constructors
Rico Tzschichholz [Thu, 26 Mar 2026 08:39:39 +0000 (09:39 +0100)] 
gio-unix-2.0: Restore MountEntry/MountPoint constructors

2 months agogtk+-3.0: Update to 3.24.52
Rico Tzschichholz [Thu, 26 Mar 2026 08:15:06 +0000 (09:15 +0100)] 
gtk+-3.0: Update to 3.24.52

2 months agogobject-2.0: Update 2.88 symbols
Rico Tzschichholz [Fri, 20 Mar 2026 13:37:14 +0000 (14:37 +0100)] 
gobject-2.0: Update 2.88 symbols

2 months agotests: Regenerate for gio-unix-2.0 binding changes
Rico Tzschichholz [Thu, 19 Mar 2026 18:51:24 +0000 (19:51 +0100)] 
tests: Regenerate for gio-unix-2.0 binding changes

2 months agogio-2.0: Update 2.88 symbols
Rico Tzschichholz [Thu, 19 Mar 2026 18:03:17 +0000 (19:03 +0100)] 
gio-2.0: Update 2.88 symbols

2 months agogio-unix-2.0: Switch to gir and update 2.88 symbols
Rico Tzschichholz [Thu, 19 Mar 2026 18:03:17 +0000 (19:03 +0100)] 
gio-unix-2.0: Switch to gir and update 2.88 symbols

2 months agogtk4: Fix CursorGetTextureCallback declaration
Rico Tzschichholz [Sun, 22 Mar 2026 15:27:19 +0000 (16:27 +0100)] 
gtk4: Fix CursorGetTextureCallback declaration

This unbreaks Cursor.from_callback()

2 months agovala: Preserve formal_target_type for generic type inference
Rico Tzschichholz [Sun, 22 Mar 2026 09:38:47 +0000 (10:38 +0100)] 
vala: Preserve formal_target_type for generic type inference

Regression of bdf8b61b887bc12233767b3d6d38d9376f2cbd45

2 months agobuild: Fix typo in e93b741e0c0cd4468f923fded5bf88e95330f192
Rico Tzschichholz [Wed, 18 Mar 2026 19:21:55 +0000 (20:21 +0100)] 
build: Fix typo in e93b741e0c0cd4468f923fded5bf88e95330f192

2 months agogirwriter: Add the doc:format argument in the .gir file
Corentin Noël [Tue, 8 Apr 2025 20:28:22 +0000 (22:28 +0200)] 
girwriter: Add the doc:format argument in the .gir file

By default, output the "unknown" format, the girwriter from valadoc is able to
output the markdown-flavoured gtk-doc format.

2 months agolibvaladoc: Add compat layer for gvRenderData to cope with API break
Rico Tzschichholz [Sun, 15 Mar 2026 18:52:13 +0000 (19:52 +0100)] 
libvaladoc: Add compat layer for gvRenderData to cope with API break

Thanks to kotontrion!

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

2 months agogdbus: Do not provide unintended read/write access to properties
Eri the Switch [Sun, 22 Dec 2024 14:36:20 +0000 (17:36 +0300)] 
gdbus: Do not provide unintended read/write access to properties

This avoids ignoring private accessibily and construct-only flags
of property accessors.

The definition of DBus interfaces is guarded by expecting public
or protected property accessors. This restriction was not present
on the server side where a class declaration might be used.

2 months agogdbus: Allow GLib.VariantDict for a{sv}
Sergey Bugaev [Fri, 6 Mar 2026 08:23:44 +0000 (11:23 +0300)] 
gdbus: Allow GLib.VariantDict for a{sv}

2 months agovapi: Regenerate for GIR-based bindings to pick up getter/setter attributes
Rico Tzschichholz [Fri, 6 Mar 2026 14:20:05 +0000 (15:20 +0100)] 
vapi: Regenerate for GIR-based bindings to pick up getter/setter attributes

2 months agogirparser: Respect the get-property and set-property attributes
Sergey Bugaev [Thu, 17 Apr 2025 12:09:39 +0000 (15:09 +0300)] 
girparser: Respect the get-property and set-property attributes

Sometimes we can't quite guess the right getter/setter for a property
based on name alone. The get-property/set-property attributes, when they
are present, are supposed to specify just the right functions.

Now that we can recognize property accessors with non-default names when
they are marked up explicitly, we should store those their names.

See https://gitlab.gnome.org/GNOME/vala/issues/1212 and
https://gitlab.gnome.org/GNOME/gobject-introspection/issues/13

2 months agogtk4: Update to 4.21.6+83716767
Rico Tzschichholz [Fri, 6 Mar 2026 14:27:50 +0000 (15:27 +0100)] 
gtk4: Update to 4.21.6+83716767

2 months agovala: Use reference-transfer as needed when transforming conditional-expression
Rico Tzschichholz [Thu, 5 Mar 2026 15:43:36 +0000 (16:43 +0100)] 
vala: Use reference-transfer as needed when transforming conditional-expression

This avoids possible use-after-free exceptions.

Found by -fsanitize=address

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

3 months agovala: Detect array element ownership mismatch
Sergey Bugaev [Mon, 21 Apr 2025 12:32:43 +0000 (15:32 +0300)] 
vala: Detect array element ownership mismatch

Variations of the following are already detected and prohibited:

  string make_string ();
  unowned string s = make_string ();

including with arrays:

  string[] make_string_array ();
  unowned string[] arr = make_string_array ();

however, Vala failed to detect the case where the array itself is owned,
but its elements are not, aka transfer container:

  string[] make_string_array ();
  (unowned string)[] arr = make_string_array ();

To catch this, introduce a new virtual method, transfer_compatible (),
which is overriden in Vala.ArrayType to check for element type
ownership, and use it throughout.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
3 months agogdbus: Avoid unused variables in method call and properties getter/setter
Corentin Noël [Wed, 12 Nov 2025 22:49:01 +0000 (23:49 +0100)] 
gdbus: Avoid unused variables in method call and properties getter/setter

As some methods and properties are filtered, do only declare the instance
property if it is actually going to be used.

Avoids `variable ‘object’ set but not used' warnings.

3 months agogtk4: Make all Gsk.RenderNode and Gsk.Renderer shadow their parent type
Corentin Noël [Wed, 12 Nov 2025 23:50:02 +0000 (00:50 +0100)] 
gtk4: Make all Gsk.RenderNode and Gsk.Renderer shadow their parent type

all their children actually use the parent type for function and creation.

3 months agogtk4: Update to 4.21.6+6fe88d03
Rico Tzschichholz [Tue, 3 Mar 2026 12:35:05 +0000 (13:35 +0100)] 
gtk4: Update to 4.21.6+6fe88d03

5 months agoglib-2.0: fix a typo in a parameter name
Reuben Thomas [Tue, 9 Dec 2025 22:09:22 +0000 (22:09 +0000)] 
glib-2.0: fix a typo in a parameter name

9 months agoci: Build the extension for 25.08
Jordan Petridis [Tue, 2 Sep 2025 13:03:30 +0000 (16:03 +0300)] 
ci: Build the extension for 25.08

Rather than 25.08beta, since the release is out

9 months agogstreamer-1.0: Fix ownership of Caps.full*() parameters staging
Rico Tzschichholz [Tue, 5 Aug 2025 13:34:14 +0000 (15:34 +0200)] 
gstreamer-1.0: Fix ownership of Caps.full*() parameters

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

9 months agotests: Add scope="async" test to increase coverage
Rico Tzschichholz [Tue, 5 Aug 2025 12:38:10 +0000 (14:38 +0200)] 
tests: Add scope="async" test to increase coverage

10 months agoglib-2.0: Only annote specific SourceOnceFunc parameters instead
Rico Tzschichholz [Sat, 2 Aug 2025 21:05:44 +0000 (23:05 +0200)] 
glib-2.0: Only annote specific SourceOnceFunc parameters instead

Regresssion of 0e39d2dae386e40bf2d7be8d299b3560d8fdb50e

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

10 months agoflatpak: Drop custom dbus build
Rico Tzschichholz [Thu, 17 Jul 2025 15:08:58 +0000 (17:08 +0200)] 
flatpak: Drop custom dbus build

10 months agoflatpak: Update buildsystem to meson for dbus
Rico Tzschichholz [Mon, 14 Jul 2025 12:03:43 +0000 (14:03 +0200)] 
flatpak: Update buildsystem to meson for dbus

10 months agoflatpak: Update dependencies
Rico Tzschichholz [Mon, 14 Jul 2025 07:45:45 +0000 (09:45 +0200)] 
flatpak: Update dependencies

10 months agoci: Make sure REPO_TOKEN_FILE is set rather than deprecated REPO_TOKEN
Rico Tzschichholz [Fri, 4 Jul 2025 14:44:22 +0000 (16:44 +0200)] 
ci: Make sure REPO_TOKEN_FILE is set rather than deprecated REPO_TOKEN

10 months agoci: Update nightly runtime extension to 25.08beta base
Jordan Petridis [Fri, 4 Jul 2025 12:06:51 +0000 (15:06 +0300)] 
ci: Update nightly runtime extension to 25.08beta base

11 months agogobject-2.0: Add Type.to_string ()
Sergey Bugaev [Wed, 11 Jun 2025 12:32:16 +0000 (15:32 +0300)] 
gobject-2.0: Add Type.to_string ()

Fixes formatting types via string interpolation.

11 months agogobject-2.0: Fix return type
Sergey Bugaev [Wed, 11 Jun 2025 12:32:05 +0000 (15:32 +0300)] 
gobject-2.0: Fix return type

11 months agoglib-2.0: Fix *.add_once () callbacks
Sergey Bugaev [Mon, 26 May 2025 06:55:32 +0000 (09:55 +0300)] 
glib-2.0: Fix *.add_once () callbacks

These callbacks have scope=async, not scope=call. In Vala, the latter is
what passing an unowned delegate implies, while scope=async is achieved
with an owned delegate marked [CCode (scope = "async")].

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

11 months agoparser: Fix statement error recovery
Sergey Bugaev [Sat, 24 May 2025 10:22:55 +0000 (13:22 +0300)] 
parser: Fix statement error recovery

Parser.rollback () can only be used to move *backward* through tokens,
not forward. When we run into a ParseError while parsing a statement,
'begin' points to the start of the statement, and 'e_begin' to the error
location inside the statement. 'rollback (begin)' is then justified,
since we're rolling back to the start of the statement; but moving to
'e_begin' again can not be done with 'rollback (e_begin)'.

Because we failed to seek forward, an syntax error could send us into an
infinite loop. Use Parser.jump () instead, which moves forward through
tokens.

Regession of f5934184d050d1a19f394fdab6f2ee66ff30965f

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

12 months agodoap: Remove authors
Corentin Noël [Mon, 12 May 2025 13:35:49 +0000 (15:35 +0200)] 
doap: Remove authors

This is not part of the DOAP specification.

12 months agolibvaladoc: Do not error-out on doc:format
Corentin Noël [Fri, 2 May 2025 21:42:30 +0000 (23:42 +0200)] 
libvaladoc: Do not error-out on doc:format

This is part of the valid .gir file format, just skip it for now.

12 months agocodegen: Set and check GTask source tag
Sergey Bugaev [Sat, 26 Apr 2025 19:16:00 +0000 (22:16 +0300)] 
codegen: Set and check GTask source tag

This is the best practice when writing async code in C.

12 months agotests: Regenerate for the precondition failure change
Sergey Bugaev [Mon, 28 Apr 2025 07:39:42 +0000 (10:39 +0300)] 
tests: Regenerate for the precondition failure change

12 months agocodegen: Return default_value_on_error on precondition failures
Sergey Bugaev [Mon, 28 Apr 2025 07:37:58 +0000 (10:37 +0300)] 
codegen: Return default_value_on_error on precondition failures

This way, we get -1 for integers, G_TYPE_INVALID for GType, etc. The
returned value doesn't really matter since this is an assertion failure
in any case, but this is what's usually done in C code.

12 months agogobject-2.0: Set default_value{,_on_error} for GType
Sergey Bugaev [Mon, 28 Apr 2025 07:34:55 +0000 (10:34 +0300)] 
gobject-2.0: Set default_value{,_on_error} for GType

12 months agocodegen: Propagate default_value_on_error from parent struct
Sergey Bugaev [Mon, 28 Apr 2025 07:31:16 +0000 (10:31 +0300)] 
codegen: Propagate default_value_on_error from parent struct

Like it's already done for default_value. This in particular should
impact tests/structs/gtype-base-struct.vala when we set the default
values for GLib.Type.

13 months agolibnotify: Update to 0.8.4
Rico Tzschichholz [Fri, 25 Apr 2025 08:11:31 +0000 (10:11 +0200)] 
libnotify: Update to 0.8.4

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

13 months agolibxml-2.0: Add more fields to ParserCtxt
Corentin Noël [Thu, 10 Apr 2025 12:33:21 +0000 (14:33 +0200)] 
libxml-2.0: Add more fields to ParserCtxt

The fields are actually required when using the ParserCtxt.

13 months agogtk4: Update to 4.19.1~a9188062
Rico Tzschichholz [Thu, 24 Apr 2025 11:33:53 +0000 (13:33 +0200)] 
gtk4: Update to 4.19.1~a9188062

13 months agogsl: Deprecate gsl_linalg_cholesky_decomp in favour of gsl_linalg_cholesky_decomp1
jordangit [Fri, 21 Mar 2025 09:56:01 +0000 (09:56 +0000)] 
gsl: Deprecate gsl_linalg_cholesky_decomp in favour of gsl_linalg_cholesky_decomp1

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

13 months agoposix: add UTIME_{NOW,OMIT} constants for utimensat
Reuben Thomas [Fri, 18 Apr 2025 12:43:31 +0000 (13:43 +0100)] 
posix: add UTIME_{NOW,OMIT} constants for utimensat

13 months agoglib-2.0: allow FileUtils.open_tmp's first argument to be null
Reuben Thomas [Fri, 18 Apr 2025 12:46:42 +0000 (13:46 +0100)] 
glib-2.0: allow FileUtils.open_tmp's first argument to be null

This is allowed in GLib to use a default template for the file name.

13 months agocodegen: Use g_once_init_{enter,leave}_pointer when targetting glib >= 2.80
Sergey Bugaev [Fri, 18 Apr 2025 10:43:00 +0000 (13:43 +0300)] 
codegen: Use g_once_init_{enter,leave}_pointer when targetting glib >= 2.80

See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3577

13 months agogirwriter: Don't use instance-parameter inside function elements
Rico Tzschichholz [Tue, 8 Apr 2025 18:52:42 +0000 (20:52 +0200)] 
girwriter: Don't use instance-parameter inside function elements

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

15 months agoSync NEWS from 0.56
Rico Tzschichholz [Sun, 2 Mar 2025 18:57:16 +0000 (19:57 +0100)] 
Sync NEWS from 0.56

15 months agoci: Skip meson dist in flatpak jobs
Jordan Petridis [Sun, 2 Mar 2025 12:37:03 +0000 (14:37 +0200)] 
ci: Skip meson dist in flatpak jobs

15 months agoglib-2.0: Add Regex.escape_nul in GLib
Zhou Qiankang [Wed, 12 Feb 2025 03:30:46 +0000 (11:30 +0800)] 
glib-2.0: Add Regex.escape_nul in GLib

See: https://docs.gtk.org/glib/type_func.Regex.escape_nul.html

Signed-off-by: Zhou Qiankang <wszqkzqk@qq.com>
15 months agovapi: Regenerate for GIR-based bindings to update prefix handling
Rico Tzschichholz [Sat, 1 Mar 2025 18:24:43 +0000 (19:24 +0100)] 
vapi: Regenerate for GIR-based bindings to update prefix handling

15 months agogirparser: Respect given lower_case_cprefix metadata all the way
Rico Tzschichholz [Sat, 1 Mar 2025 18:24:43 +0000 (19:24 +0100)] 
girparser: Respect given lower_case_cprefix metadata all the way

GIR allows to define multiple prefixes in "c:identifier-prefixes".
Vala is blindly taking the first one which worked well so far, but
can go very wrong. So allow overriding this information of the
root namespace for real.

15 months agotests: Prepend $(builddir) to gir file target to increase coverage
Rico Tzschichholz [Thu, 20 Feb 2025 19:44:25 +0000 (20:44 +0100)] 
tests: Prepend $(builddir) to gir file target to increase coverage

15 months agoglib-2.0: Update RegexMatchFlags and RegexCompileFlags's binding to 2.74
Zhou Qiankang [Sun, 16 Feb 2025 03:58:21 +0000 (11:58 +0800)] 
glib-2.0: Update RegexMatchFlags and RegexCompileFlags's binding to 2.74

Signed-off-by: Zhou Qiankang <wszqkzqk@qq.com>
15 months agovaladoc: Sync gir argument handling from valacompiler.vala
Zhou Qiankang [Fri, 17 Jan 2025 14:48:39 +0000 (15:48 +0100)] 
valadoc: Sync gir argument handling from valacompiler.vala

15 months agoUpdate links to GNOME Wiki project and refer to new Vala websites
arujjval [Mon, 25 Nov 2024 14:55:31 +0000 (20:25 +0530)] 
Update links to GNOME Wiki project and refer to new Vala websites

15 months agogirparser: Handle `doc:format` element in root:repository
Rico Tzschichholz [Mon, 17 Feb 2025 17:30:20 +0000 (18:30 +0100)] 
girparser: Handle `doc:format` element in root:repository

See https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/448

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

16 months agogobject-2.0: Add TypeFlags missing values
Dawid Duma [Fri, 22 Nov 2024 16:05:07 +0000 (17:05 +0100)] 
gobject-2.0: Add TypeFlags missing values

16 months agobuild: Update gitlog-to-changelog to latest upstream
Rico Tzschichholz [Thu, 16 Jan 2025 06:54:39 +0000 (07:54 +0100)] 
build: Update gitlog-to-changelog to latest upstream

From commit 7b08932179d0d6b017f7df01a2ddf6e096b038e3 of
https://git.savannah.gnu.org/cgit/gnulib.git/tree/build-aux/gitlog-to-changelog

19 months agosdl2: Fix missing integer type for JoystickID
Mario Daniel Ruiz Saavedra [Thu, 31 Oct 2024 14:56:39 +0000 (14:56 +0000)] 
sdl2: Fix missing integer type for JoystickID

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

20 months agoflatpak: Switch the branch from 24.08beta to 24.08
Jordan Petridis [Wed, 11 Sep 2024 16:54:26 +0000 (19:54 +0300)] 
flatpak: Switch the branch from 24.08beta to 24.08

Now that it's released and nightly rebased on it.

23 months agoflatpak: Publish the nightly sdk extension for 24.08beta
Jordan Petridis [Sun, 30 Jun 2024 17:41:47 +0000 (20:41 +0300)] 
flatpak: Publish the nightly sdk extension for 24.08beta

And stop building for 22.08

23 months agolibusb-1.0: Fix the LibUSB.HotPlugCb declaration
Ole André Vadla Ravnås [Mon, 24 Jun 2024 12:32:03 +0000 (14:32 +0200)] 
libusb-1.0: Fix the LibUSB.HotPlugCb declaration

It returns an int used to decide whether the callback should be rearmed
or deregistered.

Co-authored-by: Håvard Sørbø <havard@hsorbo.no>
23 months agolibusb-1.0: Fix the LibUSB.TransferCb declaration
Ole André Vadla Ravnås [Wed, 19 Jun 2024 07:19:24 +0000 (09:19 +0200)] 
libusb-1.0: Fix the LibUSB.TransferCb declaration

The target is part of the Transfer object, and is not passed as a
parameter.

Co-authored-by: Håvard Sørbø <havard@hsorbo.no>
23 months agogio-2.0: Improve the {Input,Output}Message bindings
Ole André Vadla Ravnås [Wed, 12 Jun 2024 14:11:41 +0000 (16:11 +0200)] 
gio-2.0: Improve the {Input,Output}Message bindings

Where some in/out fields were incorrectly typed.

Co-authored-by: Håvard Sørbø <havard@hsorbo.no>
23 months agosdl2: Fix CCode.destroy_function of SDL.RWops and usage of SDL.RWops.from_file()
Rico Tzschichholz [Tue, 4 Jun 2024 08:48:16 +0000 (10:48 +0200)] 
sdl2: Fix CCode.destroy_function of SDL.RWops and usage of SDL.RWops.from_file()

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

2 years agotests: Update property notify test for G_PARAM_EXPLICIT_NOTIFY
Rico Tzschichholz [Mon, 27 May 2024 17:02:10 +0000 (19:02 +0200)] 
tests: Update property notify test for G_PARAM_EXPLICIT_NOTIFY

GLib 2.42 is mandatory for some time.

2 years agocodegen: Fix conditional expression with only one void side
Rico Tzschichholz [Sun, 19 May 2024 17:06:12 +0000 (19:06 +0200)] 
codegen: Fix conditional expression with only one void side

Found by -pedantic-errors

2 years agotest: Avoid redeclaration of gint
Rico Tzschichholz [Sun, 19 May 2024 15:00:08 +0000 (17:00 +0200)] 
test: Avoid redeclaration of gint

In addition to e4fe55735fb3e151dd6340b6d3fb8acca38193a4

Found by -pedantic-errors

2 years agotests: Don't take the chance to conflict with C99 constant of stdbool.h
Rico Tzschichholz [Sat, 18 May 2024 14:22:02 +0000 (16:22 +0200)] 
tests: Don't take the chance to conflict with C99 constant of stdbool.h

2 years agoglib-2.0: Make FileStream.*printf() return int
Rico Tzschichholz [Sat, 18 May 2024 13:48:16 +0000 (15:48 +0200)] 
glib-2.0: Make FileStream.*printf() return int

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

2 years agogirwriter: Write default-value of properties
Rico Tzschichholz [Sat, 18 May 2024 13:45:53 +0000 (15:45 +0200)] 
girwriter: Write default-value of properties

2 years agocodegen: Use correct ctype for result variable in methods in more cases
Rico Tzschichholz [Mon, 6 May 2024 12:20:21 +0000 (14:20 +0200)] 
codegen: Use correct ctype for result variable in methods in more cases

2 years agoglib-2.0: Add missing CCode.array_null_terminated attributes to IConv.iconv()
Rico Tzschichholz [Thu, 2 May 2024 08:05:26 +0000 (10:05 +0200)] 
glib-2.0: Add missing CCode.array_null_terminated attributes to IConv.iconv()

2 years agoflatpak: Update dependencies
Lorenz Wildberg [Thu, 25 Apr 2024 15:57:59 +0000 (17:57 +0200)] 
flatpak: Update dependencies

2 years agoglib-2.0: Fix the binding of `get_console_charset`
Zhou Qiankang [Thu, 25 Apr 2024 16:53:53 +0000 (00:53 +0800)] 
glib-2.0: Fix the binding of `get_console_charset`

The parameters of `g_get_console_charset` is `const char**`, the same as `g_get_charset`, is a NUL terminated UTF-8 string.

2 years agodocs: Update build dependencies
Rico Tzschichholz [Thu, 25 Apr 2024 13:20:44 +0000 (15:20 +0200)] 
docs: Update build dependencies

2 years agobuild: Drop obsolete references to xsltproc
Rico Tzschichholz [Thu, 25 Apr 2024 13:18:41 +0000 (15:18 +0200)] 
build: Drop obsolete references to xsltproc

2 years agodocs: Bump vala version references in README.md
Rico Tzschichholz [Thu, 25 Apr 2024 13:11:46 +0000 (15:11 +0200)] 
docs: Bump vala version references in README.md

2 years agovala, libvaladoc: Fix color support detection in log reporting
Zhou Qiankang [Thu, 25 Apr 2024 09:45:47 +0000 (17:45 +0800)] 
vala, libvaladoc: Fix color support detection in log reporting

Use `GLib.Log.writer_supports_color` to replace vala's implementation `is_atty`