summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.8.1PYGTK_2_8_1Johan Dahlin2005-10-042-40/+37
|
* Fix gcc 4.0 warnings.Johan Dahlin2005-10-036-19/+35
| | | | | | | | | * gobject/pygobject.c: (PyGProps_length): * gtk/gdk.defs: * gtk/gdk.override: * gtk/gtk.defs: * gtk/gtk.override: Fix gcc 4.0 warnings.
* Check if the gobject is initialized, partly fixes #96658Johan Dahlin2005-10-032-1/+77
| | | | | | | | | | | | | * gobject/pygobject.c: (pygobject_get_property), (pygobject_set_property), (pygobject_freeze_notify), (pygobject_notify), (pygobject_thaw_notify), (pygobject_get_data), (pygobject_set_data), (pygobject_connect), (pygobject_connect_after), (pygobject_connect_object), (pygobject_connect_object_after), (pygobject_disconnect), (pygobject_handler_is_connected), (pygobject_handler_block), (pygobject_emit), (pygobject_stop_emission), (pygobject_chain_from_overridden): Check if the gobject is initialized, partly fixes #96658
* guint64 property fixGustavo J. A. M. Carneiro2005-10-023-11/+25
|
* add (disabled) uint64 testJohan Dahlin2005-10-021-3/+19
|
* unit test for gobject.new error bugGustavo J. A. M. Carneiro2005-10-012-0/+6
|
* fix segfaul on error return in gobject.newGustavo J. A. M. Carneiro2005-10-012-4/+9
|
* Undeprecate for now.Johan Dahlin2005-09-292-10/+18
| | | | | | * gobject/gobjectmodule.c: (pyg_type_name), (pyg_type_from_name), (pyg_type_parent), (pyg_type_is_a), (pyg_type_children), (pyg_type_interfaces): Undeprecate for now.
* workaround gtk bug #317455Gustavo J. A. M. Carneiro2005-09-284-0/+36
|
* fix pango.SCALE_* valuesGustavo J. A. M. Carneiro2005-09-282-2/+7
|
* Bug 317172: gtk.glade.signal_autoconnect causes leaked objectsGustavo J. A. M. Carneiro2005-09-254-2/+39
|
* Include the object and the name of the signal in TypeErrorsJohan Dahlin2005-09-223-7/+30
| | | | | | | | | * gobject/gobjectmodule.c: (pyg_type_from_name): * gobject/pygobject.c: (pygobject_connect), (pygobject_connect_after), (pygobject_connect_object), (pygobject_connect_object_after), (pygobject_emit), (pygobject_stop_emission): Include the object and the name of the signal in TypeErrors
* Add signatures of detach and menu position callbacks. Fixes #316780 (NikosJohn Finlay2005-09-202-1/+30
| | | | | * pygtk-gtkmenu.xml (attach_to_menu): Add signatures of detach and menu position callbacks. Fixes #316780 (Nikos Kouremenos)
* Add null-okJohan Dahlin2005-09-202-1/+5
| | | | * gtk/gtk.defs (Entry.set_completion): Add null-ok
* Add binding_entry_removeref_2_8_1helpJohn Finlay2005-09-181-0/+9
| | | | * Add binding_entry_remove
* Add new filesJohn Finlay2005-09-189-0/+2106
| | | | * Add new files
* Add descriptions.John Finlay2005-09-1825-135/+949
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pygtk-gobject-functions.xml (spawn_async, child_watch_add) (main_depth, get_current_time) : Add descriptions. * pygtk-gobject-constants.xml (Spawn Flag Constants): Add. * pygtk-gtkobject.xml (gtk.binding_entry_remove): Add. * pygtk-gtk-functions.xml (gtk.binding_entry_add_signal): Move function description to gtk.Object class description. Fix varname errors (#316022 Nikos Kouremenos). * pygtk2-ref.xml: Change date and bump version number. * pygtk-hierarchy.xml: Update. * pygtk-pangocairocairocontext.xml : Add class description. * pygtk-pangocairocairofontmap.xml : Add class description. * pygtk-pangocairo-constants.xml : Add. * pygtk-pangocairo-functions.xml : Add. * pygtk-pangolayoutline.xml : Add class description. * pygtk-pangolayoutiter.xml (get_line): Add. * pygtk-gdkdrawable.xml (cairo_create): Add. * pygtk-pangorenderer.xml: Add pango.Renderer class description. * pygtk-gdkpangorenderer.xml: Add gtk.gdk.PangoRenderer class description. * pygtk-pango-constants.xml (pango.RENDER_PART): Add. * pygtk-gdkdragcontext.xml (set_icon_name): Remove. * pygtk-gdkwindow.xml (set_urgency_hint): Remove. * pygtk-gtktreeview.xml (get_visible_range): Remove. * pygtk-gtkwidget.xml (drag_source_add_image_targets) (drag_source_add_uri_targets, drag_source_set_icon_name): Remove. * pygtk-gtkdialog.xml (gtk.alternative_dialog_button_order): Remove. * pygtk-gtk-functions.xml (gtk.alternative_dialog_button_order): Remove. * pygtk-gtkclipboard.xml (request_image, wait_for_image, set_image) (wait_is_image_available): Remove. * pygtk-gtkaboutdialog.xml (gtk.about_dialog_set_email_hook) (gtk.about_dialog_set_url_hook): Add description of callback function.
* Allow subwindow to be set for enter & leave notify events.John Ehresman2005-09-162-2/+13
| | | | | | | 2005-09-16 John Ehresman <jpe@wingware.com> * gtk/gdk.override (_wrap_gdk_event_tp_setattr): Allow subwindow to be set for enter & leave notify events.
* Add gobject.Warning Warning subclass and redirect all g_log messages forJohn Ehresman2005-09-165-6/+74
| | | | | | | | | | | | | | | | | | | 2005-09-16 John Ehresman <jpe@wingware.com> * gobjectmodule.c (initgobject): Add gobject.Warning Warning subclass and redirect all g_log messages for the "GLib", "Glib-GObject", and "GThread" domains to the python warning system * pangomodule.c (initpango): Add pango.Warning Warning subclass and redirect all g_log messages for the "Pango" domain to the python warning system * gtkmodule.c (initgtk): Move gtk Warning subclass from the gdk module to the gtk module and added redirections for g_log messages for the "Gdk" and "GdkPixbuf" domains to the python warning system * gtk/__init__.py: Set gdk.Warning = gtk.Warning for backward compatibility
* Revert Johns latest commit.Johan Dahlin2005-09-137-211/+16
| | | | | | | | | | | * gtk/gdk.defs: * gtk/gtk.defs: * gtk/gtk.override: * gtk/gtktextview.override: * gtk/gtktreeview.override: * gtk/gtkwidget.override: Revert Johns latest commit.
* better error messages when registering propertiesGustavo J. A. M. Carneiro2005-09-132-0/+16
|
* Fix typos, etc.ref_2_8_0John Finlay2005-09-078-6/+47
| | | | * Fix typos, etc.
* Change date and version number.John Finlay2005-09-0736-505/+3971
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pygtk2-ref.xml: Change date and version number. * pygtk-pangolayoutiter.xml (free): * pygtk-gdkevent.xml (free): * pygtk-gtktreerowreference.xml (free): * pygtk-gtktreeiter.xml (free): * pygtk-gtkrequisition.xml (free): * pygtk-gtkiconsource.xml (free): * pygtk-gtkborder.xml (free): * pygtk-gtkiconinfo.xml (free): Add deprecation warning. * pygtk-gdkwindow.xml (set_urgency_hint): Add. * pygtk-gtkwindow.xml (set_urgency_hint, get_urgency_hint): Add. (present_with_time): Add. * pygtk-gtktreeview.xml (get_visible_range): Add. * pygtk-gtktreeviewcolumn.xml (queue_resize): Add. * pygtk-gtktreerowreference.xml (get_icon_name): Add. * pygtk-gtktoolbutton.xml (set_icon_name, get_icon_name): Add. * pygtk-gtkiconsource.xml (set_icon_name, get_icon_name): Add. * pygtk-gtktextiter.xml (forward_visible_cursor_position) (backward_visible_cursor_position, forward_visible_cursor_positions) (backward_visible_cursor_positions, forward_visible_line) (backward_visible_line, forward_visible_lines, backward_visible_lines): Add. * pygtk-gtk-stock-items.xml: Add STOCK_FULLSCREEN, STOCK_LEAVE_FULLSCREEN and STOCK_INFO. Fix XMl so RTL icons display correctly. * pygtk-gtksizegroup.xml (set_ignore_hidden, get_ignore_hidden): Add. * pygtk-gtkscrolledwindow.xml (get_hscrollbar, get_vscrollbar): Add. * pygtk-gtkmenushell.xml (set_take_focus, get_take_focus): Add. * pygtk-gtkmenubar.xml (set_pack_direction, get_pack_direction) (set_child_pack_direction, get_child_pack_direction): Add. * pygtk-gtkimage.xml (clear): Add. * pygtk-gtkiconview.xml (create_drag_icon, enable_model_drag_dest) (enable_model_drag_source, get_cursor, get_dest_item_at_pos) (get_drag_dest_item, get_item_at_pos, get_reorderable) (get_visible_range, scroll_to_path, set_cursor, set_drag_dest_item) (set_reorderable, unset_model_drag_dest, unset_model_drag_source): Add. * pygtk-gtk-constants.xml (IconView Drop Position Constants) (Pack Direction Constants): Add. * pygtk-gtkfilechooser.xml (get_do_overwrite, set_do_overwrite) ("do-confirm-overwrite", confirm-overwrite): Add. * pygtk-gtkentrycompletion.xml (set_popup_set_width) (get_popup_set_width, set_popup_single_match, get_popup_single_match): Add. * pygtk-gtkaboutdialog.xml (get_wrap_license, set_wrap_license): Add. * pygtk-gtktextview.xml (get_iter_at_position): * pygtk-gtk-stock-items.xml: Add STOCK_DISCONNECT. * pygtk-gtkprogressbar.xml (set_ellipsize, get_ellipsize): Add. * pygtk-gtkfilefilter.xml (add_pixbuf_formats): Add. * pygtk-gtkwidget.xml (drag_source_add_image_targets) (drag_source_add_uri_targets): Add. * pygtk-gtkclipboard.xml (request_image, wait_for_image, set_image) (wait_is_image_available): Add. * pygtk-gtkdialog.xml (gtk.alternative_dialog_button_order) (get_response_for_widget): Add description. * pygtk-gtkbutton.xml (get_image, set_image): Add descriptions. * pygtk-gtkaction.xml (get_accel_path): Add description.
* Add.John Finlay2005-09-077-5/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gtk/gdk.defs (set_urgency_hint): Add. * gtk/gtktreeview.override (_wrap_gtk_tree_view_get_visible_range): Add. * gtk/gtk.defs (set_drag_dest_item): Allow path to be None. (get_visible_range): Add. * gtk/gtk.defs (set_cursor): Allow cell to be None * gtk/gtkwidget.override (_wrap_gtk_drag_source_set_icon_name1): Add. * gtk/gtk.defs (gtk_drag_source_set_icon_name): Add as a widget method and deprecate function gtk.drag_source_set_icon_name. * gtk/gdk.defs (set_icon_name): Add. * gtk/gtktextview.override (_wrap_gtk_text_view_get_iter_at_position): Add. * gtk/gtk.override (_wrap_gtk_clipboard_request_image): Add. * gtk/gtk.defs (gtk_alternative_dialog_button_order) (gtk_clipboard_request_image, gtk_clipboard_wait_for_image) (gtk_clipboard_set_image, gtk_clipboard_wait_is_image_available) (drag_source_add_iamge_targets, drag_source_add_uri_targets): Add defs.
* Fix param name typo. Fixes #315202 (Nikos Kouremenos)John Finlay2005-09-042-3/+8
| | | | | * pygtk-gtkscrolledwindow.xml (set_vadjustment): Fix param name typo. Fixes #315202 (Nikos Kouremenos)
* Sort all attributes alphabetically, like python does. Set default value toJohan Dahlin2005-09-022-57/+67
| | | | | | | * gobject/pygparamspec.c (pyg_param_spec_getattr): Sort all attributes alphabetically, like python does. Set default value to None (pyg_param_spec_getattr): Add default_values fallback, for backwards compatibility.
* Add descriptions of these functions. patch by Gian Mario Tagliaretti.John Finlay2005-09-022-8/+109
| | | | | | * pygtk-gladexml.xml (set_custom_handler, bindtextdomain) (textdomain, set_custom_widget): Add descriptions of these functions. patch by Gian Mario Tagliaretti. Fixes #164078.
* [Bug 315100] gobject.type_register if parameter is not a typeGustavo J. A. M. Carneiro2005-09-023-1/+15
|
* Also include interfaces, fixes #315038Johan Dahlin2005-09-022-2/+13
| | | | | * gobject/gobjectmodule.c: (pyg_signal_list_names): Also include interfaces, fixes #315038
* Post release version bump, move away old changelogJohan Dahlin2005-09-023-909/+915
|
* 2.8.0PYGTK_2_8_0Johan Dahlin2005-09-024-5/+19
|
* Sync with gnome-common. Require automake 1.8. Fixes #314128 and #311958Johan Dahlin2005-09-022-54/+110
| | | | | * autogen.sh: Sync with gnome-common. Require automake 1.8. Fixes #314128 and #311958
* Remove old .msc files, which are outdated and unused.Johan Dahlin2005-09-026-330/+10
| | | | | | | | | * Makefile.am: * gobject/makefile.msc: * gtk/Makefile.am: * gtk/makefile.msc: * makefile.msc: Remove old .msc files, which are outdated and unused.
* Bug #314806Gustavo J. A. M. Carneiro2005-08-302-0/+15
|
* Bug 314801: bad conversion of GdkRectangle to PyObject in reversewrapper.pyGustavo J. A. M. Carneiro2005-08-292-3/+11
|
* Remove unneeded g_strdup.John Ehresman2005-08-292-3/+7
| | | | | * gobject/pygobject.c (pygobjectmeta_register): Remove unneeded g_strdup.
* Make it a type on dynamically created subclasses implementing theJohan Dahlin2005-08-263-1/+11
| | | | | | * atk-types.defs (ImplementorIface): Make it a type on dynamically created subclasses implementing the interface to possibly avoid MRO issues.
* Refactor to allow us to list signals on interfaces.Johan Dahlin2005-08-263-18/+35
| | | | | | | * gobject/gobjectmodule.c (pyg_signal_list_ids): Refactor to allow us to list signals on interfaces. * tests/test_signal.py (TestList): Two new tests.
* some memory fixes in type registrationGustavo J. A. M. Carneiro2005-08-254-11/+32
|
* In the meta-class __init__ method, register a class as a gtype iffJohn Ehresman2005-08-242-15/+17
| | | | | | * gobject/pygobject.c: In the meta-class __init__ method, register a class as a gtype iff __gsignals__, __gproperties__, or __gtype_name__ is defined in the leaf class's tp_dict.
* Post release version bump (2.7.99, getting close)Johan Dahlin2005-08-242-1/+5
|
* 2.7.4PYGTK_2_7_4Johan Dahlin2005-08-243-3/+16
|
* Added sources so gobject module will compile, fixed enable/disable threadJohn Ehresman2005-08-244-16/+44
| | | | | | | | | | * setup.py: Added sources so gobject module will compile, fixed enable/disable thread support, and changed default so thread support is enabled unless --disable-threading is specified * gobject/gobjectmodule.c, gobject/pygobject.c: Set PyGObject_MetaType.tp_base in module initialization to keep VC++ happy
* Enable threading by default, do not always link against libgthreadJohan Dahlin2005-08-241-3/+5
|
* Update distutils for 2.7.x. Bump requirements. Fix a minor bug in ↵Johan Dahlin2005-08-244-46/+91
| | | | gobjectmodule.c
* Add test for Table.attach which takes uint arguments.Johan Dahlin2005-08-243-7/+48
| | | | | | | | | | | 2005-08-24 Johan Dahlin <jdahlin@async.com.br> * tests/test_conversion.py (Tests.testUIntArg): Add test for Table.attach which takes uint arguments. * codegen/argtypes.py (UIntArg.write_param): One more take on fixing #300012, this time unsigned int conversion, patch by Gustavo.
* Fix memory leak with gdk_atom_name() Fixes #313861 (Christian Persch)John Finlay2005-08-184-41/+126
| | | | | | | | | | | | | | | | * gtk/gtk.override (_wrap_gtk_selection_data_get_targets) (_wrap_gtk_drag_dest_get_target_list) (_wrap_gtk_drag_dest_set_target_list) (clipboard_request_contents_cb) (_wrap_gtk_clipboard_request_targets) (_wrap_gtk_drag_source_set_target_list) (_wrap_gtk_target_list_add_image_targets) (_wrap_gtk_target_list_add_uri_targets) : * gtk/gdk.override (_wrap_gdk_event_tp_getattr) (_wrap_gdk_gc_new_with_values, _wrap_gdk_property_get) (_wrap_gdk_property_change): * gtk/gtkmodule.c (add_atom): Fix memory leak with gdk_atom_name() Fixes #313861 (Christian Persch)
* Add datarootdir, for compatibility with future Autoconf releases.Stepan Kasal2005-08-174-0/+9
|
* Fix description of how button data is passed to the method.John Finlay2005-08-162-10/+14
| | | | | * pygtk-gtkdialog.xml (add_buttons): Fix description of how button data is passed to the method.
* Override gtk.Container.do_forall. Simple example how it should work.Johan Dahlin2005-08-163-0/+95
| | | | | * gtk/gtkcontainer.override: Override gtk.Container.do_forall. * examples/gtk/bin.py: Simple example how it should work.