Commit graph

5373 commits

Author SHA1 Message Date
dolphin6k
f73647de18 eliminated C99 dependency 2025-04-02 21:42:26 +09:00
dolphin6k
5d25d2a1bc Require libxml2 and devel package 2025-04-02 21:25:17 +09:00
Bill Kendrick
9ddb8ff48d Setting version to 0.9.35-rc1 for beta release 2025-03-31 23:01:58 -07:00
Bill Kendrick
3036381632 Update CHANGES.txt date & fix formatting 2025-03-28 22:00:04 -07:00
dolphin6k
a33fd73347 Updated Japanese translations 2025-03-29 11:39:40 +09:00
Bill Kendrick
e74cb54ccc Don't use stat() on Android
h/t Pere
2025-03-27 20:20:02 -07:00
Bill Kendrick
e3f9e5a246 Trying #include <wctype.h> all the time, too
It was specifically NOT being done under Haiku (which Luc notes
caused a "implicit declaration of function" warning), BeOS (moot?),
macOS (__APPLE__)[*], and Android[*].

[*] I've asked Mark & Pere to check that macOS & Android builds are
still happy.  See tuxpaint-maintainers thread
https://sourceforge.net/p/tuxpaint/mailman/tuxpaint-maintainers/thread/Z-O0V3aa6joXl6zl%40bill-t480s/#msg59165314
2025-03-27 10:47:28 -07:00
Bill Kendrick
6683da3d22 Always #include <wchar.h>
It was happening in both an #if and its corresponding #else
2025-03-27 10:45:32 -07:00
Bill Kendrick
07d39211fe Doc'ing French update
h/t Jacques
2025-03-26 09:25:41 -07:00
Jacques Chion
2f638092a0 updating 2025-03-26 11:05:22 +01:00
Bill Kendrick
e80254df51 Ran indent.sh to re-indent all source code 2025-03-24 19:33:13 -07:00
Bill Kendrick
75fbc97e9f Bump date in docs & AppData file
README
CHANGES
manpage
2025-03-24 19:14:30 -07:00
Bill Kendrick
68be23f1c2 Doc'ing Catalan update
h/t Pere
2025-03-19 17:17:07 -07:00
Pere Pujal i Carabantes
708973ebba Updating Catalan. 2025-03-19 23:06:11 +01:00
Bill Kendrick
65760a5867 German: Try to soft-word-wrap a few tool labels
(Eraser, Undo, and Redo)
2025-03-06 01:38:16 -08:00
Bill Kendrick
db58de2953 German translation update
h/t Holger W. (via Jonathan C.)
2025-03-06 01:22:56 -08:00
Bill Kendrick
6a5f8d3075 Apparently done looking for "fonts.conf" FontConfig files 2025-02-22 15:59:53 -08:00
Bill Kendrick
7f1ab23292 Support for <dir prefix="relative"> in "fonts.conf" 2025-02-22 13:06:43 -08:00
Bill Kendrick
e04bfc651a Starting work to support <dir prefix=...> in fonts.conf
FontConfig fonts.conf's <dir> tags support a few different
"prefix" attributes.  We'll need to support "xdg" (done here)
and "relative" (forthcoming).
2025-02-22 12:52:27 -08:00
Bill Kendrick
8499dc57c5 dirwalk.c: Add debug option to show opendir() failures 2025-02-22 12:03:18 -08:00
Bill Kendrick
653f1a20c5 Windows: Load fonts.conf that ships w/ Tux Paint
Plus more comments & FIXMEs!
2025-02-22 02:52:05 -08:00
Bill Kendrick
96b91b9fba Search for fonts.conf on Linux/etc. more intelligently
Don't assume `/etc/fonts/fonts.conf`, but use $FONTCONFIG_PATH if set.
Don't assume `$HOME/.config/fonts.conf`, but use $XDG_CONFIG_HOME if set.
More comments in `load_user_fonts()`.
2025-02-22 02:00:56 -08:00
Bill Kendrick
2627b87316 CHANGES.txt: Note where Windows users fonts are read from 2025-02-22 01:22:47 -08:00
Bill Kendrick
223803e641 RELEASE: Reminder to create new milestone @ SourceForge 2025-02-16 12:06:09 -08:00
Bill Kendrick
bc47f0e36f Sync docs after INSTALL/FAQ update re: /SILENT 2025-01-24 00:27:43 -08:00
Bill Kendrick
473c649b9a Sync docs to grab /SILENT option in INSTALL & FAQ docs 2025-01-24 00:05:05 -08:00
Bill Kendrick
b88145b924 Regen DOCs after clean up (removal of "as of..." notes) 2025-01-12 10:40:45 -08:00
dolphin6k
277d902235 Changed "convert" to "magick convert" for build on Windows
Confirmed that latest Windows binary release of ImageMagick does
not provide "convert" command, which conflict with windows system
command, even as a legacy program.
In addition, currently "magick convert" or "magick composite"
style is a standard way of usage.
2025-01-12 17:17:40 +09:00
Bill Kendrick
5797769eb8 Sync docs after noting AppData & .tuxpaint are hidden...
...and ways to access them.
2025-01-09 00:52:54 -08:00
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