Hello community,
here is the log from the commit of package yast2-ycp-ui-bindings for
openSUSE:Factory checked in at 2019-09-23 13:16:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ycp-ui-bindings (Old)
and /work/SRC/openSUSE:Factory/.yast2-ycp-ui-bindings.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-ycp-ui-bindings"
Mon Sep 23 13:16:03 2019 rev:73 rq:730756 version:4.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/yast2-ycp-ui-bindings/yast2-ycp-ui-bindings.changes
2018-11-01 18:58:29.913985751 +0100
+++
/work/SRC/openSUSE:Factory/.yast2-ycp-ui-bindings.new.7948/yast2-ycp-ui-bindings.changes
2019-09-23 13:16:04.509119411 +0200
@@ -1,0 +2,14 @@
+Fri Sep 13 15:05:16 CEST 2019 - [email protected]
+
+- added example using scrollbar positions of RichText widget with
+ hyperlinks (bsc#1150498)
+- 4.2.1
+
+-------------------------------------------------------------------
+Thu Sep 12 12:46:46 CEST 2019 - [email protected]
+
+- added example using scrollbar positions of RichText widget
+ (bsc#1150498)
+- 4.2.0
+
+-------------------------------------------------------------------
Old:
----
yast2-ycp-ui-bindings-4.1.0.tar.bz2
New:
----
yast2-ycp-ui-bindings-4.2.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ycp-ui-bindings.spec ++++++
--- /var/tmp/diff_new_pack.YhlkHP/_old 2019-09-23 13:16:04.937119334 +0200
+++ /var/tmp/diff_new_pack.YhlkHP/_new 2019-09-23 13:16:04.941119333 +0200
@@ -1,7 +1,7 @@
#
# spec file for package yast2-ycp-ui-bindings
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: yast2-ycp-ui-bindings
-Version: 4.1.0
+Version: 4.2.1
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-ycp-ui-bindings-4.1.0.tar.bz2 ->
yast2-ycp-ui-bindings-4.2.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.1.0/Dockerfile
new/yast2-ycp-ui-bindings-4.2.1/Dockerfile
--- old/yast2-ycp-ui-bindings-4.1.0/Dockerfile 2018-10-16 17:43:55.000000000
+0200
+++ new/yast2-ycp-ui-bindings-4.2.1/Dockerfile 2019-09-13 16:13:52.000000000
+0200
@@ -1,2 +1,2 @@
-FROM yastdevel/cpp
+FROM registry.opensuse.org/yast/head/containers/yast-cpp:latest
COPY . /usr/src/app
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.1.0/examples/RichText7.rb
new/yast2-ycp-ui-bindings-4.2.1/examples/RichText7.rb
--- old/yast2-ycp-ui-bindings-4.1.0/examples/RichText7.rb 1970-01-01
01:00:00.000000000 +0100
+++ new/yast2-ycp-ui-bindings-4.2.1/examples/RichText7.rb 2019-09-13
16:13:52.000000000 +0200
@@ -0,0 +1,82 @@
+# encoding: utf-8
+
+# Example for controlling scrollbars of a RichText widget
+module Yast
+ class RichText7Client < Client
+ def main
+ Yast.import 'UI'
+
+ text = ''
+ for n in 1..50 do
+ text += "<p>n = #{n}, 2^n = #{2**n}</p>\n"
+ end
+
+ UI.OpenDialog(
+ Opt(:defaultsize),
+ VBox(
+ RichText(Id(:text), text),
+ HBox(
+ PushButton(Id(:reset), 'Reset'),
+ PushButton(Id(:append), 'Append')
+ ),
+ HBox(
+ PushButton(Id(:vertical_minimum), 'Vertical Minimum'),
+ PushButton(Id(:vertical_maximum), 'Vertical Maximum')
+ ),
+ HBox(
+ PushButton(Id(:horizontal_minimum), 'Horizontal Minimum'),
+ PushButton(Id(:horizontal_maximum), 'Horizontal Maximum')
+ ),
+ PushButton(Id(:close), Opt(:default), 'Close')
+ )
+ )
+
+ input = nil
+ begin
+ input = UI.UserInput
+
+ case input
+
+ when :reset
+ text = ''
+ for n in 1..50 do
+ text += "<p>n = #{n}, 2^n = #{2**n}</p>\n"
+ end
+
+ vertical_scroll_value = UI.QueryWidget(Id(:text), :VScrollValue)
+ horizontal_scroll_value = UI.QueryWidget(Id(:text), :HScrollValue)
+ UI.ChangeWidget(Id(:text), :Value, text)
+ UI.ChangeWidget(Id(:text), :VScrollValue, vertical_scroll_value)
+ UI.ChangeWidget(Id(:text), :HScrollValue, horizontal_scroll_value)
+
+ when :append
+ n += 1
+ text += "<p>n = #{n}, 2^n = #{2**n}</p>\n"
+
+ vertical_scroll_value = UI.QueryWidget(Id(:text), :VScrollValue)
+ horizontal_scroll_value = UI.QueryWidget(Id(:text), :HScrollValue)
+ UI.ChangeWidget(Id(:text), :Value, text)
+ UI.ChangeWidget(Id(:text), :VScrollValue, vertical_scroll_value)
+ UI.ChangeWidget(Id(:text), :HScrollValue, horizontal_scroll_value)
+
+ when :vertical_minimum
+ UI.ChangeWidget(Id(:text), :VScrollValue, 'minimum')
+
+ when :vertical_maximum
+ UI.ChangeWidget(Id(:text), :VScrollValue, 'maximum')
+
+ when :horizontal_minimum
+ UI.ChangeWidget(Id(:text), :HScrollValue, 'minimum')
+
+ when :horizontal_maximum
+ UI.ChangeWidget(Id(:text), :HScrollValue, 'maximum')
+
+ end
+ end until input == :close
+
+ UI.CloseDialog
+ end
+ end
+end
+
+Yast::RichText7Client.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ycp-ui-bindings-4.1.0/examples/RichText8.rb
new/yast2-ycp-ui-bindings-4.2.1/examples/RichText8.rb
--- old/yast2-ycp-ui-bindings-4.1.0/examples/RichText8.rb 1970-01-01
01:00:00.000000000 +0100
+++ new/yast2-ycp-ui-bindings-4.2.1/examples/RichText8.rb 2019-09-13
16:13:52.000000000 +0200
@@ -0,0 +1,91 @@
+# encoding: utf-8
+
+# Example for a RichText widget with hyperlinks
+
+module Yast
+ class RichText8Client < Client
+
+ @firewall = true
+ @settings = false
+ @sshd = true
+
+ def text
+ r = '<h3>RichText Example</h3>'
+
+ if @firewall
+ r += '<p>Firewall enabled <a href="firewall">(disable)</a></p>'
+ else
+ r += '<p>Firewall disabled <a href="firewall">(enable)</a></p>'
+ end
+
+ r += '<p>Some advanced <a href="settings">firewall settings</a></p>'
+
+ if @settings
+ for n in 1..20 do
+ r += "<p>Port #{n} is open.</p>\n"
+ end
+ end
+
+ if @sshd
+ r += '<p>sshd enabled <a href="sshd">(disable)</a></p>'
+ else
+ r += '<p>sshd disabled <a href="sshd">(enable)</a></p>'
+ end
+
+ return r
+ end
+
+ def main
+ Yast.import 'UI'
+
+ UI.OpenDialog(
+ Opt(:defaultsize),
+ VBox(
+ RichText(Id(:text), text),
+ PushButton(Id(:close), Opt(:default), 'Close')
+ )
+ )
+
+ input = nil
+ begin
+ input = UI.UserInput
+
+ case input
+
+ when 'firewall'
+ @firewall ^= true
+
+ vertical_scroll_value = UI.QueryWidget(Id(:text), :VScrollValue)
+ horizontal_scroll_value = UI.QueryWidget(Id(:text), :HScrollValue)
+ UI.ChangeWidget(Id(:text), :Value, text)
+ UI.ChangeWidget(Id(:text), :VScrollValue, vertical_scroll_value)
+ UI.ChangeWidget(Id(:text), :HScrollValue, horizontal_scroll_value)
+
+ when 'settings'
+ @settings ^= true
+
+ vertical_scroll_value = UI.QueryWidget(Id(:text), :VScrollValue)
+ horizontal_scroll_value = UI.QueryWidget(Id(:text), :HScrollValue)
+ UI.ChangeWidget(Id(:text), :Value, text)
+ UI.ChangeWidget(Id(:text), :VScrollValue, vertical_scroll_value)
+ UI.ChangeWidget(Id(:text), :HScrollValue, horizontal_scroll_value)
+
+ when 'sshd'
+ @sshd ^= true
+
+ vertical_scroll_value = UI.QueryWidget(Id(:text), :VScrollValue)
+ horizontal_scroll_value = UI.QueryWidget(Id(:text), :HScrollValue)
+ UI.ChangeWidget(Id(:text), :Value, text)
+ UI.ChangeWidget(Id(:text), :VScrollValue, vertical_scroll_value)
+ UI.ChangeWidget(Id(:text), :HScrollValue, horizontal_scroll_value)
+
+ end
+ end until input == :close
+
+ UI.CloseDialog
+ end
+
+ end
+end
+
+Yast::RichText8Client.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.1.0/package/yast2-ycp-ui-bindings.changes
new/yast2-ycp-ui-bindings-4.2.1/package/yast2-ycp-ui-bindings.changes
--- old/yast2-ycp-ui-bindings-4.1.0/package/yast2-ycp-ui-bindings.changes
2018-10-16 17:43:55.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.2.1/package/yast2-ycp-ui-bindings.changes
2019-09-13 16:13:52.000000000 +0200
@@ -1,4 +1,18 @@
-------------------------------------------------------------------
+Fri Sep 13 15:05:16 CEST 2019 - [email protected]
+
+- added example using scrollbar positions of RichText widget with
+ hyperlinks (bsc#1150498)
+- 4.2.1
+
+-------------------------------------------------------------------
+Thu Sep 12 12:46:46 CEST 2019 - [email protected]
+
+- added example using scrollbar positions of RichText widget
+ (bsc#1150498)
+- 4.2.0
+
+-------------------------------------------------------------------
Tue Oct 16 16:35:35 CEST 2018 - [email protected]
- Added license file to spec.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ycp-ui-bindings-4.1.0/package/yast2-ycp-ui-bindings.spec
new/yast2-ycp-ui-bindings-4.2.1/package/yast2-ycp-ui-bindings.spec
--- old/yast2-ycp-ui-bindings-4.1.0/package/yast2-ycp-ui-bindings.spec
2018-10-16 17:43:55.000000000 +0200
+++ new/yast2-ycp-ui-bindings-4.2.1/package/yast2-ycp-ui-bindings.spec
2019-09-13 16:13:52.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-ycp-ui-bindings
-Version: 4.1.0
+Version: 4.2.1
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build