From bb3b10290f8e8a51ac7ab41a92ab980d0a1ca57545eff7cd83c86db92d15c778 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Fri, 29 Dec 2017 20:10:57 +0000 Subject: [PATCH 1/5] - Version 8.6.8: * (bug)[f1a3ca] Memory leak in [text] B-tree * (bug)[ee40fd] Report [console] init errors * (bug)[3295446] Improve history visibility in [console] * (bug)canvas closed polylines fully honor -joinstyle * (bug)[cc42cc] out of mem crash in tests imgPhoto-18.* * (bug)[3406785] fix coords rounding when drawing canvas items * (bug)[8277e1] linux fontchooser sync with available fonts * (bug)[5239fd] Segfault copying a photo image to itself * (bug)[514ff6] canvas rotated text overlap detection * (bug)[1e0db2] canvas rchars artifacts * (bug)[d9fdfa] display of Long non-wrapped lines in text * (bug)[dd9667] text anchor not set * (bug)[bb6b40] ::tk::AmpMenuArgs and 'entryconf' * (bug)[55b95f] Crash [scale] with a bignum value * (bug)[ce62c8] text-37.1 fails * (bug)[0ef1c5] OS X - tests menu-22.[345] hang * (bug) display of embedded toplevels * (bug)[73ba07] Correct property type for MULTIPLE conversion * (bug) Memory leak in tkImgPhoto.c. * (bug) Defeat zombie toplevels * (bug) [wm withdraw] on Window and Dock menus * (new)[TIP 477] nmake build system reform - Sync SLE12 with Factory to fix a bug in Itcl that was affecting iwidgets (bsc#903017). OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tk?expand=0&rev=66 --- tk.changes | 33 +++++++++++++++++++++++++++++++++ tk.spec | 2 +- tk8.6.7-src.tar.gz | 3 --- tk8.6.8-src.tar.gz | 3 +++ 4 files changed, 37 insertions(+), 4 deletions(-) delete mode 100644 tk8.6.7-src.tar.gz create mode 100644 tk8.6.8-src.tar.gz diff --git a/tk.changes b/tk.changes index b3b8e77..1cb8e31 100644 --- a/tk.changes +++ b/tk.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Fri Dec 29 20:01:34 UTC 2017 - max@suse.com + +- Version 8.6.8: + * (bug)[f1a3ca] Memory leak in [text] B-tree + * (bug)[ee40fd] Report [console] init errors + * (bug)[3295446] Improve history visibility in [console] + * (bug)canvas closed polylines fully honor -joinstyle + * (bug)[cc42cc] out of mem crash in tests imgPhoto-18.* + * (bug)[3406785] fix coords rounding when drawing canvas items + * (bug)[8277e1] linux fontchooser sync with available fonts + * (bug)[5239fd] Segfault copying a photo image to itself + * (bug)[514ff6] canvas rotated text overlap detection + * (bug)[1e0db2] canvas rchars artifacts + * (bug)[d9fdfa] display of Long non-wrapped lines in text + * (bug)[dd9667] text anchor not set + * (bug)[bb6b40] ::tk::AmpMenuArgs and 'entryconf' + * (bug)[55b95f] Crash [scale] with a bignum value + * (bug)[ce62c8] text-37.1 fails + * (bug)[0ef1c5] OS X - tests menu-22.[345] hang + * (bug) display of embedded toplevels + * (bug)[73ba07] Correct property type for MULTIPLE conversion + * (bug) Memory leak in tkImgPhoto.c. + * (bug) Defeat zombie toplevels + * (bug) [wm withdraw] on Window and Dock menus + * (new)[TIP 477] nmake build system reform + +------------------------------------------------------------------- +Thu Oct 19 15:27:51 UTC 2017 - max@suse.com + +- Sync SLE12 with Factory to fix a bug in Itcl that was affecting + iwidgets (bsc#903017). + ------------------------------------------------------------------- Wed Sep 13 16:59:37 UTC 2017 - max@suse.com diff --git a/tk.spec b/tk.spec index 79a5009..a5ddf47 100644 --- a/tk.spec +++ b/tk.spec @@ -25,7 +25,7 @@ BuildRequires: libXt-devel BuildRequires: pkg-config BuildRequires: tcl-devel Url: http://www.tcl.tk -Version: 8.6.7 +Version: 8.6.8 Release: 0 %define rrc %nil BuildRoot: %{_tmppath}/%{name}-%{version}-build diff --git a/tk8.6.7-src.tar.gz b/tk8.6.7-src.tar.gz deleted file mode 100644 index e264147..0000000 --- a/tk8.6.7-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:061de2a354f9b7c7d04de3984c90c9bc6dd3a1b8377bb45509f1ad8a8d6337aa -size 4282972 diff --git a/tk8.6.8-src.tar.gz b/tk8.6.8-src.tar.gz new file mode 100644 index 0000000..8718a84 --- /dev/null +++ b/tk8.6.8-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49e7bca08dde95195a27f594f7c850b088be357a7c7096e44e1158c7a5fd7b33 +size 4319854 From fee0e24cd986d9d72445d0475b8113b38d073a1f5692cc92100153b5e8896911 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 12 Jul 2018 10:40:52 +0000 Subject: [PATCH 2/5] - Update tkcon.tcl to CVS revision 1.124: * Use -underline clearly to disambiguate from new 8.6.6 option -underlinefg * prevent file edit from undoing loading of file OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tk?expand=0&rev=67 --- tk.changes | 8 ++++++++ tk.spec | 2 +- tkcon.tcl | 24 +++++++++++++----------- 3 files changed, 22 insertions(+), 12 deletions(-) diff --git a/tk.changes b/tk.changes index 1cb8e31..ab5eb7a 100644 --- a/tk.changes +++ b/tk.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jul 12 10:39:06 UTC 2018 - max@suse.com + +- Update tkcon.tcl to CVS revision 1.124: + * Use -underline clearly to disambiguate from new 8.6.6 option + -underlinefg + * prevent file edit from undoing loading of file + ------------------------------------------------------------------- Fri Dec 29 20:01:34 UTC 2017 - max@suse.com diff --git a/tk.spec b/tk.spec index a5ddf47..02cfcd0 100644 --- a/tk.spec +++ b/tk.spec @@ -1,7 +1,7 @@ # # spec file for package tk # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 diff --git a/tkcon.tcl b/tkcon.tcl index 957c26a..b006cdd 100644 --- a/tkcon.tcl +++ b/tkcon.tcl @@ -186,7 +186,7 @@ proc ::tkcon::Init {args} { alias clear dir dump echo idebug lremove tkcon_puts tkcon_gets observe observe_var unalias which what } - RCS {RCS: @(#) $Id: tkcon.tcl,v 1.122 2014/09/09 10:46:15 hobbs Exp $} + RCS {RCS: @(#) $Id: tkcon.tcl,v 1.124 2016/09/14 21:14:43 hobbs Exp $} HEADURL {http://tkcon.cvs.sourceforge.net/viewvc/tkcon/tkcon/tkcon.tcl} docs "http://tkcon.sourceforge.net/" @@ -1069,9 +1069,9 @@ proc ::tkcon::EvalCmd {w cmd} { set tag [UniqueTag $w] $w insert output $res [list stderr $tag] \n$trailer stderr $w tag bind $tag \ - [list $w tag configure $tag -under 1] + [list $w tag configure $tag -underline 1] $w tag bind $tag \ - [list $w tag configure $tag -under 0] + [list $w tag configure $tag -underline 0] $w tag bind $tag \ "if {!\[info exists tk::Priv(mouseMoved)\] || !\$tk::Priv(mouseMoved)} \ {[list $OPT(edit) -attach [Attach] -type error -- $PRIV(errorInfo)]}" @@ -3070,8 +3070,8 @@ proc ::tkcon::HighlightError w { set tag [UniqueTag $w] $w tag add $tag $start+${c0}c $start+1c+${c1}c $w tag configure $tag -foreground $COLOR(stdout) - $w tag bind $tag [list $w tag configure $tag -under 1] - $w tag bind $tag [list $w tag configure $tag -under 0] + $w tag bind $tag [list $w tag configure $tag -underline 1] + $w tag bind $tag [list $w tag configure $tag -underline 0] $w tag bind $tag "if {!\$tk::Priv(mouseMoved)} \ {[list $OPT(edit) -attach $app -type proc -find $what -- $cmd]}" } @@ -3099,8 +3099,8 @@ proc ::tkcon::HighlightError w { set tag [UniqueTag $w] $w tag add $tag $ix+1c $start $w tag configure $tag -foreground $COLOR(proc) - $w tag bind $tag [list $w tag configure $tag -under 1] - $w tag bind $tag [list $w tag configure $tag -under 0] + $w tag bind $tag [list $w tag configure $tag -underline 1] + $w tag bind $tag [list $w tag configure $tag -underline 0] $w tag bind $tag "if {!\$tk::Priv(mouseMoved)} \ {[list $OPT(edit) -attach $app -type proc -- $cmd]}" } @@ -3935,14 +3935,14 @@ proc edit {args} { ## set text $w.text set m [menu [::tkcon::MenuButton $menu Edit edit]] - $m add command -label "Cut" -under 2 \ + $m add command -label "Cut" -underline 2 \ -command [list tk_textCut $text] - $m add command -label "Copy" -under 0 \ + $m add command -label "Copy" -underline 0 \ -command [list tk_textCopy $text] - $m add command -label "Paste" -under 0 \ + $m add command -label "Paste" -underline 0 \ -command [list tk_textPaste $text] $m add separator - $m add command -label "Find" -under 0 \ + $m add command -label "Find" -underline 0 \ -command [list ::tkcon::FindBox $text] ## Send To Menu @@ -3996,6 +3996,8 @@ proc edit {args} { $w.text insert 1.0 [join $args \n] } } + # prevent stuff above being "undoable" in newer Tk + catch { $w.text edit reset ; $w.text edit modified 0 } wm deiconify $w focus $w.text if {[string compare $opts(-find) {}]} { From 4f6a7aa66b82610d4085c3b9957e74e4c87e7c2f8a0dc6524fec9294bafd5f25 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Wed, 12 Dec 2018 17:13:03 +0000 Subject: [PATCH 3/5] - Version 8.6.9: * (bug)[aa7679] crash using window after master destroyed * (bug)[925262] New option -state for ttk::scale * (bug)[fa8de7] Crash [ttk::checkbutton .x -variable {}] * (bug)[382712] Crash in [event generate . ] * (bug)[657c38] Crash in menu destroy with checkbutton entry * (bug)[de156e] Deny PRIMARY selection access in safe interps * (bug)[b68710] Fixes in [text] bindings * (bug)[e20d5c] Stop failures of textTag-18.1 * (bug)[5d991b] Fortify var traces against deleted vars * (bug)[1821174] Stop RenderBadPicture X error * (bug)[502e74] Stop X errors on untrusted connections * (bug)[71b131] Regression in Tk_DrawChars() * (bug)[59fccb] menu flaws when empty menubar clicked * (bug)[7423f9] improved legacy support for [tk_setPalette] * (bug)[de01e2] Crash in [$text replace] * (bug)[135696] Crash in [wm transient] * (bug)[309b42] Improve ttk high-contrast-mode support * (bug)[fabed1] GIF photo support for "deferred clear code" * (bug)[3441086] error message in layout-2 * (bug)[05bd7f] vista theme for combobox * (bug)[382712] crash in KeyPress event handling * (bug)[6fcaaa] insertion cursor visibility in ttk::entry * (bug)[822923] cascade menu indicator color * (bug)[9658bc] borderwidth calculations on menu items * (bug)[ca403f] treeview border drawing * (bug)[4b555a] hang in [$text search -all] * (bug)[6b22d4] [treeview] binding fix OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tk?expand=0&rev=68 --- tk.changes | 32 ++++++++++++++++++++++++++++++++ tk.spec | 4 ++-- tk8.6.8-src.tar.gz | 3 --- tk8.6.9-src.tar.gz | 3 +++ 4 files changed, 37 insertions(+), 5 deletions(-) delete mode 100644 tk8.6.8-src.tar.gz create mode 100644 tk8.6.9-src.tar.gz diff --git a/tk.changes b/tk.changes index ab5eb7a..29fc7e7 100644 --- a/tk.changes +++ b/tk.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Wed Dec 12 16:57:36 UTC 2018 - Reinhard Max + +- Version 8.6.9: + * (bug)[aa7679] crash using window after master destroyed + * (bug)[925262] New option -state for ttk::scale + * (bug)[fa8de7] Crash [ttk::checkbutton .x -variable {}] + * (bug)[382712] Crash in [event generate . ] + * (bug)[657c38] Crash in menu destroy with checkbutton entry + * (bug)[de156e] Deny PRIMARY selection access in safe interps + * (bug)[b68710] Fixes in [text] bindings + * (bug)[e20d5c] Stop failures of textTag-18.1 + * (bug)[5d991b] Fortify var traces against deleted vars + * (bug)[1821174] Stop RenderBadPicture X error + * (bug)[502e74] Stop X errors on untrusted connections + * (bug)[71b131] Regression in Tk_DrawChars() + * (bug)[59fccb] menu flaws when empty menubar clicked + * (bug)[7423f9] improved legacy support for [tk_setPalette] + * (bug)[de01e2] Crash in [$text replace] + * (bug)[135696] Crash in [wm transient] + * (bug)[309b42] Improve ttk high-contrast-mode support + * (bug)[fabed1] GIF photo support for "deferred clear code" + * (bug)[3441086] error message in layout-2 + * (bug)[05bd7f] vista theme for combobox + * (bug)[382712] crash in KeyPress event handling + * (bug)[6fcaaa] insertion cursor visibility in ttk::entry + * (bug)[822923] cascade menu indicator color + * (bug)[9658bc] borderwidth calculations on menu items + * (bug)[ca403f] treeview border drawing + * (bug)[4b555a] hang in [$text search -all] + * (bug)[6b22d4] [treeview] binding fix + ------------------------------------------------------------------- Thu Jul 12 10:39:06 UTC 2018 - max@suse.com diff --git a/tk.spec b/tk.spec index 02cfcd0..67d89ab 100644 --- a/tk.spec +++ b/tk.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +25,7 @@ BuildRequires: libXt-devel BuildRequires: pkg-config BuildRequires: tcl-devel Url: http://www.tcl.tk -Version: 8.6.8 +Version: 8.6.9 Release: 0 %define rrc %nil BuildRoot: %{_tmppath}/%{name}-%{version}-build diff --git a/tk8.6.8-src.tar.gz b/tk8.6.8-src.tar.gz deleted file mode 100644 index 8718a84..0000000 --- a/tk8.6.8-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:49e7bca08dde95195a27f594f7c850b088be357a7c7096e44e1158c7a5fd7b33 -size 4319854 diff --git a/tk8.6.9-src.tar.gz b/tk8.6.9-src.tar.gz new file mode 100644 index 0000000..f4e3cea --- /dev/null +++ b/tk8.6.9-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8fcbcd958a8fd727e279f4cac00971eee2ce271dc741650b1fc33375fb74ebb4 +size 4364603 From 1edef6cfbfd7b95f2a72e25f7b9614015e018f7114e722842ae5d41b95e223d6 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Wed, 12 Dec 2018 17:30:39 +0000 Subject: [PATCH 4/5] OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tk?expand=0&rev=69 --- tk.spec | 2 +- tk8.6.9-src.tar.gz => tk8.6.9.1-src.tar.gz | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tk8.6.9-src.tar.gz => tk8.6.9.1-src.tar.gz (100%) diff --git a/tk.spec b/tk.spec index 67d89ab..d67a874 100644 --- a/tk.spec +++ b/tk.spec @@ -27,7 +27,7 @@ BuildRequires: tcl-devel Url: http://www.tcl.tk Version: 8.6.9 Release: 0 -%define rrc %nil +%define rrc .1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Graphical User Interface Toolkit for Tcl License: TCL diff --git a/tk8.6.9-src.tar.gz b/tk8.6.9.1-src.tar.gz similarity index 100% rename from tk8.6.9-src.tar.gz rename to tk8.6.9.1-src.tar.gz From fd113eb062385a69d8a7d66ca24c90cb42c6d2cbd98fc6099152a68ffe6a5b6c Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 28 Jan 2019 16:48:30 +0000 Subject: [PATCH 5/5] Accepting request 578208 from home:elvigia:branches:devel:languages:tcl - add explicit buildrequire on fontconfig-devel OBS-URL: https://build.opensuse.org/request/show/578208 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tk?expand=0&rev=70 --- tk.changes | 5 +++++ tk.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/tk.changes b/tk.changes index 29fc7e7..f1e088d 100644 --- a/tk.changes +++ b/tk.changes @@ -38,6 +38,11 @@ Thu Jul 12 10:39:06 UTC 2018 - max@suse.com -underlinefg * prevent file edit from undoing loading of file +------------------------------------------------------------------- +Mon Feb 19 20:41:17 UTC 2018 - crrodriguez@opensuse.org + +- add explicit buildrequire on fontconfig-devel + ------------------------------------------------------------------- Fri Dec 29 20:01:34 UTC 2017 - max@suse.com diff --git a/tk.spec b/tk.spec index d67a874..7d8d8d8 100644 --- a/tk.spec +++ b/tk.spec @@ -17,6 +17,7 @@ Name: tk +BuildRequires: fontconfig-devel BuildRequires: imake BuildRequires: libX11-devel BuildRequires: libXScrnSaver-devel