Commit graph

2910 commits

Author SHA1 Message Date
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
Bill Kendrick
b71a4d2987 Avoid stamp & eraser XOR garbage when using quick eraser
(Click+[X])
2023-07-19 00:49:16 -07:00
Jacques Chion
8cc62f6fed updating translation 2023-07-17 19:31:30 +02:00
Bill Kendrick
cfc78f82d3 Regen POT & PO, bump date in appdata file
Captures the "what's new" strings in appdata file
2023-07-13 23:13:25 -07:00
Pere Pujal i Carabantes
153671b7c4 Updating Catalan, second step... 2023-07-09 12:08:19 +02:00
Bill Kendrick
fbda2c26a1 Avoid Cairo-scaling stamps under new RSVG library
It was causing SVG-based stamps to appear corrupted (a zoomed in
and cropped view of the top-left corner of the shape, rather than
the entire shape).
2023-07-08 10:27:23 -07:00
dolphin6k
45b071d8e4 Updated Japanese 2023-07-09 00:48:56 +09:00
dolphin6k
2a07444d56 Updated Japanese 2023-07-08 23:04:02 +09:00
dolphin6k
823c5d28bc updating po and pot for explanation of horizontal fill tool 2023-07-08 22:58:34 +09:00
Shinichi TOYAMA
d43f10c5f2 rsvg_handle_render_document() is not available before librsvg 2.46
https://gnome.pages.gitlab.gnome.org/librsvg/Rsvg-2.0/method.Handle.render_document.html
2023-07-08 20:50:06 +09:00
Pere Pujal i Carabantes
584ab8fb66 Updating Catalan, first step... 2023-07-08 01:03:58 +02:00
Jacques Chion
1417e79701 updating translation 2023-07-05 20:32:14 +02:00
dolphin6k
5081340f2e Trial to make listing locale fonts shipped with Tux Paint by --listfonts 2023-07-02 18:07:58 +09:00
dolphin6k
17a0a59a50 Trial to make ui font fallback enable when no config option specified. 2023-07-02 18:05:42 +09:00
dolphin6k
d271c5ba42 Default locale font for Japanese 2023-07-02 16:56:03 +09:00
Bill Kendrick
e98daa5a62 Fill -> Linear Gradient: Show angle while dragging
When using the Linear Gradient fill tool, the angle of the
gradient is now is shown (in the instructions at the bottom).

h/t Miyagi Andel for the idea
2023-07-01 01:21:10 -07:00
dolphin6k
89a164df3d Updated Japanese 2023-06-30 17:47:26 +09:00
Bill Kendrick
85718df7cf Update POT/PO to grab some appdata text changes
h/t Karl for pointing out that I had forgotten to run
update-po.sh after making changes, so the POT & POs were
out-of-date!
2023-06-30 00:00:47 -07:00
Bill Kendrick
323ba42f9d Add _POSIX_PRIORITY_SCHEDULING to fonts.c for Haiku
h/t Luc
2023-06-29 21:51:53 -07:00
Pere Pujal i Carabantes
580572892f Typo? 2023-06-29 23:49:41 +02:00
Karl Ove Hufthammer
d4f91e8728 Update Norwegian Nynorsk translation 2023-06-29 21:05:39 +02:00
Pere Pujal i Carabantes
a303908aa9 Redirecting stdout to a more appropiate place for newer Androids. 2023-06-29 20:10:49 +02:00
Bill Kendrick
78e9461c7c Icelandic update
h/t Svienn
2023-06-29 00:08:31 -07:00
Jacques Chion
fcb9d50895 updating translation 2023-06-28 10:58:05 +02:00
Bill Kendrick
d7be1e9edb More changes from 0.9.31 added to appdata file 2023-06-26 16:27:27 -07:00
Bill Kendrick
342630cb9d family_info.filename is an array; index into it!
h/t Shin-ichi for reporting the warning

  warning: the comparison will always evaluate as 'true' for the address
  of 'filename' will never be NULL [-Waddress]
2023-06-21 22:52:32 -07:00
Bill Kendrick
fc2e7d1302 Another cast TTF_FontFaceFamilyName from ...
... const char * to char *

Trying to avoid warning Shin-ichi reported

warning: assignment discards 'const' qualifier from pointer target type
2023-06-21 22:48:51 -07:00
Bill Kendrick
d073d41eed Avoid a pair of double free()'s!
h/t Shin-ichi for reporting two of these

  warning: pointer 'unc_buff' used after 'free' [-Wuse-after-free]
2023-06-21 22:47:52 -07:00
Bill Kendrick
9199174dca Cast TTF_FontFaceFamilyName from const char * ...
...to char *

Trying to avoid warning Shin-ichi reported

  warning: assignment discards 'const' qualifier from pointer target type
2023-06-21 22:43:52 -07:00
Bill Kendrick
04d0116ae5 Mend magic .sizes treated as a bool, instead of array
h/t Shin-ichi for reporting seeing warnings about

  warning: the comparison will always evaluate as 'true' for the address of 'sizes' will never be NULL

Magic tool ".sizes" was recently turned into an array (per-mode of the
Magic tool), but a few references forgot to account for that.

Corrected like so

e.g., from
  if (magics[magic_group][cur_thing].sizes)
to
  if (magics[magic_group][cur_thing].sizes[magic_modeint(magics[magic_group][cur_thing].mode)])
2023-06-21 22:39:21 -07:00
Bill Kendrick
a094ec850d Use rsvg_handle_get_dimensions() again, sometimes
If RSVG is < 2.52.x, go back to using rsvg_handle_get_dimensions()
(which is deprecated these days) instead of the newer
rsvg_handle_get_intrinsic_size_in_pixels() that replaced it.
(Shin-ichi reports that function is not available on Rocky Linux 9.)

Note - I also recently replaced rsvg_handle_render_cairo() with
rsvg_handle_render_document(), but Shin-ichi didn't report problems
with that; it's been available since 2.46.

See https://sourceforge.net/p/tuxpaint/bugs/278/
2023-06-21 22:26:01 -07:00
Bill Kendrick
23976aa651 New style for color picker (HSV palette) button
Also mend a rendering issue with paint wells on the three
dynamic color buttons.
2023-06-19 12:28:48 -07:00
Bill Kendrick
d4869ac062 Mend color picker on label change; drop LOW_QUALITY_COLOR_SELECTOR
When selecting a label that has a color not found in the built-ins,
we change to the color picker; however, when rendering its button,
it looked wrong and would not fit to the right size (had 48x48
hard-coder in there, still!)  Instead, using `render_color_button()`
to just re-render it.

Also, dropping LOW_QUALITY_COLOR_SELECTOR which had been used by
some embedded platforms we don't seem to support any more (Nokia Maemo
and OLPC XO-1).
2023-06-19 12:05:17 -07:00
Bill Kendrick
20d45409ce Stop using rsvg_handle_render_cairo
It is deprecated.  Using rsvg_handle_render_document() instead.
2023-06-18 13:31:19 -07:00
Bill Kendrick
e59686f942 Stop using rsvg_handle_get_dimensions
It is deprecated.  Using rsvg_handle_get_intrinsic_size_in_pixels()
now instead.
2023-06-18 13:20:43 -07:00