Commit graph

5000 commits

Author SHA1 Message Date
Bill Kendrick
2d043eb33d Trochoids: Better drag-less shapes
If the user just clicks & releases, the shapes that appear
are more interesting/pleasing.
2024-01-26 01:07:39 -08:00
Bill Kendrick
ec678debe5 Sync docs after Japanese updates
h/t Shin-ichi
2024-01-21 12:18:49 -08:00
Bill Kendrick
3225df2805 Version set to 0.9.32-rc1 for release candidate 2024-01-21 00:57:29 -08:00
Shinichi TOYAMA
68257973a8 gcc on RHEL7 did not allow to declare valiable in 'for' loop unless use C99 mode option. 2024-01-21 15:24:29 +09:00
Pere Pujal i Carabantes
d139044b0b Updating Catalan 2024-01-21 00:12:29 +01:00
Bill Kendrick
2b588773a7 Di, Tri, Oblq select: Ensure click (w/o drag) changes 2024-01-20 15:10:07 -08:00
Bill Kendrick
f8c8b9b6a7 2-Pt Persp. select: Avoid div-by-zero crash
h/t Pere
2024-01-20 15:05:46 -08:00
Bill Kendrick
4496e007a1 Trochoids: Mend freeze bug
I had updated the guide circle drawing routine to draw points
every 360 / radius steps (so smaller circles had fewer XOR'd points),
but obviously this will cause a divide by zero if either circle's
radius = 360, since I'm using an integer, it will cause a frozen
for()-loop if radius > 360.

h/t Pere for pointing out the freeze!
2024-01-20 11:15:53 -08:00
Bill Kendrick
b8f6ec2bbf Trochoids: Correct icons, no blank Hypo, better Guides
h/t Pere
2024-01-17 23:07:41 -08:00
Bill Kendrick
a9515c351e Gave ordering to all Painting magic tools
All done!
2024-01-16 23:10:08 -08:00
Bill Kendrick
e3cb845426 Gave ordering to all Picture Decorations magic tools 2024-01-16 22:48:41 -08:00
Bill Kendrick
b1bc736f77 Gave ordering to all Color Filter magic tools 2024-01-16 22:45:06 -08:00
Bill Kendrick
4f9112d597 Xor Magic tool: Better description; respond to "order" 2024-01-16 22:43:11 -08:00
Bill Kendrick
9ce4ee8c50 Gave ordering to all Picture Warps magic tools 2024-01-16 22:28:49 -08:00
Bill Kendrick
3abf6f75f4 Gave ordering to all Pattern Painting magic tools 2024-01-16 22:16:14 -08:00
Bill Kendrick
0353c5670d Gave ordering to all Artistic magic tools 2024-01-16 22:09:22 -08:00
Bill Kendrick
b13674017a Doc'ing Magic tool reorg; sync README & update appdata 2024-01-16 21:38:24 -08:00
Bill Kendrick
0532b35f31 Gave ordering to all Distorts magic tools 2024-01-16 21:31:07 -08:00
Bill Kendrick
f8a3eabd9d Start in first Magic tool group containing any tools
i.e., if MAGIC_TYPE_DISTORTS (0) is empty, try
MAGIC_TYPE_COLOR_FILTERS (1), etc.
2024-01-16 20:39:47 -08:00
Bill Kendrick
ff9eff4e60 Sort magic tools by ..._get_order() value, when possible
Tools in n_pt_persp plugin provide orders.  (More coming!)
2024-01-16 20:33:58 -08:00
Bill Kendrick
f7972d04a7 WIP New _get_order() function in API
So far just CHANGES.txt update and sync'ing update tp_magic_example.c
in the docs.
2024-01-16 20:23:56 -08:00
Bill Kendrick
305ae8bf78 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2024-01-16 19:48:26 -08:00
Bill Kendrick
f92bcefab8 Doc'ing Japanese translation update
h/t Shin-ichi
2024-01-16 19:48:10 -08:00
dolphin6k
e059530d92 Updated Japanese translation 2024-01-17 11:54:37 +09:00
Bill Kendrick
ab4cd4fdde Mend Trochoid math
h/t Pere for pointing out my mistake!
2024-01-15 22:14:33 -08:00
Bill Kendrick
9ab7b2b3b7 Trochoids need adjustment!
h/t Pere :-D
2024-01-15 17:20:31 -08:00
Bill Kendrick
f70b173fc1 Refresh French README
Somehow forgot to pick it up after Jacques' changes 2 weeks ago!
(https://sourceforge.net/p/tuxpaint/tuxpaint-docs/ci/0f4fb2d1fe6f841d034661399b201ae4592dbee5/)
2024-01-15 16:44:07 -08:00
Bill Kendrick
2b40b797eb Sync tp_magic_example.c (filepaths compatible with Android) 2024-01-15 16:40:57 -08:00
Pere Pujal i Carabantes
0aac3260be Make magic n_pt_persp and trochoids filepaths compatible with Android. 2024-01-16 00:53:54 +01:00
Bill Kendrick
4cad1200b1 Address some warnings under gcc 11.4 w/ -O2
* In function ‘get_starter_template_options’:
   "warning: dereferencing type-punned pointer will break strict-aliasing
   rules [-Wstrict-aliasing]":
     (short unsigned int *)&(opts->bkgd_color[0]), [...etc.]

 * In function ‘strncpy’,
   inlined from ‘safe_strncpy’ at src/tuxpaint.c:32022:9,
   inlined from ‘trash’ at src/tuxpaint.c:30690:3:
   "warning: ‘__builtin_strncpy’ output may be truncated copying
   255 bytes from a string of length 255 [-Wstringop-truncation]":
     return __builtin___strncpy_chk (__dest, __src, __len,
2024-01-14 13:57:21 -08:00
Bill Kendrick
08d9e9a8b7 n_pt_persp.c: Disable unused snap_to()
Wrap in an #ifdef SNAP_TO, and thus squelch some warnings &
avoid wasting some cycles.
2024-01-14 13:45:14 -08:00
Bill Kendrick
0fa1ea33f6 Build Tux Paint with -O2, everything with -ffast-math 2024-01-14 13:44:03 -08:00
Bill Kendrick
8a76b570b7 n_pt_persp.c: Use ...f() (float) trig funcs, not ...() double 2024-01-14 13:41:33 -08:00
Bill Kendrick
a7d792fa64 n_pt_persp.c: Adding performance output 2024-01-14 12:55:33 -08:00
Bill Kendrick
9534b5b959 Synch docs: Iso/di/trimetric/oblique images...
...and correcting the name of the new section ("Projections").
2024-01-14 12:07:10 -08:00
Bill Kendrick
2e0fd27339 Iso/di/trimetric & oblique drawing examples for docs 2024-01-14 12:03:58 -08:00
Bill Kendrick
479cc5450f Modularize, but disable for now, snapping
It needs to be smarter than just snapping to NxN grid on canvas.
2024-01-14 11:50:36 -08:00
Bill Kendrick
474e513dde n_pt_perse: Use SNAP define instead of hard-coded # 2024-01-14 11:34:27 -08:00
Bill Kendrick
4fbe005003 n_pt_persp: Snap to grid; improved some guides 2024-01-14 11:33:34 -08:00
Bill Kendrick
2766254db9 Icons for Di & Trimetric & Oblique angle editors 2024-01-13 19:34:20 -08:00
Bill Kendrick
ac089b75b1 Sync docs for Iso/Di/Trimetric & Oblique usage docs 2024-01-13 18:51:34 -08:00
Bill Kendrick
b08e352457 Syncing docs to grab updated README: What's New
...adding trochoids & projection drawing magic tools
2024-01-13 18:27:16 -08:00
Bill Kendrick
57a0b363bb Mention Iso/Di/Tri/Oblique in appdata file; regen POT/POs 2024-01-13 18:22:04 -08:00
Bill Kendrick
edbc68f0d7 Icons for Iso/Di/Trimetric & Oblique drawing tools 2024-01-13 18:19:16 -08:00
Bill Kendrick
df746eb58f Doc'ing Iso/Di/Trimetric & Oblique tools author (me) 2024-01-13 18:07:50 -08:00
Bill Kendrick
df6905a3c3 Oblique, Dimetric & Trimetric seem to work! 2024-01-13 18:04:47 -08:00
Bill Kendrick
fff19763e2 Isometric seems to work! 2024-01-13 12:04:56 -08:00
Bill Kendrick
f585c6e897 Bump (c) date on splash screen to 2024 2024-01-13 11:51:21 -08:00
Bill Kendrick
db9b6772c2 Continue WIP Iso, Di, Trimetric & Oblique: More guides
...when dragging to draw a line
2024-01-13 11:10:10 -08:00
Bill Kendrick
0b161d52ce Continue WIP Iso, Di, Trimetric & Oblique: Drawing
Buggy, but started...
2024-01-13 01:57:18 -08:00