Commit Graph
5526 Commits
Author SHA1 Message Date
Landon Curt Noll 778f57b318 remove Makefile assignment of MAKE
For systems such as BSD that use gmake, do not set `MAKE=`.
2024-06-25 18:28:04 -07:00
Landon Curt Noll f08f87d92f checkpoint on updating the rules and guidelines
Added a `#weverything` div tag to the FAQ.

Expanded and improved(?) a number of rules and guidelines.
In particular, the consequences of the new mkiocccentry
repo have been put into the rules and guidelines.

This is a checkpoint from which we can review,
edit and improve.
2024-06-25 14:16:19 -07:00
Landon Curt Noll 6eebade91b expand tabs in recent markdown changes that violate tab_check 2024-06-25 14:14:46 -07:00
Landon Curt Noll 6a60f03c40 Merge pull request #2504 from xexyl/email
Change 'Email' to 'email' in contact.{md,html}
2024-06-25 14:07:37 -07:00
Cody Boone Ferguson 0a233abc8f Change 'Email' to 'email' in contact.{md,html}
Although 'Email' is sometimes used it feels more out of place in the
middle of a sentence. There might be other files where this could be
done but at the same time there are files that this should not be done -
like source code.
2024-06-25 13:34:53 -07:00
Landon Curt Noll 5cbbd4a855 Merge pull request #2503 from xexyl/ferguson22020 2024-06-25 09:56:18 -07:00
Cody Boone Ferguson 1e4cf1b14f Updates to 2020/ferguson2
Added testing procedure (markdown, html: testing-procedure.{md,html}).
Updated the recode.{md,html} and README.md for this as well.

Updated the hidden message file (enigma.html) for a bit more fun.

Updated manifest, rebuilt index.html and .entry.json.
2024-06-25 09:28:58 -07:00
Landon Curt Noll 1110280c24 add guidelines about compiler warning, change c11 to gnu17 2024-06-24 18:42:26 -07:00
Landon Curt Noll 4690ba97c1 expand on guidelines relating to rule violations 2024-06-24 18:21:12 -07:00
Landon Curt Noll 93081c8f5d improvements to Rule 2 in rules and guidelines 2024-06-24 18:10:15 -07:00
Landon Curt Noll b35d280cd1 Merge pull request #2502 from xexyl/html94
Format fixes in html files of 1994
2024-06-24 18:07:20 -07:00
Landon Curt Noll f471ae0b21 Merge pull request #2501 from xexyl/vanb93-fmt-code
Format improvements in 1993/vanb/index.html
2024-06-24 18:06:50 -07:00
Landon Curt Noll bcd73781c0 fix a minor typo in next/guidelines.md 2024-06-24 15:07:32 -07:00
Landon Curt Noll 6abd69c5c7 fix formatting errors in next/guidelines.md
Sorry (tm Canada 🇨🇦).
2024-06-24 15:02:55 -07:00
Landon Curt Noll 5c710b39e7 reverted most quotes in guidelines.md
The way that markdown quotes are currently formatted (with a gray
vertical line) looks too much like a change bar.  The change bar
is an important tool to help notice new and changed rules and
guidelines.  Unfortunately the current quotes style looks too much
like a change bar, so we use markdown quotes **ONLY** for literal
quotes (such as from Mark Twain) in the `guidelines.md` file.
2024-06-24 15:01:02 -07:00
Landon Curt Noll 51130083c4 check for any ASCII tabs anywhere in markdown files
Clarified and simplified the request to not use ASCII tabs within
markdown file content.

Added _guidelines_ to `next/guidelines.md` about not using ASCII
tab characters in markdown files while stating that is just fine
to use ASCII tabs in non-markdown files and C code.

The `make tab_check` rule now simply checks for ASCII tabs within
markdown files, except `markdown.md` where they are required to
serve as examples of what not to do.

Perform `make quick_www` to perform the above and test under macOS.

Perform `make www` to perform the above and test under macOS.
2024-06-24 14:52:00 -07:00
Cody Boone Ferguson 6062168fe9 Format fixes in html files of 1994 2024-06-24 13:55:19 -07:00
Cody Boone Ferguson 850e5b4181 Format improvements in 1993/vanb/index.html
The list of expressions in the judges' remarks has been changed so that
it fits nicer on smaller screens (it is no longer a code block but a
list and each operator is surrounded by backticks).

The grammar provided by the author (not the code that explains it but
the grammar) now also fits on smaller screens in a nicer way by breaking
it into multiple lines.
2024-06-24 13:22:42 -07:00
Landon Curt Noll 836d5308f4 Merge pull request #2500 from xexyl/guidelines-fmt
Improvements in formatting of guidelines
2024-06-24 13:03:58 -07:00
Landon Curt Noll 4bd1916871 check for leading ASCII tabs in leading whitespace in markdown files
Given that there are no longer any ASCII tab characters within
leading whitespace in markdown files, commit XXX added a `make
tab_check` rule to the top level `Makefile`.  Moreover both `make
quick_www` and `make www` perform a `make tab_check` after running
`make clobber`.

Perform `make quick_www` to perform the above and test under macOS.

Perform `make www` to perform the above and test under macOS.
2024-06-24 12:55:43 -07:00
Cody Boone Ferguson cf62a94f8e Make another quote a blockquote in guidelines 2024-06-24 12:44:06 -07:00
Cody Boone Ferguson fb77759f03 Improvements in formatting of guidelines
There were several places where a code block was used for text that is
more like a quote (and in one case it is a quote) and these have been
converted to a blockquote.

A few links were added instead of having the link in a code block.

In a case where a paragraph was split with blank lines in between each
line (with the '|' marker at each line) I added a <br> to it so that it
looked more natural.

With the recent changes to this file and the rules file more checks have
to be made as well.
2024-06-24 12:35:24 -07:00
Landon Curt Noll 7712db4a17 Expand all leading tabs in markdown files
Given how problematic leading tabs in markdown files can be,
we have expanded all leading tabs in markdown files by:

```sh
find * -type f -name '*.md' -print |
  while read -r file; do
    rm -f "$file.tmp" ;
    expand < "$file" > "$file.tmp" ;
    mv -f -v "$file.tmp" "$file" ;
  done
```

Given the previous changes to `bin/pandoc-wrapper.sh` and other recent
commits and recent pull requests, the were were **NO** changes to
any HTML files.  This is a **good thing** as the expression goes.

No there are no leading tabs in any markdown files.
A check to catch any re-introduction of leading tabs
into any markdown file is on the way.

BTW: We do not have anything against leading tabs in files,
even though we have had to deal with their impact on forming
HTML from markdown files (as well as the calc source code).
It is just that this is one of those cases where tabs conflict
(sometimes caused by people wanting to change the classic
8-space tab model) with a desired outcome.

Perform `make www` to perform the above and test under macOS.
2024-06-24 11:57:35 -07:00
Landon Curt Noll bf28cac593 Merge pull request #2499 from xexyl/guidelines-rule2
Slight format improvement to rule 2 in guidelines
2024-06-24 11:17:09 -07:00
Landon Curt Noll 3ca85c5958 Merge pull request #2498 from xexyl/stylesheet
Move blockquote rule further down in ioccc.css
2024-06-24 11:15:55 -07:00
Landon Curt Noll eb5b9ccd0f Merge pull request #2497 from xexyl/spaces-bugs-fix
Try and fix problem with bugs.html being rebuilt
2024-06-24 11:15:18 -07:00
Cody Boone Ferguson c26ad14386 Slight format improvement to rule 2 in guidelines
The '{', '}' and other chars that are referred to are now in code blocks
(surrounded by single quotes) to help make them stand out better. The
single quotes are there as depending on the person's perception (or if
they're tired or ...) the colour difference might not be enough (in fact
it's barely enough for me at this point and others are more colour blind
than I am). The block quote colour is being experimented with still,
too, so that is another reason to have the 's.

Added make gen_next rule to Makefile which builds next/index.html from
next/README.md, next/rules.html from next/rules.md and
next/guidelines.html from next/guidelines.md. The make help rule was
updated for this.
2024-06-24 06:03:37 -07:00
Cody Boone Ferguson 6102f8f893 Move blockquote rule further down in ioccc.css
There is no need to have 'blockquote' in one place and then later on in
the file '.content blockquote p'. This brings the two rules together so
one does not need to go back and forth in the file.
2024-06-24 05:08:01 -07:00
Cody Boone Ferguson 0f9d4ceee7 Try and fix problem with bugs.html being rebuilt
There were tabs in the part of the file (copy pasted in fact) that was
regenerated each time and I converted them to spaces. Doing a git add -u
and then trying to rebuild bugs.html did not seem to update the file and
since it had in the past I hope this solves the problem.
2024-06-24 04:59:06 -07:00
Landon Curt Noll 368df0d9c8 Merge pull request #2496 from xexyl/buzzard1-92 2024-06-23 16:23:00 -07:00
Cody Boone Ferguson b26a501e75 Fix format of table in 1992/buzzard.1
This took some careful editing but it now looks nice on an iPhone 14 Pro
Max and it also looks nice on a laptop (16"). In Safari responsive mode
at 500 x 100 it also looks okay which I think is pretty good. For some
macros the function line had to be split up and it might look like the
formatting is wrong in a few cases but this took trial and error to get
it to align right (or very close if not completely).
2024-06-23 13:57:49 -07:00
Landon Curt Noll 20d0b2a8d4 improve references to IOCCC rules and IOCCC guidelines
Each individual IOCCC rule has its own div tag.

References to a specific IOCCC rule is now a link.

We now use the term **IOCCC rules** more consistency when
referring to the rules.

We now use the term **IOCCC guidelines** more consistency when
referring to the guidelines.

In the **IOCCC guidelines**, we use _guideline_ when
referring to a general guideline.

Updated  **IOCCC rules** and  **IOCCC guidelines** to 2024-06-23-v28.

Added guidelines about the recent Rule 2a changes.

Improved to order of the guidelines related to Rule 2.

Added a ">" formatted quote about the iocccsize summary to the IOCCC guidelines.

Perform `make www` to perform the above and test under macOS.
2024-06-23 13:51:40 -07:00
Landon Curt Noll 02c0cd30af update the (we forgot to add) the next/rules.html too 2024-06-23 12:39:14 -07:00
Landon Curt Noll 5c2733bc24 fix rule 2a to be consistent with the FAQ :) 2024-06-23 12:38:22 -07:00
Landon Curt Noll af05374a19 change to bugs.html (again?) due to make www
Didn't this get fixed before .. or is there some deeper
problem going on here?
2024-06-23 12:35:24 -07:00
Landon Curt Noll 6537990aa5 Merge pull request #2495 from xexyl/93html 2024-06-23 11:59:36 -07:00
Cody Boone Ferguson 12b548bf8a Fixes in html files of 1993 2024-06-23 11:54:51 -07:00
Landon Curt Noll 5d93fb57b1 Merge pull request #2494 from xexyl/fmt-bugs 2024-06-23 10:55:54 -07:00
Cody Boone Ferguson 3eb1b28db2 Regenerated bugs.html
Forgot to do this after the last edit to bugs.md.
2024-06-23 10:46:29 -07:00
Landon Curt Noll 9131e6cff3 Merge pull request #2493 from xexyl/links-bugs 2024-06-23 10:44:36 -07:00
Landon Curt Noll 83dc02d5dd Merge pull request #2492 from xexyl/inabiaf 2024-06-23 10:43:17 -07:00
Landon Curt Noll 949904f8c3 Merge pull request #2491 from xexyl/tata 2024-06-23 10:41:59 -07:00
Landon Curt Noll d63dd15882 Merge pull request #2490 from xexyl/fmt-fix-bugs 2024-06-23 10:40:25 -07:00
Landon Curt Noll ee20923ab3 Merge pull request #2489 from xexyl/typo-markdown 2024-06-23 10:39:09 -07:00
Landon Curt Noll daee7160d0 Merge pull request #2488 from xexyl/stylesheet-comment 2024-06-23 10:38:55 -07:00
Landon Curt Noll bcaa43ed44 Merge pull request #2487 from xexyl/gitignore 2024-06-23 10:35:30 -07:00
Landon Curt Noll d212bda02e Merge pull request #2486 from xexyl/cmills93-gitignore 2024-06-23 10:35:03 -07:00
Landon Curt Noll 8545cb2360 Merge pull request #2485 from xexyl/westley92-fmt 2024-06-23 10:34:25 -07:00
Cody Boone Ferguson 3846496762 Add table of contents (years) to bugs file 2024-06-23 08:06:53 -07:00
Cody Boone Ferguson 81c75b0e98 Make INABIAF format consistent in index.html files
That is to say in the bugs file it will look something like:

	STATUS: INABIAF - please DO NOT fix

but as a html file it is already bold as a heading. This means there is
no need in the index.html file to have the explicit **DO NOT** as it's
in a code block and it is not consistent in what is in bugs.html. For
instance 1984/mullender had:

	STATUS: INABIAF - please **DO NOT** fix

but this meant the index.html file had the '**'s surrounding the DO NOT
which is not consistent with bugs.html.
2024-06-23 08:03:36 -07:00