Commit graph

924 commits

Author SHA1 Message Date
Thomas Klausner
b051ebf5df NetBSD needs fmemopen_alternative set too. 2014-08-17 09:49:53 +00:00
Shin-ichi TOYAMA
6401b3a456 Did not load system template images. 2014-08-17 03:30:37 +00:00
Pere Pujal i Carabantes
79e6da0fb6 Commenting out printf()s 2014-08-14 06:08:48 +00:00
Pere Pujal i Carabantes
b9a8a05618 More tweaking on stamps handling of fallback languages 2014-08-13 23:09:56 +00:00
Pere Pujal i Carabantes
85082b9092 LANGUAGE and env vars should work for stamps too, fallbacks should also work, also on Windows. 2014-08-04 00:02:54 +00:00
Pere Pujal i Carabantes
4313374ab0 Adding F5 as a key to emulate mouse clicks. Found a laptop that doen't has the [Insert] key. 2014-06-28 23:07:32 +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
William Kendrick
330ab19600 Updated copyright date on title screen. 2014-04-16 07:02:07 +00:00
William Kendrick
bc2351baf8 Fixed bug that prevented starters with ",jpeg" backgrounds ('-back') from
having their background loaded.
2014-04-16 06:56:40 +00:00
Shin-ichi TOYAMA
66e679af44 re-enabled including librsvg-cairo.h 2014-04-12 08:21:52 +00:00
William Kendrick
d7f9139170 * Keyboard mouse control disabled by default.
* CHANGES.txt updates/corrections:
   * Removed OSK-related FIXMEs, since they're addressed.
   * Noted "--joystick-dev list" feature
   * Noted "--keyboard" (not "--keymouse") for keyboard mouse control
2014-04-07 05:49:04 +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
e6365974f6 * --joystick-buttons-ignore option can be used to ignore joystick buttons
(rather than all non-command-assigned buttons being used asi
  left-mouse-click)
 * Updated docs re: joysticks a bit.
2014-03-31 05:54:32 +00:00
William Kendrick
0b27bec2e8 * Squelching a lot of debugging output, unless DEBUG is #define'd
* Added "--joystick-dev" option, for specifying which joystick device
   Tux Paint should listen to
   * "--joystick-dev list" is now used to list the available devices
 * Cleaned up some 'usage' output
2014-03-30 07:23:20 +00:00
William Kendrick
a09d239eaf Removed some unused '..._flag' variables. 2014-03-30 05:56:11 +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
William Kendrick
904a82477d Remove some leftover debugging output. 2014-01-31 05:48:56 +00:00
William Kendrick
5b1ba9d0a0 If a non-SVG starter or template with the same name as an SVG one
existed, it would be loaded instead of the SVG (despite a thumbnail
of the SVG appearing in the file selector).
SF.net Bug #191
2014-01-24 08:25:58 +00:00
William Kendrick
b1c910dd9a Fixes issue where starters or templates with uppercase filename extensions
were failing to open. (SF.net Bug #191)
2014-01-24 07:24:18 +00:00
Scott McCreary
e5f8b475ed Moved z_streamp up to top of block so it builds with GCC2, and include zlib.h on Haiku 2013-11-05 06:07:58 +00:00
Scott McCreary
fa665e06f0 Avoid redefining TRUE and FALSE on Haiku 2013-11-04 19:16:28 +00:00
Pere Pujal i Carabantes
b4f060fd58 Adapting the STAMP tool to play nice on touchscreens. Needs testing. 2013-05-12 22:52:45 +00:00
Pere Pujal i Carabantes
da252b2ece A workaround for dealing with non ascii paths in windows, from http://sourceforge.net/p/tuxpaint/bugs/188/ 2013-04-17 16:51:06 +00:00
Pere Pujal i Carabantes
01556f1522 Picking the color at mouse release so if running on a touchscreen device one can get an overview of what wil be selected while dragging the finger on the screen. 2013-04-02 21:39:32 +00:00
William Kendrick
1bbf65f689 Forgot spacing for new inksplat brush.
Random brushes avoid repeating the same frame twice.
2013-02-18 07:39:06 +00:00
Shin-ichi TOYAMA
7d96e5a877 With old png.h, PNG_HAVE_IHDR is not defined unless PNG_INTERNAL is defined 2012-08-18 09:18:41 +00:00
Pere Pujal i Carabantes
0e7efadcd6 Using UTF-8 to save label data in Win32 too. 2012-05-22 21:31:18 +00:00
Pere Pujal i Carabantes
0bc140b12c Labels working on Linux 64bits, templates saving/reloading properly. 2012-03-28 22:12:17 +00:00
William Kendrick
05f33a2a08 Aragones translation. 2012-03-02 17:44:19 +00:00
Pere Pujal i Carabantes
badddd570e More on win32: Labels where not correctly saved/opened. 2011-12-09 15:44:23 +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
010f81cca3 Showing the letters/symbols that will be produced in the onscreen keyboard. 2011-11-09 12:23:39 +00:00
Pere Pujal i Carabantes
a35208c8d0 Recovering the onscreen keyboard when returning from things like open, new, print... 2011-10-14 15:36:22 +00:00
Pere Pujal i Carabantes
f471b824db Tweaking the keyboard drives tuxpaint code 2011-10-14 15:33: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
William Kendrick
2936285797 Right-side image on dialogs would be scaled/cut-off even if it was the only one.
Could not print the first time until 'print delay' passed.
2011-09-23 18:41:09 +00:00
Pere Pujal i Carabantes
c4780e9294 Descriptions for magic tools that use the new MODE_PAINT_WITH_PREVIEW and MODE_ONECLICK were not showing. 2011-09-19 22:11:48 +00:00
Pere Pujal i Carabantes
c8354de936 Removing a mistake in the command line parsing. 2011-09-13 21:24:18 +00:00
Pere Pujal i Carabantes
d34f015d83 Clean up of old onscreen keyboard code, mostly passed to onscreen_keyboard.c 2011-09-12 22:59:19 +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
Pere Pujal i Carabantes
a9d30e243b Using the new rewrited of onscreen keyboard. 2011-09-02 06:26:09 +00:00
Scott McCreary
ad5679f079 Restored the previous setting for BeOS to use ./ instead of ~/ 2011-08-29 22:41:19 +00:00
Scott McCreary
cc4a2a34d7 Removed workaround for open_memstream and fmemopen for Haiku as these have been fixed in Haiku.
Make use of find_directory() for locating B_USER_DIRECTORY to save TuxPaint's user files.
TODO: Get opening of files working again for Haiku.
2011-08-29 22:33:31 +00:00
Scott McCreary
7118469f05 Added an include of zconf.h for Haiku as it wasn't finding a definition for "Bytef". 2011-08-29 20:26:56 +00:00
William Kendrick
42dae52291 No longer directly accessing PNG structure members directly, now using png_set_IHDR(). (Patch from SF.net Bug #3386433) 2011-08-08 17:59:12 +00:00
Pere Pujal i Carabantes
f362d1cb2f More improvements on joystick, now Hat can move continuos and there are some shortcurts that can be associated to buttons. 2011-07-29 21:27:39 +00:00
William Kendrick
0067cbd2af Oh yeah, we already have sRGB<->linear conversions, currently used by some Magic tools. Now using it instead of ceil(pow()) and pow() for gamma-correction in thumbnail2(). (As they're look-ups, they're faster, too!) Thanks for the reminder, Albert C.! 2011-07-26 20:46:21 +00:00
William Kendrick
915e234f20 Gamma corrected '255' was coming out as '254.999985', so wrapping gamma-to-linear conversion in a ceil() call to avoid turning white into off-white (e.g., when loading an 800x600-window image into a 640x480-window Tux Paint; see Pere's email from this week). 2011-07-25 17:00:55 +00:00
John Popplewell
3bb44c9527 Disable $HOME error on win32. 2011-07-02 06:06:39 +00:00