Annotate

squishy @ 173:3112a9e450ac

verse: Make add_plugin only load a plugin once per stream
author Matthew Wild <mwild1@gmail.com>
date Thu, 30 Dec 2010 22:59:23 +0000
parent 161:b177bcea2006
child 178:2189f75e09b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
6c5fab6c11cf Rename verse2 -> verse
Matthew Wild <mwild1@gmail.com>
parents: 24
diff changeset
1 Output "verse.lua"
0
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 -- Verse-specific versions of libraries
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 Module "util.encodings" "libs/encodings.lua"
131
1c30dd51ca6b squishy: Add util.hashes [libs/hashes.lua]
Matthew Wild <mwild1@gmail.com>
parents: 123
diff changeset
5 Module "util.hashes" "libs/hashes.lua"
0
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 Module "util.logger" "libs/logger.lua"
136
3a85c62f544c squishy: Re-organise and add net.dns, net.adns and util.ztact
Matthew Wild <mwild1@gmail.com>
parents: 134
diff changeset
7 Module "util.sha1" "util/sha1.lua"
3a85c62f544c squishy: Re-organise and add net.dns, net.adns and util.ztact
Matthew Wild <mwild1@gmail.com>
parents: 134
diff changeset
8 Module "lib.adhoc" "libs/adhoc.lib.lua"
0
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
9
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
10 -- Prosody libraries
158
068176069dfa squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
Matthew Wild <mwild1@gmail.com>
parents: 157
diff changeset
11 if not GetOption("prosody") then
068176069dfa squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
Matthew Wild <mwild1@gmail.com>
parents: 157
diff changeset
12 AutoFetchURL "http://prosody.im/tip/?"
068176069dfa squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
Matthew Wild <mwild1@gmail.com>
parents: 157
diff changeset
13 else
068176069dfa squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
Matthew Wild <mwild1@gmail.com>
parents: 157
diff changeset
14 AutoFetchURL(GetOption("prosody").."/?")
068176069dfa squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
Matthew Wild <mwild1@gmail.com>
parents: 157
diff changeset
15 end
0
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
16
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
17 Module "util.stanza" "util/stanza.lua"
18
f15de643f502 squishy: Add util.timer
Matthew Wild <mwild1@gmail.com>
parents: 14
diff changeset
18 Module "util.timer" "util/timer.lua"
0
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
19 Module "util.termcolours" "util/termcolours.lua"
24
db0ed736785a squishy: Add util.uuid dependency
Matthew Wild <mwild1@gmail.com>
parents: 19
diff changeset
20 Module "util.uuid" "util/uuid.lua"
136
3a85c62f544c squishy: Re-organise and add net.dns, net.adns and util.ztact
Matthew Wild <mwild1@gmail.com>
parents: 134
diff changeset
21 Module "net.dns" "net/dns.lua"
3a85c62f544c squishy: Re-organise and add net.dns, net.adns and util.ztact
Matthew Wild <mwild1@gmail.com>
parents: 134
diff changeset
22 Module "net.adns" "net/adns.lua"
30
9c96318913f7 Revert module names throughout to their Prosody equivalents
Matthew Wild <mwild1@gmail.com>
parents: 26
diff changeset
23 Module "net.server" "net/server_select.lua"
161
b177bcea2006 squishy, verse.client, verse.component, verse.bosh: Port to util.xmppstream instead of xmlhandlers which has been removed from Prosody. Also remove util.ztact from squishy for the same reason.
Matthew Wild <mwild1@gmail.com>
parents: 158
diff changeset
24 Module "util.xmppstream" "util/xmppstream.lua"
30
9c96318913f7 Revert module names throughout to their Prosody equivalents
Matthew Wild <mwild1@gmail.com>
parents: 26
diff changeset
25 Module "util.jid" "util/jid.lua"
9c96318913f7 Revert module names throughout to their Prosody equivalents
Matthew Wild <mwild1@gmail.com>
parents: 26
diff changeset
26 Module "util.events" "util/events.lua"
123
8a079aa70b84 util.dataforms, squishy: Add util.dataforms library
Matthew Wild <mwild1@gmail.com>
parents: 116
diff changeset
27 Module "util.dataforms" "util/dataforms.lua"
116
151c8cc776df verse.plugins.adhoc: XEP-0050 Ad-hoc commands plugin
Matthew Wild <mwild1@gmail.com>
parents: 114
diff changeset
28
14
53246b2b933b squish: Add plugins
Matthew Wild <mwild1@gmail.com>
parents: 7
diff changeset
29 -- Verse plugins
71
5b74d155036d verse.plugins.compression: Support for stream compression (requires brimworks lua-zlib)
Matthew Wild <mwild1@gmail.com>
parents: 61
diff changeset
30 Module "verse.plugins.tls" "plugins/tls.lua"
5b74d155036d verse.plugins.compression: Support for stream compression (requires brimworks lua-zlib)
Matthew Wild <mwild1@gmail.com>
parents: 61
diff changeset
31 Module "verse.plugins.sasl" "plugins/sasl.lua"
5b74d155036d verse.plugins.compression: Support for stream compression (requires brimworks lua-zlib)
Matthew Wild <mwild1@gmail.com>
parents: 61
diff changeset
32 Module "verse.plugins.bind" "plugins/bind.lua"
153
f7c705485a2a squishy: Add legacy plugin
Matthew Wild <mwild1@gmail.com>
parents: 147
diff changeset
33 Module "verse.plugins.legacy" "plugins/legacy.lua"
154
a4dc96890729 plugins.pubsub, squishy: New pubsub plugin (basic)
Matthew Wild <mwild1@gmail.com>
parents: 153
diff changeset
34 Module "verse.plugins.pubsub" "plugins/pubsub.lua"
71
5b74d155036d verse.plugins.compression: Support for stream compression (requires brimworks lua-zlib)
Matthew Wild <mwild1@gmail.com>
parents: 61
diff changeset
35 Module "verse.plugins.version" "plugins/version.lua"
5b74d155036d verse.plugins.compression: Support for stream compression (requires brimworks lua-zlib)
Matthew Wild <mwild1@gmail.com>
parents: 61
diff changeset
36 Module "verse.plugins.ping" "plugins/ping.lua"
5b74d155036d verse.plugins.compression: Support for stream compression (requires brimworks lua-zlib)
Matthew Wild <mwild1@gmail.com>
parents: 61
diff changeset
37 Module "verse.plugins.session" "plugins/session.lua"
5b74d155036d verse.plugins.compression: Support for stream compression (requires brimworks lua-zlib)
Matthew Wild <mwild1@gmail.com>
parents: 61
diff changeset
38 Module "verse.plugins.compression" "plugins/compression.lua"
80
336864e83991 verse.plugins.blocking, squishy: New plugin for XEP-0191: Simple Communications Blocking
Matthew Wild <mwild1@gmail.com>
parents: 71
diff changeset
39 Module "verse.plugins.blocking" "plugins/blocking.lua"
106
7d293830f4a4 squishy: Add proxy65, jingle, jingle_ft, jingle_s5b, disco plugins
Matthew Wild <mwild1@gmail.com>
parents: 92
diff changeset
40 Module "verse.plugins.proxy65" "plugins/proxy65.lua"
7d293830f4a4 squishy: Add proxy65, jingle, jingle_ft, jingle_s5b, disco plugins
Matthew Wild <mwild1@gmail.com>
parents: 92
diff changeset
41 Module "verse.plugins.jingle" "plugins/jingle.lua"
7d293830f4a4 squishy: Add proxy65, jingle, jingle_ft, jingle_s5b, disco plugins
Matthew Wild <mwild1@gmail.com>
parents: 92
diff changeset
42 Module "verse.plugins.jingle_ft" "plugins/jingle_ft.lua"
7d293830f4a4 squishy: Add proxy65, jingle, jingle_ft, jingle_s5b, disco plugins
Matthew Wild <mwild1@gmail.com>
parents: 92
diff changeset
43 Module "verse.plugins.jingle_s5b" "plugins/jingle_s5b.lua"
7d293830f4a4 squishy: Add proxy65, jingle, jingle_ft, jingle_s5b, disco plugins
Matthew Wild <mwild1@gmail.com>
parents: 92
diff changeset
44 Module "verse.plugins.disco" "plugins/disco.lua"
114
37f5966cff15 verse.plugins.pep: New plugin to add an API for sending and catching PEP events
Matthew Wild <mwild1@gmail.com>
parents: 106
diff changeset
45 Module "verse.plugins.pep" "plugins/pep.lua"
116
151c8cc776df verse.plugins.adhoc: XEP-0050 Ad-hoc commands plugin
Matthew Wild <mwild1@gmail.com>
parents: 114
diff changeset
46 Module "verse.plugins.adhoc" "plugins/adhoc.lua"
155
9c9af7a196ed plugins.private, squishy: Allow setting the storage node, and not just child(s). And add to squishy.
Kim Alvefur <zash@zash.se>
parents: 153
diff changeset
47 Module "verse.plugins.private" "plugins/private.lua"
14
53246b2b933b squish: Add plugins
Matthew Wild <mwild1@gmail.com>
parents: 7
diff changeset
48
157
7c47e5639c00 squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents: 156
diff changeset
49 Module "net.httpclient_listener" "net/httpclient_listener.lua"
7c47e5639c00 squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents: 156
diff changeset
50 Module "net.connlisteners" "net/connlisteners.lua"
7c47e5639c00 squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents: 156
diff changeset
51 Module "util.httpstream" "util/httpstream.lua"
7c47e5639c00 squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents: 156
diff changeset
52 Module "net.http" "net/http.lua"
90
aa0b78053cec squishy: Add --with-bosh option to squish with verse.bosh and necessarylibraries
Matthew Wild <mwild1@gmail.com>
parents: 80
diff changeset
53
157
7c47e5639c00 squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents: 156
diff changeset
54 Module "verse.bosh" "bosh.lua"
90
aa0b78053cec squishy: Add --with-bosh option to squish with verse.bosh and necessarylibraries
Matthew Wild <mwild1@gmail.com>
parents: 80
diff changeset
55
134
2101acbb27c4 squishy: Use --internal-bit-module to squish with the pure-Lua bit library
Matthew Wild <mwild1@gmail.com>
parents: 131
diff changeset
56 if GetOption "internal-bit-module" then
2101acbb27c4 squishy: Use --internal-bit-module to squish with the pure-Lua bit library
Matthew Wild <mwild1@gmail.com>
parents: 131
diff changeset
57 Module "bit" "libs/bit.lua"
2101acbb27c4 squishy: Use --internal-bit-module to squish with the pure-Lua bit library
Matthew Wild <mwild1@gmail.com>
parents: 131
diff changeset
58 end
2101acbb27c4 squishy: Use --internal-bit-module to squish with the pure-Lua bit library
Matthew Wild <mwild1@gmail.com>
parents: 131
diff changeset
59
26
6c5fab6c11cf Rename verse2 -> verse
Matthew Wild <mwild1@gmail.com>
parents: 24
diff changeset
60 Module "verse.client" "client.lua"
138
35971523c8fc squishy: Add verse.component
Matthew Wild <mwild1@gmail.com>
parents: 136
diff changeset
61 Module "verse.component" "component.lua"
0
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
62
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
63 -- Main verse file
caf260adc453 Beginning of new verse
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
64 Main "init.lua"