| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
When using `GI_SCANNER_DEBUG=save-temps`, the temporary input file
to be preprocessed and temporary output file that is result of this
preprocessing are retained for debugging purposes. Use together with
`-v` option to actually determine names of those temporary files.
This should make it easier to determine the source of parsing errors,
like those described in the #247.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the following macros and functions: GI_MAJOR_VERSION, GI_MICRO_VERSION,
GI_MINOR_VERSION, GI_CHECK_VERSION, gi_get_major_version,gi_get_micro_version,
gi_get_minor_version.
Since we share a prefix with glib we have to namespace these by using the gi_
prefix. g_gi would also work but we already export symbols with gi_ like
gi_cclosure_marshal_generic(), gi_type_tag_get_ffi_type() and
gi_type_info_extract_ffi_return_value(), so let's not add another naming scheme.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fixes #96
GITypeInfo is a GIBaseInfo so calling g_base_info_get_name() on it should do something
sensible.
g_base_info_get_name() has always been documented to return NULL in case no name
is available so return that instead.
|
|
|
|
| |
See #66
|
|
|
|
|
|
| |
section
Move them to where the type is documented.
|
|
|
|
| |
It's easy to break non-srcdir builds so make sure we catch it in CI
|
|\
| |
| |
| |
| | |
docs: Field offsets are in the units of bytes
See merge request GNOME/gobject-introspection!97
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
docs: Remove everything not related to libgirepository and restructure. Fixes #244
Closes #244
See merge request GNOME/gobject-introspection!96
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #244
The gtk-doc docs were including some bits of overal g-i docs but mostly unfinished
and outdated.
We now have the general docs in sphinx so remove the duplication and make the gtk-docs
just about the libgirepository API and nothing more.
This also renames some titles and fixes some missing links in the struct hierarchy
while at it.
|
| |
| |
| |
| |
| |
| | |
My goal here is to keep it simple and get people started quickly.
See !96
|
|/ |
|
|\
| |
| |
| |
| | |
meson: Port offsets tests
See merge request GNOME/gobject-introspection!95
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
meson: Port repository tests
See merge request GNOME/gobject-introspection!94
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
docs: update and push libgirepository docs to gitlab pages
Closes #231
See merge request GNOME/gobject-introspection!91
|
| |
| |
| |
| |
| |
| |
| |
| | |
Move things around and rename things until gtk-doc is happy.
This also moves the "Since" annotations to the next stable releases and
adds version added info for g_callable_info_get_instance_ownership_transfer()
and g_struct_info_find_field().
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
meson: Run annotationparser tests
See merge request GNOME/gobject-introspection!92
|
| |/ |
|
|\ \
| |/
|/|
| |
| | |
Drop deprecated and redundant universal newline mode
See merge request GNOME/gobject-introspection!93
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
sourcescanner: Allow empty declarations. Fixes #216
Closes #216
See merge request GNOME/gobject-introspection!89
|
| |
| |
| |
| |
| | |
As far as I see these are not valid C and only allowed in C++11.
But they do occur in the wild (mingw headers) so let's try to handle them.
|
| |
| |
| |
| | |
glib versions leaked
|
|\ \
| | |
| | |
| | |
| | | |
Replace linked lists with arrays in source scanner
See merge request GNOME/gobject-introspection!90
|
|/ /
| |
| |
| | |
Reduce total number of memory allocations and increase data locality.
|
| |
| |
| |
| |
| | |
So it's visible on the main website and has nice links to the
issues and merge requests.
|
|/ |
|
|\
| |
| |
| |
| | |
Creating gir for GIRepository requires girepository library.
See merge request GNOME/gobject-introspection!88
|
| |
| |
| |
| | |
This should address flaky builds on vs2017-x64-meson.
|
|\ \
| |/
| |
| |
| | |
Ignore __pragma keyword used by MSVC
See merge request GNOME/gobject-introspection!87
|
|/ |
|
|\
| |
| |
| |
| | |
Drop all Python 2 compat code
See merge request GNOME/gobject-introspection!85
|
| |
| |
| |
| | |
We only support 3.4+ now.
|
|\ \
| | |
| | |
| | |
| | | |
sourcescanner: collect error messages and expose them
See merge request GNOME/gobject-introspection!83
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It just printed errors to stderr and always returns success even if parsing
fails. This prevents us to write any tests for it.
As a first step collect all lexing/parsing error messages and print them to stderr after
the scanner is done. This allows us to add some regression tests for !78.
In the future we probably want to raise an exception with those errors if parsing
fails.
|
|\ \
| | |
| | |
| | |
| | | |
ci: Add a msys2 autotools job
See merge request GNOME/gobject-introspection!86
|
|/ /
| |
| |
| |
| | |
Getting rid of autotools wont be easy, so make sure we run all tests on Windows,
not just the ones ported to meson.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
cachestore: don't try to catch nonexisting pickle.BadPickleGet. Fixes #159
Closes #159
See merge request GNOME/gobject-introspection!84
|
|/
|
|
|
| |
pickle.loads() can pretty much throw any kind of exception and we can't
handle it besides ignoring it, so just catch all.
|
|
|
|
| |
This reverts commit 86b42e633c7679d97e7844ecec4c7783c6aedff0.
|