From cd55101b24b9d4533a74b8929a17b08be0f127ab Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:31:54 +0900 Subject: [PATCH 1/9] =?UTF-8?q?.editorconfig=20=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..16369bf8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,29 @@ +root = true + +[*] +indent_style = space +indent_size = 4 + +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +# Common binary files +[*.{png,jpg,jpeg,gif,webp,ico,pdf,zip,gz,tar,7z,jar,war,class,exe,dll,so,dylib,woff,woff2,ttf,eot}] +end_of_line = unset +charset = unset +trim_trailing_whitespace = unset +insert_final_newline = unset + +# Markdown +[*.{md,mdx}] +indent_size = 2 +trim_trailing_whitespace = false + +# Generated Python and C / C++ binary files +[*.{a,lib,o,obj,pyc,pyo,pyd}] +end_of_line = unset +charset = unset +trim_trailing_whitespace = unset +insert_final_newline = unset From 77d2031654e762af8ee2cb8c88519c816575feeb Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:32:09 +0900 Subject: [PATCH 2/9] =?UTF-8?q?.gitattributes=20=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 61 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 54 insertions(+), 7 deletions(-) diff --git a/.gitattributes b/.gitattributes index c33bd9c4..04dcb73a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,10 +1,57 @@ * text=auto eol=lf -*.bundle binary -*.gif binary -*.ico binary -*.jpg binary -*.jpeg binary -*.png binary -*.woff binary +# Common binary files +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.webp binary +*.ico binary +*.pdf binary +*.zip binary +*.gz binary +*.tar binary +*.7z binary +*.jar binary +*.war binary +*.class binary +*.exe binary +*.dll binary +*.so binary +*.dylib binary +*.woff binary *.woff2 binary +*.ttf binary +*.eot binary + +# Markdown +*.md text diff=markdown whitespace=-blank-at-eol +*.mdx text diff=markdown whitespace=-blank-at-eol + +# Python +*.py text diff=python +*.pyi text diff=python +*.pyw text diff=python + +# C / C++ +*.c text diff=cpp +*.cc text diff=cpp +*.cpp text diff=cpp +*.cxx text diff=cpp +*.h text diff=cpp +*.hh text diff=cpp +*.hpp text diff=cpp +*.hxx text diff=cpp +*.ipp text diff=cpp +*.tpp text diff=cpp +*.ixx text diff=cpp +*.cppm text diff=cpp + +# Generated Python and C / C++ binary files +*.a binary +*.lib binary +*.o binary +*.obj binary +*.pyc binary +*.pyo binary +*.pyd binary From 74fd45cad879f6b55ffd544e224e10d7697caef4 Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:53:04 +0900 Subject: [PATCH 3/9] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 12 ++++++++++++ .gitattributes | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/.editorconfig b/.editorconfig index 16369bf8..9941426e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -27,3 +27,15 @@ end_of_line = unset charset = unset trim_trailing_whitespace = unset insert_final_newline = unset + +# Shell +[*.{sh,bash,zsh}] +indent_size = 2 + +# YAML +[*.{yml,yaml}] +indent_size = 2 + +# Generated JSON schema files +[*.schema.json] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes index 04dcb73a..c5c6e98a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -55,3 +55,50 @@ *.pyc binary *.pyo binary *.pyd binary + +# Shell +*.sh text diff=bash +*.bash text diff=bash +*.zsh text diff=bash + +# Java +*.java text diff=java + +# Go +*.go text diff=golang + +# Rust +*.rs text diff=rust + +# Awk +*.awk text + +# HTML +*.html text diff=html + +# CSS +*.css text diff=css +*.scss text diff=css + +# JavaScript +*.js text + +# JSON +*.json text + +# YAML +*.yml text +*.yaml text + +# Configuration and lock files +*.toml text +*.lock text + +# Git bundle files +*.bundle binary + +# Test fixtures +*.hello text -eol +*.in text -eol +*.out text -eol +*.txt text=auto -eol From 93b0e6833ce03d67975316cd76f2113f84074068 Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 17:56:53 +0900 Subject: [PATCH 4/9] =?UTF-8?q?=E7=A9=BA=E7=99=BD=E5=B9=85=E3=82=92?= =?UTF-8?q?=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitattributes b/.gitattributes index c5c6e98a..571b5de2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -62,16 +62,16 @@ *.zsh text diff=bash # Java -*.java text diff=java +*.java text diff=java # Go -*.go text diff=golang +*.go text diff=golang # Rust -*.rs text diff=rust +*.rs text diff=rust # Awk -*.awk text +*.awk text # HTML *.html text diff=html @@ -84,7 +84,7 @@ *.js text # JSON -*.json text +*.json text # YAML *.yml text From 799ba426fabcc8b0dc63c561934bc30ed33c990d Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:13:37 +0900 Subject: [PATCH 5/9] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.editorconfig b/.editorconfig index 9941426e..d1aeab2e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -39,3 +39,17 @@ indent_size = 2 # Generated JSON schema files [*.schema.json] indent_size = 2 + +# Git bundle files +[*.bundle] +end_of_line = unset +charset = unset +trim_trailing_whitespace = unset +insert_final_newline = unset + +# Test fixtures +[*.{hello,in,out,txt}] +end_of_line = unset +charset = unset +trim_trailing_whitespace = unset +insert_final_newline = unset From 1a076f84845f593b35fe299699aeeaef4b13e433 Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:39:01 +0900 Subject: [PATCH 6/9] =?UTF-8?q?=E5=8A=A0=E7=AD=86=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 3 + integration_test_data/.gitattributes | 95 +++++++++++++++++++ .../.gitattributes | 61 +++++++++++- 3 files changed, 156 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 571b5de2..248e71b4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -102,3 +102,6 @@ *.in text -eol *.out text -eol *.txt text=auto -eol + +# Vendored documentation assets +src/competitive_verifier_resources/jekyll/assets/vendor/** linguist-vendored -text -eol diff --git a/integration_test_data/.gitattributes b/integration_test_data/.gitattributes index ff9f7dda..aae0f9ff 100644 --- a/integration_test_data/.gitattributes +++ b/integration_test_data/.gitattributes @@ -1,3 +1,98 @@ * text=auto eol=lf +# Common binary files +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.webp binary +*.ico binary +*.pdf binary +*.zip binary +*.gz binary +*.tar binary +*.7z binary +*.jar binary +*.war binary +*.class binary +*.exe binary +*.dll binary +*.so binary +*.dylib binary +*.woff binary +*.woff2 binary +*.ttf binary +*.eot binary + +# Markdown +*.md text diff=markdown whitespace=-blank-at-eol +*.mdx text diff=markdown whitespace=-blank-at-eol + +# Python +*.py text diff=python +*.pyi text diff=python +*.pyw text diff=python + +# C / C++ +*.c text diff=cpp +*.cc text diff=cpp +*.cpp text diff=cpp +*.cxx text diff=cpp +*.h text diff=cpp +*.hh text diff=cpp +*.hpp text diff=cpp +*.hxx text diff=cpp +*.ipp text diff=cpp +*.tpp text diff=cpp +*.ixx text diff=cpp +*.cppm text diff=cpp + +# Generated Python and C / C++ binary files +*.a binary +*.lib binary +*.o binary +*.obj binary +*.pyc binary +*.pyo binary +*.pyd binary + +# Java +*.java text diff=java + +# Go +*.go text diff=golang + +# Rust +*.rs text diff=rust + +# Awk +*.awk text + +# HTML +*.html text diff=html + +# CSS +*.css text diff=css +*.scss text diff=css + +# JavaScript +*.js text + +# JSON +*.json text + +# YAML +*.yml text +*.yaml text + +# Configuration and lock files +*.toml text + +# Git bundle files *.bundle binary + +# Test fixtures +*.hello text -eol +*.in text -eol +*.out text -eol +*.txt text=auto -eol diff --git a/src/competitive_verifier_resources/.gitattributes b/src/competitive_verifier_resources/.gitattributes index f0f52beb..eb663d72 100644 --- a/src/competitive_verifier_resources/.gitattributes +++ b/src/competitive_verifier_resources/.gitattributes @@ -1,6 +1,61 @@ * text=auto eol=lf -*.jpg binary -*.png binary -*.woff binary +# Common binary files +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.webp binary +*.ico binary +*.pdf binary +*.zip binary +*.gz binary +*.tar binary +*.7z binary +*.jar binary +*.war binary +*.class binary +*.exe binary +*.dll binary +*.so binary +*.dylib binary +*.woff binary *.woff2 binary +*.ttf binary +*.eot binary + +# Markdown +*.md text diff=markdown whitespace=-blank-at-eol +*.mdx text diff=markdown whitespace=-blank-at-eol + +# Python +*.py text diff=python +*.pyi text diff=python +*.pyw text diff=python + +# Generated Python binary files +*.pyc binary +*.pyo binary +*.pyd binary + +# HTML +*.html text diff=html + +# CSS +*.css text diff=css +*.scss text diff=css + +# JavaScript +*.js text + +# JSON +*.json text + +# Test fixtures +*.hello text -eol +*.in text -eol +*.out text -eol +*.txt text=auto -eol + +# Vendored documentation assets +jekyll/assets/vendor/** linguist-vendored -text -eol From a06a5a59130bfebf22bd689907a161d574043835 Mon Sep 17 00:00:00 2001 From: Not_Leonian <75620009+NotLeonian@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:44:18 +0900 Subject: [PATCH 7/9] =?UTF-8?q?=E9=81=A9=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../docs/static/_includes/header-title.html | 2 +- .../docs/static/_includes/highlight_additional.html | 2 +- .../docs/static/_includes/installer.template.html | 2 +- .../docs/static/_includes/toppage_footer.html | 2 +- .competitive-verifier/docs/static/installer.js | 10 +++++----- .vscode/launch.json | 2 +- examples/awk/aplusb.awk | 2 +- examples/awk/aplusb2.awk | 2 +- examples/cpp/segment_tree.hpp | 4 ++-- examples/external/verify_files.json | 2 +- examples/go/helloworld_test.go | 12 ++++++------ examples/prev-result.json | 2 +- integration_test_data/CompileFailure/verify.json | 2 +- integration_test_data/GoData/config.toml | 2 +- integration_test_data/GoData/helloworld_test.go | 12 ++++++------ .../HandMadeDocs/docs/static/foo/bar.js | 2 +- integration_test_data/HandMadeDocs/libdoc/plain.html | 2 +- integration_test_data/HandMadeDocs/result.json | 2 +- integration_test_data/HandMadeDocs/verify.json | 2 +- integration_test_data/IncludeExclude/config.toml | 2 +- .../UserDefinedAndPythonData/awk/aplusb.awk | 2 +- .../UserDefinedAndPythonData/awk/aplusb_direct.awk | 2 +- .../docs_settings/static/_includes/head-custom.html | 2 +- .../UserDefinedAndPythonData/python/success1.py | 2 +- .../jekyll/_includes/code.html | 2 +- .../jekyll/_includes/code_and_testcases.html | 2 +- .../jekyll/_includes/document_body.html | 2 +- .../jekyll/_includes/head-custom.html | 2 +- .../jekyll/_includes/head-custom2.html | 2 +- .../jekyll/_includes/highlight/highlight_header.html | 2 +- .../jekyll/_includes/highlight_additional.html | 2 +- .../jekyll/_includes/mathjax/mathjax.html | 2 +- .../jekyll/_includes/mathjax/mathjax2.html | 2 +- .../jekyll/_includes/mathjax/mathjax3.html | 2 +- .../jekyll/_includes/multidoc_body.html | 2 +- .../jekyll/_includes/site_description.html | 2 +- .../jekyll/_includes/toppage_body.html | 2 +- .../jekyll/_includes/toppage_footer.html | 2 +- .../jekyll/_layouts/page.html | 2 +- .../jekyll/assets/css/code.scss | 4 ++-- .../jekyll/assets/css/default.scss | 2 +- .../jekyll/assets/js/mathjax-config.js | 2 +- .../jekyll-theme-minimal/_layouts/default.html | 2 +- 43 files changed, 59 insertions(+), 59 deletions(-) diff --git a/.competitive-verifier/docs/static/_includes/header-title.html b/.competitive-verifier/docs/static/_includes/header-title.html index d01f0743..8cac119f 100644 --- a/.competitive-verifier/docs/static/_includes/header-title.html +++ b/.competitive-verifier/docs/static/_includes/header-title.html @@ -6,4 +6,4 @@