Commit graph

808 commits

Author SHA1 Message Date
William Kendrick
a44e103f5a Using wordexp() instead of replace_tilde(), to pick up homedir and other
enviornment variables (under Linux only).
All C++-style comments replaced with C-style.
2008-10-08 19:35:26 +00:00
William Kendrick
77388a8c1b Improved support for localized Stamp sound effects (e.g., "en_GB" for
British English now works; only "en" would have worked before).
2008-09-23 00:06:42 +00:00
William Kendrick
1765e36292 Paint brush tool improvement. 2008-08-14 15:06:52 +00:00
William Kendrick
c54d6b31a7 Redrawing tux text after Magic switchin() in case plugin called update_progress_bar(). 2008-07-20 07:19:54 +00:00
John Popplewell
b878e9646e Added code to hook low-level keyboard events on 2K/XP/Vista.
The hook is only installed if in full-screen mode.
Filters out the left and right Windows keys to avoid accidentally dropping
out of full-screen mode.
If Tux Paint is deliberately switched to the background (using ALT-TAB, say)
the Windows keys function as normal until Tux Paint is the active
application again.
2008-07-10 20:57:25 +00:00
William Kendrick
f556b503b9 switchin() and switchout() now accept mode. 2008-07-10 20:26:38 +00:00
William Kendrick
6bd9586fd6 Flow correction. 2008-07-09 22:49:57 +00:00
William Kendrick
2e5508842f get_description() gets mode, so tools can provide diff. instructions. 2008-07-09 04:37:08 +00:00
William Kendrick
c9dfc4d1d8 Not sending drag or release to Magic tools when in MODE_FULLSCREEN.
Added missing arg to usage output.
2008-07-09 04:10:52 +00:00
William Kendrick
472692fbab Magic tools can now be both painted and full-image.
Negative tool now does this.
2008-07-09 02:46:54 +00:00
William Kendrick
8c6fbb8cf5 [Ctrl]+[P] keyboard shortcut for printing was not complying with option to
disable printing capability (e.g., "--noprint"). Fixed.
Regenerated killed docs.
2008-07-08 18:31:51 +00:00
William Kendrick
2e61076718 switchin() and switchout() Magic functions now used.
Documented new switchin() and switchout() functions.
2008-07-08 01:54:00 +00:00
William Kendrick
b4ed444f0f Beginning to implement switchin() and switchout() Magic tool plugin API. 2008-07-08 00:21:31 +00:00
Martin Fuhrer
1c94c5e5d8 Rename global variables defined in SDL_Pango.h to avoid errors during linking on Mac OS X. 2008-06-30 22:15:27 +00:00
Luc Schrijvers
c47ed8808a small BeOS fix in regards of Uppercase isseus 2008-06-25 16:27:11 +00:00
Albert Cahalan
4e7a41831d group printing stuff together 2008-06-02 00:49:01 +00:00
William Kendrick
e4e06ad2a4 Getting --uppercase working (mostly) without Pango, too.
No longer aborting build when Pango is disabled or not found.
2008-05-29 16:06:07 +00:00
William Kendrick
5d1204f83c "Uppercase only" option support for builds that use Pango to render text. 2008-05-29 15:51:28 +00:00
William Kendrick
4aa7703811 Removed "OLD_UPPERCASE_CODE" 2008-05-29 15:28:26 +00:00
Albert Cahalan
2687b4efd1 uppercasing now faster and safer 2008-05-29 07:02:45 +00:00
Albert Cahalan
1093d74230 wchar.h need not be repeated 2008-05-29 06:08:27 +00:00
William Kendrick
0668cd3b47 Removed _APPLE_10_2_8_-related stuff. 2008-05-28 14:43:25 +00:00
William Kendrick
4a4aa92cc0 BeOS tweaks from Begasus. 2008-05-27 21:10:31 +00:00
Albert Cahalan
ac23d23a1c forgot "shell" in $(shell... 2008-05-25 17:49:32 +00:00
Mark K. Kim
4cabed88a6 Improved support for detecting missing dependencies:
- Added libpaper-dev package checking.

- Previously, SDL_Pango's bug forced Tux Paint to include a customized
  version of SDL_Pango.h in its distribution, so we couldn't tell if
  SDL_Pango was installed in the system by including SDL_Pango.h.  We made
  a new workaround for SDL_Pango's bug that does not require Tux Paint to
  include SDL_Pango.h, so now we can check for SDL_Pango installation.

- Makefile now includes a check for gettext installation and will not
  fail when attempting to generate .mo files or install .mo files.  Instead,
  Makefile will now display a warning and skip the .mo file generation and
  installation steps.

Many thanks to Arunodai Vudem for the patches.
2008-05-25 02:30:45 +00:00
Albert Cahalan
767c8ce395 eliminate a useless array 2008-04-27 18:33:17 +00:00
secretlondon
2ec565722f Nyad's fix for Sourceforge #1934883 for directional brushes 2008-04-17 20:11:03 +00:00
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