Commit Graph
5941 Commits
Author SHA1 Message Date
Cody Boone Ferguson 3659d264f5 Format fixes in 2005/vik/index.html 2024-08-29 13:16:53 -07:00
Cody Boone Ferguson ed40cc367f Format fixes in 2005/toledo/index.html 2024-08-29 13:13:57 -07:00
Cody Boone Ferguson 433281e5f6 Use canonicalised 4 spaces in .entry.json files 2024-08-29 12:59:55 -07:00
Cody Boone Ferguson e9cc8ce703 Format fixes in 2005/sykes/index.html 2024-08-29 12:47:07 -07:00
Cody Boone Ferguson 55f5005a68 Format fix 2005/persano/index.html 2024-08-29 12:38:21 -07:00
Cody Boone Ferguson b1e0bddbd0 Format fixes in 2005/mynx/index.html 2024-08-29 12:33:46 -07:00
Landon Curt Noll 81e9dd597e Merge pull request #2658 from xexyl/mikeash05-bugs
Fix bugs.html for 2005/mikeash
2024-08-29 02:48:05 -07:00
Landon Curt Noll 823caf21cf Merge pull request #2657 from xexyl/giljade05-html
Format fix 2005/giljade/index.html + update bugs
2024-08-29 02:47:14 -07:00
Cody Boone Ferguson 870d6628eb Fix bugs.html for 2005/mikeash 2024-08-28 15:25:27 -07:00
Cody Boone Ferguson 05097e41d6 Format fix 2005/giljade/index.html + update bugs 2024-08-28 15:20:08 -07:00
Landon Curt Noll 6e504407d8 Merge pull request #2656 from xexyl/boutines05
Format and link fix 2005/boutines/index.html
2024-08-28 12:24:45 -07:00
Landon Curt Noll a4adadfc25 Merge pull request #2655 from xexyl/fmt-inc-index
Format fixes/improvements in inc/index.html
2024-08-28 12:21:58 -07:00
Cody Boone Ferguson 466b295b38 Format and link fix 2005/boutines/index.html 2024-08-28 11:49:45 -07:00
Cody Boone Ferguson 13f2c2305c Format fixes/improvements in inc/index.html 2024-08-28 11:42:28 -07:00
Landon Curt Noll 265e8fdfef change variable name in bin/gen-other-html.sh
We make a simple variable name change from `OTHERMD2HTML`
to ` OTHERMD2HTML_SH`.
2024-08-27 16:40:33 -07:00
Landon Curt Noll ccc360b2fb move non-README.md HTML formation to bin/othermd2html.sh
The core of `bin/gen-other-html.sh` code that converts entry non-README.md
into HTML has been moved into a new tool: `bin/othermd2html.sh`.

The `bin/othermd2html.sh` tool will be useful to the `bin/cvt-submission.sh`
tool that is under development.

Added info about `bin/othermd2html.sh` to `bin/README.md`.

Changed `bin/gen-other-html.sh` VERSION from "1.4.1 2024-08-18"
to "1.5 2024-08-27".

HTML produced by `bin/gen-other-html.sh` now uses a "jump to" mid-bar
test now shows the `YYYY/dir/index.html` link text (with `YYYY/dir/` added).

Performed `make gen_other_html` to accomplish the above and to test under macOS.
Performed `make gen_top_html` to accomplish the above and to test under macOS.
2024-08-27 16:31:56 -07:00
Landon Curt Noll 7e567c0004 Merge pull request #2654 from xexyl/css-super-sub-script
Fix sub/superscript cover text
2024-08-27 13:28:11 -07:00
Cody Boone Ferguson 00d3a0edb2 Fix sub/superscript cover text
A problem existed where in a superscript if there is a line immediately
above it the superscript text would cover part of the line and in
subscript the same problem occurred with the line below it.

This change can possibly be improved but it now does not cover text
(though admittedly I did not test the subscript before the change, only
after, but it seems highly unlikely it was not a problem).
2024-08-27 09:21:17 -07:00
Landon Curt Noll b3656d0e6f fix help message comment about options passed
This just a simple fix of a comment in the usage message.
2024-08-26 15:58:44 -07:00
Landon Curt Noll 246ccbfb0f Merge pull request #2653 from xexyl/ta-ta-thanks
Make thanks file MUCH MORE humble and improve FAQ
2024-08-26 10:57:44 -07:00
Cody Boone Ferguson 0bcda80b28 Make thanks file MUCH MORE humble and improve FAQ
Something that has bothered me VERY MUCH for A VERY LONG TIME is that
the honour roll (under my name) was not very humble and in some respects
rather redundant. I have fixed this a great deal and improved the
readability of it too (grammar and so on).

I also added a point about fixing many entries that no longer worked and
I also did this for Yusuke Endoh too as he was responsible for fixing
numerous (at the least) entries that no longer worked (and it should be
acknowledged and honoured just as much as what I did).

The FAQ I improved is related to one of the things that is in the above,
to do with alternate code. It now explains some of the purposes of
alternate code and why (in some cases) alt code was added when it might
or might not be useful (a judgement call that invariably is not always
perfect). It notes that in many cases the alternate code comes from the
author directly.

With these changes a problem that I felt was a VERY BIG problem should
be resolved now.
2024-08-26 09:39:25 -07:00
Landon Curt Noll 3c4dcf8e9f Merge pull request #2652 from xexyl/guidelines
Add note to guidelines about forced warnings
2024-08-25 13:48:03 -07:00
Cody Boone Ferguson 7f88c03cd7 Add note to guidelines about forced warnings 2024-08-24 10:19:54 -07:00
Cody Boone Ferguson 5c5ae12dfd Note -Wno-unsafe-buffer-usage in FAQ 2024-08-24 10:18:37 -07:00
Cody Boone Ferguson d1604ac8a8 Update (edit one and add new) FAQ about warnings 2024-08-24 10:09:57 -07:00
Cody Boone Ferguson 938c906bf2 Format fixes in 2005/anon/index.html 2024-08-24 09:25:04 -07:00
Cody Boone Ferguson a4fd6665a1 Add another vi(m) swap file glob to .gitignore 2024-08-24 09:06:21 -07:00
Cody Boone Ferguson b5201c2ed1 Format fixes in 2005/aidan/index.html 2024-08-24 09:03:41 -07:00
Landon Curt Noll cbfb0439f9 add missing .PHONY to 1337.mk
Added missing install to the .PHONY line.
2024-08-23 06:49:33 -07:00
Landon Curt Noll 34fce9e725 Merge pull request #2647 from xexyl/guidelines-fixes
Various fixes in guidelines
2024-08-22 11:33:47 -07:00
Landon Curt Noll ccc982386e undo the effect of rejected PR #2645
It seems that for some reason, PR #2647 tried to drag in older
PR #2645 that was rejected.  We attempt to undo this effect
with this change.
2024-08-22 11:30:21 -07:00
Landon Curt Noll 6f4d113654 Merge pull request #2646 from xexyl/birken1314
Fix fa807fdb7f
2024-08-22 11:15:07 -07:00
Landon Curt Noll b3d865835f undo PR #2645
For some reason, PR #2646 was made on top of the code base for pr #2645.
If we accept PR #2646 as is, we perform PR #2645 that was previously
rejected.  This change is an attempt to avoid this.
2024-08-22 11:10:23 -07:00
Cody Boone Ferguson c5ddc5b7d9 Various fixes in guidelines 2024-08-22 10:45:25 -07:00
Cody Boone Ferguson 9ce778a8dc Fix fa807fdb7f
The entry that triggered the funny warning (-Wdocumentation) was not in
2013/birken but 2014/birken. Thus the -Wno-documentation was removed
from 2013/birken/Makefile and added to 2014/birken/Makefile.

With this commit I believe that every warning that can be disabled has
been disabled in some way or another, though this is with an earlier
version of clang (clang version 17.0.6 but the most recent one is,
according to its website and contrary to wiki claiming 17, 18.1.8, and I
also know that fedora linux clang had more problems).
2024-08-22 06:25:14 -07:00
Cody Boone Ferguson 71ead7e89e Fix annoying whitespace macro warning in 1993/leo 2024-08-22 06:18:00 -07:00
Landon Curt Noll 96e0f2b966 move some rules into 1337.mk
A number of rules have been moved from entry `Makefile`s into the
`1337.mk` include file to make it easier for these common rules to be
updated or modified globally (by modifying the `1337.mk` include file).

The entry level `Makefile`s are now similar in form to the
/Makefile.example](https://github.com/ioccc-src/mkiocccentry/blob/master/Makefile.example)
file from the other repo.

The following make rules were moved into the `1337.mk` include file:

- `make indent.c`
- `make install`
- `make diff_orig_prog`
- `make diff_prog_orig`
- `make diff_alt_prog`
- `make diff_prog_alt`

This simplifies the entry level `Makefile`s so that they mostly reflect
the specifics of the particular entry.

Mentioned in FAQ 4.2, that the make diff rules are in the `1337.mk` include file.

Fixed invalid TAB character in `faq.md`.

Removed `make clean` directives that removed `indent.c`.  This file is now
removed via `make indent_clean`, a clean rule that also removes `indent.c`.

Removed `make clobber` directives that removed sandwich,  This file is now
removed via `make indent_clobber`, a clean rule that also removes `sandwich`.

Added `make indent_clean` and `make indent_clobber` rules into the top level
`Makefile` and the year level `YYYY/Makefile`.

Performed `make quick_www` to accomplish the above and to test under macOS.
2024-08-21 23:42:28 -07:00
Landon Curt Noll 06ae40f99c fix clean rule examples in FAQ 0.3 2024-08-21 21:14:56 -07:00
Landon Curt Noll d6f487224a add Jump to: top below FAQ entries
We add links to jump to the top of the file at the bottom of FAQ
sections.

Improved Makefile samples for FAQ 0.3.

Performed `make faq` to accomplish the above and to test under macOS.
2024-08-21 21:04:40 -07:00
Landon Curt Noll a6d8ab24e3 Merge pull request #2643 from xexyl/ferg22020-warn 2024-08-21 12:26:46 -07:00
Landon Curt Noll 86a53f6b0b Merge pull request #2642 from xexyl/mills19 2024-08-21 12:26:04 -07:00
Landon Curt Noll 021b85ac51 Merge pull request #2641 from xexyl/adam19-warn 2024-08-21 12:24:09 -07:00
Landon Curt Noll 67ba215e9b Merge pull request #2638 from xexyl/birken13-warn 2024-08-21 12:23:29 -07:00
Landon Curt Noll e921f5ee17 Merge pull request #2637 from xexyl/zeitak12-warn 2024-08-21 12:22:37 -07:00
Landon Curt Noll ee8cc75728 Merge pull request #2636 from xexyl/kang12-warn 2024-08-21 12:22:04 -07:00
Landon Curt Noll febe8e7d38 Merge pull request #2635 from xexyl/burley04-warn 2024-08-21 12:21:11 -07:00
Landon Curt Noll 885acdcae8 Merge pull request #2634 from xexyl/bellard2001-make-warning 2024-08-21 12:20:09 -07:00
Cody Boone Ferguson 271c31820b Silence funny warning in 2020/ferguson2/recode.c
The warning is also -Wdocumentation:

recode.c:17:7: warning: line splicing in Doxygen comments are not supported [-Wdocumentation]
   17 |                            /\
      |                            ^
1 warning generated.

.. and I guess it's confused by the line splicing, actually, just like
the others as I see more clearly now, rereading the warning message as I
did not use trigraphs.
2024-08-21 10:26:47 -07:00
Cody Boone Ferguson 22e6e2be4e Silence 2019/mills in linux (clang)
The warning -Wunsafe-buffer-usage is triggered (iirc) on pretty much
every use of 'char *' and some of the previous commits also had to
silence this warning. It is triggered by clang -Weverything.
2024-08-21 10:23:53 -07:00
Cody Boone Ferguson a3c0516f9a Silence funny warning in 2019/adamovsky
The funny warning is:

prog.c:19:515: warning: line splicing in Doxygen comments are not supported [-Wdocumentation]
   19 | void X(char*f,int r){ fputs(f,stderr);exit(r);}typedef w{w* (*t) (w*x);w* (*l) (w*x,w*y);w*a;long long p;}A;h(R) {x[N-1].p++;e x;}h(Ch) ;h(Y) ;h(fA) ;d(fD) ;d(fT) ;d(fW) ;d(fCh) ;d(rA2) ;d(fA2) ;d(rY2) ;d(Y2) ;d(rS2) ;d(fS22) ;d(rD) ;d(rE) ;d(rT) ;d(rC) ;void D(A*f) {if(f&&!--f[N-1].p) {if(u(f)!=fW&&u(f)!=fCh) D(f[1].a);if(u(f)!=fT) D(f[2].a);if(u(f)!=rE&&u(f)!=rT&&u(f)!=rC) D(f[3].a);free(f);}}int ch=EOF,c;FILE*p;A T[256][2];void U(void) {do{if(c==EOF) e;if(T[c][0].t) e;if(!T[c][1].p) E;if(T[c][1].p==4) for(/**??/
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^
1 warning generated.

.. obviously confused by trigraphs.
2024-08-21 10:21:20 -07:00