Commit graph

631 commits

Author SHA1 Message Date
Martin Fuhrer
3674ace83d Allow Tux Paint to interpret ~ in save and data directory paths as home directory. 2008-03-31 00:14:57 +00:00
William Kendrick
7b651c97b2 * Fixed bug when zooming stamps in video depth other than 32bpp.
(Float to int casting; also removes compiler errors.)

* getpixel/putpixel function passed to Magic tools now pays attention
  to the incoming surface, rather than always using the canvas surface,
  to determine bitdepth.  (Fixes bug where some Magic tools, e.g., Grass,
  didn't work right on video depths other than 32bpp.)
2008-03-05 03:26:55 +00:00
William Kendrick
f34d8301ff Fixed bug when zooming stamps in video depth other than 32bpp. 2008-03-05 03:12:00 +00:00
William Kendrick
c007c63baf Brushes with large spacing wouldn't be spaced properly when drawn
from bottom-to-top using the line tool.  Fixed. (Pere Pujal i Carabantes
patch from SourceForge bug.)
2008-03-04 17:03:12 +00:00
William Kendrick
03539a98a5 Legacy Tux Paint images (prior to Tux Paint supporting different
colored backgrounds) would end up with arbitrary Eraser colors.
Forcing it to always use white, which was the only background color
in early versions of Tux Paint.
2008-03-04 16:29:09 +00:00
William Kendrick
7df60e329e Updated German translation.
Next version will probably be 0.9.20.
Updated copyright year.
2008-02-29 01:30:21 +00:00
William Kendrick
aa902c36e3 Recreated "Tux Paint" title art using Inkscape (traced original bitmap).
Larger "Tux Paint" title art displayed on larger screens.
2008-02-26 06:02:52 +00:00
William Kendrick
88af19cac1 Added "--allowscreensaver" option, which prevents Tux Paint from disabling
the screensaver or monitor power management while running.
(Requires SDL 1.2.12; can also be done by setting the
SDL_VIDEO_ALLOW_SCREENSAVER environment variable to '1' before running Tux Paint.)
2008-02-24 21:35:47 +00:00
Martin Fuhrer
c546a9756e Mac OS X updates: Force Fontconfig to build font cache prior to splashscreen. 2008-02-20 05:19:55 +00:00
William Kendrick
24768b831b Attempted to add a vertical nudge value for tool button labels, based
on locale.  (Specifically, to prevent Khmer text from overlapping icons.)
Locale-related code needs some bugfixing before this works right, though.
2008-02-19 20:46:03 +00:00
Martin Fuhrer
04506fa385 Updates for 0.9.19 release. Added authorization code to permit Fontconfig files to be installed on first launch from a non-admin account. Fixed possible lockups in fullscreen mode when attempting to print. 2008-02-05 06:30:23 +00:00
Martin Fuhrer
926ee26f67 Mac OS X updates: Added dialog box requesting user to wait while font cache is being built. Added experimental speech synthesis support. 2008-01-04 05:39:15 +00:00
William Kendrick
ec4c7f9098 Doc'd John's recent bug fixes. 2007-12-31 17:22:29 +00:00
John Popplewell
ba2137d528 Avoid crashing in mirror_starter() when there is no starter. 2007-12-31 03:03:49 +00:00
John Popplewell
f8fe5eeea0 Fix bug in special_notify(). Reproducable crash on win32 after exactly 40 flips or mirrors. Was (probably) corrupting an element in SDL_Surface *undo_bufs[]. 2007-12-25 00:22:02 +00:00
William Kendrick
08d08eb1e0 Corrected backwards #ifdef logic! 2007-12-11 16:05:43 +00:00
William Kendrick
8014500811 Final BeOS updates used to created 0.9.19-cvs-2007.12.11 for BeOS x86. 2007-12-11 15:51:06 +00:00
William Kendrick
344492dad4 BeOS updates. 2007-12-07 00:05:45 +00:00
William Kendrick
83175f406c Fixed problem building w/o sound support. 2007-12-04 17:36:23 +00:00
William Kendrick
0c5bca5042 Removed unused record and playback code. 2007-12-04 16:56:07 +00:00
William Kendrick
f2c7277d06 Corrected bug where Shift and Kaleidoscope magic tools would crash when sound was disabled. 2007-12-01 21:21:31 +00:00
Albert Cahalan
9a3b9bec14 use BUGBUG to mark valgrind complaints (known serious bugs) 2007-12-01 02:29:54 +00:00
William Kendrick
137797b2cd Added 'stopsound()' to Magic plugin API.
Stopping longer sounds when user stops using tool (Shift & Kaleidoscope).
2007-11-21 16:15:49 +00:00
Martin Fuhrer
ca0cb771e5 Added additional search path for magic plugins on Mac OS X. 2007-11-21 07:28:37 +00:00
John Popplewell
62279d117a Show print configuration dialog even when in fullscreen mode.
If no 'print.cfg' file is found, always shows the print configuration dialog.
Clicking 'Cancel' on the print configuration dialog cancels the print!
Removed messy global PRINTDLG structure.
2007-11-11 23:22:24 +00:00
Karl Ove Hufthammer
76e501259e Use proper ellipsis instead of three dots. 2007-10-28 18:16:45 +00:00
William Kendrick
8b1010d671 All stamps can be forced to start at a particular size
Use the "--stampsize=..." command-line option or "stampsize=..." config.
file setting.  Use "default" to allow Tux Paint to decide.
2007-10-26 21:58:36 +00:00
William Kendrick
fa99f6cbd0 Any current text being written in the Text tool is applied to the picture
if 'Print' is clicked. (Useful if kids are told to add their name to a picture
when they're done, right before printing, but they forget to hit [Enter].)
2007-10-25 15:23:20 +00:00
William Kendrick
10fc8351a8 Lockfile usage can be disabled via config. file now, too. 2007-10-23 16:11:12 +00:00
William Kendrick
c1c2bb91dc Prevented crash when clicking 'Open' or 'Erase' button in Open dialog after
clicking an empty file slot. (SourceForge Bug #1787005)
[Thanks to Tomasz Gloc for reporting and investigating this one.]
2007-09-25 16:45:22 +00:00
William Kendrick
29a8206965 Fighting with SDLPango to get right-to-left working, and only when needed. 2007-09-25 15:43:41 +00:00
William Kendrick
3ed7c00abc Fixed typo 2007-08-22 06:30:04 +00:00
William Kendrick
6763d69cb8 Improved popup prompts. 2007-08-14 16:58:17 +00:00
John Popplewell
1adf3f4f78 Tweaks to get it to build on win32. 2007-08-13 06:38:03 +00:00
John Popplewell
51df37c21c Fix for f->d_type always being DT_UNKNOWN, using stat(). 2007-08-12 23:21:25 +00:00
William Kendrick
b94a1b9c01 Updated version number in some packagine files.
Adding new Magic tools.
2007-08-10 06:54:48 +00:00
William Kendrick
0d6c2cf1b9 Magic tools (and tp-magic-config) supports local (user) plugins.
Added copyright & credit info to new Magic tool plugin .c files.
Updated Magic plugin doc API.
2007-08-08 06:56:04 +00:00
William Kendrick
26c7051c07 Stamps can now be pre-flipped and/or pre-mirrored-and-flipped now (in addition to pre-mirrored).
Updated version # in some docs.
Expanded comments in tp_magic_example.c Magic plugin example code.
2007-08-03 16:17:46 +00:00
William Kendrick
adf56ef7e9 tp-magic-config man moved to (1)
Magic tool documentation now split into separate files, and referenced
(as a directory) from README, so that users can find docs to any additional
tools (ones not included by default with Tux Paint) that are installed.
Added new --datadir option, to separate path to brushes/stamps/etc. from that of saved files.
Improved docs on where savedir default is.
Made sure --help, man tuxpaint, and OPTIONS docs all covered all command-line options.
Noted SDL_Pango makes locale-specific fonts unnecessary.
Added "--plugindocprefix" option to tp-magic-config, for where docs should go.
Improved plugin API documentation.
Improved layout of man pages a little.
2007-08-02 21:04:42 +00:00
William Kendrick
10881623cf Added Octagon shape. (Also means shape tool selector needed to scroll
in 640x480, which has been done, too.)
2007-07-27 02:22:24 +00:00
William Kendrick
f9ea0e0f6e Right-aligning right-to-left text. 2007-07-27 01:53:08 +00:00
William Kendrick
a241607224 Arabic appears to be working (though awaiting confirmation from Khaled H.) 2007-07-27 01:44:00 +00:00
William Kendrick
426ee7b252 More appropriate text for the new 'New' dialog. 2007-07-26 16:30:36 +00:00
William Kendrick
183b751810 Added a 'color picker' entry to the color palette; allows choosing
from over 50,000 colors.  Used by drawing and Magic tools, as well
as the new 'New' dialog.
Documented Martin's Mac OS X printing update.
Improved colors in Starter browser buttons.
2007-07-25 06:11:46 +00:00
Martin Fuhrer
c0962bf16e Print configuration is now saved between Tux Paint sessions on Mac OS X. 2007-07-25 05:39:18 +00:00
William Kendrick
6e827f67fe Improved 'New' and 'Open' interfaces. ('Open' dialog no longer includes
Starter images; 'New' now brings up a selection dialog showing 'Starter'
images and color choices.)
New images can be given solid background colors (which the 'Eraser' tool
erases to).
Improved --usage output.
Added support for "--papersize help" to list papersizes available via libpaper.
Some Magic tools that apply an affect once per click-and-drag no longer
recalculate the effect on pixels that have already been affected (until mouse
button is released and clicked again).
2007-07-24 18:20:17 +00:00
William Kendrick
40200798d8 turn plugin junk into a struct
sorting magic tools by (localized) name
emboss now keeps color
minor fixups
2007-07-20 18:37:36 +00:00
William Kendrick
c4b3e49215 Added ripples magic.
Added (not finished) (new) sparkles magic.
Fixed printf localization bug in postscript printing.
Got Text tool working when Pango is used.
2007-07-18 20:13:08 +00:00
William Kendrick
21ea42f38f Attempting to debug/fix SDL_Pango stuff.
Added icon for Kalidescope magic tool.
Added Canada map starter.
Added Japan map starter.
Improved comments near gettext() calls to improve POT and PO files.
Regenerated PO files and POT file.
Added .cvsignore to make sure tp_magic_api.h (which is generated) isn't noticed.
2007-07-17 18:41:16 +00:00
William Kendrick
0eecea9581 Magic compiles silenced.
Attempted Text tool font load under pango.
Made pango optional.
TuxPaint_Font is aware of both panfgo contexts & sdl_ttf ttf fonts.
2007-07-13 18:18:20 +00:00