Commit graph

26 commits

Author SHA1 Message Date
Bill Kendrick
91505fae8e Debug output clean-up
Wrapped some debug output in "#ifdef DEBUG" tests,
and made sure some warnings and errors were going to
STDERR, rather than STDOUT.

Motivation: Less noise while launching/using Tux Paint,
unless it matters.
2020-04-02 22:15:13 -07: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
Mark K. Kim
472bf79bb9 Trying again... 2017-11-27 01:02:41 -05:00
Bill Kendrick
e9447f8c3b indent onscreen_keyboard.c onscreen_keyboard.h 2017-10-15 10:59:50 -07:00
Pere Pujal i Carabantes
eeb27ad2ef Correct usage of wcsncmp function. 2016-10-06 21:28:01 +00:00
Pere Pujal i Carabantes
5b8fa21f49 Closing files in onscreem keyboard. 2014-06-04 20:54:26 +00:00
Pere Pujal i Carabantes
0bf00690ff Removing old code that leaked. 2014-05-21 21:23:00 +00:00
William Kendrick
19f5adaf4d Cleaning up some OSK code to avoid leaking so much memory.
Note: Planning to make keyboards load once, rather than every
time a switch happens.
Some other memory leak fixes.
2014-04-23 08:20:50 +00:00
Pere Pujal i Carabantes
25e582c438 Removing unused stuff. 2014-04-20 23:19:55 +00:00
Shin-ichi TOYAMA
a04319ed57 Fixed OSK crash. 2014-04-20 08:09:00 +00:00
Pere Pujal i Carabantes
1dbe751b4e Using PNGs as symbols in some onscreen keyboard keys. 2014-03-31 13:50:23 +00:00
William Kendrick
ff020525ef * Corrected some onscreenkeyboard.c malloc()s that didn't account for the size
of the objects being malloc'd; caused crashes with default layout!
* Wrapped some onscreenkeyboard.c printf()'s in #ifdef DEBUG
* Tweaked some formatting of onscreenkeyboard.c
2014-03-30 20:18:36 +00:00
William Kendrick
efd8d14585 A few tweaks (including wrapping stuff in #ifdef __APPLE__) to make sure
stuff still compiles under Linux, after applying Eric P.'s OSX changes.
2014-03-20 00:11:52 +00: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
Pere Pujal i Carabantes
ebbf69b1d5 The 2 first entries of the us keymap where duplicated 2012-11-13 07:31:02 +00:00
Pere Pujal i Carabantes
50b0e70eac Onscreen keyboard for Win32 2012-03-21 20:34:07 +00:00
Pere Pujal i Carabantes
668d453b3a Trying to compile for Win32. 2011-12-08 23:18:44 +00:00
Pere Pujal i Carabantes
4c76598cb0 Some less warnings and not crashing when freeing. 2011-12-01 23:21:45 +00:00
Pere Pujal i Carabantes
5a85cef991 Tweaking onscreen keyboard. 2011-11-14 20:54:15 +00:00
Pere Pujal i Carabantes
010f81cca3 Showing the letters/symbols that will be produced in the onscreen keyboard. 2011-11-09 12:23:39 +00:00
Shin-ichi TOYAMA
af54c494fe uint -> unsigned int 2011-10-10 05:28:14 +00:00
Pere Pujal i Carabantes
010eb89fe8 Was losing uncommited text when quitting.
Freeing onscreen keyboard stuff, buttons for changing the keyboard are btnoff if disable change is active.
2011-09-30 15:59:47 +00:00
Pere Pujal i Carabantes
ca6d9ce760 Buttons to change the onscreen keyboard layout now are purple. 2011-09-05 23:11:09 +00:00
Pere Pujal i Carabantes
15273cdd29 Adding an option to select the initial onscreen keyboard layout, adding an option to disable changes between layouts 2011-09-04 22:35:24 +00:00
Scott McCreary
e6ec173371 Fixed build for gcc2.95.3. 2011-09-02 17:55:20 +00:00
Pere Pujal i Carabantes
f14872a133 Rewrited of onscreen keyboard. Uses 2 files from xorg and now it can change between layouts. 2011-09-01 22:08:09 +00:00