synfig.git
16 years agoMinor security fix: mod_dv used popen to run the DV encoder, change it to use pipe...
pabs [Thu, 6 Dec 2007 01:42:29 +0000 (01:42 +0000)]
Minor security fix: mod_dv used popen to run the DV encoder, change it to use pipe, fork and exec. Strangely named sif files could previously have executed arbitrary shell commands.

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

16 years agoFix 1842510: round frame number to nearest integer rather than truncating.
dooglus [Mon, 3 Dec 2007 18:26:05 +0000 (18:26 +0000)]
Fix 1842510: round frame number to nearest integer rather than truncating.

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

16 years agoCache each image file only once, even if it is used multiple times.
dooglus [Mon, 3 Dec 2007 18:25:49 +0000 (18:25 +0000)]
Cache each image file only once, even if it is used multiple times.

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

16 years agoIf environment variable "SYNFIG_SHOW_TILE_OUTLINES" is defined, draw red outlines...
dooglus [Mon, 3 Dec 2007 18:02:39 +0000 (18:02 +0000)]
If environment variable "SYNFIG_SHOW_TILE_OUTLINES" is defined, draw red outlines around tiles as they are rendered.  For debugging purposes.

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

16 years agoFix 1830670: Use the 'C' locale when loading and saving sketches.
dooglus [Mon, 3 Dec 2007 01:19:44 +0000 (01:19 +0000)]
Fix 1830670: Use the 'C' locale when loading and saving sketches.

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

16 years agoPossibly fix 1841280: "Insert Item in animation mode renders badly before insertion"
dooglus [Sun, 2 Dec 2007 00:53:16 +0000 (00:53 +0000)]
Possibly fix 1841280: "Insert Item in animation mode renders badly before insertion"

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

16 years agoDon't wrap the angle in a radial composite conversation from -180 to 180 degrees...
dooglus [Sun, 2 Dec 2007 00:53:03 +0000 (00:53 +0000)]
Don't wrap the angle in a radial composite conversation from -180 to 180 degrees when manipulating it using a duck.  Instead, modify the previous value by something between -180 and 180 degrees.

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

16 years agoUse the ETL functions to find filename extensions and filenames without extensions...
dooglus [Thu, 29 Nov 2007 19:30:43 +0000 (19:30 +0000)]
Use the ETL functions to find filename extensions and filenames without extensions.  Rendering a.b.sif should create a.b.png by default, but it was creating a.png instead.  That's fixed now.

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

17 years agoUse AC_LIBLTDL_CONVENIENCE instead of AC_LIBLTDL_INSTALLABLE because Win32 doesn...
pabs [Thu, 29 Nov 2007 10:05:23 +0000 (10:05 +0000)]
Use AC_LIBLTDL_CONVENIENCE instead of AC_LIBLTDL_INSTALLABLE because Win32 doesn't seem to be able to link a libsynfig DLL to a libltdl DLL and there doesn't seem to be a way to compile libltdl statically and libsynfig dynamically.

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

17 years agoFix ugly waypoint drawing by rounding to integer values symmetrically. http://dooglu...
dooglus [Wed, 28 Nov 2007 23:20:02 +0000 (23:20 +0000)]
Fix ugly waypoint drawing by rounding to integer values symmetrically.  dooglus.rincevent.net/synfig/waypoint-symmetry.png shows the difference.

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

17 years agoFix 1836848: if the window positions and sizes seem to be corrupted, give them sensib...
dooglus [Tue, 27 Nov 2007 01:16:48 +0000 (01:16 +0000)]
Fix 1836848: if the window positions and sizes seem to be corrupted, give them sensible values to prevent them being created offscreen.

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

17 years agoFix 1838132: encapsulations containing imported images fail to clone properly
dooglus [Mon, 26 Nov 2007 00:41:23 +0000 (00:41 +0000)]
Fix 1838132: encapsulations containing imported images fail to clone properly

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

17 years agoUse symbolic names for most of the duck colors, rather than hardcoded hex color values.
dooglus [Sat, 24 Nov 2007 21:27:25 +0000 (21:27 +0000)]
Use symbolic names for most of the duck colors, rather than hardcoded hex color values.

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

17 years agoFix 1835429: crash closing preview window before using it.
dooglus [Sat, 24 Nov 2007 12:53:07 +0000 (12:53 +0000)]
Fix 1835429: crash closing preview window before using it.

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

17 years agoMake the stretch layer's "amount" duck be relative to the center duck.
dooglus [Fri, 23 Nov 2007 16:46:36 +0000 (16:46 +0000)]
Make the stretch layer's "amount" duck be relative to the center duck.

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

17 years agoAdd new valuenode convert type called "Reverse Tangent" to allow blinepoint's tangent...
dooglus [Thu, 22 Nov 2007 00:28:08 +0000 (00:28 +0000)]
Add new valuenode convert type called "Reverse Tangent" to allow blinepoint's tangents to be reversed.

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

17 years agoComment out the trackmenu, it isn't used and the strings are annoying to translators
pabs [Wed, 21 Nov 2007 23:54:10 +0000 (23:54 +0000)]
Comment out the trackmenu, it isn't used and the strings are annoying to translators

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

17 years agoThe text layer fix in r965 caused the text in this icon to render upside down. That...
dooglus [Wed, 21 Nov 2007 23:08:36 +0000 (23:08 +0000)]
The text layer fix in r965 caused the text in this icon to render upside down.  That is correct behaviour, I think, but not what is wanted, so I'm inverting the text.

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

17 years agoThe text layer fix in r965 caused the text in this icon to render upside down. That...
dooglus [Wed, 21 Nov 2007 23:08:29 +0000 (23:08 +0000)]
The text layer fix in r965 caused the text in this icon to render upside down.  That is correct behaviour, I think, but not what is wanted, so I'm inverting the text.

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

17 years agoTypo.
dooglus [Wed, 21 Nov 2007 23:08:20 +0000 (23:08 +0000)]
Typo.

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

17 years agoSometimes render artifacts only appear when rendering tile by tile. Added environmen...
dooglus [Mon, 19 Nov 2007 00:05:53 +0000 (00:05 +0000)]
Sometimes render artifacts only appear when rendering tile by tile.  Added environment variable SYNFIG_DISABLE_TILE_RENDER which when set will prevent the tile renderer from being used.  The workarea won't display piece by piece, but will update all at once, possibly slowly when set.

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

17 years agoMark some more strings for translation
pabs [Fri, 16 Nov 2007 04:19:10 +0000 (04:19 +0000)]
Mark some more strings for translation

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

17 years agoFix clipping for tile-based rendering.
dooglus [Fri, 16 Nov 2007 03:26:51 +0000 (03:26 +0000)]
Fix clipping for tile-based rendering.

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

17 years agoDon't print pointers as integers, print them as pointers. Thanks to Aurore.
pabs [Thu, 15 Nov 2007 21:56:24 +0000 (21:56 +0000)]
Don't print pointers as integers, print them as pointers. Thanks to Aurore.

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

17 years agoRevert r1151. I didn't intend to commit that.
dooglus [Wed, 14 Nov 2007 23:11:00 +0000 (23:11 +0000)]
Revert r1151.  I didn't intend to commit that.

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

17 years agoFix the angle-duck rotation counter code.
dooglus [Wed, 14 Nov 2007 22:58:47 +0000 (22:58 +0000)]
Fix the angle-duck rotation counter code.

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

17 years agocheckpoint
dooglus [Wed, 14 Nov 2007 22:58:38 +0000 (22:58 +0000)]
checkpoint

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

17 years agoWorking on #1827966. Removed more 'wrap at 360 degrees' code.
dooglus [Wed, 14 Nov 2007 09:58:04 +0000 (09:58 +0000)]
Working on #1827966. Removed more 'wrap at 360 degrees' code.

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

17 years agoTidying.
dooglus [Wed, 14 Nov 2007 09:56:28 +0000 (09:56 +0000)]
Tidying.

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

17 years agoRevert one of the i18n changes that causes a crash in studio. Thanks to dooglus for...
pabs [Wed, 14 Nov 2007 08:43:41 +0000 (08:43 +0000)]
Revert one of the i18n changes that causes a crash in studio. Thanks to dooglus for reporting and debugging it

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

17 years agoDon't use gettext with C++ strings :)
pabs [Tue, 13 Nov 2007 23:35:34 +0000 (23:35 +0000)]
Don't use gettext with C++ strings :)

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

17 years agoDowngrade the gettext requirement again for mingw
pabs [Tue, 13 Nov 2007 23:23:38 +0000 (23:23 +0000)]
Downgrade the gettext requirement again for mingw

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

17 years agoDowngrade the gettext requirement
pabs [Tue, 13 Nov 2007 23:13:24 +0000 (23:13 +0000)]
Downgrade the gettext requirement

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

17 years agoWoops, remove the testing en_AU from ALL_LINGUAS
pabs [Tue, 13 Nov 2007 09:25:15 +0000 (09:25 +0000)]
Woops, remove the testing en_AU from ALL_LINGUAS

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

17 years agoInitial attempt at i18n support using gettext
pabs [Tue, 13 Nov 2007 09:13:07 +0000 (09:13 +0000)]
Initial attempt at i18n support using gettext

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

17 years agoget rid of an autoconf warning
pabs [Tue, 13 Nov 2007 00:54:51 +0000 (00:54 +0000)]
get rid of an autoconf warning

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

17 years agoFix a compile-time warning.
dooglus [Mon, 12 Nov 2007 09:34:37 +0000 (09:34 +0000)]
Fix a compile-time warning.

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

17 years agoFix warnings from g++ 4.2.
dooglus [Mon, 12 Nov 2007 09:34:28 +0000 (09:34 +0000)]
Fix warnings from g++ 4.2.

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

17 years agoWorking on 1827966: "Angles are recalculated to 360 mod". Experimenting with angles...
dooglus [Mon, 12 Nov 2007 09:34:19 +0000 (09:34 +0000)]
Working on 1827966: "Angles are recalculated to 360 mod".  Experimenting with angles.  Define ETL_WRAP_ANGLES in ETL/_angle.h to revert to previous behaviour.

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

17 years agoWhen editing an angle duck, signal the angle it was rotated through, rather than...
dooglus [Mon, 12 Nov 2007 08:34:22 +0000 (08:34 +0000)]
When editing an angle duck, signal the angle it was rotated through, rather than the point it was rotated to.  This allows the user to rotate an angle duck through multiple rotations.

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

17 years agoWorking on 1827966: Angles are recalculated to 360 mod. New signal for class Duck...
dooglus [Mon, 12 Nov 2007 08:34:13 +0000 (08:34 +0000)]
Working on 1827966: Angles are recalculated to 360 mod.  New signal for class Duck to indicate changes in angle.

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

17 years agoWorking on 1827966: Angles are recalculated to 360 mod.
dooglus [Mon, 12 Nov 2007 08:15:47 +0000 (08:15 +0000)]
Working on 1827966: Angles are recalculated to 360 mod.

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

17 years agoTidying.
dooglus [Mon, 12 Nov 2007 08:15:39 +0000 (08:15 +0000)]
Tidying.

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

17 years agoFix 1830245: always leave only the newly created layers selected.
dooglus [Mon, 12 Nov 2007 07:50:09 +0000 (07:50 +0000)]
Fix 1830245: always leave only the newly created layers selected.

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

17 years agoSilence warning when building code for the synfig binary
pabs [Mon, 12 Nov 2007 03:46:22 +0000 (03:46 +0000)]
Silence warning when building code for the synfig binary

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

17 years agoAdd new convert type: aTan2.
dooglus [Sun, 11 Nov 2007 11:25:06 +0000 (11:25 +0000)]
Add new convert type: aTan2.

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

17 years agoInitial support for duck drags of more than 180 degrees.
dooglus [Sun, 11 Nov 2007 10:46:39 +0000 (10:46 +0000)]
Initial support for duck drags of more than 180 degrees.

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

17 years agoPrevent compiler warnings like "there are no arguments to 'size' that depend on a...
dooglus [Sat, 10 Nov 2007 12:40:51 +0000 (12:40 +0000)]
Prevent compiler warnings like "there are no arguments to 'size' that depend on a template parameter, so a declaration of 'size' must be available".  This code doesn't appear to be used anywhere anyway.  What is it for?

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

17 years agoTidying a little.
dooglus [Sat, 10 Nov 2007 12:40:43 +0000 (12:40 +0000)]
Tidying a little.

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

17 years agoReplace the proto directory with pre-processor macros that do the same thing
pabs [Sat, 10 Nov 2007 07:22:08 +0000 (07:22 +0000)]
Replace the proto directory with pre-processor macros that do the same thing

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

17 years agoAddress 1829182: it's true that the popup caret menu has been disabled for these...
dooglus [Fri, 9 Nov 2007 22:04:59 +0000 (22:04 +0000)]
Address 1829182: it's true that the popup caret menu has been disabled for these tools.  There's no comment in the code saying why.  I've added an environment variable which re-enables the popup menu when set.  export SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS=1 to try it, and report your findings back to the bug report as to whether this should be the default or not.

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

17 years agoFix 1829172: When drawing an outline and a region at the same time, put the outline...
dooglus [Fri, 9 Nov 2007 20:35:29 +0000 (20:35 +0000)]
Fix 1829172: When drawing an outline and a region at the same time, put the outline just on top of the region.

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

17 years agoPrevent warnings from g++ 4.2 saying "deprecated conversion from string constant...
dooglus [Fri, 9 Nov 2007 14:35:51 +0000 (14:35 +0000)]
Prevent warnings from g++ 4.2 saying "deprecated conversion from string constant to 'char*'".

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

17 years agoFix issue with older versions of autoconf
pabs [Fri, 9 Nov 2007 06:30:20 +0000 (06:30 +0000)]
Fix issue with older versions of autoconf

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

17 years agoTidying.
dooglus [Fri, 9 Nov 2007 02:31:44 +0000 (02:31 +0000)]
Tidying.

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

17 years agoPrevent 2 * "warning: converting to 'int' from 'double'"
dooglus [Fri, 9 Nov 2007 02:31:36 +0000 (02:31 +0000)]
Prevent 2 * "warning: converting to 'int' from 'double'"

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

17 years agoKill off synfigstudio ./bootstrap
pabs [Fri, 9 Nov 2007 01:42:45 +0000 (01:42 +0000)]
Kill off synfigstudio ./bootstrap

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

17 years agoKill off synfig ./bootstrap
pabs [Fri, 9 Nov 2007 00:26:05 +0000 (00:26 +0000)]
Kill off synfig ./bootstrap

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

17 years agoAttempting to fix 1823053 - renaming an exported valuenode causes a crash.
dooglus [Thu, 8 Nov 2007 22:50:11 +0000 (22:50 +0000)]
Attempting to fix 1823053 - renaming an exported valuenode causes a crash.

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

17 years agoTypo. It wasn't using the final value in the division test, so the compiler could...
dooglus [Thu, 8 Nov 2007 22:49:59 +0000 (22:49 +0000)]
Typo.  It wasn't using the final value in the division test, so the compiler could still have been optimizing the calculations out.

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

17 years agoMake the 'obj' member of handle and loose_handle public when debugging. It's useful...
dooglus [Thu, 8 Nov 2007 22:49:51 +0000 (22:49 +0000)]
Make the 'obj' member of handle and loose_handle public when debugging.  It's useful sometimes to be able to compare the addresses of the object behind the handles.

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

17 years agoUse 0 degrees as the default angle for the 'cos' convert.
dooglus [Thu, 8 Nov 2007 16:01:51 +0000 (16:01 +0000)]
Use 0 degrees as the default angle for the 'cos' convert.

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

17 years agoDIE ./bootstrap, DIE DIE DIE
pabs [Wed, 7 Nov 2007 11:05:28 +0000 (11:05 +0000)]
DIE ./bootstrap, DIE DIE DIE

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

17 years agoDon't force angles to use linear interpolation.
dooglus [Tue, 6 Nov 2007 23:33:54 +0000 (23:33 +0000)]
Don't force angles to use linear interpolation.

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

17 years agoSame for 'after' waypoints, too!
dooglus [Tue, 6 Nov 2007 23:33:46 +0000 (23:33 +0000)]
Same for 'after' waypoints, too!

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

17 years agoAlways save the interpolation type - don't special-case it for angles.
dooglus [Tue, 6 Nov 2007 23:33:37 +0000 (23:33 +0000)]
Always save the interpolation type - don't special-case it for angles.

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

17 years agoAdd a 'cos' convert type, to go with 'sine'.
dooglus [Tue, 6 Nov 2007 23:03:18 +0000 (23:03 +0000)]
Add a 'cos' convert type, to go with 'sine'.

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

17 years agoThis isn't finished, and has lots of debugging code still in, but it's working better...
dooglus [Sat, 3 Nov 2007 16:51:57 +0000 (16:51 +0000)]
This isn't finished, and has lots of debugging code still in, but it's working better than it was before.

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

17 years agoMake the font size in the param dialog's 'type' column the same as the other columns.
dooglus [Fri, 2 Nov 2007 20:54:42 +0000 (20:54 +0000)]
Make the font size in the param dialog's 'type' column the same as the other columns.

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

17 years agoAdded a \todo note questioning a part of the code.
dooglus [Fri, 2 Nov 2007 20:54:35 +0000 (20:54 +0000)]
Added a \todo note questioning a part of the code.

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

17 years agoSimplify the block structure without changing the behaviour.
dooglus [Fri, 2 Nov 2007 20:54:27 +0000 (20:54 +0000)]
Simplify the block structure without changing the behaviour.

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

17 years agoQuote the "Working Draft, Standard for Programming Language C++" on a point I wasn...
dooglus [Fri, 2 Nov 2007 20:54:19 +0000 (20:54 +0000)]
Quote the "Working Draft, Standard for Programming Language C++" on a point I wasn't sure about.

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

17 years agoTidying.
dooglus [Fri, 2 Nov 2007 20:54:11 +0000 (20:54 +0000)]
Tidying.

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

17 years agoNew environment variable: 'SYNFIG_DISABLE_NEW_CANVAS_EDIT_PROPERTIES'. When set...
dooglus [Fri, 2 Nov 2007 20:54:01 +0000 (20:54 +0000)]
New environment variable: 'SYNFIG_DISABLE_NEW_CANVAS_EDIT_PROPERTIES'.  When set, don't pop up the canvas properties dialog when creating a new document.

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

17 years agoMerged two 'if' statements into one.
dooglus [Fri, 2 Nov 2007 20:53:53 +0000 (20:53 +0000)]
Merged two 'if' statements into one.

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

17 years agoRearrange the drawing tool options a little. Instead of 'region only' have checkboxe...
dooglus [Thu, 1 Nov 2007 03:00:39 +0000 (03:00 +0000)]
Rearrange the drawing tool options a little.  Instead of 'region only' have checkboxes for 'region' and 'fill', like in the bline tool, so now it's possible to draw regions and outlines together.

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

17 years agoUse the same number in the 'fill' as in the 'outline' when filling a stroke.
dooglus [Thu, 1 Nov 2007 01:49:23 +0000 (01:49 +0000)]
Use the same number in the 'fill' as in the 'outline' when filling a stroke.

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

17 years agoWhen filling the last stroke in the drawing tool, give the new region layer a name...
dooglus [Thu, 1 Nov 2007 01:49:15 +0000 (01:49 +0000)]
When filling the last stroke in the drawing tool, give the new region layer a name with ' Fill' on the end.

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

17 years agoFix 'fill last stroke' button in the drawing tool.
dooglus [Thu, 1 Nov 2007 01:49:07 +0000 (01:49 +0000)]
Fix 'fill last stroke' button in the drawing tool.

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

17 years agoTidying.
dooglus [Thu, 1 Nov 2007 01:48:59 +0000 (01:48 +0000)]
Tidying.

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

17 years agoAnother draw tool bug fix - these 2 lines were in the wrong order.
dooglus [Thu, 1 Nov 2007 01:48:51 +0000 (01:48 +0000)]
Another draw tool bug fix - these 2 lines were in the wrong order.

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

17 years agoTidying.
dooglus [Thu, 1 Nov 2007 01:48:43 +0000 (01:48 +0000)]
Tidying.

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

17 years agoTypo.
dooglus [Thu, 1 Nov 2007 01:48:34 +0000 (01:48 +0000)]
Typo.

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

17 years agoCommented out unused code.
dooglus [Thu, 1 Nov 2007 01:48:26 +0000 (01:48 +0000)]
Commented out unused code.

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

17 years agoFix a crash in the draw tool. The resulting bline should approximate the drawn curve...
dooglus [Thu, 1 Nov 2007 01:48:18 +0000 (01:48 +0000)]
Fix a crash in the draw tool.  The resulting bline should approximate the drawn curve more accurately now.

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

17 years agoAdd a 'Type' column to the parameter dialog so it's possible to tell an 'Add' from...
dooglus [Wed, 31 Oct 2007 12:27:11 +0000 (12:27 +0000)]
Add a 'Type' column to the parameter dialog so it's possible to tell an 'Add' from a 'Subtract' convert for example.

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

17 years agoDon't render infinitely large plant layers.
dooglus [Wed, 31 Oct 2007 09:34:59 +0000 (09:34 +0000)]
Don't render infinitely large plant layers.

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

17 years agoFix 1823082: don't render layers under a 'stretch' layer with zero x or y amount.
dooglus [Wed, 31 Oct 2007 09:34:50 +0000 (09:34 +0000)]
Fix 1823082: don't render layers under a 'stretch' layer with zero x or y amount.

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

17 years agoPartially fix 1823082. It works OK for polygon, region, outline and star now. Plant...
dooglus [Wed, 31 Oct 2007 02:23:49 +0000 (02:23 +0000)]
Partially fix 1823082.  It works OK for polygon, region, outline and star now.  Plant still crashes.

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

17 years agoTypo: 'frome' -> 'from'.
dooglus [Tue, 30 Oct 2007 16:15:35 +0000 (16:15 +0000)]
Typo: 'frome' -> 'from'.

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

17 years agoTypo 'accomodate' -> 'accommodate'.
dooglus [Tue, 30 Oct 2007 16:15:26 +0000 (16:15 +0000)]
Typo 'accomodate' -> 'accommodate'.

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

17 years agoTypo: 'dont' -> 'don't'.
dooglus [Tue, 30 Oct 2007 16:15:16 +0000 (16:15 +0000)]
Typo: 'dont' -> 'don't'.

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

17 years agoTypo: 'verticies' -> 'vertices'.
dooglus [Tue, 30 Oct 2007 16:15:07 +0000 (16:15 +0000)]
Typo: 'verticies' -> 'vertices'.

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

17 years agoUse American spelling: 'optimize'.
dooglus [Tue, 30 Oct 2007 16:14:58 +0000 (16:14 +0000)]
Use American spelling: 'optimize'.

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

17 years agoUse American spelling: 'color'.
dooglus [Tue, 30 Oct 2007 16:14:49 +0000 (16:14 +0000)]
Use American spelling: 'color'.

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

17 years agoTypo: 'hardcode' -> 'hardcoded'.
dooglus [Tue, 30 Oct 2007 16:14:39 +0000 (16:14 +0000)]
Typo: 'hardcode' -> 'hardcoded'.

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

17 years agoTypo: 'cludge' -> 'kluge'.
dooglus [Tue, 30 Oct 2007 16:14:28 +0000 (16:14 +0000)]
Typo: 'cludge' -> 'kluge'.

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

17 years agoTypo: 'compressiong' -> 'compression'.
dooglus [Tue, 30 Oct 2007 16:14:17 +0000 (16:14 +0000)]
Typo: 'compressiong' -> 'compression'.

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

17 years agoTypo: 'recalculted' -> 'recalculated'.
dooglus [Tue, 30 Oct 2007 16:14:08 +0000 (16:14 +0000)]
Typo: 'recalculted' -> 'recalculated'.

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

17 years agoTypo: 'sibbling' -> 'sibling'.
dooglus [Tue, 30 Oct 2007 16:13:58 +0000 (16:13 +0000)]
Typo: 'sibbling' -> 'sibling'.

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