summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gicsanner/message.py: Windows: Fix running on different drivesfix.win.cmd.3-38Chun-wei Fan2020-09-181-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.
* version bumpChristoph Reiter2020-09-121-1/+1
|
* release1.66.0Christoph Reiter2020-09-122-1/+24
|
* gir: Update annotations from glib 2.66.0Christoph Reiter2020-09-121-3/+3
|
* 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.
* | gir: Update annotations from glib git masterRico Tzschichholz2020-09-022-15/+51
|/
* gir: Update annotations from glib git masterRico Tzschichholz2020-08-232-156/+381
|
* Merge branch 'property-method-name-conflict' into 'master'Mathieu Duponchelle2020-08-081-0/+9
|\ | | | | | | | | website: Add section about property/method name conflicts See merge request GNOME/gobject-introspection!232
| * website: Add section about property/method name conflictsPhilip Chimento2020-08-021-0/+9
| | | | | | | | | | This is a trap that C APIs can fall into, so it should be mentioned on the "Writing Bindable APIs" page.
* | gir: Update annotations from glib git masterRico Tzschichholz2020-08-041-156/+0
|/
* gir: Update annotations from glib git masterRico Tzschichholz2020-08-013-30/+259
|
* Merge branch 'objectinfo_nullable' into 'master'Mathieu Duponchelle2020-07-221-14/+14
|\ | | | | | | | | Add missing nullable annotations to GObjectInfo See merge request GNOME/gobject-introspection!225
| * Add missing nullable annotations to GObjectInfoJonne Haß2020-05-261-14/+14
| |
* | Merge branch 'standalone-doc-sections' into 'master'Mathieu Duponchelle2020-07-2212-28/+124
|\ \ | | | | | | | | | | | | Add the notion of standalone doc sections. See merge request GNOME/gobject-introspection!226
| * | Add the notion of standalone doc sections.Mathieu Duponchelle2020-07-1212-28/+124
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'sincify-members-and-fields' into 'master'Mathieu Duponchelle2020-07-2211-95/+221
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | giscanner: parse block comments for members and fields Closes #348 See merge request GNOME/gobject-introspection!230
| * | | giscanner: parse block comments for members and fieldsMathieu Duponchelle2020-07-1211-95/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge branch 'patch-1' into 'master'Christoph Reiter2020-07-143-6/+22
|\ \ \ \ | |/ / / |/| | | | | | | | | | | [Win32] Fix gi-dump-types.c to build on Windows See merge request GNOME/gobject-introspection!218
| * | | meson: also build gi-dump-types on WindowsChristoph Reiter2020-05-193-2/+6
| | | |
| * | | Use `_get_oshandle()` and `g_win32_output_stream_new()` instead sinceGisle Vanem2020-05-151-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | `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?
| * | | Obs! Change back to `g_unix_output_stream_new()` for non-Win32.Gisle Vanem2020-05-141-1/+1
| | | |
| * | | [Win32] Fix gi-dump-types.c to build on WindowsGisle Vanem2020-05-141-4/+12
| | | |
* | | | gir: Update annotations from glib git masterRico Tzschichholz2020-06-263-109/+861
| | | |
* | | | Merge branch 'fix-pc-gen' into 'master'Christoph Reiter2020-06-241-2/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | meson.build: Fix generating pkg-config files See merge request GNOME/gobject-introspection!229
| * | | | meson.build: Fix generating pkg-config filesChun-wei Fan2020-06-241-2/+9
|/ / / / | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge branch 'fix-race' into 'master'Emmanuele Bassi2020-06-171-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | gir: add a dependency for g-ir-compiler for building .girs See merge request GNOME/gobject-introspection!228
| * | | | gir: add a dependency for g-ir-compiler for building .girsAlexander Kanavin2020-06-171-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | gir: Update annotations from glib git masterRico Tzschichholz2020-06-073-107/+423
| |/ / |/| |
* | | Merge branch 'ci-build-examples' into 'master'Christoph Reiter2020-05-193-2/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CI: add two jobs building a project using g-i with meson and autotools Closes #341 See merge request GNOME/gobject-introspection!223
| * | | CI: also build the example using libgirepositoryChristoph Reiter2020-05-191-0/+4
| | | |
| * | | CI: add two jobs building a project using g-i with meson and autotoolsChristoph Reiter2020-05-193-2/+32
|/ / / | | | | | | | | | | | | | | | | | | This tests that after installing the g-i tools a simple project using them can be build with meson and autotools. Fixes #341
* | | meson: fix include dir in .pc filesChristoph Reiter2020-05-191-0/+2
| | | | | | | | | | | | See !207
* | | Merge branch 'pkgconfig' into 'master'Xavier Claessens2020-05-183-85/+32
|\ \ \ | | | | | | | | | | | | | | | | Meson: Use pkgconfig generator See merge request GNOME/gobject-introspection!207
| * | | Meson: Use pkgconfig generatorXavier Claessens2020-04-233-85/+32
| | | |
* | | | Merge branch 'find_program_override' into 'master'Christoph Reiter2020-05-172-22/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Don't override finding executables when using pre-built tools. See merge request GNOME/gobject-introspection!212
| * \ \ \ Merge remote-tracking branch 'upstream/master' into find_program_overrideJohn Ericson2020-05-1738-120/+692
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge branch 'fix-option-naming' into 'master'Christoph Reiter2020-05-172-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Rename option `gi_cross_use_{host -> prebuilt}_gi` See merge request GNOME/gobject-introspection!211
| * | | | | Rename option `gi_cross_use_{host -> prebuilt}_gi`John Ericson2020-05-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old name used "host" according to Yocto's definition, but not Meson's. The new name works for everyone.
* | | | | | Merge branch 'remove-bit-of-old-autoconf' into 'master'Christoph Reiter2020-05-172-9/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | Remove old autoconf fallback code for the python tools. See merge request GNOME/gobject-introspection!221
| * | | | | Remove old autoconf fallback code for the python tools.John Ericson2020-05-172-9/+3
|/ / / / /
* | | | | Merge branch 'wip/jtojnar/doc-fixes' into 'master'Christoph Reiter2020-05-159-10/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Minor docs fixes See merge request GNOME/gobject-introspection!220
| * | | | | docs: Unify DocBook doctypeJan Tojnar2020-05-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | docs: Update website linkJan Tojnar2020-05-158-8/+8
|/ / / / /
* | | | | Merge branch 'dumper-lto-fix' into 'master'Christoph Reiter2020-05-151-2/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | dumper: Fix missing symbols in LTO case or with overridden symbol visibility settings Closes #280 See merge request GNOME/gobject-introspection!216
| * | | | dumper: Fix missing symbols in LTO case or with overridden symbol visibility ↵Christoph Reiter2020-05-151-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Add missing nullable annotation to g_object_info_get_parentJonne Haß2020-05-141-1/+1
| | | |