Commit graph

3135 commits

Author SHA1 Message Date
Bill Kendrick
b65d7f9da4 Bumping version to 0.9.25 2020-06-22 22:58:12 -07:00
Bill Kendrick
90871308ef Bump release date to today (2020-05-29) 2020-05-29 20:15:45 -07:00
Bill Kendrick
10c833e565 Bump version date -> 2020-05-23 2020-05-23 23:32:49 -07:00
dolphin6k
fe57108f2f Re-organized %files section and correct path for 'tp-magic-config --plugindocprefix' 2020-05-01 17:45:41 +09:00
dolphin6k
0580897a26 Wrong change log date in spec file. 2020-05-01 16:11:17 +09:00
dolphin6k
8a271b6a4e SPEC file to use xdg-utils to install icons. 2020-05-01 14:54:46 +09:00
dolphin6k
99fb3f7dce Some systems require inluding librsvg-cairo.h explicitly. 2020-05-01 14:51:10 +09:00
Bill Kendrick
b0dda9ac26 Updates to RPM .spec file
Disable target "install-xdg". Add ImageMagick for BuildReq.
(From Shin-Ichi)
2020-04-26 21:19:33 -07:00
Bill Kendrick
d172f38d4d Win32 build (& doc) tweaks
TOYAMA Shin-ichi noticed that when building for Win32 under mingw/msys,
an #include of "librsvg-cairo.h" was also necessary.

He also bumped the version # in win32/resources.rc
(and I put his credit in there).

I updated docs/RELEASE.txt to mention that .rc file also needing
updated when preparing a new release.
2020-04-10 19:05:52 -07:00
Bill Kendrick
91505fae8e Debug output clean-up
Wrapped some debug output in "#ifdef DEBUG" tests,
and made sure some warnings and errors were going to
STDERR, rather than STDOUT.

Motivation: Less noise while launching/using Tux Paint,
unless it matters.
2020-04-02 22:15:13 -07:00
Bill Kendrick
b9c929a0a1 Rework how progress bar shown with stamps
Was drawing progress bar while DRAWING stamps into the UI
(in https://sourceforge.net/p/tuxpaint/tuxpaint/ci/ad4bfde57c170082d93979a7073f7358872eca21/),
even if they were already loaded and thumbnailed.

Now only doing it when loading a new stamp.  Should hopefully
help with performance.  (h/t Pere for reporting slowness on Android)
2020-04-01 22:29:57 -07:00
Bill Kendrick
950ad369b9 Doc'ing Mark Kim's macOS build doc update 2020-04-01 22:10:37 -07:00
Mark Kim
3fa7cefa69 macOS update building procedure 2020-04-02 00:19:02 -04:00
Bill Kendrick
50a570ef2b Doc'ing Norwegian Nynorsk translation update 2020-03-30 23:25:01 -07:00
Karl Ove Hufthammer
3b4e07ef2b Minor improvements in Norwegian Nynorsk translation 2020-03-30 19:14:10 +02:00
Karl Ove Hufthammer
9487ff4230 Fix spelling mistake in Norwegian Nynorsk translation 2020-03-30 19:10:17 +02:00
Bill Kendrick
a404bfdba8 Doc'ing Valencian update 2020-03-29 17:11:29 -07:00
Pere Pujal i Carabantes
0bbbe8dc99 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2020-03-29 23:43:43 +02:00
Pere Pujal i Carabantes
c7794df2af Updating Valencian 2020-03-29 23:42:38 +02:00
Bill Kendrick
d820fade47 Swahili translation update 2020-03-29 12:40:52 -07:00
Bill Kendrick
5ad2621abc Ensure all docs/etc. show 0.9.24 version # 2020-03-28 22:38:10 -07:00
Bill Kendrick
ad4bfde57c Show progress bar while loading (more) stamps 2020-03-15 13:06:13 -07:00
Bill Kendrick
2860da7668 Replace KDE icon install with Freedesktop.org
Replaced KDE (older, KDE4, in fact) specific icon and
launcher (.desktop file) installation & uninstallaton
invocations in Makefile with those that use Freedesktop.org
`xdg-...` tools.
2019-10-29 22:44:11 -07:00
Bill Kendrick
6c5eb54c49 Update (c) to 2019
h/t Jonathan Carter
2019-10-05 14:00:41 -07:00
Bill Kendrick
a8b3153a5a Update version # in tuxpaint.spec 2019-09-26 22:10:56 -07:00
Bill Kendrick
19def18abb Properly doc fullscreen option in manpage
Manpage still showed that "--fullscreen" (with no value) could be
specified.  Lately, it requires =yes, =no, or =native.
For https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769368

Also, remove a duplicated credit from the contributor list.
2019-09-25 23:25:19 -07:00
Bill Kendrick
acabe10e30 Unique filename when thumbnailing starters
Helps for parallel builds (e.g., `make -j12`).  h/t Pere.
2019-09-25 23:16:59 -07:00
Bill Kendrick
8667c29650 Doc'ing Pere's bugfix w/ SVG & PNG Starters
Mentioning Pere's bugfix for starters/templates PNG vs SVG
confusion, in changelog.
2019-09-25 22:50:22 -07:00
Pere Pujal i Carabantes
ca0420df40 Better solution for frame_heart.png being wrongly discarded as the .png version of frame_hearts.png. 2019-09-26 00:22:53 +02:00
Bill Kendrick
d0aeab0e95 Ran update-po.sh in tuxpaint
Forgot to do this earlier, after altering source (moving Fill tool).
This also helps update source line numbers, sometimes referenced by
translators.
2019-09-24 08:43:28 -07:00
Bill Kendrick
94132b4049 Ignoring src/po/POTFILES.in
This file is generated, based on POTFILES.in.in (for main Tux Paint code)
and all of the Magic tool source files, by the "update-po.sh" script.
2019-09-24 08:42:00 -07:00
Bill Kendrick
f7d30d3222 Added --nostereo option
Ability to disable stereo panning effect (e.g., paint brush, UI
elements sound effect feedback, etc.), useful for users with
hearing impairment in one ear, or situations where one speaker or
headphone is being used.  Use "--nostereo" command-line option
or "nostereo=yes" config. file option.
2019-09-21 16:33:55 -07:00
Bill Kendrick
9db366237c Starter/Template thumbnails: larger
We'd rather scale down larger thumbnails, than scale up (which would
be blurry) small ones.
2019-09-21 15:59:53 -07:00
Bill Kendrick
850a3cd853 Squelch Starter save debugging
Wrap another loose printf() in #ifdef DEBUG...
2019-09-14 12:19:00 -07:00
Bill Kendrick
aade790b1c Remove unused x/y args to would_flood_fill()
Copy-pasta'd them
2019-09-14 12:10:26 -07:00
Bill Kendrick
41847ae4af FIXME note in Makefile: starter/template thumbs...
The thumbnails for starters & templates are NOT being re-generated
when the source images are modified -- only when the thumbnail is
missing.  Needs an update to the target's prerequisites
(but I'm very rusty with this level of Makefile magic).

Also, update some Starter source images so they work better with
flood fill (Bald Eagle, World map, Gecko).
2019-09-14 12:07:29 -07:00
Bill Kendrick
a54dd570b4 Make sure Fill uses undo (but also intelligently)
"Fill", as a new main-toolbar tool, was not recording snapshots
of the image for the "Undo" tool.  Mended.

However, also updated the tool so that it doesn't _bother_ recording
into the undo buffer if the fill action is a no-op (e.g., clicking
the same spot a second time, or otherwise attempting to fill an
area with a color that's identical to what's already on the canvas).
2019-09-14 11:16:46 -07:00
Bill Kendrick
8f9ea4cb69 Remove starter/color/etc. debug from New dialog
Some printf() debugging belonged inside an #ifdef DEBUG...
2019-09-14 10:55:54 -07:00
Bill Kendrick
4c3ad460ee "New" dialog: fix bad dir: Starter/Template thumbs
Made sure "New" dialog created correct thumbnail subdirectories
for personal Starters & Templates (e.g., ~/.tuxpaint/starters/thumbs/)
2019-09-14 10:52:59 -07:00
Bill Kendrick
82910adafb Generating thumbnails for Template images
Also generating and installing thumbnails of Template images,
thus getting "New" dialog to open extremely quickly.
(Pretty much "instantaneously" on my 8 year old laptop with
Intel i3 @ ~2GHz and Intel 320-series SSD (214 MB/s).)
2019-09-14 10:36:36 -07:00
Bill Kendrick
98a1002356 Resaved some starters to make convert happy 2019-09-14 10:21:44 -07:00
Bill Kendrick
dd8b60a6fb Adding '.thumbs' dirs to .gitignore 2019-09-14 10:15:45 -07:00
Bill Kendrick
2eebe7347f Rename Jigsaw* Starters to jigsaw*
Using lowercase filenames in these parts, for consistency.
(Err, except "Makefile")
2019-09-14 10:14:45 -07:00
Bill Kendrick
73dc07b608 Way better scaling of Starter thumbnails
Providing better command-line args to ImageMagick `convert` to
produce nice-looking thumbnail PNGs of Starter images.
(N.B. - I'm using "ImageMagick" Version: 8:6.9.7.4+dfsg-16ubuntu6.7)
2019-09-14 10:11:05 -07:00
Bill Kendrick
2117db234e Generate & install starter thumbnails again
I cannot recall[*] why we disabled the steps to generate thumbnails of
starters (".thumbs/STARTERNAME-t.png") and install them in the system
directory (e.g., /usr/local/share/tuxpaint/starters/.thumbs/),
but every time one goes to create a new image ("New"), it took a very
long time to show.

[*] If anyone remembers ~a decade ago, and has a good reason, let me know!

Also, remove "Makefile" as a prerequisite for some targets; if anything
major changes in there, it's expected one will run "make clean" or
remove the binary/etc. target and rebuild.  (Rebuilding "tuxpaint.o"
every time I edited something unrelated in Makefile was really annoying :) )
2019-09-14 09:33:22 -07:00
Bill Kendrick
2911b35a50 Elevate "Fill" from Magic Tool to real Tool
Replace the somewhat-recently-added "nothing" item in the tool bar
with the "Fill" tool, which has been converted back from a Magic tool
to a regular tool.

Also, change bash "==" to sh "=" in "if [ ... ]" tests in Makefile.

Also, link to math library (via "-lm") to make sure "max()" is available to
magic tools.

Also, add missing mention of "--newcolorslast" and "--newcolorsfirst" to manpage.
2019-09-12 23:04:13 -07:00
Bill Kendrick
d79173eae4 Doc'ing Luc's Haiku updates 2019-09-12 21:16:45 -07:00
Bill Kendrick
df49986fab Add a FALL_THROUGH macro to compiler.h
Older gcc's don't support `__attribute__ ((fallthrough))`
(see https://sourceforge.net/u/begasus/tuxpaint/ci/e5c3cdfcf5e16a9b0fc3e7766bfea1d9c326b3ae/
"Haiku Fixes" by Luc), so adding a new macro to compiler.h
that is defined as "((void)0)" on older compilers.
2019-09-12 20:27:03 -07:00
begasus
e5c3cdfcf5 Haiku fixes 2019-09-06 13:45:56 +02:00
Bill Kendrick
7938480174 Clean up GCC warnings (2019-08-29 edition)
Updated most parts of the code that were throwing warnings in GCC.
2019-08-30 00:01:00 -07:00