TclXMPP

Timeline
Login

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

200 most recent check-ins

2019-12-06
10:38
Do not emit 'enter' event for empty nicknames. Leaf check-in: 778dd7bcd0 user: sgolovan tags: trunk
10:25
Do not call the roster callback if a presence stanza is received from the room itself (with empty resource part). these stanzas don't update the room roster. check-in: 6debba1eea user: sgolovan tags: trunk
2019-10-11
04:59
Add -xml option to send a prepared XML stanza. check-in: dfa56c46f5 user: sergei tags: trunk
2016-01-11
15:18
Replace a bunch of control characters by spaces when create XML data to send. check-in: b6a6c2174d user: sgolovan tags: trunk
2016-01-07
10:59
Add the user's JID as cdata to the EXTERNAL SASL authentication response. This helps with prosody's mod_auth_ccert. Also, don't register the server part for the EXTERNAL SASL authentication mechaism. Added -cert option with a path to a client certificate. check-in: a2e1f16d3e user: sgolovan tags: trunk
2016-01-06
13:41
Added preliminary support for the EXTERNAL SASL authentication mechanism. Since it results in adding -from attribute to the ::xmpp::openStream command, the xmpp package version is bumped to 0.3. check-in: 1c657c8f82 user: sergei tags: trunk
2015-12-29
07:06
Extended copyright years. check-in: 524363a404 user: sgolovan tags: trunk
04:20
Added -tls1.1 and -tls1.2 options to support TLS1.1 and TLS1.2 protocols and enabled them by default. Disabled SSLv3 by default. Disabled SSLv3 and enabled TLS1.1 and TLS1.2 protocols if available. check-in: fa4c7eb607 user: sgolovan tags: trunk
2015-12-21
16:35
Fixed the ::xmpp::roster::send routine to send only one item in jabber:iq:roster query (and actually send it). Bumped the xmpp::roster package version to 0.2. check-in: 81e700f03f user: sgolovan tags: trunk
2015-12-20
19:45
Always add the id attribute to outgoing IQ get or set stanzas. check-in: b43a753b78 user: sgolovan tags: trunk
2015-12-11
12:23
Implemented creating and parsing message processing hints (XEP-0334). Updated copyright years. check-in: 78613325ae user: sgolovan tags: trunk
2015-11-15
17:31
Added the project directory to auto_path to make sure the examples are working in-place. check-in: 9e1ec94a42 user: sgolovan tags: trunk
2015-06-03
19:21
Added clean target. check-in: 81a008cd64 user: sgolovan tags: trunk
2015-06-02
09:02
Added a simple makefile which installs the TclXMPP and bundled TclXML into /usr/lib and jsend.tcl and rssbot.tcl into /usr/local/bin (by default). check-in: 767ea9ff52 user: sgolovan tags: trunk
08:29
Replaced the literal rssbot.tcl string by $argv0 in short help notice. check-in: e8ee93c2c5 user: sgolovan tags: trunk
08:28
Added a short manpage for the rssbot RSS/XMPP gateway example. check-in: 9b41e52763 user: sgolovan tags: trunk
2015-06-01
19:36
Allow one to rename the jsend.tcl to jsend when installing the examples. check-in: bdec1069ef user: sgolovan tags: trunk
15:37
Added a short manual page for the jsend command line client example. check-in: b65104f112 user: sgolovan tags: trunk
2015-05-11
05:41
Removed tabulation characters and trailing whitespaces. check-in: 4cc480ab1b user: sgolovan tags: trunk
2015-05-10
15:35
Fixed returning the parsed search items list. Leaf check-in: 0cb7c7ad0c user: sgolovan tags: tkabber-1.1.2, tkabber-release
15:34
Removed too modern [lassign] call. check-in: a37d3b654d user: sgolovan tags: tkabber-1.1.2
15:30
Removed Tclx's [lcontain] calls. check-in: 2e7a1dbc7b user: sgolovan tags: tkabber-1.1.2
2015-04-16
19:42
Fixed returning the parsed search items list. check-in: b13b580cfa user: sgolovan tags: trunk
2015-04-08
08:06
Fixed error with undefined $xlib. check-in: 549755f065 user: sgolovan tags: trunk
2015-04-07
06:44
Reset the stream management state on new login attempt without resumption. check-in: 7d028561e1 user: sgolovan tags: trunk
2015-04-05
16:06
Implemented stream resumption support (it's still never used yet). check-in: 0b78b26c24 user: sgolovan tags: trunk
16:03
Removed too modern [lassign] call. check-in: 0919bf7059 user: sgolovan tags: trunk
10:18
Started implementing the stream management (XEP-0198) protocol. Currently only enabling stream management and requesting/sending acknowledgements is impemented. Stream resumption and calling back the client are to follow. check-in: dd66ec47da user: sgolovan tags: trunk
2015-04-02
13:48
Added a description header to the ::xmpp::sasl::auth command. check-in: 0790309279 user: sergei tags: trunk
2015-03-30
15:40
* xmpp/data.tcl: Removed Tclx's [lcontain] calls. check-in: 3aa7229d92 user: sgolovan tags: trunk
2015-03-29
13:40
* *: Removed no longer used SVN keyword placeholders. check-in: 30426a33cc user: sgolovan tags: trunk
2015-03-25
13:52
Create new branch named "tkabber-1.1.1" Leaf check-in: cd4eab798c user: sergei tags: tkabber-1.1.1, tkabber-release
08:42
* doc/xmpp_xml.man, examples/chessbot.tcl, license.terms, xmpp/sasl.tcl, xmpp/starttls.tcl: Fixed copyright years. check-in: 2b551523f7 user: sergei tags: trunk
2014-04-11
06:56
* examples/chessbot.tcl: Fixed typo and made it work with the newer GNUChess. check-in: 530dfc96d0 user: sgolovan tags: trunk
2014-02-16
06:43
* xmpp/roster.tcl: Removed usage of -index lsearch option because it doesn't work with Tcl 8.4. check-in: d1910157d1 user: sgolovan tags: trunk
2014-02-14
09:00
Tagging TclXMPP for Tkabber 1.1 release Leaf check-in: dcc378baac user: sgolovan tags: tkabber-1.1, tkabber-release
08:46
Tagging TclXMPP for Tkabber 1.1 release check-in: ecc9d885ac user: sgolovan tags: tkabber-1.1
2014-02-02
17:43
fixed typo. check-in: 827a3e5180 user: sgolovan tags: trunk
17:16
Fixed copyright year. check-in: abb125bc31 user: sgolovan tags: trunk
17:16
Fixed typo. check-in: b35faeec9d user: sgolovan tags: trunk
17:12
* xmpp/xmpp.tcl: Added function which returns the current XMPP stream features. * xmpp/roster.tcl: Implemented roster versioning as in XEP-0237 and later in RFC-6121 (thanks to Jan Zachorowski). check-in: 5b015f019c user: sgolovan tags: trunk
2014-01-30
14:37
* xmpp/sasl.tcl: Send XMPP session IQ only if it's present in the stream features list. check-in: a4cac38920 user: sgolovan tags: trunk
2014-01-28
18:18
* doc/xmpp_xml.man: Fixed header (Fixes issue 3). check-in: 8207cf97e7 user: sgolovan tags: trunk
2014-01-01
08:45
Tagging TclXMPP for Tkabber 1.0 release Leaf check-in: 528669df6a user: sgolovan tags: tkabber-1.0, tkabber-release
2013-12-23
06:50
* xmpp/bosh.tcl, xmpp/poll.tcl, xmpp/starttls.tcl, xmpp/tls.tcl: Explicitly disabled SSLv2 and enabled TLSv1 protocols. check-in: d32ce37adc user: sgolovan tags: trunk
2013-12-04
05:47
* xmpp/bosh.tcl: Fixed sending of the terminate stream request. check-in: 6341c3f1a4 user: sgolovan tags: trunk
04:24
* xmpp/bosh.tcl: Reduced empty packets polling frequency. Fixed attributes list on rescheduling. check-in: 6b0519c1f3 user: sgolovan tags: trunk
2013-12-03
11:10
* xmpp/bosh.tcl: Initially implemented BOSH (XEP-0124 and XEP-0206) transport support. * xmpp/poll.tcl, xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Added reopenStream command, enabled synchronous closing of XMPP stream. Bumped package versions to 0.2. * xmpp/xmpp.tcl: Added synchronous closing of XMPP stream. Use reopenStream transport command were appropriate. Bumped package version to 0.1.1. * xmpp/pkgIndex.tcl: Bumped transport package versions to 0.2 because their user interface has been changed and the XMPP package version to 0.1.1. * xmpp/poll.tcl: Code cleanup with using security keys. * xmpp/transport.tcl: Added support for reopenStream command. Bumped package version to 0.2. * xmpp/sasl.tcl: Added another call to Debug proc. * examples/jsend.tcl: Removed cdata payload from jabber:iq:last response. Use synchronous stream closing before exit. Added BOSH transport support. check-in: 20fb86bce8 user: sgolovan tags: trunk
2013-11-10
12:46
* license.terms: Fixed copyright years. check-in: d99d54640f user: sgolovan tags: trunk
2013-11-08
07:44
* Fixed copyright years. check-in: db725917f0 user: sgolovan tags: trunk
07:40
* xmpp/sasl.tcl: Added preliminary SCRAM mechanism support (it requires not included into Tcllib yet SASL::SCRAM package, see http://core.tcl.tk/tcllib/tktview?name=b8f35b9883). Use empty authzid instead of user's bare JID. * examples/jsend.tcl: Use -host option for a server to connect to. Added -digest option to allow jsend to use plaintext-based SASL protocols. check-in: 1963f89b31 user: sgolovan tags: trunk
2013-04-21
09:14
* xmpp/https.tcl: Removed domain flag from the NTLM greeting message. This fixes authentication on ISA 2006 proxy. * xmpp/sasl.tcl: Added EXTERNAL mechanism. * xmpp/xml.tcl: Added -from option to the stream header, which is useful for components. check-in: 19c493ace5 user: sgolovan tags: trunk
2012-05-18
05:31
* xmpp/zlib.tcl: Added support for the native zlib coming with Tcl 8.6. It takes precedense over the Ztcl package. * xmpp/pkgIndex.tcl: Added the xmpp::sasl package requirement into xmpp::full loading code. check-in: 38c8a8afac user: sgolovan tags: trunk
2012-05-10
20:11
* xmpp/pconnect.tcl, xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Removed use of ceptcl because IPv6 support is now transparently provided by Tcl/Tk 8.6. Also, removed -domain from the listed socket options. * *: Fixed copyright dates. check-in: 34a94ea26f user: sgolovan tags: trunk
2012-02-03
07:37
* xmpp/jid.tcl: Don't crash if stringprepped JID contains prohibited characters in it as they might be outside BMP which Tcl/Tk don't support properly. check-in: 841b66a44d user: sgolovan tags: trunk
2011-02-27
20:25
* xmpp/disco.tcl: Removed [lassign] because it requires Tcl 8.5. * xmpp/stanzaerror.tcl: Fixed message for 'auth' error type (autorization error instead of authentication error). check-in: c5b3a27d12 user: sgolovan tags: trunk
2010-11-11
13:14
* examples/rssbot.tcl: Fixed typos in OQ registration. * xmpp/iq.tcl: Explicitly add from attribute to the response stanzas to make IQ registering working in connections serving multiple JIDs. * xmpp/https.tcl, xmpp/socks4.tcl, xmpp/socks5.tcl: Moved canceling timeout events up before debug output to prevent accidental firing. check-in: 400aeb7556 user: sgolovan tags: trunk
2010-09-27
08:04
* xmpp/xmpp.tcl: Don't call non-existent status procedure (closes: #1). check-in: 25cf8a6571 user: sgolovan tags: trunk
05:39
* xmpp/privacy.tcl: Fixed processing zero order when parsing incoming privacy list (thanks to Vitaly Takmazov for bug triaging). check-in: a61c005759 user: sgolovan tags: trunk
2010-07-31
06:13
* xmpp/zlib.tcl: Forget about zlib package from Ztcl to prevent another clash with http package. check-in: c8faec6584 user: sgolovan tags: trunk
2010-05-02
11:47
* xmpp/muc.tcl: Fixed race condition when reporting MUC joininig result back to a caller. check-in: b3cdecd6a1 user: sgolovan tags: trunk
2010-04-30
06:20
* xmpp/privacy.tcl: Fixed registering jabber:iq:privacy namespace for privacy lists pushes. check-in: fdea92239d user: sgolovan tags: trunk
2010-03-08
08:38
* xmpp/pubsub.tcl: Fixed a few typos (thanks to Jan Zachorowski). check-in: 3c6cf8c3b3 user: sgolovan tags: trunk
2010-02-15
15:02
* xmpp/muc.tcl: Fixed lowering affiliation to outcast. check-in: 7990280370 user: sgolovan tags: trunk
2010-02-13
22:47
* xmpp/muc.tcl: Fixed processing error answer to join or change nickname queries. check-in: 915e36e606 user: sgolovan tags: trunk
2010-02-08
06:32
* xmpp/muc.tcl: Fixed typos. check-in: 18fb37ac41 user: sgolovan tags: trunk
06:24
* xmpp/muc.tcl: Fixed typo. check-in: ef52e112d2 user: sgolovan tags: trunk
2010-02-06
17:13
* xmpp/muc.tcl: Execute callback on nickname change after the new presence stanza with affiliation and role is arrived. Added an experimental workaround for services which don't mirror stanza id in error presences and don't add status code 110 to my own stanzas. check-in: 60efe840c3 user: sgolovan tags: trunk
2010-02-01
19:44
2010-02-01 Sergei Golovan <sgolovan@nes.ru> * xmpp/muc.tcl, xmpp/presence.tcl: Use removeResource. check-in: 52cf28a0c7 user: sgolovan tags: trunk
18:41
* xmpp/jid.tcl, doc/xmpp_jid.man: Added a new command replaceResource which replaces the resource part of a JID by a given string. Renamed bareJid to removeResource for consistency. * xmpp/muc.tcl: Added medium lebel commands to unban user and to destroy a room. Fixed malformed JIDs creation in case when their resource parts are empty. Don't reset own nickname on exit from a room. check-in: 8a676a2dfd user: sgolovan tags: trunk
2010-01-30
20:45
* xmpp/muc.tcl: Fixed calling events command on affiliation and role changes. Implemented low and medium level commands for manipulating users affiliations and roles. check-in: c7d56eccf2 user: sgolovan tags: trunk
12:31
* xmpp/muc.tcl: Added a new reported MUC event (disconnect). Fixed race condition on leaving room and immediately entering. check-in: 4c8d611258 user: sgolovan tags: trunk
2010-01-29
15:14
* xmpp/stanzaerror.tcl: Fixed numeric code processing for legacy (pre-XMPP) error stanzas. * xmpp/jid.tcl: Cache stringprepped JID parts because stringprep is really slow. * xmpp/data.tcl, xmpp/delay.tcl, xmpp/register.tcl, xmpp/roster.tcl, xmpp/search.tcl, xmpp/stanzaerror.tcl: Don't use true and false as boolean values because Tcl 8.3 doesn't understand them. * xmpp/presence.tcl: Added a new package xmpp::presence which stores received presence information and allows to register presence callbacks inside TclXMPP library. * xmpp/xmpp.tcl: Require xmpp::presence package and ignore illegal received presence priorities (non-integer) and presence statuses (not 'avay', 'chat', 'dnd', 'xa'). * xmpp/muc.tcl: Started to implement MUC (XEP-0045). Currently joining, leaving room, and changing nickname are implemented. * xmpp/pkgIndex.tcl: Added xmpp::presence and xmpp::muc packages. check-in: 42d6f8aeba user: sgolovan tags: trunk
2010-01-25
17:14
* *: Added 2010 to copyright statements. check-in: 8fd003de74 user: sgolovan tags: trunk
2010-01-24
14:20
* xmpp/jid.tcl: Added stringprep support in JID normalization. check-in: 660f70d3a7 user: sgolovan tags: trunk
2010-01-23
14:47
* xmpp/annotations.tcl, xmpp/blocking.tcl, xmpp/bob.tcl, xmpp/bookmarks.tcl, xmpp/delimiter.tcl, xmpp/disco.tcl, xmpp/metacontacts.tcl, xmpp/ping.tcl, xmpp/privacy.tcl, xmpp/private.tcl, xmpp/roster.tcl, xmpp/xmpp.tcl: Removed useless errorcodes from error returns. * xmpp/auth.tcl, xmpp/disco.tcl, xmpp/register.tcl, xmpp/search.tcl, xmpp/starttls.tcl: Fixed labels (capitalization) and error messages which are displayed to a user. check-in: 7c153a957e user: sgolovan tags: trunk
08:12
* xmpp/negotiate.tcl, xmpp/register.tcl, xmpp/search.tcl: Reimplemented calling back in a more sane way. Removed unused variable tmp. * xmpp/jid.tcl, doc/xmpp_jid.man: Renamed stripResource procedure to bareJid. The former name is retained for backward compatibility. check-in: 603ed63942 user: sgolovan tags: trunk
2010-01-18
14:30
* xmpp/privacy.tcl: Fixed processing server replies in synchronous mode if multiple connections are opened (closes: http://yo.jabber.ru/bugzilla/show_bug.cgi?id=394). check-in: dc6eb9eaa3 user: sgolovan tags: trunk
2010-01-16
23:10
* xmpp/https.tcl, xmpp/socks4.tcl, xmpp/socks5.tcl, xmpp/pconnect.tcl: Return "timeout" status instead of "abort" in case of timeout because "abort" means breaking connection process by a user. check-in: cd1f646d60 user: sgolovan tags: trunk
13:51
* xmpp/sasl.tcl, xmpp/stanzaerror.tcl, xmpp/streamerror.tcl: Changed capitalization of error messages. check-in: af935f74e3 user: sgolovan tags: trunk
12:40
* xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Fixed opening connection in asynchronous mode where the operation must always succeede and its status is reported via a callback. check-in: 1f6e4f3aa6 user: sgolovan tags: trunk
2010-01-14
18:28
* xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Fixed aborting underlying connection. Fixed connecting in asynchronous mode. check-in: d3350ea83c user: sgolovan tags: trunk
2010-01-08
13:36
* xmpp/compress.tcl, xmpp/starttls.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Process errors when switching to or opening ZLIB or TLS channel and don't throw it immediately to a user. check-in: a397c28dd2 user: sgolovan tags: trunk
2010-01-04
14:58
* xmpp/pkgIndex.tcl, xmpp/privacy.tcl: Implemented low-level interface to XMPP privacy lists (XEP-0016). Synchronous and asynchronous query modes are supported. check-in: 03435236d2 user: sgolovan tags: trunk
2009-12-29
20:10
* xmpp/xmpp.tcl: Don't react to stale stream headers after stream abortion. check-in: d57bf3de92 user: sgolovan tags: trunk
18:28
* xmpp/xmpp.tcl: Disconnect before connecting a stream if it isn't in disconnected state. check-in: ae8e258d18 user: sgolovan tags: trunk
13:00
* xmpp/auth.tcl, xmpp/component.tcl, xmpp/compress.tcl, xmpp/iq.tcl, xmpp/pconnect.tcl, xmpp/sasl.tcl, xmpp/starttls.tcl, xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/transport.tcl, xmpp/xml.tcl, xmpp/xmpp.tcl, xmpp/zlib.tcl: Removed incorrect -errorinfo options from return calls, and a bit improved error reporting in some catch calls. check-in: 03cc3f3846 user: sgolovan tags: trunk
2009-10-27
18:59
* xmpp/poll.tcl, xmpp/xml.tcl: Removed trailing whitespaces. check-in: 136a7097e8 user: sgolovan tags: trunk
2009-10-18
11:39
* xmpp/disco.tcl: Fixed calling back when info or items are received with status error or abort. check-in: 6ae2571e1d user: sgolovan tags: trunk
2009-10-12
04:25
* examples/rssbot.tcl: Ignore messages with empty bodies. check-in: c69c0da598 user: sgolovan tags: trunk
2009-10-11
12:17
* examples/jsend.tcl: Use ::xmpp::jid::split to parse from JID instead of ::mime::parseaddress. check-in: b90a27d8f8 user: sgolovan tags: trunk
06:38
* examples/rssbot.tcl: Fixed processing uppercase tags in HTML descriptions. check-in: 172c537fc3 user: sgolovan tags: trunk
06:34
* examples/rssbot.tcl: Fixed removing extra space characters from HTML descriptions. check-in: dcb2695958 user: sgolovan tags: trunk
2009-10-10
17:57
* examples/rssbot.tcl: Get XML encoding from XML document itself and not from HTTP header. Also, strip HTML markup from items description. check-in: e7a3bf0d39 user: sgolovan tags: trunk
2009-10-04
11:31
* examples/jsend.tcl: Restored historical name and added -date option to include delay subelement with a given date. * examples/rssbot.tcl: Adapted RSS bot from tkabber examples/tools to TclXMPP. Also, added thorough dates parsers taken from Tclers' wiki (http://wiki.tcl.tk/13094 and http://wiki.tcl.tk/24074). check-in: 3ea169b4d4 user: sgolovan tags: trunk
2009-08-17
13:10
* auth.tcl, component.tcl, compress.tcl, sasl.tcl, starttls.tcl: Added protection from a duble abort or timeout. Set JID after authentiaction only in case of success. * streamerror.tcl, xml.tcl: Changed the way of generating stream XMLNS prefix. check-in: 513157c520 user: sgolovan tags: trunk
2009-08-11
20:01
* xmpp/ping.tcl: Fixed IQ registering (register ping tag instead of query) and removed received XML from regitered callback invocation because it's useless as it's supposed to be always empty. * xmpp/blocking.tcl: Added support for Simple Communication Blocking (XEP-0191). It is untested because there's no server implementations yet. check-in: 64a3c96c53 user: sgolovan tags: trunk
2009-08-03
16:51
* xmpp/ping.tcl: Added reply to XMPP ping requests support. check-in: d4a8c4b4d8 user: sgolovan tags: trunk
16:15
* Committing forgotten pkgIndex.tcl. check-in: 76e6abd758 user: sgolovan tags: trunk
15:55
* xmpp/ping.tcl, xmpp/pkgIndex.tcl: Added support for XMPP Ping (XEP-0199). Client-side only for now. check-in: f7557f0d51 user: sgolovan tags: trunk
2009-07-31
21:45
* Fixed bug with choosing new prefix. check-in: 2686d1be07 user: sgolovan tags: trunk
19:44
* Fixed bug with closing tag with prefix. check-in: 6f9b151007 user: sgolovan tags: trunk
19:26
* xmpp/xml.tcl: Add unique XMLNS prefixes when serializing XML element if it contains complex attributes with XMLNS prefix prepended to attribute names. Otherwise serializing of parsed XML could end by not-well-formed stanza. * examples/chessbot.tcl, examples/echo.tcl, examples/xsend.tcl: Fixed processing secrets in config files, and enclosed all arithmetic expressions into curly brackets. check-in: 53a772519f user: sgolovan tags: trunk
2009-05-21
06:03
* xmpp/search.tcl: Fixed typo in procedure name. check-in: e2f30c4204 user: sgolovan tags: trunk
2009-04-23
06:13
* xmpp/disco.tcl: Fixed disco#info and disco#items reply when the query was received to a non-empty node. check-in: 4a40f0c252 user: sgolovan tags: trunk
2009-04-21
17:49
* xmpp/pubsub.tcl: Fixed data forms returning when requesting subscription options, node configuration, default node config options. check-in: 3da5d8708f user: sgolovan tags: trunk
06:55
* xmpp/pubsub.tcl: Fixed IQ types in queries which request items or configuration forms. check-in: 6f99f697a4 user: sgolovan tags: trunk
2009-04-17
18:16
* xmpp/disco.tcl: Removed item-not-found from non-cacheable conditions. check-in: 3cdf16ba4d user: sgolovan tags: trunk
16:21
* xmpp/https.tcl: Fixed typo in status message. * xmpp/disco.tcl: Do not cache certain error conditions which may be temporary. check-in: 3d31c0af2a user: sgolovan tags: trunk
2009-04-07
06:47
* xmpp/sasl.tcl: Do encode username and password into UTF-8 charset if SASL package version is less than 1.3.2. check-in: 03af1d351e user: sgolovan tags: trunk
2009-04-05
15:53
* xmpp/auth.tcl, xmpp/sasl.tcl: Store user JID as a connection property. It is useful for pubsub and PEP modules. * xmpp/pubsub.tcl, xmpp/pkgIndex.tcl: Added new pubsub interface module (XEP-0060). * xmpp/pep.tcl, xmpp/pkgIndex.tcl: Added new PEP interface module (XEP-0163). check-in: c13ad15263 user: sgolovan tags: trunk
2009-04-03
11:07
* xmpp/https.tcl: Also, added a few additional debug messages. check-in: 27183b90b6 user: sgolovan tags: trunk
09:07
* xmpp/https.tcl: Fixed proxy NTLM authentication. check-in: 049161982a user: sgolovan tags: trunk
2009-03-31
16:52
* xmpp/sasl.tcl: Also, split SASL callbacks into two separate parts (one for users, another for components). check-in: ae250dc947 user: sgolovan tags: trunk
16:41
* xmpp/sasl.tcl: Took into account that MD5-DIGEST SASL mechanism in Tcllib converts username and password to UTF-8 itself. check-in: 856387ffb1 user: sgolovan tags: trunk
2009-03-30
17:16
* xmpp/https.tcl, xmpp/ntlm.tcl, xmpp/pkgIndex.tcl: Removed redundant ntlm package and switched to SASL::NTLM for NTLM authentication at an HTTPS proxy server. check-in: d4ccfd4143 user: sgolovan tags: trunk
16:24
* xmpp/poll.tcl: Do not send Proxy-Authorization header if username and password are empty. check-in: 5344e586c1 user: sgolovan tags: trunk
2009-03-29
20:03
* xmpp/poll.tcl: Added version to http package requirement to prevent version 1.0 loading. check-in: fa3e1a1d1b user: sgolovan tags: trunk
16:12
* xmpp/pconnect.tcl, xmpp/https.tcl, xmpp/socks4.tcl, xmpp/socks5.tcl: Return human-readable messages when errors occur. Added abortion procedures to socks4 and socks5 packages, and a timeout procedure to pconnect package. * xmpp/socks4.tcl, xmpp/socks5.tcl: Fixed reconstructing destination address returned by a SOCKS proxy. Added support for IPv6 adresses to socks5 package. check-in: 743fcc68e2 user: sgolovan tags: trunk
2009-03-27
19:10
* xmpp/zlib.tcl: Added a hack which doesn't allow to load xmpp::zlib package if zlib from Ztcl can't be found. Also, moved zlib command to ::xmpp::transport::zlib namespace because it isn't standard, so if, for example, http package tries to get compressed data it fails. check-in: 50cd3dc829 user: sgolovan tags: trunk
2009-03-22
16:37
* xmpp/negotiate.tcl: Added the possibility of unregistering features. * xmpp/pconnect.tcl, xmpp/poll.tcl: Added -proxyfilter option for a callback which is invoked if a connecting routine needs info on which proxy to use for a particular host. check-in: 267083e7df user: sgolovan tags: trunk
2009-03-17
12:53
* xmpp/ntlm.tcl: Fixed calls to DES::des procedure in case if the encrypting text begins with dash. check-in: 0d54ab8504 user: sgolovan tags: trunk
07:21
* xmpp/disco.tcl: Also, check if an item is already in the cache before adding it to prevent duplicates when several queries are run simultaneously. check-in: a48a74b3c6 user: sgolovan tags: trunk
06:20
* xmpp/disco.tcl: Cache negative answers to info and items queries also. check-in: 396112c3fa user: sgolovan tags: trunk
2009-03-15
07:12
* xmpp/data.tcl: Parse data forms media items. check-in: 7d61a89842 user: sgolovan tags: trunk
2009-03-14
17:37
* xmpp/disco.tcl: Fixed searching cached info and items. check-in: ca334911c6 user: sgolovan tags: trunk
2009-03-13
13:55
* xmpp/bob.tcl: Fixed typo. check-in: 1dce4436f6 user: sgolovan tags: trunk
11:50
* xmpp/bob.tcl: Removed erroneous cid: prefix from CID values. check-in: 9a962e120e user: sgolovan tags: trunk
2009-03-12
18:13
* xmpp/bob.tcl: Return empty list if element isn;t in cache. check-in: a87aec9a00 user: sgolovan tags: trunk
17:03
* xmpp/bob.tcl, xmpp/pkgIndex.tcl: Added a simple interface to Bits of Binary (XEP-0231). check-in: c8592bdb62 user: sgolovan tags: trunk
2009-03-05
18:39
* xmpp/iq.tcl: Fixed unregistering XMLNS if it was registered for more than one callbacks for different types and/or tags. check-in: 5b38c5a86c user: sgolovan tags: trunk
2009-02-28
17:14
* xmpp/delay.tcl: Changed output format of ::xmpp::delay::parse procedure to preserve optional from attribute. check-in: a928c7f976 user: sgolovan tags: trunk
2009-02-27
12:06
* xmpp/disco.tcl: Include in JID identity all received information and not only category, type and name. check-in: e6c3a8eda0 user: sgolovan tags: trunk
2009-02-23
14:48
* *: Added 2009 to copyright statements. check-in: b46392e911 user: sgolovan tags: trunk
13:50
* xmpp/disco.tcl, xmpp/pkgIndex.tcl: Added basic Service Discovery support (XEP-0030). check-in: 69dbaf2a07 user: sgolovan tags: trunk
2009-02-18
13:13
* xmpp/zlib.tcl: Ignore errors from fconfigure -flush input. * xmpp/https.tcl, xmpp/socks4.tcl, xmpp/socks5.tcl: Fixed comments. check-in: 2574d7bb98 user: sgolovan tags: trunk
2009-02-15
19:18
* xmpp/annotations.tcl, xmpp/bookmarks.tcl, xmpp/delimiter.tcl, xmpp/metacontacts.tcl: Added serialize/deserialize procedures which convert from/to internal representaton to/from XML. They are useful in roster export/import routines. check-in: 559b68446a user: sgolovan tags: trunk
2009-02-12
19:03
* xmpp/metacontacts.tcl: Made interface to retrieve/store procedures more convenient. check-in: a519605774 user: sgolovan tags: trunk
2009-02-11
20:10
* xmpp/bookmarks.tcl: Fixed typo. check-in: a9e34e4d06 user: sgolovan tags: trunk
20:02
* Added xmpp/bookmarks.tcl. check-in: 312c1108c3 user: sgolovan tags: trunk
19:41
* xmpp/bookmarks.tcl, xmpp/pkgIndex.tcl: Added storing/retrieving conference bookmarks (XEP-0048). check-in: 1c7bc4efbf user: sgolovan tags: trunk
17:50
* xmpp/annotations.tcl, xmpp/metacontacts.tcl: Fixed typo. check-in: 7fc60d9255 user: sgolovan tags: trunk
17:42
* xmpp/annotations.tcl: Fixed typo. check-in: 996d6f2665 user: sgolovan tags: trunk
17:23
* xmpp/private.tcl: Added simple interface to private XML storage (XEP-0049). * xmpp/annotations.tcl: Added storing/retieving roster notes (XEP-0145). * xmpp/delimiter.tcl: Added storing/retrieving nested groups delimiter (XEP-0083). * xmpp/metacontacts.tcl: Added storing/retrieving roster metacontacts (XEP-0209). * xmpp/pkgIndex.tcl: Added the above packages. check-in: a3e1b39811 user: sgolovan tags: trunk
2009-02-10
18:31
* xmpp/tls.tcl: Changed -password option to -passwordcommand to avoid clash with password for proxy. check-in: 9df63b0cef user: sgolovan tags: trunk
2009-02-09
18:16
* xmpp/https.tcl: Changed HTTP protocol version in CONNECT query from 1.1 to 1.0. check-in: 49cf395190 user: sgolovan tags: trunk
2008-12-17
12:05
* xmpp/poll.tcl: Fixed return value for procedure which pushes text to an XMPP server. check-in: ebcb1981b6 user: sgolovan tags: trunk
12:04
* xmpp/poll.tcl: Fixed return value for procedure which pushes text to an XMPP server. check-in: f697715a7b user: sgolovan tags: trunk
2008-12-14
16:46
* xmpp/xmpp.tcl: Don't allow arbitrary message type. Made debug messages a bit more clear and added timestamp to them. check-in: 5a78a7a413 user: sgolovan tags: trunk
2008-11-18
20:19
* doc/*.man: Made ViM modelines prettier. check-in: 9384b47f36 user: sgolovan tags: trunk
2008-11-09
19:03
* xmpp/xmpp.tcl: Added a new log callback which is invoked on every outgoing and incoming packet. check-in: 2979d181b1 user: sgolovan tags: trunk
2008-11-03
20:41
* xmpp/data.tcl: Fixed typo. check-in: f01b4af0a0 user: sgolovan tags: trunk
12:33
* xmpp/transport.tcl: Removed debug output. check-in: a17eddaa05 user: sgolovan tags: trunk
12:32
* xmpp/poll.tcl: Fixed typo. check-in: e28e9346f4 user: sgolovan tags: trunk
12:27
* xmpp/tcp.tcl, xmpp/zlib.tcl: Fixed typo in a procedure which returns connection socket IP address. * xmpp/negotiate.tcl, pkgIndex.tcl: Added a package which implements feature negotiation protocol (XEP-0020). check-in: 8a70d92db2 user: sgolovan tags: trunk
2008-11-02
17:18
* xmpp/data.tcl: Added procedure which creates form field tuple in a human readable way. Also, added field description and required fields support for created data forms. Also, added basic result form support. check-in: 61cfbbdecb user: sgolovan tags: trunk
15:53
* xmpp/data.tcl: Added support for creating data forms. check-in: ab2285dcad user: sgolovan tags: trunk
13:57
* tclxml/*.tcl, doc/*.man, xmpp/register.tcl: Removed tabulation characters from the sources and added ViM modelines which expand them into spaces. * xmpp/xmpp.tcl: Don't add empty "to" attribute to sent IQ stanzas. * xmpp/register.tcl: Added support for data forms in error service responses and added support for changing password. 2008-10-30 Sergei Golovan <sgolovan@nes.ru> check-in: ae9994af64 user: sgolovan tags: trunk
09:46
* xmpp/data.tcl: Treat missing form type as "form". * xmpp/search.tcl: Fixed typo and removed implicit field label. * xmpp/register.tcl, xmpp/pkgIndex.tcl: Added a new package which implements support for In-Band Registration (XEP-0077) queries. check-in: 50eaf88405 user: sgolovan tags: trunk
08:04
* xmpp/data.tcl: Added a procedure which fills in form fields for submission. * xmpp/search.tcl, xmpp/pkgIndex.tcl: Added a package which implements support for Jabber Search (XEP-0055) queries. check-in: 359ace311e user: sgolovan tags: trunk
2008-11-01
18:22
* xmpp/data.tcl: Fixed parsing items in a result form. check-in: 734be643f5 user: sgolovan tags: trunk
17:11
* xmpp/data.tcl: Return form type when searching for a data form. Parse field elements in result forms. check-in: 9116c5170d user: sgolovan tags: trunk
16:45
* xmpp/xdata.tcl, xmpp/pkgIndex.tcl: Added a new package for working with data forms (XEP-0004). check-in: ed2a78001e user: sgolovan tags: trunk
2008-10-31
06:19
* xmpp/xmpp.tcl: Protected unsetting of a variable which stores abort commands because it may be unset during abort call. check-in: 1af0e935c1 user: sgolovan tags: trunk
2008-10-30
10:50
* xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Protected reading from the XMPP socket and disconnect it in case of read error. check-in: c0f063b0db user: sgolovan tags: trunk
2008-10-27
18:39
* xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Removed calls to non-existent fubction ::xmpp::log. check-in: 73942c2b2a user: sgolovan tags: trunk
2008-10-25
11:21
* xmpp/iq.tcl: Use empty string instead of "ignore" to signal that the IQ answer will be later. check-in: 02d73c1a80 user: sgolovan tags: trunk
2008-10-24
20:16
* xmpp/xmpp.tcl: Don't check the from address for IQ relies and errors because in order to be reliable it requires full JID normalization. Use random IQ IDs to prevent accidental or malicious ID clashing. check-in: 04683457df user: sgolovan tags: trunk
19:00
* xmpp/xmpp.tcl: Fixed error stanza when aborting IQ on timeout, made calling back when sending IQ failed to after idle, fixed IQ callbacks to compare normalized JIDs when searching for reply. check-in: 9c2a486ce6 user: sgolovan tags: trunk
2008-10-21
15:58
* xmpp/socks4.tcl: Fixed version number. check-in: 62fa4d3046 user: sgolovan tags: trunk
14:29
* xmpp/https.tcl: Added missing close bracket. check-in: d5c74a24aa user: sgolovan tags: trunk
06:09
* xmpp/xml.tcl: Fixed typo. check-in: feaea0f498 user: sgolovan tags: trunk
2008-10-20
19:47
* xmpp/starttls.tcl, xmpp/tls.tcl: Changed -callback option to -verifycommand and added -infocommand option which specifies command to call upon successfully established TLS connection with socket TLS status. check-in: b382b359d4 user: sgolovan tags: trunk
17:41
* doc/xmpp.man: Added preliminary manual page for xmpp package. check-in: 6bc8065aa9 user: sgolovan tags: trunk
16:49
* xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Fixed variable name. check-in: ac45bfa7da user: sgolovan tags: trunk
04:23
* doc/xmpp_jid.man, doc/xmpp_xml.man: Removed colons from filenames as they cause problems on non-Unix systems. check-in: 9ab6eb95c3 user: sgolovan tags: trunk
2008-10-19
19:55
* doc/xmpp::jid.man, doc/xmpp::xml.man: Added preliminary manual pages for xmpp::jid and xmpp::xml packages. Currently they contain only lists of commands. * xmpp/jid.tcl: Code cleanup. check-in: 931bff01bd user: sgolovan tags: trunk
10:55
* xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Also, close socket. check-in: 689a1e1693 user: sgolovan tags: trunk
10:48
* xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Removed unnecessary error hidings by catch. check-in: 6e93815da9 user: sgolovan tags: trunk
10:26
* xmpp/tcp.tcl, xmpp/tls.tcl, xmpp/zlib.tcl: Clear readable fileevent script when the socket is closed by the other side. Otherwise it can be triggered continuously. * xmpp/xmpp.tcl: Removed unnecessary rescheduling of ForcedDisconnect call which now can't be executed twice (one time on the end of strteam, and another time on the closure of the socket). check-in: 9172b04c5b user: sgolovan tags: trunk
06:44
* xmpp/xmpp.tcl: Fixed race condition where transport was already closed, but was tried to send packets. check-in: 4587608313 user: sgolovan tags: trunk
2008-10-18
14:11
* xmpp/xml.tcl: Fixed indentation. check-in: e39a4578f4 user: sgolovan tags: trunk
13:53
* xmpp/xml.tcl: Added toTabbedText procedure for XML pretty-printing. check-in: 882888bdc0 user: sgolovan tags: trunk
06:45
* xmpp/sasl.tcl: Use jid procedure instead of directly concatenating user and server names. * xmpp/xmpp.tcl: Added packetID command which returns the next free packet ID. Also, removed packet ID resetting on disconnect. check-in: 40d8d93901 user: sgolovan tags: trunk
05:35
* xmpp/jid.tcl: Added default resource value (empty string). check-in: e5b1b2697b user: sgolovan tags: trunk
2008-10-17
21:54
* xmpp/streamerror.tcl: Removed extra closing parenthesis from error message. check-in: 94f2680ee8 user: sgolovan tags: trunk
21:10
* xmpp/xml.tcl: Fixed creating XML element if it has empty subelements. check-in: 3a1152b1be user: sgolovan tags: trunk
20:54
* xmpp/xmpp.tcl: Fixed sending text. check-in: bf471c5adb user: sgolovan tags: trunk
17:54
* xmpp/sasl.tcl: Fixed typo. check-in: 703765a7a2 user: sgolovan tags: trunk
17:37
* xmpp/sasl.tcl: Fixed typo. check-in: 406fe7fb70 user: sgolovan tags: trunk
16:38
* xmpp/auth.tcl, xmpp/compress.tcl, xmpp/sasl.tcl, xmpp/starttls.tcl: Return full error stanza instead of error message. * xmpp/xmpp.tcl: Fixed transport switching. check-in: 5fd1270f41 user: sgolovan tags: trunk
15:43
* xmpp/sasl.tcl: Renamed local variable which clashed with global one. check-in: 9327cfb78c user: sgolovan tags: trunk
12:03
* xmpp/delay.tcl: Fixed typo. check-in: c986fee00a user: sgolovan tags: trunk
12:01
* xmpp/xml.tcl: Added a hack which helps to parse XML file with a declararion at the beginning if tDOM parser is used. Also, fixed a typo in create XML procedure. * xmpp/delay.tcl: Added a new procedure which checks if the message is delayed. check-in: b7327b4fe6 user: sgolovan tags: trunk
08:34
* xmpp/streamerror.tcl: Added error condition to the call of error client callback in additin to a readable message. * xmpp/xmpp.tcl: Return client callback code and error info to a caller. It is useful for IQ callback where return code "return" prevents processing the packet by internam IQ engine. Also, move general IQ callback upper to make it executed not only for types "get" and "set" but also for all other types. check-in: 1c2b5c0f62 user: sgolovan tags: trunk
2008-10-15
09:38
* xmpp/xml.tcl: Fixed using of Tcl-only parser from data parsing routine. check-in: 543e96e04c user: sgolovan tags: trunk
06:26
* xmpp/xml.tcl: Added default (empty) XMLNS for empty prefix. Also, closed the outmost XML element in data parsing routine. check-in: c3f7070e6f user: sgolovan tags: trunk
2008-10-14
20:19
* xmpp/xml.tcl: Fixed bug with forgotten namespaces stack while resetting XML parser. Also, simplified prefixes processing. check-in: c66db6b778 user: sgolovan tags: trunk
19:22
* xmpp/socks4.tcl: Changed case of ok and error status. check-in: 2093bc31cf user: sgolovan tags: trunk
19:15
* tclxml/sgmlparser.tcl, tclxml/tclparser.tcl, tclxml/xmltcl.tcl, xmpp/xml.tcl: Use non-XMLNS aware parser and process XMLNS prefixes manually. This helps to ignore unbound prefixes when tDOM expat parser is used. * xmpp/iq.tcl: Fixed typo. check-in: f781135cf1 user: sgolovan tags: trunk