summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Use `_get_oshandle()` and `g_win32_output_stream_new()` instead sinceGisle Vanem2020-05-151-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | `g_win32_output_stream_new_from_fd()` is private in Gio. It's normally not exported unless `GLIB_STATIC_COMPILATION` is effective. PS. Why would i not be called `GIO_STATIC_COMPILATION` for Gio .c-files?
| * | | Obs! Change back to `g_unix_output_stream_new()` for non-Win32.Gisle Vanem2020-05-141-1/+1
| | | |
| * | | [Win32] Fix gi-dump-types.c to build on WindowsGisle Vanem2020-05-141-4/+12
| | | |
* | | | gir: Update annotations from glib git masterRico Tzschichholz2020-06-263-109/+861
| | | |
* | | | Merge branch 'fix-pc-gen' into 'master'Christoph Reiter2020-06-241-2/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | meson.build: Fix generating pkg-config files See merge request GNOME/gobject-introspection!229
| * | | | meson.build: Fix generating pkg-config filesChun-wei Fan2020-06-241-2/+9
|/ / / / | | | | | | | | | | | | | | | | | | | | On Windows and Cygwin builds, we need to put the '.exe' for our entries into the pkg-config files for 'g-ir-compiler' and 'g-ir-generate', otherwise Meson will not be able to identify these programs correctly.
* | | | Merge branch 'fix-race' into 'master'Emmanuele Bassi2020-06-171-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | gir: add a dependency for g-ir-compiler for building .girs See merge request GNOME/gobject-introspection!228
| * | | | gir: add a dependency for g-ir-compiler for building .girsAlexander Kanavin2020-06-171-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | meson inserts the dependency if the compiler is used directly, but fails to do so if the compiler is run through a wrapper. This leads to build race errors between building the compiler and using it. Fix provided by Quentin Schulz <quentin.schulz@streamunlimited.com>
* | | | gir: Update annotations from glib git masterRico Tzschichholz2020-06-073-107/+423
| |/ / |/| |
* | | Merge branch 'ci-build-examples' into 'master'Christoph Reiter2020-05-193-2/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CI: add two jobs building a project using g-i with meson and autotools Closes #341 See merge request GNOME/gobject-introspection!223
| * | | CI: also build the example using libgirepositoryChristoph Reiter2020-05-191-0/+4
| | | |
| * | | CI: add two jobs building a project using g-i with meson and autotoolsChristoph Reiter2020-05-193-2/+32
|/ / / | | | | | | | | | | | | | | | | | | This tests that after installing the g-i tools a simple project using them can be build with meson and autotools. Fixes #341
* | | meson: fix include dir in .pc filesChristoph Reiter2020-05-191-0/+2
| | | | | | | | | | | | See !207
* | | Merge branch 'pkgconfig' into 'master'Xavier Claessens2020-05-183-85/+32
|\ \ \ | | | | | | | | | | | | | | | | Meson: Use pkgconfig generator See merge request GNOME/gobject-introspection!207
| * | | Meson: Use pkgconfig generatorXavier Claessens2020-04-233-85/+32
| | | |
* | | | Merge branch 'find_program_override' into 'master'Christoph Reiter2020-05-172-22/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Don't override finding executables when using pre-built tools. See merge request GNOME/gobject-introspection!212
| * \ \ \ Merge remote-tracking branch 'upstream/master' into find_program_overrideJohn Ericson2020-05-1738-120/+692
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge branch 'fix-option-naming' into 'master'Christoph Reiter2020-05-172-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Rename option `gi_cross_use_{host -> prebuilt}_gi` See merge request GNOME/gobject-introspection!211
| * | | | | Rename option `gi_cross_use_{host -> prebuilt}_gi`John Ericson2020-05-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old name used "host" according to Yocto's definition, but not Meson's. The new name works for everyone.
* | | | | | Merge branch 'remove-bit-of-old-autoconf' into 'master'Christoph Reiter2020-05-172-9/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | Remove old autoconf fallback code for the python tools. See merge request GNOME/gobject-introspection!221
| * | | | | Remove old autoconf fallback code for the python tools.John Ericson2020-05-172-9/+3
|/ / / / /
* | | | | Merge branch 'wip/jtojnar/doc-fixes' into 'master'Christoph Reiter2020-05-159-10/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Minor docs fixes See merge request GNOME/gobject-introspection!220
| * | | | | docs: Unify DocBook doctypeJan Tojnar2020-05-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There has been no backwards incompatible changes between DockBook 4.3 and 4.5 so there is no need to use both. Ideally, we would switch to DocBook 5 but that will require more changes.
| * | | | | docs: Update website linkJan Tojnar2020-05-158-8/+8
|/ / / / /
* | | | | Merge branch 'dumper-lto-fix' into 'master'Christoph Reiter2020-05-151-2/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | dumper: Fix missing symbols in LTO case or with overridden symbol visibility settings Closes #280 See merge request GNOME/gobject-introspection!216
| * | | | dumper: Fix missing symbols in LTO case or with overridden symbol visibility ↵Christoph Reiter2020-05-151-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | settings In case a user had a combination of -fvisibility=hidden, -Wl,--as-needed, -flto, -O2 in the CFLAGS the linker would sometimes detect that all the referenced gtype functions weren't actually used and throw them out with their providing libraries. Instead of hoping that the user's CFLAGS don't mess without our symbol visibility just use G_MODULE_EXPORT on the two symbols which reference all other gtype and gquark symbols. This fixes errors such as: Invalid GType function: 'gtk_accel_group_get_type' Failed to find symbol 'gtk_accel_group_get_type' during the g-ir-scanner execution. Fixes #280
* | | | Add missing nullable annotation to g_object_info_get_parentJonne Haß2020-05-141-1/+1
| | | |
* | | | Add missing nullable annotation to g_irepository_get_shared_libraryJonne Haß2020-05-141-1/+1
| |_|/ |/| |
* | | flake8: fix invalid placeholder in GtkDocAnnotatable repr format stringChristoph Reiter2020-05-141-1/+1
| | | | | | | | | | | | The newest flake8 has started to detect this.
* | | Update utils.pyneok2020-05-101-1/+1
| | |
* | | Meson: Fix build as subprojectXavier Claessens2020-05-065-34/+36
| | | | | | | | | | | | | | | meson.build_root() is the root of the main project, better use meson.current_build_dir() instead.
* | | CI: switch to new win32 runnersChristoph Reiter2020-05-032-5/+5
| | | | | | | | | | | | powershell instead of cmd, win2016 instead of 2012r2
* | | gir: Update annotations from glib git masterRico Tzschichholz2020-05-023-36/+115
| | |
* | | Revert "Add support for element-type to GListModel"Rico Tzschichholz2020-04-2814-278/+7
| | | | | | | | | | | | | | | | | | Breaks vapigen and changes GListModel definition in Gio-2.0.gir This reverts commit a9f45431684e6be3623e272e54d481e4c5d9423d.
* | | build: Bump version to 1.65Philip Chimento2020-04-261-1/+1
| | | | | | | | | | | | | | | We are adding new API for 1.66, so bump the version number to the development series.
* | | girepository: Add GITypeInfo utility functions for storing values in pointersPhilip Chimento2020-04-262-0/+182
| | | | | | | | | | | | | | | | | | | | | | | | This functionality is used in both PyGObject and GJS, and if not done correctly can lead to architecture-specific bugs. It seems best to add API in gobject-introspection for the correct way to do it. See also: GNOME/gjs#309
* | | girepository: Add 1.66 version macroPhilip Chimento2020-04-261-0/+6
| | | | | | | | | | | | Required for adding new API to the 1.66 series.
* | | build: Check Python.h and fail early if not presentPhilip Chimento2020-04-261-0/+3
| | | | | | | | | | | | | | | Checking the Python dependency doesn't ensure the header is present. That needs to be checked separately.
* | | Add support for element-type to GListModelEmmanuele Bassi2020-04-2614-7/+278
| | | | | | | | | | | | | | | | | | | | | | | | GListModel is an interface for creating typed, list-like containers. The data stored is GObject instances, but it's useful to be able to annotate the actual type, for both documentation and code generation purposes. The annotation should be optional, to maintain backward compatibility.
* | | Revert "Add element-type support to GListModel"Emmanuele Bassi2020-04-2610-200/+1
| | | | | | | | | | | | | | | | | | This reverts commit b4c058bba4d95ae10e1e4238f9417fe954f97795. See: #336
* | | Revert "Generate appropriate docs for ListModel with element-type"Emmanuele Bassi2020-04-263-17/+9
| | | | | | | | | | | | | | | | | | This reverts commit ffe3e435e0b7943a0872034223b5f6ea02258ffa. See: #336
* | | Meson: Override gobject-introspection-1.0 dependencyXavier Claessens2020-04-241-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When gobject-introspection-1.0 pkg-config is not found on the system, Meson can fallback to configure g-i as subproject and needs a dependency object to replace the pc file. The dependency file needs to ensure that typelibs are created before compiling any other gir and provide the girdir for files within build directory. It also need to provide glib dependencies required to compile girs.
* | | Revert "Revert "Meson: Fix build when glib is built as subproject""Xavier Claessens2020-04-242-1/+4
| | | | | | | | | | | | This reverts commit 42b7d634a9a7500dcc71651f71844148fc200be3.
* | | Generate appropriate docs for ListModel with element-typeEmmanuele Bassi2020-04-243-9/+17
| | | | | | | | | | | | | | | | | | We need to special case the ListModel container type in the documentation writer so that we don't fall back into array/list automatic conversion in the code snippets.
* | | Add element-type support to GListModelEmmanuele Bassi2020-04-2410-1/+200
| | | | | | | | | | | | | | | | | | | | | | | | GListModel is an interface for creating typed, list-like containers. The data stored is GObject instances, but it's useful to be able to annotate the actual type, for both documentation and code generation purposes. Fixes: #328
* | | Support the gtk-doc action syntaxEmmanuele Bassi2020-04-242-7/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GTK4 allows adding widget-related actions to the documentation with the newly defined syntax: <class_name> '|' <action_name> ':' This means g-ir-scanner needs to detect this new format, to avoid emitting unnecessary warnings. Currently, we don't do anything with the actions; in the future we might want to add them to the documentation in the GIR, but for that we'd need a new element. See also: GNOME/gtk-doc!30
* | | Revert "Meson: Override gobject-introspection-1.0 dependency"Emmanuele Bassi2020-04-248-22/+9
| | | | | | | | | | | | | | | | | | This reverts commit d01a387475e2665275a6cd6b0059bf91121b8300. The nightly run time does not have Meson 0.54
* | | Revert "Meson: Fix build when glib is built as subproject"Emmanuele Bassi2020-04-242-4/+1
| |/ |/| | | | | | | | | This reverts commit ec00edd941953626ac027810f747847f68a71000. The nightly run time does not have Meson 0.54.
* | Meson: Override gobject-introspection-1.0 dependencyXavier Claessens2020-04-238-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | When gobject-introspection-1.0 pkg-config is not found on the system, Meson can fallback to configure g-i as subproject and needs a dependency object to replace the pc file. The dependency file needs to ensure that typelibs are created before compiling any other gir and provide the girdir for files within build directory. It also need to provide glib dependencies required to compile girs. Bump Meson version to 0.54.0 to use meson.override_dependency().
* | Meson: Fix build when glib is built as subprojectXavier Claessens2020-04-222-1/+4
| |