diff -Nru tkabber-1.1.2+20160818/ChangeLog tkabber-1.1.2+20191012/ChangeLog --- tkabber-1.1.2+20160818/ChangeLog 2016-08-18 12:35:53.000000000 +0000 +++ tkabber-1.1.2+20191012/ChangeLog 2018-04-13 18:41:48.000000000 +0000 @@ -1,3 +1,12 @@ +2018-04-13 Sergei Golovan + + * ifacetk/iface.tcl: Fix updating window titles when a message from + ignored MUC user arrives (close ticket [2e61153a20]). + + * doc/tkabber.xml, ifacetk/iface.tcl, splash.tcl: Update copyright. + + * README, doc/tkabber.html: Refresh docs. + 2016-08-18 Sergei Golovan * hooks.tcl: Changed the meaning of omitted priority argument for diff -Nru tkabber-1.1.2+20160818/debian/changelog tkabber-1.1.2+20191012/debian/changelog --- tkabber-1.1.2+20160818/debian/changelog 2018-04-14 16:48:40.000000000 +0000 +++ tkabber-1.1.2+20191012/debian/changelog 2019-11-20 09:34:27.000000000 +0000 @@ -1,3 +1,11 @@ +tkabber (1.1.2+20191012-1) unstable; urgency=medium + + * New upstream fossil snapshot. + * Add the dependency on sensible-utils. + * Bump the standards version to 4.4.1. + + -- Sergei Golovan Wed, 20 Nov 2019 12:34:27 +0300 + tkabber (1.1.2+20160818-1) unstable; urgency=medium * New upstream fossil snapshot. diff -Nru tkabber-1.1.2+20160818/debian/control tkabber-1.1.2+20191012/debian/control --- tkabber-1.1.2+20160818/debian/control 2018-04-14 16:48:40.000000000 +0000 +++ tkabber-1.1.2+20191012/debian/control 2019-11-20 09:34:27.000000000 +0000 @@ -11,7 +11,7 @@ Package: tkabber Architecture: all -Depends: tcl, tk, bwidget, tcllib, tcl-tls, ${misc:Depends} +Depends: tcl, tk, bwidget, tcllib, tcl-tls, sensible-utils, ${misc:Depends} Breaks: tkabber-plugins (<< 1.1.2+20160101) Recommends: tcl-udp, libtk-img Suggests: tkabber-plugins (>= 1.1.2+20160101), tcl-snack diff -Nru tkabber-1.1.2+20160818/debian/rules tkabber-1.1.2+20191012/debian/rules --- tkabber-1.1.2+20160818/debian/rules 2018-04-14 16:48:40.000000000 +0000 +++ tkabber-1.1.2+20191012/debian/rules 2019-11-20 09:34:27.000000000 +0000 @@ -22,7 +22,7 @@ dh_compress -X.tcl -X.xrdb VERSION = 1.1.2 -DATE = 2016-08-18 +DATE = 2019-10-12 VDATE = $(subst -,,$(DATE)) get-orig-source: diff -Nru tkabber-1.1.2+20160818/doc/tkabber.html tkabber-1.1.2+20191012/doc/tkabber.html --- tkabber-1.1.2+20160818/doc/tkabber.html 2016-08-18 12:35:53.000000000 +0000 +++ tkabber-1.1.2+20191012/doc/tkabber.html 2018-04-13 18:41:48.000000000 +0000 @@ -465,7 +465,7 @@ - + @@ -547,25 +547,25 @@
  • 2. Requirements
  • 3. Download, install and run
  • 4. Upgrading
  • -
  • 4.1. Upgrading from version 1.0, 1.1 or 1.1.1
  • +
  • 5. Configuration
  • +
  • 6. Extensibility
  • +
  • 7. User Interface basics
  • +
  • Appendix A. Releases History
  • +
  • Appendix B. Tk option database resources
  • Appendix C. Documentation TODO
  • Appendix D. Acknowledgements
  • Appendix E. Copyrights
  • @@ -2154,7 +2154,7 @@

    The "new look" appeared in the 0.10.0 release ("golden feather" and "blue feather" pixmap themes and the "Earth bulb" logo) was designed by Artem Bannikov.

    The new sound theme appeared in 0.11.1 release was created by Serge Yudin

    Appendix E. Copyrights

    -

    Copyright © 2002-2015 Alexey Shchepin

    +

    Copyright © 2002-2018 Alexey Shchepin

    Tkabber is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

    Tkabber is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    diff -Nru tkabber-1.1.2+20160818/doc/tkabber.xml tkabber-1.1.2+20191012/doc/tkabber.xml --- tkabber-1.1.2+20160818/doc/tkabber.xml 2016-08-18 12:35:53.000000000 +0000 +++ tkabber-1.1.2+20191012/doc/tkabber.xml 2018-04-13 18:41:48.000000000 +0000 @@ -3042,7 +3042,7 @@
    -Copyright © 2002-2015 Alexey Shchepin +Copyright © 2002-2018 Alexey Shchepin Tkabber is free software; you can redistribute it and/or modify it under the terms of the GNU General Public diff -Nru tkabber-1.1.2+20160818/ifacetk/iface.tcl tkabber-1.1.2+20191012/ifacetk/iface.tcl --- tkabber-1.1.2+20160818/ifacetk/iface.tcl 2016-08-18 12:35:53.000000000 +0000 +++ tkabber-1.1.2+20191012/ifacetk/iface.tcl 2018-04-13 18:41:48.000000000 +0000 @@ -526,7 +526,7 @@ set m [Message $frame.msg -text " Tkabber $tkabber_version ($toolkit_version) -Copyright \u00a9 2002-2015 [::msgcat::mc {Alexey Shchepin}] +Copyright \u00a9 2002-2018 [::msgcat::mc {Alexey Shchepin}] \n[::msgcat::mc Authors:] [::msgcat::mc {Alexey Shchepin}] [::msgcat::mc {Marshall T. Rose}] @@ -1171,6 +1171,8 @@ variable number_msg variable personal_msg + set xlib [chat::get_xlib $chatid] + if {![catch {::plugins::mucignore::is_ignored $xlib $from $type} ignore] && $ignore != ""} { return @@ -1195,7 +1197,7 @@ } elseif {$type == "groupchat"} { set jid [chat::get_jid $chatid] set myjid [chat::our_jid $chatid] - set mynick [chat::get_nick [chat::get_xlib $chatid] $myjid $type] + set mynick [chat::get_nick $xlib $myjid $type] if {![string equal $jid $from] && ![string equal $myjid $from]} { incr number_msg($chatid) } diff -Nru tkabber-1.1.2+20160818/README tkabber-1.1.2+20191012/README --- tkabber-1.1.2+20160818/README 2016-08-18 12:35:53.000000000 +0000 +++ tkabber-1.1.2+20191012/README 2018-04-13 18:41:48.000000000 +0000 @@ -3270,7 +3270,7 @@ Appendix E. Copyrights - Copyright (C) 2002-2015 Alexey Shchepin + Copyright (C) 2002-2018 Alexey Shchepin _Tkabber_ is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff -Nru tkabber-1.1.2+20160818/splash.tcl tkabber-1.1.2+20191012/splash.tcl --- tkabber-1.1.2+20160818/splash.tcl 2016-08-18 12:35:53.000000000 +0000 +++ tkabber-1.1.2+20191012/splash.tcl 2018-04-13 18:41:48.000000000 +0000 @@ -124,7 +124,7 @@ -text \ "Tkabber $tkabber_version ($toolkit_version) -Copyright \u00a9 2002-2015 [::msgcat::mc {Alexey Shchepin}] +Copyright \u00a9 2002-2018 [::msgcat::mc {Alexey Shchepin}] [::msgcat::mc Authors:] [::msgcat::mc {Alexey Shchepin}] diff -Nru tkabber-1.1.2+20160818/tclxmpp/ChangeLog tkabber-1.1.2+20191012/tclxmpp/ChangeLog --- tkabber-1.1.2+20160818/tclxmpp/ChangeLog 2016-01-11 15:18:43.000000000 +0000 +++ tkabber-1.1.2+20191012/tclxmpp/ChangeLog 2019-10-11 04:59:05.000000000 +0000 @@ -1,3 +1,7 @@ +2019-10-11 Sergei Golovan + + * examples/jsend.tcl: Add -xml option to send a prepared XML stanza. + 2016-01-11 Sergei Golovan * xmpp/xml.tcl: Replace a bunch of control characters by spaces when diff -Nru tkabber-1.1.2+20160818/tclxmpp/examples/jsend.tcl tkabber-1.1.2+20191012/tclxmpp/examples/jsend.tcl --- tkabber-1.1.2+20160818/tclxmpp/examples/jsend.tcl 2016-01-11 15:18:43.000000000 +0000 +++ tkabber-1.1.2+20191012/tclxmpp/examples/jsend.tcl 2019-10-11 04:59:05.000000000 +0000 @@ -54,6 +54,7 @@ -type chat \ -subject "" \ -body "" \ + -xml "" \ -xhtml "" \ -date "" \ -description "" \ @@ -112,8 +113,10 @@ set resource "jsend" } - if {[string equal $options(-body) ""] && $stayP < 2} { - set options(-body) [read -nonewline stdin] + if {[string equal $options(-xml) ""]} { + if {[string equal $options(-body) ""] && $stayP < 2} { + set options(-body) [read -nonewline stdin] + } } set options(-xlist) {} @@ -244,22 +247,27 @@ return 1 } - foreach to $options(-to) { - switch -- [eval [list ::xmpp::sendMessage $xlib $to] $params] { - -1 - - -2 { - if {$stayP} { - set cmd [list ::LOG] - } else { - set cmd [list error] + if {![string equal $options(-xml) ""]} { + ::xmpp::outText $xlib $options(-xml) + } else { + foreach to $options(-to) { + switch -- [eval [list ::xmpp::sendMessage $xlib $to] $params] { + -1 - + -2 { + if {$stayP} { + set cmd [list ::LOG] + } else { + set cmd [list error] + } + eval $cmd [list "error writing to socket, continuing..."] + return 0 } - eval $cmd [list "error writing to socket, continuing..."] - return 0 - } - default {} + default {} + } } } + if {!$stayP} { set jsend::stayP 0 ::xmpp::disconnect $xlib -wait 1 @@ -524,6 +532,7 @@ -subject string -body string -xhtml string + -xml string -description string -url string -bosh string (BOSH URL)