Hello community, here is the log from the commit of package libyui for openSUSE:Factory checked in at 2020-10-29 09:21:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui (Old) and /work/SRC/openSUSE:Factory/.libyui.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui" Thu Oct 29 09:21:20 2020 rev:55 rq:843583 version:3.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libyui/libyui.changes 2020-10-18 16:20:57.460478443 +0200 +++ /work/SRC/openSUSE:Factory/.libyui.new.3463/libyui.changes 2020-10-29 09:21:21.926633633 +0100 @@ -1,0 +2,6 @@ +Thu Oct 15 13:46:31 UTC 2020 - Stefan Hundhammer <shundham...@suse.com> + +- Added support for OpenItems property for (nested) tables (bsc#1176402) +- 3.12.1 + +------------------------------------------------------------------- Old: ---- libyui-3.12.0.tar.bz2 New: ---- libyui-3.12.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-doc.spec ++++++ --- /var/tmp/diff_new_pack.gHBSyA/_old 2020-10-29 09:21:22.378634066 +0100 +++ /var/tmp/diff_new_pack.gHBSyA/_new 2020-10-29 09:21:22.382634070 +0100 @@ -20,7 +20,7 @@ %define so_version 14 Name: %{parent}-doc -Version: 3.12.0 +Version: 3.12.1 Release: 0 Source: %{parent}-%{version}.tar.bz2 ++++++ libyui.spec ++++++ --- /var/tmp/diff_new_pack.gHBSyA/_old 2020-10-29 09:21:22.402634090 +0100 +++ /var/tmp/diff_new_pack.gHBSyA/_new 2020-10-29 09:21:22.402634090 +0100 @@ -17,7 +17,7 @@ Name: libyui -Version: 3.12.0 +Version: 3.12.1 Release: 0 Source: %{name}-%{version}.tar.bz2 ++++++ libyui-3.12.0.tar.bz2 -> libyui-3.12.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.12.0/VERSION.cmake new/libyui-3.12.1/VERSION.cmake --- old/libyui-3.12.0/VERSION.cmake 2020-10-09 16:11:48.000000000 +0200 +++ new/libyui-3.12.1/VERSION.cmake 2020-10-23 12:06:30.000000000 +0200 @@ -1,6 +1,6 @@ SET( VERSION_MAJOR "3") SET( VERSION_MINOR "12" ) -SET( VERSION_PATCH "0" ) +SET( VERSION_PATCH "1" ) SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" ) ##### This is need for the libyui core, ONLY. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.12.0/package/libyui-doc.spec new/libyui-3.12.1/package/libyui-doc.spec --- old/libyui-3.12.0/package/libyui-doc.spec 2020-10-09 16:11:48.000000000 +0200 +++ new/libyui-3.12.1/package/libyui-doc.spec 2020-10-23 12:06:30.000000000 +0200 @@ -20,7 +20,7 @@ %define so_version 14 Name: %{parent}-doc -Version: 3.12.0 +Version: 3.12.1 Release: 0 Source: %{parent}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.12.0/package/libyui.changes new/libyui-3.12.1/package/libyui.changes --- old/libyui-3.12.0/package/libyui.changes 2020-10-09 16:11:48.000000000 +0200 +++ new/libyui-3.12.1/package/libyui.changes 2020-10-23 12:06:30.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Oct 15 13:46:31 UTC 2020 - Stefan Hundhammer <shundham...@suse.com> + +- Added support for OpenItems property for (nested) tables (bsc#1176402) +- 3.12.1 + +------------------------------------------------------------------- Thu Oct 8 15:20:24 UTC 2020 - José Iván López González <jlo...@suse.com> - Resolve hotkeys conflicts for widgets with multiple hotkeys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.12.0/package/libyui.spec new/libyui-3.12.1/package/libyui.spec --- old/libyui-3.12.0/package/libyui.spec 2020-10-09 16:11:48.000000000 +0200 +++ new/libyui-3.12.1/package/libyui.spec 2020-10-23 12:06:30.000000000 +0200 @@ -16,7 +16,7 @@ # Name: libyui -Version: 3.12.0 +Version: 3.12.1 Release: 0 Source: %{name}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.12.0/src/YTable.cc new/libyui-3.12.1/src/YTable.cc --- old/libyui-3.12.0/src/YTable.cc 2020-10-09 16:11:48.000000000 +0200 +++ new/libyui-3.12.1/src/YTable.cc 2020-10-23 12:06:30.000000000 +0200 @@ -194,6 +194,11 @@ * @property string Item QueryWidget only: Return one complete item * @property string IconPath Base path for icons * @property bool MultiSelection Flag: User can select multiple items (read-only) + * + * @property map<ItemID, string> OpenItems Map of IDs of all open items (read-only) + * to either "ID" or "Text": + * { "myFirstItemID": "ID", + * "myThirdItem": "Text" } */ propSet.add( YProperty( YUIProperty_Value, YOtherProperty ) ); propSet.add( YProperty( YUIProperty_CurrentItem, YOtherProperty ) ); @@ -203,6 +208,7 @@ propSet.add( YProperty( YUIProperty_Item, YOtherProperty ) ); propSet.add( YProperty( YUIProperty_IconPath, YStringProperty ) ); propSet.add( YProperty( YUIProperty_MultiSelection, YBoolProperty, true ) ); // read-only + propSet.add( YProperty( YUIProperty_OpenItems, YOtherProperty, true ) ); // read-only propSet.add( YWidget::propertySet() ); } @@ -243,6 +249,8 @@ else if ( propertyName == YUIProperty_Cell ) return YPropertyValue( YOtherProperty ); else if ( propertyName == YUIProperty_Item ) return YPropertyValue( YOtherProperty ); else if ( propertyName == YUIProperty_IconPath ) return YPropertyValue( iconBasePath() ); + else if ( propertyName == YUIProperty_MultiSelection ) return YPropertyValue( hasMultiSelection() ); + else if ( propertyName == YUIProperty_OpenItems ) return YPropertyValue( YOtherProperty ); else { return YWidget::getProperty( propertyName ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-3.12.0/src/YTree.cc new/libyui-3.12.1/src/YTree.cc --- old/libyui-3.12.0/src/YTree.cc 2020-10-09 16:11:48.000000000 +0200 +++ new/libyui-3.12.1/src/YTree.cc 2020-10-23 12:06:30.000000000 +0200 @@ -104,22 +104,25 @@ * @property itemID CurrentItem The currently selected item * @property list<itemID> CurrentBranch List of IDs of current branch from root to current item * @property itemList Items All items - * @property map<ItemID> OpenItems Map of IDs of all open items - can only be queried, not set * @property string Label Caption above the tree * @property string IconPath Base path for icons * @property bool MultiSelection Flag: User can select multiple items (read-only) + * + * @property map<ItemID, string> OpenItems Map of IDs of all open items (read-only) + * to either "ID" or "Text": + * { "myFirstItemID": "ID", + * "myThirdItem": "Text" } */ propSet.add( YProperty( YUIProperty_Value, YOtherProperty ) ); propSet.add( YProperty( YUIProperty_CurrentItem, YOtherProperty ) ); propSet.add( YProperty( YUIProperty_CurrentBranch, YOtherProperty ) ); propSet.add( YProperty( YUIProperty_Items, YOtherProperty ) ); - propSet.add( YProperty( YUIProperty_OpenItems, YOtherProperty ) ); propSet.add( YProperty( YUIProperty_Label, YStringProperty ) ); propSet.add( YProperty( YUIProperty_IconPath, YStringProperty ) ); propSet.add( YProperty( YUIProperty_SelectedItems, YOtherProperty ) ); propSet.add( YProperty( YUIProperty_MultiSelection, YBoolProperty, true ) ); // read-only + propSet.add( YProperty( YUIProperty_OpenItems, YOtherProperty, true ) ); // read-only propSet.add( YWidget::propertySet() ); - } return propSet; @@ -135,7 +138,6 @@ else if ( propertyName == YUIProperty_CurrentItem ) return false; // Needs special handling else if ( propertyName == YUIProperty_CurrentBranch ) return false; // Needs special handling else if ( propertyName == YUIProperty_Items ) return false; // Needs special handling - else if ( propertyName == YUIProperty_OpenItems ) return false; // Needs special handling else if ( propertyName == YUIProperty_SelectedItems ) return false; // Needs special handling else if ( propertyName == YUIProperty_Label ) setLabel( val.stringVal() ); else if ( propertyName == YUIProperty_IconPath ) setIconBasePath( val.stringVal() ); @@ -158,10 +160,11 @@ else if ( propertyName == YUIProperty_CurrentItem ) return YPropertyValue( YOtherProperty ); else if ( propertyName == YUIProperty_CurrentBranch ) return YPropertyValue( YOtherProperty ); else if ( propertyName == YUIProperty_Items ) return YPropertyValue( YOtherProperty ); - else if ( propertyName == YUIProperty_OpenItems ) return YPropertyValue( YOtherProperty ); else if ( propertyName == YUIProperty_Label ) return YPropertyValue( label() ); else if ( propertyName == YUIProperty_IconPath ) return YPropertyValue( iconBasePath() ); else if ( propertyName == YUIProperty_SelectedItems ) return YPropertyValue( YOtherProperty ); + else if ( propertyName == YUIProperty_MultiSelection ) return YPropertyValue( hasMultiSelection() ); + else if ( propertyName == YUIProperty_OpenItems ) return YPropertyValue( YOtherProperty ); else { return YWidget::getProperty( propertyName );