Overview
Context
Changes
Modified docs/code/module-hierarchy.dot
from [c0573ba1c0]
to [e1309fa90e].
︙ | | |
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
162
163
164
165
166
167
|
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
|
-
-
-
+
+
+
-
-
-
-
-
+
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
+
-
-
-
-
+
-
-
-
-
-
+
+
+
+
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
|
node [shape=box,style=filled,fontname="clear",fontsize="10"];
subgraph cluster_megatest {
label="megatest";
rmtmod [label="rmt mod"];
// servermod.scm
"sqlite3" -> "servermod";
"commonmod" -> "servermod";
// template-mod.scm
"sqlite3" -> "template-mod";
"commonmod" -> "template-mod";
"dbmod" -> "servermod";
"tasksmod" -> "servermod";
"mtargs" -> "servermod";
"mtconfigf" -> "servermod";
// vgmod.scm
// http-transportmod.scm
"sqlite3" -> "vgmod";
// rmtmod.scm
"sqlite3" -> "rmtmod";
"ulex" -> "rmtmod";
"commonmod" -> "rmtmod";
"itemsmod" -> "rmtmod";
"apimod" -> "rmtmod";
"dbmod" -> "rmtmod";
"commonmod" -> "http-transportmod";
"stml2" -> "http-transportmod";
"apimod" -> "http-transportmod";
"dbmod" -> "http-transportmod";
// dcommonmod.scm
"sqlite3" -> "dcommonmod";
"mtconfigf" -> "dcommonmod";
"gutilsmod" -> "dcommonmod";
"commonmod" -> "dcommonmod";
"servermod" -> "dcommonmod";
"testsmod" -> "dcommonmod";
"testsmod" -> "http-transportmod";
"megamod" -> "dcommonmod";
"subrunmod" -> "dcommonmod";
"runsmod" -> "dcommonmod";
"rmtmod" -> "dcommonmod";
"dbmod" -> "dcommonmod";
"canvas-draw" -> "dcommonmod";
"canvas-draw-iup" -> "dcommonmod";
"iup" -> "dcommonmod";
"mtargs" -> "dcommonmod";
"mtargs" -> "http-transportmod";
// commonmod.scm
"sqlite3" -> "commonmod";
"pkts" -> "commonmod";
"mtconfigf" -> "commonmod";
"mtconfigf" -> "http-transportmod";
"mtargs" -> "commonmod";
// dbmod.scm
"sqlite3" -> "dbmod";
"commonmod" -> "dbmod";
"keysmod" -> "dbmod";
// apimod.scm
"sqlite3" -> "apimod";
"commonmod" -> "apimod";
"dbmod" -> "apimod";
"files" -> "dbmod";
"tasksmod" -> "dbmod";
"odsmod" -> "dbmod";
"servermod" -> "apimod";
"mtargs" -> "dbmod";
"mtconfigf" -> "dbmod";
// pgdbmod.scm
"mtconfigf" -> "pgdbmod";
"mtargs" -> "pgdbmod";
"commonmod" -> "pgdbmod";
// launchmod.scm
"sqlite3" -> "launchmod";
"commonmod" -> "launchmod";
// archivemod.scm
"sqlite3" -> "archivemod";
"commonmod" -> "archivemod";
// processmod.scm
"sqlite3" -> "processmod";
// keysmod.scm
"sqlite3" -> "keysmod";
// runsmod.scm
"base64" -> "runsmod";
"srfi-13" -> "keysmod";
"commonmod" -> "runsmod";
"dbmod" -> "runsmod";
"itemsmod" -> "runsmod";
"mtmod" -> "runsmod";
"pgdbmod" -> "runsmod";
"mtargs" -> "runsmod";
"mtconfigf" -> "runsmod";
"rmtmod" -> "runsmod";
"servermod" -> "runsmod";
"stml2" -> "runsmod";
"subrunmod" -> "runsmod";
"tasksmod" -> "runsmod";
"testsmod" -> "runsmod";
// testsmod.scm
"sqlite3" -> "testsmod";
"commonmod" -> "testsmod";
"servermod" -> "testsmod";
"itemsmod" -> "testsmod";
"dbmod" -> "testsmod";
"mtconfigf" -> "testsmod";
"mtargs" -> "testsmod";
// clientmod.scm
"sqlite3" -> "clientmod";
"commonmod" -> "clientmod";
// ezstepsmod.scm
"sqlite3" -> "ezstepsmod";
"commonmod" -> "ezstepsmod";
// gutilsmod.scm
"iup" -> "gutilsmod";
"canvas-draw" -> "gutilsmod";
// envmod.scm
// vgmod.scm
"sqlite3" -> "envmod";
"commonmod" -> "envmod";
// http-transportmod.scm
"commonmod" -> "http-transportmod";
"stml2" -> "http-transportmod";
"apimod" -> "http-transportmod";
"dbmod" -> "http-transportmod";
"testsmod" -> "http-transportmod";
"mtargs" -> "http-transportmod";
"mtconfigf" -> "http-transportmod";
// subrunmod.scm
"sqlite3" -> "subrunmod";
"sqlite3" -> "vgmod";
"commonmod" -> "subrunmod";
"mtconfigf" -> "subrunmod";
// template-mod.scm
"sqlite3" -> "template-mod";
"commonmod" -> "template-mod";
// tasksmod.scm
"sqlite3" -> "tasksmod";
"commonmod" -> "tasksmod";
"mtconfigf" -> "tasksmod";
"pgdbmod" -> "tasksmod";
// configfmod.scm
"sqlite3" -> "configfmod";
// treemod.scm
"iup" -> "treemod";
// mtmod.scm
"sqlite3" -> "mtmod";
// clientmod.scm
"sqlite3" -> "clientmod";
"mtargs" -> "mtmod";
"mtconfigf" -> "mtmod";
"commonmod" -> "mtmod";
"commonmod" -> "clientmod";
"dbmod" -> "mtmod";
"pgdbmod" -> "mtmod";
"rmtmod" -> "mtmod";
"servermod" -> "mtmod";
"stml2" -> "mtmod";
"subrunmod" -> "mtmod";
"tasksmod" -> "mtmod";
"testsmod" -> "mtmod";
// odsmod.scm
"sqlite3" -> "odsmod";
"commonmod" -> "odsmod";
// megamod.scm
"mtconfigf" -> "megamod";
"spiffy" -> "megamod";
"stml2" -> "megamod";
"mtargs" -> "megamod";
"commonmod" -> "megamod";
"keysmod" -> "megamod";
|
︙ | | |
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
|
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
|
"rmtmod" -> "megamod";
"mtmod" -> "megamod";
"testsmod" -> "megamod";
"servermod" -> "megamod";
"subrunmod" -> "megamod";
"itemsmod" -> "megamod";
"runsmod" -> "megamod";
// subrunmod.scm
"sqlite3" -> "subrunmod";
"commonmod" -> "subrunmod";
"mtconfigf" -> "subrunmod";
// tasksmod.scm
"sqlite3" -> "tasksmod";
"commonmod" -> "tasksmod";
"mtconfigf" -> "tasksmod";
"pgdbmod" -> "tasksmod";
// dbmod.scm
"sqlite3" -> "dbmod";
"commonmod" -> "dbmod";
"keysmod" -> "dbmod";
"files" -> "dbmod";
"tasksmod" -> "dbmod";
"odsmod" -> "dbmod";
"mtargs" -> "dbmod";
"mtconfigf" -> "dbmod";
// servermod.scm
"sqlite3" -> "servermod";
"commonmod" -> "servermod";
"dbmod" -> "servermod";
"tasksmod" -> "servermod";
"mtargs" -> "servermod";
"mtconfigf" -> "servermod";
// ezstepsmod.scm
"sqlite3" -> "ezstepsmod";
"commonmod" -> "ezstepsmod";
// odsmod.scm
"sqlite3" -> "odsmod";
"commonmod" -> "odsmod";
// mtmod.scm
"sqlite3" -> "mtmod";
"mtargs" -> "mtmod";
"mtconfigf" -> "mtmod";
"commonmod" -> "mtmod";
"dbmod" -> "mtmod";
"pgdbmod" -> "mtmod";
"rmtmod" -> "mtmod";
"servermod" -> "mtmod";
"stml2" -> "mtmod";
"subrunmod" -> "mtmod";
"tasksmod" -> "mtmod";
"testsmod" -> "mtmod";
// treemod.scm
"iup" -> "treemod";
// itemsmod.scm
"sqlite3" -> "itemsmod";
"commonmod" -> "itemsmod";
// apimod.scm
"sqlite3" -> "apimod";
"commonmod" -> "apimod";
"dbmod" -> "apimod";
"servermod" -> "apimod";
// runsmod.scm
"base64" -> "runsmod";
"commonmod" -> "runsmod";
"dbmod" -> "runsmod";
"itemsmod" -> "runsmod";
"mtmod" -> "runsmod";
"pgdbmod" -> "runsmod";
"mtargs" -> "runsmod";
"mtconfigf" -> "runsmod";
"rmtmod" -> "runsmod";
"servermod" -> "runsmod";
"stml2" -> "runsmod";
"subrunmod" -> "runsmod";
"tasksmod" -> "runsmod";
"testsmod" -> "runsmod";
// processmod.scm
"sqlite3" -> "processmod";
// rmtmod.scm
"sqlite3" -> "rmtmod";
"ulex" -> "rmtmod";
"commonmod" -> "rmtmod";
"itemsmod" -> "rmtmod";
"apimod" -> "rmtmod";
"dbmod" -> "rmtmod";
// commonmod.scm
"sqlite3" -> "commonmod";
"pkts" -> "commonmod";
"mtconfigf" -> "commonmod";
"mtargs" -> "commonmod";
// pgdbmod.scm
"mtconfigf" -> "pgdbmod";
"mtargs" -> "pgdbmod";
"commonmod" -> "pgdbmod";
// envmod.scm
"sqlite3" -> "envmod";
"commonmod" -> "envmod";
// configfmod.scm
"sqlite3" -> "configfmod";
// dcommonmod.scm
"sqlite3" -> "dcommonmod";
"mtconfigf" -> "dcommonmod";
"gutilsmod" -> "dcommonmod";
"commonmod" -> "dcommonmod";
"servermod" -> "dcommonmod";
"testsmod" -> "dcommonmod";
"megamod" -> "dcommonmod";
"subrunmod" -> "dcommonmod";
"runsmod" -> "dcommonmod";
"rmtmod" -> "dcommonmod";
"dbmod" -> "dcommonmod";
"canvas-draw" -> "dcommonmod";
"canvas-draw-iup" -> "dcommonmod";
"iup" -> "dcommonmod";
"mtargs" -> "dcommonmod";
// gutilsmod.scm
"iup" -> "gutilsmod";
"canvas-draw" -> "gutilsmod";
// runconfigmod.scm
"sqlite3" -> "runconfigmod";
"commonmod" -> "runconfigmod";
// keysmod.scm
"sqlite3" -> "keysmod";
"srfi-13" -> "keysmod";
// archivemod.scm
"sqlite3" -> "archivemod";
"commonmod" -> "archivemod";
}
}
|
Modified rmtmod.scm
from [52418ca14e]
to [862159ce2e].
︙ | | |
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
-
+
-
+
|
#f))))
;; return the handle struct for sending queries to a specific database
;; - initializes the connection object if this is the first access
;; - finds the "captain" and asks who to talk to for the given dbfname
;; - establishes the connection to the current dbowner
;;
(define (rmt:connect alldat dbfname)
(define (rmt:connect alldat dbfname dbtype)
(let* ((ulexdat (or (alldat-ulexdat alldat)
(rmt:setup-ulex alldat))))
(ulex:connect ulexdat dbfname)))
(ulex:connect ulexdat dbfname dbtype)))
;; setup the remote calls
(define (rmt:setup-ulex alldat)
(let* ((new-ulexdat (ulex:setup))) ;; establish connection to ulex
(alldat-ulexdat-set! alldat new-ulexdat)
(let ((udata (alldat-ulexdat alldat)))
;; register all needed procs
|
︙ | | |
Modified ulex/ulex.scm
from [43414b60e9]
to [8105f0e62f].
︙ | | |
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
-
+
|
(begin
(remove-captain-pkt udata captn)
(setup))))
(setup-as-captain udata)) ;; this saves the thread to captain-thread and starts the thread
))
;; connect to a specific dbfile
(define (connect udata dbfname)
(define (connect udata dbfname dbtype)
udata)
(define (ping udata host-port)
(let ((cookie (make-cookie udata)))
(send udata host-port 'ping "just pinging" (current-seconds))
;; (mailbox-rec
))
|
︙ | | |