summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add "forever" scopescope-foreverEmmanuele Bassi2021-07-298-11/+22
| | | | | | | | Some functions are meant to exist for the entire duration of the process, and thus have no need for a notification function because one will never be called. Fixes: #49
* Clean up the subproject rules for GLibEmmanuele Bassi2021-07-281-34/+87
| | | | | | Make the variable names intelligible, and include a bunch of built files that are necessary to ensure that the generated GIR data actually matches the GLib API.
* docs: Add g-ir-doc-tool man pageDavid King2021-07-095-3/+146
|
* ci: Promote libpcre's subprojectEmmanuele Bassi2021-06-241-0/+3
| | | | | GLib has dropped the internal copy libpcre, so we need to promote libpcre's subproject to the top level.
* ci: Add pcre-devel to the minimal imageEmmanuele Bassi2021-06-241-1/+2
| | | | | | | GLib dropped the internal libpcre copy, which means we end up with a subproject inside a subproject. Since libpcre is frozen, we can rely on using the installed copy.
* ci: Install mako and markup modules in DockerEmmanuele Bassi2021-06-242-5/+2
| | | | Don't install them as part of the CI job. It's pointless repetition.
* Initialise argumentEmmanuele Bassi2021-06-241-1/+1
| | | | Avoid a "maybe uninitialized" compiler warning.
* build: Use warning_level=2Emmanuele Bassi2021-06-241-3/+1
| | | | | | | | | Drop explicit `-Wall` and `-Wextra` from the compiler flags. Meson adds `-Wall` with `warning_level=1`, and `-Wextra` with `warning_level=2`. Fixes: #319
* ci: Use modern Meson command lineEmmanuele Bassi2021-06-241-31/+33
| | | | | | | Don't call Ninja directly, and don't enter the build directory. Also move shared options to environment variables, so we don't have to copy and paste them everywhere.
* ci: Bump up the Docker tagsEmmanuele Bassi2021-06-243-4/+4
|
* ci: Update run-docker scripts to work with PodmanEmmanuele Bassi2021-06-242-12/+53
| | | | Not every Linux distro ships with Docker, and Podman is nicer.
* Use slightly less ancient MesonEmmanuele Bassi2021-06-245-7/+7
|
* ci: Use stable FedoraEmmanuele Bassi2021-06-242-2/+2
| | | | Fedora 29 was EOL'ed in 2019.
* Bump up version to 1.69.0Emmanuele Bassi2021-06-241-1/+1
|
* Add glib:name to enum memberMarc-André Lureau2021-06-207-35/+68
| | | | | | | This member will contain the string from the GEnumValue/GFlagsValue 'value_name' introspection dump. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* scanner: fix enum member c:identifierMarc-André Lureau2021-06-202-4/+8
| | | | | | Don't rely on runtime name, but on C header parsed symbol. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* tests/repository: Fix leak in test_constructor_return_typeDavid King2021-06-181-0/+1
| | | | | | Found by Coverity. https://bugzilla.redhat.com/show_bug.cgi?id=1938731
* g-ir-compiler: Fix leaks in write_out_typelibDavid King2021-06-181-0/+2
| | | | | | Found by Coverity. https://bugzilla.redhat.com/show_bug.cgi?id=1938731
* giscanner: Improve error handling while parsing macrosDavid King2021-06-181-3/+29
| | | | | | | | | Check for errors during g_file_open_tmp() and fdopen(). Make sure to free tmp_name and error as needed. Found with Coverity. https://bugzilla.redhat.com/show_bug.cgi?id=1938731
* girepository: Fix leak in prefix_with_contextDavid King2021-06-181-1/+3
| | | | | | Found by Coverity. https://bugzilla.redhat.com/show_bug.cgi?id=1938731
* girepository: Fix leak in write_vfunc_infoDavid King2021-06-181-1/+4
| | | | | | Found by Coverity. https://bugzilla.redhat.com/show_bug.cgi?id=1938731
* girepository: Fix leak in write_field_infoDavid King2021-06-181-0/+1
| | | | | | Unref type before reusing it. Found by Coverity. https://bugzilla.redhat.com/show_bug.cgi?id=1938731
* girepository: Fix leak in _g_ir_parser_parse_fileDavid King2021-06-181-1/+5
| | | | | | Found by Coverity. https://bugzilla.redhat.com/show_bug.cgi?id=1938731
* girepository: Fix leak in g_callable_info_invokeDavid King2021-06-181-1/+4
| | | | | | Found by Coverity. https://bugzilla.redhat.com/show_bug.cgi?id=1938731
* ci: Limit depth of subprojects when cloningPhilip Withnall2021-06-074-0/+4
| | | | | | | | | Use the depth= argument from Meson 0.52 to limit the clone depth of subprojects to 1. This should make the CI images a little smaller, and reduce the bandwidth required to build them (although that’s not so important because it only happens once every few months). Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* subprojects: Use GLib main branchPhilip Withnall2021-06-071-1/+1
| | | | | | | | GLib upstream has renamed its `master` branch to `main`. See https://gitlab.gnome.org/GNOME/glib/-/issues/2348. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* Make test suite work with cross-related optionsJohn Ericson2021-05-2312-69/+105
| | | | | | | | | | Because of skepticism I received in #224, I made this PR which keeps the testsuite and CI improvements but doesn't add any new build options. I hope this would be less controversial: - no new knobs - tests for those using existing build options - CI tests `build_introspection_data = false`
* Don't mypy giscanner src and installationJohn Ericson2021-05-232-2/+2
| | | | This resulted in duplicate module errors for me.
* CI: move from mingw32 to mingw64Christoph Reiter2021-05-092-3/+2
| | | | | ccache is currently broken somehow. With 32bit Windows getting less and less usage/testing it's a good idea to move to 64 bit anyway.
* Add Crystal lnaguage bindings to Users listCristian Molina2021-05-051-0/+1
|
* scanner: Add more float typesebassi/issue-384Emmanuele Bassi2021-04-261-0/+2
| | | | | | | | | The scanner is chocking on the `__float80` and `__float128` types that are provided by GCC as extensions to ISO/IEC TS 18661-3:2015: https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html Fixes: #384
* Meson: Fix build when gobject-introspection is a subprojectXavier Claessens2021-03-251-6/+6
| | | | | meson.source_root() return the root of the main project, but in this case we want the root of the gobject-introspection (sub)project.
* version bumpChristoph Reiter2021-03-191-1/+1
|
* release1.68.0Christoph Reiter2021-03-192-1/+8
|
* gir: Update annotations from glib 2.68.0Sebastian Dröge2021-03-181-1/+4
|
* Merge branch 'ebassi/for-master' into 'master'Emmanuele Bassi2021-03-183-4/+3
|\ | | | | | | | | docs: Remove mention of mailing lists See merge request GNOME/gobject-introspection!261
| * docs: Remove mention of mailing listsebassi/for-masterEmmanuele Bassi2021-03-173-4/+3
| | | | | | | | We don't use them any more; discussions happen on Discourse.
* | Merge branch 'fix-gir-1.2-rnc-syntax' into 'master'Emmanuele Bassi2021-03-141-11/+11
|\ \ | |/ |/| | | | | | | | | Fix syntax errors in gir-1.2.rnc Closes #373 See merge request GNOME/gobject-introspection!256
| * Fix syntax errors in gir-1.2.rncPhil Clayton2021-03-141-11/+11
|/ | | | Closes #373
* Post-release version bump to 1.67.2Emmanuele Bassi2021-03-121-1/+1
|
* Release gobject-introspection 2.67.11.67.1Emmanuele Bassi2021-03-122-3/+6
|
* Merge branch 'ebassi/pre-release' into 'master'Emmanuele Bassi2021-03-123-9/+37
|\ | | | | | | | | Ebassi/pre release See merge request GNOME/gobject-introspection!260
| * tests: Update line numbers for expected Regress GIREmmanuele Bassi2021-03-121-8/+8
| |
| * Use g_memdup2() with newer versions of GLibEmmanuele Bassi2021-03-122-1/+29
|/ | | | | The g_memdup() function has been deprecated, so we should use the new g_memdup2() function if available.
* gir: Update annotations from glib git masterRico Tzschichholz2021-03-121-8/+18
|
* gir: Update annotations from glib git masterRico Tzschichholz2021-03-062-49/+121
|
* Merge branch 'wip/carlosg/signal-tests' into 'master'Emmanuele Bassi2021-03-032-0/+107
|\ | | | | | | | | tests: Add "signals" test object See merge request GNOME/gobject-introspection!259
| * tests: Add "signals" test objectwip/carlosg/signal-testsCarlos Garnacho2021-03-032-0/+107
|/ | | | | | | | It is worth to test marshalling of signal arguments, add a basic (and barebones) object to add signals and emission methods to, so bindings can test the signal handlers. Related: https://gitlab.gnome.org/GNOME/gjs/-/issues/377
* gir: Update annotations from glib git masterRico Tzschichholz2021-02-042-6/+28
|
* gir: Update annotations from glib git masterRico Tzschichholz2021-01-313-49/+386
|