vala:tintou/gidocgen

Last commit made on 2024-02-08
Get this branch:
git clone -b tintou/gidocgen https://git.launchpad.net/vala

Branch merges

Branch information

Name:
tintou/gidocgen
Repository:
lp:vala

Recent commits

4f9b039... by Corentin Noël

libvaladoc: Add gi-docgen documentation support

d426e65... by Corentin Noël

libvaladoc/gtkdocmarkdownparser: Remove unused this_name argument

eba39da... by Sahil Shadwal <email address hidden>

v4l2: Fix FrameivalEnum.stepwise type mismatch with v4l2_frmivalenum

Thanks to Pacer Ecks

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

ae2cbcd... by Florian Weimer

codegen: Emit diagnostic pragmas for GCC 14, Clang 16 compatibility

GCC 14 refuses to compile C sources with certain type errors, to
provide prompt feedback to programmers about mistakes.
Vala does not have the required information for const qualifiers
of parameters and return values which leads to incompatible-pointer
warnings/errors.

As a stop-gap measure, this commit introduces pragmata to turn the
relevant GCC/Clang diagnostics into warnings. For experimentation,
this can be avoided at C compilation time by defining VALA_STRICT_C.

Clang 16 is broadly similar, except that it is not possible to
turn the errors into warnings using #pragma. They have to be disabled
completely. In Clang 16 and 17, -Wincompatible-pointer-types is not
an error yet, but that is likely to change in future Clang versions,
so this commit disables this warning, too. Another error,
-Wincompatible-function-pointer-types has been split from that,
and needs to be disabled.

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

fee6dad... by Rico Tzschichholz

codegen: Cast generic return value from g_ptr_array_index()

Use convert_from_generic_pointer() to generate C code without warnings
when accessing scalar elements from a GPtrArray.

Found by -Werror=int-conversion

In addition to f904c7e269c7f7b0a6dcefa4f8f892b981a71917

870cd1e... by Rico Tzschichholz

vala: Move formal_target_type when transforming method-call/object-creation

Avoid errornous casting from assumed generic type.

Found by -Werror=int-conversion

8d5afc9... by Rico Tzschichholz

codegen: Correctly return FALSE on uncaught error in async ctor

Found by -Werror=int-conversion

9e1defe... by Rico Tzschichholz

glib-2.0,posix: Define _GNU_SOURCE for sincos*()

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

729d299... by Val

libsoup-3.0: Don't skip uri_copy

4adc031... by Val

gmodule-2.0: Improvements and updates from 2.76