Commit Graph
6600 Commits
Author SHA1 Message Date
Landon Curt Noll d50756f2e9 improve the try.sh and try.alt.sh examples
We added more informative "XXX - ... - XXX" messages and improve the 2nd
invocation example.
2025-07-06 11:01:05 -07:00
Landon Curt Noll 40b572cd14 improve the template/README.md.year
We improve the `template/README.md.year` used to generate
the year level `README.md` file.
2025-07-06 00:03:36 -07:00
Landon Curt Noll 3106998954 allow for year level archive of rules and guidelines
Adjusted `bin/md2html.cfg` to allow for the creation of year level
archive of the rules and guidelines that were in effect when the given
year's content opened for submissions.

We improved `bin/gen-year-index.sh` so that if there exists
a `YYYY/rules.md` rules archive, then `YYYY/rules.html`
will be created.

We improved `bin/gen-year-index.sh` so that if there exists
a `YYYY/guidelines.md` rules archive, then `YYYY/guidelines.html`
will be created.

Changed `bin/gen-year-index.sh` VERSION from "2.0.0 2025-03-13"
to "2.1.0 2025-07-05".

Adjusted `next/rules.md` and `next/guidelines.md` so that when they are
copied as archived copies of rules and guidelines under a YYYY directory,
the internal links do not break.  There are **NO** changes to the readable
contents of the rules and guidelines, only some changes to a few internal links.

Updated `1992/buzzard.2/index.html, `1993/rince/index.html`, and
`2012/omoikane/index.html that were modified by recent commits.

Rebuild sitemap due to the changes above.

Ran `make www` to test and perform the above.
2025-07-05 21:24:13 -07:00
Landon Curt Noll def8e4d481 improve and simplify try.sh and try.alt.sh 2025-07-05 00:08:54 -07:00
Landon Curt Noll f28e69499d improve top comment for submission Makefile template 2025-07-04 23:02:55 -07:00
Landon Curt Noll 81b4f460b7 require display_as to be a lower case word in .entry.json
The `display_as` field in an `.entry_json` file must match
the regex `^[a-z][0-9a-z]*$` now.  This is needed to reduce
errors during the final round while converting a potential
submission to entry form.

Modify `1992/buzzard.2/.entry.json` and
`1993/rince/.entry.json` to change `display_as` field
to use lower case.

Correct `2012/omoikane/.entry.json` to correctly
reflect changes made by commit 2955e5d07e
and commit 2955e5d07e.

Change `bin/cvt-submission.sh` to verify that the `display_as`
matches the above regex.

Changed `bin/cvt-submission.sh` VERSION from "2.2.2 2025-06-30"
to "2.3.0 2025-07-02".

Rebuild all tarballs, both at the entry and the year level
due recent changes to `var.mk`, `1337.mk`, and `ioccc.css`.

Rebuild sitemap due to the changes above.

Ran `make update` to test and perform the above.
2025-07-02 16:04:33 -07:00
Landon Curt Noll 4bc180950f improve gitignore entry template 2025-06-30 22:27:40 -07:00
Landon Curt Noll 11d524fc99 update bin/cvt-submission.sh to work with try.sh.judging
When `bin/cvt-submission.sh` needs to form a `try.sh` file,
it now uses `try.sh.judging`.

Changed `bin/cvt-submission.sh` VERSION from "2.2.1 2025-06-29"
to "2.2.2 2025-06-30".
2025-06-30 22:01:31 -07:00
Landon Curt Noll 1b79bd29cd add try.sh.judging for use in IOCCC judging final rounds 2025-06-30 21:45:55 -07:00
Landon Curt Noll f510f36270 improve use of chkentry by cvt-submission.sh
Modified `bin/cvt-submission.sh` to use `chkentry(1)` on
submissions that are about to be converted into an entry,
by using `-P` to ignore permissions.  We also ignore any
`.DS_Store` files found as they will not be committed to
the repo (because of the top level `.gitignore` file).

Changed `bin/cvt-submission.sh` VERSION from "2.2.0 2025-06-29"
to "2.2.1 2025-06-29".
2025-06-29 22:28:21 -07:00
Landon Curt Noll 45f1dd0abd improve and fix bin/cvt-submission.sh
The `bin/cvt-submission.sh` tool no longer will remove selected files
when -n` is used.

The `bin/cvt-submission.sh` tool will not object if a `.gitignore` file
(put there by an IOCCC Judge) is found.

Changed `bin/cvt-submission.sh` VERSION from "2.1.0 2025-06-16"
to "2.2.0 2025-06-29".
2025-06-29 20:17:20 -07:00
Landon Curt Noll 8efd323ce3 update and sort top level .gitignore
Add prog and prog.alt to `.gitignore` and
sorted with `bin/sgi.sh`.
2025-06-29 16:03:59 -07:00
Landon Curt Noll 6c6fd49637 fix sed expression in bin/new-dir.sh
The `bin/new-dir.sh` tool use of `sed(1)` to update the year level
Makefile has been fixed.

Changed `bin/new-dir.sh` VERSION from "2.0.2 2025-05-29"
to "2.0.3 2025-06-29".

Tested/testing using potential final round submissions.
2025-06-29 15:26:09 -07:00
Landon Curt Noll 9ef2799ad1 improve new_entry rule in Makefile.year for bin/new-dir.sh
We fix/improve the new_entry rule in `template/Makefile.year`
that is used by `bin/new-dir.sh`.

Changed `bin/new-dir.sh` VERSION from "2.0.1 2025-05-18"
to "2.0.2 2025-05-29".

Tested/testing using potential final round submissions.
2025-06-29 14:24:31 -07:00
Landon Curt Noll b3f3928867 restore make new_entry in template/Makefile.year for bin/new-dir.sh use 2025-06-28 21:59:27 -07:00
Landon Curt Noll 276d3730a7 prep for final round processing 2025-06-28 00:24:13 -07:00
Landon Curt Noll 748e3504a0 add improved try and try.alt rules to next/Makefile.example 2025-06-23 23:02:46 -07:00
Landon Curt Noll 0553ff421f add missing tools to var.mk 2025-06-23 22:15:44 -07:00
Landon Curt Noll 9056b9063d add missing how to compile comment to Makefile.judging 2025-06-23 19:54:20 -07:00
Landon Curt Noll 73e1a5777b improve use of ENTRY in template/entry/Makefile.judging
Needed for final rounds of IOCCC28 and beyond.
2025-06-21 14:14:21 -07:00
Landon Curt Noll 68da1c9247 minor comment update to template/entry/Makefile.judging 2025-06-20 12:48:43 -07:00
Landon Curt Noll 31c3cd4f93 add Makefile.judging for IOCCC judging use
Added `template/entry/Makefile.judging`, a Makefile that is
similar to `next/Makefile.example` except that it is
more suitable for IOCCC judging, especially during
the final rounds of judging.
2025-06-19 21:45:47 -07:00
Landon Curt Noll 93fa5e0e7e update template/Makefile.year as per final rounds judging requirements 2025-06-19 21:11:16 -07:00
Landon Curt Noll 4ed3a81f00 restore useful comments in Makefile.example
By mistake in a few previous commits, some useful explanatory
and example comments were removed.

Add comments that will be useful for IOCCC29 and beyond.

Remove `${GINDENT}` and add `${RMDIR}` Makefile variables.
2025-06-19 20:27:05 -07:00
Landon Curt Noll 1fba8a2aec update next/Makefile.example as per final judging rounds
We update `next/Makefile.example` as per needs of IOCCC
final judging rounds.

Improved a few "XXX" comments.

Add `-pedantic` to `${CWARN}` by default with a comment
suggesting that is is OK to remove that compiler flag.
2025-06-19 19:35:44 -07:00
Landon Curt Noll 76357fc5db update for final rounds, clang-format related values
The use of `cindent(1)` and `indent(1)` by the IOCCC Judges
during final round processing has been deprecated in favor
of the `clang-format(1)` tool.

Removed rules in `1337.mk` related to `cindent(1)` and `indent(1)`.

Added `make clang-format` rule to `1337.mk`.

Added `${CLANG_FORMAT}` Makefile variable to `var.mk`.

Created `.clang-format` to hold the IOCCC style, a style that
is somewhat similar to the Linux Kernel style.
2025-06-19 19:29:59 -07:00
Landon Curt Noll f0f464dee2 improve some XXX comments in Makefile.example 2025-06-19 11:53:12 -07:00
Landon Curt Noll b13b0e523d minor comment update to Makefile.example 2025-06-19 11:44:19 -07:00
Landon Curt Noll 0d5d5754f3 improve Makefile.example for final rounds and for IOCCC29 2025-06-19 11:41:53 -07:00
Landon Curt Noll 4ffe4f84a2 improve tools as requirements of final judging rounds
We moved the building of an initial entry `README.md` file functionality
form `bin/cvt-submission.sh` to a new `bin/gen-readme.sh` tool.

Add `bin/gen-readme.sh` VERSION "2.0.0 2025-06-16".

Update `bin/cvt-submission.sh` to ignore while running `chkentry(1)`,
any submission top level `REDAME.md` file.

Removed unused template file `template/entry/README_md`.

Changed `bin/cvt-submission.sh` allowed  minimum `chkentry(1)` VERSION from "1.1.5"
to "2.0.5".

Changed `bin/cvt-submission.sh` VERSION from "2.0.5 2025-05-18"
to "2.1.0 2025-06-16".

Update sitemap.

Tested the above via `make gen_top_html timestamp` on macOS.
2025-06-16 19:26:42 -07:00
Landon Curt Noll cf53646516 fix Support the IOCCC title on years.html
Fixed heading title for "Support the IOCCC" block in `years.html`.

Changed `bin/gen-years.sh` VERSION from  "2.1.0 2025-06-06"
to "2.1.1 2025-06-06".

Update sitemap.

Tested the above via `make gen_years timestamp` on macOS.
2025-06-06 19:39:00 -07:00
Landon Curt Noll 8909d945aa improve use of Support the IOCCC, Social Media code blocks
Changed "Support IOCCC" heading to "Support the IOCCC".

Use HTML blockquote instead of markdown quote for the "Support the IOCCC"
and "IOCCC on Social Media" HTML code blocks.

Added "Support the IOCCC" and "IOCCC on Social Media" to the
top level `index.html` page, the top level `news.html` page and
the top level `years.html` page.

Changed `bin/gen-years.sh` VERSION from "2.0.0 2025-03-13"
to "2.1.0 2025-06-06".

Update sitemap.

Tested the above via `make gen_top_html gen_years timestamp` on macOS.
2025-06-06 19:10:05 -07:00
Landon Curt Noll de621fafba add IOCCC support and social media links to main page and news 2025-06-06 18:22:35 -07:00
Landon Curt Noll d57f991183 checkpoint use CSS class now id for support and social CSS 2025-06-06 18:15:38 -07:00
Landon Curt Noll 59ff9400c4 checkpoint use CSS styles to format support and social media
In addition to being CSS-enabled, we added Responsive Web Design
support for smaller screen widths.

TODO: test HTML validation
2025-06-06 18:03:23 -07:00
Landon Curt Noll 6f23c20c12 checkpoint try to fix HTML validation errors 2025-06-06 17:26:33 -07:00
Landon Curt Noll 111d240c67 checkpoint add support IOCCC and IOCCC social media links
This is a test update prior to W3C HTML validation.
2025-06-06 16:34:14 -07:00
Landon Curt Noll f26aa16eac fix bin/status2html.sh and typo about judging state 2025-06-05 00:00:37 -07:00
Landon Curt Noll f98d840a0d fixed typos relate to judging state 2025-06-04 23:46:26 -07:00
Landon Curt Noll 9d928ec1c4 close the IOCCC for submissions 2025-06-04 21:03:15 -07:00
Landon Curt Noll 128622b619 add news for 2025-09-29 2025-05-30 00:23:40 -07:00
Landon Curt Noll 4711e16ecd fixed mkiocccentry typo in FAQ as report by Discord user @neonstz 2025-05-26 13:55:17 -07:00
Landon Curt Noll b32dba3973 Merge pull request #147 from HouQiming/patch-1 2025-05-20 22:56:15 -07:00
HouQiming bca8f8dcec Update 2011/hou/hou.c to accommodate for modern __LINE__ behavior change 2025-05-19 12:34:14 +08:00
Landon Curt Noll 49db188d20 FAQ version 28.2.17 2025-05-18
Added FAQ 5.12 regarding how to compile entries that use ncurses if we
only have the old classic curses.

Clarified how FAQ 5.2 relates to FAQ 0.2.

Update sitemap.

Tested the above via `make quick_www timestamp` on macOS.
2025-05-18 04:36:44 -07:00
Landon Curt Noll 923cb043fe Merge pull request #146 from xexyl/clobber-fix
Fix make clobber in next/Makefile.example
2025-05-18 03:11:26 -07:00
Landon Curt Noll 3bbbb7797e improve bin/cvt-submission.sh, use umask 0022 for new year and new dir 2025-05-18 03:07:13 -07:00
Landon Curt Noll f1f0993cf9 complete bin/cvt-submission.sh
Successfully tested `bin/cvt-submission.sh` on a new entry in a new
year that was generated from a submission entry.number directory via
`sbin/post-collect.sh` from the submit tools.

Changed `bin/cvt-submission.sh` prompts to use "[Y,n]" and to default to yes.

The `bin/cvt-submission.sh` processes and appends YYYY/dir to `.allyear`.

Improved 215 error message and exit code from `bin/subst.entry-navbar.awk`.

Changed `bin/cvt-submission.sh` VERSION from "2.0.3 2025-05-18"
to "2.0.4 2025-05-18".

Changed `bin/output-index-author.sh` VERSION from "2.0.0 2025-03-13"
to "2.0.1 2025-05-18".

Changed `bin/output-index-inventory.sh` VERSION from "2.0.0 2025-03-13"
to "2.0.1 2025-05-18".

Changed `bin/output-index-inventory.sh` VERSION from "2.0.1 2025-05-17"
to "2.0.2 2025-05-18".

Changed `bin/subst.entry-index.sh` VERSION from "2.0.1 2025-05-17"
to "2.0.2 2025-05-18".

Changed `bin/subst.entry-navbar.awk` VERSION from "1.3.1 2025-05-17"
to "1.3.2 2025-05-18".

Update sitemap.

Tested the above via `make update` on macOS.
2025-05-18 02:28:16 -07:00
Landon Curt Noll 0aa790fd88 fix bug in subst.entry-index.sh, improve awk scripts
Fixed a bug that was introduced into `bin/subst.entry-index.sh`
where the value `$HTML_SED` was set too early.  Shell functions
variables are evaluated when they are executed, not when they
are first parsed.  So exported variables used by a shell function
need to be set only before the shell function is executed.

Checkpoint `bin/cvt-submission.sh` as part of our testing.
Set file modes of 0444 for when `.auth.json` is formed from `.auth.json.xz`.

The awk scripts under bin put their name (basename) into error
messages to make it easier to debug any error they might raise.

Changed `bin/cvt-submission.sh` VERSION from "2.0.1 2025-05-01"
to "2.0.2 2025-05-17".

Changed `bin/filelist.entry.json.awk` VERSION from "1.0 2024-02-12"
to "1.0.1 2025-05-17".

Changed `bin/manifest.csv.entry.awk` VERSION from "1.0 2024-07-14"
to "1.0.1 2025-05-17".

Changed `bin/manifest.entry.json.awk` VERSION from "1.2.1 2024-11-16"
to "1.2.2 2025-05-17".

Changed `bin/subst.entry-index.sh` VERSION from "2.0.0 2025-03-13"
to "2.0.1 2025-05-17".

Changed `bin/subst.entry-navbar.awk` VERSION from "1.3 2024-08-02"
to "1.3.1 2025-05-17".

Changed `bin/subst.year-navbar.awk` VERSION from "1.2 2024-04-04"
to "1.2.1 2025-05-17".

Update sitemap.

Tested the above via `make update` on macOS.
2025-05-17 23:56:22 -07:00
Landon Curt Noll 665a46ef4a improve genpath rule in year level Makefiles
The genpath rule uses `${RM}` to remove files, and touches `.tmp.genpath` after removing it.

Updated "_YYYY/Makefile_" files, and the `template/Makefile.year` template.

Updated year level tarballs to incorporate the modified "_YYYY/Makefile_" file.

Updated sitemap.

Tested the above via `make update` on macOS.
2025-05-17 15:34:56 -07:00