Used to document all changes from previous releases and collect changes until the next release.
- The release updates the python-odml library requirement to version 1.5.1.
- When using Python 2 a popup with a deprecation warning message is displayed. See PR #175 and issue #174 for details.
- A warning is issued when a Property.Value of
dtype=text
would be overwritten with the abbreviated list display text by accident. See PR #175 and issue #157 for details. - A function is added to the "Edit" menu to refresh the terminology cache. See PR #178 and issue #118 for details.
- Fixes broken Properties reorder behavior. See issue PR #180 and issue #142 for details.
- Fixes an error on multi value reorder behavior. See PR #179 and issue #141 for details.
- Fixes an error on multi value removal. See PR #179 and issue #137 for details.
- Fixes multi value loss when dragging it to another Property by prohibiting value transferal to another Property. See PR #179 and issue #143 for details.
- Fixes a background AttibuteError when undoing a Propert.value change. See PR #179 and issue #138 for details.
- Fixes system dependent automatic replacement of comma with a dot when editing a value uncertainty. See PR #175 and issue #149 for details.
- The TextEditor for editing values of dtype
text
now features 'Save' and 'Cancel' buttons.
- Fixes saving and loading of files using Windows.
- Fixes a bug in
helpers.get_parser_for_file_type
where the file_type would default toXML
by mistake. - Various TextEditor bug fixes. See #146
- With the python-odml PR #342 the location of the version converter has changed. The
VersionConverter
usage is updated accordingly and the python-odmlsave
andload
functions are now used instead of the more specific respectiveODMLParser
functions. This should make odml-ui more robust towards changes in the odml library. - Fixes that when adding a Terminology Property via the context menu in the PropertyView, the added Property was not initialized with pseudo_values, leaving these Properties broken with respect to adding actual values to them. See issue #161 for details.
- Fixes that when using the popup menu to reset a Terminology Property to its merged default, the cloned Property replacing it was not properly initialized with pseudo_values. See issue #162 for details.
- Fixes that when a Terminology Property provides pre-defined Values via the popup menu item 'Add Value' and 'Set Value', only empty values were able to be set. Actual values lead to a silent background error. See issue #163 for details.
- Fixes that the gtk.view became out of sync with the underlying data model, virtually breaking the displayed treemodel rendering it unusable for the selected Property until another section was selected. See issue #164 for details.
- The main editor now catches exceptions on undo to ensure, that the view is properly reset even if an error occurs.
- Fixes a bug in the
helpers.get_parser_for_file_type
function where it would always return the default parser. - Increases the minimal info bar message display time to 10 seconds.
- Fixes a start-up exception with Python 3.4 on Windows: the cdll.LoadLibrary passes an
ImportError
but still throws aWindowsError
. SinceWindowsError
is a subclass ofOSError
this one is now used to catch this particular exception. - Now uses
html.escape
instead ofcgi.escape
for all Python 3 users. See issue #172 for details.
The core odml library deprecated Property.value
in favor of
the newly added attribute Property.values
. These changes
have been introduced in odml-ui as well.
In some cases the values of terminology loaded Properties could not be edited anymore, since the required "pseudo_value" attribute was missing. Now every time a document is loaded or saved, all Properties are checked and modified in case the "pseudo_value" attribute is missing.
- Fixes background errors when deleting Properties or Document root Sections. See #99.
- Fixes various occasions where the "Add Property" and "Add Value" icons were not properly deactivated. See #90.
- The PropertyView is now properly reset when the last Section is removed from a Document making sure there are no stale leftover Properties on display.
- Fixes errors on 'Undo' and 'Redo' when adding or removing Values.
- The Icon search path is now updated for system wide, local, virtualenv and conda installs as well. See #128, #130.
- "Undo" and "Redo" are added to the list of inactive icons when no document is available. See #131.
- The welcome page now is always displayed when there is no open tab. See #131.
- The README now contains a notice how to properly use odmlui with conda on macOS as well as updated documentation. See #130.
This release depends on python-odml v1.4.0 which was a breaking change from v1.3. Due to this fact the current version is partially incompatible with the previous releases.
odML files with file format "1" cannot be normally opened with the current release of
odml-ui. They have to be converted into the new format using the File - Import
feature,
which will create, save and open a new, odML v1.4 compatible file. The original file
remains untouched to ensure that no information is lost due to the conversion. See #127.
- The
Value
attributesencoder
andchecksum
have been removed. - The
Value
attributesunit
,uncertainty
,type
andreference
can now only be specified once for a Property. - The
Value
attributefilename
has been renamed tovalue_origin
. - The
Value
odML datatypebinary
has been removed. Adding binary content to odML files is discouraged in lieu of providing theURL
to the original file containing the actual content.
Any mapping functionality has been removed from odml-ui. See #84.
- Adds a confirmation dialog when
Save as
would replace an existing file. See #74. - The validation is now always run before saving and only a valid odML file may be saved. Otherwise the validation window with the encountered validation errors is displayed. See #58.
- The default odML terminology repository used in the document wizard has been changed
to
http://portal.g-node.org/odml/terminologies/v1.1/terminologies.xml
. - When a new document is created, the corresponding tab is automatically selected. See #71.
- When a section with children sections is selected in the "Section View", this section is now automatically expanded. See #73.
- A selected property now always expands, if it contains multiple values. See #70.
- The content of all multiple values can be voluntarily overwritten when the value entry of the parent Property is set.
- Removes the wizard intro page; See #103
- Increases the "Validation Window" size. See #75.
- Uses different main app starting window sizes (800x600 or 1024x768) depending on the available screen size. See #113.
- Adjusts the height of the "Attribute View" to always display all attributes. See #113.
- Reorders the "Property View" columns; See #89.
- odml-ui provides access to python-odmltables.
- odml-ui does not require odmltables to be installed, but rather provides buttons to open the current odML document with the selected odmltables wizard plugins at all times. If the required odmltables version cannot be found, an appropriate install required version message is displayed. If odmltables is installed in the required version, the selected wizard is opened in a new window with the odML document from the currently active odml-ui tab.
- The currently supported odmltables wizard plugins are
compare
,convert
,filter
andmerge
. - Currently odmltables only supports XML files with the file ending
.odml
. Therefore, any odML document that is passed from odml-ui to one of the supported odmltables wizards is saved as an XML file with the ".odml" file ending in the temporary odML folder also used for the terminologies and then passed along to odmltables.
- Fixes various breaking changes introduced in python-odml during the v1.3 - v1.4 transition. See #120 and #124.
- Fixes that all files were saved as
XML
, even when theJSON
orYAML
formats had been selected. See #62. - Fixes that all multiple values of a Property can be overwritten by the
pseudo_value
placeholder textn/a
by just escaping the edit state. See #69. - Fixes that multiple values of a Property were only accessible after a refresh of the "Property View". See #64.
- Fixes a Value error when its content was starting with "<". See #65
- Fixes the Wizard author display. See #53.
- Fixes missing size refresh of the "Validation Window" when the content tree has updated. See #67.
- Fixes inactive entry selection in the "Validation Window". See #68.
- Fixes that loading of an invalid odML file leads to a broken document. See #57.
- Fixes an
AttributeError
when opening the validation window. See #60. - Fixes an error message display in
EditorTab
on fail to save. See #66. - Fixes Wizard crashes on empty repository and missing parent section. See #66.
- Fixes missing
create_pseudo_value
import inEditorTab
. See #66. - Fixes the validation warning character display for Python 2. See #75.
- Fixes "Section View" and "Property View" update issues when creating empty documents and switching tabs. See #72 and #81.
- Removes a hardcoded breakpoint to avoid application freeze; See #108.
- Refactors code to avoid GTK deprecation warnings; See #98.
- In the light of future, incompatible versions of python-odml, the python-odml dependency now supports a version number range (>=1.3.3, <1.4.*) on install.
- The same is true for the optional plug-in odml-tables with the supported version number range >=0.2.0, <=0.9.9)
Depends on python-odml v1.3.4.
- Single monitor startup bug.
- Potential installation issues due to import from
info.py
. - Readme updates regarding MacOS conda installation.
Depends on python-odml v1.3.4.
First viable release since the UI functionality has been extracted from python-odml.
Depends on python-odml v1.3.3.