Commit graph

2211 commits

Author SHA1 Message Date
Bill Kendrick
05f7f4bec4 Icelandic translation updates
From Sveinn í Felli
2021-10-26 23:41:18 -07:00
Bill Kendrick
d9596af63f Pausing SDL_ttf -> SDL_pango project for now 2021-10-26 23:25:21 -07:00
Bill Kendrick
59920d3ce9 More debug output when TuxPaint_Font_OpenFont ends
Also, avoid unused var. declaration when FORKED_FONTS is disabled.
2021-10-26 23:08:47 -07:00
Bill Kendrick
10fbd32977 dirwalk: Enable stderr output re: unloadbale fonts 2021-10-26 23:07:48 -07:00
Bill Kendrick
173b813a04 Hacking on TuxPaint_Font_OpenFont
More DEBUG output.  Looking into having SDL_ttf open a font,
get its name, and then see whether SDL_Pango can load it.
(If not, fall back to SDL_ttf.)

That code is not working, and "#if 0"'d out, for the moment.
2021-10-26 22:49:46 -07:00
Bill Kendrick
8d9ddebcd1 Always echo to stderr if cannot TTF_OpenFont a TTF 2021-10-26 22:17:28 -07:00
Bill Kendrick
b0e5051d14 Portuguese translation update
From Hugo Carvalho
2021-10-26 10:33:13 -07:00
dolphin6k
4e7346c8d9 Fixed crash bug regarding locale detection on 64bit windows build. 2021-10-26 23:16:04 +09:00
Bill Kendrick
af1bd0850e Lines/Shapes: Display angles in Tux tip text
When drawing lines or rotating a shape, the angle of rotation
is shown (in the instructions at the bottom).
2021-10-25 23:23:28 -07:00
Bill Kendrick
1bee12246e Protect mysetenv() fron any NULL string pointers
...such as those we seem to be receiving from _nl_locale_name()
on 64-bit Windows under newer MinGW/MSYS (see big thread on
tuxpaint-devel with reports from Shin-ichi).
2021-10-25 22:11:32 -07:00
Pere Pujal i Carabantes
9c010ffd40 Updating Catalan translation. 2021-10-24 12:37:34 +02:00
Pere Pujal i Carabantes
5500b45ec8 Exposing Stretch strings to translations. 2021-10-24 12:32:37 +02:00
Bill Kendrick
b8317f74e0 extern char*[] from sounds.h to new sounds.c
Move the list of Tux Paint's internal sound effect filenames
from "sounds.h" to a new "sounds.c" (that compiles to "sounds.o").
2021-10-24 01:20:07 -07:00
Bill Kendrick
94943d9fdd Mend a NEW warning in src/fill.c 2021-10-24 01:04:47 -07:00
Bill Kendrick
7def2a84a0 Address compiler warnings in src/fill.c 2021-10-24 01:03:37 -07:00
Bill Kendrick
4a3eacdbe2 FIXME note in src/parse.gperf re:compiler warnings 2021-10-24 00:59:06 -07:00
Bill Kendrick
0cd504ea9b Avoid compiler warnings in src/gifenc.c 2021-10-24 00:54:52 -07:00
Bill Kendrick
80150c30a5 Further work to remove compiler warnings 2021-10-24 00:44:53 -07:00
Bill Kendrick
ccb061144a Remove redundant cur_tool == TOOL_FILL test
h/t dcb ("dcb314" on SourceForge)
Closes https://sourceforge.net/p/tuxpaint/bugs/237/
2021-10-20 22:49:49 -07:00
Bill Kendrick
7c1cf49554 Mended Fill->Brush instructions
h/t Pere for noticing my late-night grammar nonsense. :)
2021-10-19 21:32:25 -07:00
Bill Kendrick
7d1bd7fac9 Regen POT/PO after adding Fill->Brush tool 2021-10-19 00:42:48 -07:00
Bill Kendrick
71da1f1a6a Mend swapped args to draw_brush_fill() 2021-10-19 00:31:01 -07:00
Bill Kendrick
dcdebe9882 New Fill tool mode: Brush
Similar to solid fill (classic mode), but allows freehand
filling of an area.

Closes https://sourceforge.net/p/tuxpaint/feature-requests/207/
2021-10-19 00:26:26 -07:00
dolphin6k
d7f0a47e37 Missing format specifier and wrong maximum length for swprintf(). 2021-10-17 21:08:39 +09:00
dolphin6k
90baae6dfe Fixed crash bug regarding onscreen_keyboard and labels.
Every version after when onscreen-keyboard implimented has this bug,
which first became apparent in Windows 10. (Because of more strict
memory handling or something?)
Recommend every windows user to upgrade to 0.9.26-5.
2021-10-17 08:43:44 +09:00
dolphin6k
e1492d3b65 Left Alt key also mapped to the switch for Japanese. (I found my laptop does not have right Alt ;-)
How about for Thai?
2021-10-15 16:49:24 +09:00
dolphin6k
20bd72e75c Also removed old windows specific code mtw() from tuxpaint.c 2021-10-10 17:50:18 +09:00
dolphin6k
bedc2b43ad Removed old unnecessary windows specific code which cause crash bug. 2021-10-10 14:49:33 +09:00
dolphin6k
527fc27a2a Updated Japanese translations 2021-10-07 13:07:26 +09:00
Pere Pujal i Carabantes
13313846bf Updating Catalan. 2021-10-06 23:34:03 +02:00
Pere Pujal i Carabantes
8d7897029f Run update-po.sh to expose new strings. 2021-10-06 23:07:22 +02:00
Pere Pujal i Carabantes
3e5b136c2c Updating Catalan. 2021-10-03 00:15:15 +02:00
Bill Kendrick
5b6b1a39c5 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2021-09-25 23:49:39 -07:00
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
Mark Kim
4b83412ea7 IM debugging updates
- Control debugging via debug.h (previously im.c had its own
  defined constant to control this.)
- Remove reference to an undefined symbol im_event_fp within a DEBUG
  block.

Also:
- Explicitly include i18n.h required by im.c (though it appears to be
  getting included by another file indirectly.)  This should be a no-op
  change.
2021-09-23 17:07:40 -04:00
Jacques Chion
42e0effe9b update rainbow 2021-09-23 11:38:29 +02: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
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
0ed588521f Add missing Fretwork magic tool docs 2021-09-20 22:55:41 -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
Jacques Chion
cbf2b5b2fa updating translation, without putting files from tuxpaint-docs 2021-09-18 11:01:02 +02:00
Bill Kendrick
e1b80eb5d9 Portuguese translation update
Welcome, new contributor Hugo Carvalho!
2021-09-17 10:38:35 -07:00
Shin-ichi TOYAMAA
61eeb794f4 Updated Japanese translations. 2021-09-13 10:55:59 +09: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
a3080eef18 WIP Rotational brushes now supported
Unlike "directional" brushes, in which a 3x3 grid representing the
8 cardinal directions (45 degree steps) is used, only a single brush
image is required, and Tux Paint will rotate it between 0 and 360 degrees,
depending on the direction the mouse is going.

The brush's ".dat" file should contain a line consisting of the word
"rotate".

Note: This adds a dependency on "SDL_gfx" library (Homepage:
https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
SourceForge project page: https://sourceforge.net/projects/sdlgfx/)
as this feature use it's "rotozoom" functionality.

WIP -- Doesn't handle animated brushes correctly yet!

Closes https://sourceforge.net/p/tuxpaint/feature-requests/122/
2021-09-06 23:45:35 -07:00