TclXMPP

Check-in [9e1ec94a42]
Login

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

Overview
SHA1:9e1ec94a42f73b7159c93898c99c89d16af62552
Date: 2015-11-15 17:31:09
User: sgolovan
Comment:Added the project directory to auto_path to make sure the examples are working in-place.
Tags And Properties
Context
2015-12-11
12:23
[78613325ae] Implemented creating and parsing message processing hints (XEP-0334). Updated copyright years. (user: sgolovan, tags: trunk)
2015-11-15
17:31
[9e1ec94a42] Added the project directory to auto_path to make sure the examples are working in-place. (user: sgolovan, tags: trunk)
2015-06-03
19:21
[81a008cd64] Added clean target. (user: sgolovan, tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.







1
2
3
4
5
6
7






2015-06-03  Sergei Golovan  <sgolovan@nes.ru>

	* Makefile: Added clean target.

2015-06-02  Sergei Golovan  <sgolovan@nes.ru>

	* Makefile: Added a simple makefile which installs the TclXMPP and
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
2015-11-15  Sergei Golovan  <sgolovan@nes.ru>

	* examples/chessbot.tcl, examples/echo.tcl, examples/jsend.tcl,
	  examples/rssbot.tcl: Added the project directory to auto_path to
	  make sure the examples are working in-place.

2015-06-03  Sergei Golovan  <sgolovan@nes.ru>

	* Makefile: Added clean target.

2015-06-02  Sergei Golovan  <sgolovan@nes.ru>

	* Makefile: Added a simple makefile which installs the TclXMPP and

Changes to examples/chessbot.tcl.

6
7
8
9
10
11
12





13
14
15
16
17
18
19
#       a simple XMPP bot which uses GNU Chess engine and Tkabber Chess plugin
#       protocol to play chess.
#
# Copyright (c) 2008-2014 Sergei Golovan <sgolovan@nes.ru>
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAMER OF ALL WARRANTIES.






package require xmpp::full

# Register games:board XMLNS
::xmpp::iq::register set * games:board ProcessGamesBoard

# ExecChessEngine --







>
>
>
>
>







6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#       a simple XMPP bot which uses GNU Chess engine and Tkabber Chess plugin
#       protocol to play chess.
#
# Copyright (c) 2008-2014 Sergei Golovan <sgolovan@nes.ru>
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAMER OF ALL WARRANTIES.

# HACK: adding the following directory to auto_path to make this script
# working in-place

lappend auto_path [file join [file dirname [info script]] ..]

package require xmpp::full

# Register games:board XMLNS
::xmpp::iq::register set * games:board ProcessGamesBoard

# ExecChessEngine --

Changes to examples/echo.tcl.

7
8
9
10
11
12
13





14
15
16
17
18
19
20
#       to sender. This component authenticates using XEP-0225 (Component
#       Connections) or XEP-0114 (Jabber Component Protocol).
#
# Copyright (c) 2008-2010 Sergei Golovan <sgolovan@nes.ru>
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAMER OF ALL WARRANTIES.






package require xmpp
package require xmpp::sasl
package require xmpp::component

# ProcessPacket --
#







>
>
>
>
>







7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#       to sender. This component authenticates using XEP-0225 (Component
#       Connections) or XEP-0114 (Jabber Component Protocol).
#
# Copyright (c) 2008-2010 Sergei Golovan <sgolovan@nes.ru>
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAMER OF ALL WARRANTIES.

# HACK: adding the following directory to auto_path to make this script
# working in-place

lappend auto_path [file join [file dirname [info script]] ..]

package require xmpp
package require xmpp::sasl
package require xmpp::component

# ProcessPacket --
#

Changes to examples/jsend.tcl.

9
10
11
12
13
14
15





16
17
18
19
20
21
22
# Copyright (c) 2008-2013 Sergei Golovan <sgolovan@nes.ru>
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAMER OF ALL WARRANTIES.

package require sha1
package require tls






package require xmpp
package require xmpp::transport::bosh
package require xmpp::auth
package require xmpp::sasl
package require xmpp::starttls
package require xmpp::roster







>
>
>
>
>







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) 2008-2013 Sergei Golovan <sgolovan@nes.ru>
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAMER OF ALL WARRANTIES.

package require sha1
package require tls

# HACK: adding the following directory to auto_path to make this script
# working in-place

lappend auto_path [file join [file dirname [info script]] ..]

package require xmpp
package require xmpp::transport::bosh
package require xmpp::auth
package require xmpp::sasl
package require xmpp::starttls
package require xmpp::roster

Changes to examples/rssbot.tcl.

12
13
14
15
16
17
18





19
20
21
22
23
24
25
# of this file, and for a DISCLAMER OF ALL WARRANTIES.

package require Tcl 8.5
package require http 2
package require tls
package require uri
package require htmlparse






package require xmpp
package require xmpp::auth
package require xmpp::sasl
package require xmpp::starttls
package require xmpp::roster
package require xmpp::private







>
>
>
>
>







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# of this file, and for a DISCLAMER OF ALL WARRANTIES.

package require Tcl 8.5
package require http 2
package require tls
package require uri
package require htmlparse

# HACK: adding the following directory to auto_path to make this script
# working in-place

lappend auto_path [file join [file dirname [info script]] ..]

package require xmpp
package require xmpp::auth
package require xmpp::sasl
package require xmpp::starttls
package require xmpp::roster
package require xmpp::private