aboutsummaryrefslogtreecommitdiff
path: root/src/gistatic.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-08-28TODOs.md: Add #task-543193c9-b1c5-9362-b69d-d7b6e5e071f0EuAndreh1-0/+3
2021-08-28TODOs.md: Add #task-54ab2440-45aa-5bf8-388c-43f8a5dbbd9cEuAndreh1-0/+3
2021-08-28aux/workflow/dist.sh: Be stricter with release pre-requisitesEuAndreh2-6/+26
2021-08-27src/lib.c: Mark local FILE* variable as constEuAndreh1-1/+1
2021-08-27src/*.c: Add newline between function return type and its nameEuAndreh10-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.
2021-08-27TODOs.md: Add comments to the body of #task-a6bdaeb0-7099-c728-2b7c-b080aa2fba33EuAndreh1-0/+16
2021-08-27TODOs.md: Add links to zlib implementations on Resources sectionEuAndreh1-0/+3
2021-08-24src/lib.c: Stick to 80 columnsEuAndreh1-1/+2
2021-08-24src/lib.{c,h}: Make args to gistatic_main() constEuAndreh2-2/+2
2021-08-24src/lib.c: Move unit_tests_gistatic to the end of the fileEuAndreh1-19/+19
2021-08-24TODOs.md: Add #task-4202ee33-1344-0854-c970-89664066b029EuAndreh1-0/+3
2021-08-24Makefile: Add single quote around paths and namesEuAndreh1-16/+16
2021-08-24TODOs.md: Add #task-fbb258cd-f95d-af86-cc7b-0c324d2ae42bEuAndreh1-0/+3
2021-08-23aux/ci/ci-build.sh: Better formatting of final report messageEuAndreh1-2/+2
2021-08-23TODOs.md: Add #task-b1290a2e-271f-dea6-8217-1452a11ec3deEuAndreh1-0/+3
2021-08-23aux/workflow/l10n.sh: Print progress message to STDERR instead of STDOUTEuAndreh1-1/+1
2021-08-23aux/guix/with-container.sh: Increase verbosity when building Docker imageEuAndreh1-1/+1
2021-08-23public/makefile.svg: Start generating it with makefile2graph and graphvizEuAndreh4-1/+7
2021-08-23src/: Move logerr* functions to src/logerr.{c,h}; forward tarballs_fd to ↵EuAndreh6-47/+233
src/tar.c
2021-08-22TODOs.md: Extend description of #task-4e40832e-78cf-fc21-cbf9-2fe00fd3828dEuAndreh1-0/+2
2021-08-22src/tar.c: Add link to the reference specificationEuAndreh1-0/+7
2021-08-22re 's/write_tarball_from_directory/tarball_write_from_directory/g'EuAndreh3-3/+3
2021-08-22src/: s/tarzify/tarball_write_from_directory/gEuAndreh3-3/+3
2021-08-22tests/c-lint.sh: Use grep exit status instead of empty string outputEuAndreh1-2/+3
2021-08-22tests/dev-integration.sh: Fix calls to executable and testEuAndreh1-4/+3
2021-08-22src/tar.c: tarzify(): Return 0 by default for nowEuAndreh1-1/+1
2021-08-22src/lib.c: Fix logic condition for deciding when to generate tarbalssEuAndreh1-1/+1
2021-08-22TODOs.md: Add #task-e51e6490-c42c-1167-2d2a-26af8b8cd654EuAndreh1-0/+3
2021-08-22src/lib.c: Write repo_tarballs_refs_each, calling stub tarzify() functionEuAndreh3-18/+95
2021-08-22src/lib.c: Tweak test_start() nameEuAndreh1-1/+1
2021-08-22src/lib.c: Add strsjoin() with testsEuAndreh1-0/+104
2021-08-22src/lib.c: Differentiate between -1 and other errors when looping through ↵EuAndreh1-2/+10
Git references
2021-08-22Rename src/gistatic.* src/lib.*EuAndreh5-17/+18
2021-08-22TODOs.md: Add #task-c71e7a3a-076d-3553-e245-0ad2b7a64231EuAndreh1-0/+8
2021-08-22src/gistatic.c: Remove unused MSGsEuAndreh2-16/+8
2021-08-22TODOs.md: Add #task-218e2893-c2d3-caa5-b0e3-cde70b31a3f7EuAndreh1-0/+3
2021-08-22aux/ci/report.sh: Fix missing close tagEuAndreh1-1/+2
2021-08-22Have a single top-level main for running unit-testsEuAndreh9-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.
2021-08-22src/gistatic.c: Remove .logo bogus color attributeEuAndreh3-12/+0
2021-08-22src/gistatic.c: Suppress "Download" and "Commit message" columns from tags ↵EuAndreh2-33/+1
table in refs.html
2021-08-21src/gistatic.c: repo_refs_({tag => tags}|{branch => branches})_eachEuAndreh1-4/+4
2021-08-21src/gistatic.c: create functions for loops; encode refs.html page dynamic ↵EuAndreh1-165/+196
content
2021-08-21tests/build-sample.sh: Also build $PWDEuAndreh1-1/+1
2021-08-21src/gistatic.c: Use <OBJECT>_<PART>_<VERB> nomenclature for function namesEuAndreh1-15/+15
2021-08-21Makefile: Run assert-catgets.sh for all C filesEuAndreh1-1/+1
2021-08-21aux/: UpdateEuAndreh5-34/+41
2021-08-21src/tests-lib.c: Move testing helper function and share it with other filesEuAndreh7-31/+58
2021-08-21TODOs.md: Add #task-a0634ded-968e-bce5-3fef-8e1c5e3aab35EuAndreh1-0/+3
2021-08-20TODOs.md: Add #task-9eb2fad6-359b-f221-7dec-490acebe80f5EuAndreh1-0/+3
2021-08-20TODOs.md: Add #task-2ac45f7a-7152-d296-ab36-b0f60e2db3cbEuAndreh1-0/+3