summaryrefslogtreecommitdiffstats
path: root/gi
Commit message (Collapse)AuthorAgeFilesLines
* Add one more missing file to tarballsTomeu Vizoso2010-04-182-0/+1
|
* Implement vfuncs.Tomeu Vizoso2010-04-188-21/+209
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602736
* Fix a typo in pygi-callbacks.c headerZach Goldberg2010-04-181-1/+1
|
* Implement nullable argument support, including testsZach Goldberg2010-04-183-13/+52
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=616035
* Implementation callback support with scoping and basic argument support.Zach Goldberg2010-04-178-9/+583
| | | | | | | | | | | | | | | This patch was originally written by Zach Goldberg <zach@zachgoldberg.com> with modifications and review by Simon van der Linden <svdlinden@src.gnome.org> and Colin Walters <walters@verbum.org>. This impementation enforces the assumption that any one function signature can only have one (callback, userdata, destronotify) tuple. This allows us to move callback creation into the actual function invoke pipeline and also to keep just one destroy notify callback around, vastly simplifying the code. https://bugzilla.gnome.org/show_bug.cgi?id=603095
* Add support for foreign structsTomeu Vizoso2010-04-178-4/+374
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=603712
* Allow creating structs with pointersTomeu Vizoso2010-04-161-6/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=603537
* override that wasn't checked in - fixes some test casesJohn (J5) Palmieri2010-04-141-0/+69
|
* [Makefile.am] Clean up CFLAGS handling, don't override all: targetColin Walters2010-04-141-6/+9
| | | | | | | | | | First, we should move the CFLAGS into AM_CFLAGS, otherwise the per-target CFLAGS forces Automake to prefix object files, which is unnecessary since we only have one target. More importantly, avoid overriding the all: target here; that's owned by Automake. Use all-local instead to append things to the end of the normal build.
* Use GIMarshallingTests (old TestGI) in gobject-introspectionTomeu Vizoso2010-04-131-69/+0
|
* Always create the .so linkTomeu Vizoso2010-04-091-1/+1
|
* Add modelines and copyright information to overrides modulesSimon van der Linden2010-02-033-0/+62
|
* Fix and complete overrides testsSimon van der Linden2010-02-031-0/+49
| | | | | | Those tests were missing in the last commit https://bugzilla.gnome.org/show_bug.cgi?id=602830
* Remove support for pointers to basic types as input-only argument and return ↵Simon van der Linden2010-01-223-548/+47
| | | | | | | | | value There is no reason for an API to use such things, and g_function_info_invoke broke such features. https://bugzilla.gnome.org/show_bug.cgi?id=607759
* Restore the overrides supportSimon van der Linden2010-01-225-64/+83
| | | | | | | | | | | | | Add a ModuleProxy in front of the DynamicModule when an overrides module is present. There is no need for an overrides module to be a class; it can just be a module. Add an override decorator to override the wrapper of a registered type. Adapt Gdk and Gtk accordingly. Add tests. https://bugzilla.gnome.org/show_bug.cgi?id=602830
* Initialize struct fields to 0 when allocatingSimon van der Linden2010-01-081-1/+1
|
* Don't set a default constructor for structures.Simon van der Linden2010-01-081-28/+7
| | | | | | | | | | Update tests accordingly. The reason for this change is that setting __new__ in the metaclass doesn't let one overrides it afterwards, in a subclass (in my experience, at least, even though it seems weird). https://bugzilla.gnome.org/show_bug.cgi?id=603536
* Suppress compilation warningsSimon van der Linden2010-01-053-4/+3
|
* Add Gtk.keysyms to overridesTomeu Vizoso2009-12-223-0/+1502
|
* The array field 'length' starts to count from the C arg list, so need to ↵Tomeu Vizoso2009-12-223-4/+24
| | | | | | decrement when it's a method https://bugzilla.gnome.org/show_bug.cgi?id=602640
* Depend on GLib 2.20 rather than 2.22Anderson Lizardo2009-11-301-0/+19
| | | | | | Backport g_array_get_element_size. https://bugzilla.gnome.org/show_bug.cgi?id=603411
* Use the limit constants from glib and interpret G_MAXUINT32 as ↵Tomeu Vizoso2009-11-301-7/+7
| | | | | | PyLong_FromLongLong https://bugzilla.gnome.org/show_bug.cgi?id=602384
* Remove global checks for pointers and move them in type cases that need themSimon van der Linden2009-11-302-253/+596
|
* Pythonify. Avoid ; and () around if statementsJohan Dahlin2009-11-301-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602830
* Remove trailing whitespaceJohan Dahlin2009-11-301-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602830
* Set a default constructor for boxed structs that don't have oneTomeu Vizoso2009-11-3010-21/+249
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602735
* Revert "Use the limit constants from glib and interpret G_MAXUINT32 as ↵Tomeu Vizoso2009-11-301-7/+7
| | | | | | PyLong_FromLongLong" This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
* Use the limit constants from glib and interpret G_MAXUINT32 as ↵Tomeu Vizoso2009-11-281-7/+7
| | | | | | PyLong_FromLongLong https://bugzilla.gnome.org/show_bug.cgi?id=602384
* Fix members initialization in metaclassesSimon van der Linden2009-11-271-2/+3
| | | | | | | | | | | | In metaclasses, the test for the name of the class was wrong, since it prevented one to create a subclass with the same name (especially annoying for overrides). Now, if a GType is available from the info, the fact that it doesn't have any wrapper yet means that the metaclass is creating the base class, which will be registerd just after its creation. This is true for objects, and for structures registered as boxed or pointer too. This patch includes a test for basic subclassing in Python. It notably tests that methods don't get overridden by the metaclass.
* Structs in arrays are not marshalled correctlyTomeu Vizoso2009-11-271-5/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602709
* Use the right variable when looking up in sys.modulesSimon van der Linden2009-11-251-1/+1
|
* Accept 0 as a valid value for flag and enum argumentsTomeu Vizoso2009-11-241-1/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602638
* Create overridden modules in two passesJohan Dahlin2009-11-231-13/+21
| | | | | | | | This patch splits overridden module creation into two passes. The first pass creates the auto-generated module normally before the overridden module is attempted to be imported. The second pass imports the overridden module and replaces the auto-generated module with the overridden. This is necessary for the overridden modules to be able to access the auto-generated ones.
* Add support for Any argumentsTomeu Vizoso2009-11-221-8/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=601253
* Register interfacesTomeu Vizoso2009-11-222-1/+37
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=601181
* Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECTTomeu Vizoso2009-11-201-0/+3
|
* Initial importSimon van der Linden2009-11-0825-0/+5785