Commit graph

2620 commits

Author SHA1 Message Date
Pere Pujal i Carabantes
88bee260e6 Updating Catalan. 2022-09-20 00:54:33 +02: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
09f332367f Mend bug where Ctrl+click pipette got stuck drawing 2022-09-14 23:41:48 -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
Pere Pujal i Carabantes
82676e3fb1 Stamp XORs behaving better with CTRL-key commands, still not finished. 2022-09-12 02:00:28 +02: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
Pere Pujal i Carabantes
cc28f48f7e Fixing stale XOR left when rotating then click on another stamp image before finish rotation. Also counting button size when warping mouse. 2022-09-11 14:41:40 +02:00
Pere Pujal i Carabantes
1a1a4bb50b Speed up stamp rotation XOR rendering. Freeing surface previously left unfreed. 2022-09-11 11:04:54 +02: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
b37824942c Initial commit of check_translations_warnings.txt 2022-09-09 01:57:38 -07:00
Bill Kendrick
cb7024ddac Script to collect warnings from "check_translations.sh"
So we can commit it, for quick examination & later reference.
2022-09-09 01:30:42 -07:00
Bill Kendrick
e8241d5b6a Portuguese translation update
h/t Hugo Carvalho
2022-09-09 01:21:02 -07:00
Bill Kendrick
5ce47ef928 LINGUAS: 'pt' above 'pt_BR'
Closes https://sourceforge.net/p/tuxpaint/bugs/260/
h/t Hugo Carvalho
2022-09-09 01:15:44 -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
dolphin6k
9565560ef5 Updated Japanese translations 2022-09-08 12:01:26 +09:00
Bill Kendrick
4141d98785 Adding Stamps rotation options to Bash completion 2022-09-05 00:50:05 -07:00
Bill Kendrick
3e9ac55c91 POT/PO update to capture Stamps rotation UI text 2022-09-05 00:48:56 -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
Pere Pujal i Carabantes
a433b4c79c Adding stamp rotation. The xor interface seems to work fine if only the mouse is used, still need to adapt it to shortcut key combos. 2022-09-02 02:11:43 +02:00
Pere Pujal i Carabantes
73c1cabac1 Android fix for magic tools under 64 bits devices by Terrence Sheflin, see 345d3cc78a 2022-07-20 23:38:04 +02:00
Bill Kendrick
445fcbb8bf Merge branch 'master' into sdl2.0 2022-07-07 17:55:27 -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
Karl Ove Hufthammer
fccea4edb4 Add Norwegian Nynorsk translation for two new strings 2022-07-04 21:00:33 +02:00
Bill Kendrick
60120b763c Merge branch 'master' into sdl2.0 2022-07-03 19:58:34 -07:00
Bill Kendrick
faa6746258 test-png: Also read images, to get interlace warnings
Check output for "libpng warning:" lines; the tool also echos
its own "test-png warning" lines about other possible concerns
(e.g. strange bitdepths, etc.) which are not necessarily going
to cause Tux Paint to echo things to STDERR.
2022-07-03 19:42:00 -07:00
Bill Kendrick
4108634b9f test-png: Ensure libpng output _after_ ours 2022-07-03 17:28:03 -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
Karl Ove Hufthammer
d8d67440da Remove trailing period in application summary
For the AppStream metadata (appdata.xml), there is a
rule saying that the summary shouldn’t end with a period
(as confirmed by ‘appstream-util validate-strict’).
For the .desktop file, *most* applications omit the period.

The rule is not language-dependent, so I have also
removed the period from all translations (.po files).
2022-07-03 14:49:12 +02:00
Karl Ove Hufthammer
695d8044d0 Update Norwegian Nynorsk translation 2022-07-03 13:29:41 +02:00
Mark Kim
ed885f887d macOS: move deleted file to Trash
As opposed to permanently deleting it.  As requested:

  https://sourceforge.net/p/tuxpaint/feature-requests/148/
2022-07-02 22:09:55 -04:00
Mark Kim
98198591b5 macOS: move deleted file to Trash
As opposed to permanently deleting it.  As requested:

  https://sourceforge.net/p/tuxpaint/feature-requests/148/
2022-07-02 22:03:41 -04:00
Bill Kendrick
d289d407ad Merge branch 'master' into sdl2.0 2022-06-29 21:04:32 -07:00
Will Thompson
4120af3b5f Rename metainfo file to appdata
gettext 0.19.7 gained support for translating appdata files, whereas
support for metainfo files was added in 0.20. These file formats are
effectively the same: as documented in the AppStream specification,
desktop applications can install files with the suffix .appdata.xml
rather than .metainfo.xml and these will still be handled correctly.

It is desirable for this project to support RHEL 7, which has gettext
0.19.8.1, so let's use the older filename.

As noted in the same section of the specification, appdata files were
previously installed to /usr/share/appdata rather than
/usr/share/metainfo, but the spec asserts that the newer metainfo path
works all the way back to RHEL 7, so we keep the newer installation
path.

Thanks to Shin-ichi TOYAMA for flagging this issue.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
2022-06-29 13:05:40 +01:00
Pere Pujal i Carabantes
31594dfa62 Android tweaks coming from the Tuxpaint-Android repo at github by Terrence Sheflin. 2022-06-25 10:37:17 +02:00
Pere Pujal i Carabantes
b612fcb881 Something weird happened in load_info_about_label_surface() in some merge, fixing the merge. 2022-06-20 23:08:02 +02:00
Bill Kendrick
934f500584 Merge branch 'master' into sdl2.0 2022-06-14 01:20:23 -07:00
Bill Kendrick
416462935c Rebuilt POT/PO under new system
(See https://sourceforge.net/p/tuxpaint/tuxpaint/merge-requests/12/)

Also, updated RELEASE.txt to denote where changelog info
should be added into the new "metainfo" file for software repos.
2022-06-14 01:17:57 -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
7e6f848994 check_translations.sh FIXME: Check LINGUAS 2022-06-14 00:55:31 -07:00
Bill Kendrick
294c42bb3f Merge branch 'master' into sdl2.0 2022-06-14 00:52:44 -07:00