synfig.git
16 years agoAdd a missing closing bracket.
dooglus [Tue, 19 Feb 2008 21:02:56 +0000 (21:02 +0000)]
Add a missing closing bracket.

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

16 years agoCommented a couple more state change notifications.
dooglus [Tue, 19 Feb 2008 18:53:22 +0000 (18:53 +0000)]
Commented a couple more state change notifications.

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

16 years agoMade the rotation counter quieter still - it only starts reporting the rotation count...
dooglus [Tue, 19 Feb 2008 18:53:11 +0000 (18:53 +0000)]
Made the rotation counter quieter still - it only starts reporting the rotation count once it reaches 1 (or -1), so it's possible to draw a regular bline without seeing output.

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

16 years agoRemove more console output.
dooglus [Tue, 19 Feb 2008 18:52:58 +0000 (18:52 +0000)]
Remove more console output.

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

16 years agoMade ValueNode_BLine::create_list_entry quieter.
dooglus [Tue, 19 Feb 2008 18:52:47 +0000 (18:52 +0000)]
Made ValueNode_BLine::create_list_entry quieter.

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

16 years agoMake the "stroke" state used by the draw tool quieter too.
dooglus [Tue, 19 Feb 2008 18:52:36 +0000 (18:52 +0000)]
Make the "stroke" state used by the draw tool quieter too.

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

16 years agoMake the draw tool quieter.
dooglus [Tue, 19 Feb 2008 18:52:23 +0000 (18:52 +0000)]
Make the draw tool quieter.

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

16 years agoRemoved debugging printf().
dooglus [Tue, 19 Feb 2008 18:52:11 +0000 (18:52 +0000)]
Removed debugging printf().

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

16 years agoBe quieter about tangent rotation - only report half turns, not quarter turns.
dooglus [Tue, 19 Feb 2008 18:52:00 +0000 (18:52 +0000)]
Be quieter about tangent rotation - only report half turns, not quarter turns.

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

16 years agoUse ValueNode_DynamicList::set_member_canvas() to set the canvas for each blinepoint...
dooglus [Tue, 19 Feb 2008 18:51:46 +0000 (18:51 +0000)]
Use ValueNode_DynamicList::set_member_canvas() to set the canvas for each blinepoint in shapes with blines added via the "New Layer" menu.

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

16 years agoUse ValueNode_DynamicList::set_member_canvas() to set the canvas for each blinepoint...
dooglus [Tue, 19 Feb 2008 18:51:35 +0000 (18:51 +0000)]
Use ValueNode_DynamicList::set_member_canvas() to set the canvas for each blinepoint in newly drawn shapes.

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

16 years agoUse ValueNode_DynamicList::set_member_canvas() to set the canvas for each blinepoint...
dooglus [Tue, 19 Feb 2008 18:51:23 +0000 (18:51 +0000)]
Use ValueNode_DynamicList::set_member_canvas() to set the canvas for each blinepoint in newly drawn shapes.

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

16 years agoNew member ValueNode_DynamicList::set_member_canvas() for setting the canvas in each...
dooglus [Tue, 19 Feb 2008 18:51:09 +0000 (18:51 +0000)]
New member ValueNode_DynamicList::set_member_canvas() for setting the canvas in each member of a dynamic list.

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

16 years agoRemoved a few debugging printf()s.
dooglus [Tue, 19 Feb 2008 15:34:43 +0000 (15:34 +0000)]
Removed a few debugging printf()s.

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

16 years agoThe "warning: Can't get canvas from value desc...?" message was being shown too often...
dooglus [Tue, 19 Feb 2008 15:34:31 +0000 (15:34 +0000)]
The "warning: Can't get canvas from value desc...?" message was being shown too often.  Fixed it.

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

16 years agoPrevent a warning "Gtk-CRITICAL **: gtk_action_set_action_group: assertion `action_gr...
dooglus [Tue, 19 Feb 2008 15:34:20 +0000 (15:34 +0000)]
Prevent a warning "Gtk-CRITICAL **: gtk_action_set_action_group: assertion `action_group == NULL' failed" caused by adding an action to more than one group.

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

16 years agoFix 1896834: Keep the 'show grid' and 'snap to grid' checkboxes in the caret menu...
dooglus [Tue, 19 Feb 2008 15:34:02 +0000 (15:34 +0000)]
Fix 1896834: Keep the 'show grid' and 'snap to grid' checkboxes in the caret menu up to date.

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

16 years agoRemoved unused code. The duck toggle actions look after themselves.
dooglus [Tue, 19 Feb 2008 15:33:45 +0000 (15:33 +0000)]
Removed unused code.  The duck toggle actions look after themselves.

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

16 years agoShow the 'select all child layers' icon in the layers panel all the time, rather...
dooglus [Tue, 19 Feb 2008 10:31:20 +0000 (10:31 +0000)]
Show the 'select all child layers' icon in the layers panel all the time, rather than adding and removing it.

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

16 years agoApply 1896518: New icon for 'select all child layers' from genete.
dooglus [Tue, 19 Feb 2008 08:57:33 +0000 (08:57 +0000)]
Apply 1896518: New icon for 'select all child layers' from genete.

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

16 years agoFix 1896557. Allow a subcanvas to be used multiple times at different time offsets.
dooglus [Tue, 19 Feb 2008 00:52:56 +0000 (00:52 +0000)]
Fix 1896557.  Allow a subcanvas to be used multiple times at different time offsets.

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

16 years agoUse "#define XXX" not "#define XXX 1" for flags we're going to test with "#ifdef...
dooglus [Tue, 19 Feb 2008 00:52:41 +0000 (00:52 +0000)]
Use "#define XXX" not "#define XXX 1" for flags we're going to test with "#ifdef", or I get tricked into thinking that changing the "1" to a "0" will disable the feature.

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

16 years agoAdded a new icon to the History panel to clear out all the undo and redo history...
dooglus [Mon, 18 Feb 2008 19:01:54 +0000 (19:01 +0000)]
Added a new icon to the History panel to clear out all the undo and redo history at once.

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

16 years agor1747 left the green duck feature disabled. This enables it.
dooglus [Mon, 18 Feb 2008 18:16:01 +0000 (18:16 +0000)]
r1747 left the green duck feature disabled.  This enables it.

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

16 years agoA previous commit made curr_row public, but it isn't used.
dooglus [Mon, 18 Feb 2008 18:15:49 +0000 (18:15 +0000)]
A previous commit made curr_row public, but it isn't used.

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

16 years agoCommented the Duck::Type enum.
dooglus [Mon, 18 Feb 2008 18:15:38 +0000 (18:15 +0000)]
Commented the Duck::Type enum.

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

16 years agoThe bline tool was sometimes showing the first duck in the new bline as green once...
dooglus [Mon, 18 Feb 2008 18:08:11 +0000 (18:08 +0000)]
The bline tool was sometimes showing the first duck in the new bline as green once the line was looped.  This change makes it always do that.

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

16 years agoScroll the History panel to keep the border between 'done' and 'undone' in the centre...
dooglus [Mon, 18 Feb 2008 16:34:11 +0000 (16:34 +0000)]
Scroll the History panel to keep the border between 'done' and 'undone' in the centre of the panel if possible.  Also, select the most recently 'done' action, if any.

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

16 years agoPrevent warning: "Gtk-CRITICAL **: gtk_tree_view_column_cell_layout_pack_start: asser...
dooglus [Mon, 18 Feb 2008 11:22:13 +0000 (11:22 +0000)]
Prevent warning: "Gtk-CRITICAL **: gtk_tree_view_column_cell_layout_pack_start: assertion `! gtk_tree_view_column_get_cell_info (column, cell)' failed".

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

16 years agoFix capitalization.
dooglus [Mon, 18 Feb 2008 00:29:47 +0000 (00:29 +0000)]
Fix capitalization.

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

16 years agoAdd a tooltip for the 'keyframe properties' icon.
dooglus [Mon, 18 Feb 2008 00:29:35 +0000 (00:29 +0000)]
Add a tooltip for the 'keyframe properties' icon.

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

16 years agoNew simplified version from genete.
dooglus [Sun, 17 Feb 2008 22:11:26 +0000 (22:11 +0000)]
New simplified version from genete.

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

16 years agoConvert static lists entirely consisting of blinepoints into 'bline' valuenodes,...
dooglus [Sun, 17 Feb 2008 20:43:03 +0000 (20:43 +0000)]
Convert static lists entirely consisting of blinepoints into 'bline' valuenodes, not 'dynamic_list' valuenodes.  This will allow outlines, plants, etc. to be directly editable as soon as they're created from the 'new layer' menu.

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

16 years agoAdd a few comments.
dooglus [Sun, 17 Feb 2008 20:42:53 +0000 (20:42 +0000)]
Add a few comments.

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

16 years ago"Select All Ducks" only selects ducks which are "group selectable" but it used to...
dooglus [Sun, 17 Feb 2008 20:42:39 +0000 (20:42 +0000)]
"Select All Ducks" only selects ducks which are "group selectable" but it used to leave other ducks selected if they were already selected.  Now it doesn't.

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

16 years agoMirrored encapsulate icon left-right. Thanks genete.
dooglus [Sun, 17 Feb 2008 20:42:28 +0000 (20:42 +0000)]
Mirrored encapsulate icon left-right.  Thanks genete.

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

16 years agoLink to a few wiki pages directly from the Help menu.
dooglus [Sun, 17 Feb 2008 16:46:58 +0000 (16:46 +0000)]
Link to a few wiki pages directly from the Help menu.

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

16 years agoFix 1895440: Converted vertex sometimes can't be converted back.
dooglus [Sun, 17 Feb 2008 15:29:44 +0000 (15:29 +0000)]
Fix 1895440: Converted vertex sometimes can't be converted back.

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

16 years agoFix 1895378: Converted Bline Vertex not marked with red square.
dooglus [Sun, 17 Feb 2008 15:29:31 +0000 (15:29 +0000)]
Fix 1895378: Converted Bline Vertex not marked with red square.

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

16 years agoDon't show the keyboard shortcut underscores in the Params panel's value column.
dooglus [Sun, 17 Feb 2008 13:01:34 +0000 (13:01 +0000)]
Don't show the keyboard shortcut underscores in the Params panel's value column.

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

16 years agoAdd keyboard shortcuts to the blend method menus. Needs more work, because now the...
dooglus [Sun, 17 Feb 2008 12:36:39 +0000 (12:36 +0000)]
Add keyboard shortcuts to the blend method menus.  Needs more work, because now the Params panel shows underscores where the shortcut letters are...

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

16 years agoFix capitalization and allow keyboard shortcuts to select default interpolation method.
dooglus [Sun, 17 Feb 2008 12:18:42 +0000 (12:18 +0000)]
Fix capitalization and allow keyboard shortcuts to select default interpolation method.

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

16 years agoFix capitalization.
dooglus [Sun, 17 Feb 2008 12:13:08 +0000 (12:13 +0000)]
Fix capitalization.

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

16 years agoAdd an icon to show the Setup dialog.
dooglus [Sun, 17 Feb 2008 12:12:55 +0000 (12:12 +0000)]
Add an icon to show the Setup dialog.

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

16 years agoFix the "toolbox > file > save all" menu entry.
dooglus [Sun, 17 Feb 2008 11:46:54 +0000 (11:46 +0000)]
Fix the "toolbox > file > save all" menu entry.

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

16 years agoAdd 'help' icon to the toolbox.
dooglus [Sun, 17 Feb 2008 11:46:42 +0000 (11:46 +0000)]
Add 'help' icon to the toolbox.

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

16 years agoAdd an option "Browser Command" to allow the user to specify which web browser to...
dooglus [Sun, 17 Feb 2008 11:46:26 +0000 (11:46 +0000)]
Add an option "Browser Command" to allow the user to specify which web browser to use to view the help.

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

16 years agoBasic support for opening URLs. Not tested on Windows yet. Uses glib's g_spawn_asyn...
dooglus [Sun, 17 Feb 2008 11:46:10 +0000 (11:46 +0000)]
Basic support for opening URLs.  Not tested on Windows yet.  Uses glib's g_spawn_async() rather than glibmm's spawn_async() because it allows us to pass NULL for the environmrnt and inherit the parent's environment.

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

16 years agoSeems we need to initialise 'before' and 'after' to keep the compiler happy now,...
dooglus [Sun, 17 Feb 2008 09:07:26 +0000 (09:07 +0000)]
Seems we need to initialise 'before' and 'after' to keep the compiler happy now, too.

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

16 years agoRemove the unused 'side' parameter from a bunch more signals and methods.
dooglus [Sun, 17 Feb 2008 09:06:45 +0000 (09:06 +0000)]
Remove the unused 'side' parameter from a bunch more signals and methods.

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

16 years agoFor the help menu item, show an information dialog with a link to the documentation...
pabs [Sun, 17 Feb 2008 05:46:22 +0000 (05:46 +0000)]
For the help menu item, show an information dialog with a link to the documentation page on the website.

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

16 years agoOops. The last commit contained a typo, breaking the build. This fixes it.
dooglus [Sun, 17 Feb 2008 01:21:48 +0000 (01:21 +0000)]
Oops.  The last commit contained a typo, breaking the build.  This fixes it.

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

16 years agoUncommented the code that puts a timetrack column in the params dialog. To get rid...
dooglus [Sun, 17 Feb 2008 01:08:12 +0000 (01:08 +0000)]
Uncommented the code that puts a timetrack column in the params dialog.  To get rid of it again either comment out the "#define TIMETRACK_IN_PARAMS_PANEL" in gtkmm/layertree.h or "export SYNFIG_DEBUG_DESTRUCTORS=1" at runtime.

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

16 years agoFixed the display of the tangents and the dotted bezier curve when bline vertices...
dooglus [Sat, 16 Feb 2008 23:07:03 +0000 (23:07 +0000)]
Fixed the display of the tangents and the dotted bezier curve when bline vertices are converted to 'reverse tangent'.

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

16 years agoTidied up and reformatted a bit. No real changes.
dooglus [Sat, 16 Feb 2008 23:06:50 +0000 (23:06 +0000)]
Tidied up and reformatted a bit.  No real changes.

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

16 years agoFix 1894998: Converting the first vertex of a looped bline was causing a crash. ...
dooglus [Sat, 16 Feb 2008 18:59:46 +0000 (18:59 +0000)]
Fix 1894998: Converting the first vertex of a looped bline was causing a crash.  Thanks to Konstantin Dmitriev for the bug report.

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

16 years agoGet the waypoints in the Children panel's timetrack to respond to mouse events.
dooglus [Sat, 16 Feb 2008 14:16:44 +0000 (14:16 +0000)]
Get the waypoints in the Children panel's timetrack to respond to mouse events.

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

16 years agoReformatted a little.
dooglus [Sat, 16 Feb 2008 14:16:33 +0000 (14:16 +0000)]
Reformatted a little.

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

16 years agoNow that it doesn't matter which half of a waypoint you click on, we don't need to...
dooglus [Sat, 16 Feb 2008 11:18:00 +0000 (11:18 +0000)]
Now that it doesn't matter which half of a waypoint you click on, we don't need to be passing the 'side' information around.

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

16 years agoReorder the waypoint menus.
dooglus [Sat, 16 Feb 2008 11:17:47 +0000 (11:17 +0000)]
Reorder the waypoint menus.

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

16 years agoRename the menu entry for editing a waypoint back to "Edit" now that the 'E' shortcut...
dooglus [Sat, 16 Feb 2008 11:17:34 +0000 (11:17 +0000)]
Rename the menu entry for editing a waypoint back to "Edit" now that the 'E' shortcut is free again.  "Properties" isn't even a verb.

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

16 years agoTidy up the waypoint menu, while adding functionality. Now there are 3 sub-menus...
dooglus [Sat, 16 Feb 2008 11:17:15 +0000 (11:17 +0000)]
Tidy up the waypoint menu, while adding functionality.  Now there are 3 sub-menus, for setting just the 'In' interpolation, just the 'Out', or 'Both'.  Each has 4 entries for the 4 types of interpolation.  This has the benefit of making the keyboard shortcuts easy to remember.  To set the 'In' interpolation to Constant, type "IC", and so on.

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

16 years agoFix 1894723: export the Index parameter of all Duplicate layers when copy/pasting...
dooglus [Sat, 16 Feb 2008 04:56:38 +0000 (04:56 +0000)]
Fix 1894723: export the Index parameter of all Duplicate layers when copy/pasting or duplicating existing Duplicate layers, even if they are nested inside encapsulation layers.

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

16 years agoRemove debugging code.
dooglus [Sat, 16 Feb 2008 04:56:24 +0000 (04:56 +0000)]
Remove debugging code.

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

16 years agoTidying.
dooglus [Sat, 16 Feb 2008 04:56:12 +0000 (04:56 +0000)]
Tidying.

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

16 years agoRemoved some old debug code that was left in accidentally.
dooglus [Sat, 16 Feb 2008 04:56:00 +0000 (04:56 +0000)]
Removed some old debug code that was left in accidentally.

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

16 years agoAllow the 1st argument of LinkableValueNode::get_description() to default to -1,...
dooglus [Sat, 16 Feb 2008 04:55:48 +0000 (04:55 +0000)]
Allow the 1st argument of LinkableValueNode::get_description() to default to -1, meaning "no specific link".

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

16 years agoPrevent a warning from g++ 4.3.
dooglus [Sat, 16 Feb 2008 04:55:33 +0000 (04:55 +0000)]
Prevent a warning from g++ 4.3.

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

16 years agoTypo.
dooglus [Sat, 16 Feb 2008 04:55:18 +0000 (04:55 +0000)]
Typo.

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

16 years agoInclude tooltip on the 'show all child layers' toolbar button.
dooglus [Fri, 15 Feb 2008 22:20:19 +0000 (22:20 +0000)]
Include tooltip on the 'show all child layers' toolbar button.

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

16 years agoAdd a 'show all child layers' button to the layer dialog when a single pastecanvas...
dooglus [Fri, 15 Feb 2008 22:20:03 +0000 (22:20 +0000)]
Add a 'show all child layers' button to the layer dialog when a single pastecanvas layer is selected.  Please, someone, contribute an icon for this to the patch tracker.

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

16 years agoComment out a few unused functions.
dooglus [Fri, 15 Feb 2008 17:50:33 +0000 (17:50 +0000)]
Comment out a few unused functions.

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

16 years agoApply 1894520: A better encapsulate icon from genete.
dooglus [Fri, 15 Feb 2008 16:14:03 +0000 (16:14 +0000)]
Apply 1894520: A better encapsulate icon from genete.

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

16 years agoAdd an "encapsulate" button to the layer dialog. Can someone design a better icon...
dooglus [Fri, 15 Feb 2008 14:39:59 +0000 (14:39 +0000)]
Add an "encapsulate" button to the layer dialog.  Can someone design a better icon for it please?

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

16 years agoThe plant layer has used the "width" parameter of the vertices in its bline, but...
dooglus [Fri, 15 Feb 2008 13:56:05 +0000 (13:56 +0000)]
The plant layer has used the "width" parameter of the vertices in its bline, but hasn't shown its width ducks until now.

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

16 years agoIf a layer has the "width" hint set, but has no "width" parameter, scale the width...
dooglus [Fri, 15 Feb 2008 13:55:52 +0000 (13:55 +0000)]
If a layer has the "width" hint set, but has no "width" parameter, scale the width ducks by 0.5.

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

16 years agoParamDesc::set_scalar(String) and ParamDesc::set_hint(String) were identical. Got...
dooglus [Fri, 15 Feb 2008 13:55:34 +0000 (13:55 +0000)]
ParamDesc::set_scalar(String) and ParamDesc::set_hint(String) were identical.  Got rid of set_scalar(String) and use set_hint() instead everywhere.

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

16 years agoShow width ducks for exported blines.
dooglus [Fri, 15 Feb 2008 13:55:18 +0000 (13:55 +0000)]
Show width ducks for exported blines.

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

16 years agoAdd SVN revision number for the new convert type. Reformat a little.
dooglus [Thu, 14 Feb 2008 17:04:52 +0000 (17:04 +0000)]
Add SVN revision number for the new convert type.  Reformat a little.

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

16 years agoAdd a new valuenode 'Bline Width' for finding the width of a bline at an arbitrary...
dooglus [Thu, 14 Feb 2008 16:58:23 +0000 (16:58 +0000)]
Add a new valuenode 'Bline Width' for finding the width of a bline at an arbitrary point along the curve.

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

16 years agoAnother change to the Step valuenode. Renamed some parameters and added a new one...
dooglus [Thu, 14 Feb 2008 15:42:48 +0000 (15:42 +0000)]
Another change to the Step valuenode.  Renamed some parameters and added a new one, "Intersection", to allow the steps' values to be determined by the value of "Link" anywhere along the step from the left (Intersection = 0.0) to the right (intersection = 1.0).

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

16 years agoChange the Step valuenode so it can produce any stepped shape, rather than just linea...
dooglus [Thu, 14 Feb 2008 14:25:16 +0000 (14:25 +0000)]
Change the Step valuenode so it can produce any stepped shape, rather than just linear steps.  It now takes an input value "Link", along with a step "Width" and an "Offset" which specifies the start time of one of the steps.

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

16 years agoAdd new valuenode type "Step" to allow values to have a linear stepped value. The...
dooglus [Thu, 14 Feb 2008 13:00:22 +0000 (13:00 +0000)]
Add new valuenode type "Step" to allow values to have a linear stepped value.  The value is "value" at "time", and increases by "height" every "width" seconds.

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

16 years agoAllow boolean values to be converted to Random. The link's value (0 or 1) has a...
dooglus [Thu, 14 Feb 2008 09:31:11 +0000 (09:31 +0000)]
Allow boolean values to be converted to Random.  The link's value (0 or 1) has a random value between -radius and radius added to it.  If the result <0.5, it's false, else it's true.  So with 'link=true' and 'radius=1', the result will be between 0 and 2, which is true about 75% of the time.  So get a 50:50 split, use a radius of a million.

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

16 years agoIn the draw tool, if the user draws a very quick stroke (such that 6 or less points...
dooglus [Wed, 13 Feb 2008 11:53:12 +0000 (11:53 +0000)]
In the draw tool, if the user draws a very quick stroke (such that 6 or less points are collected) the stroke isn't used.  Previously, the stroke was left as a thin line in the workarea until a longer stroke was completed successfully.  This was probably a bug rather than a feature, but could possible have been intended, as a strange and temporary alternative to the sketch tool.  This change clears each stroke whether it is long enough to be used or not.  To restore the previous behaviour, set environment variable SYNFIG_KEEP_ABORTED_DRAW_LINES.

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

16 years agoTidying.
dooglus [Wed, 13 Feb 2008 11:52:59 +0000 (11:52 +0000)]
Tidying.

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

16 years agoTidying.
dooglus [Wed, 13 Feb 2008 11:52:47 +0000 (11:52 +0000)]
Tidying.

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

16 years agoTidying. Trying to understand the code, and tidying it up a little as I do so. ...
dooglus [Wed, 13 Feb 2008 01:58:31 +0000 (01:58 +0000)]
Tidying.  Trying to understand the code, and tidying it up a little as I do so.  No real changes yet.

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

16 years agoReplace #warnings with doxygen \\!todo.
dooglus [Wed, 13 Feb 2008 01:58:21 +0000 (01:58 +0000)]
Replace #warnings with doxygen \\!todo.

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

16 years agoWrite "operator()" instead of "operator ()", "operator&" instead of "operator &"...
dooglus [Wed, 13 Feb 2008 01:57:55 +0000 (01:57 +0000)]
Write "operator()" instead of "operator ()", "operator&" instead of "operator &", etc., to make them easier to search for.  Previously both forms were used.

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

16 years agoTypo.
dooglus [Wed, 13 Feb 2008 01:57:40 +0000 (01:57 +0000)]
Typo.

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

16 years agoLeave previously selected layers selected when drawing new lines - their ducks are...
dooglus [Tue, 12 Feb 2008 09:44:50 +0000 (09:44 +0000)]
Leave previously selected layers selected when drawing new lines - their ducks are useful for attaching new lines onto.

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

16 years agoClicking a grey (not editable) duck which didn't lie over the layer it was connected...
dooglus [Tue, 12 Feb 2008 07:29:05 +0000 (07:29 +0000)]
Clicking a grey (not editable) duck which didn't lie over the layer it was connected to was causing the layer to be unselected.  For example, the outside-half of a circle's radius duck, or a tangent duck on a thin outline.  This patch from Gerald Young <supersayoyin@hotmail.com> fixes it.

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

16 years agoGerald Young (Yoyobuae) contributed r1677, add him to the about dialog.
pabs [Tue, 12 Feb 2008 01:52:51 +0000 (01:52 +0000)]
Gerald Young (Yoyobuae) contributed r1677, add him to the about dialog.

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

16 years agoSVN r1677 partially broke the bline tool by making non-editable ducks selectable...
dooglus [Mon, 11 Feb 2008 23:12:04 +0000 (23:12 +0000)]
SVN r1677 partially broke the bline tool by making non-editable ducks selectable.  The bline tool uses a non-editable duck under the mouse cursor to cause the dotted bline to be displayed as the mouse is moved.  Added a new boolean to the Duck class "ignore_" for whether to ignore a duck when checking for user interaction, and set that boolean for this duck created by the bline tool.

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

16 years agoFix 1891491: Only show bline vertices large when the mouse is really hovering over...
dooglus [Mon, 11 Feb 2008 21:54:07 +0000 (21:54 +0000)]
Fix 1891491: Only show bline vertices large when the mouse is really hovering over them.

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

16 years agoFix 1891410: Have neither Control-A nor dragging a box around ducks select non-editab...
dooglus [Mon, 11 Feb 2008 21:18:07 +0000 (21:18 +0000)]
Fix 1891410: Have neither Control-A nor dragging a box around ducks select non-editable ducks, and have clicking individual ducks select them (with or without Control being held).  Patch from Gerald Young <supersayoyin@hotmail.com>.

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

16 years agoFix 1891391: Inserting a vertex in the closing link of a looped bline while still...
dooglus [Mon, 11 Feb 2008 20:22:42 +0000 (20:22 +0000)]
Fix 1891391: Inserting a vertex in the closing link of a looped bline while still in the bline tool was putting the new vertex in the wrong place.

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

16 years agoFix 1891403: Copy an inline canvas' RendDesc when cloning it.
dooglus [Mon, 11 Feb 2008 19:45:28 +0000 (19:45 +0000)]
Fix 1891403: Copy an inline canvas' RendDesc when cloning it.

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

16 years agoUse the signal_waypoint_clicked_cellrenderer() accessor rather than the signal_waypoi...
dooglus [Mon, 11 Feb 2008 19:45:17 +0000 (19:45 +0000)]
Use the signal_waypoint_clicked_cellrenderer() accessor rather than the signal_waypoint_clicked_cellrenderer_ member.

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