summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: Define $(GOCFLAGS) and $(GOLDFLAGS) based on $(PREFIX)EuAndreh2024-08-151-0/+2
|
* Add src/version.goEuAndreh2024-08-153-15/+21
|
* Use "go tool" to build projectEuAndreh2024-08-147-85/+159
|
* Makefile: Reorder CLI args to go(1)EuAndreh2024-07-261-2/+2
|
* go.mod: Include "gobang" dependencyEuAndreh2024-07-263-1006/+57
|
* Tweak indentationEuAndreh2024-07-173-117/+108
|
* src/lib.go, tests/lib_test.go: Normaline function argument declarationsEuAndreh2024-07-172-9/+16
|
* src/lib.go, tests/lib_test.go: Tweak indentationEuAndreh2024-07-152-51/+92
|
* Inline gobang package codeEuAndreh2024-07-153-50/+965
|
* src/lib.go: WIP impl PingEuAndreh2024-07-151-7/+48
|
* src/lib.go: Add simplistic scaffold of the connection WriteLoop()EuAndreh2024-06-241-4/+21
|
* rm -rf src/static/EuAndreh2024-06-146-99/+2
|
* src/lib.go: Start writing messages to DBEuAndreh2024-05-273-26/+245
| | | | | Create and test simple code for handling migrations transactionally as files.
* mv description long-description ..EuAndreh2024-05-272-25/+0
|
* TODOs.md -> TODOs.adocEuAndreh2024-05-272-137/+122
|
* src/sql/migrations/2024-05-23T10:57:51-03:00-create-messages-table.sql: ↵EuAndreh2024-05-232-0/+6
| | | | Initial SQL sketch
* tests/lib_test.go: Add missing importEuAndreh2024-05-231-0/+1
|
* Makefile: Add missing $(GOFLAGS) for a correct static build of go-sqlite3EuAndreh2024-05-231-2/+3
|
* Rename leftover references of "papo" -> "papod"EuAndreh2024-05-236-77/+102
|
* tests/lib_test.go: Group input/expected into "tuples"EuAndreh2024-05-161-237/+330
|
* Move UUID, FatalIf(), events, etc. code to external libEuAndreh2024-05-163-302/+22
|
* Makefile: Fix installation of files under $(DATADIR)EuAndreh2024-05-161-19/+14
|
* Rename source files to "lib.go" and "main.go"EuAndreh2024-05-164-9/+9
|
* src/papod.go: Add message parsing code with some testsEuAndreh2024-05-072-13/+496
|
* Rename from "papo" to "papod"EuAndreh2024-05-064-1/+1
|
* src/papo.go: Add initial server skeletonEuAndreh2024-05-062-13/+468
|
* Makefile: Normalize alongside other Go projectsEuAndreh2024-04-188-36/+19
|
* Makefile: add binder instance for port 6667EuAndreh2024-03-301-4/+7
|
* Makefile: rm both socket filesEuAndreh2024-03-291-2/+2
|
* Makefile: Reorder commands so we don't need to sleepEuAndreh2024-03-291-2/+1
|
* go.mod: Unmark go-sqlite3 as indirectEuAndreh2024-03-281-1/+1
|
* Makefile: s/main.bin/$(NAME).bin/gEuAndreh2024-03-281-4/+4
|
* Makefile: s/ircd/papo/gEuAndreh2024-03-281-5/+5
|
* src/static/client.js: Add some stub codeEuAndreh2024-03-281-0/+1
|
* src/cmd/papo.go: Move code into moduleEuAndreh2024-03-283-25/+24
|
* Makefile: Adapt "run-*" virtual targetsEuAndreh2024-03-281-8/+12
|
* Adapt build and installationEuAndreh2024-03-283-45/+24
|
* Node.js -> GoEuAndreh2024-03-2531-1367/+99
|
* src/hero.mjs: Retire codeEuAndreh2024-03-214-3129/+16
|
* tests/rand.c: s/Taken/Derived/EuAndreh2024-03-211-1/+1
|
* src/utils.mjs: Add eq() as an alias for util.isDeepStrictEqualEuAndreh2024-03-201-0/+5
|
* src/utils.mjs: Add take() and range()EuAndreh2024-03-202-0/+137
|
* tests/rand.mjs: Add MersenneTwister random number generatorEuAndreh2024-03-206-2/+249
| | | | | | 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.
* tests/js/hero.mjs: Fix function orderingEuAndreh2024-03-181-67/+67
|
* src/hero.mjs: Add statusMessage() and statusResponse()EuAndreh2024-03-182-20/+56
|
* src/hero.mjs: Log to stdout instead of stderrEuAndreh2024-03-172-4/+4
| | | | | | | | | | | | | | | | | The first question that this brings is: Is the output of the program useful for a downstream process? Is this logging an *output* of the program? But in this case, the answer is: yes, for both questions. A downstream program could very well be fed the output of the program via a pipe and process it, as the data being emitted is meant to be ingested. So instead of following the default "warnings ought to go to stderr" model, we acknowledge that the data is actually an *out*put, and send it to std*out*.
* tests/js/hero.mjs: Add simple test for now()EuAndreh2024-03-172-1/+13
|
* src/hero.mjs: Use name of CWD as the default name of buildServer()EuAndreh2024-03-172-6/+19
|
* tests/js/hero.mjs: Accept a `headers` optional argument in socketRequest()EuAndreh2024-03-171-1/+2
|
* src/hero.mjs: Add "stopping-server" logEuAndreh2024-03-171-0/+11
|