summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MSVC builds: Workaround Visual Studio 2015 limitationgnome-3-22Chun-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.
* 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).
* Gio-2.0.gir: Don't exclude gsettingsbackend.h and pass needed defineRico Tzschichholz2016-10-032-2/+3
|
* Release 1.50.01.50.0Florian Müllner2016-09-201-3/+3
|
* gir: Update annotations from GLib git masterJonh Wendell2016-09-181-1/+1
|
* girepository: Annotate iterator arguments as (inout)Rico Tzschichholz2016-09-152-2/+2
|
* Release 1.49.21.49.2Florian Müllner2016-09-131-2/+2
|
* gir: Update annotations from GLib git masterRico Tzschichholz2016-09-121-1/+1
|
* gthash: free cmph objectsTobias Mueller2016-09-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If not done, it would leak the memory as address sanitizer reports: ==1294==ERROR: LeakSanitizer: detected memory leaks Direct leak of 40 byte(s) in 1 object(s) allocated from: #0 0x7fa7a94b7602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602) #1 0x44c7a7 in __config_new girepository/cmph/cmph_structs.c:11 #2 0x44aaa7 in cmph_config_new girepository/cmph/cmph.c:291 #3 0x446fb5 in _gi_typelib_hash_builder_prepare girepository/gthash.c:114 #4 0x406cf7 in add_directory_index_section girepository/girmodule.c:270 #5 0x409ee6 in _g_ir_module_build_typelib girepository/girmodule.c:546 #6 0x404ada in main tools/compiler.c:217 #7 0x7fa7a70d482f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) ==4091==ERROR: LeakSanitizer: detected memory leaks Direct leak of 40 byte(s) in 1 object(s) allocated from: #0 0x7fc20c854602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602) #1 0x44a3f3 in cmph_io_vector_new girepository/cmph/cmph.c:228 #2 0x44a965 in cmph_io_vector_adapter girepository/cmph/cmph.c:276 #3 0x446f9f in _gi_typelib_hash_builder_prepare girepository/gthash.c:113 #4 0x406cf7 in add_directory_index_section girepository/girmodule.c:270 #5 0x409ee6 in _g_ir_module_build_typelib girepository/girmodule.c:546 #6 0x404ada in main tools/compiler.c:217 #7 0x7fc20a47182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
* gir: Update glib/gobject annotationsFlorian Müllner2016-09-092-291/+220
|
* gir: Update annotations from GLib git masterRico Tzschichholz2016-08-262-146/+206
|
* g-ir-inspect: make description for --version a bit betterIgor Gnatenko2016-08-171-1/+1
| | | | | | Reported-and-tested-by: Dominique Leuenberger <dimstar@opensuse.org> Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org> Reviewed-by: Colin Walters <walters@verbum.org>
* gir: Update annotations from GLib git masterRico Tzschichholz2016-08-112-15/+132
|
* g-ir-inspect: remove last usage of g_autoptr()Igor Gnatenko2016-08-071-1/+2
| | | | | | Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org> https://bugzilla.gnome.org/show_bug.cgi?id=769600
* Release 1.49.11.49.1Florian Müllner2016-08-031-3/+3
|
* gir: Update annotations from GLib git masterRico Tzschichholz2016-07-211-23/+25
|
* gir: Update annotations from GLib git masterRico Tzschichholz2016-07-182-3/+1213
|
* gir: Update annotations from GLib git masterRico Tzschichholz2016-07-112-2/+630
|
* Visual Studio builds: Make .pc generation more flexibleChun-wei Fan2016-06-221-14/+30
| | | | | Allow the use of ${exec_prefix} for libdir and includedir when passing them in as arguments to the script.
* tests: MSVC builds: Look for cairo headers in $(prefix)/include/cairoChun-wei Fan2016-06-221-1/+1
| | | | | Cairo headers could be in $(prefix)/include/cairo, so also look for them from there for the regress test, which does depend on Cairo.
* Update .gitignoreRico Tzschichholz2016-06-151-0/+3
|
* gir: Update annotations from GLib git masterRico Tzschichholz2016-06-152-125/+165
|
* gir: Update annotations from GLib 2.49.1Rico Tzschichholz2016-05-291-0/+12
|
* docs: Clarify return value documentationEmmanuele Bassi2016-05-181-1/+1
| | | | Be a bit more specific than just saying "the transfer".
* docs: Fix return value descriptionEmmanuele Bassi2016-05-181-1/+1
| | | | | The return value of g_callable_info_get_caller_owns() is not a boolean any more.
* gir: Update annotations from GLib git masterRico Tzschichholz2016-05-183-6/+137
|
* Update RelaxNG schema to validate all common girsChristoph Reiter2016-05-121-131/+379
| | | | | | | | | | | This updates the schema to validate all GIRs currently available in Debian unstable except a few obviously broken ones. For testing the following tools were used: $ trang gir-1.2.rnc gir-1.2.rng $ xmllint --noout --relaxng gir-1.2.rng Gtk-3.0.gir https://bugzilla.gnome.org/show_bug.cgi?id=766313
* docs: Add RelaxNG schema for GIR's XML formatEmmanuele Bassi2016-05-111-0/+231
| | | | | | | | | | | | This is an attempt at standardising the GIR XML in a way that we can reliably validate; the schema is enough to validate simple GIR files, but it still needs work for complex ones, like GTK's. I've decided to use the compact Relax NG syntax as the schema format because it's definitely easier to read and write that the DTD format. Since the current XML version is 1.2, let's standardise on that instead of making up a version 1.0.
* tests: add regression test for anonymous structScott D Phillips2016-05-0810-0/+226
| | | | | | | C11 which added support for anonymous unions (already supported) also adds support for anonymous structs. https://bugzilla.gnome.org/show_bug.cgi?id=766011
* ast: Avoid a crash with anonymous structsScott D Phillips2016-05-081-1/+2
| | | | | | | We enabled anonymous unions earlier, this is a bugfix to enable anonymous structs. https://bugzilla.gnome.org/show_bug.cgi?id=766011
* gdump: do not leak gfile objectsPaolo Borelli2016-05-081-1/+8
|
* girepository: Merge overrides with the regular search pathCarlos Garnacho2016-05-021-29/+3
| | | | | | | | | | | | | | | | | | | | | | This reverts commit e81c4681cc88a00fcd841c5a68d860d3714b55d7 The GI_TYPELIB_PATH envvar will still allow overriding the default typelib dir (based on gobject-introspection libdir), but applications will have the last say about typelib lookup directories. The resulting lookup order is now: - Paths added through g_irepository_prepend_search_path() - Paths in GI_TYPELIB_PATH - The default gobject introspection lookup dir This makes g_irespository_prepend_search_path() work as announced despite environment variables. If any application was relying on GI_TYPELIB_PATH overriding the paths of this function call (for e.g. make check, or to be able to run code inside the project tree), it is encouraged to set up a similar envvar for their application specific lookup dir, or perform this override through other means. https://bugzilla.gnome.org/show_bug.cgi?id=765735
* g-ir-inspect: Inspect GI typelibsIgor Gnatenko2016-04-292-2/+141
| | | | | | | | | | | | | | | | Various distributions (mainly RPM based so far) make use of automatic dependencies extracted from typelib files (they can require other typelibs and also shared libraries) Current features * Print used shared libraries * Print used typelib dependencies Based-on-patch-by: Dominique Leuenberger <dimstar@opensuse.org> Reference: https://bugzilla.gnome.org/show_bug.cgi?id=665672 Reviewed-by: Colin Walters <walters@verbum.org> Signed-off-by: Dominique Leuenberger <dimstar@opensuse.org> Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
* Replace GNU -B extension with a more portable -I equivalentJasper Lievisse Adriaanse2016-04-261-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=765618
* Visual Studio builds: Generate a generic cairo-win32.pcChun-wei Fan2016-04-254-5/+16
| | | | This is needed so that gtk+-3.0.pc will be complete.
* build/win32/pc_base.py: Allow custom optionsChun-wei Fan2016-04-211-5/+6
| | | | | | | | | Some packages might have some parts that are built for certain build configs, meaning that they could have .pc files of their own, such as Pango, where PangoFT2 is optionally built. Allow such an option if needed. Also remove some trailing whitespaces.
* gir: Update annotations from GLib git masterRico Tzschichholz2016-04-203-22/+51
|
* MSVC builds: Generate .pc files for external packagesChun-wei Fan2016-04-134-5/+63
| | | | | | | | | That is, for Cairo, Freetype and libxml2, as packages that we support for Visual Studio builds depend on these packages, specifically for generating the introspection files for them. These are generated with rather generic info in them, so that they are sufficient for our purposes here.
* MSVC builds: Use a envvar for pkg-configChun-wei Fan2016-04-111-1/+6
| | | | | | | Allow using a envvar to specify the path to pkg-config, as it may not be in the PATH. Suggestion given by the HexChat project.
* Release 1.48.01.48.0Rico Tzschichholz2016-03-221-3/+3
|
* gir: Update annotations from GLib 2.48.0Rico Tzschichholz2016-03-222-2/+3
|
* MSVC builds: Add files to 'make dist'Chun-wei Fan2016-03-183-0/+3
| | | | | | We also want to include the gi-install.vcxproj.filters for the Visual Studio 2012~2015 builds, to make the gi-install project look nicer in the IDE, which was done in the last commit.
* MSVC builds: Generate the .pc filesChun-wei Fan2016-03-189-5/+258
| | | | | | | Generate the .pc files as part of the build of the Visual Studio projects, and "install" them to $(CopyDir)\lib\pkgconfig, so that it would make it easier for packages building introspection to find the .pc files for g-i for Visual Studio builds.
* MSVC builds: Have the package version available in the projectsChun-wei Fan2016-03-183-0/+10
| | | | This is used for generating the pkg-config file for this package.
* Remove file accidently committedChun-wei Fan2016-03-171-107/+0
|
* Update README.txt for Visual Studio buildsChun-wei Fan2016-03-173-28/+143
| | | | | The build process of the introspection files for this package has been further improved lately, so let people know.
* ccompiler.py: MSVC builds: Fix running on Python 3.xChun-wei Fan2016-03-171-1/+1
| | | | | When resolving libraries, open the temp file generated by dumpbin with 'r' mode rather than 'rb', since this is a text file.
* Fix code styleChun-wei Fan2016-03-171-4/+6
| | | | | Make my last patch to this file conform to the code style in the rest of this file.