synfig.git
17 years agoAllow environment variables SYNFIG_DISABLE_REMOVE_DUPS, SYNFIG_DISABLE_OPTIMIZE,...
dooglus [Sun, 28 Oct 2007 16:19:14 +0000 (16:19 +0000)]
Allow environment variables SYNFIG_DISABLE_REMOVE_DUPS, SYNFIG_DISABLE_OPTIMIZE, SYNFIG_DISABLE_OPTIMIZE_TRANS to disable various animated gif optimizations.  Improved transparency detection - a frame only needs to be treated as transparent if it is making pixels transparent when they weren't in the previous frame.

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

17 years agoFixed a bug in transparency detection.
dooglus [Sun, 28 Oct 2007 16:19:04 +0000 (16:19 +0000)]
Fixed a bug in transparency detection.

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

17 years agoShow what's going on with messages to stdout. Fix another problem with transparent...
dooglus [Sun, 28 Oct 2007 02:56:03 +0000 (02:56 +0000)]
Show what's going on with messages to stdout.  Fix another problem with transparent frames.

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

17 years agoSame as last commit...
dooglus [Sun, 28 Oct 2007 02:55:50 +0000 (02:55 +0000)]
Same as last commit...

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

17 years agoFix for transparent images. Remove duplicate frames.
dooglus [Sun, 28 Oct 2007 02:55:39 +0000 (02:55 +0000)]
Fix for transparent images.  Remove duplicate frames.

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

17 years agoLook for OptimizeImageTransparency in Magick, not Magick++.
dooglus [Sat, 27 Oct 2007 20:14:04 +0000 (20:14 +0000)]
Look for OptimizeImageTransparency in Magick, not Magick++.

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

17 years agoAdded new module 'mod_magickpp' for rendering multiple images to a single file using...
dooglus [Sat, 27 Oct 2007 20:04:51 +0000 (20:04 +0000)]
Added new module 'mod_magickpp' for rendering multiple images to a single file using Magick++.

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

17 years agoRemove the "** FIXME: THIS DOES NOT ACTUALLY WORK YET" lines.
dooglus [Sat, 27 Oct 2007 20:04:37 +0000 (20:04 +0000)]
Remove the "** FIXME: THIS DOES NOT ACTUALLY WORK YET" lines.

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

17 years agoAdd MNG to the README now that it works
pabs [Fri, 26 Oct 2007 04:06:56 +0000 (04:06 +0000)]
Add MNG to the README now that it works

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

17 years agoPartially fix 1820315: add a rename_icon.sif by PXEGeek
pabs [Fri, 26 Oct 2007 02:36:35 +0000 (02:36 +0000)]
Partially fix 1820315: add a rename_icon.sif by PXEGeek

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

17 years agoReverted the sort I did earlier. The order of the modules determines the default...
dooglus [Fri, 26 Oct 2007 01:47:03 +0000 (01:47 +0000)]
Reverted the sort I did earlier.  The order of the modules determines the default target for each extension.  Whichever comes last for each extension is the default, so having 'mod_imagemagick' after 'mod_gif' means that Imagemagick takes over GIF rendering, and it doesn't create animated GIFs.

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

17 years agoRemoved duplicate code for 'remove's icon.
dooglus [Fri, 26 Oct 2007 00:38:34 +0000 (00:38 +0000)]
Removed duplicate code for 'remove's icon.

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

17 years agoSorted alphabetically.
dooglus [Fri, 26 Oct 2007 00:38:27 +0000 (00:38 +0000)]
Sorted alphabetically.

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

17 years agoAdd stock icons for 'connect' and 'disconnect'.
dooglus [Fri, 26 Oct 2007 00:38:18 +0000 (00:38 +0000)]
Add stock icons for 'connect' and 'disconnect'.

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

17 years agoWrite header giving image height, width, and frame rate in .yuv output.
dooglus [Thu, 25 Oct 2007 23:30:03 +0000 (23:30 +0000)]
Write header giving image height, width, and frame rate in .yuv output.

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

17 years agoI think the gamma was backwards before. Rendered .mng images were displaying too...
dooglus [Thu, 25 Oct 2007 21:57:33 +0000 (21:57 +0000)]
I think the gamma was backwards before.  Rendered .mng images were displaying too brightly.

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

17 years agoSort alphabetically.
dooglus [Thu, 25 Oct 2007 21:46:50 +0000 (21:46 +0000)]
Sort alphabetically.

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

17 years agoAdd mod_mng, and libmng detection.
dooglus [Thu, 25 Oct 2007 21:46:44 +0000 (21:46 +0000)]
Add mod_mng, and libmng detection.

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

17 years agoAdd mod_mng.
dooglus [Thu, 25 Oct 2007 21:46:37 +0000 (21:46 +0000)]
Add mod_mng.

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

17 years agoSort alphabetically.
dooglus [Thu, 25 Oct 2007 21:46:25 +0000 (21:46 +0000)]
Sort alphabetically.

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

17 years agoAdd mod_mng to the list of modules.
dooglus [Thu, 25 Oct 2007 21:46:15 +0000 (21:46 +0000)]
Add mod_mng to the list of modules.

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

17 years agoFix mng rendering.
dooglus [Thu, 25 Oct 2007 21:46:04 +0000 (21:46 +0000)]
Fix mng rendering.

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

17 years agoWhen rendering to multiple image files, render to filename.NNNN.ext rather than filen...
dooglus [Thu, 25 Oct 2007 18:38:36 +0000 (18:38 +0000)]
When rendering to multiple image files, render to filename.NNNN.ext rather than filenameNNNN.ext.  When filename itself ends with a number, it's confusing to have the serial number merge with the filename.

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

17 years agoTidying.
dooglus [Thu, 25 Oct 2007 18:38:23 +0000 (18:38 +0000)]
Tidying.

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

17 years agoRemoved unused variables.
dooglus [Thu, 25 Oct 2007 18:38:15 +0000 (18:38 +0000)]
Removed unused variables.

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

17 years agoOutput multiple numbered image files when necessary, rather than writing the same...
dooglus [Thu, 25 Oct 2007 18:38:05 +0000 (18:38 +0000)]
Output multiple numbered image files when necessary, rather than writing the same file over and over.

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

17 years agoTidying.
dooglus [Thu, 25 Oct 2007 18:31:19 +0000 (18:31 +0000)]
Tidying.

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

17 years agoDon't crash if the user clicks 'halt render' when the render has already been stopped.
dooglus [Thu, 25 Oct 2007 00:11:00 +0000 (00:11 +0000)]
Don't crash if the user clicks 'halt render' when the render has already been stopped.

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

17 years agoFix the warning that the last commit introduced. And only round_to_int once.
dooglus [Wed, 24 Oct 2007 23:06:35 +0000 (23:06 +0000)]
Fix the warning that the last commit introduced.  And only round_to_int once.

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

17 years agoCrude attempt to get fonts not to render upside-down when rendering to .bmp files.
dooglus [Wed, 24 Oct 2007 22:38:20 +0000 (22:38 +0000)]
Crude attempt to get fonts not to render upside-down when rendering to .bmp files.

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

17 years agoDon't allow 'splits' to be less than 1, or we get a division by zero and an infinite...
dooglus [Wed, 24 Oct 2007 21:56:13 +0000 (21:56 +0000)]
Don't allow 'splits' to be less than 1, or we get a division by zero and an infinite loop.

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

17 years agoAdd a new boolean to allow the drawing of regular polygons.
dooglus [Wed, 24 Oct 2007 19:24:25 +0000 (19:24 +0000)]
Add a new boolean to allow the drawing of regular polygons.

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

17 years agoFixed commented debugging line - it was missing a format string for curr_line.
dooglus [Wed, 24 Oct 2007 19:24:15 +0000 (19:24 +0000)]
Fixed commented debugging line - it was missing a format string for curr_line.

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

17 years agoWhen right-clicking on a simple waypoint in a PasteCanvas' 'canvas' parameter, pop...
dooglus [Wed, 24 Oct 2007 16:46:42 +0000 (16:46 +0000)]
When right-clicking on a simple waypoint in a PasteCanvas' 'canvas' parameter, pop up a menu allowing 'jump to' and 'change interp' at least.

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

17 years agoAllow for 'time offset' when calculating whether the user right-clicked on the left...
dooglus [Wed, 24 Oct 2007 16:46:33 +0000 (16:46 +0000)]
Allow for 'time offset' when calculating whether the user right-clicked on the left or right half of a waypoint.

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

17 years agopopen() doesn't like type "rb" on Linux, either.
dooglus [Wed, 24 Oct 2007 01:14:38 +0000 (01:14 +0000)]
popen() doesn't like type "rb" on Linux, either.

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

17 years agoFix 1818856: External application render targets seem to be broken. We can't use...
dooglus [Wed, 24 Oct 2007 01:14:08 +0000 (01:14 +0000)]
Fix 1818856: External application render targets seem to be broken.  We can't use popen(command, "wb") on Linux.

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

17 years agoAdd on the time_offset parameter when looking for waypoints in sub-canvases of PasteC...
dooglus [Wed, 24 Oct 2007 00:32:07 +0000 (00:32 +0000)]
Add on the time_offset parameter when looking for waypoints in sub-canvases of PasteCanvas layers.  Now right-clicking a time-shifted PasteCanvas waypoint fails in exactly the same way as right-clicking a regular non-time-shifted PasteCanvas waypoint: "error: dock_timetrack.cpp:380: Unable to find the valuenode".

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

17 years agoDon't break time into seconds and frames when the framerate is 1 or more.
dooglus [Wed, 24 Oct 2007 00:10:32 +0000 (00:10 +0000)]
Don't break time into seconds and frames when the framerate is 1 or more.

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

17 years agoAdded a new parameter to the plant layer, 'Reverse', which causes the plant to be...
dooglus [Wed, 24 Oct 2007 00:07:36 +0000 (00:07 +0000)]
Added a new parameter to the plant layer, 'Reverse', which causes the plant to be drawn in the opposite order.

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

17 years agoUpdate time-shifted waypoint position dynamically.
dooglus [Wed, 24 Oct 2007 00:07:26 +0000 (00:07 +0000)]
Update time-shifted waypoint position dynamically.

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

17 years agoPrevent the "** CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >=...
dooglus [Tue, 23 Oct 2007 19:57:24 +0000 (19:57 +0000)]
Prevent the "** CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed" messages that appear when dock dialogs are shrunk so much they overlap.

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

17 years agoRemove trailing zeros from the output of Time::get_string().
dooglus [Tue, 23 Oct 2007 19:57:13 +0000 (19:57 +0000)]
Remove trailing zeros from the output of Time::get_string().

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

17 years agoTypo. pannel -> panel.
dooglus [Tue, 23 Oct 2007 19:57:00 +0000 (19:57 +0000)]
Typo.  pannel -> panel.

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

17 years agoDefine set_string() for displaying the time values in a set when _DEBUG is defined.
dooglus [Tue, 23 Oct 2007 19:56:48 +0000 (19:56 +0000)]
Define set_string() for displaying the time values in a set when _DEBUG is defined.

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

17 years agoAdd c_str() methods for synfig::Time and synfig::TimePoint when _DEBUG is defined.
dooglus [Tue, 23 Oct 2007 19:56:30 +0000 (19:56 +0000)]
Add c_str() methods for synfig::Time and synfig::TimePoint when _DEBUG is defined.

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

17 years agoTypo.
dooglus [Tue, 23 Oct 2007 19:56:17 +0000 (19:56 +0000)]
Typo.

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

17 years agoImprovements to interaction with waypoints in time-shifted canvases.
dooglus [Tue, 23 Oct 2007 19:55:53 +0000 (19:55 +0000)]
Improvements to interaction with waypoints in time-shifted canvases.

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

17 years agoTidying.
dooglus [Tue, 23 Oct 2007 19:55:38 +0000 (19:55 +0000)]
Tidying.

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

17 years agoTypos.
dooglus [Mon, 22 Oct 2007 01:03:04 +0000 (01:03 +0000)]
Typos.

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

17 years agoBefore this fix, PasteCanvas' "time offset" values were being reflected in the positi...
dooglus [Mon, 22 Oct 2007 01:02:44 +0000 (01:02 +0000)]
Before this fix, PasteCanvas' "time offset" values were being reflected in the position of the waypoints in the timeline of parent PasteCanvases, but not in the PasteCanvas itself.  This fix adds a preprocessor macro ADJUST_WAYPOINTS_FOR_TIME_OFFSET (to node.h) which enables the offsetting of waypoints for all PasteCanvases when defined.  It's undefined though, because offsetting waypoints doesn't yet work fully;  see the TODO at the end of layer_pastecanvas.cpp for details.

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

17 years agoTypos (childrens?).
dooglus [Mon, 22 Oct 2007 01:02:23 +0000 (01:02 +0000)]
Typos (childrens?).

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

17 years agoReject invalid and dangerous values for the 'step' parameter.
dooglus [Sun, 21 Oct 2007 22:30:39 +0000 (22:30 +0000)]
Reject invalid and dangerous values for the 'step' parameter.

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

17 years agoDon't modify the target type that was requested when calculating what type to use...
dooglus [Sun, 21 Oct 2007 21:36:35 +0000 (21:36 +0000)]
Don't modify the target type that was requested when calculating what type to use for target 'auto'.

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

17 years agoFix a bug causing PasteCanvas layer to adjust its waypoints in the wrong direction...
dooglus [Sun, 21 Oct 2007 21:36:27 +0000 (21:36 +0000)]
Fix a bug causing PasteCanvas layer to adjust its waypoints in the wrong direction for time offsets.

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

17 years agoImplement operator- for TimePoints.
dooglus [Sun, 21 Oct 2007 21:36:18 +0000 (21:36 +0000)]
Implement operator- for TimePoints.

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

17 years agoRemoved 2 lines that cause the 'Font Family' parameter in the 'Simple Text' layer...
dooglus [Sun, 21 Oct 2007 21:36:09 +0000 (21:36 +0000)]
Removed 2 lines that cause the 'Font Family' parameter in the 'Simple Text' layer to show odd values when editing it.

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

17 years agoTidying.
dooglus [Sun, 21 Oct 2007 21:36:01 +0000 (21:36 +0000)]
Tidying.

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

17 years agoTidying.
dooglus [Sun, 21 Oct 2007 21:35:54 +0000 (21:35 +0000)]
Tidying.

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

17 years agoTypo.
dooglus [Sun, 21 Oct 2007 21:35:47 +0000 (21:35 +0000)]
Typo.

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

17 years agoFix the ffmpeg/dv/imagemagick targets/importers on Windows. Thanks to PXEGeek for...
pabs [Wed, 17 Oct 2007 05:47:23 +0000 (05:47 +0000)]
Fix the ffmpeg/dv/imagemagick targets/importers on Windows. Thanks to PXEGeek for tracking down popen calls that were mangling linefeeds.

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

17 years agoRevert back to r930. The last 2 commits were no good.
dooglus [Mon, 15 Oct 2007 07:23:59 +0000 (07:23 +0000)]
Revert back to r930.  The last 2 commits were no good.

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

17 years agoUse Synfig::Mutex instead of Glib::Mutex.
dooglus [Mon, 15 Oct 2007 00:50:24 +0000 (00:50 +0000)]
Use Synfig::Mutex instead of Glib::Mutex.

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

17 years agoPut mutexes around the reference counts for the shared_object class. Maybe this...
dooglus [Sun, 14 Oct 2007 23:28:40 +0000 (23:28 +0000)]
Put mutexes around the reference counts for the shared_object class.  Maybe this will help prevent crashes.

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

17 years agoShow some debugging output on stdout when deciding which 'auto' target to use.
dooglus [Sun, 14 Oct 2007 23:14:57 +0000 (23:14 +0000)]
Show some debugging output on stdout when deciding which 'auto' target to use.

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

17 years agoUse filename_extension() and filename_sans_extension().
dooglus [Sun, 14 Oct 2007 22:14:47 +0000 (22:14 +0000)]
Use filename_extension() and filename_sans_extension().

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

17 years agoWrote filename_extension() and filename_sans_extension(), since they are reimplemente...
dooglus [Sun, 14 Oct 2007 21:20:47 +0000 (21:20 +0000)]
Wrote filename_extension() and filename_sans_extension(), since they are reimplemented (often incorrectly) in lots of places.

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

17 years agoWhen loading a canvas fails because of undefined valuenodes, show the IDs of the...
dooglus [Sun, 14 Oct 2007 00:00:33 +0000 (00:00 +0000)]
When loading a canvas fails because of undefined valuenodes, show the IDs of the undefined nodes.

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

17 years agoRemoved the 'fixme' comment, because I fixed it already.
dooglus [Sat, 13 Oct 2007 23:38:25 +0000 (23:38 +0000)]
Removed the 'fixme' comment, because I fixed it already.

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

17 years agoFix memory leak. The png library was being used slightly wrongly.
dooglus [Sat, 13 Oct 2007 23:28:51 +0000 (23:28 +0000)]
Fix memory leak.  The png library was being used slightly wrongly.

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

17 years agoThe code documents an unexplained crash in libpng, but was also leaking filehandles...
dooglus [Sat, 13 Oct 2007 22:03:03 +0000 (22:03 +0000)]
The code documents an unexplained crash in libpng, but was also leaking filehandles.  We should close the file handle, or we run out after rendering a few animations which import large .lst files.

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

17 years agoAdd the 'Switch' valuenode.
dooglus [Sat, 13 Oct 2007 13:00:26 +0000 (13:00 +0000)]
Add the 'Switch' valuenode.

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

17 years agoAdd 'Switch' valuenode.
dooglus [Sat, 13 Oct 2007 13:00:16 +0000 (13:00 +0000)]
Add 'Switch' valuenode.

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

17 years agoAllow both 'name' and renddesc parameters to be changed at the same time in the canva...
dooglus [Sat, 13 Oct 2007 03:05:37 +0000 (03:05 +0000)]
Allow both 'name' and renddesc parameters to be changed at the same time in the canvas properties dialog.

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

17 years agoDon't set_time() twice for the current canvas.
dooglus [Sat, 13 Oct 2007 03:05:29 +0000 (03:05 +0000)]
Don't set_time() twice for the current canvas.

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

17 years agoFix a problem in single-thread mode where the canvas isn't always updated.
dooglus [Sat, 13 Oct 2007 01:51:44 +0000 (01:51 +0000)]
Fix a problem in single-thread mode where the canvas isn't always updated.

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

17 years agoFix the 'close' menu entry and close button when viewing multiple canvases of the...
dooglus [Sat, 13 Oct 2007 01:23:14 +0000 (01:23 +0000)]
Fix the 'close' menu entry and close button when viewing multiple canvases of the same document.  Replace 'close' by 'close window' and 'close document' in the file menu.

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

17 years agoShow whether a canvas is unsaved or not by putting a '*' in front of its name when...
dooglus [Fri, 12 Oct 2007 22:36:21 +0000 (22:36 +0000)]
Show whether a canvas is unsaved or not by putting a '*' in front of its name when it is unsaved.  Showing '(unsaved)' at the end often doesn't fit in the titlebar.

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

17 years agoFix a crash when running single-threaded and dragging the time slider.
dooglus [Fri, 12 Oct 2007 17:29:38 +0000 (17:29 +0000)]
Fix a crash when running single-threaded and dragging the time slider.

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

17 years agoTidying.
dooglus [Fri, 12 Oct 2007 17:29:29 +0000 (17:29 +0000)]
Tidying.

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

17 years agoClose safely when closing from the caret menu as well as when clicking the 'X' or...
dooglus [Fri, 12 Oct 2007 15:15:31 +0000 (15:15 +0000)]
Close safely when closing from the caret menu as well as when clicking the 'X' or hitting alt-F4.

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

17 years agoImprove single-threaded operation. It's now safe(r?) to close a canvas while it...
dooglus [Fri, 12 Oct 2007 14:43:52 +0000 (14:43 +0000)]
Improve single-threaded operation.  It's now safe(r?) to close a canvas while it's rendering.

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

17 years agoFix 1682008: (pressing the X button hides then shows window)
dooglus [Fri, 12 Oct 2007 12:18:26 +0000 (12:18 +0000)]
Fix 1682008: (pressing the X button hides then shows window)

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

17 years agoWhen single threaded, update the gui after rendering each frame.
dooglus [Thu, 11 Oct 2007 19:36:32 +0000 (19:36 +0000)]
When single threaded, update the gui after rendering each frame.

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

17 years agoDon't delete the preview renderer if it's still running.
dooglus [Thu, 11 Oct 2007 19:36:23 +0000 (19:36 +0000)]
Don't delete the preview renderer if it's still running.

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

17 years agoDefault single_threaded to false, because it doesn't work too well yet.
dooglus [Thu, 11 Oct 2007 19:36:15 +0000 (19:36 +0000)]
Default single_threaded to false, because it doesn't work too well yet.

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

17 years agoOnly initialise threads if they aren't already initialised.
dooglus [Thu, 11 Oct 2007 16:32:21 +0000 (16:32 +0000)]
Only initialise threads if they aren't already initialised.

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

17 years agoAdd BEGIN_VALUENODES(), VALUENODE(), and END_VALUENODES() macros to allow modules...
dooglus [Thu, 11 Oct 2007 01:54:06 +0000 (01:54 +0000)]
Add BEGIN_VALUENODES(), VALUENODE(), and END_VALUENODES() macros to allow modules to define new valuenode types.

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

17 years agoDefault new random valuenodes to SMOOTH_CUBIC interpolation.
dooglus [Thu, 11 Oct 2007 01:53:57 +0000 (01:53 +0000)]
Default new random valuenodes to SMOOTH_CUBIC interpolation.

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

17 years agoNew source file for the 'random' valuenode.
dooglus [Thu, 11 Oct 2007 01:53:48 +0000 (01:53 +0000)]
New source file for the 'random' valuenode.

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

17 years agoNew header file for the 'random' valuenode.
dooglus [Thu, 11 Oct 2007 01:53:40 +0000 (01:53 +0000)]
New header file for the 'random' valuenode.

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

17 years agoTidying.
dooglus [Thu, 11 Oct 2007 01:53:31 +0000 (01:53 +0000)]
Tidying.

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

17 years agoAdd the new 'random' valuenode.
dooglus [Thu, 11 Oct 2007 01:53:21 +0000 (01:53 +0000)]
Add the new 'random' valuenode.

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

17 years agoAdd files for the new 'random' valuenode.
dooglus [Thu, 11 Oct 2007 01:53:03 +0000 (01:53 +0000)]
Add files for the new 'random' valuenode.

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

17 years agoUse static_cast rather than the old C style cast.
dooglus [Thu, 11 Oct 2007 01:52:48 +0000 (01:52 +0000)]
Use static_cast rather than the old C style cast.

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

17 years agoPut the mutex code back as it was originally. We can still use it when single threaded.
dooglus [Thu, 11 Oct 2007 01:52:30 +0000 (01:52 +0000)]
Put the mutex code back as it was originally.  We can still use it when single threaded.

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

17 years agoUse a checkbox in the gui (Toolbox > File > Setup > Misc) for single_threaded, rather...
dooglus [Wed, 10 Oct 2007 21:37:00 +0000 (21:37 +0000)]
Use a checkbox in the gui (Toolbox > File > Setup > Misc) for single_threaded, rather than a compile-time #define.

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

17 years agoTypo.
dooglus [Wed, 10 Oct 2007 17:30:33 +0000 (17:30 +0000)]
Typo.

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

17 years agoFix 1809480 (Zoom in beyond 8.75 in nested canvases fails).
dooglus [Wed, 10 Oct 2007 16:34:25 +0000 (16:34 +0000)]
Fix 1809480 (Zoom in beyond 8.75 in nested canvases fails).

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

17 years agoUse the ETL 'round_to_int' function rather than re-writing it in each of these files.
dooglus [Wed, 10 Oct 2007 15:54:11 +0000 (15:54 +0000)]
Use the ETL 'round_to_int' function rather than re-writing it in each of these files.

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