lp:~rotty/guile-gnome/glib

Created by Andreas Rottmann and last modified
Get this branch:
bzr branch lp:~rotty/guile-gnome/glib
Only Andreas Rottmann can upload to this branch. If you are Andreas Rottmann please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andreas Rottmann
Project:
Guile-Gnome
Status:
Development

Recent revisions

67. By Andreas Rottmann

2007-08-15 Andreas Rottmann <email address hidden>

 * gnome/gw/support/gobject.scm (<gobject-object-type>)
 (<gobject-boxed-type>, <gobject-interface-type>): Properly set
 allowed-options via class declaration keyword instead of explicit
 slot access.

66. By Andreas Rottmann

Merge from master repository

65. By Andreas Rottmann

Support for mainloop signal handling in Guile 1.8

64. By Andy Wingo

2007-02-02 Andy Wingo <email address hidden>

 * gnome/gw/support/gobject.scm (wrap-gobject-class!): Add a type
 alias for classes; fixes class parameters to wrapped functions.

 * gnome/gw/support/defs.scm (load-defs): Support new parameter,
 `leave-guile-mode'. Takes one boolean argument, defaults to #t. If
 #t, g-wrap will leave guile mode when the function is called.
 Requires new g-wrap.

 * gnome/gobject/gvalue.scm (initialize): Untabify.
 (gtype-instance:write): Untabify. Use gflags->symbol-list to write
 flags.
 (find-enum, genum->symbol, genum->name, genum->value): Untabify.
 (gflags->element-list): Untabify; fix a bug so that 0x3 does not
 match 0x1.
 (gflags->symbol-list, gflags->name-list, gflags->value-list):
 Untabify.

 * gnome/gobject/gtype.c (scm_init_gnome_gobject_types): Don't
 install a log handler; not only does the scm_throw corrupt
 libraries' internal state, it is dangerous because now it is
 likely that we are not in guile mode.

63. By Andy Wingo

2006-12-17 Andy Wingo <email address hidden>

 * gnome/gobject/gclosure.c ("%scm-gclosure-marshal"): Enter guile
 via scm_with_guile when invoking a closure; along with a patch I'm
 mailing to the g-wrap list this makes callbacks from other threads
 work.

62. By Andy Wingo

Released guile-gnome-platform 2.15.90

61. By Andy Wingo

2006-12-15 Andy Wingo <email address hidden>

 * test-suite/gw-test-gobject-spec.scm (gw-test-gobject-spec):
 * test-suite/gw-test-glib-spec.scm (gw-test-glib-spec): Fix up
 includes.

 * test-suite/gobject.test ("basic values"): Fix the check for
 out-of-range errors, using the "value out of range" variant
 instead of "argument N out of range".

 * test-suite/Makefile.am (libgw_guile_test_glib_la_LIBADD): Link
 to GLib.

 * gnome/gw/support/gobject.scm (wrap-value-cg): Use the
 scm_c_gtype_instance_unref generic function instead of
 g_object_unref, so that we can support other classed objects.

 * gnome/gobject/gtype.c:
 (get_gtype_instance_instance_funcs)
 (scm_register_gtype_instance_funcs, scm_c_gtype_instance_ref)
 (scm_c_gtype_instance_unref)
 (scm_c_gtype_instance_get_cached_smob)
 (scm_c_gtype_instance_set_cached_smob)
 (scm_c_gtype_instance_get_cached_goops)
 (scm_c_gtype_instance_set_cached_goops): Keep a registry of
 fundamental classed gtypes that we know how to deal with, with
 function pointers on how to ref, unref, get qdata, and set qdata
 on them. This gets g_object_* code out of gtype.c, and allows for
 external modules to define wrappers for new fundamental classed
 types, like GStreamer's miniobjects.
 (scm_gtype_instance_free, scm_c_gtype_instance_to_scm)
 (scm_c_make_gtype_instance): Use the generic functions instead of
 type-specific switch blocks.

 * gnome/gobject/gparameter.c (scm_init_gnome_gobject_parameters):
 Register the paramspec ref/sink/qdata functions with gtype.c.

 * gnome/gobject/gobject.c (scm_init_gnome_gobject): Register the
 gobject ref/sink/qdata functions with gtype.c.
 (s_scm_gobject_primitive_create_instance): use
 scm_c_gtype_instance_set_cached_goops instead of mucking about
 with qdata ourselves.

60. By Andy Wingo

2006-12-09 Andy Wingo <email address hidden>

 * gnome/gw/support/gobject.scm (wrap-value-cg): If a boxed value
 is caller-owned, then use g_value_take_boxed instead of
 g_value_set_boxed.

 * gnome/gobject/gvalue.c (s_scm_scm_to_gvalue): If a custom
 unwrapper fails to set the gvalue, signal a wrong-type-arg
 exception.

59. By Andy Wingo

2006-12-08 Andy Wingo <email address hidden>

 * gnome/gw/support/gobject.scm (wrap-custom-gvalue!): New public
 macro, allows new fundamental GTypes to be represented as native
 scheme values. For example, GstIntRange as a pair of ints.

 * gnome/gobject/guile-gnome-gobject.h: Add gc.h so people using
 this header get everything.

 * gnome/gobject/gvalue.c (scm_init_gnome_gobject_values): Don't
 export enum and flags gtypes here, that's already done by gtype.c.
 I'm not sure if this is the right change though; it seems that all
 of the gtype:foo exports should be done in the same file. Dunno.

58. By Andy Wingo

2006-11-05 Andy Wingo <email address hidden>

 * gnome/gw/gobject-spec.scm: Use (gnome gw support g-wrap), the
 g-wrap compatibility wrapper.

 * gnome/gw/glib-spec.scm: Use (gnome gw support g-wrap), the
 g-wrap compatibility wrapper.

 * gnome/gw/support/Makefile.am (support_DATA):
 * gnome/gw/support/g-wrap.scm: New module, (gnome gw support
 g-wrap), added to the dist. The idea is for wrapsets to have
 access to all g-wrap generics from one module.

This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.