summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 0.6.5GOBJECT_INTROSPECTION_0_6_5Owen W. Taylor2009-09-041-1/+1
|
* Correctly ref repository in GIUnresolvedInfoColin Walters2009-09-041-1/+1
| | | | Followup to previous patch.
* Add CLFAGS and LIBS variablesSimon van der Linden2009-09-041-0/+4
|
* Bug 593322 - Fix unref of GIUnresolvedInfo instancesColin Walters2009-09-041-0/+8
| | | | | | | | We are treating GIUnresolvedInfo as a GIBaseInfo, but the structures had drifted out of sync. Add a repository pointer and bring them back into sync. Based on a report and patch from Jan Hudec <bulb@ucw.cz>
* Bug 593162 - Use built scanner from tarball buildsColin Walters2009-09-041-4/+3
| | | | | Looking for .git/.svn breaks in tarball scenarios; instead just see if our source directory is named 'tools'.
* Add GVolumeMonitor interfacesAdel Gadllah2009-09-011-0/+24
| | | | | | | Add GVolumeMonitor interfaces, used by gnome-shell's overlay (places) Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com> Signed-off-by: Colin Walters <walters@verbum.org>
* Use CC rather than LD to fix build issue for gir. Closes #593599.Halton Huo2009-08-311-1/+1
|
* Replace LIBTOOL_LIBTOOL to LIBTOOL. Closes #592968.Halton Huo2009-08-251-2/+2
|
* Bug 574351 - Add --pkg-export optionGOBJECT_INTROSPECTION_0_6_4Colin Walters2009-08-242-2/+9
| | | | | | | | | We need to differentiate between --pkg options we use to parse ourself, and --pkg-export which are needed for library consumers. When introspecting a library we won't necessarily have the pkg-config file built, so add a --pkg-export line so library authors can explicitly make the .gir -> pkg-config association.
* Bug 556628 – (skip) annotationDan Winship2009-08-245-1/+38
| | | | | Adds a (skip) option that can be added to the header of any doc comment to cause that symbol to be skipped in the .gir output
* Bug 578200 - Substitute $(PYTHON) in g-ir-scanner.inColin Walters2009-08-242-2/+2
| | | | This lets us pick up non-default /usr/bin/python2.6 correctly.
* Bug 587279 - Add COPYING.GPL and COPYING.LGPLColin Walters2009-08-244-2/+826
| | | | | It's better to keep lawyers happy if we ship the actual license files rather than just mentioning them in COPYING.
* Bug 590883 - Use 'cc' instead of 'gcc' for preprocessingColin Walters2009-08-241-1/+1
| | | | | Don't hardcode gcc, any cc which handles those options is good enough; in particular this is reported to fix Sun Studio.
* LD_LIBRARY_PATH exorcismColin Walters2009-08-245-22/+6
| | | | | | | | | | | | | | | Thanks to commit 6d510b8db, we now no longer need LD_LIBRARY_PATH to be set for invoking the compiler. Next, before we were taking the LD_LIBRARY_PATH variable and turning it into a compile path, presumably to attempt to handle the cases where we weren't getting the right -L flags. Also interacting with this was a while ago we weren't really doing uninstalled libtool libraries correctly, which is probably how hacks involving LD_LIBRARY_PATH crept into the scanner. Just require that we're passed the right -L flags, and we should be doing libtool libraries better now.
* Merge branch 'typelib-dlopen'Colin Walters2009-08-203-83/+92
|\
| * [typelib] Clean up dlopen handlingColin Walters2009-08-193-83/+92
| | | | | | | | | | | | | | | | | | | | | | | | It's was busted that g_typelib_new_* does the dlopen() since that caused g-ir-compiler to load the modules even though it wasn't going to do anything with them. Instead, change things so that g_module_symbol does the dlopen on-demand. Remove the extra dlopen(NULL) inside girepository.c, we had another already in gtypelib.c. Thanks to Owen Taylor for suggesting this approach.
* | Remove some $(builddir) that crept back inOwen W. Taylor2009-08-202-4/+4
|/ | | | | | | With recent merges, a few instances of $(builddir) got reintroduced. Remove them. http://bugzilla.gnome.org/show_bug.cgi?id=592114
* Make Everything-1.0.gir depend on GObject-2.0.girColin Walters2009-08-171-1/+1
| | | | For parallel building.
* Add FT_Library and cairo_font_face_t to hand-written .girsColin Walters2009-08-172-0/+4
| | | | These are dependencies of Pango.
* Bug 592055 - Build/test fixesColin Walters2009-08-175-7/+5
| | | | The last few commits regressed 'check'; fix those up.
* Also remove LD_LIBRARY_PATH bit from before AM_V_GEN for BarAppColin Walters2009-08-171-1/+1
|
* Support passing --library=lib<foo>.laOwen W. Taylor2009-08-1715-36/+95
| | | | | | | | | | | | | | | | In addition to the current --library=<foo>, support --library=lib<foo>.la. This makes it unambiguous that we are referencing an uninstalled library and allows accurate extraction of the shared library name for the uninstalled library. * tests/scanner/Makefile.am tests/offsets/Makefile.am: Use the new form of --library=. Also some LD_LIBRARY_PATH frobbing as needed. *-expected.gir *-expected.tgir: We now pick out the shared library accurately, so fix shared-library="" in our reference girs. (The comparison may need some pre-sanitization now to work on non-ELF) http://bugzilla.gnome.org/show_bug.cgi?id=591669
* Resolve library names to shared libraries ourselvesOwen W. Taylor2009-08-177-34/+109
| | | | | | | | | | | | | | | | | | | | | Using ctypes.util.find_library() to resolve library names to sonames causes problems with dealing with uninstalled libtool operation properly. We're unlikely to find any way of combining the two that will be robust against future changes in both facilities. Switch to a different approach - run 'ldd' on the compiled introspection binary and extract sonames from there This is less portable but should be quite robust where it works. utils.py dumper.py: Move libtool-command-line finding into utils.py girwriter.py: Remove library name resolution from here, expect libraries to be passed in preresolved. shlibs.py scannermain.py: New file including resolve_shlibs() to resolve library names using the introspection binary. tests/scanner/Makefile.am: Add .libs to LD_LIBRARY_PATH http://bugzilla.gnome.org/show_bug.cgi?id=591669
* autoconf-2.64 compat: Don't use $(builddir)Owen W. Taylor2009-08-172-3/+3
| | | | | | | | $(builddir) is not a standard automake variable. With autoconf < 2.64 it ends up getting set in every Makefile.in to '.' (because autoconf defines it), but that is no longer the case for 2.64. Since $(builddir) was always '.', just use that instead.
* Move LPATH and $(CHECK_DEBUG) bits into $(SCANNER)Colin Walters2009-08-162-2/+2
| | | | | This allows us to consistently use $(SCANNER) as the first item which needs to work for $(AM_V_GEN).
* Protect against source_filename being None when analyzing constantsColin Walters2009-08-161-1/+1
| | | | | It's allowed for source_filename to be None if we can't match it up with a file, so just skip the constant in that case.
* Use current working directory for temporary executablesColin Walters2009-08-161-1/+3
| | | | This avoids /tmp noexec madness.
* Excise shave in favor of automake 1.11 silent rulesColin Walters2009-08-167-196/+16
| | | | Shave is just way too invasive in the build system.
* -DGLIB_COMPILATION when scanning GLibColin Walters2009-08-151-0/+1
| | | | | Some of the GLib headers are now growing checks for single-include; override that.
* Prepend to $LD_LIBRARY_PATH not appendOwen W. Taylor2009-08-132-3/+3
| | | | | | | We want to extend $LD_LIBRARY_PATH from the front so that uninstalled libraries take precedence over installed libraries. http://bugzilla.gnome.org/show_bug.cgi?id=591740
* Don't open shared libraries twiceOwen W. Taylor2009-08-131-2/+4
| | | | | | If loading a referenced shared library succeeds, don't try loading it again. http://bugzilla.gnome.org/show_bug.cgi?id=591737
* Update after commit ffc15cd51639679c914868006a1e3462958bfd77Simon van der Linden2009-08-131-2/+2
|
* Annotate g_shell_parse_argv()Dan Winship2009-08-101-1/+9
|
* Back out the previous change. Now go back to hardcoding compiler to gcc.Brian Cameron2009-08-051-1/+1
| | | | | | Using CC fails when building gobject-introspection because CC is defined to be $(SHELL) scripts/shave cc '$(SHAVE_SAVED_CC)'. A more sophisticated fix will be needed later.
* Only accept bison as yacc toolColin Walters2009-08-051-1/+1
| | | | Others like byacc barf on some of the directives like %error-verbose.
* Check the CC environment variable instead of assuming to use the gcc compiler.Brian Cameron2009-08-051-1/+1
|
* Use all libraries specified on the command lineColin Walters2009-08-051-6/+5
| | | | | | | | | | | | | | | | | | | Earlier we were only using the first library specified when compiling an introspection binary. This breaks builds on Solaris which doesn't have implicit linking and we need to be able to specify multiple libraries. The tension here is primarily related to OS X' distinction between modules and shared libraries; if we build the custom libraries in gir-repository as shared libraries, then we can't dlopen them. If we build them as modules, then the introspection binary compiler can't link to them. If we want to fix the OS X build, probably the way to go would be a special --use-first-library-only option that gets conditionalized on OS X + gir-repository. But even better is to finish killing gir-repository entirely.
* Add allow-none for etag for g_file_replaceColin Walters2009-08-031-0/+1
|
* Fix a typo in test_flags_get_typeSimon van der Linden2009-08-021-1/+1
|
* Revert "Window isn't a record, but really a typedef for uint32"Owen W. Taylor2009-07-091-2/+1
| | | | | | | | | | | | | Exporting Windoew as a uint32 is revealing some problems in namespace handling - functions that are supposed to return a GdkWindow * are returning a x11.Window instead. Until that is fixed, we need to avoid making this change. (Also, Window isn't a uint32, it is an unsigned long) This reverts commit 9ce2b05198653697896c3f7c9271073789f90c51. http://bugzilla.gnome.org/show_bug.cgi?id=588147
* Fix checks in gfield.cOwen W. Taylor2009-07-091-3/+3
| | | | | | | When checking if the readable/writable flags are missing for the fields we are trying to read and write, use (a & flag) == 0, not (!a & flag). http://bugzilla.gnome.org/show_bug.cgi?id=579727
* Window isn't a record, but really a typedef for uint32Colin Walters2009-07-081-1/+2
| | | | | Since it's used in the API as just "Window foo();", bindings will fail trying to take a by-value struct.
* Add a function to test arrays as inout argument in EverythingSimon van der Linden2009-07-063-0/+42
| | | | Add test_array_int_inout in Everything.
* Sync the basic types array in girnode.c:serialize_type with GITypeTagDan Winship2009-07-061-3/+4
| | | | | | Fixes a crash compiling GIRepository-2.0.gir. http://bugzilla.gnome.org/show_bug.cgi?id=587823
* Bug 583686 - Add gobject-introspection-no-export-1.0.pcColin Walters2009-07-063-2/+22
| | | | | | Some projects may want to avoid the giant -Wl,--export-dynamic hammmer and instead use a custom regexp or export list, so provide a .pc file for them to use.
* Merge commit 'origin'Johan Dahlin2009-07-0621-48/+426
|\
| * Add a TestObj subclass in EverythingSimon van der Linden2009-07-053-0/+100
| | | | | | | | | | | | Add an instance method to TestObj. Add a TestObj subclass in Everything, with another constructor, an additional instance method and an overridden instance method.
| * Allow annotations on fieldsAndreas Rottmann2009-07-037-8/+44
| | | | | | | | Plain fields (i.e. non-callbacks) may have a 'type' annotation now.
| * Add xmlTextReaderPtr type to fake libxml2 GIRTim Horton2009-06-261-0/+1
| | | | | | | | This is needed in order to get libgweather introspecting.
| * Bug 586994: Add annotations for g_file_open_tmp()/g_file_replace_contents().C. Scott Ananian2009-06-262-0/+8
| |