summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [MAINTAINERS] Add Colin Walters <walters@verbum.org>GOBJECT_INTROSPECTION_0_6_8Colin Walters2010-03-101-0/+4
|
* [gio-2.0.c] Annotate g_file_replaceColin Walters2010-03-081-0/+5
|
* [everything] Add to expected .gir for last commentColin Walters2010-03-041-0/+2
|
* [everything] Add some "torture" test functions with baroque signaturesColin Walters2010-03-043-0/+327
| | | | | | We didn't have good coverage of say in arguments after out. https://bugzilla.gnome.org/show_bug.cgi?id=611809
* Add a test function with an out argument and some other after thatJohan Bilien2010-03-013-0/+29
| | | | Useful to debug case https://bugzilla.gnome.org/show_bug.cgi?id=611529
* [giscanner] Catch CalledProcessError and OSErrorJohan Dahlin2010-02-171-1/+1
| | | | | Instead of catching all errors, including AttributeError, TypeError and NameError.
* [scanner] Catch OSError too when checking for libtoolColin Walters2010-02-171-1/+1
| | | | | | If we don't have permission to execute the libtool binary, we'd just throw here which is wrong. Fix this by catching all exceptions.
* Fix glib:error-quark scanning for unregistered enum typesOwen W. Taylor2010-02-123-9/+43
| | | | | | | | | | | | The enumeration type for an error might not be introspected and registered with GObject (this is, in particular, true for the errors in GLib itself). So, as a fallback search, through all enum types in the module. Add a special case for the aberrant GIOErrorEnum and a warning if resolution completely fails. https://bugzilla.gnome.org/show_bug.cgi?id=602512
* Fix unittests, add missing allow-noneJohan Dahlin2010-02-122-2/+2
| | | | Colin should remember to run `make check' before comitting!
* Delete stray g_return_if_failColin Walters2010-02-111-1/+0
| | | | | If g_alloca failed we're pretty much screwed, and g_return_if_fail is for API entry points, not internal assertions.
* Assume allow-none for GCancellableColin Walters2010-02-112-516/+4
| | | | | | | All GCancellables are allow-none, this allows us to remove a lot of custom annotations. https://bugzilla.gnome.org/show_bug.cgi?id=604658
* Fix Alignment Errors.Kedar Sovani2010-02-111-6/+13
| | | | | | Signed-off-by: Kedar Sovani <kedars@marvell.com> https://bugzilla.gnome.org/show_bug.cgi?id=606139
* [g-ir-compiler] Slightly less lame error messagesColin Walters2010-02-114-2/+38
| | | | | | To make things really better we should track the line origin of element from the .gir file (and actually we need to do better checking in the scanner), but this is slightly less lame.
* Conform last patch with pep8Colin Walters2010-02-111-1/+2
|
* [scanner] Print error instead of throwing for unknown includeColin Walters2010-02-112-3/+8
| | | | We should avoid exceptions being propagated to the toplevel.
* tests: Do not include built source in the distributionJohan Bilien2010-02-011-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=608724
* gir: Do not include generated gir files in the distributionJohan Bilien2010-02-011-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=608723
* increase limit of GIRealInfo's ref_countMaxim Ermilov2010-01-251-5/+7
| | | | New limit is 0x7FFFFFFF.
* tests: Add the scope for callbacks in expected girsJohan Bilien2010-01-184-10/+13
| | | | | following my previous patch to systematically specify the scope in callbacks. Had forgotten to add these.
* scanner: Always explicitely set the scope of callbacksJohan Bilien2010-01-145-7/+12
| | | | | | default to 'call' as stated in the annotation documentation. https://bugzilla.gnome.org/show_bug.cgi?id=607026
* annotate g_filename_to_uriDan Winship2010-01-131-0/+5
|
* Correctly cast to a CommonBlob when looking up embedded typesColin Walters2010-01-121-8/+28
| | | | | | | | | | When looking at an embedded type (e.g. a Callback after a Field), the offset we put in the info structure was to the CallbackBlob itself. However the code in g_type_info_get_interface assumed that the offset was to a SimpleTypeBlob, which it wasn't. https://bugzilla.gnome.org/show_bug.cgi?id=606180
* Don't remove .c file for dumper binaryOwen W. Taylor2010-01-121-2/+0
| | | | | | | | | We're going to remove the entire temporary directory, so there's no point in explicitly removing just the .c file we create; leaving the .c file behind makes it easier to debug problems. https://bugzilla.gnome.org/show_bug.cgi?id=605966
* Remove tabs, fixes make checkJohan Dahlin2010-01-081-4/+4
|
* Add an --add-init-section argumentDamien Lespiau2010-01-052-5/+15
| | | | | | | | | | One might need to call some init functions before being able to call get_type() to create the types of a library. --add-init-section let the user insert some initialization code in the introspection program. https://bugzilla.gnome.org/show_bug.cgi?id=605778
* The private header should be included in girffi.cJohan Dahlin2009-12-312-1/+1
| | | | Not in the public girffi.h.
* __extension__ can be put in front of expressionsDamien Lespiau2009-12-311-0/+1
| | | | | | | | | | | | glib uses __extension__ in macros dealing with 64 bits integer such as GUINT64_SWAP_LE_BE(). To quote the GCC manual: `-pedantic' and other options cause warnings for many GNU C extensions. You can prevent such warnings within one expression by writing `__extension__' before the expression. https://bugzilla.gnome.org/show_bug.cgi?id=605779
* Fix typo in the help string of the --no-libtool argumentDamien Lespiau2009-12-311-1/+1
| | | | | | | --no-libtool means that one does not want to use libtool to compile the introspection program. https://bugzilla.gnome.org/show_bug.cgi?id=605774
* Simplify Gio-2.0.gir rulesJohan Dahlin2009-12-311-2/+3
| | | | Also make sure to add cflags from gio-unix-2.0 to avoid a warning
* Add missing include girffi-private.hJohan Dahlin2009-12-311-1/+2
|
* Include Python.h earlierJohan Dahlin2009-12-311-1/+1
| | | | This avoids pyconfig.h:1028:1: warning: "_POSIX_C_SOURCE" redefined
* Use AM_V_GEN more a more quiet buildJohan Dahlin2009-12-314-5/+5
| | | | Also suppress a bit more using @
* Make sure the macros work without silent rulesJohan Dahlin2009-12-311-2/+4
| | | | | We should not require AM_DEFAULT_VERBOSITY to be present, workaround that fact
* Make compiler output with silent-rules prettierJohan Dahlin2009-12-302-3/+12
| | | | | This is only supported with automake 1.11 or newer, older versions should default to showing nothing for now.
* Add -DGLIB_COMPILATION for GLib-2.0.gir.Halton Huo2009-12-231-0/+1
| | | | | | | Otherwise, suncc reports error when parsing /usr/include/glib-2.0/glib/ghostutils.h, and stops parsing rest headers. https://bugzilla.gnome.org/show_bug.cgi?id=605108
* Allow stack allocating GIBaseInfo, add stack retrieval variantsColin Walters2009-12-162-610/+684
| | | | | | | | | | | | | | | | | | | We don't want to malloc each GIBaseInfo when they can be used in function invocation; instead, allow stack allocation. There were a lot of structure typedefs which were actually just exactly the same as GIBaseInfo, with the one exception of GITypeInfo. Instead, just put the single GITypeInfo boolean inside GIBaseInfo as a bit in a bitfield. GIBaseInfo is still opaque publicly; GIRealInfo is the new internal structure. Using this, add new functions to retrieve arguments and argument types on the stack. https://bugzilla.gnome.org/show_bug.cgi?id=604074
* [girffi] Clean up API, add g_function_info_prep_invokerColin Walters2009-12-166-147/+190
| | | | | | | | | | | | | | Rather than having bindings use g_function_info_invoke, which is basically a toy/demo API, export a convenience utility function which takes the introspection information and sets up things we need to pass to libffi. Then invocation can be done directly to libffi by a binding. As part of this work, remove some (unused by gjs) public functions from the girffi API, and instead export a function to map to libffi which can work semi-correctly. https://bugzilla.gnome.org/show_bug.cgi?id=604074
* Fix compilation warning in ginvoke.cColin Walters2009-12-161-1/+1
|
* Post release version bumpJohan Dahlin2009-12-161-1/+1
|
* Substitute deprecated Glib symbol: g_mapped_file_freeGOBJECT_INTROSPECTION_0_6_7Javier Jardón2009-12-154-10/+37
| | | | | | | glib-compat.h file created to use g_mapped_file_unref only if glib >= 2.22 is available https://bugzilla.gnome.org/show_bug.cgi?id=603727
* fix invoke testsSaleem Abdulrasool2009-12-151-2/+2
| | | | | | retval should be a valid pointer https://bugzilla.gnome.org/show_bug.cgi?id=604472
* protect on null retvalSaleem Abdulrasool2009-12-151-0/+2
| | | | | | ffi_call does not protect against retval being NULL, resulting in a segfault. https://bugzilla.gnome.org/show_bug.cgi?id=604472
* Revert "GI_TYPE_TAG_VOID != ffi_type_void"Johan Dahlin2009-12-151-1/+2
| | | | This reverts commit 28cccba737ec2214da66b0d74059278162cf5fd0.
* Do not require the precense of INTROSPECTION_GIRSJohan Dahlin2009-12-141-1/+0
| | | | | It's useful to be able to include the makefile without having introspection enabled.
* Update .gitignoreJohan Dahlin2009-12-141-0/+3
|
* Install Makefile.introspection in the right dirJohan Dahlin2009-12-141-2/+2
| | | | Also, make sure that it is included in the dist
* Move the functions out of the defineJohan Dahlin2009-12-141-22/+23
| | | | | As it breaks when including the makefile when using an absolute path.
* Add a Makefile.introspectionJohan Dahlin2009-12-147-219/+304
| | | | | This will make it easier for third-party projects to use introspection by having easy make rules.
* Post release version bumpJohan Dahlin2009-12-101-1/+1
|
* annotate g_completion_complete_utf8GOBJECT_INTROSPECTION_0_6_6Dan Winship2009-12-091-0/+5
| | | | | | | acts as a regression test on the recognizing-GLib.List-inside-glib part of the previous patch. https://bugzilla.gnome.org/show_bug.cgi?id=602512