Branch: refs/heads/SLE-15-SP3
Home: https://github.com/yast/yast-python-bindings
Commit: f842306eaefc97954eca58187a2f7aa4bb7c36a2
https://github.com/yast/yast-python-bindings/commit/f842306eaefc97954eca5818...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/MultiProgressMeter2.py
M examples/Table-icons.py
M examples/WidgetExists.py
Log Message:
-----------
make simple print statements python3 compatible
maybe we should just convert these to y2debug statements
Signed-off-by: Noel Power
Commit: 76fb442e6f1563d1c7cffc2bb327037a9905651e
https://github.com/yast/yast-python-bindings/commit/76fb442e6f1563d1c7cffc2b...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/MultiProgressMeter2.py
Log Message:
-----------
currentUnitID is a tuple (make sure we access it as such)
Signed-off-by: Noel Power
Commit: 3244776c2721efa1f804577aba615c1481f5b2b5
https://github.com/yast/yast-python-bindings/commit/3244776c2721efa1f804577a...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/Image1.py
Log Message:
-----------
Fix path to icon
Signed-off-by: Noel Power
Commit: 3e72dd34c0a905f63e246f0c5b1e5a8ae3afe5b3
https://github.com/yast/yast-python-bindings/commit/3e72dd34c0a905f63e246f0c...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/HSquash1.py
Log Message:
-----------
Add content to HSquash1
Signed-off-by: Noel Power
Commit: 947e581ea807dde62f864a37ffbccf97fde7991f
https://github.com/yast/yast-python-bindings/commit/947e581ea807dde62f864a37...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/ComboBox2.py
Log Message:
-----------
Fix bug in ComboBox2
Signed-off-by: Noel Power
Commit: 0cf375eb622bf1473ccd6663b2c5bab5d73778b6
https://github.com/yast/yast-python-bindings/commit/0cf375eb622bf1473ccd6663...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/BarGraph3.py
Log Message:
-----------
Bargraph3 use python2/python3 integer division operator '//'
Signed-off-by: Noel Power
Commit: 921d78ccd7a376d7b34f0b0ba4c1c717feff64d4
https://github.com/yast/yast-python-bindings/commit/921d78ccd7a376d7b34f0b0b...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/Tree-Checkbox4.py
Log Message:
-----------
Checkbox4 Add missing MinSize
Signed-off-by: Noel Power
Commit: 8c2f7c055eac62fd2ca16f522c066cf774a6cb56
https://github.com/yast/yast-python-bindings/commit/8c2f7c055eac62fd2ca16f52...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/Tree-Checkbox2.py
Log Message:
-----------
Tree-Checkbox2 Fix size
Signed-off-by: Noel Power
Commit: dd63927642872b877462f81cbdbab765eb22fc6c
https://github.com/yast/yast-python-bindings/commit/dd63927642872b877462f81c...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/Tree-Checkbox.py
Log Message:
-----------
Tree-Checkbox Add MinSize
Signed-off-by: Noel Power
Commit: 9d4759b458ece230ac99836021299f68e44014b6
https://github.com/yast/yast-python-bindings/commit/9d4759b458ece230ac998360...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/Table-icons.py
Log Message:
-----------
Table-icons: Handle None return from SCR
avoid trying to iterate NoneType
Traceback (most recent call last):
File "/home/tux/yast-python-bindings/examples/Table-icons.py", line 96, in <module>
TableIconsClient().main()
File "/home/tux/yast-python-bindings/examples/Table-icons.py", line 34, in main
iconList = readIconDir(iconBasePath + "/22x22/apps")
File "/home/tux/yast-python-bindings/examples/Table-icons.py", line 79, in readIconDir
iconList = list(SCR.Read(Path(".target.dir"), dir))
TypeError: 'NoneType' object is not iterable
Signed-off-by: Noel Power
Commit: a63646f4ff54d5c514753f3a3445d728f99f6032
https://github.com/yast/yast-python-bindings/commit/a63646f4ff54d5c514753f3a...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/SlideShowDemo2.py
Log Message:
-----------
SlidShowDemo2 Fix integer division python2/python3
Signed-off-by: Noel Power
Commit: ef13af2ed2f0cb6ad614783de095fa35186a6e3a
https://github.com/yast/yast-python-bindings/commit/ef13af2ed2f0cb6ad614783d...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/SlideShowDemo.py
Log Message:
-----------
SlideShowDemo fix integer division
Signed-off-by: Noel Power
Commit: a7fa7fae57eb963c6bc8486f4a78dca679f30b9b
https://github.com/yast/yast-python-bindings/commit/a7fa7fae57eb963c6bc8486f...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/ShortcutConflict5.py
Log Message:
-----------
ShortcutConflict5 Opt.get(event) doesn't exist, event is just a map
Signed-off-by: Noel Power
Commit: 2ad822bc6aa2ea29e2e2fdfc3e16a0a655e9d247
https://github.com/yast/yast-python-bindings/commit/2ad822bc6aa2ea29e2e2fdfc...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/MultiSelectionBox3.py
Log Message:
-----------
MultiSelection3 Use Symbol for selected items
Looks like we need to disambiguate ChangeWidget expecting a
YCPList or something to a YCPList of Symbols, by default if
we don't have more details function type info we just convert
the python list of strings to a YCPList of YCPString(s)
Signed-off-by: Noel Power
squash
Commit: 7eb0cbb0a7b0d3d6690c0c096f798415536c170a
https://github.com/yast/yast-python-bindings/commit/7eb0cbb0a7b0d3d6690c0c09...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/Wizard3.py
Log Message:
-----------
Wizard3: Fix bug in adding BaseInstallation steps
Signed-off-by: Noel Power
Commit: 30e26e6d8425d5765322183e443783f572c0a3ed
https://github.com/yast/yast-python-bindings/commit/30e26e6d8425d5765322183e...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/Tree-recursive-large.py
Log Message:
-----------
Tree-recursive-large: Fix mixed tab/spaces error
Signed-off-by: Noel Power
Commit: f5bef34bc17c066d7fe09e6f979982e3e24e90b7
https://github.com/yast/yast-python-bindings/commit/f5bef34bc17c066d7fe09e6f...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M src/ytypes.i
Log Message:
-----------
Fix core when None is passed to some YCP functions
e.g. examples/Table1.py
has
Table(
Header(
"\u00C4nerhe\u00DF",
"\u00C4\u00DF\u00F6\u00F6\u00E4\u00E4\u00E4\u00E4\u00E4"
),
[
Item(
Id('1'),
"\u011B\u0161\u010D\u0159\u017E\u00FD\u00E1\u00ED\u02C7",
6
),
=> Item(Id(2), "\u011B\u0161\u0159\u017E", None),
Item(Id(3), "\u00C4nder\u00DF\u00DF\u00DF", 8),
where the value of the TableItem is passed None, this results in the
following core
(gdb) where
#0 YCPValueRep::isTerm() const (this=0x0) at YCPValue.cc:70
#1 0x00007ffff48c1974 in YCPTableItemParser::parseTableItem(YCPTerm const&) (itemTerm=...) at YCPTableItemParser.cc:117
#2 0x00007ffff48c13e0 in YCPTableItemParser::parseTableItemList(YCPList const&) (itemList=...) at YCPTableItemParser.cc:60
#3 0x00007ffff489ad44 in YCPDialogParser::parseTable(YWidget*, YWidgetOpt&, YCPTerm const&, YCPList const&, int) (parent=parent@entry=0x7fffe840ee30, opt=..., term=..., optList=..., argnr=0) at YCPDialogParser.cc:2604
#4 0x00007ffff48b151d in YCPDialogParser::parseWidgetTreeTerm(YWidget*, YWidgetOpt&, YCPTerm const&) (p=p@entry=0x7fffe840ee30, opt=..., term=...) at YCPDialogParser.cc:311
#5 0x00007ffff48b1c9a in YCPDialogParser::parseWidgetTreeTerm(YWidget*, YCPTerm const&) (parent=parent@entry=0x7fffe840ee30, term=...) at YCPDialogParser.cc:413
#6 0x00007ffff48b373a in YCPDialogParser::parseMinSize(YWidget*, YWidgetOpt&, YCPTerm const&, YCPList const&, int, bool, bool) (parent=parent@entry=0x7fffe831eab0, opt=..., term=..., optList=..., argnr=<optimized out>, hor=<optimized out>, vert=true) at YCPDialogParser.cc:713
so it appears the correct translation for Py_None is YCP_Void()
rather than YCP_Null()
Signed-off-by: Noel Power
Commit: 77f967ec4e93521542689af3327f56b76480c7b3
https://github.com/yast/yast-python-bindings/commit/77f967ec4e93521542689af3...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/Label1_cs.py
M examples/Label1_de.py
M examples/Label1_ja.py
M examples/Label2_ml.py
M examples/RichText1_cs.py
M examples/SetLanguage.py
M examples/ShortcutConflict6.py
M examples/Table1_utf8.py
Log Message:
-----------
Ensure examples really pass unicode (use 'u' prefix)
Strings are default unicode in python3 not so in python2, for strings
that really are unicode we need to use the prefix so they really are
passed as unicode in py2.
Signed-off-by: Noel Power
Commit: cacf2e9e883a3d274fac8fa997fcb29610a94a2a
https://github.com/yast/yast-python-bindings/commit/cacf2e9e883a3d274fac8fa9...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M src/ytypes.i
Log Message:
-----------
Ensure python2 examples passing unicode strings work
e.g. Table1_utf8.py
Label1_de.py
Label1_ja.py
Signed-off-by: Noel Power
Commit: 463b8d5bda987f3c7d3d509ade8b9fec8bd1ef69
https://github.com/yast/yast-python-bindings/commit/463b8d5bda987f3c7d3d509a...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/ShortcutConflict5.py
Log Message:
-----------
ShortcurConflict5 Fix "Invalid arguments for the Wizard widget"
UI.OpenDialog(
Opt("defaultsize"),
Wizard("back", "&Back", "abort", "&Abort", "next", "&Next")
errors out with "Invalid arguments for the Wizard widget"
we should be using Symbol("back") etc. as is used in Wizard1.py
ShortcutConflics5.rb just uses ':back' (which is equiv to
Symbol("back"))
Signed-off-by: Noel Power
Commit: 253b84f3f0fc87b9de2bad9cc859ae709a50d073
https://github.com/yast/yast-python-bindings/commit/253b84f3f0fc87b9de2bad9c...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/ShortcutConflict5.py
Log Message:
-----------
ShortcutConflict5: Ensure we got the key 'ID' for event
Signed-off-by: Noel Power
Commit: 24d1ece8eda71f64bb5df818ee90c793a1a0e95c
https://github.com/yast/yast-python-bindings/commit/24d1ece8eda71f64bb5df818...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M examples/DefaultButtons1.py
M examples/DefaultButtons2.py
M examples/DefaultButtons3.py
M examples/PatternSelector-wizard-with-packages.py
M examples/SlideShowDemo.py
M examples/SlideShowDemo2.py
Log Message:
-----------
Wizard should use 'Symbol' instead of 'Id'
To match Ruby examples e.g.
Wizard(:back, "&back",.....) etc.
we should use
Wizard(Symbol("back", "&back",.....) etc. as the argument doesn't
get automatically translated
Signed-off-by: Noel Power
Commit: f3d9817b04f7629576ab68515bd7a1138643e977
https://github.com/yast/yast-python-bindings/commit/f3d9817b04f7629576ab6851...
Author: Noel Power
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M package/yast2-python-bindings.changes
M package/yast2-python-bindings.spec
Log Message:
-----------
SUSE: Update changelog and version
Signed-off-by: Noel Power
Commit: 228f166dcc1add22352d72baefb454327e982a73
https://github.com/yast/yast-python-bindings/commit/228f166dcc1add22352d72ba...
Author: David Mulder
Date: 2023-02-23 (Thu, 23 Feb 2023)
Changed paths:
M examples/BarGraph3.py
M examples/ComboBox2.py
M examples/DefaultButtons1.py
M examples/DefaultButtons2.py
M examples/DefaultButtons3.py
M examples/HSquash1.py
M examples/Image1.py
M examples/Label1_cs.py
M examples/Label1_de.py
M examples/Label1_ja.py
M examples/Label2_ml.py
M examples/MultiProgressMeter2.py
M examples/MultiSelectionBox3.py
M examples/PatternSelector-wizard-with-packages.py
M examples/RichText1_cs.py
M examples/SetLanguage.py
M examples/ShortcutConflict5.py
M examples/ShortcutConflict6.py
M examples/SlideShowDemo.py
M examples/SlideShowDemo2.py
M examples/Table-icons.py
M examples/Table1_utf8.py
M examples/Tree-Checkbox.py
M examples/Tree-Checkbox2.py
M examples/Tree-Checkbox4.py
M examples/Tree-recursive-large.py
M examples/WidgetExists.py
M examples/Wizard3.py
M package/yast2-python-bindings.changes
M package/yast2-python-bindings.spec
M src/ytypes.i
Log Message:
-----------
Merge pull request #45 from noelpower/SLE15-SP3-example-fixes
Sle15 sp3 example fixes
Compare: https://github.com/yast/yast-python-bindings/compare/2c226e6bd433...228f166d...