Hello community,
here is the log from the commit of package yast2-ycp-ui-bindings for
openSUSE:Factory checked in at 2020-08-14 13:10:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ycp-ui-bindings (Old)
and /work/SRC/openSUSE:Factory/.yast2-ycp-ui-bindings.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-ycp-ui-bindings"
Fri Aug 14 13:10:13 2020 rev:80 rq:826060 version:4.3.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/yast2-ycp-ui-bindings/yast2-ycp-ui-bindings.changes
2020-06-10 00:38:59.685490899 +0200
+++
/work/SRC/openSUSE:Factory/.yast2-ycp-ui-bindings.new.3399/yast2-ycp-ui-bindings.changes
2020-08-14 13:10:17.953232372 +0200
@@ -1,0 +2,13 @@
+Wed Aug 12 12:12:01 UTC 2020 - Stefan Hundhammer <[email protected]>
+
+- Use new syntax (MenuBar(), Menu()) in MenuBar example (bsc#1175115)
+- 4.3.2
+
+-------------------------------------------------------------------
+Tue Aug 11 15:10:00 UTC 2020 - Stefan Hundhammer <[email protected]>
+
+- Added MenuBar widget (bsc#1175115)
+- Require libyui.so.13
+- 4.3.1
+
+-------------------------------------------------------------------
@@ -6 +19 @@
-- 4.3.10
+- 4.3.0
Old:
----
yast2-ycp-ui-bindings-4.3.0.tar.bz2
New:
----
yast2-ycp-ui-bindings-4.3.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ycp-ui-bindings.spec ++++++
--- /var/tmp/diff_new_pack.Ir5Gq4/_old 2020-08-14 13:10:18.493232577 +0200
+++ /var/tmp/diff_new_pack.Ir5Gq4/_new 2020-08-14 13:10:18.497232579 +0200
@@ -16,12 +16,12 @@
#
-# YUIWidget_CustomStatusItemSelector
-%define min_yui_version 3.10.0
-%define yui_so 12
+# YUIWidget_MenuBar
+%define min_yui_version 3.11.0
+%define yui_so 13
Name: yast2-ycp-ui-bindings
-Version: 4.3.0
+Version: 4.3.2
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-ycp-ui-bindings-4.3.0.tar.bz2 ->
yast2-ycp-ui-bindings-4.3.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/examples/MenuBar1.rb
new/yast2-ycp-ui-bindings-4.3.2/examples/MenuBar1.rb
--- old/yast2-ycp-ui-bindings-4.3.0/examples/MenuBar1.rb 1970-01-01
01:00:00.000000000 +0100
+++ new/yast2-ycp-ui-bindings-4.3.2/examples/MenuBar1.rb 2020-08-12
16:43:34.000000000 +0200
@@ -0,0 +1,156 @@
+# encoding: utf-8
+
+module Yast
+ class MenuBar1Client < Client
+ Yast.import "UI"
+ include Yast::Logger
+
+ def main
+ UI.OpenDialog(dialog_widgets)
+ update_actions
+ handle_events
+ UI.CloseDialog
+ nil
+ end
+
+ def dialog_widgets
+ MinSize( 50, 20,
+ VBox(
+ MenuBar(Id(:menu_bar), main_menus),
+ HVCenter(
+ HVSquash(
+ VBox(
+ Left(Label("Last Event:")),
+ VSpacing( 0.2 ),
+ MinWidth( 20,
+ Label(Id(:last_event), Opt(:outputField), "<none>")
+ ),
+ VSpacing( 2 ),
+ CheckBox(Id(:read_only), Opt(:notify), "Read &Only", true)
+ )
+ )
+ ),
+ Right(PushButton(Id(:cancel), "&Quit"))
+ )
+ )
+ end
+
+ def main_menus
+ [
+ Menu("&File", file_menu),
+ Menu("&Edit", edit_menu),
+ Menu("&View", view_menu),
+ Menu("&Options", options_menu),
+ Menu("&Debug", debug_menu)
+ ].freeze
+ end
+
+ def file_menu
+ [
+ Item(Id(:open), "&Open..."),
+ Item(Id(:save), "&Save"),
+ Item(Id(:save_as), "Save &As..."),
+ Item("---"),
+ Item(Id(:quit), "&Quit"),
+ ].freeze
+ end
+
+ def edit_menu
+ [
+ Item(Id(:cut), "C&ut"),
+ Item(Id(:copy), "&Copy"),
+ Item(Id(:paste), "&Paste"),
+ ].freeze
+ end
+
+ def view_menu
+ [
+ Item(Id(:view_normal), "&Normal"),
+ Item(Id(:view_compact), "&Compact"),
+ Item(Id(:view_detailed), "&Detailed"),
+ Item("---"),
+ term(:menu, "&Zoom", zoom_menu),
+ ].freeze
+ end
+
+ def zoom_menu
+ [
+ Item(Id(:zoom_in), "Zoom &In" ),
+ Item(Id(:zoom_out), "Zoom &Out" ),
+ Item(Id(:zoom_default), "Zoom &Default" ),
+ ].freeze
+ end
+
+ def options_menu
+ [
+ Item(Id(:settings), "&Settings..."),
+ ].freeze
+ end
+
+ def debug_menu
+ [
+ Item(Id(:dump_status), "Dump enabled / disabled &status"),
+ Item(Id(:dump_disabled), "Dump &disabled items")
+ ].freeze
+ end
+
+ def handle_events
+ while true
+ id = UI.UserInput
+
+ case id
+ when :quit, :cancel # :cancel is WM_CLOSE
+ break # leave event loop
+ when :read_only
+ update_actions
+ when :dump_status
+ dump_item_status
+ when :dump_disabled
+ dump_disabled_ids
+ end
+
+ show_event(id)
+ end
+ id
+ end
+
+ def show_event(id)
+ UI.ChangeWidget(:last_event, :Value, id.to_s)
+ end
+
+ # Enable or disable menu items depending on the current content of the
+ # "Read Only" check box.
+ def update_actions
+ read_only = UI.QueryWidget(:read_only, :Value)
+
+ # Enable or disable individual menu entries (actions as well as
submenus):
+ #
+ # Specify a hash of item IDs with a boolean indicating if it should be
+ # enabled (true) or disabled (false). Menu items that are not in this
hash will
+ # not be touched, i.e. they retain their current enabled / disabled
status.
+
+ UI.ChangeWidget(:menu_bar, :EnabledItems,
+ {
+ :save => !read_only,
+ :cut => !read_only,
+ :paste => !read_only
+ }
+ )
+ end
+
+ # Dump the enabled / disabled states of the menu items to the log.
+ def dump_item_status
+ states = UI.QueryWidget(:menu_bar, :EnabledItems)
+ log.info("Enabled/disabled: #{states}")
+ end
+
+ # Dump the IDs of all disabled menu items to the log.
+ def dump_disabled_ids
+ states = UI.QueryWidget(:menu_bar, :EnabledItems)
+ states.reject! { |k, v| v }
+ log.info("Disabled: #{states.keys}")
+ end
+ end
+end
+
+Yast::MenuBar1Client.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.3.0/package/yast2-ycp-ui-bindings.changes
new/yast2-ycp-ui-bindings-4.3.2/package/yast2-ycp-ui-bindings.changes
--- old/yast2-ycp-ui-bindings-4.3.0/package/yast2-ycp-ui-bindings.changes
2020-06-08 12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/package/yast2-ycp-ui-bindings.changes
2020-08-12 16:43:34.000000000 +0200
@@ -1,9 +1,22 @@
-------------------------------------------------------------------
+Wed Aug 12 12:12:01 UTC 2020 - Stefan Hundhammer <[email protected]>
+
+- Use new syntax (MenuBar(), Menu()) in MenuBar example (bsc#1175115)
+- 4.3.2
+
+-------------------------------------------------------------------
+Tue Aug 11 15:10:00 UTC 2020 - Stefan Hundhammer <[email protected]>
+
+- Added MenuBar widget (bsc#1175115)
+- Require libyui.so.13
+- 4.3.1
+
+-------------------------------------------------------------------
Thu Jun 4 11:52:17 UTC 2020 - Stefan Hundhammer <[email protected]>
- Added widget option autoWrap for label widget (bsc#1172513)
- Require libyui.so.12
-- 4.3.10
+- 4.3.0
-------------------------------------------------------------------
Thu Jan 23 16:47:02 UTC 2020 - Imobach Gonzalez Sosa <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.3.0/package/yast2-ycp-ui-bindings.spec
new/yast2-ycp-ui-bindings-4.3.2/package/yast2-ycp-ui-bindings.spec
--- old/yast2-ycp-ui-bindings-4.3.0/package/yast2-ycp-ui-bindings.spec
2020-06-08 12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/package/yast2-ycp-ui-bindings.spec
2020-08-12 16:43:34.000000000 +0200
@@ -15,12 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# YUIWidget_CustomStatusItemSelector
-%define min_yui_version 3.10.0
-%define yui_so 12
+# YUIWidget_MenuBar
+%define min_yui_version 3.11.0
+%define yui_so 13
Name: yast2-ycp-ui-bindings
-Version: 4.3.0
+Version: 4.3.2
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPBuiltinCaller.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPBuiltinCaller.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPBuiltinCaller.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPBuiltinCaller.cc 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPBuiltinCaller.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPBuiltinCaller.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPBuiltinCaller.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPBuiltinCaller.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPBuiltinCaller.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPBuiltinCaller.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPDialogParser.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPDialogParser.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPDialogParser.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPDialogParser.cc 2020-08-12
16:43:34.000000000 +0200
@@ -82,6 +82,7 @@
#include <yui/YLabel.h>
#include <yui/YLayoutBox.h>
#include <yui/YLogView.h>
+#include <yui/YMenuBar.h>
#include <yui/YMenuButton.h>
#include <yui/YMultiLineEdit.h>
#include <yui/YMultiProgressMeter.h>
@@ -287,6 +288,7 @@
else if ( s == YUIWidget_Left ) w = parseAlignment
( p, opt, term, ol, n, YAlignBegin, YAlignUnchanged );
else if ( s == YUIWidget_LogView ) w = parseLogView
( p, opt, term, ol, n );
else if ( s == YUIWidget_MarginBox ) w = parseMarginBox
( p, opt, term, ol, n );
+ else if ( s == YUIWidget_MenuBar ) w = parseMenuBar
( p, opt, term, ol, n );
else if ( s == YUIWidget_MenuButton ) w =
parseMenuButton ( p, opt, term, ol, n );
else if ( s == YUIWidget_MinHeight ) w = parseMinSize
( p, opt, term, ol, n, false, true );
else if ( s == YUIWidget_MinSize ) w = parseMinSize
( p, opt, term, ol, n, true, true );
@@ -1512,6 +1514,57 @@
/**
+ * @widget MenuBar
+ * @short Classic menu bar with pull-down menus
+ * @class YMenuBar
+ * @optarg itemList menu items
+ * @example MenuBar1.rb
+ *
+ *
+ * This is a classical menu bar. Use this with caution: YaST typically uses a
+ * wizard-driven approach where a menu bar is often very much out of place;
+ * it's a different UI philosophy.
+ *
+ * A menu bar is required to have only menus (not plain menu items) at the top
+ * level. Menus can have submenus or separators. A separator is a menu item
+ * with an empty label or a label that starts with "---".
+ *
+ * Invididual menu entries (both actions and submenus) can be enabled or
+ * disabled with the EnabledItems property: It receives a hash of item ID keys
+ * with a boolean value each that specifies if that item should be enabled
+ * (true) or disabled (false). Items that are not in that hash are not touched,
+ * i.e. they keep their current enabled or disabled status.
+ *
+ * See the MenuBar1.rb example how to do this.
+ **/
+
+YWidget *
+YCPDialogParser::parseMenuBar( YWidget * parent, YWidgetOpt & opt,
+ const YCPTerm & term, const YCPList & optList,
int argnr )
+{
+ int numArgs = term->size() - argnr;
+
+ if ( numArgs > 1 ||
+ ( numArgs == 2 && ! term->value( argnr+1 )->isList() ) )
+ {
+ THROW_BAD_ARGS( term );
+ }
+
+ rejectAllOptions( term, optList );
+
+ YMenuBar * menuBar = YUI::widgetFactory()->createMenuBar( parent );
+
+ if ( numArgs == 1 )
+ {
+ YCPList itemList = term->value( argnr )->asList();
+ menuBar->addItems( YCPMenuItemParser::parseMenuItemList( itemList ) );
+ }
+
+ return menuBar;
+}
+
+
+/**
* @widget MenuButton
* @short Button with popup menu
* @class YMenuButton
@@ -2205,7 +2258,7 @@
YCPDialogParser::parseCustomStates( const YCPList & statesList )
{
const char * usage = "Expected: [ [\"iconName1\", \"textIndicator1\", int
nextStatus], [...], ...]";
-
+
YItemCustomStatusVector customStates;
for ( int i=0; i < statesList.size(); i++ )
@@ -2214,7 +2267,7 @@
if ( ! val->isList() )
YUI_THROW( YCPDialogSyntaxErrorException( usage, statesList ) );
-
+
YCPList stat = val->asList();
if ( stat->size() < 2 || stat->size() > 3 ||
@@ -2237,7 +2290,7 @@
if ( customStates.size() < 2 )
YUI_THROW( YCPDialogSyntaxErrorException( "Need at least 2 custom
status values", statesList ) );
-
+
return customStates;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPDialogParser.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPDialogParser.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPDialogParser.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPDialogParser.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPDialogParser.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
@@ -197,7 +197,7 @@
static YWidget * parseMenuButton( YWidget *parent, YWidgetOpt & opt,
const YCPTerm & term, const YCPList &
optList, int argnr );
-
+
static YWidget * parseCheckBox( YWidget *parent, YWidgetOpt & opt,
const YCPTerm & term, const YCPList &
optList, int argnr );
@@ -233,6 +233,9 @@
static YWidget * parseCustomStatusItemSelector( YWidget *parent,
YWidgetOpt & opt,
const YCPTerm & term,
const YCPList & optList, int argnr );
+ static YWidget * parseMenuBar( YWidget *parent, YWidgetOpt & opt,
+ const YCPTerm & term, const YCPList &
optList, int argnr );
+
static YWidget * parseComboBox( YWidget *parent, YWidgetOpt & opt,
const YCPTerm & term, const YCPList &
optList, int argnr );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPErrorDialog.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPErrorDialog.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPErrorDialog.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPErrorDialog.cc 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPErrorDialog.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPErrorDialog.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPErrorDialog.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPErrorDialog.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPErrorDialog.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPErrorDialog.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPEvent.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPEvent.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPEvent.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPEvent.cc 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPEvent.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPEvent.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPEvent.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPEvent.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPEvent.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPEvent.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPItem.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPItem.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPItem.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPItem.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPItem.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPItemParser.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPItemParser.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPItemParser.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPItemParser.cc 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPItemParser.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPItemParser.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPItemParser.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPItemParser.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPItemParser.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPItemParser.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPItemWriter.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPItemWriter.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPItemWriter.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPItemWriter.cc 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPItemWriter.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPItemWriter.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPItemWriter.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPItemWriter.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPItemWriter.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPItemWriter.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPMacroPlayer.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPMacroPlayer.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPMacroPlayer.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPMacroPlayer.cc 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPMacroPlayer.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPMacroPlayer.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPMacroPlayer.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPMacroPlayer.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPMacroPlayer.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPMacroPlayer.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPMacroRecorder.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPMacroRecorder.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPMacroRecorder.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPMacroRecorder.cc 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPMacroRecorder.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPMacroRecorder.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPMacroRecorder.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPMacroRecorder.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPMacroRecorder.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPMacroRecorder.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPMenuItem.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPMenuItem.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPMenuItem.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPMenuItem.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPMenuItem.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPMenuItemParser.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPMenuItemParser.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPMenuItemParser.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPMenuItemParser.cc 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPMenuItemParser.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
@@ -37,6 +37,7 @@
#include "YCPMenuItemParser.h"
#include "YCP_UI_Exception.h"
#include <yui/YUISymbols.h>
+#include <yui/YShortcut.h>
#define VERBOSE_PARSER 0
@@ -173,8 +174,11 @@
if ( iconName.isNull() )
iconName = YCPString( "" );
- if ( id.isNull() ) // no `id() ?
- id = label; // use the label instead
+ if ( startsWith( label->value(), "---" ) ) // separator item?
+ label = YCPString( "" );
+
+ if ( id.isNull() && ! label.isEmpty() ) // no `id() ?
+ id = YCPString( YShortcut::cleanShortcutString( label->value() ) ); //
use the label instead
YCPMenuItem * item = new YCPMenuItem( parent, label, id, iconName );
YUI_CHECK_NEW( item );
@@ -189,3 +193,10 @@
return item;
}
+
+
+bool YCPMenuItemParser::startsWith( const string & str, const char * word )
+{
+ return strncasecmp( str.c_str(), word, strlen( word ) )== 0;
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPMenuItemParser.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPMenuItemParser.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPMenuItemParser.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPMenuItemParser.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPMenuItemParser.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
@@ -82,7 +82,11 @@
**/
static YCPMenuItem * parseMenuItem( YCPMenuItem * parent, const YCPTerm &
itemTerm );
-
+ /**
+ * Return 'true' if 'str' starts with 'word'. This is case insensitive.
+ **/
+ static bool startsWith( const string & str, const char * word );
+
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPMenuItemWriter.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPMenuItemWriter.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPMenuItemWriter.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPMenuItemWriter.cc 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPMenuItemWriter.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPMenuItemWriter.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPMenuItemWriter.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPMenuItemWriter.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPMenuItemWriter.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPMenuItemWriter.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.3.0/src/YCPPropertyHandler.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPPropertyHandler.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPPropertyHandler.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPPropertyHandler.cc 2020-08-12
16:43:34.000000000 +0200
@@ -61,7 +61,7 @@
#include <yui/YComboBox.h>
#include <yui/YDumbTab.h>
#include <yui/YItemSelector.h>
-#include <yui/YMenuButton.h>
+#include <yui/YMenuWidget.h>
#include <yui/YMultiProgressMeter.h>
#include <yui/YMultiSelectionBox.h>
#include <yui/YRadioButton.h>
@@ -113,10 +113,10 @@
}
else if ( propertyName == YUIProperty_Items )
{
- // Make sure to try YMenuButton, YTable, YTree, before YSelectionWidget:
+ // Make sure to try YMenuWidget, YTable, YTree, before YSelectionWidget:
// they all inherit YSelectionWidget!
- if ( trySetMenuButtonItems ( widget, val ) ) return
true;
+ if ( trySetMenuWidgetItems ( widget, val ) ) return
true;
if ( trySetTreeItems ( widget, val ) ) return
true;
if ( trySetTableItems ( widget, val ) ) return
true;
if ( trySetItemSelectorItems ( widget, val ) ) return
true;
@@ -133,9 +133,13 @@
else if ( propertyName == YUIProperty_SelectedItems )
{
if ( trySetMultiSelectionBoxSelectedItems( widget, val ) ) return
true;
- if ( trySetItemSelectorSelectedItems ( widget, val ) ) return
true;
- if ( trySetTableSelectedItems ( widget, val ) ) return
true;
- if ( trySetTreeSelectedItems ( widget, val ) ) return
true;
+ if ( trySetItemSelectorSelectedItems ( widget, val ) ) return
true;
+ if ( trySetTableSelectedItems ( widget, val ) ) return
true;
+ if ( trySetTreeSelectedItems ( widget, val ) ) return
true;
+ }
+ else if ( propertyName == YUIProperty_EnabledItems )
+ {
+ if ( trySetMenuWidgetEnabledItems( widget, val ) ) return
true;
}
y2error( "Can't handle property %s::%s - not changing anything",
@@ -210,6 +214,10 @@
val = tryGetTreeSelectedItems ( widget ); if ( !
val.isNull() ) return val;
val = tryGetMultiSelectionBoxSelectedItems( widget ); if ( !
val.isNull() ) return val;
}
+ else if ( propertyName == YUIProperty_EnabledItems )
+ {
+ val = tryGetMenuWidgetEnabledItems ( widget ); if ( !
val.isNull() ) return val;
+ }
else if ( propertyName == YUIProperty_OpenItems )
{
val = tryGetTreeOpenItems ( widget ); if ( ! val.isNull() )
return val;
@@ -220,10 +228,10 @@
}
else if ( propertyName == YUIProperty_Items )
{
- // Make sure to try YMenuButton, YTable, YTree, before YSelectionWidget:
+ // Make sure to try YMenuWidget, YTable, YTree, before YSelectionWidget:
// they all inherit YSelectionWidget!
- val = tryGetMenuButtonItems ( widget ); if ( !
val.isNull() ) return val;
+ val = tryGetMenuWidgetItems ( widget ); if ( !
val.isNull() ) return val;
val = tryGetTableItems ( widget ); if ( !
val.isNull() ) return val;
val = tryGetTreeItems ( widget ); if ( !
val.isNull() ) return val;
val = tryGetItemSelectorItems ( widget ); if ( !
val.isNull() ) return val;
@@ -304,7 +312,7 @@
{
Item_t * item = dynamic_cast<Item_t *> (*it);
- if ( item && wantedId->equal( item->id() ) )
+ if ( item && item->hasId() && wantedId->equal( item->id() ) )
return item;
if ( (*it)->hasChildren() )
@@ -312,7 +320,6 @@
Item_t * result = findItem<Item_t>( wantedId,
(*it)->childrenBegin(),
(*it)->childrenEnd() );
-
if ( result )
return result;
}
@@ -489,16 +496,16 @@
bool
-YCPPropertyHandler::trySetMenuButtonItems( YWidget * widget, const YCPValue &
val )
+YCPPropertyHandler::trySetMenuWidgetItems( YWidget * widget, const YCPValue &
val )
{
- YMenuButton * menuButton = dynamic_cast<YMenuButton *> (widget );
+ YMenuWidget * menuWidget = dynamic_cast<YMenuWidget *> (widget );
- if ( ! menuButton )
+ if ( ! menuWidget )
return false;
if ( val->isList() )
{
- menuButton->setItems( YCPMenuItemParser::parseMenuItemList(
val->asList() ) );
+ menuWidget->setItems( YCPMenuItemParser::parseMenuItemList(
val->asList() ) );
return true;
}
@@ -950,6 +957,73 @@
}
+bool
+YCPPropertyHandler::trySetMenuWidgetEnabledItems( YWidget * widget, const
YCPValue & val )
+{
+ YMenuWidget * menuWidget = dynamic_cast<YMenuWidget *>( widget );
+
+ if ( ! menuWidget )
+ return false;
+
+ bool ok = val->isMap();
+
+ if ( ok )
+ {
+ YCPMap statusMap = val->asMap();
+
+ for ( YCPMap::const_iterator it = statusMap->begin();
+ it != statusMap->end() && ok;
+ ++it )
+ {
+ ok = setItemEnabled( menuWidget, it->first, it->second );
+ }
+ }
+
+ if ( ! ok )
+ {
+ YUI_THROW( YUIBadPropertyArgException( YProperty(
YUIProperty_EnabledItems,
+ YOtherProperty ),
+ widget ) );
+ }
+
+ return ok;
+}
+
+
+bool
+YCPPropertyHandler::setItemEnabled( YMenuWidget * widget,
+ const YCPValue & itemId,
+ const YCPValue & newEnabled )
+{
+ bool enabled;
+
+ if ( newEnabled->isBoolean() )
+ enabled = newEnabled->asBoolean()->value();
+ else
+ {
+ y2error( "Setting ItemEnabled for item with ID %s: "
+ "Expected boolean, not %s",
+ itemId->toString().c_str(), newEnabled->toString().c_str() );
+
+ return false;
+ }
+
+ YCPMenuItem * item = findItem<YCPMenuItem>( widget, itemId );
+
+ if ( ! item )
+ {
+ y2error( "%s %s has no item with ID %s",
+ widget->widgetClass(),
+ widget->debugLabel().c_str(),
+ itemId->toString().c_str() );
+
+ return false;
+ }
+
+ widget->setItemEnabled( item, enabled );
+
+ return true;
+}
@@ -1208,7 +1282,7 @@
{
for ( YItemConstIterator it = begin; it != end; ++it )
{
- YTreeItem * item = dynamic_cast<YTreeItem *> (*it);
+ YTreeItem * item = dynamic_cast<YTreeItem *>(*it);
if ( item )
{
@@ -1367,14 +1441,14 @@
YCPValue
-YCPPropertyHandler::tryGetMenuButtonItems( YWidget * widget )
+YCPPropertyHandler::tryGetMenuWidgetItems( YWidget * widget )
{
- YMenuButton * menuButton = dynamic_cast<YMenuButton *> (widget);
+ YMenuWidget * menuWidget = dynamic_cast<YMenuWidget *> (widget);
- if ( ! menuButton )
+ if ( ! menuWidget )
return YCPNull();
- return YCPMenuItemWriter::itemList( menuButton->itemsBegin(),
menuButton->itemsEnd() );
+ return YCPMenuItemWriter::itemList( menuWidget->itemsBegin(),
menuWidget->itemsEnd() );
}
@@ -1510,4 +1584,34 @@
}
+YCPValue
+YCPPropertyHandler::tryGetMenuWidgetEnabledItems( YWidget * widget )
+{
+ YMenuWidget * menuWidget = dynamic_cast<YMenuWidget *> (widget );
+
+ if ( ! menuWidget )
+ return YCPNull();
+
+ YCPMap itemStatusMap;
+ getMenuWidgetEnabledItems( itemStatusMap, menuWidget->itemsBegin(),
menuWidget->itemsEnd() );
+
+ return itemStatusMap;
+}
+
+void
+YCPPropertyHandler::getMenuWidgetEnabledItems( YCPMap &
itemStatusMap,
+ YItemConstIterator begin,
+ YItemConstIterator end )
+{
+ for ( YItemConstIterator it = begin; it != end; ++it )
+ {
+ YCPMenuItem * item = dynamic_cast<YCPMenuItem *>( *it );
+
+ if ( item && item->hasId() )
+ itemStatusMap.add( item->id(), YCPBoolean( item->isEnabled() ) );
+
+ if ( item->hasChildren() )
+ getMenuWidgetEnabledItems( itemStatusMap, item->childrenBegin(),
item->childrenEnd() );
+ }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPPropertyHandler.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPPropertyHandler.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPPropertyHandler.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPPropertyHandler.h 2020-08-12
16:43:34.000000000 +0200
@@ -44,6 +44,7 @@
class YCPItem;
class YWidget;
class YSelectionWidget;
+class YMenuWidget;
/**
@@ -110,7 +111,7 @@
static bool trySetTableValue ( YWidget * widget,
const YCPValue & val );
static bool trySetDumbTabValue ( YWidget * widget,
const YCPValue & val );
static bool trySetComboBoxValue ( YWidget * widget,
const YCPValue & val );
- static bool trySetMenuButtonItems ( YWidget * widget,
const YCPValue & val );
+ static bool trySetMenuWidgetItems ( YWidget * widget,
const YCPValue & val );
static bool trySetTreeItems ( YWidget *
widget, const YCPValue & val );
static bool trySetTableItems ( YWidget * widget,
const YCPValue & val );
static bool trySetTableCell ( YWidget *
widget, const YCPTerm & propTerm, const YCPValue & val );
@@ -126,6 +127,7 @@
static bool trySetMultiProgressMeterValues ( YWidget * widget,
const YCPValue & val );
static bool trySetBarGraphValues ( YWidget * widget,
const YCPValue & val );
static bool trySetBarGraphLabels ( YWidget * widget,
const YCPValue & val );
+ static bool trySetMenuWidgetEnabledItems ( YWidget * widget,
const YCPValue & val );
/**
* All tryGet..() functions try to dynamic_cast 'widget' to the expected
@@ -154,20 +156,29 @@
static YCPValue tryGetTableItems ( YWidget * widget );
static YCPValue tryGetTreeItems ( YWidget * widget );
static YCPValue tryGetItemSelectorItems ( YWidget * widget );
- static YCPValue tryGetMenuButtonItems ( YWidget * widget );
+ static YCPValue tryGetMenuWidgetItems ( YWidget * widget );
static YCPValue tryGetSelectionWidgetItems ( YWidget * widget );
static YCPValue tryGetSelectionWidgetItemStatus ( YWidget * widget );
static YCPValue tryGetBarGraphValues ( YWidget * widget );
static YCPValue tryGetBarGraphLabels ( YWidget * widget );
static YCPValue tryGetTreeCurrentItem ( YWidget * widget );
+ static YCPValue tryGetMenuWidgetEnabledItems ( YWidget * widget );
/**
* Set the status of a widget's item to a new value.
**/
- static bool setItemStatus( YSelectionWidget * widget,
- const YCPValue & itemId,
- const YCPValue & newStatus );
+ static bool setItemStatus ( YSelectionWidget * widget,
+ const YCPValue & itemId,
+ const YCPValue & newStatus );
+
+ /**
+ * Enable or disable a menu item.
+ **/
+ static bool setItemEnabled ( YMenuWidget * widget,
+ const YCPValue & itemId,
+ const YCPValue & newEnabled );
+
/**
* Helper function for tryGetTreeOpenItems(): Get any open tree items
* between iterators 'begin' and 'end' and add them to the 'openItems' map.
@@ -175,6 +186,15 @@
static void getTreeOpenItems( YCPMap & openItems,
YItemConstIterator begin,
YItemConstIterator end );
+
+ /**
+ * Helper function for tryGetMenuWidgetEnabledItems(): Get the enabled /
+ * disabled status of items between iterators 'begin' and 'end' for all
+ * items that have an ID and add them to the itemStatusMap.
+ **/
+ static void getMenuWidgetEnabledItems( YCPMap & itemStatusMap,
+ YItemConstIterator begin,
+ YItemConstIterator end );
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPTableItem.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPTableItem.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPTableItem.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPTableItem.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPTableItem.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.3.0/src/YCPTableItemParser.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPTableItemParser.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPTableItemParser.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPTableItemParser.cc 2020-08-12
16:43:34.000000000 +0200
@@ -24,7 +24,7 @@
File: YCPTableItemParser.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPTableItemParser.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPTableItemParser.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPTableItemParser.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPTableItemParser.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPTableItemParser.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.3.0/src/YCPTableItemWriter.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPTableItemWriter.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPTableItemWriter.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPTableItemWriter.cc 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPTableItemWriter.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPTableItemWriter.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPTableItemWriter.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPTableItemWriter.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPTableItemWriter.h 2020-08-12
16:43:34.000000000 +0200
@@ -33,7 +33,7 @@
File: YCPTableItemWriter.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPTreeItem.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPTreeItem.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPTreeItem.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPTreeItem.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPTreeItem.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPTreeItemParser.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPTreeItemParser.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPTreeItemParser.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPTreeItemParser.cc 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPTreeItemParser.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPTreeItemParser.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPTreeItemParser.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPTreeItemParser.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPTreeItemParser.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPTreeItemParser.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPTreeItemWriter.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPTreeItemWriter.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPTreeItemWriter.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPTreeItemWriter.cc 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPTreeItemWriter.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPTreeItemWriter.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPTreeItemWriter.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPTreeItemWriter.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPTreeItemWriter.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPTreeItemWriter.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPValueWidgetID.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPValueWidgetID.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPValueWidgetID.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPValueWidgetID.cc 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPValueWidgetID.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCPValueWidgetID.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPValueWidgetID.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPValueWidgetID.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPValueWidgetID.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPValueWidgetID.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.3.0/src/YCPWizardCommandParser.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCPWizardCommandParser.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPWizardCommandParser.cc
2020-06-08 12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPWizardCommandParser.cc
2020-08-12 16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCPWizardCommandParser.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.3.0/src/YCPWizardCommandParser.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCPWizardCommandParser.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCPWizardCommandParser.h
2020-06-08 12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCPWizardCommandParser.h
2020-08-12 16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCPWizardCommandParser.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCP_UI.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCP_UI.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCP_UI.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCP_UI.cc 2020-08-12
16:43:34.000000000 +0200
@@ -24,7 +24,7 @@
File: YCP_UI.cc
- Authors: Stefan Hundhammer <[email protected]>
+ Authors: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCP_UI.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCP_UI.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCP_UI.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCP_UI.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCP_UI.cc
- Authors: Stefan Hundhammer <[email protected]>
+ Authors: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCP_UI_Exception.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCP_UI_Exception.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCP_UI_Exception.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCP_UI_Exception.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCP_UI_Exception.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCP_util.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YCP_util.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCP_util.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCP_util.cc 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YCP_util.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YCP_util.h
new/yast2-ycp-ui-bindings-4.3.2/src/YCP_util.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YCP_util.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YCP_util.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YCP_util.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YUIComponent.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YUIComponent.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YUIComponent.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YUIComponent.cc 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YUIComponent.cc
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YUIComponent.h
new/yast2-ycp-ui-bindings-4.3.2/src/YUIComponent.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YUIComponent.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YUIComponent.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YUIComponent.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.3.0/src/YUIComponentCreator.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YUIComponentCreator.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YUIComponentCreator.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YUIComponentCreator.cc 2020-08-12
16:43:34.000000000 +0200
@@ -24,7 +24,7 @@
File: YUIComponentCreator.cc
Authors: Stanislav Visnovsky <[email protected]>
- Stefan Hundhammer <[email protected]>
+ Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.3.0/src/YUIComponentCreator.h
new/yast2-ycp-ui-bindings-4.3.2/src/YUIComponentCreator.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YUIComponentCreator.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YUIComponentCreator.h 2020-08-12
16:43:34.000000000 +0200
@@ -23,7 +23,7 @@
File: YUIComponentCreator.h
Authors: Stanislav Visnovsky <[email protected]>
- Stefan Hundhammer <[email protected]>
+ Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YUINamespace.cc
new/yast2-ycp-ui-bindings-4.3.2/src/YUINamespace.cc
--- old/yast2-ycp-ui-bindings-4.3.0/src/YUINamespace.cc 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YUINamespace.cc 2020-08-12
16:43:34.000000000 +0200
@@ -26,7 +26,7 @@
Authors: Klaus Kaempf <[email protected]>
Stanislav Visnovsky <[email protected]>
- Maintainer: Stefan Hundhammer <[email protected]>
+ Maintainer: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YUINamespace.h
new/yast2-ycp-ui-bindings-4.3.2/src/YUINamespace.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YUINamespace.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YUINamespace.h 2020-08-12
16:43:34.000000000 +0200
@@ -25,7 +25,7 @@
Authors: Stanislav Visnovsky <[email protected]>
Martin Vidner <[email protected]>
- Maintainer: Stefan Hundhammer <[email protected]>
+ Maintainer: Stefan Hundhammer <[email protected]>
/-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.3.0/src/YWidgetOpt.h
new/yast2-ycp-ui-bindings-4.3.2/src/YWidgetOpt.h
--- old/yast2-ycp-ui-bindings-4.3.0/src/YWidgetOpt.h 2020-06-08
12:26:06.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.3.2/src/YWidgetOpt.h 2020-08-12
16:43:34.000000000 +0200
@@ -22,7 +22,7 @@
File: YWidgetOpt.h
- Author: Stefan Hundhammer <[email protected]>
+ Author: Stefan Hundhammer <[email protected]>
/-*/