Commit graph

2123 commits

Author SHA1 Message Date
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
Xandru Armesto
d898d9bbb4 *** empty log message *** 2011-02-15 18:02:02 +00:00
Xandru Armesto
bf98d38f4b *** empty log message *** 2011-02-15 17:59:56 +00:00
William Kendrick
bfd3f69afc memset args were reversed 2011-01-13 22:20:07 +00:00
William Kendrick
38ebabcbef Support for Latin Serbian. 2011-01-13 04:25:50 +00:00
William Kendrick
abfcaa30dd Extra doc'ing of recent localization contribs via Pere. 2011-01-13 04:05:56 +00:00
Pere Pujal i Carabantes
9642bdd93d Latin serbian by Ivana as a work in GCI 2011-01-11 23:42:41 +00:00
Pere Pujal i Carabantes
b152ace5e9 Telugu translation updated by saikumar as a task in GCI 2011-01-11 22:47:07 +00:00
William Kendrick
f4b906181b Updated title screen copyright to 2011.
Adjusted default-stamp-size choice, max-stamp-size rules (for overscan),
and corrected bug in stamp size selector. [SF.net Bug #1668235]
2011-01-08 17:53:29 +00:00
Martin Fuhrer
3bc68ecf72 Define fmemopen_alternative for Mac OS X. 2011-01-02 17:53:37 +00:00
William Kendrick
1f1304c662 No longer forcing centered window position. SF.net Bug #3138446 2010-12-17 17:47:37 +00:00
John Popplewell
f7f347541f Oooops! Forgot about the implementation of setenv() for MinGW. 2010-12-17 15:55:48 +00:00
John Popplewell
74c460d3f2 Cleaned up a couple of problems when DEBUG is defined.
Enabled fmemopen_alternative on Windows.
Rearranged calls to rsvg_init()/rsvg_term() so that they are only called
once at startup and shutdown. This was causing segfaults when opening SVG
files and apparently it's not just Tux Paint:

http://0pointer.de/blog/projects/beware-of-rsvg-term.html

Slightly hysterical, but a quick Google search reveals other projects with
the same problem/solution.

Builds and runs on Windows again.
2010-12-17 15:43:53 +00:00
Pere Pujal i Carabantes
ef7d94dff9 Belarusian translation of tuxpaint by Alexander Geroimenko as a work in GCI. 2010-12-17 14:30:42 +00:00
William Kendrick
562806a75c Hindi. 2010-12-16 01:12:01 +00:00
William Kendrick
adba29ada0 New translators. 2010-12-16 01:08:04 +00:00
Pere Pujal i Carabantes
f26d8b2719 Updated hindi translation of tuxpaint by Aki (Akash Nawani)? as a task on GCI 2010-12-13 22:37:59 +00:00
Pere Pujal i Carabantes
0ca7ea1546 Update of serbian translation made by Ivana as a task in GCI, crediting Ivana and Hodorog in Authors.txt 2010-12-12 00:34:23 +00:00
Pere Pujal i Carabantes
9cb3a55daa Romanian translation of tuxpaint made by Andrei Hodorog as a work in CGI 2010-12-08 11:41:13 +00:00