| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Tweak indentation | EuAndreh | 2024-07-17 | 1 | -3/+4 |
| | | |||||
| * | src/lib.go: Start writing messages to DB | EuAndreh | 2024-05-27 | 1 | -2/+2 |
| | | | | | | Create and test simple code for handling migrations transactionally as files. | ||||
| * | Makefile: Add missing $(GOFLAGS) for a correct static build of go-sqlite3 | EuAndreh | 2024-05-23 | 1 | -2/+3 |
| | | |||||
| * | Rename leftover references of "papo" -> "papod" | EuAndreh | 2024-05-23 | 1 | -7/+8 |
| | | |||||
| * | Makefile: Fix installation of files under $(DATADIR) | EuAndreh | 2024-05-16 | 1 | -19/+14 |
| | | |||||
| * | Rename source files to "lib.go" and "main.go" | EuAndreh | 2024-05-16 | 1 | -9/+9 |
| | | |||||
| * | Rename from "papo" to "papod" | EuAndreh | 2024-05-06 | 1 | -1/+1 |
| | | |||||
| * | Makefile: Normalize alongside other Go projects | EuAndreh | 2024-04-18 | 1 | -24/+17 |
| | | |||||
| * | Makefile: add binder instance for port 6667 | EuAndreh | 2024-03-30 | 1 | -4/+7 |
| | | |||||
| * | Makefile: rm both socket files | EuAndreh | 2024-03-29 | 1 | -2/+2 |
| | | |||||
| * | Makefile: Reorder commands so we don't need to sleep | EuAndreh | 2024-03-29 | 1 | -2/+1 |
| | | |||||
| * | Makefile: s/main.bin/$(NAME).bin/g | EuAndreh | 2024-03-28 | 1 | -4/+4 |
| | | |||||
| * | Makefile: s/ircd/papo/g | EuAndreh | 2024-03-28 | 1 | -5/+5 |
| | | |||||
| * | Makefile: Adapt "run-*" virtual targets | EuAndreh | 2024-03-28 | 1 | -8/+12 |
| | | |||||
| * | Adapt build and installation | EuAndreh | 2024-03-28 | 1 | -30/+17 |
| | | |||||
| * | Node.js -> Go | EuAndreh | 2024-03-25 | 1 | -31/+25 |
| | | |||||
| * | tests/rand.mjs: Add MersenneTwister random number generator | EuAndreh | 2024-03-20 | 1 | -2/+12 |
| | | | | | | | The `tests/rand.c` is also added: a simplified adaptation of the original algorithm implementation in C. A 10k numbers test case shows that the JavaScript version behaves the same that the C one does. | ||||
| * | Makefile: Use TCP port 6001 | EuAndreh | 2024-03-14 | 1 | -1/+1 |
| | | |||||
| * | Makefile: Add "run-binder" to expose lighttpd's unix socket to a TCP port | EuAndreh | 2024-03-14 | 1 | -1/+7 |
| | | |||||
| * | src/hero.mjs: Add rmIf() and mkfifo() | EuAndreh | 2024-03-06 | 1 | -12/+7 |
| | | |||||
| * | 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 | 1 | -1/+5 |
| | | | | | Add static files as in production, too. | ||||
| * | src/ircd.mjs: Remove unix socket before recreating it | EuAndreh | 2024-03-01 | 1 | -1/+0 |
| | | |||||
| * | Normalize how modules import and name each other | EuAndreh | 2024-02-24 | 1 | -2/+9 |
| | | | | | | Also add a `defaultInterceptors` variable in `src/hero.mjs` to avoid needing to redefine it in every application. | ||||
| * | Implement accretion.runMigrations() and wrappings of node-sqlite3 | EuAndreh | 2024-02-23 | 1 | -0/+1 |
| | | |||||
| * | Big cleanup | EuAndreh | 2024-02-23 | 1 | -48/+14 |
| | | | | | | | - 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 | 1 | -131/+21 |
| | | |||||
| * | Makefile: Include SQL migration files as installable artifacts | EuAndreh | 2023-11-27 | 1 | -1/+12 |
| | | |||||
| * | 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. | ||||
| * | 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). | ||||
| * | Add WIP non-async functions to napi-sqlite.c | EuAndreh | 2023-11-16 | 1 | -1/+1 |
| | | |||||
| * | Makefile, mkdeps.sh: Enforce JS->native dependency | EuAndreh | 2023-11-15 | 1 | -0/+1 |
| | | | | | | Assert that we'll always have the `src/napi-sqlite.node` binary ready by the time we get to any JavaScript file. | ||||
| * | mv src/cli src/cli.js | EuAndreh | 2023-11-15 | 1 | -3/+4 |
| | | |||||
| * | Add support for multi-file C project | EuAndreh | 2023-11-15 | 1 | -29/+116 |
| | | | | | | | - 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 | -2/+12 |
| | | |||||
| * | tests/assert-*.sh: Reuse rebuilt assets for tests | EuAndreh | 2023-11-13 | 1 | -0/+1 |
| | | |||||
| * | tests/assert-uninstall.sh: Split from assert-install.sh | EuAndreh | 2023-11-13 | 1 | -3/+4 |
| | | |||||
| * | Makefile: Clean directory symlink potential leftover before recreating | EuAndreh | 2023-11-13 | 1 | -0/+1 |
| | | |||||
| * | src/{ircd,web}.js: Init stub servers | EuAndreh | 2023-11-11 | 1 | -7/+30 |
| | | |||||
| * | tests/js/: Run the files directly | EuAndreh | 2023-11-10 | 1 | -1/+1 |
| | | | | | | 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/compat.js: Remove unused file | EuAndreh | 2023-11-10 | 1 | -1/+0 |
| | | |||||
| * | Makefile: Remove $(JSIMPL) variable | EuAndreh | 2023-11-10 | 1 | -4/+3 |
| | | |||||
| * | tests/assert-clean.sh: Enforce correctness of "make clean" | EuAndreh | 2023-11-10 | 1 | -0/+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. | ||||
| * | tests/assert-install.sh: Always to enforce correct installation | EuAndreh | 2023-11-10 | 1 | -9/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -7/+13 |
| | | |||||
