Commit graph

1248 commits

Author SHA1 Message Date
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
Bill Kendrick
a466fce43a --verbose-version: Show whether SDL2_Pango is used 2022-09-14 15:25:38 -07:00
Bill Kendrick
818bcc5e81 Pulling fr.po in from master
Sync https://sourceforge.net/p/tuxpaint/tuxpaint-config/ci/3813bb284e61db71290ddad6b1ab9bd017c63382/
into sdl2.0 branch.

h/t Jacques
2022-09-13 12:14:15 -07:00
Bill Kendrick
eaba5e94f4 Stamps -> Rotation: Better mouse warping
Stamp width needed to be cut in half, since stamp's _center_ is
at the click (old_x) position.  Also, avoid warping outside of the
canvas.
2022-09-11 11:05:01 -07:00
Mark Kim
dd3009408f Automatically update macOS build version at build time. 2022-09-10 09:16:10 -04:00
Mark Kim
6fa7ac8dcc Update korean translation
* Also updated my email elsewhere in the docs.
2022-09-10 07:24:47 -04:00
Bill Kendrick
e8241d5b6a Portuguese translation update
h/t Hugo Carvalho
2022-09-09 01:21:02 -07:00
Bill Kendrick
bd07489702 check_translations.sh; easier life, and check LINGUAS
Updated `src/po/check_translations.sh` sanity-checking script
to check `src/po/LINGUAS` file.  Also, OPTION docs (and
Tux Paint Config. source) updated to make the script's job easier.
2022-09-09 00:59:49 -07:00
Bill Kendrick
ae9a333bbb Doc'ing Japanese PO update 2022-09-08 23:54:40 -07:00
Bill Kendrick
f15317fd7d Crediting myself in a few 0.9.29 items 2022-09-07 00:25:25 -07:00
Bill Kendrick
9c25b2fda5 Stamp rotation on by default 2022-09-05 00:42:03 -07:00
Bill Kendrick
270f5353e0 Mend drop-shadows on prompts
...they were not rendering the way we were doing it in the sdl2.0
branch.
2022-09-05 00:04:52 -07:00
Bill Kendrick
53c1c5e995 Create "canvas" as 24-bit all the time
Previously was having it match the display's ("screen"'s) depth
and masks, but this apparently causes artifacts under SDL2.
Closes https://sourceforge.net/p/tuxpaint/bugs/259/
2022-09-04 01:33:36 -07:00
Bill Kendrick
c171500d5e Stamp rotation - Warp mouse to the right, at start
...this ensures that any immediate mouse movement at the
beginning of the rotation process will affect the angle only
slightly.  (As opposed to leaving it in the center of the
stamped shape; moving slightly left would rotate the shape
~180 degrees immediately, for example).

Also, updated date in CHANGES and src/tuxpaint.c, added
new feature to CHANGES, and credited Pere.  (Great work!!!)
2022-09-02 02:05:52 -07:00
Bill Kendrick
da15f8c282 Changing Android save paths to now default to the 'external' dir from the device itself.
Merging the src/tuxpaint.c change from
https://github.com/tux4kids/Tuxpaint-Android/pull/18
(e23803b1f2)

Per Terrence
2022-07-07 17:44:51 -07:00
Bill Kendrick
60120b763c Merge branch 'master' into sdl2.0 2022-07-03 19:58:34 -07:00
Bill Kendrick
f56acbe34d Processed PNG images through pngout
Increase some compression

Also corrects some warnings being reported by libpng (via SDL_image);
h/t Tim Dickson, closes https://sourceforge.net/p/tuxpaint/bugs/252/
2022-07-03 17:45:21 -07:00
Bill Kendrick
06fafcb6d6 "test-png" tool to find PNGs that cause warnings
New tool, "test-png", which exercises libpng library on
a set of PNG image files, allowing us to find those which
cause Tux Paint (via SDL_image, in turn via libpng) to
report back warnings to STDERR.

h/t Tim Dickson, per https://sourceforge.net/p/tuxpaint/bugs/252/
2022-07-03 17:18:58 -07:00
Bill Kendrick
844db56ab9 Drip - Better full-canvas effect; proper description
h/t Karl, code by Pere (w/ some clean-up by me)

Closes https://sourceforge.net/p/tuxpaint/bugs/256/
2022-07-03 16:39:50 -07:00
Bill Kendrick
95755c7af5 Emboss: Canvas-specific description
Closes https://sourceforge.net/p/tuxpaint/bugs/257/
h/t Karl
2022-07-03 16:31:38 -07:00
Bill Kendrick
e984f23b5f Line: Never say "360 degrees" (say "0")
h/t Karl

Closes https://sourceforge.net/p/tuxpaint/bugs/255/
2022-07-03 16:09:48 -07:00
Bill Kendrick
2a43bd3dcd Doc'ing Norwegian Nynorsk l10n update 2022-07-03 15:41:13 -07:00
Mark Kim
633a3628d6 Compatibility with SDL2_Pango 0.1.3
Include all headers needed by SDL2_Pango when building the fonts file by
querying pkg-config.
2022-07-02 22:29:47 -04:00
Mark Kim
28888c1842 Update CHANGES.txt 2022-07-02 22:10:13 -04:00
Mark Kim
c936a5a810 Update CHANGES.txt 2022-07-02 22:08:50 -04:00
Bill Kendrick
d289d407ad Merge branch 'master' into sdl2.0 2022-06-29 21:04:32 -07:00
Bill Kendrick
59ef64b4e5 Doc stuff merged in "Use RHEL 7-compatible appdata filename"
https://sourceforge.net/p/tuxpaint/tuxpaint/merge-requests/13/
2022-06-29 20:56:03 -07:00
dolphin6k
4323445228 Merge branch 'master' into sdl2.0 2022-06-29 09:31:29 +09:00
Bill Kendrick
f0fb00a64a Stub for Android port changes in CHANGES.txt
(Pere and/or Terrence should fill in the details, e.g., things from
"Android tweaks coming from the Tuxpaint-Android repo at github [...]"
https://sourceforge.net/p/tuxpaint/tuxpaint/ci/31594dfa623849dd40894ef3f0b8f87ee85054dc/)
2022-06-26 16:50:50 -07:00
Bill Kendrick
934f500584 Merge branch 'master' into sdl2.0 2022-06-14 01:20:23 -07:00
Bill Kendrick
1068a33167 Mended Color Mixer random color bug
If you set a color, then come back to Color Mixer and immediately
dismiss the dialog (without setting a color), an indeterminate
color could appear due to uninitialized variables (new_r, _g, _b).

Closes https://sourceforge.net/p/tuxpaint/bugs/251/
h/t @kentonyanamin on Twitter
2022-06-14 01:14:39 -07:00
Bill Kendrick
294c42bb3f Merge branch 'master' into sdl2.0 2022-06-14 00:52:44 -07:00
Bill Kendrick
a287d93609 Doc'ing Tux Paint Merge Request #12 in CHANGES.txt
"Add Appstream metadata, and port from intltool to gettext"
https://sourceforge.net/p/tuxpaint/tuxpaint/merge-requests/12/
2022-06-14 00:52:12 -07:00
Bill Kendrick
5532ddd2fd Merge branch 'master' into sdl2.0 2022-06-14 00:38:27 -07:00
Bill Kendrick
fbfd609665 Bumping version to 0.9.29; doc'ing recent additions
Some things snuck in to 0.9.28 binary builds, or were added
recently; making sure they're doc'd in CHANGES.txt
2022-06-14 00:15:58 -07:00
Mark Kim
f041db9c4d Localization of SDL2.0 menu on macOS.
SDL2 initializes the macOS menu later than SDL1 (appears to be done
around the video initialization time), so we also need to call later our
routine to override the SDL menu with our localizable version.
2022-06-04 22:34:16 -04:00
Bill Kendrick
2af844e40c Merge branch 'master' into sdl2.0 2022-06-04 00:22:54 -07:00
Bill Kendrick
a4c894ac08 Release builds tarballs that denote branch
(SDL1.2 vs SDL2.0)
2022-06-04 00:22:32 -07:00