=== PyGTK 2.5.4 === 2005-02-23 Johan Dahlin * README, NEWS: Update 2005-02-23 Cedric Gustin * 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-15 Johan Dahlin * gtk/__init__.py: Deprecate gtk.TRUE and gtk.FALSE 2005-02-17 Gustavo J. A. M. Carneiro * examples/pygtk-demo/pygtk-demo.in: New, frontend script to launch pygtk demo. * examples/Makefile.am: Install the pygtk demo. * examples/pygtk-demo/demos/appwindow.py (ApplicationMainWindowDemo.activate_about) (ApplicationMainWindowDemo.__create_action_group): Popup a simple AboutDialog on Help->About. 2005-02-15 Johan Dahlin * configure.in: Fix logic when displaying modules not built, Thanks to Abel Daniel for pointing out. * gtk/gtk.defs: Undeprecate gtk.icon_size_get_name and gtk.icon_size_lookup and remove broken methods. 2005-02-13 Gustavo J. A. M. Carneiro * gtk/gtk.defs: Reorder all the (define-virtual...) declarations, putting them right after the method declarations of the respective objects. 2005-02-10 Mark McLoughlin * 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 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. 2005-01-10 Johan Dahlin * configure.in: post release version bump