Commit graph

4603 commits

Author SHA1 Message Date
Bill Kendrick
cc4cc3db4f Doc'ing Pere's Catalan update 2021-05-09 02:26:44 -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
c4844c447c Galician docs update
Adding note about buttonsize max.
2021-04-25 12:40:00 -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
5e5eac5dcf Refresh README w/ static tuxpaint-import filename
Example won't change every time we build stuff...
2021-04-19 00:26:17 -07:00
Bill Kendrick
fd126c0c08 ...Also OPTIONS.txt... 2021-04-19 00:20:58 -07:00
Bill Kendrick
d47885a06c Refresh docs with OPTIONS (re: buttonsize) 2021-04-19 00:19:14 -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
Shin-ichi TOYAMAA
8a27286a02 Added auto scroll bar for <pre> 2021-04-03 12:27:55 +09:00
Bill Kendrick
1dc7b44811 Refresh Galician translation of docs
Per https://sourceforge.net/p/tuxpaint/tuxpaint-docs/ci/c3eb9b14b01e5cd01af3ebeaa0cd85469d47d793/
2021-03-27 12:15:40 -07:00
Bill Kendrick
2587ae0ce5 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2021-03-27 00:45:19 -07:00
Bill Kendrick
dcd4b7c59c Refresh OPTIONs re: coarse keyboard movement
h/t Shin-Ichi in
https://sourceforge.net/p/tuxpaint/tuxpaint-docs/ci/97ecddd3c022b7a38d065d175670d474157a38d4/
2021-03-27 00:44:26 -07:00
Mark Kim
37d5e0af53 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2021-03-26 22:54:51 -04: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
Bill Kendrick
18b82ab0df Refresh OPTIONS after tweaks re: Windows->LANG 2021-03-25 09:18:11 -07:00
Bill Kendrick
50d3e99ccb Regen'd OPTIONs after Shin-Ichi's changes
From https://sourceforge.net/p/tuxpaint/tuxpaint-docs/ci/ad098eca7de6adba07468b67e1b576095cd2cab0/
2021-03-25 09:07:16 -07:00
Mark Kim
e029e864c7 Merge branch 'master' into sdl2.0 2021-03-24 00:01:13 -04:00
Mark Kim
1425db0578 add back noquit option to ios default config
must have failed to get merged from the sdl2.0 branch.
2021-03-24 00:00:31 -04:00
Mark Kim
3d11ee1181 disable lockfile in ios
ios doesn't allow an app to be started more than once so it's not necessary,
and can confuse users who tries to reopen the app after an accidental closure.
2021-03-24 00:00:15 -04:00
Mark Kim
899c93b5aa disable lockfile in ios
ios doesn't allow an app to be started more than once so it's not necessary,
and can confuse users who tries to reopen the app after an accidental closure.
2021-03-23 23:58:15 -04:00
Mark Kim
124bd5f874 Merge branch 'master' into sdl2.0 2021-03-23 23:51:00 -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
85cc442f47 Merge branch 'master' into sdl2.0 2021-03-23 22:30:30 -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
Bill Kendrick
55ca7ed09f Refreshed Japanese ADVANCED-STAMPS-HOWTO
(And also OPTIONS) based on Shin-Ichi's changes
(https://sourceforge.net/p/tuxpaint/tuxpaint-docs/ci/5581328a34d44ced772ad194ee0d2d937ae20ec8/)
2021-03-23 09:53:30 -07:00
Bill Kendrick
281c52813a Doc'ing Mark's work on fresh iOS port 2021-03-22 22:09:20 -07:00
Mark Kim
5e8ccbb19e simplify ios compilation
- Merge iphoneos and iphonesimulator compilation.
- Install to package root.
2021-03-22 22:23:01 -04:00
Mark Kim
c279e823b1 remove __APPLE__ code not used by __IOS__ 2021-03-22 22:19:51 -04:00
Mark Kim
5c57cd9c53 ios splash screen update
It looks sightly better to align the copyright text to the bottom of the splash
screen.
2021-03-22 22:15:22 -04:00
Mark Kim
b73fb9dcdb Lazy resolution of iphone*_ARCH_LINKS
Early resolution of iphone*_ARCH_LINKS calls pkg-config even when compiling for
non-ios platforms, slowing down compilation unnecessarily and possibly raise
errors about nonexisting libraries that are not used.

This change modifies the iphone*_ARCH_LINKS to resolve lazily upon use so
pkg-config is not called unless the variables are used.
2021-03-22 22:15:09 -04:00
Mark Kim
b27ac1ddbc simplify ios compilation
- Merge iphoneos and iphonesimulator compilation.
- Install to package root.
2021-03-22 22:07:40 -04:00
Mark Kim
6fc6e798bf remove __APPLE__ code not used by __IOS__ 2021-03-22 22:02:39 -04:00
Mark Kim
4df06283f7 enable noquit option in ios
iOS cannot quit an application.  Disable the quit option.
2021-03-22 21:45:53 -04:00
Mark Kim
34cc751438 ios splash screen update
It looks sightly better to align the copyright text to the bottom of the splash
screen.
2021-03-22 21:44:56 -04:00
Mark Kim
b05f75f10b Lazy resolution of iphone*_ARCH_LINKS
Early resolution of iphone*_ARCH_LINKS calls pkg-config even when compiling for
non-ios platforms, slowing down compilation unnecessarily and possibly raise
errors about nonexisting libraries that are not used.

This change modifies the iphone*_ARCH_LINKS to resolve lazily upon use so
pkg-config is not called unless the variables are used.
2021-03-21 23:09:32 -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
Bill Kendrick
efbdb54cce Refresh docs after typo fix in OPTIONS
h/t Pere (https://sourceforge.net/p/tuxpaint/tuxpaint-docs/ci/a705453ca77762be42912dc692e48bd3e435afba/)
2021-03-21 12:21:59 -07:00
Mark Kim
bb357a51a1 Merge branch 'master' into sdl2.0 2021-03-20 11:02:19 -04:00
Bill Kendrick
c94075cfe8 Refreshing docs for ja_JP & <p> tweak to OPTIONS
Applying changes made by Shin-Ichi's recent commits to tuxpaint-docs.
2021-03-18 00:21:03 -07:00