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.gn128L
-rw-r--r--build/BUILDCONFIG.gn123L
-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.c306L
-rw-r--r--src/format.h49L
-rw-r--r--src/format_tests.c721L
-rw-r--r--src/fs_inmemory.c216L
-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.c131L
-rw-r--r--src/git/commit.h27L
-rw-r--r--src/git/commit_tests.c102L
-rw-r--r--src/git/constants.h12L
-rw-r--r--src/git/delta.c202L
-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.c404L
-rw-r--r--src/git/git.h45L
-rw-r--r--src/git/git_tests.c97L
-rw-r--r--src/git/internal.h45L
-rw-r--r--src/git/reference.c91L
-rw-r--r--src/git/reference.h18L
-rw-r--r--src/git/repo.c249L
-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.c107L
-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.c147L
-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.c156L
-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.c211L
-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.c259L
-rw-r--r--src/writer/gemini/commit.h24L
-rw-r--r--src/writer/gemini/commit_tests.c52L
-rw-r--r--src/writer/gemini/fileblob.c137L
-rw-r--r--src/writer/gemini/fileblob.h18L
-rw-r--r--src/writer/gemini/fileblob_tests.c47L
-rw-r--r--src/writer/gemini/files.c73L
-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.c45L
-rw-r--r--src/writer/gemini/index_writer.h17L
-rw-r--r--src/writer/gemini/log.c116L
-rw-r--r--src/writer/gemini/log.h22L
-rw-r--r--src/writer/gemini/log_tests.c57L
-rw-r--r--src/writer/gemini/page.c86L
-rw-r--r--src/writer/gemini/page.h20L
-rw-r--r--src/writer/gemini/page_tests.c48L
-rw-r--r--src/writer/gemini/refs.c149L
-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.c54L
-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.c170L
-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.c263L
-rw-r--r--src/writer/gopher/commit.h24L
-rw-r--r--src/writer/gopher/commit_tests.c155L
-rw-r--r--src/writer/gopher/fileblob.c135L
-rw-r--r--src/writer/gopher/fileblob.h18L
-rw-r--r--src/writer/gopher/fileblob_tests.c93L
-rw-r--r--src/writer/gopher/files.c76L
-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.c45L
-rw-r--r--src/writer/gopher/index_writer.h17L
-rw-r--r--src/writer/gopher/log.c121L
-rw-r--r--src/writer/gopher/log.h22L
-rw-r--r--src/writer/gopher/log_tests.c112L
-rw-r--r--src/writer/gopher/page.c86L
-rw-r--r--src/writer/gopher/page.h20L
-rw-r--r--src/writer/gopher/page_tests.c55L
-rw-r--r--src/writer/gopher/refs.c160L
-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.c56L
-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.c170L
-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.c297L
-rw-r--r--src/writer/html/commit.h22L
-rw-r--r--src/writer/html/commit_tests.c155L
-rw-r--r--src/writer/html/fileblob.c140L
-rw-r--r--src/writer/html/fileblob.h18L
-rw-r--r--src/writer/html/fileblob_tests.c118L
-rw-r--r--src/writer/html/files.c87L
-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.c50L
-rw-r--r--src/writer/html/index_writer.h17L
-rw-r--r--src/writer/html/log.c135L
-rw-r--r--src/writer/html/log.h22L
-rw-r--r--src/writer/html/log_tests.c123L
-rw-r--r--src/writer/html/page.c138L
-rw-r--r--src/writer/html/page.h20L
-rw-r--r--src/writer/html/page_tests.c76L
-rw-r--r--src/writer/html/refs.c162L
-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.c91L
-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.c169L
-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.c152L
-rw-r--r--src/writer/index_writer.h18L
-rw-r--r--src/writer/index_writer_tests.c84L
-rw-r--r--src/writer/repo_writer.c248L
-rw-r--r--src/writer/repo_writer.h30L
-rw-r--r--third_party/openbsd/BUILD.gn43L
-rw-r--r--third_party/openbsd/reallocarray.c38L
-rw-r--r--third_party/openbsd/reallocarray.h9L
-rw-r--r--third_party/openbsd/strlcat.c58L
-rw-r--r--third_party/openbsd/strlcat.h9L
-rw-r--r--third_party/openbsd/strlcpy.c52L
-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