418 Commits
Author SHA1 Message Date
Cody Boone Ferguson de1100d7db Fix John Dalbec URL
In the case of 1996/dalbec/README.md the file was format fixed as well.
This has not been done yet with 2004/jdalbec/README.md but will in time.

The winners.html and tmp/winners.csv files have been updated as well.
2023-04-18 11:33:33 -07:00
Cody Boone Ferguson b4e480a7cf Detoxify Stephen Sykes (remove drug link) :-)
Sound crazy? That's because it is! The URL is no longer owned by Stephen
and instead it's a marijuana dispensary in Canada. That's right. The
IOCCC has been endorsing drugs for some years now! :-) (or maybe it's
:-( ? :-) ).

Used Internet Wayback Machine link instead.

Updated the CSV files, the winners.html files and all the relevant
README.md files.
2023-04-17 11:49:51 -07:00
Cody Boone Ferguson ab95f58f86 Further update 2004/sds/.gitignore 2023-04-17 10:00:19 -07:00
Cody Boone Ferguson a4bcedf6c3 Update 2004/sds
Updated try section (updated .gitignore for this).

Updated Makefile to let encoder.c compile (that's the generated file)
via make.

Format fixes and typo fixes.

Add INABIAF to bugs.md and the README.md file about this entry (the
generated code).
2023-04-17 09:56:58 -07:00
Cody Boone Ferguson 9e323d8392 Remove colon at end of award in README.md files
As in

    sgit -e '1s/:$//g' '*README.md'
2023-04-11 08:43:41 -07:00
Cody Boone Ferguson 4bf3f302cb 'comments' -> 'remarks' in all README.md files
As in

    sgit -e 's/\([Aa]uthor.*\)comments/\1remarks/g' -e 's/\([Jj]udge.*\)comments/\1remarks/g' '*README.md'
2023-04-10 11:01:39 -07:00
Cody Boone Ferguson 274e91aacd Fix Mark Schnitzius's URL in README.md files
As noted in commit 3958bbdb04:

    Updated URL for author as it has changed. It's very little on his
    page and the only page that suggests it is his is the ioccc.html
    page. I couldn't find anything else.
2023-04-10 06:40:59 -07:00
Cody Boone Ferguson a2802c7667 Update 2004/.gitignore
Some files that are generated were not being ignored. I note that the
configure script (from running make at the 2004/hibachi directory) does
cd build ; make but nothing is to be done and it seems to have been
compiled anyway (removing the file build/hibachi first confirms this).
But whether that's a problem or not I don't know.
2023-04-06 05:15:36 -07:00
Cody Boone Ferguson e09f677b37 Mass typo fix (all README.md and Makefiles)
As in

    sgit -e 's/the terms this license/the terms of this license/g' '*/Makefile' '*/README.md'
2023-04-02 09:27:13 -07:00
Cody Boone Ferguson e805f41d34 Mass fixes to headers in README.md files
There were many many README.md files with the wrong heading level for
different sections. These have been changed.

To help go through the changes it should be noted I used sgit and also
here is what is changed:

The 'Try', 'To build' and 'To run' lines have two '#'s. Some had one and
others had three.

An exception is that in 1984/anonymous/README.md for the alternative
code that had three '#'s. This is not consistent yet and it might be
that only two are desired. But for now that one at least has three.
2023-03-31 06:43:59 -07:00
Cody Boone Ferguson 3865049bde Format and typo fixes in several README.md files 2023-03-28 05:28:46 -07:00
Landon Curt Noll 350da723cc improve architecture and Optimization comments in Makefiles 2023-03-26 22:13:13 -07:00
Landon Curt Noll 1ce40b273d fix alt rules in Makefiles
For Makefiles that have alt related rules, moved
the related rules under the alt rule section.

In some cases where there is no alt code,
removed alt rules and/or targets.
2023-03-26 21:48:48 -07:00
Landon Curt Noll 91fa6e994f fix .gitignore for 2004/kopczynski 2023-03-26 21:04:53 -07:00
Landon Curt Noll 1c35dc3b47 make everything true :-)
Add @${TRUE} as an action for the everything rule in Makefiles.
2023-03-26 20:47:04 -07:00
Landon Curt Noll e42d7484cd trim comments and update 133t hacker rulz in Makefiles 2023-03-26 20:24:16 -07:00
Cody Boone Ferguson 655815769b Update 2004/anonymous/.gitignore
Add image file generated by suggested command.
2023-03-26 06:50:57 -07:00
Landon Curt Noll 1b1dd2f2e4 put all README.md files under CC BY-SA 4.0 License
This will make is easier for others to share README.md
files while requiring them to attribute the file
when using it.
2023-03-26 02:58:27 -07:00
Landon Curt Noll ea1806abdb change Makefiles to look under X11_INCDIR and X11_INCDIR/X11 2023-03-26 02:22:49 -07:00
Landon Curt Noll 8cd2aa85c1 clean up and improve end of Makefile rules 2023-03-26 02:02:31 -07:00
Landon Curt Noll d04e6d8f03 remove X11_LIBDIR and X11_INCDIR setting from Makefiles
The X11_LIBDIR and X11_INCDIR values are now set in the
top level `var.mk` file.
2023-03-26 00:50:47 -07:00
Landon Curt Noll bbd18a20df improve Makefile headers
Simply the Makefile header.

Refer to the //www.ioccc.org/bugs.md URL (that will eventually exist).

Now using CC BY-SA 4.0 License to how you may share and adapt the
Makefile.
2023-03-25 23:51:14 -07:00
Cody Boone Ferguson a68a5d4d18 Many README.md files updated
Formatting and other notes. Many more need to be checked for this but I
wanted these changes out of the way of git status to try and clean my
working changes.
2023-03-24 04:40:30 -07:00
Cody Boone Ferguson 7f846a5d04 Typo fix in 2004/gavare/README.md
It referred to ./prog but in 2004 prog was not the target but rather the
winner handle was.

Updated .gitignore: add ioccc_ray.ppm which the README.md try section
refers to.
2023-03-24 04:26:36 -07:00
Cody Boone Ferguson 601596d1be Remove duplicate rules in 2004/vik2/Makefile 2023-03-22 06:38:34 -07:00
Cody Boone Ferguson c8c1dd403d 2004/burley compiles with clang + try fixing it
main() had one arg, a char *, and this is against clang requirements.

There was no inclusion of setjmp.h and so the longjmp() function
implicitly returned int and was allowed to take the wrong number of
args. It should return void however and this caused a problem with
binary expressions. The comma operator has been used for this but it
might be a problem in that by having ,1 after each it will make
expressions that could turn out to be false to be incorrect.

The longjmp() was being called with one arg which was an element of an
int[4][1000]. This is obviously incorrect but at some point it worked.
Without the prototype this is not a problem but both before (gcc) and
after the compiler fix (with gcc and clang) it did not work with linux
(in this case fedora) or macOS. The code as it now stands has the same
problem as it did before the compilation fix: it lets you input a bet
but then it does not accept any input after that; it prints nothing more
but it should print a new hand. This issue has been put in bugs.md.

My guess (in my tired head) is it has to do with the abuse of the
longjmp() and/or the comma operator making the expressions always 1 (at
least that side of the expression, thus if it gets to the longjmp() part
it will always be 1). Perhaps it should be ,0? I don't know but I might
try that next (I would guess it should be whatever an implicit int would
return without a return statement but that's just a guess). But given
that it stops working at the same spot perhaps it's not the comma
operator. Maybe the function needs to be broken up into several but I
don't know and that might or might not be worth the effort.

Finally it returned main() itself but now it returns poke() which has
the body of what main used to be.

See bugs.md for more details.
2023-03-22 06:30:03 -07:00
Cody Boone Ferguson e1cb96107d Further fix 2004/newbern
Landon and I both individually fixed it to work with clang. It appears
that both work just as well but I made it so that the argv (now ll, was
l) in main() is not the name of a function that is defined earlier in
the file. Although Landon's fix worked this felt like a better idea
especially as it seems like the argv he made was not referenced in
main() but it should be.
2023-03-22 03:52:23 -07:00
Landon Curt Noll 3ab7b300fc fix top level Makefile for 2004 2023-03-21 22:17:53 -07:00
Landon Curt Noll 5213854070 fix Makefile, README.md and .gitignore for 2004/vik2 2023-03-21 22:16:26 -07:00
Landon Curt Noll d5d41c4bc7 fix Makefile and README.md for 2004/vik1 2023-03-21 22:09:35 -07:00
Landon Curt Noll 319a2cc31d fix Makefile and README.md for 2004/sds 2023-03-21 22:05:17 -07:00
Landon Curt Noll ececae490e fix Makefile and README.md for 2004/schnitzi 2023-03-21 22:00:05 -07:00
Landon Curt Noll afc233f95b fix Makefile and README.md for 2004/omoikane 2023-03-21 21:55:20 -07:00
Landon Curt Noll 3b238069e4 fix Makefile, README.md and code for 2004/newbern 2023-03-21 21:51:24 -07:00
Landon Curt Noll 49630a3dc0 fix Makefile and README.md for 2004/kopczynski 2023-03-21 21:32:43 -07:00
Landon Curt Noll f4449fbe07 fix Makefile, README.md, .gitignore and code for 2004/jdalbec 2023-03-21 21:28:30 -07:00
Landon Curt Noll 107dda6c85 fix Makefile and README.md for 2004/hoyle 2023-03-21 21:03:53 -07:00
Landon Curt Noll 82376d4fc4 improve 2004/hibachi
Instead of hiding the source code in an opaque compressed
tarball, we copy a src tree into a build tree.

Improved Makefile, .gitignore and README.md as well.
2023-03-21 20:56:17 -07:00
Landon Curt Noll f31bfe0bc8 improve Makefile, README.md, .gitignore, code, bugs.md for 2004/gavin 2023-03-21 18:20:17 -07:00
Landon Curt Noll d14db83b18 fix Makefile and README.md for 2004/gavare 2023-03-21 17:11:37 -07:00
Landon Curt Noll b15be71544 fix Makefile and README.md for 2004/burley 2023-03-21 17:05:11 -07:00
Landon Curt Noll 350466ddc2 fix README.md for 2004/arachnid 2023-03-21 17:00:58 -07:00
Landon Curt Noll 36513cbf78 fix Makefile and README.md for 2004/anonymous 2023-03-21 16:58:44 -07:00
Landon Curt Noll 5aef5f85e9 remove orig code from 2004/newbern 2023-03-08 01:38:12 -08:00
Landon Curt Noll 758dfe1034 fix how alt code is used in 2004/kopczynski 2023-03-08 01:30:55 -08:00
Landon Curt Noll ccf87688b2 fix how alt code is used in 2004/hoyle 2023-03-08 01:24:11 -08:00
Landon Curt Noll bc4a0cf320 remove orig code from 2004/burley 2023-03-08 01:16:40 -08:00
Landon Curt Noll 0dab89f653 remove orig code from 2004/arachnid 2023-03-08 01:12:46 -08:00
Landon Curt Noll f615bba21e undo intermediate Makefile changes of 1996 to 2020
The commit 00ae59cd47 had a
mistake that introduces changes to Makefiles for 1996 thru 2020
that should not have been included.

This change reverses these intermediate changes until
the given year's Makefiles are ready.
2023-02-26 23:31:00 -08:00
Landon Curt Noll 00ae59cd47 fix 1995 Makefile comment line 2023-02-26 21:52:15 -08:00