]>
Commit | Line | Data |
---|---|---|
01a3d0e1 | 1 | #!/usr/bin/env python |
b90b6d5f | 2 | IRC_BASE = ["ircconnection", "irclib", "numerics", "baseircclient", "irctracker", "commandparser", "commands", "ircclient", "commandhistory", "nicknamevalidator", "ignorecontroller"] |
80ec66dc | 3 | PANES = ["connect", "embed", "options", "about", "url"] |
c22afc5d | 4 | UI_BASE = ["menuitems", "baseui", "baseuiwindow", "colour", "url", "theme", "notifications", "tabcompleter", "style", "xdomain"] |
f3d0c9f5 | 5 | UI_BASE.extend(["panes/%s" % x for x in PANES]) |
01a3d0e1 | 6 | |
402c7470 | 7 | DEBUG_BASE = ["qwebirc", "version", "qhash", "jslib", "base64", "crypto", "md5", ["irc/%s" % x for x in IRC_BASE], ["ui/%s" % x for x in UI_BASE], "qwebircinterface", "auth", "sound"] |
01a3d0e1 | 8 | BUILD_BASE = ["qwebirc"] |
9d0347c5 | 9 | JS_DEBUG_BASE = ["mootools-1.2.5-core-nc", "mootools-1.2.5.1-more-nc"] |
52e854de CP |
10 | JS_RAW_BASE = [] |
11 | JS_BASE = ["mootools-1.2.5-core-nc", "mootools-1.2.5.1-more-nc"] | |
62d18cb0 | 12 | JS_EXTRA = [] |
01a3d0e1 CP |
13 | |
14 | UIs = { | |
15 | "qui": { | |
16 | "class": "QUI", | |
4dd199c3 | 17 | "nocss": True, |
01a3d0e1 CP |
18 | "uifiles": ["qui"], |
19 | "doctype": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"" + "\n" \ | |
20 | " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">" | |
01a3d0e1 CP |
21 | } |
22 | } | |
23 | ||
24 | def flatten(y): | |
25 | for x in y: | |
26 | if isinstance(x, list): | |
27 | for x in flatten(x): | |
28 | yield x | |
29 | else: | |
30 | yield x | |
31 | ||
32 | DEBUG_BASE = list(flatten(DEBUG_BASE)) | |
33 | DEBUG = ["debug/%s" % x for x in DEBUG_BASE] |