-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathprograms.cfg
More file actions
161 lines (161 loc) · 5.29 KB
/
programs.cfg
File metadata and controls
161 lines (161 loc) · 5.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
(function(t)
local o = {}
for i = 1, #t do
local v = t[i]
o[v.name] = {
files = {},
dependencies = {},
name = v.name,
description = v.description,
note = v.note or "Further description is coming soon(tm)...",
hidden = v.hidden or false,
authors = "mpmxyz",
repo = "tree/master",
}
if v.dependencies then
for j = 1, #v.dependencies do
o[v.name].dependencies[v.dependencies[j]] = "/"
end
end
if v.files then
for j = 1, #v.files do
local f = v.files[j]
local target = ("//" .. f:match("^:?(.-)$")):gsub("^//home", "")
local source = f:match("^:?") .. "master/" .. f:match("^:?(.-)$")
o[v.name].files[source] = f:match("^:") and target or target:gsub("[^/]+$", ""):gsub("([^/])/$", "%1")
end
end
end
return o
end){
{
name = "cbrowse",
files = {"home/bin/cbrowse.lua", "home/lib/cbrowse.lua", "usr/man/cbrowse.man"},
dependencies = {"mpm.cache", "mpm.lib", "mpm.tables", "mpm.draw_buffer", "mpm.component_filter", "mpm.config", "mpm.values"},
description = "lua command line with advanced value display",
note = "http://oc.cil.li/index.php?/topic/576-cbrowse-inspecting-lua-components-and-other-objects/",
},
{
name = "crunch",
files = {"home/bin/crunch.lua", ":home/lib/crunch", ":home/lib/parser", "usr/man/crunch.man"},
dependencies = {"mpm.cache", "mpm.lib", "mpm.hashset", "mpm.sets", "mpm.setset"},
description = "compresses Lua code (e.g. BIOS)",
note = "https://oc.cil.li/index.php?/topic/511-crunch-break-the-4k-limit/",
},
{
name = "devfs",
files = {"boot/98_devfs.lua", ":lib/devfs", ":lib/drivers"},
description = "adds a virtual device filesystem mounted in /dev - for old OC versions only",
},
{
name = "mpmpid",
files = {"home/bin/pid.lua", "home/bin/gpid.lua", "home/lib/pid.lua", "usr/man/pid.man", ":home/pid/examples"},
dependencies = {"mpm.values", "mpm.libarmor", "mpm.qui"},
description = "PID controllers for minecraft",
note = "https://oc.cil.li/index.php?/topic/558-pid-pid-controllers-for-your-reactor-library-included/",
},
{
name = "mpm.tar",
files = {"home/bin/tar.lua", "usr/man/tar.man"},
dependencies = {"mpm.auto_progress"},
description = "can extract AND create tar archives - even on tape drives",
note = "https://oc.cil.li/index.php?/topic/421-tar-for-opencomputers/",
},
{
name = "purgelib",
files = {"home/bin/purgelib.lua", "usr/man/purgelib.man"},
description = "force reloading libraries to make testing easier",
},
{
name = "mpm.auto_progress",
files = {"home/lib/mpm/auto_progress.lua"},
description = "an automatic progress bar for command line applications",
hidden = true,
},
{
name = "mpm.cache",
files = {"home/lib/mpm/cache.lua"},
description = "allows creating cache wrappers",
hidden = true,
},
{
name = "mpm.component_filter",
files = {"home/lib/mpm/component_filter.lua"},
description = "intercepts component access to enable modifications",
hidden = true,
},
{
name = "mpm.config",
files = {"home/lib/mpm/config.lua"},
description = "simple reading and verification of config files",
hidden = true,
},
{
name = "mpm.draw_buffer",
files = {"home/lib/mpm/draw_buffer.lua"},
description = "speeds up drawing by combining multiple drawing calls",
hidden = true,
},
{
name = "mpm.hashset",
files = {"home/lib/mpm/hashset.lua"},
description = "improves on Lua tables by allowing custom equality - needs custom hash function",
hidden = true,
},
{
name = "mpm.lib",
files = {"home/lib/mpm/lib.lua"},
description = "allows iteration of all files for a given library path",
hidden = true,
},
{
name = "mpm.libarmor",
files = {"home/lib/mpm/libarmor.lua"},
description = "protects tables against modification",
hidden = true,
},
{
name = "mpm.qui",
files = {"home/lib/mpm/qui.lua", "home/lib/mpm/quidgets.lua", "home/lib/mpm/qselect.lua", "home/lib/mpm/qevent.lua"},
dependencies = {"mpm.values", "mpm.stack", "mpm.textgfx"},
description = "quickUI - create a fully functional user interface from a string and only little extras",
hidden = true,
},
{
name = "mpm.sets",
files = {"home/lib/mpm/sets.lua"},
description = "helper functions to work with table sets",
hidden = true,
},
{
name = "mpm.setset",
files = {"home/lib/mpm/setset.lua"},
description = "a set of sets that helps to ensure a raw equality between sets with same contents",
hidden = true,
},
{
name = "mpm.stack",
files = {"home/lib/mpm/stack.lua"},
description = "a stack implementation for Lua",
hidden = true,
},
{
name = "mpm.tables",
files = {"home/lib/mpm/tables.lua"},
dependencies = {"mpm.values"},
description = "drawing formatted tables",
hidden = true,
},
{
name = "mpm.textgfx",
files = {"home/lib/mpm/textgfx.lua"},
description = "This is a small collection of functions oriented around drawing text based graphics.",
hidden = true,
},
{
name = "mpm.values",
files = {"home/lib/mpm/values.lua"},
description = "This library makes it easy to use raw values and value getters interchangably.",
hidden = true,
},
}