Commit graph

3504 commits

Author SHA1 Message Date
Bill Kendrick
d248b7041a Avoid crashing if Magic returns NULL icon img
Was blindly calling thumbnail() on what came back
(which would be NULL if the image failed to load).

Also, mend bug where magic group arrays were being cleared
at the same time as stamp group ones; the latter is larger.
2021-09-25 23:48:45 -07:00
Bill Kendrick
786dbed777 Magic group change: mend problem w/ color options 2021-09-23 00:39:15 -07:00
Bill Kendrick
2f9526f986 Refresh PO & POT to sync up with source code
No string changes
2021-09-23 00:17:48 -07:00
Bill Kendrick
e3d1f85ac9 Magic tool pagination now possible 2021-09-23 00:15:27 -07:00
Bill Kendrick
901230c710 Storing Magic tools within groups
Still a WIP; no way to paginate yet.  (So now, only able to
access group #0 (MAGIC_TYPE_DISTORTS) magic tools)
2021-09-23 00:00:31 -07:00
Bill Kendrick
8b30a278c2 "Smooth Rainbow" magic tool (variant of "Rainbow")
Numerous people commented on Twitter that a piece of artwork
("Chromie Squiggle #7583", created in "ArtBlocks") looked like it
was made in Tux Paint.

However, the classic (2002-era) "Rainbow" tool cycled coarsely
through solid colors.  This adds a gradient.
2021-09-22 23:01:26 -07:00
Bill Kendrick
1d5dd8eb9f Finished organizing Magic tools; updated docs
Added group code to `tp_magic_example.c`, and documented
in the "Creating Tux Paint Magic Tool Plugins" docs.
2021-09-21 01:02:22 -07:00
Bill Kendrick
5882a48412 Even more Magic tools to their groups...
Nearly done.
2021-09-21 00:32:19 -07:00
Bill Kendrick
f381073d48 Putting more Magic tools into groups... 2021-09-21 00:24:26 -07:00
Bill Kendrick
448a4b4487 Put more Magic tools into their groups
...WIP
2021-09-21 00:07:14 -07:00
Bill Kendrick
12b503be9c Adding more Magic tools to their groups...
WIP
2021-09-20 23:47:31 -07:00
Bill Kendrick
7381c936c4 Trim space off the end of a gettext()'d string
Didn't find any others, when I checked via

  find . -name "*.c" -exec grep -H "gettext" {} \; | grep ' ")'
2021-09-20 23:37:56 -07:00
Bill Kendrick
3963d74f43 Show Magic tool group pagination buttons
Make room for them, but they don't do anything yet.
2021-09-20 23:36:19 -07:00
Bill Kendrick
3eece8635c WIP Working on Magic tool grouping
Fretwork is in one group; Blocks, Chalk, and Drip in another.
The rest do not currently report (so will not load!).
No UI change to the Magic tool interface yet.
2021-09-20 23:09:33 -07:00
Bill Kendrick
4d1f7a7ee9 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2021-09-20 22:56:12 -07:00
Bill Kendrick
0ed588521f Add missing Fretwork magic tool docs 2021-09-20 22:55:41 -07:00
Bill Kendrick
a1cab699c3 Add missing Fretwork magic tool docs 2021-09-20 22:42:45 -07:00
Bill Kendrick
8f31459990 "TV" Magic Tool enhancement
"TV" now breaks pixels into red/green/blue components,
rather than merely adding a 'scanline' effect.

Reworked how it handles interaction (click/drag vs fullscreen).
2021-09-20 22:28:29 -07:00
Bill Kendrick
f1e297260a Mend undo buffer surface dimensions bug
Undo buffer canvases were not always the same dimensions
as the drawing surface, if buttonsize was adjusted.
(Adversely affected "Shift" magic tool.)
2021-09-20 22:05:33 -07:00
Bill Kendrick
e9151cbe36 Adding Halftone docs the RIGHT way
I'm forgetful!
2021-09-20 21:28:19 -07:00
Bill Kendrick
d64b7edf30 Add missing docs for Halftone magic tool
Also a couple TXT versions of Magic tool docs didn't get
committed.
2021-09-20 21:22:49 -07:00
Bill Kendrick
47b8a4163e Refresh docs
Grab French update to EXTENDING, and a typo fix that hadn't
made it to the EXTENDING.txt docs due to my own oversight.
2021-09-19 23:23:58 -07:00
Bill Kendrick
2f8ec50556 Expanded explanation: how stamp tinting modes work 2021-09-19 12:40:06 -07:00
Bill Kendrick
65a565d7a7 Refresh EXTENDING; re: sfx/descr sound l10n 2021-09-19 11:57:05 -07:00
Bill Kendrick
82708e60fa Removed various translations of COPYING
They are unofficial, some were documents _about_ the GPL,
and not actual translations of the GPL itself.
Simplifying things.
2021-09-18 21:59:22 -07:00
Bill Kendrick
45a10b9a6b Refresh French INSTALL docs 2021-09-18 11:04:59 -07:00
Bill Kendrick
d1a97638b9 Revert lost translations in es, gl, ja
Looks like Jacques needs to enable these locales on his system.
2021-09-18 11:04:16 -07:00
Jacques Chion
dd2689786e new test for commiting 2021-09-18 17:30:44 +02:00
Jacques Chion
2508f644fa testing commit 2021-09-18 11:18:47 +02:00
Jacques Chion
cbf2b5b2fa updating translation, without putting files from tuxpaint-docs 2021-09-18 11:01:02 +02:00
Bill Kendrick
b82214c19c Emboss can now effect the entire canvas at once
h/t @jpeg2k on Twitter for reminding me!
2021-09-18 00:27:54 -07:00
Bill Kendrick
e1b80eb5d9 Portuguese translation update
Welcome, new contributor Hugo Carvalho!
2021-09-17 10:38:35 -07:00
Bill Kendrick
8f17edc10e Clean up installed docs
All old, outdated, manually-generated translations of docs now
go into an "outdated" subdirectory.  The "tuxpaint-docs"/gettext-based
ones are the "first-class citizens".

Don't install the docs directory's "Makefile", or the instructions
for how to release Tux Paint, as those are not necessary to end users.
2021-09-17 00:11:33 -07:00
Bill Kendrick
6263e42708 French doc corrections & SDL+Win32 doc updates
More from Jacques & Shin-Ichi, respectively
2021-09-16 23:57:27 -07:00
Bill Kendrick
1c312023d5 French refresh 2021-09-16 13:17:41 -07:00
Bill Kendrick
e39e3c354c Refresh docs after recent changes
Fix in an HTML tag in French README (h/t Jacques), and INSTALL docs
regarding Win32 (h/t Shin-Ichi)
2021-09-16 00:21:24 -07:00
Shin-ichi TOYAMAA
5e5eb6d62a Tell linker to build GUI application. 2021-09-16 13:40:07 +09:00
Bill Kendrick
8d6cd35acb Mend formatting issue on manpage 2021-09-14 13:37:57 -07:00
Bill Kendrick
a2b5a3d41f Tux Paint French manpage update
French docs translation complete (for the moment). h/t Jacques!
2021-09-14 13:25:37 -07:00
Bill Kendrick
35e24fca0e Doc refresh: More French updates
h/t Jacques
2021-09-13 21:05:37 -07:00
Bill Kendrick
dc22853595 Doc'ing Japanese translation updates 2021-09-12 22:33:11 -07:00
Shin-ichi TOYAMAA
61eeb794f4 Updated Japanese translations. 2021-09-13 10:55:59 +09:00
Bill Kendrick
7cd1e01826 Updating INSTALl docs re: SDL_gfx on macOS 2021-09-12 13:04:08 -07:00
Bill Kendrick
e432fb92af Bump INSTALL docs' update date 2021-09-12 02:05:16 -07:00
Bill Kendrick
6f0861bf17 Doc refresh: SDL_gfx + MinGW/MSYS2 & French update 2021-09-12 02:03:47 -07:00
Shin-ichi TOYAMAA
78da292624 Added SDL_gfx support for build on Windows XP/2000 2021-09-11 14:19:14 +09:00
Bill Kendrick
393fe8f524 More French docs update
Jacques still at it!
2021-09-10 00:39:03 -07:00
Bill Kendrick
52c6964b3c Updated French docs
More from Jacques!
2021-09-10 00:00:24 -07:00
Bill Kendrick
3487236f93 Animated brushes can rotate now
Takes advantage of SDL_gfxBlitRGBA(), also from SDL_gfx.
2021-09-08 00:53:47 -07:00
Bill Kendrick
cba6f45772 Refresh Docs to grab more French updates
h/t Jacques
2021-09-07 10:38:32 -07:00