summaryrefslogtreecommitdiffstats
path: root/rogue
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-053-11/+11
|
* Use PREFIX nowCameron Katri2021-03-282-5/+7
|
* Get all the games compiling for iOSCameron Katri2021-02-225-852/+16
|
* introduce some common variables for use in GCC warning disables:mrg2019-10-131-1/+3
| | | | | | | | | | | | | | | | | GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
* - add or adjust /* FALLTHROUGH */ where appropriatemrg2019-02-032-4/+6
| | | | - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
* Restore the MKGROFF=bo MKCXX=yes buildkamil2018-06-111-2/+2
| | | | | | Mark the documentation in dc(1), gprof(1), rogue(6) and fsck_ffs(8) with the .roff flag in SUBDIR. Sponsored by <The NetBSD Foundation>
* Reorg docs, part 1:dholland2014-07-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | Move all the reference manuals to subdirs of /usr/share/doc/reference. We have subdirs ref1-ref9, corresponding to man page sections 1-9. Everything that's the reference manual for a program (sections 1, 6, 8), C interface (sections 2, 3), driver or file system (section 4), format or configuration (section 5), or kernel internal interface (section 9) belongs in here. Section 7 is a little less clear: some things that might go in section 7 if they were a man page aren't really reference manuals. So I'm only putting things in reference section 7 that are (to me) clearly reference material, rather than e.g. tutorials, guides, FAQs, etc. This obviously leaves some room for debate, especially without first editing the docs with this distinction in mind, but if people hate what I've done things can always be moved again. Note also that while roff macro man pages traditionally go in section 7, I have put all the roff documentation (macros, tools, etc.) in one place in reference/ref1/roff. This will make it easier to find and also easier to edit it into some kind of coherent form.
* Rework /usr/share/doc.dholland2014-07-052-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the <bsd.doc.mk> infrastructure, and update the docs to match the new infrastructure. - Build and install text, ps, pdf, and/or html, not roff sources. - Don't wire the chapter numbers into the build system, or use them in the installed pathnames. This didn't matter much when the docs were a museum, but now that we're theoretically going to start maintaining them again, we're going to add and remove documents periodically and having the chapter numbers baked in creates a lot of thrashing for no purpose. - Specify the document name explicitly, rather than implicitly in a path. Use this name (instead of other random strings) as the name of the installed files. - Specify the document section, which is the subdirectory of /usr/share/doc to install into. - Allow multiple subdocuments. (That is, multiple documents in one output directory.) - Enumerate the .png files groff emits along with html so they can be installed. - Remove assorted hand-rolled rules for running roff and roff widgetry and add enough variable settings to make these unnecessary. This includes support for - explicit use of soelim - refer - tbl - pic - eqn - Forcibly apply at least minimal amounts of sanity to certain autogenerated roff files. - Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the build, as they now actually do stuff. Note: currently we can't generate pdf. This turns out to be a nontrivial problem with no immediate solution forthcoming. So for now, as a workaround, install compressed .ps as the printable form.
* WARNS=5dholland2013-08-113-32/+33
|
* typo in commentdholland2013-08-111-2/+2
|
* rename target paper.${PRINTER} to paper.ps -- PRINTER isnt defined anywhere!jmcneill2013-02-171-2/+2
|
* Fix misspelling of acceptible (it's only acceptable with an 'a', not an 'i').mbalmer2012-12-011-3/+3
|
* reinstate NULL cast by request, where the NULL was being passed as a varargplunky2011-09-011-3/+3
|
* NULL does not need a castplunky2011-08-311-3/+3
|
* Use __dead and __printflike instead of __attribute__.dholland2011-08-263-16/+14
|
* Kill some pointer indirections. Don't use variables as format strings.joerg2011-05-235-16/+16
|
* When using -lcurses, you also need -lterminfo.he2010-02-061-3/+3
| | | | This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies.
* Fix '=' for '==' in a test. From NAKAJIMA Yoshihiro in PR 42177.dholland2009-10-191-3/+3
|
* sprinkle staticdholland2009-08-1213-126/+136
|
* if initscr() fails, exit with a message rather than crash in thedrochner2008-08-081-3/+6
| | | next curses call
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* ANSIfy. Remove unnecessary casts. Clean up for -Wsign-compare. Make moredholland2008-01-1424-917/+634
| | | | things file-static. Other minor tidyups, and fix a couple minor bugs found along the way.
* Whitespace/KNF nits.dholland2008-01-1422-195/+198
|
* Comprehensive (or at least extensive) string handling cleanup for rogue.dholland2007-12-2721-787/+953
| | | | | | | | This patch dates (mostly) back to 2002; the critical parts of it were handled back then by security-officer. As far as I know, there's nothing exploitable fixed herein. A slightly earlier version of this patch was reviewed by Christian Biere when I filed it as PR 34750.
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-5/+5
|
* XXX: GCC uninitializedchristos2006-05-142-6/+6
|
* It's "its."snj2006-04-241-3/+3
|
* Coverity CID 2788: If no room gets returned, don't try to place a monster.christos2006-04-021-3/+3
|
* Coverity CID 2452: possible negative array index; CID 1518 and CID 1517: ↵jnemeth2006-03-301-2/+5
| | | | possible overrun of static array
* Coverity CID 1288: possible negative array indexjnemeth2006-03-301-2/+4
|
* Coverity CID 993: dereference of NULL pointerjnemeth2006-03-301-2/+3
|
* Coverity CID 1293: not checking for an error returnjnemeth2006-03-301-2/+4
|
* Coverity CID 1287: not checking for error returnjnemeth2006-03-301-2/+4
|
* Call fclose() appropriately if there is a problem with the save file.abs2006-03-171-2/+4
| | | Coverty CID 2063
* Use standard AUTHORS section header. From YOMURA Masanori in private mailwiz2005-09-151-6/+6
| | | Sort sections if necessary. Use more/better markup.
* Change marker from "pmppc" to "powerpc" because a NetBSD-macppc buildtron2005-06-091-3/+3
| | | is also affected.
* Add an initialization to placate -Wuninitialized.he2005-06-091-2/+4
| | | Marked with XXXGCC for pmppc (found while compiling for it).
* Cast last argument of execl to (char *).jsm2005-02-151-3/+3
| | | Reviewed by <hubertf>.
* Avoid arrays of incomplete types (required to build with GCC 4).jsm2005-02-151-2/+2
| | | Reviewed by <hubertf>.
* Uppercase CPU, plural is CPUs.wiz2004-02-131-2/+2
|
* Remove uses of __P.jsm2004-01-272-296/+296
|
* Don't use -fwritable-strings. Add one more const.jsm2004-01-012-4/+4
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-0726-178/+74
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Rename a large chunk of the make(1) variables which refer to alukem2003-07-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo Document all of these in bsd.README. This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
* Drop a trailing dot. From jmc@openbsd.wiz2003-04-261-2/+2
|
* The Double-Semi-Colon Police.simonb2003-01-201-3/+3
|
* Add ${MACROS} to ${ROFF} usage to make output readablepooka2003-01-051-2/+2
| | | from jbernard@mines.edu in misc/19685
* - use correctly bounded strings when reloading a saved game. in particular,mrg2002-10-014-27/+32
| | | | | | | do not let the save game file "string length" exceed the amount of space supplied. as noted by <stanojr@iserver.sk> on bugtraq. - minor KNF. tested by simonb.
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-11/+8
|
* New sentences begin on new lines.wiz2002-09-261-7/+10
| | | Patch from Richard Elz, slightly improved by yours truly.