Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src/lib.c: Mark local FILE* variable as const | EuAndreh | 2021-08-27 | 1 | -1/+1 |
| | |||||
* | src/*.c: Add newline between function return type and its name | EuAndreh | 2021-08-27 | 10 | -91/+219 |
| | | | | | | | | | | | | | The purpose of this change is two-fold: - make function and variable declarations grep-friendly (one can use a pattern /^fn_name/ to find the definition); - make the lines shorter, so less functions need to have their arguments span over many lines. This is more grep-friendly both for finding the function definition, but also for matching on the return type of the function or the variable. Update tests/c-lint.sh to enforce this. | ||||
* | TODOs.md: Add comments to the body of #task-a6bdaeb0-7099-c728-2b7c-b080aa2fba33 | EuAndreh | 2021-08-27 | 1 | -0/+16 |
| | |||||
* | TODOs.md: Add links to zlib implementations on Resources section | EuAndreh | 2021-08-27 | 1 | -0/+3 |
| | |||||
* | src/lib.c: Stick to 80 columns | EuAndreh | 2021-08-24 | 1 | -1/+2 |
| | |||||
* | src/lib.{c,h}: Make args to gistatic_main() const | EuAndreh | 2021-08-24 | 2 | -2/+2 |
| | |||||
* | src/lib.c: Move unit_tests_gistatic to the end of the file | EuAndreh | 2021-08-24 | 1 | -19/+19 |
| | |||||
* | TODOs.md: Add #task-4202ee33-1344-0854-c970-89664066b029 | EuAndreh | 2021-08-24 | 1 | -0/+3 |
| | |||||
* | Makefile: Add single quote around paths and names | EuAndreh | 2021-08-24 | 1 | -16/+16 |
| | |||||
* | TODOs.md: Add #task-fbb258cd-f95d-af86-cc7b-0c324d2ae42b | EuAndreh | 2021-08-24 | 1 | -0/+3 |
| | |||||
* | aux/ci/ci-build.sh: Better formatting of final report message | EuAndreh | 2021-08-23 | 1 | -2/+2 |
| | |||||
* | TODOs.md: Add #task-b1290a2e-271f-dea6-8217-1452a11ec3de | EuAndreh | 2021-08-23 | 1 | -0/+3 |
| | |||||
* | aux/workflow/l10n.sh: Print progress message to STDERR instead of STDOUT | EuAndreh | 2021-08-23 | 1 | -1/+1 |
| | |||||
* | aux/guix/with-container.sh: Increase verbosity when building Docker image | EuAndreh | 2021-08-23 | 1 | -1/+1 |
| | |||||
* | public/makefile.svg: Start generating it with makefile2graph and graphviz | EuAndreh | 2021-08-23 | 4 | -1/+7 |
| | |||||
* | src/: Move logerr* functions to src/logerr.{c,h}; forward tarballs_fd to ↵ | EuAndreh | 2021-08-23 | 6 | -47/+233 |
| | | | | src/tar.c | ||||
* | TODOs.md: Extend description of #task-4e40832e-78cf-fc21-cbf9-2fe00fd3828d | EuAndreh | 2021-08-22 | 1 | -0/+2 |
| | |||||
* | src/tar.c: Add link to the reference specification | EuAndreh | 2021-08-22 | 1 | -0/+7 |
| | |||||
* | re 's/write_tarball_from_directory/tarball_write_from_directory/g' | EuAndreh | 2021-08-22 | 3 | -3/+3 |
| | |||||
* | src/: s/tarzify/tarball_write_from_directory/g | EuAndreh | 2021-08-22 | 3 | -3/+3 |
| | |||||
* | tests/c-lint.sh: Use grep exit status instead of empty string output | EuAndreh | 2021-08-22 | 1 | -2/+3 |
| | |||||
* | tests/dev-integration.sh: Fix calls to executable and test | EuAndreh | 2021-08-22 | 1 | -4/+3 |
| | |||||
* | src/tar.c: tarzify(): Return 0 by default for now | EuAndreh | 2021-08-22 | 1 | -1/+1 |
| | |||||
* | src/lib.c: Fix logic condition for deciding when to generate tarbalss | EuAndreh | 2021-08-22 | 1 | -1/+1 |
| | |||||
* | TODOs.md: Add #task-e51e6490-c42c-1167-2d2a-26af8b8cd654 | EuAndreh | 2021-08-22 | 1 | -0/+3 |
| | |||||
* | src/lib.c: Write repo_tarballs_refs_each, calling stub tarzify() function | EuAndreh | 2021-08-22 | 3 | -18/+95 |
| | |||||
* | src/lib.c: Tweak test_start() name | EuAndreh | 2021-08-22 | 1 | -1/+1 |
| | |||||
* | src/lib.c: Add strsjoin() with tests | EuAndreh | 2021-08-22 | 1 | -0/+104 |
| | |||||
* | src/lib.c: Differentiate between -1 and other errors when looping through ↵ | EuAndreh | 2021-08-22 | 1 | -2/+10 |
| | | | | Git references | ||||
* | Rename src/gistatic.* src/lib.* | EuAndreh | 2021-08-22 | 5 | -17/+18 |
| | |||||
* | TODOs.md: Add #task-c71e7a3a-076d-3553-e245-0ad2b7a64231 | EuAndreh | 2021-08-22 | 1 | -0/+8 |
| | |||||
* | src/gistatic.c: Remove unused MSGs | EuAndreh | 2021-08-22 | 2 | -16/+8 |
| | |||||
* | TODOs.md: Add #task-218e2893-c2d3-caa5-b0e3-cde70b31a3f7 | EuAndreh | 2021-08-22 | 1 | -0/+3 |
| | |||||
* | aux/ci/report.sh: Fix missing close tag | EuAndreh | 2021-08-22 | 1 | -1/+2 |
| | |||||
* | Have a single top-level main for running unit-tests | EuAndreh | 2021-08-22 | 9 | -76/+74 |
| | | | | | | | | | | | | | | | | | | | Instead of each .c file becoming a self-standing .t executable file, and being run for executing the unit tests local to the file, now each .c becomes a .to object (akin to a .o object, but one where the -DTEST flag is given to the compiler). After that, all the .to objects are linked together in a gistatic-tests executable, in a equivalent way that all .o files get linked together in a gistatic executable. This change was necessary in order to allow dependencies between objects. The next task will be making a tar of a repository tree checkout, and src/gistatic.{o,to} will start depending on src/tar.{o,to}. If each file has its own main function when -DTEST is given, then I wont be able to link them together. I took the opportunity that I had to change the Makefile, and I improved the dependency between targets and dependencies greatly. From what I can tell now, it is correct. | ||||
* | src/gistatic.c: Remove .logo bogus color attribute | EuAndreh | 2021-08-22 | 3 | -12/+0 |
| | |||||
* | src/gistatic.c: Suppress "Download" and "Commit message" columns from tags ↵ | EuAndreh | 2021-08-22 | 2 | -33/+1 |
| | | | | table in refs.html | ||||
* | src/gistatic.c: repo_refs_({tag => tags}|{branch => branches})_each | EuAndreh | 2021-08-21 | 1 | -4/+4 |
| | |||||
* | src/gistatic.c: create functions for loops; encode refs.html page dynamic ↵ | EuAndreh | 2021-08-21 | 1 | -165/+196 |
| | | | | content | ||||
* | tests/build-sample.sh: Also build $PWD | EuAndreh | 2021-08-21 | 1 | -1/+1 |
| | |||||
* | src/gistatic.c: Use <OBJECT>_<PART>_<VERB> nomenclature for function names | EuAndreh | 2021-08-21 | 1 | -15/+15 |
| | |||||
* | Makefile: Run assert-catgets.sh for all C files | EuAndreh | 2021-08-21 | 1 | -1/+1 |
| | |||||
* | aux/: Update | EuAndreh | 2021-08-21 | 5 | -34/+41 |
| | |||||
* | src/tests-lib.c: Move testing helper function and share it with other files | EuAndreh | 2021-08-21 | 7 | -31/+58 |
| | |||||
* | TODOs.md: Add #task-a0634ded-968e-bce5-3fef-8e1c5e3aab35 | EuAndreh | 2021-08-21 | 1 | -0/+3 |
| | |||||
* | TODOs.md: Add #task-9eb2fad6-359b-f221-7dec-490acebe80f5 | EuAndreh | 2021-08-20 | 1 | -0/+3 |
| | |||||
* | TODOs.md: Add #task-2ac45f7a-7152-d296-ab36-b0f60e2db3cb | EuAndreh | 2021-08-20 | 1 | -0/+3 |
| | |||||
* | TODOs.md: Mark #task-07c14c08-3757-ced7-36f8-d1ec5c437633 as DONE | EuAndreh | 2021-08-20 | 1 | -1/+5 |
| | |||||
* | src/gistatic.c: Add dark mode CSS media query | EuAndreh | 2021-08-20 | 3 | -15/+117 |
| | |||||
* | Makefile: Generate build samples before running the tests | EuAndreh | 2021-08-20 | 1 | -1/+1 |
| | | | | | This way even with failing tests one can see the interactive evolution of the generated HTML files. |