| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Up to now, section annotations had to match a class or interface
name in order to be serialized in the gir.
With this commit, they now get serialized as docsection nodes,
for potential use by documentation tools.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
giscanner: parse block comments for members and fields
Closes #348
See merge request GNOME/gobject-introspection!230
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There was previously no mechanism for tagging enum members
and struct fields with Since tags (or other, eg deprecation tags).
While the customary place to add Since tags for these symbols
is inline in the parent symbol's documentation eg:
/**
* Foo:
*
* @FOO_BAR: some bar. Since X.Y
*/
And variations on that theme, implementing parsing for that scheme
would result in a pretty ambiguous grammar, especially if we also
want support for multiple tags.
Instead, the solution implemented here is to allow providing
documentation for individual members and fields through their
own separate block, as is done for virtual functions already.
Inline comments are still used, with a lower precedence.
Fixes #348
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
[Win32] Fix gi-dump-types.c to build on Windows
See merge request GNOME/gobject-introspection!218
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`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?
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
meson.build: Fix generating pkg-config files
See merge request GNOME/gobject-introspection!229
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
gir: add a dependency for g-ir-compiler for building .girs
See merge request GNOME/gobject-introspection!228
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
CI: add two jobs building a project using g-i with meson and autotools
Closes #341
See merge request GNOME/gobject-introspection!223
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
This tests that after installing the g-i tools a simple project using
them can be build with meson and autotools.
Fixes #341
|
| | |
| | |
| | |
| | | |
See !207
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Meson: Use pkgconfig generator
See merge request GNOME/gobject-introspection!207
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Don't override finding executables when using pre-built tools.
See merge request GNOME/gobject-introspection!212
|
| |\ \ \ \
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Rename option `gi_cross_use_{host -> prebuilt}_gi`
See merge request GNOME/gobject-introspection!211
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The old name used "host" according to Yocto's definition, but not
Meson's. The new name works for everyone.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | | |
Remove old autoconf fallback code for the python tools.
See merge request GNOME/gobject-introspection!221
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Minor docs fixes
See merge request GNOME/gobject-introspection!220
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
|/ / / / / |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
dumper: Fix missing symbols in LTO case or with overridden symbol visibility settings
Closes #280
See merge request GNOME/gobject-introspection!216
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
|
| |_|/
|/| | |
|
| | |
| | |
| | |
| | | |
The newest flake8 has started to detect this.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
meson.build_root() is the root of the main project, better use
meson.current_build_dir() instead.
|
| | |
| | |
| | |
| | | |
powershell instead of cmd, win2016 instead of 2012r2
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Breaks vapigen and changes GListModel definition in Gio-2.0.gir
This reverts commit a9f45431684e6be3623e272e54d481e4c5d9423d.
|
| | |
| | |
| | |
| | |
| | | |
We are adding new API for 1.66, so bump the version number to the
development series.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Required for adding new API to the 1.66 series.
|
| | |
| | |
| | |
| | |
| | | |
Checking the Python dependency doesn't ensure the header is present.
That needs to be checked separately.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit b4c058bba4d95ae10e1e4238f9417fe954f97795.
See: #336
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit ffe3e435e0b7943a0872034223b5f6ea02258ffa.
See: #336
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
This reverts commit 42b7d634a9a7500dcc71651f71844148fc200be3.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|