=== PyGtk 2.3.91 ===
2004-04-16 Johan Dahlin <
[email protected]>
* NEWS: Update
2004-04-15 Gustavo J. A. M. Carneiro <
[email protected]>
* pygboxed.c (PyGBoxed_Type, PyGPointer_Type): idem.
* pygobject.c (PyGObject_Type): idem.
* gobjectmodule.c (PyGInterface_Type): Typecast tp_free slot to
'freefunc' to avoid compiler warning.
* pygobject.h: Conditionally make an alias for function type
'destructor' called 'freefunc', for backward compatibility with
those poor souls still stuck with Python 2.2.
* codegen/codegen.py (Wrapper): change typecast of tp_free slot
from destructor to freefunc, for compatibility with Python 2.3.
2004-04-15 John Finlay <
[email protected]>
* gtk/gtk.defs Add defs for GtkRadioAction
* gtk/gtk.override (_wrap_gtk_radio_action_set_group)
(_wrap_gtk_radio_action_get_group) Add.
* gtk/gtk.defs Add defs for GtkRadioToolButton
* gtk/gtk.override (_wrap_gtk_radio_tool_button_new)
(_wrap_gtk_radio_tool_button_set_group)
(_wrap_gtk_radio_tool_button_get_group) Add.
* gtk/gtk.override (_wrap_gtk_scale_get_layout_offsets) Add.
* gtk/gtk.defs (gtk_selection_owner_set_for_display) Allow widget
param to be NULL.
2004-04-14 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_icon_size_lookup_for_settings) Add.
* gtk/gtk.override (_wrap_gtk_icon_theme_get_search_path)
(_wrap_gtk_icon_theme_set_search_path) Add.
* gtk/gtk.override (_wrap_gtk_icon_theme_list_icons) Add.
* gtk/gtk-types.defs (IconInfo) Add GtkIconInfo boxed type.
* gtk/gtk.defs (gtk_icon_info_copy) Add (caller-owns-return #t)
* gtk/gtk.override (_wrap_gtk_icon_info_get_embedded_rect) Add.
(_wrap_gtk_icon_info_get_attach_points) Add.
* gtk/gtk.defs (gtk_list_store_move_sfter) Allow position to be NULL
(gtk_list_store_move_before) Allow position to be NULL
* gtk/gtk.defs (gtk_menu_set_screen) Allow screen to be NULL.
2004-04-13 Johan Dahlin <
[email protected]>
* gobjectmodule.c (pyg_register_interface): Move quark_to_string
to initgobject
* codegen/codegen.py: Add support for tp_new
2004-04-13 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_clipboard_wait_for_targets) Add.
* gtk/gtk.override (_wrap_gtk_clipboard_request_contents)
(_wrap_gtk_clipboard_request_text)
(_wrap_gtk_clipboard_request_targets) Add.
* gtk/gtk.defs More gtk_ function cleanup.
2004-04-12 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_action_group_add_radio_actions) Fix
bugs in connecting callback to first radio action.
2004-04-12 Johan Dahlin <
[email protected]>
* pygtk.spec.in: Update, with help of Jason Tackaberry and Thomas
Vander Stichele
2004-04-11 Johan Dahlin <
[email protected]>
* NEWS: Add 2.3.90 stuff here, forgot to do it!
* AUTHORS: Update, add the current active developers here
* pygobject.c (pygobject_new_with_interfaces): New function.
(pygobject_lookup_class): Modify so we're not traversing parents
for unknown types but instead creating new types when they're not
registered. We're also using pygobject_new_with_interfaces so
interfaces gets attached correctly. Partial fix for bug 129032
* gobjectmodule.c: Add quark and attach the PyTypeObject for
GInterfaces.
* pygobject-private.h: Make PyGInterface_Type and
pyginterface_type_key public
2004-04-10 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_action_group_add_toggle_actions) Make
method more like C API - add is_active processing.
(_wrap_gtk_action_group_add_radio_actions) Make method more like C API
- remove per item callback processing, add value and on_change
parameters and processing.
Add Runtime exceptions.
* gtk/gtk.defs (gtk_clipboard_set_text) Allow len param to default to
-1 - calculates text length.
2004-04-10 Johan Dahlin <
[email protected]>
* gtk/__init__.py: Move GtkDeprecatedWarning ...
Remove global module import and do it in the class _Deprecated and
delete _Deprecated when done.
(_Deprecated.__repr__): Add.
* gtk/gtkmodule.c: ... here, and rename it to DeprecatedWarning
2004-04-10 Gustavo J. A. M. Carneiro <
[email protected]>
* configure.in: Bump version up to 2.3.91.
* examples/pygtk-demo/demos/images.py: Add 'Images' demo ported to
python by Joey Tsai (see bug #100873).
* Makefile.am (EXTRA_DIST): Add floppybuddy.gif and alphatest.png,
copied from gtk+, for pygtk-demo.
2004-04-09 John Finlay <
[email protected]>
* gtk/gtk.defs (gtk_action_group_add_action_with_accel) The accelerator
can be NULL to force stock accel usage.
2004-04-09 Gustavo J. A. M. Carneiro <
[email protected]>
* pygtype.c (pyg_value_as_pyobject): Convert GValueArray to python
list, not tuple, as per comment in bug 129966.
* gobjectmodule.c (initgobject, _pyg_strv_from_gvalue)
(_pyg_strv_to_gvalue): Register GValue<->PyObject conversion
functions for boxed type G_TYPE_STRV. Code is taken from
gnome-python (bonobomodule.c), except that conversion to python
object creates python list instead of tuple, as per comment in bug
129966.
2004-04-09 Johan Dahlin <
[email protected]>
* gtk/__init__.py: Add deprecation warnings for all deprecated functions.
2004-04-08 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_file_filter_filter) Add.
(_wrap_gtk_file_filter_add_custom) Add.
* gtk/gtk.override (_wrap_gtk_font_button_new) Add to allow optional
fontname parameter.
* gtk/gtk.override (_wrap_gtk_action_get_proxies) Add.
2004-04-07 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_file_chooser_widget_new) Add to allow
action and backend as optional parameters similar to
_wrap_gtk_file_chooser_dialog_new.
2004-04-07 Johan Dahlin <
[email protected]>
* gtk/gtk.override (_wrap_gtk_color_button_get_color): Remove
unused variable.
* configure.in: Nicer error messages (pytk-2-2 branch instead of gnome-gtk-1-2)
* codegen/codegen.py (Wrapper.write_methods): Use the methods name
(instead of the "c" name) so we get a nicer output.
2004-04-06 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_file_chooser_get_filenames)
(_wrap_gtk_file_chooser_get_uris)
(_wrap_gtk_file_chooser_list_filters)
(_wrap_gtk_file_chooser_list_shortcut_folder_uris)
(_wrap_gtk_file_chooser_list_shortcut_folders) Add.
* gtk/gdk.defs (gdk_pixbuf_new_from_file_at_size) Add.
2004-04-05 Johan Dahlin <
[email protected]>
* gtk/gtk.defs (gtk_entry_new_with_max_length): Remove deprecation flag
2004-04-05 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_combo_box_entry_new) Allow a TreeModel
and text column to be optionally specified when creating a
ComboBoxEntry. Allow model parameter to be None.
(_wrap_gtk_combo_box_new) Allow model parameter to be None.
* gtk/gtk.override (_wrap_gtk_entry_completion_set_match_func) Add.
2004-04-04 John Finlay <
[email protected]>
* gtk/gtk.defs Removed gtk_ from various define-function definitions
so that the function naming is consistent i.e. gtk.function instead
of gtk.gtk_function: gtk_accel_map_add_entry,
gtk_binding_parse_binding, gtk_combo_box_new_text,
gtk_combo_box_entry_new_text, gtk_file_system_error_quark,
gtk_file_paths_sort, gtk_file_paths_copy, gtk_file_paths_free,
gtk_icon_theme_error_quark, gtk_icon_theme_get_default,
gtk_icon_theme_get_for_screen, gtk_icon_theme_add_builtin_icon,
gtk_preview_get_info, gtk_tooltips_data_get,
gtk_tree_path_new_from_string, gtk_tree_path_new_from_indices and
gtk_tree_path_new_first.
* gtk/gtk.override (_wrap_gtk_tooltips_data_get1) Add deprecation
warning for gtk.gtk_tooltips_data_get().
* gtk/gtk.defs (gtk_cell_layout_pack_start)
(gtk_cell_layout_pack_end) Allow the expand param to default to TRUE.
2004-04-04 Gustavo J. A. M. Carneiro <
[email protected]>
* gtk/gdk.override (_wrap_gdk_window_new): If compiling for win32
platform, add a g_object_ref for the newly created GdkWindow.
Thanks John Ehresman. Fixes #122755.
* gtk/Makefile.am (_gtk_la_CFLAGS): Add -DPLATFORM_WIN32 depending
on PLATFORM_WIN32 AM conditional.
2004-04-04 Johan Dahlin <
[email protected]>
* gtk/gtk.defs (icon_set_new): Is not a constructor, patch from
Scott Tsai, fixes bug 138576
2004-04-03 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_color_button_new) Implement with
gtk_color_button_new_with_color() to allow optionally specifying
a GdkColor.
* gtk/gtk.override (_wrap_gtk_color_button_get_color) Return a
GdkColor instead of passing in a GdkColor to be filled in.
* gtk/gtk-types.defs Added CellLayout interface and references to it
for ComboBox, ComboBoxEntry, TreeViewColumn and EntryCompletion.
* gtk/gtk.override (_wrap_gtk_combo_box_new) Allow a TreeModel to be
optionally specified when creating a ComboBox.
(_wrap_gtk_combo_box_get_active_iter) Return a TreeIter pointing at the
active item or None if no active item.
* gtk/gtk.override (_wrap_gtk_cell_layout_set_attributes) Added.
2004-04-02 Gustavo J. A. M. Carneiro <
[email protected]>
* acconfig.h: This file is deprecated in newer automake. Removed.
2004-04-02 Johan Dahlin <
[email protected]>
* pygtk-2.0.pc.in (pyexecdir): Add
* gtk/gtktreeview.override: Update ignore
* gtk/gtk.override (_wrap_gtk_action_group_list_actions)
(_wrap_gtk_action_group_add_toogle_actions)
(_wrap_gtk_action_group_add_radio_actions): Impl.
Update ignore
2004-04-01 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_accel_group_connect_by_path) Add.
(_wrap_gtk_file_chooser_dialog_new) Fix small bug.
2004-03-31 John Finlay <
[email protected]>
* gtk/gtk.override (_wrap_gtk_alignment_get_padding) Add.
=== PyGtk 2.3.90 ===