summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* giscanner/utils.py: Fix on non-UNIX-like platformsgnome-3-24Chun-wei Fan2017-07-051-1/+1
| | | | | | | | | | Commit 85b1d70b93211415d975deff6050f1401743e72d changed the null device from the platform-independent os.devnull to the UNIX /dev/null, which broke introspection builds on non-UNIX-like platforms, as /dev/null is a notion that does not exist on those platforms. Fix this by changing back to os.devnull, but still opening it as writable. https://bugzilla.gnome.org/show_bug.cgi?id=781312
* regress: Add test for setting a NULL strv in a GValueSam Spilsbury2017-04-257-0/+121
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=775679
* Fix 'Bad file descriptor' error when checking libtool versionSam Thursfield2017-04-251-1/+1
| | | | | | | | | | | | Running g-ir-scanner on Fedora 25 (libtool 2.4.6) produces the following message on stderr, twice: /usr/bin/libtool: line 2460: printf: write error: Bad file descriptor This is because we were redirecting stdout to /dev/null incorrectly -- we were opening /dev/null for reading rather than for writing. https://bugzilla.gnome.org/show_bug.cgi?id=781312
* Visual Studio 201x builds: Fix "installation"Chun-wei Fan2017-04-181-1/+1
| | | | The .lib file was not copied from the right place, fix that.
* Release 1.52.11.52.1Rico Tzschichholz2017-04-101-2/+2
|
* gir: Update annotations from GLib 2.52.1Rico Tzschichholz2017-04-103-13/+52
|
* tests: Add marshalling tests for GValue-valued propertiesPhilip Chimento2017-04-032-0/+22
| | | | | | This is to test GJS's support of GValues boxed inside GValues. https://bugzilla.gnome.org/show_bug.cgi?id=688128
* gimarshallingtests: Add a flags and enum propertyChristoph Reiter2017-03-282-0/+32
| | | | | | | These will be used by pygobject in https://bugzilla.gnome.org/show_bug.cgi?id=726484 https://bugzilla.gnome.org/show_bug.cgi?id=780652
* g-ir-scanner: fix wrong order of -L options in libtool invocationSebastian Geiger2017-03-261-2/+4
| | | | | | | This patch fixes an issue in dumper.py, which causes a wrong oder of -L options to be passed to libtool. This in turn can cause build failures if old library files are present in the linked library directories. https://bugzilla.gnome.org/show_bug.cgi?id=778507
* giscanner: Use shlex.split() for environment variablesNirbheek Chauhan2017-03-212-7/+6
| | | | | | | | | | | | | | str.split() does not handle quoting, so if you have spaces in your CFLAGS, it will be split incorrectly. For instance: CFLAGS="'-I/opt/some dir' -DFOO=bar" >>> os.environ['CFLAGS'].split() ["'-I/opt/some", "dir'", '-DFOO=bar'] >>> shlex.split(os.environ['CFLAGS']) ['-I/opt/some dir', '-DFOO=bar'] https://bugzilla.gnome.org/show_bug.cgi?id=778971
* Release 1.52.01.52.0Rico Tzschichholz2017-03-201-3/+3
|
* gir: Update annotations from GLib 2.52.0Rico Tzschichholz2017-03-201-2/+3
|
* tests: Update "expected" for Regress-1.0.girRico Tzschichholz2017-03-201-1/+1
|
* typedefs: fix type information.Mathieu Duponchelle2017-03-143-9/+2
| | | | | | | | | | | We now reuse _create_type_from_base instead of reimplementing it in a semi-broken way in transformer, and use complete_ctype when writing it out if available. This incidentally allows us to remove a test where the comment acknowledged the non-optimal behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=779959
* Release 1.51.51.51.5Rico Tzschichholz2017-03-141-2/+2
|
* gir: Update annotations from GLib git masterRico Tzschichholz2017-03-141-1/+37
|
* gir: Update annotations from GLib git masterRico Tzschichholz2017-03-052-2/+8
|
* Visual Studio builds: Fix libxml-2.0.pc generationChun-wei Fan2017-03-031-1/+1
| | | | | | | | We can't just use -llibxml2 for the libraries that libxml2 will link to, as that will result in xml2.lib being searched rather than libxml2.lib that we need, as the --msvc-syntax flag will eliminate the lib prefix for the libraries. Instead, just pass in libxml2.lib explicitly to work around this.
* MSVC builds: "Install" test sources like autotools buildsChun-wei Fan2017-02-204-10/+43
| | | | | | | | | This makes sure that all the test sources that the autotools builds install are "installed" by the Visual Studio builds as well. For doing this, move the generation of everything.[c|h] to gi-introspection-msvc.mak as we need to generate them for all builds, not just during building the tests.
* win32/Makefile.msvc-intrspection: Fix pathsChun-wei Fan2017-02-171-2/+2
| | | | | | This module is not used in G-I itself, but is copied and used in other modules, so make sure paths in here are up-to-date after the project moved to win32/ from build/win32
* win32/Makefile.msvc-introspectionChun-wei Fan2017-02-171-1/+5
| | | | | | | This is a follow-up commit to Evan Nemerson's addition to Makefile.introspection so that we can pass in a number of C includes so that we make generate the full NMake Makefile module with the command line to call g-ir-scanner in a simpler and cleaner way.
* win32/detect-msvc.mak: Support Visual Studio 2017Chun-wei Fan2017-02-171-1/+3
| | | | | | Sync this file from GLib so that we can support Visual Studio 2017, which is needed for the NMake Makefiles that are used to build the introspection to work (which, are called from the project files).
* Makefile.introspection: Add variable for C includesEvan Nemerson2017-02-161-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678749
* Update .gitignoreRico Tzschichholz2017-02-161-13/+7
|
* Visual Studio builds: Support Visual Studio 2017Chun-wei Fan2017-02-158-13/+64
| | | | | | | | | | | | | ... in the projects for now, the NMake Makefiles for the introspection files (.gir/.typelib) need to be updated as well, but that needs to be done a bit later. This is done by updating the autotools scripts, so that the Visual Studio 2010 projects are copied and the items are updated as necessary. Note that since the format of the platform toolset changed for Visual Studio 2017, a custom platform toolset string is allowed and used if specified, otherwise the platform toolset string is generated as it was before.
* g-ir-scanner: document GI_SCANNER_DEBUG in man pageSebastian Geiger2017-02-141-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=778509
* Release 1.51.31.51.3Rico Tzschichholz2017-02-131-2/+2
|
* gir: Update annotations from GLib git masterRico Tzschichholz2017-02-132-32/+162
|
* Release 1.51.21.51.2Rico Tzschichholz2017-01-171-2/+2
|
* tests: Update "expected" for hidden fundamental classRico Tzschichholz2017-01-1711-6/+108
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=760056
* tests: Add a hidden fundamental classLionel Landwerlin2017-01-142-0/+41
| | | | | | | We could have a fundamental type A derived by a subclass B. Class A happens to be introspected, but B isn't. This can cause some issues in Gjs. https://bugzilla.gnome.org/show_bug.cgi?id=760056
* Visual Studio builds: Move build files to win32/Chun-wei Fan2017-01-0971-484/+439
| | | | | | As suggested, we don't really need two layers of directories to get to the projects, so move the project files to be under win32/ rather than build/win32/.
* Visual Studio builds: Apply changes from GLib's build/Chun-wei Fan2017-01-095-16/+64
| | | | | | | | The Makefile.msvcproj and Makefile-newvs.am has been updated to accomodate visual Studio 2013 as the baseline Visual Studio version that we will support, so we need to update some things as well. We will later move the Visual Studio projects from build/win32/ to win32/
* girepository: Annotate array and array-length parameterRico Tzschichholz2016-12-103-6/+6
|
* scanner: Add a way to specify extra libraries to link againstThibault Saunier2016-12-103-3/+7
| | | | | | | | | | | | Currently the only way to get a library to link against the dumper program is through '--link' which implies that library will be defined in the 'libraries' field of the .gir. When using libtool, we link against dependencies of that library as the .la defines that, but when using --no-libtool that won't happen and the user needs to be able to define to what other libraries the program needs to be link against, and this is what the new --extra-library argument is about. https://bugzilla.gnome.org/show_bug.cgi?id=774625
* gir: Update annotations from GLib git masterRico Tzschichholz2016-12-054-958/+973
|
* build: Do not scan glib-autocleanups.h for GLib-2.0.girPhilip Withnall2016-11-211-1/+1
| | | | | | | | | | | | | Since autoptr typedefs are filtered out (bug #755882), scanning this header is useless. It can cause warnings due to not #including all the headers whose types it references: /usr/include/glib-2.0/glib/glib-autocleanups.h:41: syntax error, unexpected typedef-name, expecting identifier or '(' in 'typedef GAsyncQueue *GAsyncQueue_autoptr;' at 'GAsyncQueue_autoptr' Fix that by filtering it out of the list of headers to scan. https://bugzilla.gnome.org/show_bug.cgi?id=768816
* gir: Update annotations from GLib git masterRico Tzschichholz2016-11-202-6/+7
|
* gir: Update annotations from GLib git masterRico Tzschichholz2016-11-092-7/+13
|
* MSVC builds: Workaround Visual Studio 2015 limitationChun-wei Fan2016-11-071-1/+1
| | | | | | | | | Visual Studio 2015 does not like collection of paths that exceed 260 characters, and we have a good number of items that we want to track in the NMake Makefiles for building introspection, and the projects demand full paths for NMake outputs for projects using NMake. Work around this by listing only the most key files that are built, since the NMake Makefile rules will take care of the rest.
* gi-setenv-msvc.mak: Fix LIB envvarChun-wei Fan2016-11-071-1/+1
| | | | | | | We previously moved the NMake Makefiles to build the introspection files into build/win32, but I forgot to change the LIB envvar setting to reflect that, causing introspection builds to fail for GIRepository-2.0.gir (or to use a previously-installed version of girepository-1.0.lib). Fix this.
* MSVC 2010+ builds: Fix "installation"Chun-wei Fan2016-11-071-1/+1
| | | | The "install" project didn't copy the .lib file. Fix that.
* Fix "Annotation" element in RelaxNG schemaRico Tzschichholz2016-11-041-2/+2
|
* tests: Test hashtables with allocated valuesPhilip Chimento2016-11-022-0/+97
| | | | | | | In order to test GJS's support for GHashTables with float, double, gint64, and guint64 value types, here are some new GI marshalling tests. https://bugzilla.gnome.org/show_bug.cgi?id=773763
* MSVC builds: Don't ignore gsettingsbackend.h for Gio-2.0.girChun-wei Fan2016-11-021-2/+2
| | | | | | Like the autotools builds, include this file as well when we generate Gio-2.0.gir. This is a follow-up commit for b8d92b0 (Gio-2.0.gir: Don't exclude gsettingsbackend.h and pass needed define).
* MSVC builds: Fix projects for g-ir-inspectChun-wei Fan2016-11-025-3/+7
| | | | | The wrong source file was listed in the projects, and the tool ought to be "installed". Sorry!
* Release 1.51.11.51.1Florian Müllner2016-10-311-3/+3
|
* gir: Update annotations from GLib git masterRico Tzschichholz2016-10-271-5/+8
|
* MSVC builds: Add projects for g-ir-inspectChun-wei Fan2016-10-2611-0/+388
| | | | | Sorry, this is a bit late to the party, but we should build this tool for Visual Studio builds as well.
* build/win32/vs10/Makefile.am: Delete gi-install.props's on re-generationChun-wei Fan2016-10-261-2/+5
| | | | | This is to ensure that the chamges that is applied to gi-install.props here is applied to the project files in build/win32/vs[11|12|14] as well.