| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tests/runner.mjs: Add missing await in t.test("", () => {}) | EuAndreh | 2024-03-06 | 6 | -152/+153 | |
| | | ||||||
| * | src/utils.mjs: s/first/findFirst/g | EuAndreh | 2024-03-06 | 3 | -10/+10 | |
| | | ||||||
| * | src/hero.mjs: Always recreate the unix socket file | EuAndreh | 2024-03-01 | 1 | -0/+3 | |
| | | ||||||
| * | src/hero.mjs: Add app name as first argument to buildServer() | EuAndreh | 2024-03-01 | 2 | -8/+11 | |
| | | ||||||
| * | src/hero.mjs: Add actionsFn() and lineHandlerFn() | EuAndreh | 2024-03-01 | 2 | -1/+189 | |
| | | ||||||
| * | Makefile: Let the application recreate its pipes and sockets | EuAndreh | 2024-03-01 | 1 | -1/+1 | |
| | | ||||||
| * | Setup user-level lighttpd reverse proxy for development and testing | EuAndreh | 2024-03-01 | 6 | -1/+126 | |
| | | | | | Add static files as in production, too. | |||||
| * | src/web.mjs: Try out new hero API | EuAndreh | 2024-03-01 | 1 | -13/+13 | |
| | | ||||||
| * | src/ircd.mjs: Remove unix socket before recreating it | EuAndreh | 2024-03-01 | 2 | -5/+10 | |
| | | ||||||
| * | src/api.mjs: Simplify handling of arguments | EuAndreh | 2024-03-01 | 2 | -17/+12 | |
| | | ||||||
| * | src/utils.mjs: Remove eq(), use utils.isDeepStrictEqual from "node:utils" ↵ | EuAndreh | 2024-03-01 | 2 | -114/+0 | |
| | | | | | instead | |||||
| * | src/utils.mjs: Replace promisify() by util.promisify() | EuAndreh | 2024-02-28 | 3 | -42/+6 | |
| | | ||||||
| * | src/utils.mjs: Add undefinedAsNull() | EuAndreh | 2024-02-28 | 2 | -0/+22 | |
| | | ||||||
| * | src/utils.mjs: Define strSortFn() and use it on all files | EuAndreh | 2024-02-28 | 5 | -5/+25 | |
| | | ||||||
| * | tests/runner.mjs: Use process.stderr.write() to avoid printing newlines when ↵ | EuAndreh | 2024-02-28 | 1 | -2/+5 | |
| | | | | | not needed | |||||
| * | tests/runner.mjs: Remove unused `AssertionError` type | EuAndreh | 2024-02-28 | 1 | -2/+0 | |
| | | ||||||
| * | src/hero.mjs: Promote log() to fancy logger object | EuAndreh | 2024-02-25 | 4 | -16/+242 | |
| | | ||||||
| * | Explicit import from "node:process"; move log() to hero.mjs | EuAndreh | 2024-02-25 | 9 | -41/+56 | |
| | | ||||||
| * | Normalize how modules import and name each other | EuAndreh | 2024-02-24 | 17 | -90/+92 | |
| | | | | | | Also add a `defaultInterceptors` variable in `src/hero.mjs` to avoid needing to redefine it in every application. | |||||
| * | src/hero.mjs: Add buildServer() | EuAndreh | 2024-02-23 | 7 | -144/+322 | |
| | | ||||||
| * | Implement accretion.runMigrations() and wrappings of node-sqlite3 | EuAndreh | 2024-02-23 | 8 | -40/+296 | |
| | | ||||||
| * | Big cleanup | EuAndreh | 2024-02-23 | 26 | -292/+1696 | |
| | | | | | | | - delete all SQLite Node-API code: we'll use the C++ one instead; - implement hero.mjs, with tests! - use ESM all over. | |||||
| * | Remove C code and cleanup repository | EuAndreh | 2024-02-21 | 29 | -2771/+21 | |
| | | ||||||
| * | Makefile: Include SQL migration files as installable artifacts | EuAndreh | 2023-11-27 | 3 | -1/+16 | |
| | | ||||||
| * | Makefile: Also recompile `src/napi-sqlite.lo` when Makefile changes | EuAndreh | 2023-11-27 | 1 | -0/+1 | |
| | | ||||||
| * | Makefile: Fix missing installation of the `napi-sqlite.{c,node}` source and ↵ | EuAndreh | 2023-11-27 | 1 | -1/+2 | |
| | | | | | executable | |||||
| * | Makefile: Fix missing installation of the `src/cli` executable | EuAndreh | 2023-11-27 | 1 | -1/+1 | |
| | | | | | | The `$PREFIX/bin/papo` was being installed as a symlink, but the target was empty. | |||||
| * | tests/js/db.js: Disable test for incomplete code | EuAndreh | 2023-11-27 | 1 | -1/+1 | |
| | | ||||||
| * | src/db.js: Inline fallback definition of $PAPO_DB_PATH | EuAndreh | 2023-11-27 | 2 | -4/+1 | |
| | | ||||||
| * | src/config.h.in: Add provenance links and explanation for _XOPEN_SOURCE and ↵ | EuAndreh | 2023-11-25 | 1 | -1/+20 | |
| | | | | | _POSIX_C_SOURCE | |||||
| * | Makefile: Erase $(JSLIBDIR) together with $(SRCDIR) | EuAndreh | 2023-11-25 | 1 | -1/+1 | |
| | | ||||||
| * | Makefile: Compose $(CFLAGS.a) with $(CFLAGS) instead of combine | EuAndreh | 2023-11-25 | 1 | -11/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Instead of defining a toplevel $(CFLAGS.a) that includes everything from $(CFLAGS) plus whatever is statically defined in the Makefile, we now use both $(CFLAGS) and $(CFLAGS.a) together, and we define neither. Now one can keep a single usage of $(CFLAGS), and override $(CFLAGS.a) when desired. Where previously, in order to give a flag only to $(CFLAGS.a), one had to write: $ make CFLAGS.a="$CFLAGS --.a-only" Now can be done via: $ make CFLAGS.a="--.a-only" IOW, previously $(CFLAGS.so) was "everything you gave to $(CFLAGS), plus this extra -fPIC" what now is "override $(CFLAGS), $(CFLAGS.a) or $(CFLAGS.so) as you wish". The same is true for $(LDLIBS), $(LDLIBS.a) and $(LDLIBS.so). | |||||
| * | src/napi-sqlite.c: Improve error handling | EuAndreh | 2023-11-17 | 4 | -134/+223 | |
| | | ||||||
| * | tests/runner.js: Replace hand-rolled assert with "node:assert" module | EuAndreh | 2023-11-16 | 2 | -56/+45 | |
| | | ||||||
| * | Add WIP non-async functions to napi-sqlite.c | EuAndreh | 2023-11-16 | 9 | -101/+833 | |
| | | ||||||
| * | Makefile, mkdeps.sh: Enforce JS->native dependency | EuAndreh | 2023-11-15 | 3 | -0/+9 | |
| | | | | | | Assert that we'll always have the `src/napi-sqlite.node` binary ready by the time we get to any JavaScript file. | |||||
| * | TODOs.md: Add relevant quote on software correctness and discipline | EuAndreh | 2023-11-15 | 1 | -0/+15 | |
| | | ||||||
| * | mv src/cli src/cli.js | EuAndreh | 2023-11-15 | 2 | -3/+4 | |
| | | ||||||
| * | Add support for multi-file C project | EuAndreh | 2023-11-15 | 25 | -96/+1831 | |
| | | | | | | | - have dynamic discovered dependencies via `mkdeps.hs`, and also move the listing of JavaScript files to it. - copy over stub C files for setting up the project skeleton. | |||||
| * | src/napi-sqlite.c: Add Node-API PoC | EuAndreh | 2023-11-13 | 3 | -2/+75 | |
| | | ||||||
| * | tests/assert-*.sh: Reuse rebuilt assets for tests | EuAndreh | 2023-11-13 | 4 | -22/+7 | |
| | | ||||||
| * | tests/assert-*.sh: Allow tests to run independently from "all" and from each ↵ | EuAndreh | 2023-11-13 | 4 | -16/+34 | |
| | | | | | other | |||||
| * | tests/assert-uninstall.sh: Split from assert-install.sh | EuAndreh | 2023-11-13 | 3 | -17/+28 | |
| | | ||||||
| * | Makefile: Clean directory symlink potential leftover before recreating | EuAndreh | 2023-11-13 | 1 | -0/+1 | |
| | | ||||||
| * | tests/assert-*.sh: Normalize output using yellow and green colors | EuAndreh | 2023-11-12 | 4 | -10/+26 | |
| | | ||||||
| * | src/{ircd,web}.js: Init stub servers | EuAndreh | 2023-11-11 | 8 | -11/+110 | |
| | | ||||||
| * | TODOs.md: Add #td-d27aca11-9449-bb0e-08cb-2a8ef9778a11 | EuAndreh | 2023-11-10 | 1 | -0/+11 | |
| | | ||||||
| * | TODOs.md: Add "Relevant links" section | EuAndreh | 2023-11-10 | 1 | -0/+34 | |
| | | ||||||
| * | .gitignore: Exclude the generated .3js file | EuAndreh | 2023-11-10 | 1 | -0/+1 | |
| | | ||||||
| * | tests/js/: Run the files directly | EuAndreh | 2023-11-10 | 3 | -17/+11 | |
| | | | | | | Instead of dynamically `import()`ing them in `tests/runner.js`, make each test file instead load `tests/runner.js` and run its own tests. | |||||
