| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
This reverts commit 48f0a43f2faffee931ba419dac2687a93344bf5a.
|
| |
|
|
|
|
|
|
| |
dependencies problem
move tests that require pygtk from pygobject to pygtk itself
|
| |
|
|
|
|
| |
Bug #594347.
|
| |
|
|
|
|
|
|
|
| |
Add read-only float attributes for hue, saturation and value of a
color. Add a function to create a color objects out of HSV
components. Add unit tests and document new features. Part of bug
546019.
|
|
|
|
|
|
| |
Make constructor accept floating-point arguments. Add 'red_float',
'green_float' and 'blue_float' read-write properties. Test and
document new features. Part of bug #546019.
|
|
|
|
| |
Fixes bug #408658.
|
|
|
|
|
|
|
| |
Remove the script and all related imports. All relevant Makefile's
now create symbolic links for '.so' files from '.libs' to the level
up, so that C helper modules are still importable in built, but not
installed source tree. Same as in PyGObject. (Bug #565593.)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-11 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 481715 – Need way to assign to a GtkTextIter
* gtk/gtktextview.override (_wrap_gtk_text_iter_assign): New
function (based on patch by Owen Taylor).
* tests/test_textview.py (TextIterTest): New test.
svn path=/trunk/; revision=3041
|
|
|
|
| |
svn path=/trunk/; revision=3033
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-28 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 526189 – add __str__ and/or __repr__ to several types
* gtk/gdk.override (_wrap_gdk_cursor_tp_repr): New function.
* gtk/gdkcolor.override (pygdk_color_to_string_smart)
(_wrap_gdk_color_tp_repr, _wrap_gdk_color_tp_str): New functions.
* gtk/gdkevent.override (_wrap_gdk_event_tp_repr): New function.
* gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_repr): New
function.
* tests/test_color.py (Tests.test_repr, Tests.test_str): New tests.
(Tests._test_color_list): New helper method.
* tests/test_rectangle.py (Tests.test_repr): New test.
(Tests._test_rectangle_list): New helper method.
2008-08-28 Paul Pogonyshev <pogonyshev@gmx.net>
* pygtk-gdkrectangle.xml: Document __repr__.
* pygtk-gdkcolor.xml: Document __repr__ and __str__.
* pygtk-gdkevent.xml: Document __repr__.
svn path=/trunk/; revision=3029
|
|
|
|
|
|
| |
and #498010
svn path=/trunk/; revision=3023
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 527212 – types with well-defined equality semantics are not
properly comparable
* gtk/gdk.override (_wrap_pygdk_region_tp_richcompare): New
function.
* gtk/gdkcolor.override (_wrap_gdk_color_tp_richcompare): New
function.
* gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_richcompare):
New function.
* tests/test_conversion.py (testColorCreation): Move to thematic
test file.
* tests/Makefile.am:
* tests/test_color.py:
* tests/test_rectangle.py: Two new test files.
2008-08-02 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 527212 – types with well-defined equality semantics are not
properly comparable
* pygtk-gdkcolor.xml: Document new constructor option. Document
proper comparison as of PyGTK 2.14.
* pygtk-gdkregion.xml: Document proper comparison as of PyGTK
2.14.
* pygtk-gdkrectangle.xml: Document proper comparison as of PyGTK
2.14.
svn path=/trunk/; revision=3014
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-26 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk.override (_wrap_gtk_plug_new): Fix to work also with
integer 'socket_id' argument (bug #539365).
* tests/Makefile.am:
* tests/test_plug.py: New test file.
svn path=/trunk/; revision=3001
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-24 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtktreeview.override (_wrap_gtk_tree_model_tp_getitem): Fix
logic in negative index branch to avoid refcount corruption.
(_wrap_gtk_tree_model_tp_setitem): Likewise (bug #537459).
* tests/test_liststore.py (ListStoreTest.testNegativeIndexGet)
(ListStoreTest.testNegativeIndexSet): Two new tests for the bug.
svn path=/trunk/; revision=2999
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-22 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk.override (_wrap_gtk_action_set_menu_item_type)
(_wrap_gtk_action_set_tool_item_type): Check that argument is a
subclass of gtk.MenuItem or gtk.ToolItem correspondingly (bug
#533644).
* tests/test_actiongroup.py (ActionTest.testSetItemClasses): New
test for the added type check.
svn path=/trunk/; revision=2997
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-21 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk.override (_wrap_gtk_button_new): Fix 'use_underline'
being ignored if neither 'text' nor 'stock' is set (bug #524187).
* tests/Makefile.am:
* tests/test_button.py: New test file.
svn path=/trunk/; revision=2995
|
|
|
|
|
|
| |
the same mothos of gtk.Widget being called. fixes #534042
svn path=/trunk/; revision=2992
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-27 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gdkcolor.override (_wrap_gdk_color_new): Add constructor
variant similar to what gtk.gdk.color_parse() done. Raise with
useful message in case of wrong arguments (bug #527718).
* tests/test_conversion.py (Tests.testColorCreation): Test the new
constructor with string argument.
svn path=/trunk/; revision=2968
|
|
|
|
| |
svn path=/trunk/; revision=2901
|
|
|
|
| |
svn path=/trunk/; revision=2898
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-29 Johan Dahlin <jdahlin@async.com.br>
* pango.override: Make the bindings a bit more pythonic, implement
tp_str, tp_hash and tp_compare for a few objects.
* tests/test_pango.py: Add tests.
svn path=/trunk/; revision=2897
|
|
|
|
| |
svn path=/trunk/; revision=2882
|
|
|
|
| |
svn path=/trunk/; revision=2879
|
|
|
|
| |
svn path=/trunk/; revision=2862
|
|
|
|
|
|
| |
parameters in defs.
svn path=/trunk/; revision=2861
|
|
|
|
| |
svn path=/trunk/; revision=2837
|
|
|
|
|
|
| |
pygobject 2.13.
svn path=/trunk/; revision=2818
|
|
|
|
| |
svn path=/trunk/; revision=2807
|
|
|
|
| |
svn path=/trunk/; revision=2806
|
|
|
|
| |
svn path=/trunk/; revision=2805
|
|
|
|
| |
svn path=/trunk/; revision=2801
|
| |
|
|
|
|
| |
modules
|
| |
|
|
|
|
|
| |
* tests/test_treeview.py (TreeViewTest._test_default_attributes): Add
a test for #350252
|
|
|
|
|
|
|
| |
* gtk/__init__.py (ver): Make it possible to reload the gtk+ module,
(#349026, Alexander Larsson)
* tests/test_api.py (APITest.testGlade): Add a test
|
|
|
|
|
|
|
|
| |
* gtk/_lazyutils.py (LazyModule.__getattr__): Special case __members__
to dir on the real module, fixes (#349892, John Finlay)
* tests/test_api.py (APITest.testKeysyms):
Add a test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* gtk/Makefile.am:
* gtk/__init__.py:
* gtk/_lazyutils.py:
* tests/Makefile.am:
* tests/test_api.py:
Add infrastructure to handle lazy loading.
Move keysyms to be loaded lazily.
Add API tests to make sure keysyms works.
|
| |
|
|
|
|
|
|
|
|
|
| |
* gtk/gtktreeview.override
(_wrap_gtk_tree_sortable_set_default_sort_func): Allow callback
to be set to None, found by Patrick O'Brien
* tests/test_liststore.py (ListStoreTest.testSetDefaultSortFunc):
Add test
|
| |
|
| |
|