Commit graph

20 commits

Author SHA1 Message Date
Bill Kendrick
df49986fab Add a FALL_THROUGH macro to compiler.h
Older gcc's don't support `__attribute__ ((fallthrough))`
(see https://sourceforge.net/u/begasus/tuxpaint/ci/e5c3cdfcf5e16a9b0fc3e7766bfea1d9c326b3ae/
"Haiku Fixes" by Luc), so adding a new macro to compiler.h
that is defined as "((void)0)" on older compilers.
2019-09-12 20:27:03 -07:00
begasus
e5c3cdfcf5 Haiku fixes 2019-09-06 13:45:56 +02:00
Bill Kendrick
7938480174 Clean up GCC warnings (2019-08-29 edition)
Updated most parts of the code that were throwing warnings in GCC.
2019-08-30 00:01:00 -07:00
Bill Kendrick
4e3a9fbc8c Re-ran indent on .c files
Also, added a few places where indent is disabled
(via `/* *INDENT-OFF* */`).

See https://sourceforge.net/p/tuxpaint/mailman/message/36077409/
from Oct. 2017.
2019-04-13 12:00:44 -07:00
Bill Kendrick
717b13a866 Correct im.c compiler warnings
* Don't ignore a fscanf()'s output.
 * Rewrite some increment/roll-overs to avoid, e.g.
   src/im.c:1193:18: warning: operation on ‘cm.section’ may be undefined [-Wsequence-point]
        cm.section = (++cm.section % SEC_TOTAL);  /* Change section */
2017-10-15 14:48:31 -07:00
Bill Kendrick
0796dc924c indent im.c im.h 2017-10-15 10:58:14 -07:00
William Kendrick
e990b48de7 Large bundle of OS X tweaks by Eric P. (basis of the 10.9-compatible
pre-release made in Dec. 2013):
 * Fix OS X 10.9 issue of current directory set by Finder
   to something else than folder where app bundle resides.
 * Some Mac OS X build / project changes & updates.
 * Adjustments to Mac OS X fontconfig config file, to avoid warnings
   and make things more robust.
 * Updates to some #include's to catch up with newer library revisions.
 * Tweaks to pixel read/write on Apple.
 * Introduction of 'intprt_t' casting to avoid warnings on x64.
 * Some additional debugging output.
 * Logging stderr & stdout to /tmp/tuxpaint.log
Untested (I don't have a Mac!)
2014-03-19 23:39:17 +00:00
Albert Cahalan
3d15a468cd lots of functions made static (some had to be moved) 2009-11-22 23:17:35 +00:00
Shin-ichi TOYAMA
b04d4720ce Some debug messages were disabled for old environment which don't have
fwprintf(), such as redhat-6.x.
2008-06-27 02:35:26 +00:00
William Kendrick
0668cd3b47 Removed _APPLE_10_2_8_-related stuff. 2008-05-28 14:43:25 +00:00
Martin Fuhrer
04506fa385 Updates for 0.9.19 release. Added authorization code to permit Fontconfig files to be installed on first launch from a non-admin account. Fixed possible lockups in fullscreen mode when attempting to print. 2008-02-05 06:30:23 +00:00
William Kendrick
344492dad4 BeOS updates. 2007-12-07 00:05:45 +00:00
William Kendrick
618840c668 Fixed syntax error. 2007-11-06 15:53:15 +00:00
Song Huang
7ebd2dd782 Add Chinese Traditional IM support, Please kindly help me to inspect the codes, Thanks! 2007-11-04 12:43:01 +00:00
William Kendrick
21ea42f38f Attempting to debug/fix SDL_Pango stuff.
Added icon for Kalidescope magic tool.
Added Canada map starter.
Added Japan map starter.
Improved comments near gettext() calls to improve POT and PO files.
Regenerated PO files and POT file.
Added .cvsignore to make sure tp_magic_api.h (which is generated) isn't noticed.
2007-07-17 18:41:16 +00:00
William Kendrick
abf6a2a1bb Attempting to add Thai input method. 2007-07-08 07:27:12 +00:00
Mark K. Kim
c735e6a6b8 Crash bug due to IM fixed, variable name change. 2007-05-06 04:00:20 +00:00
Mark K. Kim
0ea24f916b Korean IM crash bug fix, add L-ALT for mode switch. 2007-04-30 04:04:39 +00:00
Mark K. Kim
cf0a8a7bee IM: unicode _string_ output support. 2007-04-27 03:43:27 +00:00
Mark K. Kim
f043a733e6 Added application-level Input Method support. 2007-04-22 04:05:23 +00:00