=== PyGTK 2.9.4 ===
2006-08-04 Johan Dahlin <
[email protected]>
* configure.in:
* docs/Makefile.am:
* docs/reference/entities.docbook.in:
* docs/reference/pygtk2-ref.xml:
Clean up the build date/version mess I created.
Now it's created during configure time and properly included in
the docbook files. Also make sure distcheck passes
2006-08-04 Gustavo J. A. M. Carneiro <
[email protected]>
* configure.in: Add hack to disable libtool checking for g++ and
g77 (copied from libglade).
2006-07-31 John Finlay <
[email protected]>
* codegen/defsgen.py: Add new program to generate .defs files using
the ctypes module to extract info from the GTK libraries.
2006-07-30 John Finlay <
[email protected]>
* gtk/gtkunixprint.override: Remove pygtk_custom_destroy_notify.
2006-07-30 Gustavo J. A. M. Carneiro <
[email protected]>
* codegen/codegen.py (SourceWriter.write_class): Simplify code
that generates the call to pygobject_register_class; Correct the
fallback value of bases_str.
2006-07-28 Gustavo J. A. M. Carneiro <
[email protected]>
* gtk/gtk.override (_wrap_gtk_print_context_get_cairo_context):
Someone forgot to rename the override function when gtk+ API
changed...
2006-07-27 Rafael Ávila de Espíndola <
[email protected]>
reviewed by: Johan Dahlin <
[email protected]>
* atkrectangle.override:
* gtk/gdk.override:
* gtk/gdkevent.override:
* gtk/gdkgc.override:
* gtk/gdkpixbuf.override:
* gtk/gtk-types.c:
* gtk/gtkcontainer.override:
* gtk/gtkmodule.c:
* gtk/gtktextview.override:
* gtk/libglade.override:
Do not exports internal symbols, fixes #347825
2006-07-27 Gustavo J. A. M. Carneiro <
[email protected]>
* gtk/gtk.override (_wrap_gtk_main): Copy paste some code from
pygobject/gobject/pygmainloop written by Mark McLoughlin, to check
for signals inside the gtk main loop.
* gtk/gtkmodule.c (init_gtk): Remove the timer; no longer needed.
Fixes bug #348937: 100ms timeouts in pygtk.
2006-07-25 Johan Dahlin <
[email protected]>
* gtk/gtkmodule.c (init_gtk):
* pangomodule.c (initpango): Check the required
PyGObject version in runtime too.
2006-07-24 John Finlay <
[email protected]>
* atk.defs (atk_role_get_localized_name, atk_role_get_name): Define as
functions.
* pango.defs (pango_script_get_sample_language): Define as function.
* gtk/gtkunixprint.defs (details_acquired)
(gtk_print_capabilities_get_type, status_changed): Add.
* gtk/gtk-base-types.defs (Editable): Add prerequisite.
* pangocairo.override (*_get_type): ignore-glob
(pango_cairo_update_context, pango_cairo_create_layout)
(pango_cairo_update_layout, pango_cairo_show_glyph_string)
(pango_cairo_show_layout_line, pango_cairo_show_layout)
(pango_cairo_glyph_string_path, pango_cairo_layout_line_path)
(pango_cairo_layout_path): ignore.
* pangocairo.defs (pango_cairo_update_context)
(pango_cairo_context_set_font_options)
(pango_cairo_context_get_font_options)
(pango_cairo_context_set_resolution)
(pango_cairo_context_get_resolution, pango_cairo_create_layout)
(pango_cairo_update_layout, pango_cairo_show_glyph_string)
(pango_cairo_show_layout_line, pango_cairo_show_layout)
(pango_cairo_glyph_string_path, pango_cairo_layout_line_path)
(pango_cairo_layout_path): Add.
* pango.override (*_get_type, *_ref, *_unref, *_free): ignore-glob
(pango_default_break): ignore
* pango.defs (pango_attr_shape_new_with_data, pango_default_break)
(pango_context_get_font_map, pango_context_set_matrix)
(pango_context_get_matrix, pango_itemize_with_base_dir)
(pango_coverage_new, pango_glyph_item_split, pango_glyph_item_free)
(pango_glyph_item_apply_attrs, pango_glyph_item_letter_space)
(pango_item_get_type, pango_item_new, pango_item_copy)
(pango_item_free, pango_item_split, pango_script_for_unichar)
(pango_script_iter_new, pango_script_iter_get_range)
(pango_script_iter_next, pango_script_iter_free)
(pango_script_get_sample_language, pango_script_includes_script)
(pango_matrix_get_type, pango_matrix_copy, pango_matrix_free)
(pango_matrix_translate, pango_matrix_scale, pango_matrix_rotate)
(pango_matrix_concat, pango_get_mirror_char, pango_unichar_direction)
(pango_find_base_dir): Add. Add virtuals.
(pango_font_metrics_new, pango_find_map, pango_map_get_engine)
(pango_map_get_engines, pango_module_register): Add with ifdef
PANGO_ENABLE_BACKEND
(pango_split_file_list, pango_trim_string, pango_read_line)
(pango_skip_space, pango_scan_word, pango_scan_string)
(pango_scan_int, pango_config_key_get, pango_lookup_aliases)
(pango_parse_style, pango_parse_variant, pango_parse_weight)
(pango_parse_stretch, pango_get_sysconf_subdirectory)
(pango_get_lib_subdirectory, pango_log2vis_get_embedding_levels)
(pango_get_sample_string, pango_is_zero_width): Add with ifdef
USE_PANGO_UTILS
* pango-types.defs (WrapMode): Add PANGO_WRAP_WORD_CHAR. Reorganize.
2006-07-23 John Finlay <
[email protected]>
* atk.override (AtkObjectFactory__do_create_accessible)
(AtkObjectFactory__proxy_do_create_accessible)
(AtkUtil__do_add_global_event_listener)
(AtkUtil__proxy_do_add_global_event_listener)
(AtkUtil__do_remove_global_event_listener)
(AtkUtil__proxy_do_remove_global_event_listener)
(AtkUtil__do_add_key_event_listener)
(AtkUtil__proxy_do_add_key_event_listener)
(AtkUtil__do_remove_key_event_listener)
(AtkUtil__proxy_do_remove_key_event_listener): Ignore.
* codegen/reversewrapper.py (StringReturn): Add const-gchar* as a
StringReturn match.
* codegen/codegen.py (GInterfaceWrapper.write_virtuals): Don't write
interface_init if no proxies.
* atk.defs: Add get_type defs from atk-enum-types.h.
Add virtuals for Action, Component, Document, EditableText, Hyperlink,
Hypertext, Image, ObjectFactory, ImplementorIface, Object, Selection,
StreamableContent, Table. Text, Util and Value.
* gtk/Makefile.am (libglade.c, gtkunixprint.c): Add dependencies on
gtk-types.defs and gdk-types.defs
* codegen/reversewrapper.py (PangoFontDescriptionReturn)
(PangoFontMetricsReturn, PangoLanguageReturn): Add
2006-07-23 Gustavo J. A. M. Carneiro <
[email protected]>
* gtk/Makefile.am: Remove back the install-exec-hook that removes _gtk.la.
2006-07-23 Johan Dahlin <
[email protected]>
* Makefile.am:
* gtk/Makefile.am:
* gtk/__init__.py:
* gtk/_gtk.py:
* gtk/_lazyutils.py:
* gtk/deprecation.py:
* gtk/gtk.override:
* gtk/gtkmodule.c: (init_gtk):
* gtk/libglademodule.c: (initglade):
Revert dynamic namespaces, it is not possible
to solve it without breaking the ABI.
2006-07-23 Gustavo J. A. M. Carneiro <
[email protected]>
* gtk/_gtk.py: Add _PyGtk_API alias from _gtkimpl, for
compatibility reasons.
* gtk/Makefile.am (install-exec-hook): Uninstall old _gtk.la, if
installed, else it may conflict with _gtkimpl.la.
2006-07-22 John Finlay <
[email protected]>
* atk.defs (atk_implementor_ref_accessible): Attach as
AtkImplementorIface method
* atk-types.defs (AtkImplementorIface): Revert to registered name.
* gtk/gtk-base-types.defs: Annotate interfaces with prerequisites
and objects with interface implementations
* gtk/gtk-2.10-types.defs: Annotate interfaces with prerequisites
and objects with interface implementations. Reorganize.
* codegen/reversewrapper.py (VoidReturn.write_conversion)
(DoubleReturn.write_conversion, GBoxedReturn.write_conversion): Use
failure_exception instead of failure_cleanup
(GtkTreePathReturn): Add.
* gtk/gdk-base.defs (get_display_name, get_n_screens, get_screen)
(get_default_screen, closed): Add GdkDisplay virtual defs
(create_gc, draw_rectangle, draw_arc, draw_polygon, draw_text)
(draw_text_wc, draw_drawable, draw_points, draw_segments)
(draw_lines, draw_glyphs, draw_image, get_depth, get_size)
(set_colormap, get_colormap, get_visual, get_screen, get_image)
(get_clip_region, get_visible_region, get_composite_drawable)
(draw_pixbuf, draw_glyphs_transformed, draw_trapezoids)
(ref_cairo_surface): Add GdkDrawable virtual defs
(get_values, set_values, set_dashes): Add GdkGC virtual defs
(direction_changed, keys_changed): Add GdkKeymap virtual defs
(size_changed): Add GdkScreen virtual def
(gdk_pixbuf_animation_ref, pixbuf_animation_unref): Add
GdkPixbufAnimation method defs
(non_anim_new, is_static_image, get_static_image, get_size)
(get_iter): Add GdkPixbufAnimation method and virtual defs with
GDK_PIXBUF_ENABLE_BACKEND ifdef
(get_delay_time, get_pixbuf, on_currently_loading_frame, advance): Add
GdkPixbufAnimationIter virtual defs with GDK_PIXBUF_ENABLE_BACKEND
ifdef
(pixbuf_error_quark, pixbuf_get_type, ref, unref)
(pixbuf_new_from_file_at_scale, save_to_callbackv)
(save_to_buffer, save_to_bufferv): Add misc GdkPixbuf method and
function defs
(is_scalable, is_disabled, set_disabled, get_license): Add
GdkPixbufFormat methods defs
(set_option): Add GdkPixbuf method def with GDK_PIXBUF_ENABLE_BACKEND
ifdef
(size_prepared, area_prepared, area_updated, closed): Add
GdkPixbufLoader virtual defs
(serialize, deserialize, from_pixbuf, pixbuf_from_pixdata)
(to_csource): Add GdkPixdata method and function defs
* gtk/gdk-2.10.defs (composited_changed): Add GdkScreen virtual def
* gtk/gdk.override (gdk_pixbuf_from_pixdata, gdk_pixdata_*): Ignore
* codegen/reversewrapper.py (GdkRegionPtrReturn): Add.
2006-07-22 Gustavo J. A. M. Carneiro <
[email protected]>
* Makefile.am (SUBDIRS): Make --disable-docs really work.
2006-07-22 John Finlay <
[email protected]>
* gtk/gdk-base.defs (gdk_pixbuf_simple_anim_add_frame)
(pixbuf_simple_anim_new, pixbuf_simple_anim_iter_get_type)
(pixbuf_simple_anim_get_type, gdk_pixbuf_flip): Add
* gtk/gdk.override: Add #define for GDK_TYPE_PIXBUF_SIMPLE_ANIM_ITER.
* gtk/gdk-base-types.defs (PixbufSimpleAnim)
(PixbufSimpleAnimIter, PixbufRotation): Add.
2006-07-20 Johan Dahlin <
[email protected]>
* gtk/gdk-base.defs:
Remove the leading gdk_ from a few functions.
2006-07-20 John Finlay <
[email protected]>
* docs/Makefile.am: Make builddate.xml dependent on REFERENCE_DEPS.
Make version.xml dependent on config.h. Add builddate.xml to pdf and
build-stamp dependencies. Clean pdf files.
2006-07-20 Johan Dahlin <
[email protected]>
* configure.ac:
* docs/Makefile.am:
* docs/reference/.cvsignore:
* docs/reference/version.xml.in:
Generate builddate.xml and version.xml at build time instead on
configure time, add proper dependencies.
2006-07-20 Gustavo J. A. M. Carneiro <
[email protected]>
* gtk/gtk-base.defs (lookup_icon, load_icon): Caller owns return.
Fixes leaks.
2006-07-20 John Finlay <
[email protected]>
* gtk/gtk.override (GtkObject__do_set_arg, GtkObject__do_get_arg)
(GtkObject__proxy_do_set_arg, GtkObject__proxy_do_get_arg): Ignore.
#341633 (Johan Dahlin)
* gtk/gtk-types.c (pygtk_tree_model_row_getitem)
(pygtk_tree_model_row_setitem): Remove negative index readjustment
code. #311852 (Baiju M)
* codegen/codegen.py (Coverage.printstats): Fix typo.
#341668 (Yevgen Muntyan)
2006-07-19 John Finlay <
[email protected]>
* gtk/gtktreeview.override (_wrap_gtk_tree_store_insert): Fix typo
* docs/Makefile.am: Use more portable date generator.
2006-07-19 Johan Dahlin <
[email protected]>
* gtk/gtkmodule.c (init_gtkimpl): Don't register constants
* codegen/codegen.py: Make enum/flags lazily created too.
* gtk/__init__.py:
* gtk/deprecation.py:
Make functions lazily loaded.
Make deprecation lazy too, to avoid refercing anything until it's called.
2006-07-19 Gustavo J. A. M. Carneiro <
[email protected]>
* atk.override (_wrap_atk_editable_text_set_run_attributes): Don't
ignore g_slist_append return value.
2006-07-19 Rafael Espíndola <
[email protected]>
reviewed by: Gustavo Carneiro
* codegen/codegen.py: Mark generated PyTypeObject structures with
G_GNUC_INTERNAL to reduce the size of the PLT. Fixes #347825.
2006-07-19 John Finlay <
[email protected]>
* docs/fixxref.py: Add utility to fix links to pygobject docs.
* docs/Makefile.am : Add reference/version.xml and
reference/builddate.xml for auto generated version and build date for
docs
* docs/common.xsl:
* docs/devhelp.xsl:
* docs/html-style.xsl:
* docs/html.xsl: Remove.
* configure.in (AC_CONFIG_FILES): Add docs/reference/version.xml
2006-07-18 Johan Dahlin <
[email protected]>
* docs/Makefile.am (HTMLdir): Install book in $datadir/gtk-doc/html
2006-07-18 John Finlay <
[email protected]>
* gtk/gtktreeview.override (pygtk_cell_data_func_marshal)
(pygtk_tree_selection_foreach_marshal, pygtk_tree_sortable_sort_cb)
(pygtk_tree_foreach_marshal, pygtk_tree_model_filter_visible_cb)
(pygtk_filter_modify_func_marshal)
(pygtk_set_search_equal_func_marshal): Don't copy TreeIter when passing
to callback. #347273 (Stefano Maggiolo)
(_wrap_gtk_tree_selection_set_select_function): Optionally provide full
info to callback. #340475 (Wouter Bolsterlee)
2006-07-17 John Finlay <
[email protected]>
* gtk/gtktreeview.override:
(_wrap_gtk_tree_store_set_column_types): Add.
(_wrap_gtk_tree_store_insert): Use gtk_tree_store_insert_with_valuesv.
* gtk/_lazyutils.py (LazyNamespace.__getattribute__): Allow
'from gtk import *' to work
2006-07-17 Johan Dahlin <
[email protected]>
* configure.in:
* docs/.cvsignore:
* docs/Makefile.am:
* docs/reference/pygtk2-ref.xml:
Add non GObject parts of John Finlays reference manual
2006-07-17 John Finlay <
[email protected]>
* codegen/reversewrapper.py (GBoxedReturn.write_conversion): Specify
code arg is None
* gtk/gtk-2.10.defs: Add additional virtual defs.
* gtk/gtk-base.defs: Add additional virtual defs.
2006-07-14 John Finlay <
[email protected]>
* Makefile.am (.defs.c): Allow libglade and gtkunixprint code
generation in place.
2006-07-13 John Finlay <
[email protected]>
* gtk/gtk-2.10-types.defs (TargetList): Move from
gtk/gtk-base-types.defs
* gtk/gtk-base-types.defs (AccelMap): Add. #337011 (Sebastian Pölsterl)
(TipsQuery, TargetList, TreePath, FileInfo, FilePath): Add.
* gtk/gtk.override (_wrap_gtk_accel_map_foreach)
(_wrap_gtk_accel_map_foreach_unfiltered): Add.
Fixes #337011 (Sebastian Pölsterl)
(GtkTipsQuery, GtkTargetList, GtkTreePath, GtkFileInfo, GtkFilePath):
Ignore types.
* codegen/codegen.py (SourceWriter.write_registers): Don't write
registers for ignored types.
(SourceWriter.write_type_declarations): Don't write type declarations
for ignored types.
2006-07-13 Johan Dahlin <
[email protected]>
* codegen/codegen.py:
* codegen/defsparser.py:
* configure.in:
* gtk/Makefile.am:
* gtk/__init__.py:
* gtk/_gtk.py:
* gtk/_lazyutils.py:
* gtk/deprecation.py:
* gtk/gtk.override:
* gtk/gtkmodule.c: (init_gtkimpl):
* gtk/libglade.override:
* gtk/libglademodule.c: (init_glade):
* gtk/pygtk.h:
* tests/common.py:
* tests/test_api.py:
Only load types in gtk when they are used, fixes #346946
2006-07-13 Gustavo J. A. M. Carneiro <
[email protected]>
* tests/test_container.py: New unit test to
set/get_child_property, etc. by Lorenzo Gil Sanchez.
* tests/Makefile.am (tests): Add test_container.py.
* gtk/gtkcontainer.override
(_wrap_GtkContainer__proxy_do_set_child_property): Add missing
param.
* gtk/gtkwidget.override (_wrap_gtk_widget_set_activate_signal)
(_wrap_gtk_widget_get_activate_signal): Add getter and setter for
GtkWidgetClass->activate_signal. Fixes #331445.
* gtk/gtk.override (_wrap_gtk_action_set_menu_item_type): Add
class method to change GtkActionClass->menu_item_type.
(_wrap_gtk_action_set_tool_item_type): idem for tool_item_type.
Fixes #331355.
* gtk/gtk-base.defs: Declare the missing
GtkAction.create_menu|tool_item virtuals.
* examples/gtk/scrollable.py (Layout.do_size_allocate): Save the
allocation (#341509, Muntyan).
* gtk/gtk.override (_wrap_GtkEditable__do_insert_text): Impl.
(_wrap_GtkEditable__do_get_selection_bounds): Impl.
* gtk/gtk-base.defs (insert_text): Add direction information to
the position parameter of gtk.Editbale.insert_text virtual.
* codegen/defsparser.py (IncludeParser.include): Fix including
absolute path names, #345073.
2006-07-12 Gustavo J. A. M. Carneiro <
[email protected]>
* NEWS: I forgot one NEWS item in the release :P
* configure.in: Post release version bump.