summaryrefslogtreecommitdiff
path: root/test cases/frameworks/7 gnome/gdbus
AgeCommit message (Collapse)Author
2025-06-09modules/gnome: Allow to generate markdown and reStructuredText dbus docCorentin Noël
gdbus-docgen supports reStructuredText output since 2.71.1 and markdown since 2.75.2, allow to simply generate it.
2022-10-28gnome: allow generator outputs as gdbus-codegen inputsPaolo Bonzini
GeneratedLists as sources to `gnome.gdbus_codegen` worked until version 0.60 of Meson, but broke in 0.61 because of the conversion to typed_pos_args and typed_kwargs. Reinstate this by adding them to the decorators and annotations. Note that gdbus_codegen desugars to two custom_targets and therefore the generator is invoked twice. This is not optimal, but it should not be an issue and can be changed later. Fixes: 53a187ba2 ("modules/gnome: use typed_pos_args for gdbus_codegen", 2021-11-01) Fixes: ef52e6093 ("modules/gnome: use typed_kwargs for gdbus_codegen", 2021-11-08)
2022-10-28gnome: allow custom targets as gdbus-codegen inputsPaolo Bonzini
Custom targets as sources to `gnome.gdbus_codegen` worked until version 0.60 of Meson, but broke in 0.61 because of the conversion to typed_pos_args and typed_kwargs. Reinstate this by adding custom targets to the decorators and annotations. While generators also used to work, they are a bit tricky because gdbus_codegen desugars to two custom_targets and therefore the generator is invoked twice. This should not be a problem, but be explicit and leave that to a separate commit to highlight the problem. Fixes: 53a187ba2 ("modules/gnome: use typed_pos_args for gdbus_codegen", 2021-11-01) Fixes: ef52e6093 ("modules/gnome: use typed_kwargs for gdbus_codegen", 2021-11-08)
2022-01-27modules/gnome: Allow gdbus_annotations to take an empty list againDylan Baker
This was allows up to 0.61.0 (including with the initial type annotations), but was accidentally broken by fixes for other bugs in 0.61.1. Fixes: #9883
2022-01-15tests: Add regression tests for gdbus_codegen argsNirbheek Chauhan
https://github.com/mesonbuild/meson/pull/9812
2018-07-11gnome.gdbus_codegen: Handle XML docbook in subdirsNirbheek Chauhan
Closes https://github.com/mesonbuild/meson/issues/3870
2018-06-19Add more tests to ensure no future regressionCorentin Noël
2018-05-04gnome: Disable usage of new --body and --header argsNirbheek Chauhan
The new --body and --header args are broken because they do not allow the use of --output-directory to set the correct `#include "foo.h"` line in `foo.c`. The changes in the gdbus test case show this. Disabled till this can be fixed in glib. Closes https://github.com/mesonbuild/meson/issues/3488
2018-04-28Install generated gdbus header with old glib version too.Jussi Pakkanen
2018-04-20gnome: gdbus-codegen add a `sources:` kwargNirbheek Chauhan
It accepts multiple XML files, not just one. For example, glib uses it that way.
2018-04-11gdbus_codegen: Return 2 targets when docbook is disabledNirbheek Chauhan
Also document this behaviour, test it, and fix the return value from the module -- we create one target and return it thrice to the build file
2017-09-12gnome: Docbook generation for gdbus_codegen()Iñigo Martínez
Add new 'docbook' argument which generates Docbook documentation for each D-Bus interface. The docbook argument will be used as prefix in `PREFIX`-NAME.xml pattern, and NAME will be replaced by the D-Bus interfaces.
2017-09-04gnome.gdbus_codegen(): Add annotations keywordPatrick Griffis
Fixes #2123
2017-01-09Fix Gnome module.Jussi Pakkanen
2015-03-14Created gdbus-codegen helper in the gnome module.Jussi Pakkanen