Commit graph

1605 commits

Author SHA1 Message Date
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
08cdffeccd updating catalan. 2011-09-20 21:58:57 +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
7bb9b078e2 Env vars were not honored. 2011-09-18 21:03:16 +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
afbc59eba8 Adding the new joystick and onscreen keyboard options to tuxpaint-completion.bash and OPTIONS.html. 2011-09-05 09:50:45 +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
a9d30e243b Using the new rewrited of onscreen keyboard. 2011-09-02 06:26:09 +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
Scott McCreary
c44be7d6dd Redisabled the custom cursors for Haiku as they are still buggy in the current version of SDL. 2011-08-29 22:48:18 +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
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