| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
Patch taken from #74 (by Yeti)
|
|
|
|
| |
So we don't ignore any PYTHONPATH set by the user.
|
| |
|
|
|
|
|
|
|
|
| |
This enables various compiler warnings project wide and disables the triggered
ones for each library/executable. This should give us roughly the same behaviour
as with autotools.
Tested with gcc8 and clang7.
|
|
|
|
| |
Removes a warning on an unreplaced pattern.
|
|
|
|
|
| |
The configure_file target has grown a `copy` argument to avoid using an
empty configuration_data object since Meson 0.47.
|
|
|
|
|
| |
We should probably require a newer stable release, but this should be
enough to remove the warnings.
|
|
|
|
|
| |
Like we currently do with autotools.
See https://github.com/mesonbuild/meson/issues/4117
|
|
|
|
|
|
| |
This requires a code change in codegen.py to support the case whre output files
are not installed in the working directory. Instead of using the output
path for the header include use the relative path to the output source file.
|
|
|
|
| |
Not sure if they are used, but we should try to do the same thing as autotools for starters
|
|
|
|
| |
Noticed while comparing meson and autotools output
|
|
|
|
| |
Noticed when comparing meson and autotools build results
|
|
|
|
|
| |
Add a simple test using the docwriter so we trigger the docwriter related
Python imports.
|
|
|
|
|
|
|
|
|
|
| |
Clean up the code and make it work with meson. Assume a fixed build dir
to make it less magic and so we can give better error messages.
This also removes all the include path logic because since c93dafe97e70
it no longer parses headers anyway and it wasn't doing anything with it.
Also tested on Windows.
|
|
|
|
|
|
|
|
|
|
| |
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.
|