Overview
Comment: | wip-no-compile |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.80-reshape |
Files: | files | file ages | folders |
SHA1: |
9f479c2454eda9c715efead307c08771 |
User & Date: | matt on 2023-01-29 22:01:00 |
Other Links: | branch diff | manifest | tags |
Context
2023-01-30
| ||
20:20 | wip check-in: a51a5d6058 user: matt tags: v1.80-reshape | |
2023-01-29
| ||
22:01 | wip-no-compile check-in: 9f479c2454 user: matt tags: v1.80-reshape | |
21:32 | Beginnings of client implemented check-in: bd65c3fcb5 user: matt tags: v1.80-reshape | |
Changes
Modified clientmod.scm from [8950d17727] to [dc86555194].
︙ | |||
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 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 | + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + | (module clientmod * (import scheme posix data-structures srfi-18 typed-records artifacts servermod ) (defstruct con ;; client connection (hdir #f) (obj-to-str #f) (host #f) (pid #f) (sdat #f) ;; server artifact data ) (define (client:find-server areapath) (let* ((sdir (conc areapath"/.server")) (sarfs (glob (conc sdir"/*.artifact")))) ;; server artifacts (if (null? sarfs) (begin (server:launch areapath) (thread-sleep! 1) (client:find-server areapath)) (let* ((sarf (car sarfs)) (sdat (read-artifact->alist sarf)) |
Modified rmtmod.scm from [7009453b29] to [68caa1e403].
︙ | |||
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 | 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 | + + + + + + + + + - - + + + + + + + + + + - + - + + + + | ;; along with Megatest. If not, see <http://www.gnu.org/licenses/>. ;;====================================================================== (declare (unit rmtmod)) (declare (uses commonmod)) (declare (uses clientmod)) (declare (uses dbmod)) (module rmtmod * (import scheme chicken data-structures posix srfi-1 srfi-18 srfi-69 extras clientmod dbmod ) ;; ;; THESE ARE ALL CALLED ON THE CLIENT SIDE!!! ;; ;; generate entries for ~/.megatestrc with the following ;; ;; grep define ../rmt.scm | grep rmt: |perl -pi -e 's/\(define\s+\((\S+)\W.*$/\1/'|sort -u ;;====================================================================== ;; S U P P O R T F U N C T I O N S ;;====================================================================== ;; if a server is either running or in the process of starting call client:setup ;; else return #f to let the calling proc know that there is no server available ;; |
︙ |