synfig.git
16 years agoClarify the 'file format version' menu in the save dialog.
dooglus [Fri, 8 Feb 2008 09:48:05 +0000 (09:48 +0000)]
Clarify the 'file format version' menu in the save dialog.

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

16 years agoAllow saving .sif files in a format that can be read by versions 0.61.07 and older.
dooglus [Fri, 8 Feb 2008 09:36:32 +0000 (09:36 +0000)]
Allow saving .sif files in a format that can be read by versions 0.61.07 and older.

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

16 years agoDon't allow the user to set the 'ID' of exported canvases to be empty.
dooglus [Thu, 7 Feb 2008 23:34:55 +0000 (23:34 +0000)]
Don't allow the user to set the 'ID' of exported canvases to be empty.

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

16 years agoPrevent a crash when loading a .sif file with 'use=""' in it.
dooglus [Thu, 7 Feb 2008 23:34:43 +0000 (23:34 +0000)]
Prevent a crash when loading a .sif file with 'use=""' in it.

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

16 years agoDon't let 'select all' select the green ducks of a plant layer.
dooglus [Thu, 7 Feb 2008 22:17:54 +0000 (22:17 +0000)]
Don't let 'select all' select the green ducks of a plant layer.

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

16 years agoDelete the 'encode_composite' function. Composite valuenodes are just a special...
dooglus [Thu, 7 Feb 2008 22:17:43 +0000 (22:17 +0000)]
Delete the 'encode_composite' function.  Composite valuenodes are just a special kind of Linkable valuenode and don't need special code to save them.

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

16 years agoMake the auto-backup process quieter. We don't need to hear about every backup that...
dooglus [Thu, 7 Feb 2008 14:40:12 +0000 (14:40 +0000)]
Make the auto-backup process quieter.  We don't need to hear about every backup that's done.

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

16 years agoAdd a setting in the gui for the auto-backup interval.
dooglus [Thu, 7 Feb 2008 11:46:12 +0000 (11:46 +0000)]
Add a setting in the gui for the auto-backup interval.

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

16 years agoMy recent fix for trailing spaces left out spaces when the fps is zero.
dooglus [Thu, 7 Feb 2008 11:45:52 +0000 (11:45 +0000)]
My recent fix for trailing spaces left out spaces when the fps is zero.

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

16 years agoAttempting to open a file that is already open should just succeed quietly. It used...
dooglus [Thu, 7 Feb 2008 09:46:30 +0000 (09:46 +0000)]
Attempting to open a file that is already open should just succeed quietly.  It used to pop up an error dialog and get the user to click 'OK'.  This was particularly annoying when the file was specified on the command line that started studio, and was only already open because it had just been recovered from a previous crash.

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

16 years agoDon't automatically create a new document if we successfully recover any old documents.
dooglus [Thu, 7 Feb 2008 09:32:43 +0000 (09:32 +0000)]
Don't automatically create a new document if we successfully recover any old documents.

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

16 years agoCount the number of files we were able to successfully recover.
dooglus [Thu, 7 Feb 2008 09:32:29 +0000 (09:32 +0000)]
Count the number of files we were able to successfully recover.

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

16 years agoSet minimum and maximum zoom levels for the timescroller.
dooglus [Wed, 6 Feb 2008 23:45:10 +0000 (23:45 +0000)]
Set minimum and maximum zoom levels for the timescroller.

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

16 years agoRemember the position and size of the color and gradient dialogs even if they're...
dooglus [Wed, 6 Feb 2008 23:44:54 +0000 (23:44 +0000)]
Remember the position and size of the color and gradient dialogs even if they're not displayed when studio exits.

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

16 years agoMy panels were drifting one or two pixels each time I started studio. This seems...
dooglus [Wed, 6 Feb 2008 23:44:38 +0000 (23:44 +0000)]
My panels were drifting one or two pixels each time I started studio.  This seems to be window-manager dependent.  I've added environment variables to allow adjusting the drift to stop it.  SYNFIG_WINDOW_POSITION_X_OFFSET and SYNFIG_WINDOW_POSITION_Y_OFFSET.  Setting them both to 1 stops the drift for me in xfwm4.

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

16 years agoSubdivide the space between labels on the timeslider sensibly. Don't divide a 5...
dooglus [Wed, 6 Feb 2008 18:02:38 +0000 (18:02 +0000)]
Subdivide the space between labels on the timeslider sensibly.  Don't divide a 5 second gap into 4 parts of 1.25 seconds each, for instance.

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

16 years agoImprove the range of different scales used on the timeslider. Previously 3 fps anima...
dooglus [Wed, 6 Feb 2008 17:43:35 +0000 (17:43 +0000)]
Improve the range of different scales used on the timeslider.  Previously 3 fps animations were having the timeslider labelled "0.75f, 1.5f, ..." rather than "1f, 2f, ...".

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

16 years agoMake sure the time entry box shows the correct time - rounded to an integer number...
dooglus [Wed, 6 Feb 2008 17:41:50 +0000 (17:41 +0000)]
Make sure the time entry box shows the correct time - rounded to an integer number of frames.

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

16 years agoDon't ask translators to translate compview.cpp since it isn't compiled. Fix typo...
pabs [Wed, 6 Feb 2008 12:17:00 +0000 (12:17 +0000)]
Don't ask translators to translate compview.cpp since it isn't compiled. Fix typo that was preventing it from being distributed.

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

16 years agoDon't leave a trailing space on the time if there are no frames.
dooglus [Wed, 6 Feb 2008 12:13:57 +0000 (12:13 +0000)]
Don't leave a trailing space on the time if there are no frames.

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

16 years agoDon't expand time fields to their full format (eg. "1s" -> "0h 0m 1s 0f") when they...
dooglus [Wed, 6 Feb 2008 11:52:16 +0000 (11:52 +0000)]
Don't expand time fields to their full format (eg. "1s" -> "0h 0m 1s 0f") when they get keyboard focus.  export SYNFIG_SHOW_FULL_TIME_ON_FOCUS=1 will restore the old behaviour.

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

16 years agoDon't forget to distribute the other general.h too
pabs [Wed, 6 Feb 2008 11:20:54 +0000 (11:20 +0000)]
Don't forget to distribute the other general.h too

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

16 years agoAllow manual editing of the current time in the workarea window.
dooglus [Wed, 6 Feb 2008 11:12:44 +0000 (11:12 +0000)]
Allow manual editing of the current time in the workarea window.

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

16 years agoDon't forget to distribute general.h or the released version will not be buildable.
pabs [Wed, 6 Feb 2008 10:07:43 +0000 (10:07 +0000)]
Don't forget to distribute general.h or the released version will not be buildable.

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

16 years agoRemove trailing slash.
dooglus [Wed, 6 Feb 2008 09:36:14 +0000 (09:36 +0000)]
Remove trailing slash.

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

16 years agoFix 1797745: show the correct SVN revision id in the about dialog
pabs [Wed, 6 Feb 2008 09:11:32 +0000 (09:11 +0000)]
Fix 1797745: show the correct SVN revision id in the about dialog
* Run a script each time we build to see if we have updated
* The script currently supports svn and git-svn
* The about dialog will only be rebuilt if you update
* No need to rebuild configure after updating

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

16 years agoAttach the "(Non-static value)" label into the waypoint dialog.
dooglus [Wed, 6 Feb 2008 01:36:06 +0000 (01:36 +0000)]
Attach the "(Non-static value)" label into the waypoint dialog.

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

16 years agoFix a crash when editing a waypoint with a non-static value.
dooglus [Wed, 6 Feb 2008 01:35:57 +0000 (01:35 +0000)]
Fix a crash when editing a waypoint with a non-static value.

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

16 years agoTypo.
dooglus [Tue, 5 Feb 2008 19:12:32 +0000 (19:12 +0000)]
Typo.

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

16 years agoFirst step towards fixing the problem of distorted text not rendering correctly at...
dooglus [Tue, 5 Feb 2008 19:12:21 +0000 (19:12 +0000)]
First step towards fixing the problem of distorted text not rendering correctly at tile borders.

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

16 years agoFix a problem with the warp layer where some tiles weren't being rendered.
dooglus [Tue, 5 Feb 2008 16:00:20 +0000 (16:00 +0000)]
Fix a problem with the warp layer where some tiles weren't being rendered.

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

16 years agoUse 'mod_magickpp' in preference to 'mod_imagemagick'.
dooglus [Tue, 5 Feb 2008 12:00:06 +0000 (12:00 +0000)]
Use 'mod_magickpp' in preference to 'mod_imagemagick'.

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

16 years agoDon't fail if we can't find the row in the param panel for the waypoint - it probably...
dooglus [Tue, 5 Feb 2008 11:40:45 +0000 (11:40 +0000)]
Don't fail if we can't find the row in the param panel for the waypoint - it probably just means the valuenode isn't in this param panel because it's in a different canvas.

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

16 years agoOnly show the 'Properties' (edit waypoint) menu if the value_desc we have is valid...
dooglus [Tue, 5 Feb 2008 11:40:36 +0000 (11:40 +0000)]
Only show the 'Properties' (edit waypoint) menu if the value_desc we have is valid (ie. not for canvas waypoints).

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

16 years agoRemoved spurious space.
dooglus [Tue, 5 Feb 2008 11:40:27 +0000 (11:40 +0000)]
Removed spurious space.

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

16 years agoImprove LinkableValueNode::get_description().
dooglus [Tue, 5 Feb 2008 11:40:19 +0000 (11:40 +0000)]
Improve LinkableValueNode::get_description().

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

16 years agoClarification.
dooglus [Tue, 5 Feb 2008 11:40:10 +0000 (11:40 +0000)]
Clarification.

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

16 years agoImproved ValueDesc::get_description().
dooglus [Tue, 5 Feb 2008 11:40:01 +0000 (11:40 +0000)]
Improved ValueDesc::get_description().

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

16 years agoAnswer and remove a 'todo' comment.
dooglus [Tue, 5 Feb 2008 11:39:52 +0000 (11:39 +0000)]
Answer and remove a 'todo' comment.

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

16 years agoRemove mod_ppm trgt_mpg.* from list of files that need to be translated since they...
pabs [Tue, 5 Feb 2008 06:38:48 +0000 (06:38 +0000)]
Remove mod_ppm trgt_mpg.* from list of files that need to be translated since they are not compiled.

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

16 years agoMake sure we distribute mod_ppm trgt_mpg.*
pabs [Tue, 5 Feb 2008 06:38:00 +0000 (06:38 +0000)]
Make sure we distribute mod_ppm trgt_mpg.*

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

16 years agoImprove the waypoint context menus. Now it's possible to delete and duplicate comple...
dooglus [Mon, 4 Feb 2008 23:35:30 +0000 (23:35 +0000)]
Improve the waypoint context menus.  Now it's possible to delete and duplicate complete trees of waypoints at once.  The 'change interp' functionality has been extended too, so now it's possible to set the interpolation type for the whole waypoint from the context menu as well as just the side that was clicked on, and it's possible for single waypoints as well.

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

16 years agoHeader changes for that last commit - oops!
dooglus [Mon, 4 Feb 2008 23:35:19 +0000 (23:35 +0000)]
Header changes for that last commit - oops!

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

16 years agoCouple of new functions to duplicate and delete a waypoint without having a ValueDesc.
dooglus [Mon, 4 Feb 2008 23:35:11 +0000 (23:35 +0000)]
Couple of new functions to duplicate and delete a waypoint without having a ValueDesc.

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

16 years agoShow which output target is used if it has been chosen automatically, not specified...
dooglus [Mon, 4 Feb 2008 23:35:02 +0000 (23:35 +0000)]
Show which output target is used if it has been chosen automatically, not specified by the user.

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

16 years agoPrevent a "bad_alloc" error caused by the bounding boxes changing when the user chang...
dooglus [Mon, 4 Feb 2008 18:41:15 +0000 (18:41 +0000)]
Prevent a "bad_alloc" error caused by the bounding boxes changing when the user changes parameters while rendering.

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

16 years agoAdded some comments. Fixed a crash when composite-blending a pastecanvas onto an...
dooglus [Mon, 4 Feb 2008 18:41:06 +0000 (18:41 +0000)]
Added some comments.  Fixed a crash when composite-blending a pastecanvas onto an empty canvas.

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

16 years agoRename the 'Position' parameter to 'Offset' for all the 'shape' layers.
dooglus [Mon, 4 Feb 2008 18:40:58 +0000 (18:40 +0000)]
Rename the 'Position' parameter to 'Offset' for all the 'shape' layers.

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

16 years agoWhen the bline tool is creating new layers, arrange the new layers in the order:...
dooglus [Mon, 4 Feb 2008 18:40:49 +0000 (18:40 +0000)]
When the bline tool is creating new layers, arrange the new layers in the order:  Outline - Region - Plant - Gradient, so that each layer is at least somewhat visible.  Rename the "*layer_bline*" variables to "*layer_outline*" since they represent outlines specifically.

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

16 years agoNow that the plant layer has an 'offset' parameter, allow the bline tool to link...
dooglus [Mon, 4 Feb 2008 18:40:40 +0000 (18:40 +0000)]
Now that the plant layer has an 'offset' parameter, allow the bline tool to link to it when creating multiple layers at once.

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

16 years agoAdd the 'offset' parameter to the Plant layer.
dooglus [Mon, 4 Feb 2008 18:40:29 +0000 (18:40 +0000)]
Add the 'offset' parameter to the Plant layer.

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

16 years agoAllow the bline tool to draw plants as well as outlines, regions, and curvegradients.
dooglus [Mon, 4 Feb 2008 18:40:20 +0000 (18:40 +0000)]
Allow the bline tool to draw plants as well as outlines, regions, and curvegradients.

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

16 years agoChange the order of the modules - magick++ is the last resort, other than the custom...
dooglus [Mon, 4 Feb 2008 18:40:10 +0000 (18:40 +0000)]
Change the order of the modules - magick++ is the last resort, other than the custom GIF output target, which really isn't very good.

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

16 years agoWhen doing a 'Save As', default to saving in the same directory that the file was...
dooglus [Sun, 3 Feb 2008 23:59:53 +0000 (23:59 +0000)]
When doing a 'Save As', default to saving in the same directory that the file was loaded from, if any.

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

16 years agoFix the same bug as the last commit, but better. Deleting from a set doesn't invalid...
dooglus [Sun, 3 Feb 2008 23:11:46 +0000 (23:11 +0000)]
Fix the same bug as the last commit, but better.  Deleting from a set doesn't invalidate the set iterator *unless the iterator was pointing at the deleted element*.

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

16 years agoFix a crash that was only showing up on Windows for some reason. Modifying a set...
dooglus [Sun, 3 Feb 2008 23:03:56 +0000 (23:03 +0000)]
Fix a crash that was only showing up on Windows for some reason.  Modifying a set invalidates iterators on that set.

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

16 years agoChange the default quality to 8. It makes shade layers render better without much...
dooglus [Sun, 3 Feb 2008 20:54:17 +0000 (20:54 +0000)]
Change the default quality to 8.  It makes shade layers render better without much impact on speed.

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

16 years agoMake the quality of the 'shade' layer worse at quality 10 than it is at quality 9!
dooglus [Sun, 3 Feb 2008 20:54:04 +0000 (20:54 +0000)]
Make the quality of the 'shade' layer worse at quality 10 than it is at quality 9!

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

16 years agoAttempting to link a duck from the Children panel with other ducks was causing an...
dooglus [Sun, 3 Feb 2008 20:20:27 +0000 (20:20 +0000)]
Attempting to link a duck from the Children panel with other ducks was causing an error.  Now it isn't.

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

16 years agoImprove the description of a ValueNode to include its exported name if requested...
dooglus [Sun, 3 Feb 2008 19:22:07 +0000 (19:22 +0000)]
Improve the description of a ValueNode to include its exported name if requested to do so.

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

16 years agoWhen linking simple values, use the value from the topmost layer.
dooglus [Sun, 3 Feb 2008 18:58:24 +0000 (18:58 +0000)]
When linking simple values, use the value from the topmost layer.

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

16 years agoShow the URL of the section describing the decision that was just made about which...
dooglus [Sun, 3 Feb 2008 18:58:14 +0000 (18:58 +0000)]
Show the URL of the section describing the decision that was just made about which ValueNode's value to use when linking.

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

16 years agoInitialise the 'time_last_changed' when creating a Node. Previously it was being...
dooglus [Sun, 3 Feb 2008 18:17:52 +0000 (18:17 +0000)]
Initialise the 'time_last_changed' when creating a Node.  Previously it was being left at a random value.

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

16 years agoPrevent warnings about unused parameters.
dooglus [Sun, 3 Feb 2008 10:29:10 +0000 (10:29 +0000)]
Prevent warnings about unused parameters.

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

16 years agoRecognise .GIF and .gIf (ie. upper and mixed case extensions) in the target file...
dooglus [Sun, 3 Feb 2008 10:19:26 +0000 (10:19 +0000)]
Recognise .GIF and .gIf (ie. upper and mixed case extensions) in the target file name.  Previously only lower case extensions were recognised.

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

16 years agoList the types that this module can write. First draft, using the output of "identif...
dooglus [Sun, 3 Feb 2008 10:08:48 +0000 (10:08 +0000)]
List the types that this module can write.  First draft, using the output of "identify -list format" to know what formats are writable and grepping imagemagick sources for 'SetMagickInfo' to find the file extensions for those formats.

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

16 years agoDon't number image files if we're creating a single image.
dooglus [Sun, 3 Feb 2008 10:08:37 +0000 (10:08 +0000)]
Don't number image files if we're creating a single image.

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

16 years agoGet rid of all references to the bootstrap script since it was removed
pabs [Sun, 3 Feb 2008 01:38:12 +0000 (01:38 +0000)]
Get rid of all references to the bootstrap script since it was removed

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

16 years agoAdd 'gif' to the list of extensions recognised by the Papagayo importer.
dooglus [Sat, 2 Feb 2008 21:07:19 +0000 (21:07 +0000)]
Add 'gif' to the list of extensions recognised by the Papagayo importer.

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

16 years agoPrevent a warning from the compiler. These variables are guarded by the *_flag varia...
dooglus [Sat, 2 Feb 2008 20:45:22 +0000 (20:45 +0000)]
Prevent a warning from the compiler.  These variables are guarded by the *_flag variables, so they're not really being used uninitialised.

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

16 years agoPrevent a warning from the keyframe panel on startup. The 'Jump' column still compla...
dooglus [Sat, 2 Feb 2008 19:46:09 +0000 (19:46 +0000)]
Prevent a warning from the keyframe panel on startup.  The 'Jump' column still complains if we try to sort using it though.

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

16 years agoShow a very simple message in the console on start-up so as not to scare people when...
dooglus [Fri, 1 Feb 2008 22:54:42 +0000 (22:54 +0000)]
Show a very simple message in the console on start-up so as not to scare people when they see an empty terminal window 'doing nothing'.

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

16 years agoDisable the 'DEPTH=' display.
dooglus [Fri, 1 Feb 2008 22:54:32 +0000 (22:54 +0000)]
Disable the 'DEPTH=' display.

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

16 years agoComment out a bunch of old debugging code.
dooglus [Fri, 1 Feb 2008 22:54:22 +0000 (22:54 +0000)]
Comment out a bunch of old debugging code.

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

16 years agoDisabled the "Left Normal State" message.
dooglus [Fri, 1 Feb 2008 22:54:13 +0000 (22:54 +0000)]
Disabled the "Left Normal State" message.

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

16 years agoFix an error on startup that said: "error: canvasview.cpp:445 canvas_view.layer_tree...
dooglus [Fri, 1 Feb 2008 22:54:03 +0000 (22:54 +0000)]
Fix an error on startup that said: "error: canvasview.cpp:445 canvas_view.layer_tree not defined!?" by making the layer tree before attempting to look up the selected layers in it.

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

16 years agoCommented out a bunch of unused code. I don't know if was old and no longer needed...
dooglus [Fri, 1 Feb 2008 22:53:53 +0000 (22:53 +0000)]
Commented out a bunch of unused code.  I don't know if was old and no longer needed, or new and never finished, but it wasn't used.  It looks like it was to make a single-window interface - having the layer, children and keyframe panels attached to the main workarea.

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

16 years agoDon't show log messages from each panel's destructor unless environment variable...
dooglus [Fri, 1 Feb 2008 22:53:21 +0000 (22:53 +0000)]
Don't show log messages from each panel's destructor unless environment variable SYNFIG_DEBUG_DESTRUCTORS is set.

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

16 years agoWith the re-enabling of 'Alpha Brighten', the toolbox has become a little wider....
dooglus [Fri, 1 Feb 2008 16:03:50 +0000 (16:03 +0000)]
With the re-enabling of 'Alpha Brighten', the toolbox has become a little wider.  Some foreign translations of the blend method could also push it wider.  And since we have 15 tool icons by default, I've made the toolbox 5 icons wide instead of 4, and rearranged them slightly.  The top row is now all for "moving ducks", the middle row for "drawing stuff", and the bottom row is more drawing on the left and looking at stuff (eyedrop, zoom) on the right.

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

16 years agoFix 1868911: exported canvases weren't being deleted, due to a handle never being...
dooglus [Fri, 1 Feb 2008 15:21:45 +0000 (15:21 +0000)]
Fix 1868911: exported canvases weren't being deleted, due to a handle never being released.

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

16 years agoFix 1678554 and implement 1741220: change the about dialog to a splash screen and...
pabs [Fri, 1 Feb 2008 13:22:28 +0000 (13:22 +0000)]
Fix 1678554 and implement 1741220: change the about dialog to a splash screen and implement a new about dialog based on Gtk::AboutDialog. Still need to connect it up to configure.ac though.

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

16 years agoRename the about dialog header, implementation and image to splash screen equivalents...
pabs [Fri, 1 Feb 2008 12:48:02 +0000 (12:48 +0000)]
Rename the about dialog header, implementation and image to splash screen equivalents. New about dialog implementation will follow.

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

16 years agoThe template file for studio should use the studio namespace instead of the synfig...
pabs [Fri, 1 Feb 2008 09:37:47 +0000 (09:37 +0000)]
The template file for studio should use the studio namespace instead of the synfig one.

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

16 years agoI still think it would be great to get rid of reference counting - read the new comme...
dooglus [Fri, 1 Feb 2008 01:58:45 +0000 (01:58 +0000)]
I still think it would be great to get rid of reference counting - read the new comment in layer_pastecanvas.h and you'll almost certainly agree!

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

16 years agoFix a crash that was happening if we had 2 exported canvases in a .sif file where...
dooglus [Thu, 31 Jan 2008 23:43:38 +0000 (23:43 +0000)]
Fix a crash that was happening if we had 2 exported canvases in a .sif file where the 2nd contained a pastecanvas that used the 1st as its canvas.  The canvases are destructed in the order in which they appear in the .sif file, so by the time the 2nd is destroyed, the pastecanvas it contains no longer has a valid canvas parameter.  The fix is to clear the canvas parameter of any pastecanvases using a canvas when the canvas itself is destroyed.

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

16 years agoTidied up and checked in a patch from genete to allow importing of lipsynced voice...
dooglus [Thu, 31 Jan 2008 17:09:36 +0000 (17:09 +0000)]
Tidied up and checked in a patch from genete to allow importing of lipsynced voice animations from Papagayo.

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

16 years agoPartially revert the previous commit. Messing with the canvas size causes the displa...
dooglus [Thu, 31 Jan 2008 17:09:27 +0000 (17:09 +0000)]
Partially revert the previous commit.  Messing with the canvas size causes the display to be cleared between refreshes.

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

16 years agoAdd AkhIL to the contributors.
dooglus [Thu, 31 Jan 2008 15:04:23 +0000 (15:04 +0000)]
Add AkhIL to the contributors.

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

16 years agoEnsure that the size we draw is a whole number of pixels in each dimension, and preve...
dooglus [Thu, 31 Jan 2008 15:03:00 +0000 (15:03 +0000)]
Ensure that the size we draw is a whole number of pixels in each dimension, and prevent zooming out too far from creating canvases so small they contain no pixels at all.

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

16 years agoAdd menu entries and shortcuts to increase and decrease the pixel size : control...
dooglus [Thu, 31 Jan 2008 14:13:28 +0000 (14:13 +0000)]
Add menu entries and shortcuts to increase and decrease the pixel size : control-'(' and control-')'.

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

16 years agoCreate the pixel-size menus dynamically.
dooglus [Thu, 31 Jan 2008 14:13:17 +0000 (14:13 +0000)]
Create the pixel-size menus dynamically.

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

16 years agoChange the tile size from 128 to 120 and allow all the factors of 120 to be used...
dooglus [Thu, 31 Jan 2008 14:12:58 +0000 (14:12 +0000)]
Change the tile size from 128 to 120 and allow all the factors of 120 to be used as the pixel size for low-resolution editing.

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

16 years agoImprove the logic for when to use the tile renderer. At lower resolutions we can...
dooglus [Thu, 31 Jan 2008 14:12:46 +0000 (14:12 +0000)]
Improve the logic for when to use the tile renderer.  At lower resolutions we can hold off using it longer.

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

16 years agoTidying.
dooglus [Thu, 31 Jan 2008 14:12:35 +0000 (14:12 +0000)]
Tidying.

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

16 years agoAnd another two that are commented at the moment. But it's best to fix those as...
dooglus [Thu, 31 Jan 2008 14:12:25 +0000 (14:12 +0000)]
And another two that are commented at the moment.  But it's best to fix those as well in case they're uncommented sometime.

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

16 years agoThere are 3 more places in the code where the low-res pixel size needs to be used.
dooglus [Thu, 31 Jan 2008 14:11:58 +0000 (14:11 +0000)]
There are 3 more places in the code where the low-res pixel size needs to be used.

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

16 years agoApplied patch from IL'dar AKHmetgaleev aka AkhIL to allow different qualities of...
dooglus [Thu, 31 Jan 2008 14:11:15 +0000 (14:11 +0000)]
Applied patch from IL'dar AKHmetgaleev aka AkhIL to allow different qualities of low-resolution rendering.

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

16 years agoFix 1883030: Version 0.1 of the timeloop layer acted as if it wasn't there whenever...
dooglus [Wed, 30 Jan 2008 23:53:34 +0000 (23:53 +0000)]
Fix 1883030: Version 0.1 of the timeloop layer acted as if it wasn't there whenever its start_time wasn't strictly less than its end_time, whereas the current version works with both positive and negative values for 'duration'.  This was causing problems with old .sif files which use animated valuenodes for start_time and/or end_time, since we couldn't easily convert them to produce the same results with the new layer type.  This commit adds a new parameter to the timeloop layer to cause the layer to disable itself for non-positive durations, allowing compatibility with old .sif files.

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

16 years agoDisabling and reenabling a layer under a timeloop layer was causing the layer to...
dooglus [Wed, 30 Jan 2008 22:43:33 +0000 (22:43 +0000)]
Disabling and reenabling a layer under a timeloop layer was causing the layer to be rendered at the current time, ignoring the effect of the timeloop layer (until the time slider was adjusted).

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

16 years agoAkhIL mentioned on IRC that bitmaps weren't working with 'straight onto' blending...
dooglus [Wed, 30 Jan 2008 13:54:47 +0000 (13:54 +0000)]
AkhIL mentioned on IRC that bitmaps weren't working with 'straight onto' blending.  It turned out that the clone-and-encapsulate we do to get straight blending to work was failing because clone() needs to know the path to the file that the canvas is stored in to calculate the relative path to the image file, and the optimized copy of the canvas tree didn't have that information.  Now it does.

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