Software /
code /
verse
Annotate
squishy @ 214:78ae20c875cd
squishy: Add a convenience function for plugins
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Aug 2011 19:26:53 +0200 |
parent | 208:bd4cdc02d48a |
child | 223:30e66eabffa9 |
rev | line source |
---|---|
26 | 1 Output "verse.lua" |
0 | 2 |
3 -- Verse-specific versions of libraries | |
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 | 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 | 9 |
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 | 16 |
17 Module "util.stanza" "util/stanza.lua" | |
18 | 18 Module "util.timer" "util/timer.lua" |
0 | 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" |
214
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
28 Module "util.caps" "util/caps.lua" |
116
151c8cc776df
verse.plugins.adhoc: XEP-0050 Ad-hoc commands plugin
Matthew Wild <mwild1@gmail.com>
parents:
114
diff
changeset
|
29 |
14 | 30 -- Verse plugins |
214
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
31 local function Plugin(name) |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
32 Module("verse.plugins."..name)("plugins/"..name..".lua") |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
33 end |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
34 Plugin "tls" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
35 Plugin "sasl" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
36 Plugin "bind" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
37 Plugin "legacy" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
38 Plugin "pubsub" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
39 Plugin "version" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
40 Plugin "ping" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
41 Plugin "session" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
42 Plugin "compression" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
43 Plugin "blocking" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
44 Plugin "proxy65" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
45 Plugin "jingle" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
46 Plugin "jingle_ft" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
47 Plugin "jingle_s5b" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
48 Plugin "presence" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
49 Plugin "disco" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
50 Plugin "pep" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
51 Plugin "adhoc" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
52 Plugin "private" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
53 Plugin "groupchat" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
54 Plugin "uptime" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
55 Plugin "smacks" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
56 Plugin "keepalive" |
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
57 Plugin "roster" |
14 | 58 |
157
7c47e5639c00
squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents:
156
diff
changeset
|
59 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
|
60 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
|
61 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
|
62 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
|
63 |
157
7c47e5639c00
squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents:
156
diff
changeset
|
64 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
|
65 |
134
2101acbb27c4
squishy: Use --internal-bit-module to squish with the pure-Lua bit library
Matthew Wild <mwild1@gmail.com>
parents:
131
diff
changeset
|
66 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
|
67 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
|
68 end |
2101acbb27c4
squishy: Use --internal-bit-module to squish with the pure-Lua bit library
Matthew Wild <mwild1@gmail.com>
parents:
131
diff
changeset
|
69 |
26 | 70 Module "verse.client" "client.lua" |
138
35971523c8fc
squishy: Add verse.component
Matthew Wild <mwild1@gmail.com>
parents:
136
diff
changeset
|
71 Module "verse.component" "component.lua" |
0 | 72 |
73 -- Main verse file | |
74 Main "init.lua" |