17
0

16 Commits

Author SHA256 Message Date
fe8e15c309 Accepting request 1127266 from devel:languages:python:numeric
- Update to 8.0.0:
  - This is a major release that provides support for PySide
    6.4 and 6.5 as well as Python 3.11. It includes a number
    of backwards-incompatible changes following the example of
    Pyface 8.0.0, most notable is moving the traitsui.qt4.*
    modules to traitsui.qt.*. As with Pyface 8.0 we include a
    backwards-compatibility mode which allows importing from the
    'qt4' namespace via:
    - setting the ETS toolkit to "qt4"
    - setting the ETS_QT4_IMPORTS environment variable
    - manually adding appropriate finders to sys.meta_path
    - Be strict about 'handler.init()' return values
    - Move 'traitsui.qt4.' to 'traitsui.qt.'
    - Remove deprecated 'format' trait
    - Deprecate imports from traitsui.editors (use
      traitsui.editors.api)
    - Remove backwards-compatibility mode in undo/redo code
    - Support for Python 3.11 and PySide 6.4+
    - Fix uses of None in date range editor
    - Add comments for Wx-only examples
    - Replace uses of "fast_ui" dispatch with "ui" dispatch
    - Fix FileDialog selection actions
    - Fix regression in Wx version of FileEditor
    - Fix missing attribute of InstanceFactoryChocie
    - Replace some relative imports in tests
- Update to 7.4.3:
  - This is a small bugfix release which resolves some bugs that
    have come to light as we get more experience with PySide
    6, together with changes to run CI on more recent Python
    versions and current Github infrastructure.

OBS-URL: https://build.opensuse.org/request/show/1127266
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitsui?expand=0&rev=9
2023-11-17 19:50:39 +00:00
354e0bfa57 - Update to 8.0.0:
- This is a major release that provides support for PySide
    6.4 and 6.5 as well as Python 3.11. It includes a number
    of backwards-incompatible changes following the example of
    Pyface 8.0.0, most notable is moving the traitsui.qt4.*
    modules to traitsui.qt.*. As with Pyface 8.0 we include a
    backwards-compatibility mode which allows importing from the
    'qt4' namespace via:
    - setting the ETS toolkit to "qt4"
    - setting the ETS_QT4_IMPORTS environment variable
    - manually adding appropriate finders to sys.meta_path
    - Be strict about 'handler.init()' return values
    - Move 'traitsui.qt4.' to 'traitsui.qt.'
    - Remove deprecated 'format' trait
    - Deprecate imports from traitsui.editors (use
      traitsui.editors.api)
    - Remove backwards-compatibility mode in undo/redo code
    - Support for Python 3.11 and PySide 6.4+
    - Fix uses of None in date range editor
    - Add comments for Wx-only examples
    - Replace uses of "fast_ui" dispatch with "ui" dispatch
    - Fix FileDialog selection actions
    - Fix regression in Wx version of FileEditor
    - Fix missing attribute of InstanceFactoryChocie
    - Replace some relative imports in tests
- Update to 7.4.3:
  - This is a small bugfix release which resolves some bugs that
    have come to light as we get more experience with PySide
    6, together with changes to run CI on more recent Python
    versions and current Github infrastructure.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=16
2023-11-17 09:48:20 +00:00
f8353cc10e Accepting request 946884 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/946884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitsui?expand=0&rev=8
2022-01-17 21:34:09 +00:00
2e13b87946 Accepting request 946811 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 7.2.1
  * Explicitly require traits 6.2 and pyface 7.3 (#1666, #1668)
- Release 7.2.0
  * TraitsUI 7.2.0 is a minor release which includes numerous bug
    fixes, documentation improvements, code maintenance changes,
    and enhancements.
  * The migration from on_trait_change to observe is underway. As a
    result, TraitsUI now requires Traits >= 6.2.
  * New display-only VideoEditor (currently only on Qt backend).
    Exapnsion of features for the new UITester including the
    ability to inspect UI object visibility / enabledness. Also
    documentation for testing has been updated.
  * Notes on upgrading: This release of TraitsUI now depends on
    Traits 6.2+ and pyface 7.2+. Also, deprecated code / modules
    have been removed. Namely, the :mod:traitsui.image
    <traitsui.image> module which was moved to pyface.image,
    editors_gen modules, Editor and EditorFactory factory methods
    on Toolkit objects, and more. For a complete list, see PRs in
    the "Removals" section. These were all generally unused /
    deprecated for sometime. Also, importing directly from
    traitsui.editors has been deprecated. Please update imports to
    import directly from :mod:traitsui.api or
    :mod:traitsui.editors.api.
- Detailed changelog at
  https://github.com/enthought/traitsui/releases/tag/7.2.0
- Add traitsui-pr1689-deprecations.patch
  * gh#enthought/traitsui#1689 + gh#enthought/traitsui#1681

OBS-URL: https://build.opensuse.org/request/show/946811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=15
2022-01-17 06:32:07 +00:00
Richard Brown
190f982706 Accepting request 874882 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/874882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitsui?expand=0&rev=7
2021-03-30 19:06:53 +00:00
07ddc80388 Accepting request 874785 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 7.1.1
  * Fix scrollable trait of a Group not being implemented on Qt
    (#1406)
  * Fix icon button's clickable area too small for FileEditor and
    RangeEditor on Qt and OSX (#1383)
  * Fix missing minimize and maximize buttons for dialogs opened
    on certain Linux platforms (#1409)
- Release 7.1.0
  Highlights of this release
  * A new traitsui.testing.api module has been introduced for
    testing GUI applications built using TraitsUI. See Testing
    TraitsUI Applications for an introduction. Builtin support has
    been added for testing several TraitsUI editors. More support
    will be added in the future.
  * On OSX and Qt, there have been reports of missing UI view
    updates after a push button is clicked. While this is
    suspected to be a Qt issue, changes have been made to
    ButtonEditor, SetEditor and ImageEnumEditor to mitigate the
    situation.
  * The internal logic for disposing an instance traitsui.ui.UI is
    changed as an attempt to resolve AttributeError that occurs
    while a nested UI is removed.
  Notes on upgrading
  * On the issue about Qt button not causing views to update on
    OSX, projects that have been working around the issue by
    adding GUI().process_events() (or similar) in their
    applications may now try to remove those workarounds. However,
    the change that mitigates the issue in a production
    environment has implications for tests: The button's click
    slot is no longer invoked immediately but always invoked by

OBS-URL: https://build.opensuse.org/request/show/874785
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=13
2021-02-24 14:28:34 +00:00
9f2dd8d4de Accepting request 832922 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/832922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitsui?expand=0&rev=6
2020-09-08 20:50:21 +00:00
Tomáš Chvátal
d5ceefb9ab Accepting request 832920 from home:pgajdos:python
- version update to 7.0.1
  * Fix error from true division of integers for Qt RangeEditor and BoundsEditor
    (#999, #1000)
  * Fix handling of minimum and maximum datetimes in Qt DatetimeEditor (#803)
  * Fix error in wx TabularEditor (#969)
  * Fix wx panel error due to alignments (#829)
  * Fix various issues in the demo application (#799, #808)
  * Fix format_func not used when EnumEditor is initialized with static values
    (#848)
  * Fix demo application description (#850)
  * Fix auto-add functionality in ListStrModel (#860)
  * Fix segmentation fault for TabularModel (#871, #873)
  * Fix event handling in ListStrEditor and TabularEditor for adding and removing
    items (#875)
  * Fix TabularAdapter crashes when column number reduces (#897)
  * Fix theme pickling issue (#915)
  * Fix error from example's tutor.py script (#813)
- use pytest instead of nose for running tests

OBS-URL: https://build.opensuse.org/request/show/832920
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=11
2020-09-08 08:31:05 +00:00
b8b44d6414 Accepting request 820888 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/820888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitsui?expand=0&rev=5
2020-07-24 07:53:55 +00:00
Tomáš Chvátal
c3f61d8e75 Accepting request 820871 from home:mcalabkova:branches:devel:languages:python:numeric
- Update to 7.0.0
  * Documentation improvements (#720, #724, #723, #778)
  * WxPython 4 compatibility and support (#708, #736, #762, #772, #775, #776)
  * Traits 6 compatibility and enhancements (#689, #690, #693, #695, #713, #727, #770)
  * Style improvements (#648, #771)
  * Add placeholder text option for TextEditor (#735)
  * Examples clean-up and unification (#697, #702, #703, #705, #711, #712, #777)
  * Add a DatetimeEditor (#719, #730)
  * Refactor and clean-up of base Editor class (#685, #686, #688)
  * Remove use of Category classes from TraitsUI (#654)
  * Add LEDEditor for Qt (#635)
  * Add 'docs' command to etstool.py (#624)
  * Add TabularAdapter to traitsui.api (#627)
  * Enhancements to CI and testing (#683, #714, #740)
  * Documentation fixes (#546, #766)
  * Fix cgi.escape for Python 3.8 (#780)
  * Log exceptions in table sorting (#751)
  * Use TupleEditor for traits derived from BaseTuple (#747)
  * Fixes for Undo/Redo (#733)
  * Add explicit redraw for TableEditor selection (#721)
  * Fixes for Qt5 support (#709)
  * Fix bugs in color functions (#707, #744)
  * Fix importing of ProgressColumn and EditColumn (#691)
  * Set initial focus item correctly in Qt (#602)
  * Fix text elision test on some platforms (#644)
  * Fix a bug with TableEditor column clicking (#669)
  * Fix typo in progress column exception (#662)

OBS-URL: https://build.opensuse.org/request/show/820871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=9
2020-07-14 12:40:50 +00:00
dae42f3c36 Accepting request 795714 from devel:languages:python:numeric
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/795714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitsui?expand=0&rev=4
2020-04-22 18:51:57 +00:00
Tomáš Chvátal
16d6ea9819 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=7
2020-04-20 09:01:08 +00:00
6d8f59c8eb Accepting request 730770 from devel:languages:python:numeric
- Update to 6.1.3:
  * Add "bool" to allowed types for TableColumn (#656)
  * Fix tabular editor column widths (#652)
  * Fix setting valus in DataFrameEditor (#651)
  * Allow '...' in addition to ellipsis in text elision (#644)
  * Handle invalid values in RangeEditor better (#637)
  * Fix multi-select in Qt TabularEditor (#633)
  * Fix call to Bind in Wx FileEditor (#628)
  * Fixes to doc links in tutorial (#619)
  * Remove 3.5 from test matrix (#615)
  * Ensure etstool.py has consistent default Python versions (#614)
  * Fix typos in comments for table editor (#610)
  * Comprehensive tests for the base Editor object (#609)
  * Fix ContextValue __init__ method (#607)
  * Fix tutor.py in examples for Python 3 (#603)
  * Set initial item focus correctly on Qt (#602)
  * Make View and UI icons an Image trait (#600)
  * Fix TableEditor styling for Qt (#597)

OBS-URL: https://build.opensuse.org/request/show/730770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitsui?expand=0&rev=3
2019-09-16 08:51:25 +00:00
Tomáš Chvátal
53a2614127 - Update to 6.1.3:
* Add "bool" to allowed types for TableColumn (#656)
  * Fix tabular editor column widths (#652)
  * Fix setting valus in DataFrameEditor (#651)
  * Allow '...' in addition to ellipsis in text elision (#644)
  * Handle invalid values in RangeEditor better (#637)
  * Fix multi-select in Qt TabularEditor (#633)
  * Fix call to Bind in Wx FileEditor (#628)
  * Fixes to doc links in tutorial (#619)
  * Remove 3.5 from test matrix (#615)
  * Ensure etstool.py has consistent default Python versions (#614)
  * Fix typos in comments for table editor (#610)
  * Comprehensive tests for the base Editor object (#609)
  * Fix ContextValue __init__ method (#607)
  * Fix tutor.py in examples for Python 3 (#603)
  * Set initial item focus correctly on Qt (#602)
  * Make View and UI icons an Image trait (#600)
  * Fix TableEditor styling for Qt (#597)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-traitsui?expand=0&rev=5
2019-09-13 15:02:40 +00:00
af279bb5df Accepting request 718631 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/718631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitsui?expand=0&rev=2
2019-07-26 10:43:17 +00:00
cbbbeb8834 Accepting request 605850 from devel:languages:python
Needed by python-enable

OBS-URL: https://build.opensuse.org/request/show/605850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-traitsui?expand=0&rev=1
2018-05-29 14:47:33 +00:00