=== 1.9.15 === 2007-05-22 Johan Dahlin * kiwi/environ.py (Library.__init__): Save the prefix 2007-05-21 Johan Dahlin * NEWS: * debian/changelog: * doc/howto.tex: * doc/release-checklist.txt: * kiwi/__version__.py: Release 1.9.15 2007-05-21 Johan Dahlin * MANIFEST.in: * doc/Makefile: * tools/epyrun: Use pydoctor instead of epydoc. * kiwi/python.py (AttributeForwarder): Add a new class, which can be used to forward attributes to another object. 2007-05-17 Johan Dahlin * kiwi/datatypes.py (_BaseDateTimeConverter.from_string): Disallow dates before 1900, since the strftime implementation on Linux does not allow it. Fixes #3363 2007-05-15 Johan Dahlin * kiwi/ui/search.py (SearchSlaveDelegate.set_summary_label): Add support for setting a summary label 2007-05-14 Johan Dahlin * kiwi/ui/search.py (SearchFilter): Inherit from a widget and add a filter-position child property. Add normal properties to the filter and the container. Add a common base class and remove a couple of methods from the interface * tests/test_ObjectList.py (ConstructorTest.testGObjectNew): Add a test * kiwi/ui/objectlist.py (ObjectList.__init__): Make sure gobject.new works Fixes #3343 2007-05-13 Johan Dahlin * kiwi/ui/objectlist.py (Column): Turn attributes into a GObject property. * kiwi/ui/search.py (ComboSearchFilter.__init__): Make values optional (SearchContainer.add_filter): Only add the executer columns if we have an executer set, don't require one. 2007-05-11 Johan Dahlin * kiwi/log.py (set_log_file): Return the file handlers stream, useful when the application want to use other means to write to the same file. 2007-05-09 Johan Dahlin * kiwi/ui/search.py: (SearchSlaveDelegate.disable_search_entry): Add a method to make it possible to disable the search entry. (DateSearchFilter.set_use_date_entries): New, to disable the user selectable date entries (DateSearchFilter.get_end_date, DateSearchFilter.get_start_date): New accessors (DateSearchFilter.select): Add a position argument (DateSearchFilter.clear_options): New (DateSearchFilter.add_option_fixed) (DateSearchFilter.add_option_fixed_interval): New, added methods to make it possible to add fixed dates/interval 2007-05-04 Ali Afshar reviewed by: Johan Dahlin * kiwi/ui/objectlist.py: * tests/test_ObjectList.py: Objectlist does not set a radio column value to true if all values are false. Fixes #3339 2007-05-03 Johan Dahlin * kiwi/ui/objectlist.py (ObjectList.insert): * tests/test_ObjectList.py (MethodTest.testInsert): Implement, add tests. 2007-05-03 Ronaldo Maia reviewed by: Johan Dahlin * kiwi/ui/entry.py: (Masks): It was possible to move the cursor outside the editable fields sometimes. Fixes #3333 * tests/test_masks.py: some tests for this case. 2007-04-30 Ali Afshar reviewed by: Johan Dahlin * kiwi/ui/objectlist.py: Add an expander property to the Column. Fixes #3336 2007-04-26 Johan Dahlin * examples/entrymask.py: Add a new example * kiwi/__init__.py: Add an explicit version check and give up if the version is too old. 2007-04-25 Johan Dahlin * examples/search.py: * kiwi/db/query.py: * kiwi/db/sqlobj.py: * kiwi/ui/search.py: Add auto_search mode, which is enabled by default. Add optional columns, callback parameters to add_filter, to make it easier to integrate with the query executer. Add a generic query callback to the SQLObject executer. Use new api in example. * kiwi/ui/search.py: (DateSearchFilter._update_dates): When switching to a custom day, always set both to today. When switching to a custom interval, always use today and tomorrow. 2007-04-25 Johan Dahlin * kiwi/ui/search.py (DateSearchFilter.select): Add and reorganize internals a bit to be able to select by option_type. 2007-04-25 Ali Afshar reviewed by: Johan Dahlin * kiwi/ui/objectlist.py (ObjectList.grab_focus): Add, fixes #3326 2007-04-20 Johan Dahlin * examples/search.py: Add an example. * kiwi/ui/search.py (DateSearchFilter): Make sure that you cannot select a start date after the end date and an end date before the start date. Add some comments explaning what's going on since the code is not that trivial any longer. 2007-04-19 Johan Dahlin * README: Mention that SQLObject is an optional dependency * kiwi/db/__init__.py: * kiwi/db/query.py: * kiwi/db/sqlobj.py: * kiwi/enums.py: * kiwi/interfaces.py: * kiwi/ui/search.py: Add a SearchContainer plus database independent infrastructure to construct queries. Include a SQLObject plugin 2007-04-19 Johan Dahlin * kiwi/ui/widgets/combo.py (ProxyComboBoxEntry.insert_item) (ProxyComboBox.insert_item, _EasyComboBoxHelper.insert_item): Implement insert_item. 2007-04-18 Johan Dahlin * kiwi/ui/dateentry.py (DateEntry.set_date): Allow None which means reset the date (DateEntry.get_date): Never return ValueUnset. * kiwi/ui/objectlist.py (ObjectList.sort_by_attribute): Add. Fixes #3311, based on patch by Ali Afshar. 2007-04-16 Ali Afshar reviewed by: Johan Dahlin * kiwi/ui/objectlist.py: Do not set a pixbuf if the data value is None. Fixes #3310 * kiwi/ui/objectlist.py: Set the sort columnm id so the columns end up sorted. Fixes #3032 2007-04-10 Johan Dahlin * kiwi/ui/proxywidget.py (ProxyWidgetMixin._as_string): Provide a default (string) converter if none is set. 2007-04-08 Johan Dahlin * kiwi/ui/widgets/entry.py (ProxyEntry.__post_init__): Remove dirty idle add hack and use __post_init__ instead. * kiwi/utils.py (PropertyObject.__post_init__): Add a hook which is called after the object construction is finished. 2007-04-03 Johan Dahlin * kiwi/environ.py (Environment.add_resource): Do not append the same resource path twice 2007-04-02 Johan Dahlin * tests/test_Entry.py: Add a test * kiwi/ui/widgets/entry.py (ProxyEntry.__init__): Add a workaround for http://bugzilla.gnome.org/show_bug.cgi?id=425501, fixes #3259 2007-03-28 Johan Dahlin * kiwi/environ.py (Library.__init__): Only add root/lib/pythonX.Y/site-packages to sys.path if it exists.