summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'msvc.fixes.328' into 'gnome-3-28'gnome-3-28Christoph Reiter2018-08-074-9/+9
|\ | | | | | | | | MSVC Builds: Fix _giscanner projects See merge request GNOME/gobject-introspection!21
| * win32/gi-introspection-msvc.mak: Some fixupsChun-wei Fan2018-03-211-3/+3
| | | | | | | | | | | | | | | | | | Fix the header name for GObject-2.0.gir, and do not include the GLib-2.0.gir in Gio-2.0.gir, as it already includes GObject-2.0.gir which in turn includes GLib-2.0.gir. This makes these .gir files conform better to the ones produced by the autotools/Meson builds.
| * MSVC Builds: Fix _giscanner projectsChun-wei Fan2018-03-203-6/+6
| | | | | | | | | | | | The scanner[lexer|parser] sources are now in giscanner/, not $(srcroot), so we need to update the Visual Studio project files to make sure things build properly.
* | Release 1.56.11.56.1Rico Tzschichholz2018-04-091-2/+2
| |
* | gir: Update annotations from glib 2.56.1Rico Tzschichholz2018-04-091-12/+37
| |
* | giscanner: fix --no-libtool on macOSTom Schoonjans2018-04-091-1/+1
|/ | | | | | | | | | | | | | | | Currently g-ir-scanner fails on macOS when invoked in --no-libtool mode if the library it links to has not been installed into its destination (which is likely to be the case). In libtool mode this issue does not occur as DYLD_LIBRARY_PATH will get set by libtool in an appropriate manner. This patch ensures DYLD_LIBRARY_PATH will get set. This patch is also essential for meson and cmake to generate gobject-introspection bindings. More information can be found e.g. at https://mail.gnome.org/archives/gtk-osx-users-list/2018-February/msg00000.html, and the github repo that was produced subsequently at https://github.com/wagavulin/gir-mac-sample.
* Release 1.56.01.56.0Rico Tzschichholz2018-03-131-3/+3
|
* The third parameter of assertion_message is an integer.Danny 'Guru' Forghieri2018-03-101-1/+1
| | | | | Signed-off-by: Nirbheek Chauhan <nirbheek@centricular.com> (cherry picked from commit 52a5c7eb4e63f45a9d982de81515bbf7e13e3fd5)
* gir: Update annotations from GLib git masterRico Tzschichholz2018-03-102-2/+23
| | | | (cherry picked from commit 695ed85afa9034a8d68a71572fa5450c428cd8be)
* Update bug reporting links.Tomasz Miąsko2018-03-105-5/+8
| | | | | | | | Also disable automatic hyphenation in manual pages to prevent wrapping long URLs. Ensures that URLs can be easily navigated by clicking on them. (cherry picked from commit 6a8e1b8ad69e5ec4609295e8bf72547d70836871)
* Release 1.55.21.55.2Rico Tzschichholz2018-02-221-2/+2
|
* Update the NEWSEmmanuele Bassi2018-02-221-2/+13
|
* gir: Update annotations from GLib git masterRico Tzschichholz2018-02-163-16/+32
|
* Create a new symbol instead of changing its identifier in place.Tomasz Miąsko2018-02-132-2/+15
| | | | Also free memory associated with macro name when it is unused.
* Reuse const_table between calls to SourceScanner parse_files and parse_macros.Tomasz Miąsko2018-02-138-11/+55
| | | | | | | | Macro constants may now refer to constants defined in source files. Test case provided by Philip Chimento. Fixes issues #173 and #75.
* gir: Update annotations from GLib git masterRico Tzschichholz2018-02-123-123/+263
|
* Revert "Update the GLib annotations"Rico Tzschichholz2018-02-123-391/+3733
| | | | This reverts commit 96c2e06aa661d37ad1cdf31825bbb921125357ae.
* Merge branch 'type-specifier-qualifier-order' into 'master'Emmanuele Bassi2018-02-093-4/+27
|\ | | | | | | | | Fix parsing when type_specifier comes before type_qualifier. See merge request GNOME/gobject-introspection!6
| * Fix parsing when type_specifier comes before type_qualifier.Tomasz Miąsko2018-02-093-4/+27
|/ | | | | | | | | | | | | | | | If type_specifier comes after type_qualifier, then GISourceType representing type_specifier will be merely updated with qualifier flags. On the other hand, when this order is reversed the type qualifier used to be attached as a separate node through base_type (with CTYPE_INVALID), and interpreted incorrectly in transformer code. This commit changes this behaviour so that information about type qualifiers is stored directly in GISourceType corresponding to type specifier. It also fixes analogous issue with storage_class_specifier and function_specifier. From higher level viewpoint, it for example represents `const char*` and `char const*` in equivalent manner after parsing, and addresses issue #79.
* Merge branch '120-subdir-objects' into 'master'Emmanuele Bassi2018-02-096-24/+24
|\ | | | | | | | | | | | | Resolve "[PATCH] adding subdir-objects to AM_INIT_AUTOMAKE" Closes #120 See merge request GNOME/gobject-introspection!2
| * removing $(srcdir) because it is not replaced correctly and not necessaryKarl-Philipp Richter2018-02-084-17/+17
| | | | | | | | See #120.
| * build: Built sources show up in subdirsPhilip Chimento2018-02-081-6/+6
| | | | | | | | | | | | | | | | Since activating the subdir-objects option, the .c and .h files generated by Yacc and Lex will show up in the same directory as the source .y and .l files. The Makefile's BUILT_SOURCES directive should reflect that. See #120.
| * adding subdir-objects to AM_INIT_AUTOMAKE in order to avoid warning during ↵Karl-Philipp Richter2018-02-081-1/+1
| | | | | | | | | | | | autoreconf See #120.
* | Merge branch 'preserve-complete-ctype' into 'master'Emmanuele Bassi2018-02-093-3/+4
|\ \ | |/ |/| | | | | | | | | Preserve complete_ctype when using type from annotation. Closes #190 See merge request GNOME/gobject-introspection!5
| * Preserve complete_ctype when using type from annotation.Tomasz Miąsko2018-02-093-3/+4
|/ | | | | | | | When replacing type with one from user annotation we already preserve ctype, do the same for complete_ctype to preserve const / volatile qualifiers if any. Fixes issue #190.
* Merge branch 'issue-188' into 'master'Emmanuele Bassi2018-02-081-1/+1
|\ | | | | | | | | | | | | Resolve "giscanner: don't print "suppressed N warnings" if --quiet was specified" Closes #188 See merge request GNOME/gobject-introspection!1
| * giscanner: don't print "suppressed N warnings" if --quiet was specifiedTim-Philipp Müller2018-02-081-1/+1
|/
* Update the DOAP fileEmmanuele Bassi2018-02-081-0/+16
| | | | | Rico has been doing releases for a long while, and I've picked up the bug triaging and patch reviews.
* Update the GLib annotationsEmmanuele Bassi2018-02-083-3733/+391
| | | | Re-sync with GLib as of commit a4fc4c1e6eb57b10e2b60f522d11fd2c256dee31.
* Update the NEWS fileEmmanuele Bassi2018-02-081-1/+24
| | | | | | Releases do not have a Git log, and we lack a way to give people packaging gobject-introspection an overview of what changed during the past development cycle.
* docs: Mention GI_TYPELIB_PATHEmmanuele Bassi2018-01-301-2/+14
| | | | | | | The rules for searching typelib files should be properly documented, as well as the way to modify the search paths. https://bugzilla.gnome.org/show_bug.cgi?id=699328
* Skip unused generic marshallerEmmanuele Bassi2018-01-301-1/+1
| | | | You typically want to use the version in GObject, not this one.
* Remove unnecessary transfer annotationEmmanuele Bassi2018-01-301-1/+1
| | | | Integers do not need a transfer annotation.
* Document the newly added GI_HOST_OS envvarEmmanuele Bassi2018-01-251-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=761985
* Allow overriding of the host os nameNicola Fontana2018-01-254-4/+8
| | | | | | | | Added the GI_HOST_OS environment variable to eventually specify the host OS explicitely. It fall backs to os.name to retain backward compatibility. https://bugzilla.gnome.org/show_bug.cgi?id=761985
* docs: Remove incorrect name ruleEmmanuele Bassi2018-01-251-2/+1
| | | | | | | The leading `lib` should be passed as part of the shared library name in the `--shared-library` argument for g-ir-compiler. https://bugzilla.gnome.org/show_bug.cgi?id=699354
* regress: Check that enum value assignments work for all membersEmmanuele Bassi2018-01-255-1/+16
| | | | | | | Value assignments can happen at any point in the enumeration declaration. https://bugzilla.gnome.org/show_bug.cgi?id=629667
* scanner: Fix library lookup under MinGW without libtoolChristoph Reiter2018-01-231-2/+3
| | | | | | | | | | | | | | | When executing the scanner binary use the PATH/LIB env vars also under MinGW, since LD_LIBRARY_PATH/rpath doesn't work there. When resolving the library name from the import library look into the user provided library paths first before falling back to the default gcc search path. This fixes the gir/typelib generation for meson under MSYS2. Note that MSYS2 ships various patches, so this might not fix it for all MinGW users. https://bugzilla.gnome.org/show_bug.cgi?id=791902
* configure: Don't declare functions in AC_TRY_COMPILE and AC_LANG_PROGRAMTing-Wei Lan2018-01-201-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=792714
* giscanner: Fix shared library name finding on *BSDTing-Wei Lan2018-01-091-0/+5
| | | | | | | | ldd commands on *BSD always print the name of the input file regardless of the number of arguments, so we have to ignore this line to avoid matching it with _ldd_library_pattern. https://bugzilla.gnome.org/show_bug.cgi?id=791991
* giscanner: Recognize _Thread_local as a storage class specifierTing-Wei Lan2018-01-094-3/+11
| | | | | | | | | _Thread_local is a C11 keyword, and thread_local is a macro to make it more confortable to read. As this keyword can only be used in variable declarations, not in function return values or parameters, it cannot be included in bindable APIs and we can safely ignore it. https://bugzilla.gnome.org/show_bug.cgi?id=756921
* Release 1.55.11.55.1Rico Tzschichholz2018-01-081-2/+2
|
* gir: Update annotations from GLib 2.55.1Rico Tzschichholz2018-01-083-13/+107
|
* gir: Update annotations from GLib git masterRico Tzschichholz2018-01-022-7/+89
|
* scanner: Add _Float128Emmanuele Bassi2017-12-211-1/+1
| | | | | | | | | The ISO/IEC TS 18661-3:2015 standard added new floating point types to the C standard. Newer versions of the GNU C library started exposing `_Float128` in the headers, which means we need to add this type to the known tokens, to avoid warnings.
* Increase MAX_NAME_LENLeslie Giles2017-12-191-1/+1
| | | | | | | | | | | | | | There is no real limit on the length of an identifier, and some toolchains easily hit the current limit of 200 characters. According to this answer on StackOverflow, 2048 seems to be the limit on MSVC and ICC: https://stackoverflow.com/questions/6007568/what-is-max-length-for-an-c-c-identifier-on-common-build-systems So let's use that. https://bugzilla.gnome.org/show_bug.cgi?id=764791
* gir: Update annotations from GLib git masterRico Tzschichholz2017-12-093-63/+79
|
* gir: Update annotations from GLib git master1.55.0Rico Tzschichholz2017-11-182-14/+121
|
* gir: Update annotations from GLib git masterRico Tzschichholz2017-11-133-148/+412
|
* girepository: Don't skip g_irepository_get_option_group()Patrick Griffis2017-10-221-1/+1
| | | | | | This function works fine via introspection https://bugzilla.gnome.org/show_bug.cgi?id=786665