lp://staging/~rotty/guile-gnome/glib
- Get this branch:
- bzr branch lp://staging/~rotty/guile-gnome/glib
Branch merges
Branch information
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. - 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. - 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.