synfig.git
17 years agoChange automake invocation to use symlinks and use the stricter gnu standards
pabs [Sun, 3 Jun 2007 23:52:51 +0000 (23:52 +0000)]
Change automake invocation to use symlinks and use the stricter gnu standards

git-svn-id: http://svn.voria.com/code@494 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRemove INSTALL and COPYING, they will be supplied by automake
pabs [Sun, 3 Jun 2007 23:45:22 +0000 (23:45 +0000)]
Remove INSTALL and COPYING, they will be supplied by automake

git-svn-id: http://svn.voria.com/code@493 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRemove INSTALL and COPYING, they will be supplied by automake
pabs [Sun, 3 Jun 2007 23:45:03 +0000 (23:45 +0000)]
Remove INSTALL and COPYING, they will be supplied by automake

git-svn-id: http://svn.voria.com/code@492 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMention the new odd/even winding style in NEWS
pabs [Sun, 3 Jun 2007 05:14:05 +0000 (05:14 +0000)]
Mention the new odd/even winding style in NEWS

git-svn-id: http://svn.voria.com/code@491 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRelease preparations: prevent FTBFS due to quick_rng.h being missing from the make...
pabs [Sun, 3 Jun 2007 05:13:40 +0000 (05:13 +0000)]
Release preparations: prevent FTBFS due to quick_rng.h being missing from the make dist produced tarball

git-svn-id: http://svn.voria.com/code@490 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRelease preparations: add some files to the tarball that were previously missed
pabs [Sat, 2 Jun 2007 06:52:52 +0000 (06:52 +0000)]
Release preparations: add some files to the tarball that were previously missed

git-svn-id: http://svn.voria.com/code@489 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1678554: fix the font colour and size in the about dialog, inspiration...
pabs [Sun, 27 May 2007 23:43:55 +0000 (23:43 +0000)]
Partially fix 1678554: fix the font colour and size in the about dialog, inspiration from the gimp.

git-svn-id: http://svn.voria.com/code@488 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1677510: don't set the input mode on devices to GDK_MODE_SCREEN by...
pabs [Sun, 27 May 2007 23:41:35 +0000 (23:41 +0000)]
Partially fix 1677510: don't set the input mode on devices to GDK_MODE_SCREEN by default. Prevented laptop users from using their touchpad in synfig.

git-svn-id: http://svn.voria.com/code@487 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1568925: fix problem with definition of the IMAGE_DIR at configure time
pabs [Sun, 27 May 2007 23:39:50 +0000 (23:39 +0000)]
Fix 1568925: fix problem with definition of the IMAGE_DIR at configure time

git-svn-id: http://svn.voria.com/code@486 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoChange the default user dir to ~/.synfig for Linux & Unix users
pabs [Sun, 27 May 2007 23:38:58 +0000 (23:38 +0000)]
Change the default user dir to ~/.synfig for Linux & Unix users

git-svn-id: http://svn.voria.com/code@485 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMake the save button on the input devices dialog make it clear that saving input...
pabs [Sun, 27 May 2007 23:38:06 +0000 (23:38 +0000)]
Make the save button on the input devices dialog make it clear that saving input device settings is not yet supported.

git-svn-id: http://svn.voria.com/code@484 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPatch 1714885: Windows version can be built with OpenEXR support now. This patch...
dooglus [Tue, 8 May 2007 16:36:22 +0000 (16:36 +0000)]
Patch 1714885: Windows version can be built with OpenEXR support now. This patch enables OpenEXR support and includes required files into the installer.

git-svn-id: http://svn.voria.com/code@483 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoDon't always display the "0f" at the end of times with zero frames. I want to be...
dooglus [Sun, 6 May 2007 22:19:03 +0000 (22:19 +0000)]
Don't always display the "0f" at the end of times with zero frames.  I want to be able to see "1m, 2m, 3m" when I zoom out of the time track, not "1m 0f, 2m 0f, 3m 0f".  Similarly with minutes and seconds.

git-svn-id: http://svn.voria.com/code@482 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1672033: when deciding which curve we are closest to, ignore the very ends of...
dooglus [Mon, 23 Apr 2007 09:34:16 +0000 (09:34 +0000)]
Fix 1672033: when deciding which curve we are closest to, ignore the very ends of each curve. This allows us to better decide between 2 curves which end in exactly the same place.

git-svn-id: http://svn.voria.com/code@481 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoI forgot to commit this as part of r472. Sorry!
dooglus [Fri, 20 Apr 2007 07:55:50 +0000 (07:55 +0000)]
I forgot to commit this as part of r472.  Sorry!

git-svn-id: http://svn.voria.com/code@480 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1702760: stop compiler warning about layeractionmanager.cpp.
dooglus [Wed, 18 Apr 2007 10:37:40 +0000 (10:37 +0000)]
Partially fix 1702760: stop compiler warning about layeractionmanager.cpp.

git-svn-id: http://svn.voria.com/code@479 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoOops. Correcting previous commit.
dooglus [Wed, 18 Apr 2007 10:19:19 +0000 (10:19 +0000)]
Oops.  Correcting previous commit.

git-svn-id: http://svn.voria.com/code@478 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1702760: stop compiler warning about dockmanager.cpp.
dooglus [Wed, 18 Apr 2007 10:13:20 +0000 (10:13 +0000)]
Partially fix 1702760: stop compiler warning about dockmanager.cpp.

git-svn-id: http://svn.voria.com/code@477 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1702760: stop compiler warning about mod_openexr/mptr_openexr.cpp,...
dooglus [Wed, 18 Apr 2007 09:55:49 +0000 (09:55 +0000)]
Partially fix 1702760: stop compiler warning about mod_openexr/mptr_openexr.cpp, mod_openexr/trgt_openexr.cpp, and mod_ppm/trgt_ppm.cpp.

git-svn-id: http://svn.voria.com/code@476 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1702760: stop compiler warning about renderer_canvas.cpp.
dooglus [Wed, 18 Apr 2007 09:47:41 +0000 (09:47 +0000)]
Partially fix 1702760: stop compiler warning about renderer_canvas.cpp.

git-svn-id: http://svn.voria.com/code@475 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1702760: stop compiler warning about trgt_png.cpp.
dooglus [Wed, 18 Apr 2007 09:45:40 +0000 (09:45 +0000)]
Partially fix 1702760: stop compiler warning about trgt_png.cpp.

git-svn-id: http://svn.voria.com/code@474 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1702760: stop compiler warning about valuenodedynamiclistinsertsmart...
dooglus [Wed, 18 Apr 2007 09:26:15 +0000 (09:26 +0000)]
Partially fix 1702760: stop compiler warning about valuenodedynamiclistinsertsmart.cpp.

git-svn-id: http://svn.voria.com/code@473 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdded a slower but more accurate find_closest() routine to _bezier.h. Added a parame...
dooglus [Wed, 18 Apr 2007 09:14:33 +0000 (09:14 +0000)]
Added a slower but more accurate find_closest() routine to _bezier.h.  Added a parameter to the curve gradient layer to optionally use the new code.

git-svn-id: http://svn.voria.com/code@472 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdd links to the wiki and tracker to the synfigstudio TODO
pabs [Wed, 18 Apr 2007 04:05:41 +0000 (04:05 +0000)]
Add links to the wiki and tracker to the synfigstudio TODO

git-svn-id: http://svn.voria.com/code@471 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdd a non-working, partial implementation of MNG output
pabs [Tue, 17 Apr 2007 08:46:29 +0000 (08:46 +0000)]
Add a non-working, partial implementation of MNG output

git-svn-id: http://svn.voria.com/code@470 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1698604: Moved the quick_rng class into its own header, since it was present...
dooglus [Sun, 15 Apr 2007 15:11:32 +0000 (15:11 +0000)]
Fix 1698604: Moved the quick_rng class into its own header, since it was present in 2 different source files.  Use 'uint32_t' rather than 'long' as the return type of the methods which expect to be returning 32 bit values.

git-svn-id: http://svn.voria.com/code@469 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoUse a couple of macros instead of magic constants
dooglus [Fri, 13 Apr 2007 12:39:43 +0000 (12:39 +0000)]
Use a couple of macros instead of magic constants

git-svn-id: http://svn.voria.com/code@468 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRemoved leading whitespace from the biggest 5 example files. This took pirates.sif...
dooglus [Thu, 12 Apr 2007 21:59:43 +0000 (21:59 +0000)]
Removed leading whitespace from the biggest 5 example files.  This took pirates.sif from 24M down to 7.2M.

git-svn-id: http://svn.voria.com/code@467 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1699325: only add on time for exactly one extra frame
dooglus [Thu, 12 Apr 2007 17:50:38 +0000 (17:50 +0000)]
Fix 1699325: only add on time for exactly one extra frame

git-svn-id: http://svn.voria.com/code@466 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTypos.
dooglus [Thu, 12 Apr 2007 15:10:11 +0000 (15:10 +0000)]
Typos.

git-svn-id: http://svn.voria.com/code@465 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTypo.
dooglus [Thu, 12 Apr 2007 13:49:18 +0000 (13:49 +0000)]
Typo.

git-svn-id: http://svn.voria.com/code@464 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMore shuffling stuff around without changing anything. Hopefully it's a bit clearer...
dooglus [Thu, 12 Apr 2007 12:49:50 +0000 (12:49 +0000)]
More shuffling stuff around without changing anything.  Hopefully it's a bit clearer what's going on now.

git-svn-id: http://svn.voria.com/code@463 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAt last - a real change! I think this is the bug I've been looking for. Don't add...
dooglus [Thu, 12 Apr 2007 12:19:19 +0000 (12:19 +0000)]
At last - a real change!  I think this is the bug I've been looking for.  Don't add positions into the mix when transforming tangents; keep positions and tangents separate.  We still want to transform the tangents, like we do for positions, but don't add tangents to positions.

git-svn-id: http://svn.voria.com/code@462 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoA few more comments and other small changes.
dooglus [Thu, 12 Apr 2007 12:15:45 +0000 (12:15 +0000)]
A few more comments and other small changes.

git-svn-id: http://svn.voria.com/code@461 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoLots more changes which hopefully change nothing but the clarity.
dooglus [Thu, 12 Apr 2007 11:52:57 +0000 (11:52 +0000)]
Lots more changes which hopefully change nothing but the clarity.

git-svn-id: http://svn.voria.com/code@460 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoThere was a large lump of code inside an "if (false)" block. I commented it all...
dooglus [Thu, 12 Apr 2007 09:34:48 +0000 (09:34 +0000)]
There was a large lump of code inside an "if (false)" block.  I commented it all out to make it clearer that it's not being used.

git-svn-id: http://svn.voria.com/code@459 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoVariable 'blend_time' isn't needed - it's just a copy of 'off_time'. Use off_time...
dooglus [Thu, 12 Apr 2007 09:31:59 +0000 (09:31 +0000)]
Variable 'blend_time' isn't needed - it's just a copy of 'off_time'.  Use off_time instead.

git-svn-id: http://svn.voria.com/code@458 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRemoved some old commented code; replaced with a comment saying that it was there...
dooglus [Thu, 12 Apr 2007 09:23:05 +0000 (09:23 +0000)]
Removed some old commented code; replaced with a comment saying that it was there, and what it did.

git-svn-id: http://svn.voria.com/code@457 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoNo change to functionality, just some variable renaming for clarity, and commenting.
dooglus [Thu, 12 Apr 2007 09:22:01 +0000 (09:22 +0000)]
No change to functionality, just some variable renaming for clarity, and commenting.

git-svn-id: http://svn.voria.com/code@456 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoWhile looking into bug 1696331, I noticed that interpolation from zero tangents was...
dooglus [Wed, 11 Apr 2007 20:01:19 +0000 (20:01 +0000)]
While looking into bug 1696331, I noticed that interpolation from zero tangents was being treated differently in different verticies.  Turns out it was using a radial interpolation, which doesn't make much sense for zero vectors (since they have no 'angle' to interpolate from).  Use linear interpolation in this case.

git-svn-id: http://svn.voria.com/code@455 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoDisable the 'set_transient_for()' call unless environment variable SYNFIG_TRANSIENT_D...
dooglus [Wed, 11 Apr 2007 14:35:44 +0000 (14:35 +0000)]
Disable the 'set_transient_for()' call unless environment variable SYNFIG_TRANSIENT_DIALOGS is set.  This call was having a bad effect on KDE, making the dialog windows disappear and reappear as the mouse was moved from window to window.

git-svn-id: http://svn.voria.com/code@454 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPartially fix 1696331. This isn't the correct fix, but it does make at least the...
dooglus [Tue, 10 Apr 2007 21:30:17 +0000 (21:30 +0000)]
Partially fix 1696331.  This isn't the correct fix, but it does make at least the test case in the bug report work a lot better.

git-svn-id: http://svn.voria.com/code@453 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1697753: compare times with times, not with frame counts
dooglus [Tue, 10 Apr 2007 15:23:05 +0000 (15:23 +0000)]
Fix 1697753: compare times with times, not with frame counts

git-svn-id: http://svn.voria.com/code@452 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1697728: Code for 'End' was commented out, and code for 'Begin' was going to...
dooglus [Tue, 10 Apr 2007 15:10:26 +0000 (15:10 +0000)]
Fix 1697728: Code for 'End' was commented out, and code for 'Begin' was going to the end for some reason.

git-svn-id: http://svn.voria.com/code@451 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFixed a typo.
dooglus [Tue, 10 Apr 2007 13:15:42 +0000 (13:15 +0000)]
Fixed a typo.

git-svn-id: http://svn.voria.com/code@450 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoInitialise the priority when constructing a new Activepoint. Valgrind was complainin...
dooglus [Mon, 9 Apr 2007 19:32:22 +0000 (19:32 +0000)]
Initialise the priority when constructing a new Activepoint.  Valgrind was complaining before, and random priorities were being written to .sif files.

git-svn-id: http://svn.voria.com/code@449 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoInclude the 4 keyframe lock icons in the lists of images to install and uninstall.
dooglus [Mon, 9 Apr 2007 16:09:58 +0000 (16:09 +0000)]
Include the 4 keyframe lock icons in the lists of images to install and uninstall.

git-svn-id: http://svn.voria.com/code@448 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdd 'winding style' control, allowing the user to specify how regions are filled in.
dooglus [Mon, 9 Apr 2007 16:07:16 +0000 (16:07 +0000)]
Add 'winding style' control, allowing the user to specify how regions are filled in.

git-svn-id: http://svn.voria.com/code@447 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1695755: Ignore adjacent points if they are in exactly the same place.
dooglus [Mon, 9 Apr 2007 15:55:12 +0000 (15:55 +0000)]
Fix 1695755: Ignore adjacent points if they are in exactly the same place.

Fix 1692825: Render all cusps, even the first one.  Only display a cusp if tangents are split.  This gives the user per-vertex control over the rendering of cusps.

Fix bug: The beginning isn't rounded if the first point has a zero tangent

Fix bug: Strange artifacts sometimes appear at the verticies of outlines.

Fix bug: Rounded ends were missing a point.  This doesn't show up with the default 50 points per rounded end, but reducing it to 5 or so shows up the problem.

git-svn-id: http://svn.voria.com/code@446 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1696279: Check for and skip whitespace before checking for priorities.
dooglus [Sun, 8 Apr 2007 04:05:59 +0000 (04:05 +0000)]
Fix 1696279: Check for and skip whitespace before checking for priorities.

git-svn-id: http://svn.voria.com/code@445 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1696282. To find the extension, look for the last '.' in the output filename...
dooglus [Sun, 8 Apr 2007 03:42:41 +0000 (03:42 +0000)]
Fix 1696282.  To find the extension, look for the last '.' in the output filename, not the first.

git-svn-id: http://svn.voria.com/code@444 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFixed typo.
dooglus [Sat, 7 Apr 2007 21:55:35 +0000 (21:55 +0000)]
Fixed typo.

git-svn-id: http://svn.voria.com/code@443 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix typo in r428 (csdlib -> cstdlib)
pabs [Sat, 7 Apr 2007 01:44:08 +0000 (01:44 +0000)]
Fix typo in r428 (csdlib -> cstdlib)

git-svn-id: http://svn.voria.com/code@442 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoSet the dialog windows to be 'transient for' the toolbox window. In XFCE4 this makes...
dooglus [Fri, 6 Apr 2007 14:28:25 +0000 (14:28 +0000)]
Set the dialog windows to be 'transient for' the toolbox window.  In XFCE4 this makes all the dialogs jump to the front when the toolbox is brought to the front.  In GNOME this was happening already.

Ideally, selecting any workspace window should bring all dialogs to the front.

git-svn-id: http://svn.voria.com/code@441 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoApply 1695494: fix version number in the Win32 registry, add API_VERSION variable...
dooglus [Fri, 6 Apr 2007 13:16:24 +0000 (13:16 +0000)]
Apply 1695494: fix version number in the Win32 registry, add API_VERSION variable. Patch by Dmitriy Pomerantsev (Atrus)

git-svn-id: http://svn.voria.com/code@440 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoApply 1695493: remove unnecessary win32 registry key check. Patch by Dmitriy Pomerant...
dooglus [Fri, 6 Apr 2007 13:15:04 +0000 (13:15 +0000)]
Apply 1695493: remove unnecessary win32 registry key check. Patch by Dmitriy Pomerantsev (Atrus)

git-svn-id: http://svn.voria.com/code@439 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoApply 1695492: install start menu shortcuts for all users on Win32. Patch by Dmitriy...
dooglus [Fri, 6 Apr 2007 13:14:02 +0000 (13:14 +0000)]
Apply 1695492: install start menu shortcuts for all users on Win32. Patch by Dmitriy Pomerantsev (Atrus)

git-svn-id: http://svn.voria.com/code@438 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoApply 1695491: uninstall all pixmaps on Win32. Patch by Dmitriy Pomerantsev (Atrus)
dooglus [Fri, 6 Apr 2007 13:13:19 +0000 (13:13 +0000)]
Apply 1695491: uninstall all pixmaps on Win32. Patch by Dmitriy Pomerantsev (Atrus)

git-svn-id: http://svn.voria.com/code@437 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoApply 1695484: generate 48x48 icons on Win32 since they look better. Patch by Dmitriy...
dooglus [Fri, 6 Apr 2007 13:10:36 +0000 (13:10 +0000)]
Apply 1695484: generate 48x48 icons on Win32 since they look better. Patch by Dmitriy Pomerantsev (Atrus)

git-svn-id: http://svn.voria.com/code@436 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAtrus' Windows patches: [ 1695482 ] win32-synfig-all-users
dooglus [Fri, 6 Apr 2007 13:09:47 +0000 (13:09 +0000)]
Atrus' Windows patches: [ 1695482 ] win32-synfig-all-users

git-svn-id: http://svn.voria.com/code@435 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAtrus' Windows patches: [ 1695480 ] win32-synfig-clean-uninstall
dooglus [Fri, 6 Apr 2007 13:09:01 +0000 (13:09 +0000)]
Atrus' Windows patches: [ 1695480 ] win32-synfig-clean-uninstall

git-svn-id: http://svn.voria.com/code@434 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAtrus' Windows patches: [ 1695479 ] win32-synfig-remove-unused-libs
dooglus [Fri, 6 Apr 2007 13:07:48 +0000 (13:07 +0000)]
Atrus' Windows patches: [ 1695479 ] win32-synfig-remove-unused-libs

git-svn-id: http://svn.voria.com/code@433 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAtrus' Windows patches: [ 1695477 ] win32-synfig-conf-ext-fix
dooglus [Fri, 6 Apr 2007 13:06:51 +0000 (13:06 +0000)]
Atrus' Windows patches: [ 1695477 ] win32-synfig-conf-ext-fix

git-svn-id: http://svn.voria.com/code@432 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAtrus' Windows patches: [ 1695475 ] win32-synfig-regver-fix
dooglus [Fri, 6 Apr 2007 13:05:47 +0000 (13:05 +0000)]
Atrus' Windows patches: [ 1695475 ] win32-synfig-regver-fix

git-svn-id: http://svn.voria.com/code@431 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFixed a bug I introduced in r400. When rendering a rectange, if we find that it...
dooglus [Fri, 6 Apr 2007 12:14:26 +0000 (12:14 +0000)]
Fixed a bug I introduced in r400.  When rendering a rectange, if we find that it doesn't actually need rendering because it's not in the current tile, we still need to render what's behind it.

git-svn-id: http://svn.voria.com/code@430 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdd dooglus to the AUTHORS file
pabs [Fri, 6 Apr 2007 11:01:04 +0000 (11:01 +0000)]
Add dooglus to the AUTHORS file

git-svn-id: http://svn.voria.com/code@429 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix Debian 417897: causes synfig FTBFS in gcc 4.3 due to not including all the requir...
pabs [Fri, 6 Apr 2007 10:54:22 +0000 (10:54 +0000)]
Fix Debian 417897: causes synfig FTBFS in gcc 4.3 due to not including all the required headers. Patch by Martin Michlmayr

git-svn-id: http://svn.voria.com/code@428 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoUse logical operators (&&, ||) rather than arithmetic operators (&, |) where appropriate.
dooglus [Fri, 6 Apr 2007 00:18:11 +0000 (00:18 +0000)]
Use logical operators (&&, ||) rather than arithmetic operators (&, |) where appropriate.

git-svn-id: http://svn.voria.com/code@427 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix Debian 417720: FTBFS in gcc 4.3 due to not including all the required headers...
pabs [Thu, 5 Apr 2007 05:16:02 +0000 (05:16 +0000)]
Fix Debian 417720: FTBFS in gcc 4.3 due to not including all the required headers. Patch by Martin Michlmayr

git-svn-id: http://svn.voria.com/code@426 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1694325: when looping wasn't enabled, the region was being closed by looping...
dooglus [Wed, 4 Apr 2007 23:38:01 +0000 (23:38 +0000)]
Fix 1694325: when looping wasn't enabled, the region was being closed by looping back to the end of the last curved segment, ignoring any straight segments; what we really need to do is always just loop back to the start of the line.

git-svn-id: http://svn.voria.com/code@425 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoMoved an apostrophe.
dooglus [Wed, 4 Apr 2007 21:10:59 +0000 (21:10 +0000)]
Moved an apostrophe.

git-svn-id: http://svn.voria.com/code@424 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1694393: save 'pref.*' keys first, so the window manager hint preference is loade...
dooglus [Wed, 4 Apr 2007 19:31:26 +0000 (19:31 +0000)]
Fix 1694393: save 'pref.*' keys first, so the window manager hint preference is loaded before saved dialogs are created.

git-svn-id: http://svn.voria.com/code@423 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years ago`blinepointtangentsplit.cpp' and `blinepointtangentmerge.cpp' should just take care...
dooglus [Wed, 4 Apr 2007 18:38:06 +0000 (18:38 +0000)]
`blinepointtangentsplit.cpp' and `blinepointtangentmerge.cpp' should just take care of toggling the 'split tangents' value.  `valuedescset.cpp' can look after the tangent vectors themselves.  That way, the same code is used whether the tangents are split/merged using a context menu on the canvas or directly in the parameter dialog.

git-svn-id: http://svn.voria.com/code@422 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoCommit part of r401 that dooglus missed.
pabs [Tue, 3 Apr 2007 08:29:20 +0000 (08:29 +0000)]
Commit part of r401 that dooglus missed.

git-svn-id: http://svn.voria.com/code@421 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoWhen merging tangents, use the average of the two tangents we're merging, rather...
dooglus [Mon, 2 Apr 2007 17:09:54 +0000 (17:09 +0000)]
When merging tangents, use the average of the two tangents we're merging, rather than arbitrarily using the old value of one of them.

git-svn-id: http://svn.voria.com/code@420 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoDon't "assert(color.is_valid())" before setting the colour's alpha component - it...
dooglus [Mon, 2 Apr 2007 15:13:43 +0000 (15:13 +0000)]
Don't "assert(color.is_valid())" before setting the colour's alpha component - it might not have been initialised yet.

git-svn-id: http://svn.voria.com/code@419 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoInitialise vectors in constructor to avoid warnings about uninitialised variables...
dooglus [Mon, 2 Apr 2007 14:51:07 +0000 (14:51 +0000)]
Initialise vectors in constructor to avoid warnings about uninitialised variables from valgrind.

git-svn-id: http://svn.voria.com/code@418 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoDon't access edge_table->aabb if it hasn't been initialised yet; prevents a warning...
dooglus [Mon, 2 Apr 2007 14:33:08 +0000 (14:33 +0000)]
Don't access edge_table->aabb if it hasn't been initialised yet;  prevents a warning from valgrind.  Commented 'initaabb' member variable.  Improved formatting a little.

git-svn-id: http://svn.voria.com/code@417 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdded a 'todo' to the doxygen comments so it doesn't get lost.
dooglus [Mon, 2 Apr 2007 11:31:44 +0000 (11:31 +0000)]
Added a 'todo' to the doxygen comments so it doesn't get lost.

git-svn-id: http://svn.voria.com/code@416 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTypo.
dooglus [Mon, 2 Apr 2007 11:30:45 +0000 (11:30 +0000)]
Typo.

git-svn-id: http://svn.voria.com/code@415 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoI forgot to remove these prototypes when removing definitions earlier.
dooglus [Sun, 1 Apr 2007 19:25:34 +0000 (19:25 +0000)]
I forgot to remove these prototypes when removing definitions earlier.

git-svn-id: http://svn.voria.com/code@414 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRemove old unused code that used to handle the eyedropper, colour selector, bline...
dooglus [Sun, 1 Apr 2007 19:06:26 +0000 (19:06 +0000)]
Remove old unused code that used to handle the eyedropper, colour selector, bline, polygon and draw tools.

git-svn-id: http://svn.voria.com/code@413 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoSmall formatting changes. And show "..." after buttons which require further input.
dooglus [Sun, 1 Apr 2007 18:43:57 +0000 (18:43 +0000)]
Small formatting changes.  And show "..." after buttons which require further input.

git-svn-id: http://svn.voria.com/code@412 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoSimple implementation of 'Save All'.
dooglus [Sun, 1 Apr 2007 18:38:23 +0000 (18:38 +0000)]
Simple implementation of 'Save All'.

git-svn-id: http://svn.voria.com/code@411 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoWhen prompting for 'Save As...', show the name of the root canvas being saved in...
dooglus [Sun, 1 Apr 2007 18:36:14 +0000 (18:36 +0000)]
When prompting for 'Save As...', show the name of the root canvas being saved in the title bar.

git-svn-id: http://svn.voria.com/code@410 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPut the 'redo' button next to the 'undo' button, and before the 2 'clear' buttons...
dooglus [Sun, 1 Apr 2007 17:30:25 +0000 (17:30 +0000)]
Put the 'redo' button next to the 'undo' button, and before the 2 'clear' buttons, so that both 'undo' and 'redo' are visible when the history dialog is narrow.  Edited the labels and tooltips a little, too.

git-svn-id: http://svn.voria.com/code@409 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoPrettied up the layout of the ACCEL and ACCEL2 macros.
dooglus [Sun, 1 Apr 2007 16:46:08 +0000 (16:46 +0000)]
Prettied up the layout of the ACCEL and ACCEL2 macros.

git-svn-id: http://svn.voria.com/code@408 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1686425: prompt before overwriting an existing file with 'save as'.
dooglus [Sun, 1 Apr 2007 15:28:30 +0000 (15:28 +0000)]
Fix 1686425: prompt before overwriting an existing file with 'save as'.

git-svn-id: http://svn.voria.com/code@407 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFixes 1692348. todo: revisit the 'if(z>0 && z<horizon*2)' checks. Is there a better...
dooglus [Sun, 1 Apr 2007 14:28:28 +0000 (14:28 +0000)]
Fixes 1692348.  todo: revisit the 'if(z>0 && z<horizon*2)' checks.  Is there a better way to determine the areas of interest?

git-svn-id: http://svn.voria.com/code@406 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAvoid a compiler warning about initialisation order.
dooglus [Sun, 1 Apr 2007 13:01:34 +0000 (13:01 +0000)]
Avoid a compiler warning about initialisation order.

git-svn-id: http://svn.voria.com/code@405 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAllow a single hex digit in the hex color box. The digit is repeated 6 times, so...
dooglus [Sun, 1 Apr 2007 08:54:36 +0000 (08:54 +0000)]
Allow a single hex digit in the hex color box.  The digit is repeated 6 times, so "0" gives black (0x000000) and "f" gives white (0xffffff).

git-svn-id: http://svn.voria.com/code@404 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoTypo.
dooglus [Sat, 31 Mar 2007 23:54:28 +0000 (23:54 +0000)]
Typo.

git-svn-id: http://svn.voria.com/code@403 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoReal width(width) doesn't work. The new variable is in scope before the old one...
dooglus [Sat, 31 Mar 2007 23:29:14 +0000 (23:29 +0000)]
Real width(width) doesn't work.  The new variable is in scope before the old one can be used.  Use `Real tmp_width(width)' instead.

git-svn-id: http://svn.voria.com/code@402 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoRectangles are 'solid color' when using straight blending if both the amount and...
dooglus [Sat, 31 Mar 2007 22:11:13 +0000 (22:11 +0000)]
Rectangles are 'solid color' when using straight blending if both the amount and the color's alpha are 1.0.

git-svn-id: http://svn.voria.com/code@401 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoDon't waste time rendering layers which are completely obscured by solid-colour recta...
dooglus [Sat, 31 Mar 2007 20:32:57 +0000 (20:32 +0000)]
Don't waste time rendering layers which are completely obscured by solid-colour rectangles.

git-svn-id: http://svn.voria.com/code@400 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoAdded some comments to the code I recently fixed to make it clearer what's going...
dooglus [Sat, 31 Mar 2007 19:46:39 +0000 (19:46 +0000)]
Added some comments to the code I recently fixed to make it clearer what's going on there.

git-svn-id: http://svn.voria.com/code@399 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoFix 1689329: if the inverted rectangle we're rendering doesn't overlap the tile we...
dooglus [Sat, 31 Mar 2007 19:01:45 +0000 (19:01 +0000)]
Fix 1689329: if the inverted rectangle we're rendering doesn't overlap the tile we're rendering at all, don't attempt to draw its outlines.  Doing so can result in us drawing outside the tile's allocated memory.

git-svn-id: http://svn.voria.com/code@398 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agosubptr() should subtract from the pointer, not add to it.
dooglus [Sat, 31 Mar 2007 08:02:08 +0000 (08:02 +0000)]
subptr() should subtract from the pointer, not add to it.

git-svn-id: http://svn.voria.com/code@397 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoIf the rows are wider than our PIXEL_RENDERING_LIMIT, then still render a row. Previ...
dooglus [Sat, 31 Mar 2007 00:19:39 +0000 (00:19 +0000)]
If the rows are wider than our PIXEL_RENDERING_LIMIT, then still render a row.  Previously we were deciding to render 0 rows at a time and getting a divide-by-zero error in that case.

git-svn-id: http://svn.voria.com/code@396 1f10aa63-cdf2-0310-b900-c93c546f37ac

17 years agoThe value of `i' goes from 0 to rows-1, so to test for the last strip we need `i...
dooglus [Fri, 30 Mar 2007 23:59:16 +0000 (23:59 +0000)]
The value of `i' goes from 0 to rows-1, so to test for the last strip we need `i == rows-1', not `i == rows'.

git-svn-id: http://svn.voria.com/code@395 1f10aa63-cdf2-0310-b900-c93c546f37ac