synfig.git
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

16 years agoOK, let's use alt-o (o is for onion) instead of control-k to toggle onion skin.
dooglus [Tue, 29 Jan 2008 23:01:04 +0000 (23:01 +0000)]
OK, let's use alt-o (o is for onion) instead of control-k to toggle onion skin.

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

16 years agoChange the default 'toggle onion skin' keyboard shortcut from control-o (which is...
dooglus [Tue, 29 Jan 2008 22:54:38 +0000 (22:54 +0000)]
Change the default 'toggle onion skin' keyboard shortcut from control-o (which is the stock binding for 'open') to control-k.

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

16 years agoIf environment variable SYNFIG_DISABLE_AUTOMATIC_DOCUMENT_CREATION is set, don't...
dooglus [Tue, 29 Jan 2008 10:57:15 +0000 (10:57 +0000)]
If environment variable SYNFIG_DISABLE_AUTOMATIC_DOCUMENT_CREATION is set, don't create a blank document on startup, even if no documents were specified on the command line.  I'll add proper configuration items within the gui for this and other recent changes soon.

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

16 years agoAllow the layer panel to be sorted by layer name. Resize the layer name column to...
dooglus [Tue, 29 Jan 2008 10:57:06 +0000 (10:57 +0000)]
Allow the layer panel to be sorted by layer name.  Resize the layer name column to fit the layer names.  Rename the "Layer" column to "Name".

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

16 years agoUse set_sort_column() instead of the deprecated set_sort_column_id().
dooglus [Tue, 29 Jan 2008 10:56:52 +0000 (10:56 +0000)]
Use set_sort_column() instead of the deprecated set_sort_column_id().

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

16 years agoIf no documents are specified to be loaded on the command line at start-up, create...
dooglus [Tue, 29 Jan 2008 08:41:05 +0000 (08:41 +0000)]
If no documents are specified to be loaded on the command line at start-up, create a new empty document to the novice user can get started straight away.  synfig.org/Wish_list#Improved_User_Experience_for_First_Contact

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

16 years agoDefault 'end time' for new canvases to 5s instead of 0. That's one less thing a...
dooglus [Tue, 29 Jan 2008 08:31:07 +0000 (08:31 +0000)]
Default 'end time' for new canvases to 5s instead of 0.  That's one less thing a new user then needs to edit to start making his first animation.  Also, don't show the intimidating canvas properties dialog when a layer is created, just use the defaults.  Set environment variable "SYNFIG_ENABLE_NEW_CANVAS_EDIT_PROPERTIES" to revert this change locally.  See synfig.org/Wish_list#Improved_User_Experience_for_First_Contact .

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

16 years agor1505 accidentally changed the behavior of the (JMP) links in the keyframe panel...
dooglus [Tue, 29 Jan 2008 06:23:21 +0000 (06:23 +0000)]
r1505 accidentally changed the behavior of the (JMP) links in the keyframe panel to require a double click.  This changes it back.

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

16 years agog++ 4.2 didn't like my last change.
dooglus [Mon, 28 Jan 2008 15:23:31 +0000 (15:23 +0000)]
g++ 4.2 didn't like my last change.

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

16 years agoRevision 1494 introduced a bug in the bline tool. Dragging a tangent while drawing...
dooglus [Mon, 28 Jan 2008 14:23:41 +0000 (14:23 +0000)]
Revision 1494 introduced a bug in the bline tool.  Dragging a tangent while drawing would only show one tangent duck, not two.  This was caused by the hash<T> class no hashing the characters pointed to by a char*, but hashing the pointer itself now.  See the first mention of 'char*' in open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1456.html .

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

16 years agoDon't try to change the value of 'const' variables. Finish statements with semicolon...
dooglus [Mon, 28 Jan 2008 12:30:46 +0000 (12:30 +0000)]
Don't try to change the value of 'const' variables.  Finish statements with semicolons.  Etc.

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

16 years agoMore unused parameters - in ETL this time.
dooglus [Sun, 27 Jan 2008 15:29:47 +0000 (15:29 +0000)]
More unused parameters - in ETL this time.

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

16 years agoHonor the "amount" parameter of the 'duplicate' layer.
dooglus [Sun, 27 Jan 2008 13:03:55 +0000 (13:03 +0000)]
Honor the "amount" parameter of the 'duplicate' layer.

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

16 years agoOops - missed one in the last commit.
dooglus [Sun, 27 Jan 2008 12:20:13 +0000 (12:20 +0000)]
Oops - missed one in the last commit.

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

16 years agoPrevent more 'unused parameter' warnings - compiling without debug enabled disables...
dooglus [Sun, 27 Jan 2008 12:16:51 +0000 (12:16 +0000)]
Prevent more 'unused parameter' warnings - compiling without debug enabled disables the assert() checks which leads to more parameters being unused.

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

16 years agoPrevent all remaining 'unused parameter' warnings when compiling with debug enabled.
dooglus [Sun, 27 Jan 2008 12:12:27 +0000 (12:12 +0000)]
Prevent all remaining 'unused parameter' warnings when compiling with debug enabled.

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

16 years agoThe same as r1506 but for studio as well. r1506 only addressed the problem for core.
dooglus [Sun, 27 Jan 2008 11:54:10 +0000 (11:54 +0000)]
The same as r1506 but for studio as well.  r1506 only addressed the problem for core.

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

16 years agoFix a warning about returning a reference to a temporary by introducing a memory...
dooglus [Sun, 27 Jan 2008 11:45:26 +0000 (11:45 +0000)]
Fix a warning about returning a reference to a temporary by introducing a memory leak instead!  I don't think the code should ever be used though, and have added a warning to indicate if it is.

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

16 years agoDon't use the '-Wno-unused-parameter' flag by default.
dooglus [Sun, 27 Jan 2008 11:31:20 +0000 (11:31 +0000)]
Don't use the '-Wno-unused-parameter' flag by default.

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

16 years agoCheck that unordered_map<int,int>::const_iterator is declared before deciding to...
dooglus [Sun, 27 Jan 2008 11:05:29 +0000 (11:05 +0000)]
Check that unordered_map<int,int>::const_iterator is declared before deciding to use <tr1/unordered_map>.  Similarly for unordered_set.

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

16 years agoMake the keyframe panel's description column sortable.
dooglus [Sun, 27 Jan 2008 10:13:42 +0000 (10:13 +0000)]
Make the keyframe panel's description column sortable.

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

16 years agoAdd a KeyframeTreeStore::description_sorter() to go with the time_sorter().
dooglus [Sun, 27 Jan 2008 10:13:32 +0000 (10:13 +0000)]
Add a KeyframeTreeStore::description_sorter() to go with the time_sorter().

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

16 years agoPrevent a warning saying "not enough variable arguments to fit a sentinel". But...
dooglus [Sat, 26 Jan 2008 12:37:43 +0000 (12:37 +0000)]
Prevent a warning saying "not enough variable arguments to fit a sentinel".  But why was this KeyframeTreeStore_Class class being used at all?  Looks like some unfinished work here.  I've commented it out - does that affect anything?

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

16 years agoFix the error about being unable to parse the grid_size metadata. It was previously...
dooglus [Sat, 26 Jan 2008 11:51:32 +0000 (11:51 +0000)]
Fix the error about being unable to parse the grid_size metadata.  It was previously only complaining if the grid_size wasn't specified, or was specified to be empty.

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

16 years agoDon't warn "Action CandidateList is empty!" - it happens a lot, and isn't a problem.
dooglus [Sat, 26 Jan 2008 11:46:47 +0000 (11:46 +0000)]
Don't warn "Action CandidateList is empty!" - it happens a lot, and isn't a problem.

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