Commit graph

2153 commits

Author SHA1 Message Date
Bill Kendrick
fed3b80359 Ensure Scottish Gaelic has hints to find fonts 2021-09-02 00:18:49 -07:00
Bill Kendrick
75adcc36af Ensure Greek has have hints to find the best fonts
(See https://sourceforge.net/p/tuxpaint/bugs/232/)
2021-09-02 00:09:52 -07:00
GunChleoc
b0f5e1265a Update gd translation 2021-08-18 10:25:15 +01:00
Bill Kendrick
4b0394fd96 Move src/manpage/ to man/ 2021-08-14 22:15:14 -07:00
Bill Kendrick
856ca6dc49 Remove Polish translation of Tux Paint's man page
Remove the very outdated Polish translation of Tux Paint's man page.
2021-08-14 21:44:12 -07:00
Bill Kendrick
d2a4dca86c Each "OPTIONS..." section of manpage gets a blurb 2021-08-09 23:20:16 -07:00
Bill Kendrick
ed5979602e Reorganized options listed in Tux Paint's man page
... and utilize subsections, in doing so.
2021-08-09 23:11:33 -07:00
Bill Kendrick
9c2fa458b8 Ensure command-line options covered more places
Ensured Tux Paint's built-in help ("tuxpaint --help"),
Unix manual ("man page"), and command-line option
tab-completion list all cover the full set of Tux Paint
options.  Some were missing in a few places.
2021-08-08 00:22:05 -07:00
Bill Kendrick
cf99582672 Bump version to 0.9.27 2021-08-07 23:38:50 -07:00
Bill Kendrick
0dbdb35455 manpage updates ahead of 0.9.26
Added more credits to manpage.  Avoiding word-wrapping
URLs and email addresses.  Saved out as UTF-8, rather than
Latin-1 encoding.
2021-06-28 15:43:43 -07:00
Karl Ove Hufthammer
c4ef59cc16 Update Norwegian Nynorsk and Norwegian Bokmål translations 2021-06-28 19:44:36 +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
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
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
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
444047fdce fix attempt to free non-freeable memory 2021-03-23 22:29:02 -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
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
Bill Kendrick
92c993f856 Albanian Tux Paint translation update 2021-03-15 22:12:40 -07: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
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
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
Bill Kendrick
19e5e735cc Scale brushes when rendering in buttos
Allows for larger brushes without UI bugs, but more importantly,
smaller buttons (via --buttonsize less than "48") without UI bugs.
2021-01-27 00:13:42 -08:00
Bill Kendrick
73eef80068 Avoid using HUGE font for button labels
They were rendering very large, and shorter strings were
being shrunk down less horizontally, so appearing stretched out
(and touching the edges of the button needlessly).
2021-01-26 23:33:45 -08:00
Bill Kendrick
3ebb76e7bb Mend backward logic in font picking for buttons
Was choosing largest font (and scaling down) for medium-sized
buttons, and medium font for large-sized buttons.
2021-01-26 23:10:05 -08:00
Bill Kendrick
726aa0897e Disallow window+button size cause overlap in Open
Need room for 3 buttons on left and right, with scroll-down
arrow in the middle.  (Helps both Open and Open->Slides dialogs.)
2021-01-26 23:00:27 -08:00
Bill Kendrick
4d9bd3945d Ensure buttonsize + window size sufficiently tall
Need space for 5 buttons' worth of height, for situations such as

 * Stamps
   1. up/down scroll arrows (1 button height, total)
   2. actually show some stamps
   3. left/right paging buttons
   4. flip/mirror toggles
   5. scale 'slider'

 * Label
   1. up/down scroll arrows (1 button height, total)
   2. actually show some fonts
   3. label picker button
   4. bold/italic toggles
   5. shrink/grow font size buttons
2021-01-26 22:47:36 -08:00
Pere Pujal i Carabantes
41e4e80e4b Bottom scroll button, set arrow cursor when scrolling by clicking button. 2021-01-26 23:49:54 +01:00