Commit graph

1515 commits

Author SHA1 Message Date
Bill Kendrick
7db784ce88 Tools' scroll buttons auto-repeat
The "Tools" section's up & down scroll buttons auto-repeat if
you click/tap and hold them.

For https://sourceforge.net/p/tuxpaint/feature-requests/173/
(Still to-do: The buttons in the Open & New dialogs.)
2022-04-02 21:15:35 -07:00
Bill Kendrick
347a9b5cc8 Sanity checks in load_info_about_label_surface()
Avoid crashes when coming across unexpected Label data stored within
a saved PNG image.
(h/t Donny Sianipar for the report & sample image)
2022-04-02 17:29:22 -07:00
Bill Kendrick
b8429734de Sync: Improve style of INSTALL doc
Also picking up minor update to CSS
2022-04-01 00:16:33 -07:00
Bill Kendrick
d969c73968 Sync: Style updates to PNG docs 2022-03-31 23:17:10 -07:00
Bill Kendrick
f6c549b3b4 Sync: Style, update, add more apps to SVG docs 2022-03-31 23:08:38 -07:00
Bill Kendrick
084adab616 Sync SIGNALS doc after style updates 2022-03-31 22:51:19 -07:00
Bill Kendrick
799670ac24 Sync docs after stylizing Notes in OPTIONS 2022-03-31 01:24:25 -07:00
Bill Kendrick
efd284f8c8 Committing translated versions of docs
Something didn't copy them over from tuxpaint-docs :-(
(Also, grab tweaked <ul> CSS)
2022-03-31 01:04:37 -07:00
Bill Kendrick
5fe0850827 Sync EXTENDING docs after note styling 2022-03-31 00:55:09 -07:00
Bill Kendrick
09756c3d51 Sync docs to get EXTENDING style updates
Also a minor CSS change (affecting README & OPTIONS)
2022-03-31 00:36:45 -07:00
Bill Kendrick
80b5319999 Sync docs after wrapping up OPTIONS styling 2022-03-30 00:43:36 -07:00
Bill Kendrick
2f0cb68147 Sync docs 2022-03-29 2022-03-29 23:51:44 -07:00
Bill Kendrick
30d82dfc6a README: Link to Tux Paint Tumblr 2022-03-18 00:04:19 -07:00
Bill Kendrick
afb7c3c028 README - expanding section on color choices 2022-03-17 01:59:01 -07:00
Bill Kendrick
1b9933b7c2 More appropriately-sized crosshairs on color picker
The corsshairs on the rainbow palette color picker are larger
(by default), and scale up or down based on the UI size
(--buttonsize setting).
2022-03-17 00:36:40 -07:00
Bill Kendrick
491862d2da Color picker: Value slider: Interact on hover motion 2022-03-16 00:33:25 -07:00
dolphin6k
43b84c774a Changed e-mail address of shin-ichi. 2022-03-11 19:57:56 +09:00
Bill Kendrick
9328dfcb79 Sync docs re: HSV color picker 2022-03-02 01:40:45 -08:00
Bill Kendrick
0c858122b5 Color picker now offers full HSV selection
Added a slider to choose value, which re-renders the rainbow-colored
box on the left (which now only displays hue/saturation).
2022-03-02 01:30:36 -08:00
Bill Kendrick
128f73f731 Refresh docs; grab Magic rainbow "see also"s 2022-03-01 01:12:37 -08:00
Bill Kendrick
cb4c0a9da4 Bring back missing Text/Label in README 2022-03-01 01:03:30 -08:00
Bill Kendrick
77e13d8d23 Sync up README with latest tweaks, 2022-03-01 2022-03-01 00:55:07 -08:00
Bill Kendrick
eab3e70843 Refresh DOCs 2022-02-27 2022-02-27 23:42:03 -08:00
Bill Kendrick
9ba8302ddb Regen docs
README format tweaks; also link to AUTHORS.txt at the top
2022-02-24 23:05:26 -08:00
Bill Kendrick
8f9b6f52a9 Regen README docs after formatting updates 2022-02-24 17:35:10 -08:00
Bill Kendrick
6e98230a33 Ensure color mixer works in New dialog
and sync README docs to capture that it, and rainbow palette,
may be used.
2022-02-23 23:22:59 -08:00
Bill Kendrick
ed30295004 Syncing docs to grab color mixer/etc. updates 2022-02-23 23:05:22 -08:00
Bill Kendrick
697253a4bd Fixed label position/render bug when selecting via keyboard
Bugfix: Positioning and rendering of labels selected for editing
via [Tab] cycling & the [Enter] key now works as expected.
2022-02-22 00:33:51 -08:00
Bill Kendrick
380e5455f9 Label->Apply->final label: Update screen correctly 2022-02-22 00:00:22 -08:00
Bill Kendrick
a095d89ff2 Updating README to capture Label doc updates 2022-02-21 23:38:56 -08:00
Bill Kendrick
3e385f6a68 More work on Label apply feature
h/t Pere for adding the missing pieces.

WIP b/c there's one minor side effect that needs addressing
(final label, highlighted red, does not lose its highlight)
2022-02-21 23:23:32 -08:00
Bill Kendrick
5c2bcd44a2 OSK: Reposition if cursor overlap zone via [Enter]
Onscreen keyboard repositions itself to the top if you use [Enter]
to move the cursor down, and it begins overlapping the keyboard.

Also, play "carriage return" sound effect, even when entering
a blank 'line' of text.
2022-02-17 22:19:57 -08:00
Bill Kendrick
278513979a Compress doc JPEG images 2022-02-16 14:02:03 -08:00
Bill Kendrick
a304460d6d Compressed PNGs in docs folder
Used `pngout`
2022-02-16 01:48:30 -08:00
Bill Kendrick
9702fcae1b Icelandic update
h/t Sveinn í Felli
2022-02-14 23:43:30 -08:00
Mark Kim
c126eb92b5 macOS fix for backspace in text/label tools in some languages
Fixed the issue with the backspace not working in text and label tools
when in certain language modes in macOS.  Mac keyboards have the DELETE
key where PC keyboards have the BACKSPACE key, and the two keys have
different keycodes, so the backspace requires special handling on the
macOS in programs writtens for the PC.
2022-02-13 17:16:12 -05:00
Bill Kendrick
afc76bc20a Refreshed zh_TW subset font based on current PO files
It had been ~14 years!
2022-02-13 01:34:47 -08:00
Bill Kendrick
0c6c5fd4b9 Doc'ing Santali translation update 2022-02-12 22:30:01 -08:00
Mark Kim
d47ed30f5c Document the macOS fonts search path addition 2022-02-12 22:16:17 -05:00
Bill Kendrick
851f5ffbb7 Win32, loading Label text from drawings: Avoid leak
Avoid leaking memory when loading Label text strings from a saved drawing.

Also, a heck of a lot of comments to explain (as best I understand)
what load_info_about_label_surface() is doing.
2022-02-11 01:18:51 -08:00
Bill Kendrick
f787cb0f75 WIP Label "apply" option
Starting work towards
https://sourceforge.net/p/tuxpaint/feature-requests/213/

The ability to 'apply' a label to the canvas, making it permanent
(as if added using the "Text" tool instead).

Removed unused "label rotate" option's code (and hence addressed
a bug we didn't relalize when choosing the "Label" tool while in
in "--nostampcontrols" mode; the unused "rotate" button would appear).
2022-02-09 22:41:13 -08:00
dolphin6k
110cdeaa6a Documented stdout/stderr redirection for windows. 2022-02-10 12:29:37 +09:00
Bill Kendrick
9f9a25f98a Brush tips - show when anim/rotate/dir, and spacing
Show tips when choosing brushes, to remind the user when they
are animated, and or rotational/directional.

Show tips when brush spacing is changed, specifying the approximate
spacing.  Output is fuzzy, to avoid being overly technical (e.g., it
will never say "2 345/1000 times as big as" or "1/103 the size of")
2022-02-09 02:12:40 -08:00
Bill Kendrick
5330fea44c Doc'ing Label tool improvement in CHANGES.txt 2022-02-07 23:59:37 -08:00
Mark Kim
e1ecf80e26 Fix random crashes in Korean, Japanese, and some other languages
Occasionally running Tux Paint in Korean, Japanese, and possibly other
languages would cause Tux Paint to crash.  This commit fixes it.

This bug was previously mentioned as the possible cause of these
previously reported crashes, though they were determined to be
unrelated:

  https://sourceforge.net/p/tuxpaint/mailman/message/37364981/
  https://sourceforge.net/p/tuxpaint/mailman/message/37376574/

The cause of the crash turned out to be in the function that loads the
input method map (*.im).  Some languages that use more than one
keystroke to produce one unicode character use this mapfile to track, in
a state machine, what keys have been pressed and what unicode character
should be output.  This state machine's memory is increased dynamically
as needed when the input method map file is loaded.  There was a line of
code that references the old memory that could have moved by the memory
increase.  This line of code has been moved to prior to the memory
increase to avoid accessing memory that may have moved.
2022-02-06 21:02:06 -05:00
Mark Kim
c9e195549f macOS system language detection.
It appears the system language detection doesn't work on [some versions
of?] macOS.  Fixed.

Strangely, querying the Cocoa API for the system locale on a system in
US with the preferred language set to Korean produces the invalid locale
"ko-US" instead of the expected "ko-KR".  This behavior of returning the
language with a invalid region qualifier for the language appears to
happen only with languages where macOS does not have regional variants
(this issue does not seem to occur with Canadian English, en-CA, for
example.)  A fuzzy matching locale function has been added to handle
this issue.
2022-02-06 20:26:50 -05:00
Mark Kim
ab2d76d0b9 Update some Korean translations 2022-02-06 08:23:20 -05:00
Bill Kendrick
36968b0abf Doc'ing unset HOME bugfix for macOS
h/t Mark Kim

(Also, reorganized build stuff)
2022-02-05 16:47:29 -08:00
Bill Kendrick
4dbaa0b320 Doc'ing and POT-izing macOS menu translation
h/t Mark Kim (for https://sourceforge.net/p/tuxpaint/bugs/183/)
2022-02-05 16:42:02 -08:00
Bill Kendrick
00b2751cdd Doc'ing Japanese translation update
h/t Shin-ichi
2022-02-03 22:20:51 -08:00