Commit graph

13 commits

Author SHA1 Message Date
William Kendrick
5b058ae71f Resurrecting informational options (--help, --usage, --version, --verbose-version) 2011-04-14 06:31:24 +00:00
William Kendrick
2715f918e9 Documenting mouse accessibility and onscreen keyboard options.
Normalizing those options ('-' instead of '_' in their names, like other opts.)
2011-04-14 06:26:45 +00:00
Pere Pujal i Carabantes
4a11638d09 Enabling accessibility and onscreen keyboard via config files and command line 2011-03-01 09:34:09 +00:00
Scott McCreary
ba4b907d49 Fixes for parse.gperf on gcc2 Haiku build (perhaps others?). 2010-06-04 01:42:54 +00:00
William Kendrick
7b31b7549d Patch collection from Volker Grabsch to help Tux Paint cross-compile for Windows:
* Solve the 'FIXME: "finddir" ...' (The trick is to use "=" instead of ":=". That way, $(beos_PREFIX) will only be evaluated when it is actually used.)
* include "shlwapi.h" instead of "Shlwapi.h" (Otherwise, compiling for Windows will fail on a case sensitive file system. (e.g. a Unix file system when cross compiling))
* use FILENAME_MAX instead of NAME_MAX (FILENAME_MAX is more portable than NAME_MAX. Also, recent MinGW versions don't support NAME_MAX anymore.)
* Exposing font_thread_aborted via extern [tweak to Volker's patch which removed a logic test, which is probably not what we want]
* include parse.h (and thus compiler.h) after <stdio.h> (This ensures that the perror() macro of compiler.h won't confuse the perror() function declaration of <stdio.h>.)
* fix another compiling error about undefined variables (The tuxpaint.c uses printcommand/altprintcommand/papersize even when they aren't defined, i.e. when libpaper is not used. This patch solves the issue by using "#ifdef PAPER_H")
* call show_available_papersizes() only when libpaper is used
* permit cross compiling by using Make variables instead of hard-coded tools

Documented scottmc's Haiku improvements.
2010-02-25 07:06:13 +00:00
Albert Cahalan
e3a971194c options working fairly well 2009-11-23 07:45:24 +00:00
Albert Cahalan
3d15a468cd lots of functions made static (some had to be moved) 2009-11-22 23:17:35 +00:00
Albert Cahalan
db4ad99ad8 lang/locale work much better now 2009-11-22 09:46:41 +00:00
Albert Cahalan
a9b8f6ea1c show_usage takes exit code, and knows what to do 2009-11-21 05:10:44 +00:00
Albert Cahalan
034d5c9fb9 empty string is no good 2009-11-21 04:58:00 +00:00
Albert Cahalan
e69985db3b report conflicting options 2009-11-21 03:39:50 +00:00
Albert Cahalan
9a00845f50 moving more code past start of font scanning 2009-11-16 08:54:48 +00:00
Albert Cahalan
667bc062f9 a parser for config files and the command line 2009-11-16 04:49:03 +00:00