Commit graph

2540 commits

Author SHA1 Message Date
Karl Ove Hufthammer
c4ef59cc16 Update Norwegian Nynorsk and Norwegian Bokmål translations 2021-06-28 19:44:36 +02:00
Pere Pujal i Carabantes
a37582da69 First RC for 0.9.26 Merge branch 'master' into sdl2.0 2021-06-17 00:07:32 +02:00
Jacques Chion
795b574c7d updating translation 2021-06-14 11:04:03 +02:00
Bill Kendrick
52dc7e62ca Rebuild PO & .desktop
Also update RELEASE.txt to correctly document how to update
tuxpaint.desktop
2021-06-13 21:07:36 -07:00
Bill Kendrick
c19b06813b Bump release year in some package metadata files 2021-06-13 21:05:17 -07:00
Bill Kendrick
4b985e1213 Occitan translation update 2021-06-07 09:26:10 -07:00
Pere Pujal i Carabantes
4d27837af0 Fill crash solved and some translations Merge branch 'master' into sdl2.0 2021-05-09 18:02:11 +02:00
Pere Pujal i Carabantes
00d22d57bc Updating Catalan translation. 2021-05-08 01:18:49 +02:00
Pere Pujal i Carabantes
a4c22ad2e7 Make use of fill_tips strings and translations. 2021-05-07 21:41:48 +02:00
Bill Kendrick
2ce07ac9de Fill: Avoid infinite recursion crash
simulate_flood_fill_outside_check() could spin in an
infinite loop because it could sometimes set values in the
`touched[]` array to 0, which means the spot was never seen.

Values going in there are not boolean, but a 0-255 gradient,
for smoother fills on antialiased edges.

This change forces it to be a 1-255 value, ensuring that
a 'touched' spot on the canvas will have a non-zero `touched[]`
value.

h/t Pere for noticing the bug, providing some details,
and best of all providing a sample image to play with which
consistently invoked the crash.  (It made mending this a
10 minute task for me, rather than an hours-long hunt to reproduce!
Big 'thanks' for doing that ahead of time!!!)
2021-05-06 00:05:58 -07:00
Shin-ichi TOYAMAA
6568cbb433 Updated Japanese translation 2021-05-04 13:48:40 +09:00
Bill Kendrick
044de685a8 Icelandic translation update 2021-05-03 09:20:07 -07:00
Pere Pujal i Carabantes
8c0bf052bf Changes in buttonsize, Merge branch 'master' into sdl2.0 2021-04-25 07:39:01 +02:00
Bill Kendrick
fa62a91d4f More info on buttonsize in CHANGES.txt
Also bump dates in CHANGES.txt and src/tuxpaint.c
2021-04-19 00:07:32 -07:00
Pere Pujal i Carabantes
fc8310ba03 Don't quit if the user asks for a too big button size, just run with the maximum supported button size. 2021-04-19 01:15:09 +02:00
Mark Kim
c46bd2ce51 stamps installer support for ios
stamps installer now works with ios.
2021-03-26 22:54:15 -04:00
Mark Kim
8e9362a550 stamps installer support for ios
stamps installer now works with ios.
2021-03-26 22:53:19 -04:00
Mark Kim
5a1eca115f save/open support in ios 2021-03-23 23:50:00 -04:00
Mark Kim
ac5c1d3caa save/open support in ios 2021-03-23 23:48:53 -04:00
Mark Kim
8db052c9d3 fix attempt to free non-freeable memory 2021-03-23 22:29:41 -04:00
Mark Kim
444047fdce fix attempt to free non-freeable memory 2021-03-23 22:29:02 -04:00
Mark Kim
c3cce36fc0 Merge branch 'master' into sdl2.0 2021-03-23 21:22:12 -04:00
Mark Kim
4575f184a5 ios export dir support 2021-03-23 21:15:50 -04:00
Mark Kim
c279e823b1 remove __APPLE__ code not used by __IOS__ 2021-03-22 22:19:51 -04:00
Mark Kim
6fc6e798bf remove __APPLE__ code not used by __IOS__ 2021-03-22 22:02:39 -04:00
Mark Kim
39cc096ece iOS port initial commit
Known Issues
------------
- No printing support.
- No typing support using the OS virtual keyboard.  iOS needs to be signalled
  to bring up the virtual keyboard when the text tool is active.  We also may
  need to do some finagling to make IM work with the virtual keyboard.
- OS language detection doesn't work yet.
- Quitting doesn't close the app.  It just displays a black screen until it is
  force-closed.
- Need to include cross-compilation instructions.

Possible Issues
---------------
- No text display.  This is likely an issue with how pango and related
  libraries were cross-compiled rather than an issue with Tux Paint code.  From
  the error output it appears to be a font rendering issue.
- SVG integration couldn't be tested because RSVG library has not yet be
  cross-compiled successfully.
- Only tested under the iOS Simulator (and not on an actual iOS device yet.)
2021-03-21 23:01:49 -04:00
Mark Kim
92196bd69a iOS port initial commit
Known Issues
------------
- No printing support.
- No typing support using the OS virtual keyboard.  iOS needs to be signalled
  to bring up the virtual keyboard when the text tool is active.  We also may
  need to do some finagling to make IM work with the virtual keyboard.
- OS language detection doesn't work yet.
- Quitting doesn't close the app.  It just displays a black screen until it is
  force-closed.
- Need to include cross-compilation instructions.

Possible Issues
---------------
- No text display.  This is likely an issue with how pango and related
  libraries were cross-compiled rather than an issue with Tux Paint code.  From
  the error output it appears to be a font rendering issue.
- SVG integration couldn't be tested because RSVG library has not yet be
  cross-compiled successfully.
- Only tested under the iOS Simulator (and not on an actual iOS device yet.)
2021-03-21 20:46:03 -04:00
Mark Kim
bb357a51a1 Merge branch 'master' into sdl2.0 2021-03-20 11:02:19 -04:00
Bill Kendrick
92c993f856 Albanian Tux Paint translation update 2021-03-15 22:12:40 -07:00
Pere Pujal i Carabantes
f54bde3df2 Adapt Fill to SDL2 2021-03-12 00:14:36 +01:00
Pere Pujal i Carabantes
96e934e639 Docs translations and fill improvements Merge branch 'master' into sdl2.0 2021-03-11 23:39:32 +01:00
Bill Kendrick
b7e2aeca34 Remove printf() debugging left in fill.c 2021-03-08 01:39:47 -08:00
Bill Kendrick
f7e9fa2870 Fill antialiasing edges; Not perfect, but improved
Probably can still improve the ratio of
{old pixel's difference to initial color to be replaced}
to {new color being flood-filled}...
2021-03-08 01:36:07 -08:00
Bill Kendrick
866d5190bf Continuing to improve fill anti-aliasing 2021-03-08 01:18:00 -08:00
Bill Kendrick
3b5a0a1586 WIP: Fill tool improvement related to antialiasing
Fill tools do a better job at filling around
antialiased edges, and apply some blending.
(Blending does not yet occur with gradient tools.)
2021-03-07 01:00:53 -08:00
Bill Kendrick
f40dc07f37 Radial gradient fill improvement
Attempting to improve fading out to edges (so the
actual effect is more obvious).
2021-03-05 18:08:19 -08:00
Bill Kendrick
6771f39908 Galician translation update 2021-03-03
h/t Miguel Bouzada
2021-03-03 22:31:00 -08:00
Pere Pujal i Carabantes
00b4aa126f Merge branch 'master' into sdl2.0. Updating with latest changes and improvements, clone, fill,... 2021-02-25 00:48:38 +01:00
Mark Kim
b51145123d macOS fixes
- macos_ instead of macos.  Appears to hae been missed when merging a
  previously made change in the mainline.
- Additional linker flags required for building with SDL2.  Unclear why
  pkg-config provides these flags when building with SDL1 but not with SDL2 --
  it's inconsistent but strictly not a bug, may need to discuss with the
  MacPorts team.
2021-02-21 09:44:43 -05:00
Bill Kendrick
76cb1c5446 Linear gradient fill mode 2021-02-20 21:35:46 -08:00
Bill Kendrick
0dfe96f291 Fill tool docs & ensuring PO translations
And also grabbing txt versions of recent fr_FR updates.
2021-02-20 20:40:58 -08:00
Bill Kendrick
058191bd04 Radial gradient fill tool added
Note: Need to add to docs.
2021-02-20 18:08:06 -08:00
Bill Kendrick
c63b86c8fa Adding sub-tool support to Fill tool
Currently only one sub-tool (Solid) shown, as no code for new
tools has been added yet.  (Plans for linear & radial gradients.)
2021-02-20 16:42:35 -08:00
Bill Kendrick
a8a4001fe9 Squelch some debugging printf() ("most ...") 2021-02-20 15:27:10 -08:00
Bill Kendrick
7cd547e746 "xorpixel()" function added to Magic Tools API 2021-02-20 15:19:40 -08:00
Pere Pujal i Carabantes
5fdd739bdc Apply changes on documentation. Merge branch 'master' into sdl2.0 2021-02-07 23:58:08 +01:00
Bill Kendrick
852ec5a0c9 Noting that colorsrows can only be between 1 & 3 2021-02-05 18:05:25 -08:00
Bill Kendrick
85356473e4 Doc'ing new "colorsrows" option
In manpage, and (via 'tuxpaint-docs' update) in OPTIONS docs.
Also, added a bash tab-completion entry for it.
(h/t Pere for enabling the feature.)
2021-02-05 17:56:20 -08:00
Pere Pujal i Carabantes
43d4f8b494 Activating the ability to have more than one colors row.
Usefull for people with coarse input devices that need bigger buttons but got color buttons too narrow.
Just added the option, all the support code where already in place.
2021-02-05 22:14:39 +01:00
Pere Pujal i Carabantes
0b65e86170 Activating the ability to have more than one colors row.
Usefull for people with coarse input devices that need bigger buttons but got color buttons too narrow.
Just added the option, all the support code where already in place.
2021-02-05 03:42:01 +01:00