Commit graph

2994 commits

Author SHA1 Message Date
Will Thompson
eac10ed522 Remove trailing period from translations of "Tux Paint"
appstreamcli validate gets very upset if you have a trailing period in
the name of the app:

    E: org.tuxpaint.Tuxpaint:116: name-has-dot-suffix P\u025bntiri Tukisi .
    E: org.tuxpaint.Tuxpaint:119: name-has-dot-suffix Tuks il\u0259 \u015f\u0259kil \u00e7\u0259k.
2024-02-17 23:00:59 +00:00
Will Thompson
91a0b75ae6 appdata: Add new <developer> tag
Appstream 1.0 introduces a new <developer> tag which supersedes
<developer_name>. Add it, keeping <developer_name> for
backwards-compatibility.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer
2024-02-17 20:26:19 +00:00
Will Thompson
259442d65f appdata: Indicate that Tuxpaint is fully offline
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-relations-internet
2024-02-17 20:14:09 +00:00
Will Thompson
dd6f7b3336 appdata: Replace named display_length with constant values
The named values for <display_length> were removed in Appstream 1.0,
released recently.  In their place, use integer values.

For the <requires> block, attempt to encode the same reasonableness
restrictions as are enforced on the windowsize setting. The code
requires the height to be at least 480px and the width at least 500px,
but there is no way to specify width versus height, just shortest versus
longest edge, so I just require that the shortest edge is at least
500px.

For the <recommends> block, 768px is the suggested number in the
appstream specification for laptops and tablets.

005c5f104d
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-relations-display_length
2024-02-17 20:09:13 +00:00
Mark Kim
c1b2811bbf Make screen refresh more snappy on macOS 2024-02-03 21:45:14 -05:00
Bill Kendrick
81dc7593da Regen POT & PO
Only commentary re: source code lines appears to have changed
since 2024-01-16.
2024-01-29 20:27:08 -08:00
Bill Kendrick
3da5e9c9e1 Sync redone MAGIC-API docs (new glossary)
...aslo bump dates here & there.
2024-01-29 00:15:54 -08:00
dolphin6k
298c7566a3 Updated Japanese 2024-01-27 10:46:51 +09:00
Bill Kendrick
095d77ef62 Albanian Tux Paint l10n updates
h/t Besnik Bleta
2024-01-26 10:32:43 -08:00
Pere Pujal i Carabantes
d139044b0b Updating Catalan 2024-01-21 00:12:29 +01:00
Bill Kendrick
4f9112d597 Xor Magic tool: Better description; respond to "order" 2024-01-16 22:43:11 -08:00
Bill Kendrick
b13674017a Doc'ing Magic tool reorg; sync README & update appdata 2024-01-16 21:38:24 -08:00
Bill Kendrick
f8a3eabd9d Start in first Magic tool group containing any tools
i.e., if MAGIC_TYPE_DISTORTS (0) is empty, try
MAGIC_TYPE_COLOR_FILTERS (1), etc.
2024-01-16 20:39:47 -08:00
Bill Kendrick
ff9eff4e60 Sort magic tools by ..._get_order() value, when possible
Tools in n_pt_persp plugin provide orders.  (More coming!)
2024-01-16 20:33:58 -08:00
dolphin6k
e059530d92 Updated Japanese translation 2024-01-17 11:54:37 +09:00
Bill Kendrick
4cad1200b1 Address some warnings under gcc 11.4 w/ -O2
* In function ‘get_starter_template_options’:
   "warning: dereferencing type-punned pointer will break strict-aliasing
   rules [-Wstrict-aliasing]":
     (short unsigned int *)&(opts->bkgd_color[0]), [...etc.]

 * In function ‘strncpy’,
   inlined from ‘safe_strncpy’ at src/tuxpaint.c:32022:9,
   inlined from ‘trash’ at src/tuxpaint.c:30690:3:
   "warning: ‘__builtin_strncpy’ output may be truncated copying
   255 bytes from a string of length 255 [-Wstringop-truncation]":
     return __builtin___strncpy_chk (__dest, __src, __len,
2024-01-14 13:57:21 -08:00
Bill Kendrick
57a0b363bb Mention Iso/Di/Tri/Oblique in appdata file; regen POT/POs 2024-01-13 18:22:04 -08:00
Bill Kendrick
f585c6e897 Bump (c) date on splash screen to 2024 2024-01-13 11:51:21 -08:00
Bill Kendrick
5d1cdd6c3f WIP Adding more graphical projection drawing tools
Stubbing out tools for drawing in axonometric projection -- Isometric,
Dimetric, Trimetric -- and in oblique projection.

Also, placed 1-, 2-, and 3-point perspective tools, along with these
new ones, into a new Magic Tool group, MAGIC_TYPE_PROJECTIONS.

See https://sourceforge.net/p/tuxpaint/feature-requests/252/
and https://sourceforge.net/p/tuxpaint/feature-requests/253/
2024-01-12 21:19:39 -08:00
Bill Kendrick
5ab5293866 Albanian translation update
h/t Besnik
2024-01-08 00:56:06 -08:00
Bill Kendrick
c96e88a491 Mend typos (including syncing docs)
h/t Besnik
2024-01-08 00:19:23 -08:00
Bill Kendrick
12b9c65536 org.tuxpaint.Tuxpaint.appdata.xml: Mention new trochoid tools 2024-01-07 12:44:11 -08:00
Bill Kendrick
2411c370ce Tweak alt. trochoid magic tools; regen POT/POs 2024-01-07 02:45:00 -08:00
Bill Kendrick
cecb344faf Portuguese localization update
h/t Hugo!
2024-01-02 22:24:55 -08:00
Bill Kendrick
c4a42b6a90 Sync docs; update org.tuxpaint.Tuxpaint.appdata.xml.in
Syncing docs to grab version & date updates, MAGIC-API tweak,
and updated quickstart guide.

Update `org.tuxpaint.Tuxpaint.appdata.xml.in` to mention
2- and 3-point perspective, and "complexity" option, too.

Regen. POT & PO files to grab new strings from appdata file.
2024-01-01 11:06:48 -08:00
Bill Kendrick
24d84731ff Wrapped up tuxpaint side of complexity tool
Need to work more on N-Point Perspective tools.
(Also need to add configuration UI to `tuxpaint-config`)
2023-12-29 16:43:51 -08:00
Bill Kendrick
a0f90185a5 Sync docs re: forthcoming complexity option 2023-12-29 16:25:37 -08:00
Bill Kendrick
67b1908fd0 tuxpaint.conf example: Note complexity needs example too
Sigh
2023-12-29 16:01:17 -08:00
Bill Kendrick
4834bd50fd tp_magic_api.h MAGIC_COMPLEXITY_LEVEL_NAMES const char *
not just char *
2023-12-29 16:00:43 -08:00
Bill Kendrick
972195e38b Magic complexity header tweaks
Novice=0, Advanced=2, so we can test "complexity >= SOME_LEVEL"
if a tool works in both Beginner and Advanced modes (vs. "<=" which
seemed backwards).

Add some print-able string names for the complexity levels.

When a Magic plugin fails to init (e.g., now the Clone tool does,
in "novice" mode), show the message as "Notice", not "Error",
and helpfully remind us of the complexity level.

Provide a "_DEFAULT" #define that tuxpaint.c can use, rather than
hard-coding "_ADVANCED", in case things change in the future.
2023-12-29 15:44:17 -08:00
Bill Kendrick
0bc54921d9 WIP - Extending Magic plugin API to support complexity
For https://sourceforge.net/p/tuxpaint/feature-requests/247/
2023-12-29 14:20:07 -08:00
Jacques Chion
3586784659 update translation 2023-12-23 15:43:37 +01:00
Bill Kendrick
f68909c70e Avoid potential crash using HSV color from New dialog 2023-12-17 11:46:19 -08:00
Bill Kendrick
d333b6a8f8 appdata - some new features; regen all POT & POs
...to capture new features from appdata, and also all strings
from `n_pt_persp` magic tool source.
2023-12-17 10:48:58 -08:00
Bill Kendrick
dcdac76c4c Bump version to 0.9.32 2023-11-21 23:47:20 -08:00
dolphin6k
d46b3431b4 Revert "Load plugins only from global plugin directory on Windows."
This reverts commit 44c8efc115.
2023-11-13 22:15:26 +09:00
dolphin6k
44c8efc115 Load plugins only from global plugin directory on Windows.
This prevent the crash when "datadir" is set to the program directory.
2023-11-12 22:51:21 +09:00
dolphin6k
848517dbe4 Force log files to go under AppData 2023-11-12 18:41:30 +09:00
Jacques Chion
a3e6ccbdfe update translation 2023-10-31 06:41:41 +01:00
dolphin6k
9eb8fcff43 Added build arc to version output and relocated. 2023-10-28 18:57:04 +09:00
dolphin6k
10a0a34b1b Output Version of Tux Paint and Windows
This enables to know the user's environment easily.
2023-10-28 17:55:38 +09:00
Pere Pujal i Carabantes
9cc26e6ed6 Subdirs in Android assets are not browsable. Listing all of them, additionally, a script to download, join and order the stamps is being commited at the Tuxpaint-Android source. 2023-10-16 01:31:08 +02:00
Bill Kendrick
b94044f557 Text/Label tools: Show font info in instructions at the bottom 2023-10-14 00:17:18 -07:00
Bill Kendrick
90ef703403 Ensure hand pointer appears when hovering over tool controls
...e.g. size controls in Magic, flip/mirror, size, and rotate
controls in Stamps, text style controls in Text and Label, etc.
2023-10-13 23:58:04 -07:00
Bill Kendrick
e43c506d20 Mend scroll-down arrow bug Stamps selector...
...when stamp controls were disabled.
2023-10-13 23:18:00 -07:00
Vankata453
0720659dc3 Update Bulgarian translation
Updates the Bulgarian translation to 100%.

Does an overhaul of most of the translations to replace more polite, plural verb forms, with singular, spoken forms.
2023-10-05 21:10:46 +03:00
Jacques Chion
6b65bcebc2 changing one translation 2023-09-08 15:32:07 +02:00
Bill Kendrick
f77cfb78c9 Portuguese translation update
h/t Hugo
2023-09-01 11:27:55 -07:00
Jacques Chion
2e9f91ef7c fixing some mistakes 2023-08-06 20:22:00 +02:00
Bill Kendrick
43a253fd4f Ready for 0.9.31; bump date & drop -rc1 from version 2023-07-20 22:32:11 -07:00