Commit graph

220 commits

Author SHA1 Message Date
5253c83ed5 work in progress: config processing 2024-06-04 11:16:24 +02:00
9fa4e3402f load config file via new test-path function 2024-06-03 18:34:24 +02:00
d85453096e move pathname handling to new util package, and to testing package 2024-06-03 18:25:12 +02:00
8879a6ffa7 improve pathname handling: correctly handle file types and leading dots 2024-06-03 16:48:04 +02:00
476234f6c1 pathname experiments for safe access to config file(s) from tests and apps 2024-06-03 15:17:09 +02:00
8e81da1bc9 work in progess: config, test-config 2024-06-02 18:54:27 +02:00
ed3ce068c6 start with config - first step: show usage in test 2024-06-01 22:24:17 +02:00
99b1627bfa get paths to test files (config and database) from source code path 2024-06-01 10:41:28 +02:00
fa086ade6a provide defc for defining compiler words (def, const, var); clean-up 2024-05-30 17:24:41 +02:00
11c7ed9cf1 simple var implementation working 2024-05-30 13:17:31 +02:00
fb88c0b934 make forge:repl working, with ? and ?? words; test-forge: keep *forge-env* 2024-05-29 12:03:38 +02:00
ef7ee0b9f4 forge: define def in forge code 2024-05-29 10:21:17 +02:00
70bdac68a2 remove obsolete legacy code 2024-05-29 09:57:30 +02:00
15fe5242f6 forge: const basically working; provide with-trace macro 2024-05-29 09:38:14 +02:00
52f9f7e3ed work in progress: const as forge-word defined with reg and regc 2024-05-28 16:10:07 +02:00
192c6c0fb9 forge: reg basically working 2024-05-28 09:39:29 +02:00
3a764bc9f8 forge: minor refactoring - use + and * for add and mul, ... 2024-05-26 13:56:40 +02:00
98e9e59017 forge: setup, register: more improvements, refactoring, simplification 2024-05-25 08:49:13 +02:00
43a0b0f9d8 forge improvements: use macro for registration, initialize builtins via explicit init-forge-env 2024-05-24 19:52:58 +02:00
7c9434960e forge, new implementation: basically working 2024-05-24 17:34:17 +02:00
272430f36c work in progress: define 'def' 2024-05-24 11:32:41 +02:00
4d2f6655ef forge rewrite: improvements: get-symbol, access to cp, ip 2024-05-23 14:50:32 +02:00
abd8e6e2e0 forge rewrite: basic interpreter / compiler working 2024-05-23 11:54:59 +02:00
b6e1e3ccd4 work in progress: rewrite of forge implementation; keep old versions in ...-legacy files 2024-05-23 10:33:16 +02:00
547e02b85f forge: use deftest; implement seq as class 2024-05-21 11:39:34 +02:00
53a61b660b testing: provide deftest macro, show suite and test names 2024-05-20 17:24:24 +02:00
778409a842 work in progress: testing improvements 2024-05-20 12:22:29 +02:00
3eca0d0c19 forge sequence: improvements 2024-05-19 10:30:45 +02:00
7dd30882e0 work in progress: forge sequence (pseudo-pointer) 2024-05-19 10:03:39 +02:00
e0e65efa39 get-track basically working 2024-05-18 09:16:09 +02:00
3b3cfaf732 work in progress: get-track by trackid: select OK 2024-05-17 19:05:37 +02:00
8b006042d4 minor refactorings; + utility for SQL results: normalize-plist 2024-05-17 16:36:58 +02:00
c188ed2baf write track data to database, JSON-encoded 2024-05-17 11:45:26 +02:00
56467cd4c1 set timestamp default (now) explicitly upon insert 2024-05-17 09:11:40 +02:00
1f8fe04b45 use specialized engine subclass for postres for controlling timestamp conversion 2024-05-16 16:48:03 +02:00
3f3da9b69b use local-time for timestamp conversions; + revert: timestamptz in db 2024-05-16 09:54:28 +02:00
bee8d6d75e insert: use query form, return trackid and timestamp; timestamp: without TZ 2024-05-16 08:27:22 +02:00
6c36fdc72d use keywords for head field names; re-order variable definitions and other statements in test 2024-05-15 16:09:14 +02:00
d4c2db9f89 more on track creation: set head values 2024-05-15 14:52:48 +02:00
35348f3fdb work in progress: insert track; provide (and use) item-factory slot in container 2024-05-14 16:36:53 +02:00
4dab1785a5 create table: use schema option if set 2024-05-14 09:49:50 +02:00
9e1a8a92b9 create table: use container settings for table name and head fields 2024-05-14 08:26:18 +02:00
49688e4055 storage/tracking: create-index function 2024-05-13 21:21:13 +02:00
c832ba70f3 more refactorings: get rid of global *db-engine*, starting with methods on db-engine and storage 2024-05-12 19:27:11 +02:00
559c3f3281 storage refactoring: prepare for using methods for storage creation and db access 2024-05-12 12:37:24 +02:00
3b36d4e54a improve test set-up, load config when running test 2024-05-09 18:56:04 +02:00
3aacee896d improve config: separate :connect-args 2024-05-09 10:45:23 +02:00
3f2fea6617 database access almost working - sqlite hangs... 2024-05-08 13:50:57 +02:00
8dfb22033d minor refactoring of basic storage code 2024-05-07 19:21:30 +02:00
c4fdc6eeec test set-up for storage: run tests with sqlite and postgresql settings 2024-05-07 18:41:14 +02:00