summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* docs: Remove mention of mailing listsebassi/for-masterEmmanuele Bassi2021-03-173-4/+3
| | | | We don't use them any more; discussions happen on Discourse.
* Post-release version bump to 1.67.2Emmanuele Bassi2021-03-121-1/+1
|
* Release gobject-introspection 2.67.11.67.1Emmanuele Bassi2021-03-122-3/+6
|
* Merge branch 'ebassi/pre-release' into 'master'Emmanuele Bassi2021-03-123-9/+37
|\ | | | | | | | | Ebassi/pre release See merge request GNOME/gobject-introspection!260
| * tests: Update line numbers for expected Regress GIREmmanuele Bassi2021-03-121-8/+8
| |
| * Use g_memdup2() with newer versions of GLibEmmanuele Bassi2021-03-122-1/+29
|/ | | | | The g_memdup() function has been deprecated, so we should use the new g_memdup2() function if available.
* gir: Update annotations from glib git masterRico Tzschichholz2021-03-121-8/+18
|
* gir: Update annotations from glib git masterRico Tzschichholz2021-03-062-49/+121
|
* Merge branch 'wip/carlosg/signal-tests' into 'master'Emmanuele Bassi2021-03-032-0/+107
|\ | | | | | | | | tests: Add "signals" test object See merge request GNOME/gobject-introspection!259
| * tests: Add "signals" test objectwip/carlosg/signal-testsCarlos Garnacho2021-03-032-0/+107
|/ | | | | | | | It is worth to test marshalling of signal arguments, add a basic (and barebones) object to add signals and emission methods to, so bindings can test the signal handlers. Related: https://gitlab.gnome.org/GNOME/gjs/-/issues/377
* gir: Update annotations from glib git masterRico Tzschichholz2021-02-042-6/+28
|
* gir: Update annotations from glib git masterRico Tzschichholz2021-01-313-49/+386
|
* CI: pin mypy for nowChristoph Reiter2021-01-252-2/+2
| | | | | The latest release (0.800) finds a handful of new problems that need to be addressed first.
* gir: Update annotations from glib git masterRico Tzschichholz2020-12-163-130/+282
|
* gir: Update annotations from glib git masterRico Tzschichholz2020-11-193-138/+228
|
* Merge branch 'req-py36' into 'master'Christoph Reiter2020-11-126-7/+13
|\ | | | | | | | | Require Python 3.6 See merge request GNOME/gobject-introspection!253
| * Require Python 3.6Christoph Reiter2020-11-126-7/+13
|/ | | | 3.5 is EOL now and we'd like to use newer typing features
* Merge branch 'mypy-basics' into 'master'Christoph Reiter2020-11-088-7/+16
|\ | | | | | | | | Add basic mypy support; Require Python 3.5 See merge request GNOME/gobject-introspection!251
| * Add basic mypy supportChristoph Reiter2020-11-077-6/+15
| | | | | | | | | | | | Silence some errors, run mypy in CI Adding annotations to functions/classes will make mypy check them.
| * Require Python 3.5Christoph Reiter2020-11-071-1/+1
| | | | | | | | 3.4 is long EOL and we don't test it, so don't pretend that we support it.
* | Merge branch 'define-PY_SSIZE_T_CLEAN' into 'master'Christoph Reiter2020-11-081-0/+1
|\ \ | | | | | | | | | | | | giscanner: always define PY_SSIZE_T_CLEAN See merge request GNOME/gobject-introspection!244
| * | giscanner: always define PY_SSIZE_T_CLEANChristoph Reiter2020-10-061-0/+1
| | | | | | | | | | | | This is required for Python 3.10 and always a good idea anyway.
* | | Merge branch 'py-type-assign' into 'master'Christoph Reiter2020-11-081-5/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Don't assume Py_TYPE being a macro Closes #358 See merge request GNOME/gobject-introspection!243
| * | | Don't assume Py_TYPE being a macroChristoph Reiter2020-10-061-5/+5
| |/ / | | | | | | | | | | | | | | | | | | It got changed to a function in Python 3.10. Use the Py_SET_TYPE macro suggested at https://docs.python.org/3.10/whatsnew/3.10.html instead. Fixes #358
* | | Merge branch 'open-cleanup' into 'master'Christoph Reiter2020-11-0713-33/+35
|\ \ \ | | | | | | | | | | | | | | | | open cleanup: explicit encoding, close fds See merge request GNOME/gobject-introspection!250
| * | | Always close filesChristoph Reiter2020-11-072-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This means flushing changes and closing the fd. Otherwise this is done by the GC eventually.. Detected using PYTHONTRACEMALLOC=1 PYTHONDEVMODE=1
| * | | Always pass an encoding to open() using text modeChristoph Reiter2020-11-0713-17/+17
| | |/ | |/| | | | | | | | | | | | | | | | | | | Otherwise we'll end up using the locale encoding. While it's usually utf-8, that's not the case on Windows. There is one place where a file with filenames is passed, not sure there so I left it and passed a explicit None.
* | | Merge branch 'remove-libtoolimporter' into 'master'Christoph Reiter2020-11-074-98/+9
|\ \ \ | |/ / |/| | | | | | | | Remove LibtoolImporter See merge request GNOME/gobject-introspection!249
| * | Remove LibtoolImporterChristoph Reiter2020-11-074-98/+9
|/ / | | | | | | | | From what I can see this was used for importing the C ext in an uninstalled libtool build of g-i. We no longer use libtool, so this is no longer needed.
* | Merge branch 'fix-no-data' into 'master'Christoph Reiter2020-11-071-1/+1
|\ \ | | | | | | | | | | | | meson.build: exclude girepo_dep if introspection data is disabled See merge request GNOME/gobject-introspection!248
| * | meson.build: exclude girepo_dep if introspection data is disabledAlexander Kanavin2020-10-201-1/+1
|/ / | | | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
* | gir: Update annotations from glib git masterRico Tzschichholz2020-10-203-39/+507
| |
* | gir: Update annotations from glib 2.66.1Christoph Reiter2020-10-201-8/+8
| |
* | Merge branch 'monkey_patch_distutils_get_msvcr' into 'master'Nirbheek Chauhan2020-10-151-0/+30
|\ \ | |/ |/| | | | | monkey patch distutils.cygwinccompiler.get_msvcr See merge request GNOME/gobject-introspection!246
| * monkey patch distutils.cygwinccompiler.get_msvcrjensgoe2020-10-141-0/+30
|/
* Update NEWSChristoph Reiter2020-10-031-0/+9
|
* Merge branch 'revert-section-matching' into 'master'Mathieu Duponchelle2020-09-292-40/+1
|\ | | | | | | | | Revert "giscanner: Fix section matching for documentation" See merge request GNOME/gobject-introspection!241
| * Revert "giscanner: Fix section matching for documentation"Mathieu Duponchelle2020-09-292-40/+1
|/ | | | | | | | | This reverts commit de6512b31b614567bf1800406303d1ccfb6d9455. This was causing naming conflicts when the SECTION documentation was picked over the class documentation. See https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/360
* gicsanner/message.py: Windows: Fix running on different drivesChun-wei Fan2020-09-261-2/+8
| | | | | | | | | os.path.relpath() will throw a ValueError when the two paths that are fed to it are on different drives, at least when running under cmd.exe consoles. Fix this by falling back to the full path when this ValueError is thrown.
* Merge branch 'wip/smcv/test-more-flags' into 'master'Philip Chimento2020-09-202-0/+78
|\ | | | | | | | | gimarshallingtests: Add more tests for flags See merge request GNOME/gobject-introspection!235
| * girmarshalling tests: Diagnose GValue not holding enum/flagswip/smcv/test-more-flagsSimon McVittie2020-09-191-0/+4
| | | | | | | | | | | | | | | | If g_value_get_enum() or g_value_get_flags() is about to fail with a precondition check failure, we can improve diagnostics by issuing a more informative critical warning. Signed-off-by: Simon McVittie <smcv@debian.org>
| * gimarshallingtests: Add more tests for flagsSimon McVittie2020-09-192-0/+30
| | | | | | | | | | | | | | | | Bindings sometimes need to handle flags and enums separately, so everything that is tested for enums should ideally be tested separately for flags. Signed-off-by: Simon McVittie <smcv@debian.org>
| * tests: Add a test-case for a vfunc returning flags in different waysSimon McVittie2020-09-192-0/+44
|/ | | | | | | We already had a test for enums, but flags are not precisely the same, so testing both can give bindings better coverage. Signed-off-by: Simon McVittie <smcv@debian.org>
* gir: Update annotations from glib 2.66.0Christoph Reiter2020-09-171-3/+3
|
* Update NEWS and version bumpChristoph Reiter2020-09-122-1/+24
|
* Merge branch 'fix-350' into 'master'Mathieu Duponchelle2020-09-072-1/+40
|\ | | | | | | | | | | | | giscanner: Fix section matching for documentation Closes #350 See merge request GNOME/gobject-introspection!237
| * giscanner: Fix section matching for documentationJames Westman2020-09-072-1/+40
|/ | | | | | | | | | | | | When writing documentation to the GIR files, GIR tries to match classes with their matching SECTION: comment in the source code. Some codebases use kebab-case or CamelCase for their section names, but GIR always expects them to be flatcase or the matching will fail. This commit converts all section names to flatcase (by removing "-" and converting to lowercase) while they are being parsed, so that they are matched properly later on. Fixes #350.
* Merge branch 'clang-cl' into 'master'Mathieu Duponchelle2020-09-053-6/+39
|\ | | | | | | | | giscanner: Add support for using clang-cl See merge request GNOME/gobject-introspection!234
| * MSVC.README.rst: Mention about the clang-cl supportChun-wei Fan2020-08-251-0/+9
| | | | | | | | | | Let people know how building G-I and running g-ir-scanner with clang-cl and friends is being supported, as this support is now added.
| * giscanner: Add support for using clang-clChun-wei Fan2020-08-242-6/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds quick support for using 'clang-cl' (CLang's emulation of the Visual Studio compiler) to run giscanner. This will still initialize things mostly in the MSVC fashion, except that it will also check whether both 'CC' and 'CXX' envvars are set to 'clang-cl [args]', as per the way that Meson supports using 'clang-cl'. Since we are using distutils to set up the compiler instance, when we enable 'clang-cl' support, we trick distutils that we have already initialized the MSVCCompiler parameters as needed. We just leave out the compiler flags as we don't really care about debug symbols nor optimization with the built dumper binary, as it is gone as soon as the .gir file is generated. This will build G-I successfully with all the tests passed.