Tkabber

Check-in [1e4a40fbfe]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Clarified a bit information on the ispell plugin options.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1e4a40fbfe1cd6e404796d0218b63a6846f8dbc5
User & Date: sgolovan 2016-01-13 13:15:47
Context
2016-01-14
09:49
Fixed behavior of the dialog with conference participants to encrypt to if there's none of them. Also, removed unnecessary catch guards. Add the checkbox dialog title to the dialog window content as well. check-in: 266da6a961 user: sgolovan tags: trunk
2016-01-13
13:15
Clarified a bit information on the ispell plugin options. check-in: 1e4a40fbfe user: sgolovan tags: trunk
09:17
Implemented showing log messages for all JIDs that correspond to a single metacontact. This closes feature request [7619b16aec]. check-in: 4137497f9f user: sgolovan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.

1
2
3
4
5
6
7
8
9
10
11



12
13
14
15
16
17
18
2016-01-13  Sergei Golovan  <sgolovan@nes.ru>

	* plugins/chat/logger.tcl: Fixed bug with names of temporary arrays
	  clash.

	* tk/bwidget.tcl: Made the 'current' subcommand for a combobox a
	  synonym for 'getvalue' ('current' is taken from ttk::combobox).

	* plugins/chat/logger.tcl: Implemented showing log messages for all
	  JIDs that correspond to a single metacontact. This closes feature
	  request [7619b16aec].




2016-01-12  Sergei Golovan  <sgolovan@nes.ru>

	* plugins/chat/log_on_open.tcl, plugins/chat/logger.tcl: Read the
	  logged messages not only for the JID which chat window is being
	  opened, but also for all JIDs in a metacontact it belongs. This
	  option is disabled by default. Since the metacontacts info isn't











>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2016-01-13  Sergei Golovan  <sgolovan@nes.ru>

	* plugins/chat/logger.tcl: Fixed bug with names of temporary arrays
	  clash.

	* tk/bwidget.tcl: Made the 'current' subcommand for a combobox a
	  synonym for 'getvalue' ('current' is taken from ttk::combobox).

	* plugins/chat/logger.tcl: Implemented showing log messages for all
	  JIDs that correspond to a single metacontact. This closes feature
	  request [7619b16aec].

	* README, doc/tkabber.html, doc/tkabber.xml: Clarified a bit
	  information on the ispell plugin options.

2016-01-12  Sergei Golovan  <sgolovan@nes.ru>

	* plugins/chat/log_on_open.tcl, plugins/chat/logger.tcl: Read the
	  logged messages not only for the JID which chat window is being
	  opened, but also for all JIDs in a metacontact it belongs. This
	  option is disabled by default. Since the metacontacts info isn't

Changes to README.

1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
     set defaultnick(adhoc@conference.example.com) publius
     set defaultnick(*@conference.example.com) cicerone


 # the ispell module

     set plugins::ispell::options(enable)              1
     set plugins::ispell::options(executable)          /usr/bin/ispell
     set plugins::ispell::options(command_line)        -C -d russian
     set plugins::ispell::options(dictionary_encoding) koi8-r
     set plugins::ispell::options(check_every_symbol)  1

 # the stream initiation module

     set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
     set si::transport(allowed,http://jabber.org/protocol/ibb) 1









|
|
|
|







1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
     set defaultnick(adhoc@conference.example.com) publius
     set defaultnick(*@conference.example.com) cicerone


 # the ispell module

     set plugins::ispell::options(enable)              1
     set plugins::ispell::options(executable)          /usr/bin/hunspell
     set plugins::ispell::options(command_line)        -d ru_RU,en_US
     set plugins::ispell::options(dictionary_encoding) ""
     set plugins::ispell::options(check_every_symbol)  0

 # the stream initiation module

     set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
     set si::transport(allowed,http://jabber.org/protocol/ibb) 1


1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
   an external program _ispell_.  To enable this feature, add following
   lines to postload function:

   set plugins::ispell::options(enable) 1

   If you enabled this module, then you can also define:

   o  the path to the _ispell_ executable by setting
      "plugins::ispell::options(executable)"

   o  the _ispell_ command line options by setting
      "plugins::ispell::options(command_line)"; and,

   o  the encoding of the output by setting
      "plugins::ispell::options(dictionary_encoding)".

   If you don't care about putting a large load on your process, then
   you can also set "plugins::ispell::options(check_every_symbol)" to 1
   to check correctness of current word after every entered symbol.







|
|

|
|







1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
   an external program _ispell_.  To enable this feature, add following
   lines to postload function:

   set plugins::ispell::options(enable) 1

   If you enabled this module, then you can also define:

   o  the path to the _ispell_, or _aspell_, or _hunspell_ executable by
      setting "plugins::ispell::options(executable)"

   o  the _ispell_ command line options, which can specify dictionaries
      to use, by setting "plugins::ispell::options(command_line)"; and,

   o  the encoding of the output by setting
      "plugins::ispell::options(dictionary_encoding)".

   If you don't care about putting a large load on your process, then
   you can also set "plugins::ispell::options(check_every_symbol)" to 1
   to check correctness of current word after every entered symbol.

Changes to doc/tkabber.html.

1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
    set defaultnick(adhoc@conference.example.com) publius
    set defaultnick(*@conference.example.com) cicerone


# the ispell module

    set plugins::ispell::options(enable)              1
    set plugins::ispell::options(executable)          /usr/bin/ispell
    set plugins::ispell::options(command_line)        -C -d russian
    set plugins::ispell::options(dictionary_encoding) koi8-r
    set plugins::ispell::options(check_every_symbol)  1

# the stream initiation module

    set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
    set si::transport(allowed,http://jabber.org/protocol/ibb) 1









|
|
|
|







1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
    set defaultnick(adhoc@conference.example.com) publius
    set defaultnick(*@conference.example.com) cicerone


# the ispell module

    set plugins::ispell::options(enable)              1
    set plugins::ispell::options(executable)          /usr/bin/hunspell
    set plugins::ispell::options(command_line)        -d ru_RU,en_US
    set plugins::ispell::options(dictionary_encoding) ""
    set plugins::ispell::options(check_every_symbol)  0

# the stream initiation module

    set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
    set si::transport(allowed,http://jabber.org/protocol/ibb) 1


1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
<p>On Unix, <em>Tkabber</em> can check spelling of what you entered by calling an external program <em>ispell</em>.  To enable this feature, add following lines to postload function: </p>
<pre>
set plugins::ispell::options(enable) 1
</pre>
<p id="rfc.section.5.2.12.p.1">If you enabled this module, then you can also define: <samp>plugins::ispell::options(check_every_symbol)</samp> to 1 to check correctness of current word after every entered symbol.  (Usually you don't need to set this option.) </p>

<ul>
  <li>the path to the <em>ispell</em> executable by setting <samp>plugins::ispell::options(executable)</samp></li>
  <li>the <em>ispell</em> command line options by setting <samp>plugins::ispell::options(command_line)</samp>; and,</li>
  <li>the encoding of the output by setting <samp>plugins::ispell::options(dictionary_encoding)</samp>.</li>
</ul>

<p> If you don't care about putting a large load on your process, then you can also set </p>
<h1 id="rfc.section.5.2.13"><a href="#rfc.section.5.2.13">5.2.13.</a> <a href="#s.postload-si" id="s.postload-si">The Stream Initiation Module</a></h1>
<p id="rfc.section.5.2.13.p.1">Stream initiation profile is defined in <em>XEP-0095</em> with two transports (<em>XEP-0047</em> - IBB, <em>XEP-0065</em> - SOCKS5 bytestreams).  With it you can specify what transports you can use, and via negotiation choose more appropriate one.  <em>Tkabber</em> comes with two transport implementations: </p>








|
|







1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
<p>On Unix, <em>Tkabber</em> can check spelling of what you entered by calling an external program <em>ispell</em>.  To enable this feature, add following lines to postload function: </p>
<pre>
set plugins::ispell::options(enable) 1
</pre>
<p id="rfc.section.5.2.12.p.1">If you enabled this module, then you can also define: <samp>plugins::ispell::options(check_every_symbol)</samp> to 1 to check correctness of current word after every entered symbol.  (Usually you don't need to set this option.) </p>

<ul>
  <li>the path to the <em>ispell</em>, or <em>aspell</em>, or <em>hunspell</em> executable by setting <samp>plugins::ispell::options(executable)</samp></li>
  <li>the <em>ispell</em> command line options, which can specify dictionaries to use, by setting <samp>plugins::ispell::options(command_line)</samp>; and,</li>
  <li>the encoding of the output by setting <samp>plugins::ispell::options(dictionary_encoding)</samp>.</li>
</ul>

<p> If you don't care about putting a large load on your process, then you can also set </p>
<h1 id="rfc.section.5.2.13"><a href="#rfc.section.5.2.13">5.2.13.</a> <a href="#s.postload-si" id="s.postload-si">The Stream Initiation Module</a></h1>
<p id="rfc.section.5.2.13.p.1">Stream initiation profile is defined in <em>XEP-0095</em> with two transports (<em>XEP-0047</em> - IBB, <em>XEP-0065</em> - SOCKS5 bytestreams).  With it you can specify what transports you can use, and via negotiation choose more appropriate one.  <em>Tkabber</em> comes with two transport implementations: </p>

Changes to doc/tkabber.xml.

1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
    set defaultnick(adhoc@conference.example.com) publius
    set defaultnick(*@conference.example.com) cicerone


# the ispell module

    set plugins::ispell::options(enable)              1
    set plugins::ispell::options(executable)          /usr/bin/ispell
    set plugins::ispell::options(command_line)        -C -d russian
    set plugins::ispell::options(dictionary_encoding) koi8-r
    set plugins::ispell::options(check_every_symbol)  1

# the stream initiation module

    set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
    set si::transport(allowed,http://jabber.org/protocol/ibb) 1









|
|
|
|







1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
    set defaultnick(adhoc@conference.example.com) publius
    set defaultnick(*@conference.example.com) cicerone


# the ispell module

    set plugins::ispell::options(enable)              1
    set plugins::ispell::options(executable)          /usr/bin/hunspell
    set plugins::ispell::options(command_line)        -d ru_RU,en_US
    set plugins::ispell::options(dictionary_encoding) ""
    set plugins::ispell::options(check_every_symbol)  0

# the stream initiation module

    set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
    set si::transport(allowed,http://jabber.org/protocol/ibb) 1


1614
1615
1616
1617
1618
1619
1620
1621

1622
1623
1624

1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
set plugins::ispell::options(enable) 1
</artwork>
          </figure>

          <t>
            If you enabled this module, then you can also define:
<list style='symbols'>
<t>the path to the <spanx>ispell</spanx> executable by setting

<spanx style='verb'>plugins::ispell::options(executable)</spanx></t>

<t>the <spanx>ispell</spanx> command line options by setting

<spanx style='verb'>plugins::ispell::options(command_line)</spanx>; and,</t>

<t>the encoding of the output by setting
<spanx style='verb'>plugins::ispell::options(dictionary_encoding)</spanx>.</t>
</list>
If you don't care about putting a large load on your process,
then you can also set
            <spanx style='verb'>plugins::ispell::options(check_every_symbol)</spanx> to 1 to check
            correctness of current word after every entered symbol.  (Usually
            you don't need to set this option.)
          </t>
        </section>

        <section anchor='s.postload-si' title="The Stream Initiation Module">
          <t>
            Stream initiation profile is defined in <spanx>XEP-0095</spanx> with
            two transports (<spanx>XEP-0047</spanx> - IBB, <spanx>XEP-0065</spanx> - SOCKS5
            bytestreams).
            With it you can specify what
            transports you can use, and via negotiation choose more appropriate
            one.  <spanx>Tkabber</spanx> comes with two transport implementations:
            <list style='hanging'>
              <t hangText='bytestreams:'>
                that allows you to connect to any node that supports
                <spanx style='verb'>bytestreams</spanx> transport (mediated connection
                is not supported yet);</t>
              <t hangText='ibb:'>that uses your
                <spanx style='verb'>Jabber</spanx> connection to transmit the data (which may
                slowdown other traffic to you).
              </t>
            </list>
          </t>
          <figure>
            <preamble>
              If your machine is behind a NAT, then you can't use the
              <spanx style='verb'>bytestreams</spanx> transport, so you should disable it:
            </preamble>
<artwork><![CDATA[
    set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
]]></artwork>
          </figure>
        </section>

        <section anchor='s.postload-log' title="The Logger Module">







|
>


|
>







|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|







1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
set plugins::ispell::options(enable) 1
</artwork>
          </figure>

          <t>
            If you enabled this module, then you can also define:
<list style='symbols'>
<t>the path to the <spanx>ispell</spanx>, or <spanx>aspell</spanx>, or
<spanx>hunspell</spanx> executable by setting
<spanx style='verb'>plugins::ispell::options(executable)</spanx></t>

<t>the <spanx>ispell</spanx> command line options, which can specify
dictionaries to use, by setting
<spanx style='verb'>plugins::ispell::options(command_line)</spanx>; and,</t>

<t>the encoding of the output by setting
<spanx style='verb'>plugins::ispell::options(dictionary_encoding)</spanx>.</t>
</list>
If you don't care about putting a large load on your process,
then you can also set
<spanx style='verb'>plugins::ispell::options(check_every_symbol)</spanx> to 1 to check
correctness of current word after every entered symbol.  (Usually
you don't need to set this option.)
</t>
</section>

<section anchor='s.postload-si' title="The Stream Initiation Module">
  <t>
    Stream initiation profile is defined in <spanx>XEP-0095</spanx> with
    two transports (<spanx>XEP-0047</spanx> - IBB, <spanx>XEP-0065</spanx> - SOCKS5
    bytestreams).
    With it you can specify what
    transports you can use, and via negotiation choose more appropriate
    one.  <spanx>Tkabber</spanx> comes with two transport implementations:
    <list style='hanging'>
      <t hangText='bytestreams:'>
        that allows you to connect to any node that supports
        <spanx style='verb'>bytestreams</spanx> transport (mediated connection
        is not supported yet);</t>
      <t hangText='ibb:'>that uses your
        <spanx style='verb'>Jabber</spanx> connection to transmit the data (which may
        slowdown other traffic to you).
      </t>
    </list>
  </t>
  <figure>
    <preamble>
      If your machine is behind a NAT, then you can't use the
      <spanx style='verb'>bytestreams</spanx> transport, so you should disable it:
    </preamble>
<artwork><![CDATA[
    set si::transport(allowed,http://jabber.org/protocol/bytestreams) 0
]]></artwork>
          </figure>
        </section>

        <section anchor='s.postload-log' title="The Logger Module">