Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add one i saw on irc today | pooka | 2010-11-25 | 1 | -0/+6 | |
| | ||||||
* | Avoid undefined behavior, from Chris Spiegel in PR 43860. | dholland | 2010-09-26 | 1 | -3/+3 | |
| | ||||||
* | Rework the game startup so it uses curses nicely. There are now menus | dholland | 2010-08-06 | 7 | -200/+1125 | |
| | | | and stuff for picking scenarios and ships and all that. | |||||
* | Don't define esc-[ as a custom key sequence because it steps on vt | dholland | 2010-08-06 | 1 | -3/+5 | |
| | | | function keys. | |||||
* | Fix some additional typos/grammar slips. | dholland | 2010-05-29 | 1 | -6/+6 | |
| | ||||||
* | Fix dog-Latin. The plural of wumpus could be wumpi, wumpus, or even wumpora, | dholland | 2010-05-29 | 1 | -5/+5 | |
| | | | but not 'wumpii'. Where does this -ii crap come from? | |||||
* | Follow the Fundamental Theory of Algebra. Disallow factorising of | joerg | 2010-05-15 | 2 | -14/+10 | |
| | | | | | | | | numbers less than 2 as it is not - naturally unique (negative numbers) - finite (0) - non-empty (1) Discussed with the kristaps and wiz | |||||
* | \\ -> \e | joerg | 2010-05-14 | 1 | -2/+2 | |
| | ||||||
* | cast isblank(3)'s argument to unsigned char. | tnozaki | 2010-05-13 | 3 | -9/+9 | |
| | ||||||
* | rename pollard_pminus1->pollard_rho for consistency | drochner | 2010-04-28 | 1 | -8/+6 | |
| | ||||||
* | -Fix an old bug in the "pollard" code: it gets its argument passed | drochner | 2010-04-27 | 1 | -28/+59 | |
| | | | | | | | | | | | | by reference, and changes the value behind the pointer under some circumstances (basically if it finds more than 2 different factors). It also calls itself if it finds a factor which is not considered prime (by openssl's miller-rabin check) and uses the call argument afterwards. This doesn't work -- we need to copy the argument into its own storage. -Modify the code to do the "rho" algorithm as was initially announced. It takes somewhat longer in rare cases, but still works in cases where the "p-1" algorithm is unusable. This might fix PR misc/43192 by Luiz Henrique de Figueiredo. -Add some optional debug support, minor cleanup. | |||||
* | Document the options that actually exist, instead of some other | dholland | 2010-04-24 | 1 | -25/+25 | |
| | | | completely unrelated set. Bump date. (first time since 1993!) | |||||
* | Handle the "diedtime" field of the player log (which is not the high | dholland | 2010-04-24 | 1 | -4/+7 | |
| | | | | | | scores file, the append-only log of all games) as int32_t instead of time_t. Log files from before the 64-bit time_t change can now be read again; however, log files from the last year of -current are hosed. All none of you who play larn, take note... | |||||
* | fflush the score file while signals are blocked to decrease the chance of | dholland | 2010-04-24 | 1 | -2/+3 | |
| | | | it getting corrupted. | |||||
* | fix an obvious flaw in bounds check: the array of precomputed primes | drochner | 2010-04-22 | 1 | -4/+5 | |
| | | | | | could be overrun if its last entry (65537) was a factor of the input (this does not affect PR misc/43192 -- the factors are much larger here: 7742394596501*159455563099482401) | |||||
* | Add backslash before a dash to get a minus. | wiz | 2010-04-22 | 1 | -3/+3 | |
| | ||||||
* | Sync with reality. Bump date. | dholland | 2010-04-22 | 1 | -11/+27 | |
| | ||||||
* | handle ctime returning NULL. | christos | 2010-04-04 | 1 | -5/+12 | |
| | ||||||
* | ctime can return NULL. | christos | 2010-04-02 | 1 | -5/+9 | |
| | ||||||
* | fix typo. | christos | 2010-04-02 | 1 | -3/+3 | |
| | ||||||
* | handle ctime returning NULL. | christos | 2010-04-02 | 1 | -6/+3 | |
| | ||||||
* | remove #ifdef SVR4 | dholland | 2010-03-29 | 2 | -12/+4 | |
| | ||||||
* | Some improvements to the new UI. | dholland | 2010-03-29 | 3 | -19/+45 | |
| | ||||||
* | reorg for clarity and exposition. | dholland | 2010-03-29 | 1 | -30/+37 | |
| | ||||||
* | Better user interface. From OpenBSD, written by Paul Janzen quite a | dholland | 2010-03-29 | 4 | -61/+258 | |
| | | | long time ago. A few minor adjustments by yours truly. | |||||
* | Spell "versus" right. | dholland | 2010-03-29 | 1 | -10/+10 | |
| | ||||||
* | Allow saved game filenames up to PATH_MAX. From OpenBSD. | dholland | 2010-03-29 | 1 | -6/+8 | |
| | ||||||
* | fix quote markup, spotted in openbsd diffs | dholland | 2010-03-29 | 1 | -5/+14 | |
| | ||||||
* | Fix typo. From OpenBSD. | dholland | 2010-03-29 | 1 | -2/+2 | |
| | ||||||
* | Don't exit(0) on failure. Use errx() instead of fprintf. | dholland | 2010-03-29 | 1 | -4/+4 | |
| | ||||||
* | rename text() to wrtext(), aligning it with most other output routines, | mrg | 2010-03-22 | 7 | -38/+38 | |
| | | | | | and avoiding a compile error on powerpc64. XXX: this tries to make a ".text" symbol, which already exists... | |||||
* | Latin police: use proper conjugation. | dholland | 2010-02-16 | 2 | -2/+2 | |
| | | | (whether the rest of the affected fortune is valid either is debatable) | |||||
* | When using -lcurses, you also need -lterminfo. | he | 2010-02-06 | 17 | -51/+51 | |
| | | | | This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies. | |||||
* | Userland now builds and uses terminfo instead of termcap. | roy | 2010-02-03 | 20 | -425/+241 | |
| | | | OK: core@, jdc@ | |||||
* | Close file when finished with it. Found by cppcheck. | wiz | 2010-01-17 | 1 | -2/+3 | |
| | ||||||
* | Simplify alloc() to avoid ifdef(LINT) workaround. | wiz | 2010-01-17 | 1 | -26/+4 | |
| | ||||||
* | Close two file descriptors after using them. Found by cppcheck. | wiz | 2010-01-17 | 1 | -2/+4 | |
| | ||||||
* | The default output file extension is '.dat', not '.out'. | mbalmer | 2010-01-17 | 1 | -4/+4 | |
| | | | From Lars Nooden via OpenBSD. | |||||
* | Use .%U instead of .%O for URLs. | joerg | 2010-01-15 | 1 | -2/+2 | |
| | ||||||
* | Christos points out that usage should not use errx, but should use | dholland | 2010-01-03 | 1 | -3/+5 | |
| | | | getprogname. | |||||
* | New sentence, new line. | wiz | 2010-01-01 | 1 | -11/+13 | |
| | ||||||
* | Adjust SYNOPSIS for cfscores to better match reality. Note in BUGS | dholland | 2010-01-01 | 1 | -3/+6 | |
| | | | | that the score file isn't portable. Bump date (first time since 1993, and first in 2010...) | |||||
* | Split struct betinfo into its own header file so it can be shared | dholland | 2010-01-01 | 3 | -25/+50 | |
| | | | between canfield and cfscores, instead of copy-pasted. | |||||
* | Use NULL instead of 0 for pointer tests. Remove an unnecessary cast. | dholland | 2010-01-01 | 1 | -6/+6 | |
| | ||||||
* | Send error messages to stderr. Use errx/warnx, not printf. | dholland | 2010-01-01 | 1 | -9/+6 | |
| | ||||||
* | Correct usage message. | dholland | 2010-01-01 | 1 | -3/+3 | |
| | ||||||
* | Fix math notation, from PR 41547. While here, fix some potential tab | dholland | 2010-01-01 | 1 | -2/+3 | |
| | | | damage in the same fortune. | |||||
* | Hide the cursor during the game. | ahoka | 2009-12-19 | 1 | -2/+10 | |
| | ||||||
* | Fix bad merge. (SUBDIR= != SUBDIR +=) | matt | 2009-12-14 | 1 | -2/+2 | |
| | ||||||
* | Conditionalize some build directories by ${MKCXX}. | uebayasi | 2009-12-14 | 1 | -2/+8 | |
| |