Commit graph

5344 commits

Author SHA1 Message Date
Bill Kendrick
e2f33a491b Sync docs after dropping Windows 7...
...from "saved files"
2025-01-06 14:11:29 -08:00
Bill Kendrick
233b3b90c6 Sync docs after bumping README & manpage dates 2025-01-06 00:56:10 -08:00
Bill Kendrick
bb675a9e4b Look for FontConfig "fonts.conf" on Haiku, too
h/t Luc
2025-01-03 21:21:44 -08:00
Bill Kendrick
1b293283a5 Makefile checks for uname -s of "NetBSD"
h/t Thomas
2025-01-03 13:43:37 -08:00
Bill Kendrick
68df71b325 Doc'ing Win user font loading
h/t Shin-ichi
2025-01-02 23:11:09 -08:00
dolphin6k
365ee3ea20 Load user's fonts also on Windows. 2025-01-02 16:33:57 +09:00
Mark Kim
0b28bf49e4 Minor macOS documentation corrections 2024-12-29 17:37:59 -05:00
Bill Kendrick
228b724cda Look in macOS specific location for fontconfig config
h/t Mark
2024-12-29 14:01:41 -08:00
Bill Kendrick
a9c1f8e94b Quickstart: Sync after note about Command vs Control 2024-12-29 13:25:09 -08:00
Bill Kendrick
a502a431e5 Sync quickstart guide, after adding "Paste" 2024-12-29 13:05:16 -08:00
Bill Kendrick
cd392a7864 WIP Load for fonts in locations specified by FontConfig
Checking for fonts in any locations specified by "<dir>"
entries found in system-wide and user-level FontConfig config files.
This allows more fonts, and user-specific fonts, to be found & loaded.

TODO - Looking in Un*x-specific `/etc/fonts/fonts.conf` and
`~/.config/fontconfig/fonts.conf`, and should look in the
correct places on other platforms.

NOTE - This adds a build dependency on `libxml-2.0`.
2024-12-29 02:14:54 -08:00
Bill Kendrick
cb6f190c58 in_circle_rad() - Avoid mult if obviously outside circle
Most places that invoke this already avoid outside testing
inherently (e.g., "for (y = -r; y <= r; y++) ..."), but a
few places don't, so I'm _hoping_ this might be beneficial to
avoid a handful of multiplication operations.

(Worst case, we can add the test optionally, and have it dump some
debug output, so we can track down places that waste clockcycles
testing points obviously outside a circle.)
2024-12-28 12:31:19 -08:00
Bill Kendrick
5be398cd6d WIP Adding "netbsd_..." OS variables in Makefile
Need to be told (1) if this is a good idea (else, back it out),
and if so (2) how to detect NetBSD when we set the OS variable
(is it just "uname -s" sending us "NetBSD"?)
2024-12-28 12:15:33 -08:00
Bill Kendrick
3d5f2001c1 Doc'ing emitter Magic tools 2024-12-26 21:24:33 -08:00
Bill Kendrick
1056db1fe4 Emitter Magic tools: Example screenshots for docs 2024-12-26 21:21:33 -08:00
Bill Kendrick
97841d41fa Doc'ing new emitter Magic tools in 0.9.35's appdata entry 2024-12-26 21:13:49 -08:00
Bill Kendrick
32587d99a0 Emitter Magic tools: Icons 2024-12-26 21:11:28 -08:00
Bill Kendrick
3cd9e1cbfd Emitter: Hearts: Sound effect 2024-12-26 21:01:05 -08:00
Bill Kendrick
1a9942f076 Emitter: Stars: Sound effect 2024-12-26 20:53:00 -08:00
Bill Kendrick
e35e320ea8 Emitter: Sparkles: Sound effect 2024-12-26 20:41:18 -08:00
Bill Kendrick
e1b9f29c2f Magic Emitters: Motion, gravity, & spawning
Hearts float up, sparkles float down (and sometimes spawn).
Everyone gets random initial movement.
2024-12-26 20:29:44 -08:00
Bill Kendrick
51e28bdfb0 Regen POT/PO after adding emitter magic tools 2024-12-26 01:10:50 -08:00
Bill Kendrick
47947e928a Ran pngout on Magic emitter images 2024-12-26 01:10:06 -08:00
Bill Kendrick
9822270759 Magic emitters: Support color 2024-12-26 01:05:30 -08:00
Bill Kendrick
51a335a293 More work on emitter magic tools
Added heart & sparkle shapes.  Allowing for randomized rotation &/or
animation frames.  (Sparkles has frames, but does not rotate;
hearts & stars have no frames, but can rotate; hearts only +/- 45 degrees.)

For https://sourceforge.net/p/tuxpaint/feature-requests/266
2024-12-25 23:49:27 -08:00
Bill Kendrick
323aa6c42d WIP: Emitter magic tools
Star image so far.  Lots more to do.
For https://sourceforge.net/p/tuxpaint/feature-requests/266/
2024-12-25 23:15:26 -08:00
Bill Kendrick
07e338d717 Text/Label paste: Word-wrap on space (eaten) or dash 2024-12-25 13:42:25 -08:00
Bill Kendrick
c7d449888d Syncing docs (README + EXTENDING) re: Text/Label "paste" 2024-12-25 11:45:31 -08:00
Bill Kendrick
023fafe54f Remove some OSK debugging printf()s I forgot about 2024-12-25 11:35:39 -08:00
Bill Kendrick
3278fff6d9 Keyboard layouts missing 4th "Paste"
So AltGr+Shift combo made it act incorrectly.
2024-12-25 11:08:42 -08:00
Bill Kendrick
0b94297c33 Noting Text/Label paste support in AppData file 2024-12-25 10:42:50 -08:00
Bill Kendrick
f9728edd05 Getting On-Screen Keyboard "Paste" button to work
I THINK I've got it.  I admit I don't understand the OSK code _at all_.
2024-12-25 10:39:49 -08:00
Bill Kendrick
9103b783ce Improving commentary for text_label_tool_enter() 2024-12-25 10:15:14 -08:00
Bill Kendrick
79bc5b2df4 WIP Adding "Paste" button to On Screen Keyboard
Appears, but does not yet actually invoke a paste event.
Does not have an icon.
2024-12-20 12:32:41 -08:00
Bill Kendrick
4de111df25 WIP - Text/Label tools: Ability to paste text clipboard
Lots still to do, but the basic functionality is there
(thanks to SDL2's clipboard functions).

For https://sourceforge.net/p/tuxpaint/feature-requests/95/
2024-12-20 01:36:08 -08:00
Bill Kendrick
199f11ce31 Less stdout noise when running Tux Paint
Avoid warnings when we cannot load non-existent SVGs by checking for file existence first.
(h/t Thomas K)

Add some "Info" and "Warning" labels to some output; improve some messages.

Free gerror that rsvg_handle_new_from_file() allocates.
2024-12-20 00:13:59 -08:00
Bill Kendrick
fa2f06792e Don't use Linux-specific invocation of "install"
Per Thomas, NetBSD's install(1) does not support '-t' and '-D' means
something else than on Linux.
2024-12-19 16:37:57 -08:00
Bill Kendrick
3d2dab5fc2 Improved color picker behavior
Better behavior when clicking/tapping and dragging hue/saturation box
and value slider.
2024-11-15 00:59:46 -08:00
Bill Kendrick
79ce7a87ca Bump to 0.9.35 2024-11-15 00:19:10 -08:00
Bill Kendrick
5de3c8778d Sync docs after bumping date & updating Quick Start Guide 2024-10-25 16:16:22 -07:00
Bill Kendrick
8d6179a514 indent.sh: Add reminder to clean up backup ~ files 2024-10-23 23:30:44 -07:00
Bill Kendrick
c88616e13e Don't Magic switch-out & -in on pointless Ctrl-R/Z
h/t Pere for a correction for Ctrl-R (I also applied to Ctlr-Z)
and Miyagi for reporting the issue

Closes https://sourceforge.net/p/tuxpaint/bugs/294/
2024-10-23 20:55:13 -07:00
Bill Kendrick
53a108c8ce Regen brush descriptions after Catalan update
h/t Pere
2024-10-21 22:10:55 -07:00
Pere Pujal i Carabantes
d06489e779 Updating Catalan. 2024-10-22 00:24:16 +02:00
Bill Kendrick
97dc7bc9c3 Sync docs after "What's New" update 2024-10-21 00:43:13 -07:00
Bill Kendrick
849cc46d10 New "Impasto" brush
Sneaking in before 0.9.34 final >:-)
2024-10-20 23:47:01 -07:00
Bill Kendrick
244ba7b76c Regen POT & PO after running indent against source 2024-10-20 11:26:16 -07:00
Bill Kendrick
699e130e31 Regen TXT versions of all docs under new w3m
Upgraded my system from Kubuntu 22.04 -> 24.04, and now have
w3m 0.5.3, which behaves differently be default, re: bullet point
glyphs, and some indentation.
2024-10-20 11:24:58 -07:00
Bill Kendrick
44d7d0ee5d Re-run indent.sh under GNU indent 2.2.13
Slight change to its default behavior re: pointer variables
(before: "type * var"; now seems to prefer: "type *var").
2024-10-20 11:22:30 -07:00
Bill Kendrick
073ac19ce6 tp_magic_example.c refresh, due to indent upgrade
Updated my system from Kubuntu 22.04 -> 24.04 and am now on
GNU indent 2.2.13, which behaves slightly differently be default.
2024-10-20 11:20:47 -07:00