| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Backport of !116
|
| |
|
|
|
|
| |
Backport from !76, as requested in #254
|
| |
|
|
|
|
| |
So we get glib 2.58
|
| |
|
| |
|
|
|
|
| |
This should address flaky builds on vs2017-x64-meson.
|
| |
|
|
|
|
|
|
| |
This makes it possible to parse inputs where typeof is used as part of
cast expression, e.g., in g_object_ref macro expansion. Selection of
VOID is arbitrary since there is no actual implementation of typeof.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This makes it easier to ensure that the right library is
scanned.
|
|
|
|
|
| |
Without this, it will probably take the system library instead of the
one that we are trying to test.
|
|
|
|
|
| |
It's broken again due to glib changes (maybe the __pragma() calls?).
We still have the MinGW build using meson on Windows in the meantime.
|
| |
|
|
|
|
|
| |
GLib, a wrapped dependency, requires 0.48.0, so our CI environments should
have that installed.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From nirbheek:
"The shebang parsing goes like this: everything before the first space is
the interpreter, everything after that is a single argument to that
interpreter. So in meson, if the interpreter in the shebang is `env`,
we ignore it and slurp the rest as the actual interpreter and parse it
with shell syntax to handle spaces correctly.
IIRC the py.exe python launcher on windows also knows that it should
ignore /usr/bin/env and look at the rest to find the actual interpreter
you want to use."
|
|
|
|
|
| |
Disables the new "W504 line break after binary operator" warning.
Fixes wrong escape sequences "W605 invalid escape sequence '\.'"
|
|
|
|
|
|
|
| |
GLib 2.57.2 introduced __typeof__ in g_clear_pointer, which the scanner
failed to parse.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/328
|
|
|
|
|
|
|
| |
For some reason, meson build system did not install warnlib.
Let's do it.
Patch from Arch Linux
|
| |
|
| |
|
| |
|
|
|
|
|
| |
MinGW Python doesn't use .pyd so this makes sure we always look for the
file distutils produces for the given Python setup.
|
|\
| |
| |
| |
| | |
MSVC builds: Further fix giscanner Python module and the Python scripts in tools/
See merge request GNOME/gobject-introspection!61
|
| |
| |
| |
| |
| |
| |
| |
| | |
Unfortunately, this is still needed for Visual Studio versions that do
not have an official CPython release that uses the CRT which the
compiler targets to, such as Visual Studio 2012 and 2013
This reverts commit a6a479af1bbe7c0d17766f1408c9fcb720df78dc.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need those includes and defines as we need to revert the commit that
revert the hacks on Windows, as they are still necessary in the cases
where we are using a Python installation that is not linked to the CRT
that the currently used compiler targets to, such as on Visual Studio
2012 and 2013, where no official Python release is linked to their
respective CRTs.
This reverts commit e36350e3fdcb18a21089256b63298d6e3a49212b.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For Visual Studio builds, it is likely that we specify a specific Python
installation as there may well be multiple Python installations, but
_giscanner.pyd gets tied to the particular Python DLL that it was built
with. So, we cannot just use /usr/bin/env python3 in such a case on
Visual Studio, but instead we use the full path to the Python executable
in the shebang so that the correct Python installation is used, when
running the installed scripts. This is necessary as Meson could bump
the Python version it requires but _giscanner.pyd could not be used on
the newer Python that is required due to differences in the Python
version and the CRT Python itself is linked to, for instance.
We continue to use /usr/bin/env python[2|3] for other builds.
|
|\
| |
| |
| |
| | |
g-ir-tool-templates.in: Use the correct Python module filename extension on Windows
See merge request GNOME/gobject-introspection!60
|
| |
| |
| |
| |
| |
| |
| | |
The .so file extension for compiled C Python modules is only valid if we
are not on Windows. Use .pyd for the extension for Python modules on
Windows so that we can use g-ir-scanner et al properly on Windows when
installed.
|
|/
|
|
|
|
| |
Let people know the common pitfalls when building and using the Python
scripts when building, to avoid confusions on the Python installation
that is used to run the Python scripts.
|
| |
|
|
|
|
|
|
|
|
| |
doctool is an auto option and was disabled by the recent addition of
a new dependency on the markdown Python module. Since we didn't have that
in our testing docker image the tests were just skipped.
This makes sure we error out if any dependencies are missing again.
|
|
|
|
|
|
| |
This reverts a small part of 19c03a46b1 to make tests pass again.
The test error weren't noticed because a new Python dependency was
missing, leading to those tests getting skipped.
|
|
|
|
|
| |
In 7f67146d8254 the FORMAT list was extended but the argparser uses
the first item as default value. This broke distcheck.
|
| |
|
| |
|
|
|
|
|
| |
tests/scanner/meson.build was missing leading to:
tests/meson.build:20:0: ERROR: Non-existent build file 'tests/scanner/meson.build'
|
|
|
|
|
| |
Some structs are missing for me when running update-glib-annotations.
I've kept them as is and just included theannotation updates.
|
|\
| |
| |
| |
| | |
tests: depend on flake8 instead of including pep8/pyflakes
See merge request GNOME/gobject-introspection!58
|
| |
| |
| |
| |
| | |
This prints the error count to stderr, and more importantly 0 when
everything is OK so we know it did something.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
g-i includes an old version of pep8 and pyflakes and uses that
during "make check".
It (1) doesn't catch all cases newer versions of pycodestyle/pyflakes catch
and (2) doesn't test all Python files (3) doesn't work with meson.
Instead of updating just remove them and depend on flake8 instead.
To run the checks simply run flake8 in the root dir.
This also makes it possible to run those checks when using meson and
not autotools.
To not get test suite failures on flake8 updates move the checks from
"make check" to an extra "make check.quality" target.
|
|\
| |
| |
| |
| | |
Add DevDocs formatting for GJS
See merge request GNOME/gobject-introspection!57
|
| |
| |
| |
| | |
- Fix autopep8 errors.
|
| | |
|
| | |
|
| | |
|