Overview
Comment: | Added dbtype to params in rmt:connect and ulex connect. WIP |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.70-captain-ulex | v1.70-defunct-try |
Files: | files | file ages | folders |
SHA1: |
709915fc65ab6c216823e6959385fd36 |
User & Date: | matt on 2020-01-08 01:22:20 |
Other Links: | branch diff | manifest | tags |
Context
2020-01-08
| ||
13:32 | wip check-in: 1f4e895d45 user: mrwellan tags: v1.70-captain-ulex, v1.70-defunct-try | |
01:22 | Added dbtype to params in rmt:connect and ulex connect. WIP check-in: 709915fc65 user: matt tags: v1.70-captain-ulex, v1.70-defunct-try | |
01:16 | UPdated dep pdf generator check-in: d2345a4f5d user: matt tags: v1.70-captain-ulex, v1.70-defunct-try | |
Changes
Modified docs/code/module-hierarchy.dot from [c0573ba1c0] to [e1309fa90e].
︙ | ︙ | |||
21 22 23 24 25 26 27 | node [shape=box,style=filled,fontname="clear",fontsize="10"]; subgraph cluster_megatest { label="megatest"; rmtmod [label="rmt mod"]; | | | | < < < < | < < < < | | | | < < < < < < | < < < < < < < < | < < < | < | | | | < < | < < < < < < < < < | | < | < < < < < < < < < < < < < < < < < < < < < < | < < < < < < < < < < < | < < < < < < < < < < < < < < | | < < | < < < < < < < < < < < | 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"]; // template-mod.scm "sqlite3" -> "template-mod"; "commonmod" -> "template-mod"; // http-transportmod.scm "commonmod" -> "http-transportmod"; "stml2" -> "http-transportmod"; "apimod" -> "http-transportmod"; "dbmod" -> "http-transportmod"; "testsmod" -> "http-transportmod"; "mtargs" -> "http-transportmod"; "mtconfigf" -> "http-transportmod"; // apimod.scm "sqlite3" -> "apimod"; "commonmod" -> "apimod"; "dbmod" -> "apimod"; "servermod" -> "apimod"; // launchmod.scm "sqlite3" -> "launchmod"; "commonmod" -> "launchmod"; // keysmod.scm "sqlite3" -> "keysmod"; "srfi-13" -> "keysmod"; // testsmod.scm "sqlite3" -> "testsmod"; "commonmod" -> "testsmod"; "servermod" -> "testsmod"; "itemsmod" -> "testsmod"; "dbmod" -> "testsmod"; "mtconfigf" -> "testsmod"; "mtargs" -> "testsmod"; // vgmod.scm "sqlite3" -> "vgmod"; // clientmod.scm "sqlite3" -> "clientmod"; "commonmod" -> "clientmod"; // megamod.scm "mtconfigf" -> "megamod"; "spiffy" -> "megamod"; "stml2" -> "megamod"; "mtargs" -> "megamod"; "commonmod" -> "megamod"; "keysmod" -> "megamod"; |
︙ | ︙ | |||
175 176 177 178 179 180 181 182 183 184 | "rmtmod" -> "megamod"; "mtmod" -> "megamod"; "testsmod" -> "megamod"; "servermod" -> "megamod"; "subrunmod" -> "megamod"; "itemsmod" -> "megamod"; "runsmod" -> "megamod"; // itemsmod.scm "sqlite3" -> "itemsmod"; "commonmod" -> "itemsmod"; | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | > > > > > > > > > > > > > > > > > | > | > > | > > > > > > > > > > > > > > > > > > > | > > > > > > > > > > > > > | | | | 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"; // 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"; // archivemod.scm "sqlite3" -> "archivemod"; "commonmod" -> "archivemod"; } } |
Modified rmtmod.scm from [52418ca14e] to [862159ce2e].
︙ | ︙ | |||
73 74 75 76 77 78 79 | #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 ;; | | | | 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 dbtype) (let* ((ulexdat (or (alldat-ulexdat alldat) (rmt:setup-ulex alldat)))) (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 | (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 | | | 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 dbtype) udata) (define (ping udata host-port) (let ((cookie (make-cookie udata))) (send udata host-port 'ping "just pinging" (current-seconds)) ;; (mailbox-rec )) |
︙ | ︙ |