| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | src/hero.mjs: Add skeleton for makePipeReaderFn() | EuAndreh | 2024-03-06 | 1 | -5/+20 | |
| | | ||||||
| * | src/hero.mjs: Add makeLineEmitter() | EuAndreh | 2024-03-06 | 1 | -0/+19 | |
| | | ||||||
| * | src/utils.mjs: Add first(), rest(), butlast() and last() | EuAndreh | 2024-03-06 | 1 | -0/+5 | |
| | | ||||||
| * | src/hero.mjs: Add rmIf() and mkfifo() | EuAndreh | 2024-03-06 | 2 | -9/+21 | |
| | | ||||||
| * | src/utils.mjs: s/first/findFirst/g | EuAndreh | 2024-03-06 | 2 | -2/+2 | |
| | | ||||||
| * | 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 | 1 | -5/+8 | |
| | | ||||||
| * | src/hero.mjs: Add actionsFn() and lineHandlerFn() | EuAndreh | 2024-03-01 | 1 | -0/+76 | |
| | | ||||||
| * | Setup user-level lighttpd reverse proxy for development and testing | EuAndreh | 2024-03-01 | 4 | -0/+89 | |
| | | | | | 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 | 1 | -4/+10 | |
| | | ||||||
| * | src/api.mjs: Simplify handling of arguments | EuAndreh | 2024-03-01 | 1 | -16/+11 | |
| | | ||||||
| * | src/utils.mjs: Remove eq(), use utils.isDeepStrictEqual from "node:utils" ↵ | EuAndreh | 2024-03-01 | 1 | -33/+0 | |
| | | | | | instead | |||||
| * | src/utils.mjs: Replace promisify() by util.promisify() | EuAndreh | 2024-02-28 | 2 | -9/+6 | |
| | | ||||||
| * | src/utils.mjs: Add undefinedAsNull() | EuAndreh | 2024-02-28 | 1 | -0/+2 | |
| | | ||||||
| * | src/utils.mjs: Define strSortFn() and use it on all files | EuAndreh | 2024-02-28 | 3 | -4/+5 | |
| | | ||||||
| * | src/hero.mjs: Promote log() to fancy logger object | EuAndreh | 2024-02-25 | 2 | -4/+33 | |
| | | ||||||
| * | Explicit import from "node:process"; move log() to hero.mjs | EuAndreh | 2024-02-25 | 5 | -17/+21 | |
| | | ||||||
| * | Normalize how modules import and name each other | EuAndreh | 2024-02-24 | 7 | -49/+44 | |
| | | | | | | 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 | 3 | -14/+38 | |
| | | ||||||
| * | Implement accretion.runMigrations() and wrappings of node-sqlite3 | EuAndreh | 2024-02-23 | 3 | -37/+90 | |
| | | ||||||
| * | Big cleanup | EuAndreh | 2024-02-23 | 10 | -44/+286 | |
| | | | | | | | - 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 | 9 | -2018/+0 | |
| | | ||||||
| * | src/db.js: Inline fallback definition of $PAPO_DB_PATH | EuAndreh | 2023-11-27 | 1 | -1/+1 | |
| | | ||||||
| * | src/config.h.in: Add provenance links and explanation for _XOPEN_SOURCE and ↵ | EuAndreh | 2023-11-25 | 1 | -1/+20 | |
| | | | | | _POSIX_C_SOURCE | |||||
| * | src/napi-sqlite.c: Improve error handling | EuAndreh | 2023-11-17 | 4 | -134/+223 | |
| | | ||||||
| * | Add WIP non-async functions to napi-sqlite.c | EuAndreh | 2023-11-16 | 5 | -100/+812 | |
| | | ||||||
| * | mv src/cli src/cli.js | EuAndreh | 2023-11-15 | 1 | -0/+0 | |
| | | ||||||
| * | Add support for multi-file C project | EuAndreh | 2023-11-15 | 13 | -26/+1229 | |
| | | | | | | | - 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 | 1 | -0/+61 | |
| | | ||||||
| * | src/{ircd,web}.js: Init stub servers | EuAndreh | 2023-11-11 | 4 | -4/+65 | |
| | | ||||||
| * | src/utils.js: 💅 add extra newline separation | EuAndreh | 2023-11-10 | 1 | -0/+1 | |
| | | ||||||
| * | tests/assert-install.sh: Always to enforce correct installation | EuAndreh | 2023-11-10 | 3 | -3/+60 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also in this change: - now we call ln(1) in the "install" target without using the -r "relative" flag, as it isn't POSIX; - add `+` as a prefix to the "assert-tests" command, so we tell sub-make calls to also run things in parallel. In this case, the "make DESTDIR=... install" calls; - use the implicit `index.js` entrypoint and do away completly with `package.json`; - change from `import` to `require` as Node.js ESM modules don't support `$NODE_PATH`[0]: "NODE_PATH is not part of resolving import specifiers. Please use symlinks if this behavior is desired." 🤦; The parallel sub-make behaviour isn't available in current specification of make (POSIX issue 7) but is included in the upcoming[1] version 8: > If a rule invokes a sub-make either via the MAKE macro or via a > command line that begins with '+', the sub-make is the same > implementation as the make that invoked the sub-make, and the −j > option is passed to the sub-make via the MAKEFLAGS environment > variable with the same maxjobs value and is not overridden by a > maxjobs value from another source (even if it has the same value), the > sub-make shall use the same token pool as its invoking make rather > than create a new token pool. [0]: https://nodejs.org/api/esm.html#no-node_path [1]: https://www.opengroup.org/austin/restricted/202x-d3/202x_d3.pdf | |||||
| * | Setup correct project install and uninstall | EuAndreh | 2023-11-09 | 2 | -0/+3 | |
| | | ||||||
| * | TODOs.md: Add #td-faae1d8e-4015-cb78-0fe9-d003428266c9 | EuAndreh | 2023-11-09 | 1 | -0/+4 | |
