Commit graph

3078 commits

Author SHA1 Message Date
Bill Kendrick
23a82cef5a WIP "Rotate" magic tool
Rotates the canvas
2024-09-24 23:36:22 -07:00
Bill Kendrick
28bc50efab Regen PO after adding Fractals; add to Appdata file 2024-09-23 22:59:40 -07:00
Bill Kendrick
dbbc8df6c2 When warning about Magic tool orders, show names too 2024-09-23 22:03:07 -07:00
Bill Kendrick
d94e85e26e Sound pause/unpause Magic API functions...
...plus documenting them.
...plus using them in new "Comic Dots" Magic tool.
2024-09-17 22:11:32 -07:00
Bill Kendrick
61478d7858 Doc'ing new "Comic Dots" magic tool 2024-09-17 21:11:50 -07:00
Bill Kendrick
e8418cc330 WIP "Comic Dots" magic tool
For https://sourceforge.net/p/tuxpaint/feature-requests/257/
2024-09-16 23:56:33 -07:00
Bill Kendrick
fed69f534d New "Eraser" flood fill mode
...to expose the background (solid color, or template or starter
background).

Closes https://sourceforge.net/p/tuxpaint/feature-requests/258/
2024-09-16 20:52:26 -07:00
Pere Pujal i Carabantes
1cfde8e518 Quitting when Android asks to do so to recover resources, previously a phone with Tux Paint running unatended in the background and asked to quit by Android, greated the user with an "Are you sure" sound but the user was unable to interact with Tux Paint anymore. 2024-09-15 16:54:01 +02:00
Bill Kendrick
ee97201a33 Regen POT/PO 2024-07-26 01:16:14 -07:00
Bill Kendrick
24a55fae91 Update Vietnamese translation
h/t Cas (new contributor)
2024-07-26 01:14:22 -07:00
Bill Kendrick
abf0fb6556 New 0.9.34 entry stubs in CHANGES and appdata 2024-07-26 00:45:58 -07:00
Bill Kendrick
5650435ce7 Bump date in appdata file 2024-07-17 21:12:26 -07:00
Jacques Chion
24e250fdfc updating french translation 2024-07-07 08:07:07 +02:00
Bill Kendrick
50fc7952a7 Ran update-po.sh; ru.po word-wrap changed some 2024-07-06 11:47:12 -07:00
Bill Kendrick
da8ab672c8 Bump date in appdata file 2024-07-06 11:41:10 -07:00
Alevtina
c270d5a600 Update Russian translation 2024-06-27 16:54:21 +03:00
dolphin6k
8a340e0688 Updated Japanese 2024-06-15 21:27:03 +09:00
Bill Kendrick
71959d502e tuxpaint-completion.bash - use _have no have
For https://sourceforge.net/p/tuxpaint/bugs/290/
2024-06-11 23:33:34 -07:00
Bill Kendrick
8ba9fb85e1 More tweaks to try & get Haiku Trash working
h/t Jérôme for all the hand-holding for Luc & me
2024-06-07 00:50:29 -07:00
Bill Kendrick
d830aea22a Noting Haiku trash support in Appdata entry for 0.9.33 2024-06-07 00:42:13 -07:00
Bill Kendrick
cce95a7274 Also extern "C" haiku_print()
h/t Jérôme
2024-06-07 00:36:33 -07:00
Bill Kendrick
fe7f0dddf9 Derp haiku_trash.cpp not .c 2024-06-07 00:35:00 -07:00
Bill Kendrick
3c5303563a WIP Dropping in code for Haiku trash can support
h/t Jérôme Duval <https://github.com/korli> for pointing us to this
(see https://github.com/haikuports/haikuports/issues/10568)
Code used is copyright (c) 2004, Francois Revol <revol@free.fr>,
provided under the MIT licence.

(Also, ran `indent.sh`)
2024-06-06 23:06:07 -07:00
Bill Kendrick
33db4c16f5 WIP Changes to support building for OS/2
+ WIP Makefile updates to support building for OS/2
   - TODO: Makefile needs SYSNAME test to detect OS/2 (Bill has asked Elbert)
 + Added "__declspec(dllexport)" (via new "TX_EXTERN" #define'd in
   `tp_magic_api.h`) to public function definitions in Magic tools
   - WIP: So far just "Mirror/Flip" plugin
   - TODO: Add "TX_EXTERN" prefix to all other public Magic tool functions
 + Renamed long Magic tool source files to have shorter filenames
   - WIP: So far just "Mirror/Flip" (`mirror_flip.c` -> `mirror_f.c`)
   - TODO: Rename all other magic tool source files.

h/t Elbert Pol for providing info and some diffs!
2024-06-06 00:40:42 -07:00
Pere Pujal i Carabantes
2196d6dc72 Updating Catalan. 2024-06-04 00:20:09 +02:00
Jacques Chion
f7d4e48ed0 modifié : fr.po 2024-06-03 17:22:50 +02:00
Jacques Chion
f8256b1f81 modifié : fr.po 2024-06-03 08:29:12 +02:00
Bill Kendrick
ec127e6946 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2024-06-02 23:12:54 -07:00
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
Jacques Chion
3524471f0e modifié : fr.po 2024-06-03 08:07:17 +02: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
80c09d1211 New brush: Fluff 2024-06-02 22:12:52 -07:00
Pere Pujal i Carabantes
bd95a6f523 Updating Catalan to make use of Soft Hyphens line breaking feature. Thanks, Karl and Bill. 2024-06-02 22:51:08 +02: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
8db84be008 Drop button_label_y_nudge; no longer needed
`button_label_y_nudge`, used in `tuxpaint.c` to nudge button
label text down, was only ever used with Khmer language and is no
longer necessary (the text was actually appearing _too_ low now).

Removing that, as well the `lang_y_nudge[]` look-up table, and
use of the values (`setup_i18n()` and `set_current_language()`)
inside `i18n.c`.
2024-06-02 11:04:43 -07:00
Bill Kendrick
4ba6063423 Tweaks to button label size/position
Word-wrap when text is [still] >= 1.3 * button width
(rather than 1.5).  h/t Karl (who suggested 1.4)

Draw button label text slightly lower (to avoid touching button
icons as often).

Use #defines for the magic multiplier numbers used here.
2024-06-02 11:00:45 -07:00
Karl Ove Hufthammer
6bc8d185a4 Update Norwegian Nynorsk translation
Mostly adding soft hyphens for long words.
2024-06-02 13:20:40 +02:00
Jacques Chion
0dda35b67c update : fr.po 2024-06-02 07:20:39 +02:00
Bill Kendrick
9d6eee6057 Regen POT/PO after mentioning word-wrap improvement in appdata 2024-06-01 21:40:42 -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
Karl Ove Hufthammer
0d0b3360f1 Update Norwegian Nynorsk translation 2024-06-01 12:40:04 +02:00
Bill Kendrick
3cf3af76aa Ran indent.sh 2024-06-01 02:12:00 -07:00
Bill Kendrick
05181f73af Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2024-06-01 01:39:58 -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
Pere Pujal i Carabantes
dd8952209b Updating Catalan. 2024-06-01 09:26:07 +02:00
dolphin6k
2e9f4b7f42 Updated Japanese again 2024-06-01 14:24:59 +09:00
dolphin6k
874a7ba934 Updated Japanese translation 2024-06-01 14:15:07 +09:00