gout

A static git page generator
git clone https://git.bracken.jp/gout.git
Log | Files | Refs | README | LICENSE

ModeNameSize
-rw-r--r--.clang-format9L
-rw-r--r--.clang-tidy43L
-rw-r--r--.gitignore6L
-rw-r--r--.gn25L
-rw-r--r--BUILD.gn114L
-rw-r--r--LICENSE22L
-rw-r--r--Makefile24L
-rw-r--r--README.md85L
-rw-r--r--build/BUILD.gn126L
-rw-r--r--build/BUILDCONFIG.gn118L
-rw-r--r--build/toolchain/BUILD.gn137L
-rw-r--r--secondary/third_party/utest/BUILD.gn36L
-rw-r--r--src/BUILD.gn52L
-rw-r--r--src/format.c305L
-rw-r--r--src/format.h52L
-rw-r--r--src/format_tests.c721L
-rw-r--r--src/fs_inmemory.c209L
-rw-r--r--src/fs_inmemory.h18L
-rw-r--r--src/fs_posix.c90L
-rw-r--r--src/fs_posix.h9L
-rw-r--r--src/git/BUILD.gn29L
-rw-r--r--src/git/commit.c135L
-rw-r--r--src/git/commit.h27L
-rw-r--r--src/git/commit_tests.c100L
-rw-r--r--src/git/constants.h12L
-rw-r--r--src/git/delta.c210L
-rw-r--r--src/git/delta.h36L
-rw-r--r--src/git/delta_tests.c38L
-rw-r--r--src/git/file.c53L
-rw-r--r--src/git/file.h25L
-rw-r--r--src/git/git.c401L
-rw-r--r--src/git/git.h43L
-rw-r--r--src/git/git_tests.c97L
-rw-r--r--src/git/internal.h45L
-rw-r--r--src/git/reference.c94L
-rw-r--r--src/git/reference.h18L
-rw-r--r--src/git/repo.c258L
-rw-r--r--src/git/repo.h25L
-rw-r--r--src/git/repo_tests.c92L
-rw-r--r--src/gout.c167L
-rw-r--r--src/gout.h26L
-rw-r--r--src/gout_index.c108L
-rw-r--r--src/gout_index.h25L
-rw-r--r--src/gout_index_main.c31L
-rw-r--r--src/gout_index_options_tests.c58L
-rw-r--r--src/gout_main.c33L
-rw-r--r--src/gout_options_tests.c88L
-rw-r--r--src/gout_tests.c18L
-rw-r--r--src/gout_tests_main.c9L
-rw-r--r--src/security.c66L
-rw-r--r--src/security.h25L
-rw-r--r--src/test_utils.h32L
-rw-r--r--src/utils.c146L
-rw-r--r--src/utils.h57L
-rw-r--r--src/utils_tests.c183L
-rw-r--r--src/writer/BUILD.gn27L
-rw-r--r--src/writer/atom/BUILD.gn12L
-rw-r--r--src/writer/atom/atom.c155L
-rw-r--r--src/writer/atom/atom.h34L
-rw-r--r--src/writer/atom/atom_tests.c203L
-rw-r--r--src/writer/cache/BUILD.gn9L
-rw-r--r--src/writer/cache/cache.c206L
-rw-r--r--src/writer/cache/cache.h102L
-rw-r--r--src/writer/cache/cache_tests.c111L
-rw-r--r--src/writer/gemini/BUILD.gn41L
-rw-r--r--src/writer/gemini/commit.c262L
-rw-r--r--src/writer/gemini/commit.h24L
-rw-r--r--src/writer/gemini/commit_tests.c52L
-rw-r--r--src/writer/gemini/fileblob.c140L
-rw-r--r--src/writer/gemini/fileblob.h18L
-rw-r--r--src/writer/gemini/fileblob_tests.c47L
-rw-r--r--src/writer/gemini/files.c75L
-rw-r--r--src/writer/gemini/files.h16L
-rw-r--r--src/writer/gemini/files_tests.c71L
-rw-r--r--src/writer/gemini/index_writer.c46L
-rw-r--r--src/writer/gemini/index_writer.h17L
-rw-r--r--src/writer/gemini/log.c118L
-rw-r--r--src/writer/gemini/log.h22L
-rw-r--r--src/writer/gemini/log_tests.c57L
-rw-r--r--src/writer/gemini/page.c89L
-rw-r--r--src/writer/gemini/page.h20L
-rw-r--r--src/writer/gemini/page_tests.c48L
-rw-r--r--src/writer/gemini/refs.c102L
-rw-r--r--src/writer/gemini/refs.h16L
-rw-r--r--src/writer/gemini/refs_tests.c49L
-rw-r--r--src/writer/gemini/repo_index.c55L
-rw-r--r--src/writer/gemini/repo_index.h16L
-rw-r--r--src/writer/gemini/repo_index_tests.c67L
-rw-r--r--src/writer/gemini/repo_writer.c177L
-rw-r--r--src/writer/gemini/repo_writer.h31L
-rw-r--r--src/writer/gemini/repo_writer_tests.c59L
-rw-r--r--src/writer/gopher/BUILD.gn41L
-rw-r--r--src/writer/gopher/commit.c266L
-rw-r--r--src/writer/gopher/commit.h24L
-rw-r--r--src/writer/gopher/commit_tests.c155L
-rw-r--r--src/writer/gopher/fileblob.c138L
-rw-r--r--src/writer/gopher/fileblob.h18L
-rw-r--r--src/writer/gopher/fileblob_tests.c93L
-rw-r--r--src/writer/gopher/files.c78L
-rw-r--r--src/writer/gopher/files.h16L
-rw-r--r--src/writer/gopher/files_tests.c71L
-rw-r--r--src/writer/gopher/index_writer.c46L
-rw-r--r--src/writer/gopher/index_writer.h17L
-rw-r--r--src/writer/gopher/log.c123L
-rw-r--r--src/writer/gopher/log.h22L
-rw-r--r--src/writer/gopher/log_tests.c112L
-rw-r--r--src/writer/gopher/page.c89L
-rw-r--r--src/writer/gopher/page.h20L
-rw-r--r--src/writer/gopher/page_tests.c55L
-rw-r--r--src/writer/gopher/refs.c166L
-rw-r--r--src/writer/gopher/refs.h16L
-rw-r--r--src/writer/gopher/refs_tests.c98L
-rw-r--r--src/writer/gopher/repo_index.c57L
-rw-r--r--src/writer/gopher/repo_index.h16L
-rw-r--r--src/writer/gopher/repo_index_tests.c66L
-rw-r--r--src/writer/gopher/repo_writer.c177L
-rw-r--r--src/writer/gopher/repo_writer.h31L
-rw-r--r--src/writer/gopher/repo_writer_tests.c64L
-rw-r--r--src/writer/html/BUILD.gn41L
-rw-r--r--src/writer/html/commit.c300L
-rw-r--r--src/writer/html/commit.h22L
-rw-r--r--src/writer/html/commit_tests.c155L
-rw-r--r--src/writer/html/fileblob.c143L
-rw-r--r--src/writer/html/fileblob.h18L
-rw-r--r--src/writer/html/fileblob_tests.c118L
-rw-r--r--src/writer/html/files.c89L
-rw-r--r--src/writer/html/files.h16L
-rw-r--r--src/writer/html/files_tests.c97L
-rw-r--r--src/writer/html/index_writer.c51L
-rw-r--r--src/writer/html/index_writer.h17L
-rw-r--r--src/writer/html/log.c137L
-rw-r--r--src/writer/html/log.h22L
-rw-r--r--src/writer/html/log_tests.c123L
-rw-r--r--src/writer/html/page.c140L
-rw-r--r--src/writer/html/page.h20L
-rw-r--r--src/writer/html/page_tests.c76L
-rw-r--r--src/writer/html/refs.c168L
-rw-r--r--src/writer/html/refs.h16L
-rw-r--r--src/writer/html/refs_tests.c98L
-rw-r--r--src/writer/html/repo_index.c92L
-rw-r--r--src/writer/html/repo_index.h17L
-rw-r--r--src/writer/html/repo_index_tests.c67L
-rw-r--r--src/writer/html/repo_writer.c176L
-rw-r--r--src/writer/html/repo_writer.h29L
-rw-r--r--src/writer/html/repo_writer_tests.c64L
-rw-r--r--src/writer/index_writer.c153L
-rw-r--r--src/writer/index_writer.h18L
-rw-r--r--src/writer/index_writer_tests.c84L
-rw-r--r--src/writer/repo_writer.c249L
-rw-r--r--src/writer/repo_writer.h30L
-rw-r--r--third_party/openbsd/BUILD.gn32L
-rw-r--r--third_party/openbsd/reallocarray.c42L
-rw-r--r--third_party/openbsd/reallocarray.h9L
-rw-r--r--third_party/openbsd/strlcat.c62L
-rw-r--r--third_party/openbsd/strlcat.h9L
-rw-r--r--third_party/openbsd/strlcpy.c56L
-rw-r--r--third_party/openbsd/strlcpy.h9L
-rw-r--r--third_party/utest/.clang-format2L
-rw-r--r--third_party/utest/.github/FUNDING.yml1L
-rw-r--r--third_party/utest/.github/workflows/cmake.yml107L
-rw-r--r--third_party/utest/.github/workflows/sanitizers.yml65L
-rw-r--r--third_party/utest/.gitignore2L
-rw-r--r--third_party/utest/LICENSE24L
-rw-r--r--third_party/utest/README.md702L
-rw-r--r--third_party/utest/appveyor.yml55L
-rw-r--r--third_party/utest/test/CMakeLists.txt132L
-rw-r--r--third_party/utest/test/main.c111L
-rw-r--r--third_party/utest/test/side_effects.c138L
-rw-r--r--third_party/utest/test/side_effects.cpp136L
-rw-r--r--third_party/utest/test/stdint_include.c32L
-rw-r--r--third_party/utest/test/subprocess.h1186L
-rw-r--r--third_party/utest/test/test.c268L
-rw-r--r--third_party/utest/test/test.cpp303L
-rw-r--r--third_party/utest/test/test11.c260L
-rw-r--r--third_party/utest/test/test11.cpp352L
-rw-r--r--third_party/utest/test/test14.cpp352L
-rw-r--r--third_party/utest/test/test17.cpp352L
-rw-r--r--third_party/utest/test/test99.c260L
-rw-r--r--third_party/utest/test/test_no_exceptions.cpp261L
-rw-r--r--third_party/utest/test/type_printers.c5L
-rw-r--r--third_party/utest/test/type_printers.cpp2L
-rw-r--r--third_party/utest/test/type_printers.inc52L
-rw-r--r--third_party/utest/utest.h1719L