Commit Graph

32 Commits

Author SHA1 Message Date
Anthony J. Bentley 5d6559f15f Remove nonstandard <err.h>.
This provides some really nice functions, but does not exist in some
environments (particularly MinGW).
2011-12-02 01:23:23 -07:00
Anthony J. Bentley b1a2c664a9 Revert use of system exit codes.
While well‐intentioned, in practice this hurts portability and
really, nobody checks the return codes anyway.
2011-06-04 21:33:03 -06:00
Anthony J. Bentley 009ac34f32 Remove unnecessary comments from manpage sources 2011-04-10 00:15:35 -06:00
Anthony J. Bentley 9a9d071024 Oops: remove escape that was keeping manpage date from being parsed 2011-04-10 00:12:19 -06:00
Anthony J. Bentley 114871d46d Move manuals to the main source directories. 2010-12-22 14:23:35 -07:00
bentley 7293da9084 fix some error messages: err() instead of errx(strerror()) 2010-02-17 18:28:03 -07:00
bentley 5302f36d38 rgblib: improve file open error message 2010-01-18 16:27:42 -07:00
bentley c6fb526a88 if module name is too long, error out rather than silently truncate 2010-01-17 16:26:46 -07:00
bentley a3eb287044 rgblib: fix usage information, make it match the rest of rgbds 2010-01-17 15:35:02 -07:00
bentley f4a56de4df remove unused variable 2010-01-17 15:32:35 -07:00
bentley def4f61d5a rgbfix: juvenile mistake. Make last commit work the way it should 2010-01-17 15:31:13 -07:00
bentley 7d6fac9c00 rgblib: use full commands instead of letters ("add" instead of "a") 2010-01-17 15:28:28 -07:00
bentley e25d69e976 rgblib: return EX_USAGE for usage-related errors 2010-01-15 19:44:46 -07:00
bentley 35af90723b fix implied declaration warning 2010-01-15 17:11:06 -07:00
bentley 24c1613f06 remove mswin-type define -- this is UNIX 2010-01-15 16:35:10 -07:00
bentley 913e9c9e4f rgblib: use errx() for error messages 2010-01-15 16:29:20 -07:00
bentley dc390e8c1f and rename xlib to rgblib 2010-01-15 12:44:46 -07:00
anthony a014537837 reran indent (whitespace changes)
Merging lai's source with this one is very irritating because
they have different indentation styles. I couldn't find what profile
vegard used for his version, so I used these flags (which should bring
the source close to KNF):
-bap
-br
-ce
-ci4
-cli0
-d0
-di0
-i8
-ip
-l79
-nbc
-ncdb
-ndj
-ei
-nfc1
-nlp
-npcs
-psl
-sc
-sob
2009-12-30 12:51:32 -07:00
Anthony Bentley be13e051f4 xlib: separate output between stdout and stderr (from lmod) 2009-11-08 19:28:59 -07:00
Vegard Nossum f81bcc722a build: merge everything to a single top-level Makefile
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 10:08:32 +02:00
Vegard Nossum a216855093 Move src/asmotor.h to top-level include/
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 09:29:07 +02:00
Vegard Nossum 618082bcab lib: move includes to include/lib/
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 09:18:21 +02:00
Vegard Nossum 3c82b1ae03 Fixed warnings and some style issues
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 08:51:55 +02:00
Vegard Nossum b6c749ffbd Run `indent' on the whole tree
Can't indent the .y files yet, they need special treatment.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 07:59:46 +02:00
Vegard Nossum 660f5daac3 Add .gitignore files
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 07:40:13 +02:00
Vegard Nossum 94fad97aed Switch line terminators from CRLF to LF
Argh, that obnoxious platform again... ;-)

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 07:32:12 +02:00
Vegard Nossum 0d9739535e Use spaces instead of tabs after CPP directives
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 07:26:46 +02:00
Vegard Nossum 0ce5efb3c5 build: remove obsolete objs* directories
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 07:17:03 +02:00
Vegard Nossum c0a9cf79a3 lib: improve Makefile
Make object files explicit and add "clean" target.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 07:07:17 +02:00
Vegard Nossum e12cb95079 build: rip out obsolete makefiles for obsolete platforms
We don't support DOS/Win32, so these are not needed anymore...

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 06:58:39 +02:00
Vegard Nossum c31b87b16a lib: make xlib compile on Linux
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 06:55:26 +02:00
Vegard Nossum b53e170781 Make all file names lowercase
This fixes a zip/platform artifact.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 06:25:27 +02:00