Commit graph

1285 commits

Author SHA1 Message Date
Bill Kendrick
1687fd4de1 Magic Fur: Sound effect 2023-01-30 00:35:19 -08:00
Bill Kendrick
6161ebe59a Doc'ing Fur magic tool in CHANGES & AUTHORS
Also, moving to "Paint" group (the other two remain in "Distorts")
2023-01-29 22:18:59 -08:00
Bill Kendrick
b9e5d59dad New magic tools: Circles, and Rays
Convert the image into circular or ray brushstrokes.

Inspired by "Night Sky Scene [Pen Parallax]" Scratch Project
by -HexaScape- <https://scratch.mit.edu/users/-HexaScape->

Sound effects based on Richard Wagner's "Ride of the Valkyries"
licensed as Creative Commons Attribution 3.0 Unported (CC BY 3.0)
by https://pmmusic.pro/; conducted by Philip Milman.

h/t my son William for pointing out the Scratch project
2023-01-28 23:12:28 -08:00
Bill Kendrick
29a2d148b2 Maze magic tool - sound effect 2023-01-26 21:57:56 -08:00
Bill Kendrick
49f70c60d8 Magic Maze: Icon 2023-01-26 01:08:22 -08:00
Bill Kendrick
34de8311db Zoom/Perspective: Support background color changes
When in the middle of adjusting a drawing with Zoom or Perspective,
you could change the color.  However, the background would not
relfect this until you further adjusted the zoom/perspective.

Now, a color change causes the background to update immediately.

This involved updating the Tux Paint Magic API to send more
arguments to each Magic tool's "XYZ_set_color()" function,
which means a bump in the API version.

(Forthcoming, all other Magic tools will have their set_color()
functions updated.)
2023-01-25 02:12:57 -08:00
Bill Kendrick
999e0c873e Maze magic: Got contiguous-or-not working right 2023-01-25 01:12:18 -08:00
Bill Kendrick
bf7e8897d6 Remove unfinished "Label" text on New or Open
Text from unfinished "Label" tool input would appear after
creating a New image or Opening an existing one.  Mended.
Closes https://sourceforge.net/p/tuxpaint/bugs/246/

Mostly by Pere.
2023-01-23 22:04:00 -08:00
Bill Kendrick
dbb9157ca7 Doc'ing what's needed for current WIP Magic tools 2023-01-21 03:24:55 -08:00
Bill Kendrick
c15b6a176c WIP: "Maze" magic tool 2023-01-21 03:05:24 -08:00
Bill Kendrick
51c270b519 Avoid window larger than sole display size is capable of
If only one display is available, when running in windowed mode
and asking for Tux Paint to appear in a width and/or height larger
than the display's dimensions, Tux Paint will fall back to
the maximum(s) the display is capable of.

e.g., on my laptop with 1920x1080, running "tuxpaint --2048x2048"
will fall back to 1920x1080 (and display a warning to stdout).
However, if I have my external monitor (also 1920x1080) attached,
it will happily open a 2048x2048 window.  Not perfect, but an
improvement.

Closes https://sourceforge.net/p/tuxpaint/feature-requests/113/
2023-01-19 00:56:07 -08:00
Bill Kendrick
949438e2fb Bring back support for SDL_VIDEO_WINDOW_POS envvar
SDL1.2 supported "SDL_VIDEO_WINDOW_POS" environment variable,
but SDL2 does not; so reimplemented it ourselves. (See ENVARS docs.)
2023-01-19 00:18:52 -08:00
Bill Kendrick
fc95baa98b WIP: Rivulet magic tool 2023-01-16 16:27:12 -08:00
Bill Kendrick
65852f2534 Corrected 'keep aspect ration' option in zoom()
Scaling of button labels often caused them to stretch wider
than they should have.  (e.g., "tuxpaint --1024x768 --buttonsize=78")
2023-01-11 00:46:31 -08:00
Bill Kendrick
8df7650f82 Credit Bulgarian translation update 2023-01-07 01:22:29 -08:00
Bill Kendrick
d132f96075 Changing default UI font to DejaVu Sans
Per discussion over in
https://sourceforge.net/p/tuxpaint/mailman/tuxpaint-devel/thread/CADZCvhDRn174fTc0e3K6Qxa8pHjXCvwmUr9p3frdzh7YksiS7A@mail.gmail.com/
2023-01-06 00:59:56 -08:00
Bill Kendrick
35dbd40bf6 Disallow Ctrl-Z in certain situations
Closes https://sourceforge.net/p/tuxpaint/bugs/239/
2023-01-03 22:30:45 -08:00
b'William Kendrick
cbc9bcbb97 Merge /u/rndxelement/tuxpaint/ branch master into master
https://sourceforge.net/p/tuxpaint/tuxpaint/merge-requests/15/
2023-01-02 19:38:22 +00:00
Bill Kendrick
7a1c90031c Disabling anniversary confetti animation on title screen 2022-12-28 21:03:39 -08:00
Bill Kendrick
866c5f6483 Adding Google Eyes sound effect
Updating credits & changelog, too.
2022-12-24 12:33:52 -08:00
Bill Kendrick
c13c6e1dcb Fill: Paint & Radial; bounds check for touched[]
Avoid reading outside of the bounds of the `touched[]` array,
to help prevent crashes.

h/t Miyagi Andel for reporting,
Shin-ichi TOYAMA for pinpointing the issue,
and Pere Pujal i Carabantes for providing a solution

Closes https://sourceforge.net/p/tuxpaint/bugs/269
2022-12-23 00:08:52 -08:00
Philipp Rösner
33d94454a8
Add support for --shuffle GNU make flag
Add missing dependecies without which build
failures occur while using the --shuffle flag for GNU make.
2022-12-21 23:53:46 +01:00
Bill Kendrick
440d2f369a Googly Eyes imagery; doc'd "<N>spare-Nx" font scorer 2022-12-21 02:08:37 -08:00
dolphin6k
0a21abd918 It does not affect UI font so far. 2022-12-11 20:49:54 +09:00
Bill Kendrick
0517b4392c Update URL to https://tuxpaint.org/ everywhere
Also, add other social media accounts to list of places to
announce Tux Paint in RELEASE docs.

Also, list a ton more options missing from default example config file
"src/tuxpaint.conf"
2022-12-11 01:29:25 -08:00
Bill Kendrick
156d2952c1 Doc'ing Japanese font change
h/t Shin-ichi
Ref: https://sourceforge.net/p/tuxpaint/tuxpaint/ci/b655d866fe4e830877fd4d1512484cb5963e253d/
2022-12-09 21:32:18 -08:00
Bill Kendrick
a1ffaaa161 Clean-up to CHANGES.txt 2022-12-03 20:24:31 -08:00
Mark Kim
8a8ba0cb3f Speed up macOS app bundle build time. 2022-12-03 14:24:52 -05:00
Mark Kim
cf92625df5 enable forked fonts on macOS 2022-12-03 12:01:22 -05:00
Mark Kim
3849480fd4 Pango loads Tux Paint-supplied fonts on macOS.
Previously Pango loaded system-supplied fonts instead, which could lead
to fonts not rendering in a human-readable text.  This change fixes
https://sourceforge.net/p/tuxpaint/bugs/265/
2022-12-02 22:57:38 -05:00
Bill Kendrick
e00b6b4f4a Doc'ing tuxpaint-config priv on win32 update
And also credit Shin-ichi for helping with compiler-time warning
squashing.
2022-11-20 20:42:55 -08:00
Bill Kendrick
9d70b5837c WIP: Cleaned up some compile-time warnings...
...that cropped up in SDL2 branch.
2022-11-14 23:21:45 -08:00
Bill Kendrick
4d26788da4 Syncing docs: Japanese translation updates
h/t Shin-ichi
2022-11-12 20:49:26 -08:00
Bill Kendrick
da9c8e8453 Adding Quickstart Guide to tuxpaint repo
Maintained in `tuxpaint-docs` report as HTML + PHP + gettext PO files,
like everything else.
2022-11-02 00:46:56 -07:00
Bill Kendrick
5bb70e6cff CHANGES.txt updates
Crediting some changes, dropping a "WIP" label, typo fix.
2022-10-27 23:57:09 -07:00
Bill Kendrick
16839df8ba Brush spacing improvements
Each brush's initial spacing (calculated, or loaded
from .dat file) is recorded.  When the spacing UI
is used to select a close, but not-precisely-the-same,
spacing option, the default is chosen ("nudged" to it).

h/t Pere for pointing this out (e.g., "aa_round_seethru_05.png")

Also, meter's lowest value has a sliver dark blue.
2022-10-25 00:36:58 -07:00
Bill Kendrick
2083b66564 Various Magic tools: mend update_rect->h miscalc.
e.g. this "update_rect->h = (y + 16) - update_rect->h;"
should be "update_rect->h = (y + 16) - update_rect->y;"
2022-10-19 01:37:36 -07:00
Bill Kendrick
9986ef2a49 Sync'd docs to get new tp_magic_example.c
...now localizable!
2022-10-18 01:27:36 -07:00
Bill Kendrick
3160b07a3c Punjabi translation update 2022-10-14 00:25:01 -07:00
Bill Kendrick
9f887944f5 Portuguese l10n update
h/t Hugo
2022-10-07 02:26:44 -07:00
Bill Kendrick
f9ecc42725 Sync docs after finishing initial rework of Magic API docs 2022-10-04 02:10:27 -07:00
Bill Kendrick
632459087e Better performance from "Rush" (by using SDL_gfx rotozoom)
Applying patch from Pere.  ALSO, bumping Tux Paint Magic Tool API version.
2022-10-03 22:50:40 -07:00
Bill Kendrick
f32023666e Reorganize some of 0.9.29's Changelog 2022-10-03 22:11:15 -07:00
Bill Kendrick
9be4fa529f [X] instead of [Del] for eraser quick access
Apple keyboards have only a "Delete" key (which acts as Backspace),
so contortions with Fn key required to access the keysym I was
using for eraser quick access.  h/t Mark Kim for pointing it out.

Because of this use of a printable glyph key, and to solve the
issue of on screen keyboard and in-progress text input getting
clobbered while accessing eraser, preventing access to the
quick eraser when either Text or Label tool are selected.
2022-09-28 22:00:29 -07:00
Bill Kendrick
9dac45d2a6 Sync docs re: [Del] for quick access eraser 2022-09-28 01:22:00 -07:00
Bill Kendrick
65d1c087d6 [Del] key to quickly access a small eraser
A keyboard shortcut is now available for quickly accessing
a small eraser.  Hold the [Del] key while clicking, and drag
around the picture to erase.  Release the key and/or mouse to
return to normal operation.

(Eventually, this could be utilized when we can support
the recognition of a drawing tablet stylus' "eraser" tip;
see https://sourceforge.net/p/tuxpaint/feature-requests/8/)
2022-09-28 01:00:28 -07:00
Bill Kendrick
28492255cb Sync fr.po from master 2022-09-17 00:43:46 -07:00
Bill Kendrick
9edb6effa6 Set SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH 2022-09-15 00:39:58 -07:00
Bill Kendrick
cc05925d9e Re-ran indent on all .c & .h source code files
Like so --
  find . -name "*.c" -or -name "*.h" -exec  indent -nbfda -npcs -npsl -bli0 --no-tabs {} \;

The `indent` invocation differs from the last one noted in
CHANGES.txt (from 2006!?), in that I've added "--no-tabs",
to ensure indents are all space-based.
2022-09-15 00:14:20 -07:00
Bill Kendrick
93930fb00a Icelandic translation update
h/t Sveinn í Felli
2022-09-14 23:26:58 -07:00