Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-15 | Fix fortune underlines and use the right number of underscores in Notes. | Anthony J. Bentley | |
ok sthen@ | |||
2018-08-24 | During our refactor with tedu@ tb@ and myself we moved the score file to the | Ricardo Mestre | |
user's home folder and setgid was removed. Therefore it's not possible to have a single score file with all the users anymore but we forgot to change a comment that still implied that. Suggested by tb@ to just delete the comment. | |||
2018-08-24 | Remove a few too early pledge(2)s on games/ and apply them a little bit later | Ricardo Mestre | |
but with much reduced permissions ("stdio tty" if ncurses based and "stdio" for the ones that only perform basic operations). There's still a few games that we cannot yet remove their fs access, through pledge(2), since they open files on demand and too late, this might get revisited in the future. OK tb@ | |||
2018-08-23 | reduce pledge(2) to "stdio tty" after ncurses initialization. robots(6) uses a | Ricardo Mestre | |
scorefile nevertheless an fd is opened way in advance and therefore we can disable any further access to the filesystem. OK tb@ | |||
2018-08-23 | reduce pledge(2) to "stdio tty" after ncurses initialization. | Ricardo Mestre | |
OK tb@ | |||
2018-08-09 | The game is playable without the need to access any files therefore we can | Ricardo Mestre | |
effectively disable all fs access by dropping "rpath wpath cpath" from pledge(2) right at the beginning of the program. "looks right" tb@ | |||
2018-08-06 | Drop "rpath" from pledge(2) after ncurses initialization. | Ricardo Mestre | |
Discussed with and OK tb@ OK cheloha@ on previous version | |||
2018-08-05 | remove duplicate installation of the SIGINT handler; | Ingo Schwarze | |
from Martin Kopta <martin at kopta dot eu> | |||
2018-04-25 | Use a NUMKEYS macro instead of magic and use a more familiar idiom | Theo Buehler | |
in for loops. ok stsp, bcallah | |||
2018-02-07 | slightly reduce the difficulty of the adventure game that is reading | Ted Unangst | |
the battlestar code by reformatting a few lines. special request from mlarkin so he'll go back to fixing meltdown. | |||
2018-01-23 | Fix table wrt missing element and `, detailed analysis and diff from | Otto Moerbeek | |
David Fifield; ok tb@ | |||
2018-01-12 | apostrophe fix; | Jason McIntyre | |
2017-12-24 | Consolidate printf(3) calls at the end of main(). | cheloha | |
Makes reading the classification algorithm easier. ok tb@ | |||
2017-12-24 | Use more libm. | cheloha | |
adj360() is a modulo operation: use fmod(3) to simplify things. Adding 0.5 to the phase to steer implicit truncation is a hack: use lround(3) to simplify things. Product of a discussion with pjanzen@/jca@/tb@ regarding floating-point rounding and the importance of correctly classifying a gibbous moon. ok pjanzen@ jca@ tb@ | |||
2017-12-23 | As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3). | cheloha | |
ok tb@ jca@ | |||
2017-12-11 | The code can be simplified by using clock_gettime(2)'s CLOCK_REALTIME | Theo Buehler | |
instead of gettimeofday(2). From Scott Cheloha, ok jca | |||
2017-11-25 | than -> then | Theo Buehler | |
from scott cheloha | |||
2017-11-02 | Straightforward conversion to strtonum. Slight change of behavior in that | Theo Buehler | |
trailing whitespace is no longer permitted when invoked from stdin. From Scott Cheloha. ok jca | |||
2017-10-27 | Use <elf.h> instead of <elf_abi.h> | Martin Pieuchot | |
ok jasper@, jca@, deraadt@ | |||
2017-08-15 | typo: on -> of | Theo Buehler | |
From Scott Cheloha | |||
2017-08-13 | replace gettimeofday with monotonic gettime. from Scott Cheloha | Ted Unangst | |
ok tb | |||
2017-08-10 | convert source code frequencies to match those in the man page | Ted Unangst | |
2017-08-10 | Treat backspace as printable in sanitize() for non-UTF8 locales. | Todd C. Miller | |
Fixes printing of fortunes that use a combination of backspace and underbars for underlining in non-UTF8 locales. OK schwarze@ | |||
2017-07-13 | Convert fprintf(stderr, ...) to errx/warnx (with slight change of output). | Theo Buehler | |
From Scott Cheloha | |||
2017-07-13 | Use an umlaut in Mobius and uppercase one instance of möbius visible in | Theo Buehler | |
bentley's previous commit. | |||
2017-07-13 | Convert fortunes to UTF-8 from the old "backspace punctuation" method. | Anthony J. Bentley | |
suggested by tedu, ok schwarze@ stsp@ tb@ | |||
2017-07-12 | Inspect LC_CTYPE and if it isn't UTF-8, weed out bytes that are not | Ingo Schwarze | |
printable ASCII. That makes using UTF-8 in fortune datfiles safe. Potential usefulness of UTF-8 in fortune datfiles noticed by bentley@. OK tedu@ millert@. | |||
2017-07-11 | User count checks have been compiled out since 1998, get rid of them. | Frederic Cambus | |
OK mlarkin@ | |||
2017-07-10 | remove misc. depend and yacc nits that no longer matter. | Marc Espie | |
okay millert@ | |||
2017-07-09 | have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediate | Marc Espie | |
files. This fixes up parallel builds in the default case. FreeBSD does something similar. okay millert@ | |||
2017-07-09 | Remove old junk. From Matthew Martin | Theo Buehler | |
ok bentley | |||
2017-07-07 | we're not shooting yacception | Marc Espie | |
okay millert@ | |||
2017-07-01 | missed BUILDFIRST. Allow stuff to proceed without depends | Marc Espie | |
as found by krw@ | |||
2017-06-30 | Add missing rot13 function prototype | Ricardo Mestre | |
2017-06-23 | Remove unused confirm() and datime() functions. | Frederic Cambus | |
Those functions are unused and have been compiled out since 1998, it's time to let them go. OK sthen@, tom@, mestre@ | |||
2017-06-20 | Fix a path in Makequest and remove hack.sh (it never worked). | Michal Mazurek | |
OK tb@ | |||
2017-06-19 | No need for a conditional to choose between nroff and troff. | Anthony J. Bentley | |
ok jmc@ | |||
2017-06-15 | Remove the Installation section and fix a nonexistent path. | Michal Mazurek | |
OK tb@ (fix paths diff) deraadt@ | |||
2017-06-12 | /usr/games/lib doesn't exist any more, use the new path. | Michal Mazurek | |
OK tb@ deraadt@ | |||
2017-06-12 | destroy lint remnants. | Marc Espie | |
okay millert@ deraadt@ | |||
2017-06-09 | Correct number of players, the program enforces a range from 2 to 9. | Frederic Cambus | |
OK tb@, jmc@ | |||
2017-06-04 | Use proper bool types in fortune(6). | Frederic Cambus | |
OK tb@, phessler@ (previous version) | |||
2017-06-02 | Fix an infinite loop in fortune(6). | Frederic Cambus | |
When invoking fortune with the -l option (to get long dictums only), the program gets stuck in an infinite loop because fortlen() doesn't return the fortune length correctly. OK mestre@, tb@, deraadt@, schwarze@ | |||
2017-05-31 | late game space battles require tty pledge to clear screen, etc. | Ted Unangst | |
from tomr | |||
2017-05-28 | remove some escapes that are unnecessary/harmful. ok jmc schwarze | Ted Unangst | |
2017-05-28 | remove unused macro | Ted Unangst | |
2017-05-28 | there are no bugs; i fixed them | Ted Unangst | |
2017-05-28 | if your dying scream would escape the death field, realign to stay within | Ted Unangst | |
2017-05-28 | high scores printed too far to the right, move it left a little | Ted Unangst | |
2017-05-26 | forgot to remove mention of deleted dump/restart. | Ted Unangst | |
also delete ancient todo file: Frankly, I am getting pretty sick of playing this game. Hence, the version which you get may have several bugs |