Commit graph

2191 commits

Author SHA1 Message Date
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
a9d0372e14 Forgot to commit those 2011-07-29 21:44:30 +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
William Kendrick
23b5496eb5 Polish update. 2011-06-30 15:28:26 +00:00
William Kendrick
fe56c473a5 Getting 'saveover...' options working as they used to, under the new gperf stuff.
Showing a warning when using save-related options when "nosave" is set. (SourceForge Bug #3327493)
2011-06-24 15:49:25 +00:00
William Kendrick
c263d3a6bc Hindi update (SF Bug #3308839) 2011-05-29 17:24:57 +00:00
William Kendrick
4bd433cbc0 Added joystick options to man page and HTML version of OPTIONS doc.
(NOTE: OPTIONS.txt is generated from html/OPTIONS.html)
2011-05-28 17:22:35 +00:00
Pere Pujal i Carabantes
7041da207d Joystick should now work. 2011-05-27 21:14:15 +00:00
William Kendrick
21081427e3 Brazilian Portuguese update. 2011-05-25 18:53:12 +00:00
William Kendrick
a47aa7e0ea Hungarian update. 2011-05-25 17:01:10 +00:00
William Kendrick
2eaeb19acd Correctly filling some mouse events (SDL_PushEvent() takes an SDL_Event, but we were sending it an SDL_MouseButtonEvent).
Added a missing prototype.
Removed, or wrapped in #ifdef DEBUG, some otherwise unused variables.
Only warping mouse on keyboard handling IF KEYPRESS MOVED THE MOUSE! (Avoids mouse flying around when using keyboard shortcuts, etc.)
2011-05-25 16:59:15 +00:00
Pere Pujal i Carabantes
167dfbfea4 tweaking undo in mouse accessibility mode. 2011-05-21 06:20:32 +00:00
Pere Pujal i Carabantes
3540173338 Tuxpaint was using all cpu, restoring a SDL_Delay() and setting to 1, Thanks Bill :) 2011-05-18 21:37:42 +00:00
Pere Pujal i Carabantes
fc9c7fa36a Fixing #300881 AKA drawing shapes at release. Removing ghost previews if you try to change the current shape before completing it. 2011-05-18 19:53:48 +00:00
Pere Pujal i Carabantes
5e3f824301 Adding a switchin when the mouse returns in mouse accessibility mode. Also removing ghost previews for lines and the first step of shapes when the mouse goes out. For the secon step of shapes, I think there is a bug report in sourceforge that must be taked in account. 2011-05-15 16:05:21 +00:00
Pere Pujal i Carabantes
845985a3de Using strcoll to sort magic tools by locale name. 2011-05-14 06:34:58 +00:00
Pere Pujal i Carabantes
c7a4f37a53 Ordering the magic tools by localized translation. 2011-05-14 00:01:32 +00:00
William Kendrick
3e15d76dd2 Fula update. 2011-05-10 21:37:28 +00:00
Pere Pujal i Carabantes
e9e82f2309 To many switchouts. 2011-05-09 23:34:27 +00:00
William Kendrick
aa488fcf74 Fixed issues with 'unclicking' when clicking or hovering some places (thus leaving previews of some Magic tools) when in mouse-accessibility mode. 2011-05-02 17:58:28 +00:00
William Kendrick
20f6c8165d Left/Right Stamp navigation buttons are purple, like the other (up/down) scroll buttons found in Tux Paint. (SourceForge Bug #2918289) 2011-04-27 20:38:24 +00:00
William Kendrick
a6d5cd3773 Edited my .h rather than .h.in! 2011-04-26 19:20:36 +00:00
William Kendrick
0aed8a5a86 "Paint" magic tool can now be one-click or -with-preview, to support
mouse accessibility mode (which introduced issues with tools like
'Flower' and 'Fold' (which show previews) and 'Ripples' (which doesn't
involve any dragging)).
2011-04-26 19:14:16 +00:00
William Kendrick
868cba5794 * Some work to avoid leaving Magic previews on the screen when unfinished
click/move/click (e.g., by clicking a tool, hitting a command key, or
  leaving the window) in mouse accessibility mode.
  NOTE: This currently 'undoes' any magic, and not just previews;
  tools will need to 'register' the fact that they create previews.
* Adjustment of 'backlogged event queue' handling when dealing with mouse
  motion.  (Rather than stop listening to motion events after spinning in
  the "while (SDL_PollEvent())" loop for 250ms, it now skips every few
  events.)
  This prevents circle-drawings from appearing as "D". Now, they start
  appearing as polygon-like shapes.
2011-04-26 18:47:25 +00:00
William Kendrick
e41fa8fc81 Silly attempt at improving event handling.
(Will probably need to set up event handling in a separate thread so that
we can have an increased mouse motion event buffer, to avoid artifacts
when drawing/moving quickly.  e.g., try to draw "O", but get a "D")
2011-04-22 01:02:57 +00:00
John Popplewell
4aca3712dc Fixed error reporting when make_directory() fails. 2011-04-18 20:14:20 +00:00
William Kendrick
831d15904b Nautilus and trash in GNOME apparently need no hints; they find out via Kernel.
Listing others whose trash we need to support...
2011-04-18 19:03:08 +00:00
William Kendrick
b0b83ad7ef Using dbus-send to tell KDE UI that trash has something new in it.
TO-DO: Gnome, other Linux, Windows, Mac OS X.
2011-04-18 17:39:43 +00:00
William Kendrick
ab17644c76 Deleting files from Tux Paint's 'Open' dialog now moves them to the user's Trash folder. FIXME: Only on freedesktop.org systems (e.g., Linux) (SourceForge.net Feature #3101084) 2011-04-17 06:54:38 +00:00
William Kendrick
80167ba075 Documenting experimental new 'keymouse' option, and listing FIXME/TODO for it... 2011-04-16 01:06:18 +00:00
William Kendrick
63ed74aff4 * Faster dialog pop-up animation.
* Mouse accessibility doesn't get 'stuck' in click mode when other
  actions are initiated (e.g., [Esc] or window close button to quit,
  [Ctrl+P] to print, etc.), when Tux Paint loses focus, or when mouse
  goes outside of the window.
2011-04-15 23:46:21 +00:00
William Kendrick
ef59ecfe2c Amharic translation. 2011-04-15 18:18:34 +00:00
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
William Kendrick
c314c49927 Hack to bring back support for "-q"-style short command-line args. 2011-04-14 06:02:48 +00:00
Pere Pujal i Carabantes
4c7a610cb9 mouse acces for magic, still fill and ripples are wrong in mouse accessibility mode, all other should work. 2011-03-16 22:15:25 +00:00
Pere Pujal i Carabantes
189fcc877d Major cleanup of mouse accessibility code. Also, now shapes works in mouse accessibility mode. 2011-03-15 22:32:16 +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
F Wolff
e254400690 Updated translation for Afrikaans (af) 2011-02-26 12:37:32 +00:00
Pere Pujal i Carabantes
c355c1d249 Mouse accessibility and onscreen keyboard should be enabled on config files or command line. 2011-02-26 00:01:43 +00:00
Xandru Armesto
20f154f6da *** empty log message *** 2011-02-17 16:44:55 +00:00
Xandru Armesto
dfa816387f *** empty log message *** 2011-02-17 16:44:04 +00:00
Xandru Armesto
01694db8c9 *** empty log message *** 2011-02-16 17:44:48 +00:00
smarquespt
429e45e9cf *** empty log message *** 2011-02-16 12:26:01 +00:00