Commit graph

2181 commits

Author SHA1 Message Date
Bill Kendrick
8b4c78bf4e Show names of export files; place in clipboard
Name of exported picture is shown, and placed in clipboard
(copy/paste buffer) after exporting a drawing (via Open dialog)
or animated GIF (via Open->Slideshow).
2024-06-02 23:09:57 -07:00
Bill Kendrick
552b30a3e9 Removed textdir() function
Closes https://sourceforge.net/p/tuxpaint/tasks/33/
2024-06-02 22:41:46 -07:00
Bill Kendrick
5c7c1b6083 Remove lang_use_right_to_left_word stuff; it's unused
For https://sourceforge.net/p/tuxpaint/tasks/33/`
Next step: remove `textdir()` completely.
2024-06-02 22:29:55 -07:00
Bill Kendrick
111c9b4dc8 Sync docs after README->What's New update about brushes 2024-06-02 22:16:15 -07:00
Bill Kendrick
80c09d1211 New brush: Fluff 2024-06-02 22:12:52 -07:00
Bill Kendrick
15fe066f0f Regen docs after messing with fuzzy ja_JP strings, etc.
See https://sourceforge.net/p/tuxpaint/tuxpaint-docs/ci/f67d14129a481a04d4a07060afcf0ea3b57f9780/
2024-06-02 17:54:13 -07:00
Bill Kendrick
aed818f1b1 Update places that mentioned "--fullscreen" with no args
Since `parse.gperf` was added long ago, the ability to run Tux Paint
with "--fullscreen" command-line, or simply "fullscreen" in the
config. file, no longer exists.

It must be `--fullscreen=yes` (or `--fullscreen=native` as an
alternative to `--fullscreen=yes --native`).  It can also accept
`--fullscreen=no` as an alternative to `--windowed`.

Updating the following places

 * BASH tab completion
 * `tuxpaint --help` output
 * FAQ

h/t Karl for reporting

Closes https://sourceforge.net/p/tuxpaint/bugs/289/
2024-06-02 11:48:51 -07:00
Bill Kendrick
93a8fd8815 Drop button_label_y_nudge; no longer needed (part 2)
Apparently `git push`-ed before I was done.  The rest of
https://sourceforge.net/p/tuxpaint/tuxpaint/ci/8db84be008a797f04b2d8557cb0c196c74da5059/
2024-06-02 11:09:05 -07:00
Bill Kendrick
fb28360d5d Syncing Japanese docs
h/t Shin-ichi

Also adds missing "Windows 7" to where files are saved (FAQ & README)
(also h/t Shin-ichi)
2024-06-02 10:16:10 -07:00
Bill Kendrick
c1ff0efad1 Word wrap button labels on soft hypens
If the UTF-8 sequence for the Unicode Soft Hyphen ("Non-printable U+00AD")
occurs in the text to be used as the label of a button, and the label
is still too wide after any wrapping done based on either space and/or a
visible hyphen ("-", U+002D), a visible hyphen will be introduced and
the label will be wrapped.

e.g. Norwegian Nynorsk "Regnbogesyklus"

Regnboge-
syklus

(rather than all crammed on one line and impossible to read)

h/t Karl for the idea.

Closes https://sourceforge.net/p/tuxpaint/bugs/288/
2024-06-01 21:26:45 -07:00
Bill Kendrick
217e653d3a Word wrap button labels on hypens/dashes (-)
e.g. Norwegian Nynorsk "ROGGBIF-regnboge" will appear as

  ROGGBIF-
  regnboge

rather than all crammed on one line and impossible to read.

h/t Karl for the idea.  (Next up: support soft-hyphens)

For https://sourceforge.net/p/tuxpaint/bugs/288/
2024-06-01 20:57:39 -07:00
Bill Kendrick
9ebfd21049 Doc'ing Norwegian Nynorsk updates
h/t Karl
2024-06-01 20:26:59 -07:00
Bill Kendrick
7507ea7217 Syncing docs to get Magic API update re: retract_undo() 2024-06-01 02:07:12 -07:00
Bill Kendrick
01afb5846c api->retract_undo() added to Magic API; used by Filled Polygon
New API function which rolls back the Undo buffer (which is snapshotted
upon a mousedown event ahead of calling the Magic tool's `_click()`
function.)  Dangerous; use sparingly!

Filled Polygon uses this to prevent partially-created (aka unfinished
aka incomplete) polygons -- the preview lines and control points -- from
being recorded and wasting space in the Undo history, or reappearing
upon Redo.

TODO - Other tools (e.g., Clone) would certainly benefit from this.
TODO - Needs more testing to help identify any bugs/issues introduced
by this!
TODO - Magic API docs need updating.

This is probably a sufficient solution that will make
https://sourceforge.net/p/tuxpaint/feature-requests/246/,
'"Overlay" surface in Magic API', unnecessary.
2024-06-01 01:35:50 -07:00
Bill Kendrick
de38d07f0e Doc'ing ja & fr translation updates
h/t Jacques & Shin-ichi
2024-05-30 23:38:18 -07:00
Bill Kendrick
277b9e10bf Filled Polygon "remove" sound effect
For when merging points.

Based on CC Attribution 3.0 sound by "stinkhorn"
(see CHANGES.txt & AUTHORS.txt).
2024-05-28 23:59:56 -07:00
Bill Kendrick
c00cf991f9 Filled Polygon "nearby" sound effect
When red & green endpoint dots are being dragged near each other,
play a different sound.

Based on CC Attribution 4.0 sound by Eliot Lash
(see CHANGES.txt & AUTHORS.txt).
2024-05-28 23:47:54 -07:00
Bill Kendrick
a2fece280b Sound effects for Filled Polygon magic tool
Based on some CC0 sounds by Kenneth Cooney (see AUTHORS.txt and
CHANGES.txt).
2024-05-28 23:29:57 -07:00
Bill Kendrick
02562f8b44 Avoid confusion: Remove specular reflection from CHANGES 2024-05-28 22:55:39 -07:00
Bill Kendrick
4256d81278 Mend issue of rotating brushes not drawing on single click
Rotating brushes would not draw anything if you simply
click and release with no motion in between (unless brush
spacing was set to the minimum).  It will now draw the
default "up" direction of the brush in that situation.
(h/t Pere for reporting)

Implemented by using a boolean that tracks whether there has
been any motion since a click; if not, the `brush_counter` is
forced to reset (to 999), to insist on `brush_draw()` blitting
something.  (It used to always ignore if a rotational brush,
to avoid accidentally drawing in the wrong direction on release.)
2024-05-25 11:50:17 -07:00
Bill Kendrick
c1f26511ef Doc'ing Catalan updates
h/t Pere
2024-05-22 23:32:33 -07:00
Bill Kendrick
dc49449966 Regen README after dropping Specular from What's New 2024-05-19 23:42:22 -07:00
Bill Kendrick
97c547e9c7 Demoting Specular magic to a WIP 2024-05-19 23:30:12 -07:00
Bill Kendrick
4f86d60865 Sync Env Vars & Advanced Stamps Howto (for real)
...after adding CSS.
2024-05-15 00:01:19 -07:00
Bill Kendrick
073c4f422b Regen FAQ & Advanced Stamps Howto with CSS & other tweaks 2024-05-14 23:57:28 -07:00
Bill Kendrick
79d5cb5cea Don't call rsvg_handle_close(); it's deprecated
Borrowing from 825fa1c,

- rsvg_handle_close() is deprecated from librsvg 2.46, together with
  rsvg_handle_write()
- rsvg_handle_close() is only needed to be called after
  rsvg_handle_write()
- rsvg_handle_close() isn't needed to be called after
  rsvg_handle_new_from_file() [1]

1: https://gnome.pages.gitlab.gnome.org/librsvg/Rsvg-2.0/method.Handle.close.html

Shrug!

Closes https://sourceforge.net/p/tuxpaint/bugs/278/
2024-05-14 23:28:50 -07:00
Bill Kendrick
d26b4f28ff Polyfill - Address compiler warnings, other cleanup 2024-05-14 23:09:18 -07:00
Bill Kendrick
51d47d554e Syncing tp_magic_example.c (indent & transliteration) 2024-05-10 01:29:05 -07:00
Bill Kendrick
bd10e955a1 CHANGES: Doc'ing updates to tp_magic_example.c 2024-05-10 01:02:54 -07:00
Bill Kendrick
e096b9a5dd Sync docs for updated tp_magic_example.c's 2024-05-10 01:00:31 -07:00
Bill Kendrick
fbb46751c6 Cleaned up compiler warnings in dither.c Magic tool 2024-05-10 00:16:17 -07:00
Bill Kendrick
a9e6a5ae9f Sync docs after localizing macOS paths 2024-04-29 21:42:48 -07:00
Bill Kendrick
1b5386fba1 Sync docs after 3D Glasses update 2024-04-29 00:54:09 -07:00
Bill Kendrick
d95e7084df 3D Glasses - Now offers various anaglyph color combos
The size option is being misused to allow different
color combinations: Red/Cyan, Red/Blue, Red/Green, and Magenta/Cyan
(there are others we could add, if only someone could figure out the
math :-D)

Note - If Tux Paint is running in "Novice" complexity mode, no choices
will be available; it will use Red/Cyan, as before.

h/t O'Hare The Rabbit for the idea
2024-04-28 18:03:28 -07:00
Bill Kendrick
a655146677 Syncing docs again, after wrapping up path nonsense 2024-04-27 13:45:41 -07:00
Bill Kendrick
e268b598ff Sync docs after various doc source updates
...mostly in terms of modularizing how various file
and directory (folder) paths are shown (for consistency in
both name and styling); add some missing paths (e.g., where
does Tux Paint save drawings on Haiku?)
2024-04-27 12:42:55 -07:00
Bill Kendrick
9c2a75455d Regen docs after more path modularizing; --nosysconfig correction 2024-04-27 11:07:45 -07:00
Bill Kendrick
5f8e2b51bd FAQ & OPTIONS: Haiku config file path
h/t Luc
2024-04-27 10:41:26 -07:00
Bill Kendrick
6554ac644a More TROUBLESHOOTING.txt changes 2024-04-27 10:38:22 -07:00
Bill Kendrick
28110dcba0 Update TROUBLESHOOTING.txt re: macOS
h/t Mark Kim
2024-04-27 10:16:43 -07:00
Bill Kendrick
0aa370ba44 Attempting to prevent invalid memory access...
...during linear gradient fill.

h/t Peter Link <peterlink3 on SourceForge>
https://sourceforge.net/p/tuxpaint/bugs/287/
2024-04-18 00:25:02 -07:00
Bill Kendrick
d3e229ad47 New Acrylic brush
Also, added descriptions of new Pencil & Acrylic brushes.
Also, increased spacing of Sparkles brush.
2024-04-12 20:03:01 -07:00
Bill Kendrick
ae899da68d Filled polygon: Icon; tweaked on-screen instructions 2024-04-12 09:24:19 -07:00
Bill Kendrick
f603adb648 Filled Polygon example image for docs 2024-04-12 09:18:56 -07:00
Bill Kendrick
14cabfcdc7 Sync docs after reorg'ing & adding Magic tools 2024-04-11 00:23:44 -07:00
Bill Kendrick
465374158b Sync'ing docs after doc'ing [un]groupmagictools option 2024-04-10 23:13:01 -07:00
Bill Kendrick
850b733f4b Activate [un]groupmagictools option 2024-04-10 23:03:17 -07:00
Bill Kendrick
4ad4bb59a2 Sync Docs after updating README: What's New 2024-04-08 23:27:00 -07:00
Bill Kendrick
554c6145fc WIP Ability to ungroup Magic tools
Put them in a big long list, without left/right pagination buttons,
like pre-0.9.27 Tux Paint.

Code is in place, but no way of activating it.

For https://sourceforge.net/p/tuxpaint/feature-requests/229/
2024-04-08 22:15:23 -07:00
Bill Kendrick
667f69c733 Sync docs after fullscreen FAQ entry, etc. 2024-04-07 15:05:14 -07:00