| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Fri Jul 1 18:51:15 PDT 2005 Manish Singh <yosh@gimp.org>
* gobject/pygmaincontext.c: unref the underlying GMainContext upon
object destruction. Some minor cleanups as well.
|
|
|
|
|
|
|
|
|
| |
* gobject/pygtype.c: Extend to add some new fields, add a getter
for GType.type, which points to the python registered type
of a PyGTypeWrapper.
* gobject/gobjectmodule.c (initgobject): And register PyGTypeWrapper,
a side effect is that dir(gtype) also works now.
|
|
|
|
|
|
|
|
|
| |
2005-06-21 Johan Dahlin <jdahlin@async.com.br>
* gobject/pygparamspec.c: (pygenum_from_pspec),
(pygflags_from_pspec): Try to register unknown enums and flags on the fly.
Fixes #308536, patch by Edward Hervey
* gobject/pygflags.c: (pyg_flags_add): Make module optional.
|
| |
|
|
|
|
|
|
| |
* gobject/pygobject.c (pygobject_new_with_interfaces): Fix
typo in documentation string. Fixes #171910 (Tuure Laurinolli
and Gian Mario Tagliaretti)
|
|
|
|
|
|
|
| |
2005-06-09 Manish Singh <yosh@gimp.org>
* gobject/pygobject.h
* gtk/pygtk.h: Use G_STMT_START/END for init_ defines.
|
| |
|
| |
|
|
|
|
|
|
|
| |
2005-05-28 Manish Singh <yosh@gimp.org>
* gobject/pygiochannel.c (pyg_iowatch_marshal): Pass the GIOCondition
to PyObject_CallFunction.
|
|
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c: (initgobject):
* gobject/pygobject-private.h:
* gobject/pygtype.c: (pyg_register_boxed_custom):
Sort quark names. Rename pyg_boxed_marshal_key to pygboxed_marshal_key.
Don't set the keys twice
|
| |
|
|
|
|
|
|
|
| |
2005-05-25 Manish Singh <yosh@gimp.org>
* gobject/pygiochannel.c: Pass gsize to GIOChannel functions that
expect them.
|
|
|
|
| |
* Bug fixes
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
2005-05-17 Manish Singh <yosh@gimp.org>
* gobject/pygparamspec.c (pyg_param_spec_getattr): make it build
again (missing })
|
|
|
|
|
|
| |
* gobject/pygparamspec.c: (pygenum_from_pspec),
(pygflags_from_pspec): Improve GParamSpec wrapping, fixes
bug #170614
|
|
|
|
|
|
|
|
|
|
| |
2005-05-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
reviewed by: Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (pyg_register_class_init),
(pyg_run_class_init): Allow multiple calls to
pyg_register_class_init, fixes #304353
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
reviewed by: Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c:
* gobject/pygobject-private.h:
* gobject/pygobject.h:
* gobject/pygtype.c: (pyg_closure_marshal),
(pyg_closure_set_exception_handler): Adds exception handling
support to closures, fixes #304357
|
|
|
|
|
|
|
|
| |
* gobject/pygenum.c (pyg_enum_new): Complain if ret is NULL,
Fixes #303524.
* gobject/pygflags.c (pyg_flags_new): Change exception format to
be consistent with the one in enum
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-09 Mark McLoughlin <mark@skynet.ie>
Fix for bug #303573 - "exceptions raised in a child watch
handler are silently swallowed"
* gobject/gobjectmodule.c:
(child_watch_func),
(_pyg_spawn_async_callback): if PyObject_CallFunction()
returns NULL, print a traceback of the exception.
* tests/test_mainloop.py: add testcase.
* tests/Makefile.am: add test_mainloop.py
Reviewed by Johan Dahlin <johan@gnome.org>
|
|
|
|
|
| |
* gobject/pygparamspec.c (pyg_param_spec_getattr): In case the
enum is not registered, set enum_class or flag_class to None
|
|
|
|
|
|
|
| |
2005-02-23 Cedric Gustin <cedric.gustin@swing.be>
* gobject/pygtype.c (add_property_docs): Use G_CONST_RETURN with a
gchar* return value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-23 Cedric Gustin <cedric.gustin@swing.be>
* setup.py: Move the install_template call for pygobject-2.0.pc.in
to the right place in the script. Also define PLATFORM_WIN32 on
win32. Fixes bug #150616.
* codegen/codegen.py: Do not write the 'pygtk class init' function
for objects whose type is explicitly ignored (like GtkPlug and
GtkSocket on win32). Otherwise, it generates glib-warnings related
to calls to g_object_set_qdata with a NULL 'node'.
* gobject/pygtype.c: Do not use g_string_append_printf with a NULL
argument, as it crashes on win32. Fixes bug #166546.
* gtk/gtk.override: Add GtkSocket__proxy_do_plug_added,
GtkSocket__proxy_do_plug_removed and GtkPlug__proxy_do_embedded to
the ignore-win32 list.
|
|
|
|
|
|
|
|
| |
2005-02-10 Mark McLoughlin <mark@skynet.ie>
* gobject/pygmainloop.c: (pyg_restore_current_main_loop):
don't pass a NULL value to PyThread_set_key_value() - causes
an assertion failure with python 2.4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-09 Mark McLoughlin <mark@skynet.ie>
Fix for bug #154779 - Python signal handlers don't
get executed while you're sitting in the main loop.
* gobject/pygmainloop.c:
(pyg_save_current_main_loop),
(pyg_restore_current_main_loop),
(pyg_get_current_main_loop): functions for keeping
track of the currently running main loop. A version
using TLS and another using a global variable, depending
on whether DISABLE_THREADING is defined
(pyg_signal_watch_prepare), (pyg_signal_watch_check),
(pyg_signal_watch_dispatch), (pyg_signal_watch_new):
a GSource which runs the python signal handlers whenever
the mainloop is interrupted by signal delivery.
(pyg_main_loop_new), (pyg_main_loop_dealloc): add and
remove the source.
(_wrap_g_main_loop_run): push/pop the currently running
main loop.
* gobject/pygobject-private.h: add a pointer for the
source to PyGMainLoop.
* gobject/Makefile.am: add -DPLATFORM_WIN32 to cflags
if building on Windows.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
GValueArray conversion
|
|
|
|
| |
sometimes not
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
2004-12-10 John Ehresman <jpe@wingide.com>
* gobject/pygobject.h: Change PY_HEXVERSION to PY_VERSION_HEX
|
| |
|
|
|
|
|
| |
* gobject/pygobject.c (pygobject_register_sinkfunc): Make sure
type is a type and sinkfunc isn't NULL.
|
|
|
|
|
| |
* gobject/pygflags.c (pyg_flags_repr): Print long int value if enum
string not found. Fixes #158417. (modifed patch from Tim Evans)
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c (pyg_signal_list_ids)
(pyg_signal_lookup, pyg_signal_name, pyg_signal_query): Add signal
introspection functions
|
|
|
|
|
| |
* gobject/gobjectmodule.c (_pyg_strv_from_gvalue) Avoid segfault
when argv is NULL.
|
|
|
|
|
|
|
|
| |
2004-11-06 Hans Breuer <hans@breuer.org>
* config.h.win32 makefile.msc gobject/makefile.msc
gtk/makefile.msc : updated - pygtk is working fine
with msvc (but requires -DDISABLE_THREADING), Thanks!
|
| |
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c (pyg_enable_threads): Allow gtk_main to
be invoked from a thread created by the threading module by
requiring the GIL be held when pyg_enable_threads is invoked.
|
|
|
|
|
|
| |
This is make threading usable for both users of the threading
module and users that requires interaction with threads from
other extension modules.
|