Commit Graph

3155 Commits

Author SHA1 Message Date
anthony
0bc88ce7f7 Add an optional value parameter to -p (lmod) 2009-12-30 13:58:06 -07:00
anthony
d8070a10eb run indent on header files (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:59:36 -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
ddd7fdac01 finish fixing segfault (probably caused by argv[] craziness)
this diff brought to you by lmod
2009-12-30 00:16:56 -07:00
anthony
e5ac9c2cd8 partially fix segfault when run with options but no input file
(caused by fclose()-ing an unopened file)
2009-12-30 00:08:25 -07:00
anthony
5e9c2ee2ab finish moving src/rgbfix/ to src/fix/ 2009-12-29 23:39:06 -07:00
anthony
819615549f move src/rgbfix/ to src/fix/ for consistency 2009-12-29 23:19:47 -07:00
Anthony Bentley
b6a50a3afc added -q to the documentation 2009-11-08 21:27:15 -07:00
Anthony Bentley
db0667e54e added a command line option -q for quiet mode (suppresses messages except errors) (lmod) 2009-11-08 20:28:24 -07:00
Anthony Bentley
b7ca2e2b87 rgbfix: add warning function, separate output between stdout and stderr (lmod) 2009-11-08 19:49:02 -07:00
Anthony Bentley
be13e051f4 xlib: separate output between stdout and stderr (from lmod) 2009-11-08 19:28:59 -07:00
Anthony Bentley
46c131bc86 more HTML formatting gunk 2009-11-08 18:47:28 -07:00
Anthony Bentley
42007c5c92 remove HTML formatting gunk from a lot of the docs 2009-11-06 23:01:00 -07:00
Anthony Bentley
e1f5352ba5 makefile now works with BSD make 2009-11-06 18:37:47 -07:00
Anthony Bentley
8cbc2f4471 use ${CC} and ${YACC} instead of hardcoded programs 2009-11-06 14:59:16 -07:00
Anthony Bentley
8fd364a1a6 document partial binary includes 2009-09-12 18:53:03 -06:00
Anthony Bentley
6c1dd85c9a add support for partial binary includes (from lmod00) 2009-09-12 18:46:08 -06:00
Anthony Bentley
7d0dd140c3 create stylesheet and link to it
Created a simple stylesheet, linked to it, and removed body color
attributes defined there. This reduces repetition and separates
style and presentation.
2009-09-12 17:49:54 -06:00
Anthony Bentley
171061f3a3 Replaced needless anchors with IDs 2009-09-12 17:10:31 -06:00
Anthony Bentley
cd2e59fc8c converted DOS linebreaks to UNIX 2009-09-12 16:47:49 -06:00
Anthony Bentley
3eb060b017 HTML4 Transitional doctype
This is so the HTML can be made simpler later on.
2009-09-12 16:14:08 -06:00
Anthony Bentley
1c734a015d correct error in documentation 2009-09-12 06:40:24 -06:00
Anthony Bentley
792fb5ef94 Put in the original license 2009-09-11 22:45:47 -06:00
Anthony Bentley
c0031dad51 use [b]yacc instead of bison by default
This is scratching my own itch--OpenBSD has byacc in the base
distribution, whereas bison is another program to install.
2009-09-11 22:01:49 -06:00
Anthony Bentley
50a8bbd414 Make grammar specifications yacc-compatible 2009-09-11 21:40:39 -06:00
Vegard Nossum
74eea59208 build: figure out git revision and include as part of version string
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 10:24:12 +02:00
Vegard Nossum
98810091da build: split cflags to its own variable
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 10:10:12 +02: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
3ce06cd424 Added a README file
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 09:53:33 +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
afe33e1162 link: move includes to include/link/
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 09:22:49 +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
cd779b9511 asm: moved includes to include/asm/
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 09:14:19 +02:00
Vegard Nossum
26150fa9d4 asm: add newlines to the ends of yaccprt[134].y
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 09:05:39 +02:00
Vegard Nossum
85f382ffad asm: run dos2unix on yaccprt1.y
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 09:03:53 +02:00
Vegard Nossum
c6d8069eed rgbfix: use mkstemp() instead of tmpnam() and fix coding style issues
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 08:59:03 +02:00
Vegard Nossum
bc6b2fe005 link: add missing parameter to error message
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 08:53:18 +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
0b65d01289 build: add top-level Makefile
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 07:11:30 +02:00
Vegard Nossum
1a98f20535 rgbfix: improve Makefile
Make object filename explicit and add "clean" target.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 07:10:44 +02:00
Vegard Nossum
322a0b05d8 link: improve Makefile
Make object filenames explicit and add "clean" target.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 07:09:27 +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
48c34238eb asm: improve Makefile
Make the generated object files explicit and add a "clean" target.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 07:04:47 +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
8a7adf4c3b rgbfix: make rgbfix compile for Linux
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-06-11 06:57:16 +02:00