Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | -102/+834 | |
| | ||||||
* | 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. | |||||
* | tests/js/utils.js: Remove test on "new Date()" objects | EuAndreh | 2023-11-10 | 1 | -8/+0 | |
| | ||||||
* | src/utils.js: 💅 add extra newline separation | EuAndreh | 2023-11-10 | 1 | -0/+1 | |
| | ||||||
* | tests/js/server/web.js: Remove unused file | EuAndreh | 2023-11-10 | 1 | -12/+0 | |
| | ||||||
* | tests/js/compat.js: Remove unused file | EuAndreh | 2023-11-10 | 2 | -18/+0 | |
| | ||||||
* | Makefile: Remove $(JSIMPL) variable | EuAndreh | 2023-11-10 | 1 | -4/+3 | |
| | ||||||
* | tests/assert-*: Use standartized STDERR message format | EuAndreh | 2023-11-10 | 2 | -3/+5 | |
| | ||||||
* | tests/assert-clean.sh: Enforce correctness of "make clean" | EuAndreh | 2023-11-10 | 2 | -0/+48 | |
| | ||||||
* | tests/assert-install.sh: Fix progress report string | EuAndreh | 2023-11-10 | 1 | -1/+1 | |
| | ||||||
* | tools/makehelp.sh: Fix path to lib.sh | EuAndreh | 2023-11-10 | 1 | -1/+1 | |
| | ||||||
* | Makefile: s/LIST/MAILING_LIST/ | EuAndreh | 2023-11-10 | 1 | -6/+6 | |
| | ||||||
* | Makefile: Install code under $(SRCDIR) | EuAndreh | 2023-11-10 | 1 | -0/+9 | |
| | | | | | So that later the package manager can run ctags on it and make them available for the user. | |||||
* | aux/: Add basic Guix container support | EuAndreh | 2023-11-10 | 2 | -0/+11 | |
| | ||||||
* | tests/assert-install.sh: Always to enforce correct installation | EuAndreh | 2023-11-10 | 11 | -18/+120 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | tests/assert-deps.sh: Enforce Makefile is always up-to-date | EuAndreh | 2023-11-09 | 2 | -7/+46 | |
| | ||||||
* | Setup correct project install and uninstall | EuAndreh | 2023-11-09 | 4 | -3/+14 | |
| | ||||||
* | Refine description and long-description | EuAndreh | 2023-11-09 | 2 | -1/+4 | |
| | | | | | | - description: make "Modern" the first word; - long-description: emphasize the simplicity to encourage self-hosters to try it. | |||||
* | TODOs.md: Add #td-faf15e3f-4a57-a99e-55c6-53ffd7448962 | EuAndreh | 2023-11-09 | 1 | -0/+14 | |
| | ||||||
* | TODOs.md: Add #td-ed5d15f4-ec30-7411-fa74-552a06569c91 | EuAndreh | 2023-11-09 | 1 | -0/+7 | |
| | ||||||
* | TODOs.md: Add #td-1045dbb9-fd89-e254-3e9d-642cb112c6ad | EuAndreh | 2023-11-09 | 1 | -0/+18 | |
| | ||||||
* | TODOs.md: Add #td-faae1d8e-4015-cb78-0fe9-d003428266c9 | EuAndreh | 2023-11-09 | 2 | -0/+23 | |
| | ||||||
* | Initial project structure | EuAndreh | 2023-11-09 | 22 | -0/+1428 | |
| | ||||||
* | doc/rfc/: Add verbatim text for RFC 1459 and 281{0,1,2,3} | EuAndreh | 2023-11-09 | 5 | -0/+10263 | |
| | ||||||
* | Initial empty commit | EuAndreh | 2023-08-05 | 0 | -0/+0 | |