Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename src/gistatic.* src/lib.* | EuAndreh | 2021-08-22 | 1 | -2181/+0 |
| | |||||
* | src/gistatic.c: Remove unused MSGs | EuAndreh | 2021-08-22 | 1 | -8/+4 |
| | |||||
* | Have a single top-level main for running unit-tests | EuAndreh | 2021-08-22 | 1 | -8/+2 |
| | | | | | | | | | | | | | | | | | | | 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 | 1 | -4/+0 |
| | |||||
* | src/gistatic.c: Suppress "Download" and "Commit message" columns from tags ↵ | EuAndreh | 2021-08-22 | 1 | -27/+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 | ||||
* | src/gistatic.c: Use <OBJECT>_<PART>_<VERB> nomenclature for function names | EuAndreh | 2021-08-21 | 1 | -15/+15 |
| | |||||
* | src/tests-lib.c: Move testing helper function and share it with other files | EuAndreh | 2021-08-21 | 1 | -22/+1 |
| | |||||
* | src/gistatic.c: Add dark mode CSS media query | EuAndreh | 2021-08-20 | 1 | -5/+39 |
| | |||||
* | src/gistatic.c: s/snapshots/tarballs/ | EuAndreh | 2021-08-20 | 1 | -9/+9 |
| | |||||
* | src/gistatic.c: Handle overflow of size_t values | EuAndreh | 2021-08-20 | 1 | -6/+73 |
| | |||||
* | src/gistatic.c: Reword comment on date format | EuAndreh | 2021-08-20 | 1 | -1/+1 |
| | |||||
* | src/gistatic.c: Write actual usage and help texts | EuAndreh | 2021-08-19 | 1 | -2/+17 |
| | |||||
* | src/gistatic.c: Include usage message on -h flag | EuAndreh | 2021-08-19 | 1 | -1/+1 |
| | |||||
* | src/gistatic.c: Enforce fn(void) rule | EuAndreh | 2021-08-19 | 1 | -11/+14 |
| | |||||
* | src/gistatic.c: Move main() to src/main.c | EuAndreh | 2021-08-19 | 1 | -6/+8 |
| | |||||
* | src/gistatic.c: Add <meta name="description" .../> to HTML <head> | EuAndreh | 2021-08-17 | 1 | -2/+8 |
| | |||||
* | src/gistatic.c: Split alt messages of index and repository pages | EuAndreh | 2021-08-17 | 1 | -27/+31 |
| | |||||
* | src/gistatic.c: Keep default <a> underline look | EuAndreh | 2021-08-17 | 1 | -5/+0 |
| | | | | | This is more accessible, as the links have the extra visual queue that they're links. | ||||
* | src/gistatic.c: trim_newline() => strtrim(), trim more chars and a sequence ↵ | EuAndreh | 2021-08-06 | 1 | -14/+116 |
| | | | | of them | ||||
* | src/gistatic.c: Trim trailing newline of description files | EuAndreh | 2021-08-05 | 1 | -0/+55 |
| | |||||
* | tests/: Add integration tests, also test with Valgrind | EuAndreh | 2021-08-05 | 1 | -2/+2 |
| | |||||
* | Move tests/resources{ => /repositories}/repo* | EuAndreh | 2021-08-05 | 1 | -4/+6 |
| | |||||
* | Use .git symlink to simplify testing of embedded repositories | EuAndreh | 2021-08-05 | 1 | -4/+4 |
| | |||||
* | tests/resources/*: Embed Git repositories directly | EuAndreh | 2021-08-04 | 1 | -3/+3 |
| | | | | Implements #question-5414aee2-031a-5759-2a22-d572ee899ac0. | ||||
* | src/gistatic.c: Use "loop_cleanup" goto tag | EuAndreh | 2021-08-04 | 1 | -10/+16 |
| | |||||
* | src/gistatic.c: Mark test helper functions as static | EuAndreh | 2021-08-02 | 1 | -3/+3 |
| | |||||
* | src/gistatic.c: Use <th> over <tr> inside <thead> | EuAndreh | 2021-08-02 | 1 | -26/+25 |
| | |||||
* | src/gistatic.c: WIP implementation of repo_write_snapshots() | EuAndreh | 2021-08-02 | 1 | -0/+67 |
| | |||||
* | src/gistatic.c: Tweak CSS and HTML, and some libgit2 error logging | EuAndreh | 2021-08-02 | 1 | -15/+24 |
| | |||||
* | src/gistatic.c: Support generating refs.html file | EuAndreh | 2021-08-01 | 1 | -251/+772 |
| | |||||
* | tests/submodules/: Add submodule repositories for unit and (future) ↵ | EuAndreh | 2021-07-31 | 1 | -3/+20 |
| | | | | integration tests | ||||
* | src/: Embed unit-test.c into gistatic.c | EuAndreh | 2021-07-31 | 1 | -1/+21 |
| | |||||
* | src/gistatic.c: Add basic support for i18n with catgets; write initial -h ↵ | EuAndreh | 2021-07-31 | 1 | -29/+139 |
| | | | | help message | ||||
* | src/: Add initial working version of generating the index, without ↵ | EuAndreh | 2021-07-30 | 1 | -1/+1175 |
| | | | | translated strings still | ||||
* | Re-setup repository using C over Rust | EuAndreh | 2021-07-27 | 1 | -0/+3 |