synfig.git
16 years agoBe stricter on the "c[0-9]" link names accepted.
dooglus [Thu, 17 Jan 2008 15:59:10 +0000 (15:59 +0000)]
Be stricter on the "c[0-9]" link names accepted.

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

16 years agoImprove the readability of the message about 'render broken up' for large command...
dooglus [Thu, 17 Jan 2008 15:59:01 +0000 (15:59 +0000)]
Improve the readability of the message about 'render broken up' for large command-line renders.

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

16 years agoDon't show the "Starting up GUID system..." message.
dooglus [Thu, 17 Jan 2008 15:58:53 +0000 (15:58 +0000)]
Don't show the "Starting up GUID system..." message.

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

16 years agoDon't show so many info level messages.
dooglus [Thu, 17 Jan 2008 15:58:43 +0000 (15:58 +0000)]
Don't show so many info level messages.

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

16 years agoWhen loading LinkableValueNode from a .sif file, accept any of the various names...
dooglus [Thu, 17 Jan 2008 00:16:40 +0000 (00:16 +0000)]
When loading LinkableValueNode from a .sif file, accept any of the various names for the links, rather than just the one returned by link_name(int).  The specialised code for the 'composite' ValueNode needs the same doing for it still.

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

16 years agoAdd 'new', 'open' and 'quit' to the caret>file menu.
dooglus [Wed, 16 Jan 2008 21:50:21 +0000 (21:50 +0000)]
Add 'new', 'open' and 'quit' to the caret>file menu.

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

16 years agoFix 1831897: Use the 'width' of each blinepoint in the plant layer to affect the...
dooglus [Tue, 15 Jan 2008 23:30:24 +0000 (23:30 +0000)]
Fix 1831897: Use the 'width' of each blinepoint in the plant layer to affect the velocities.  Adapted from a patch by Carlos López González (genete).

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

16 years agoDon't reset the Duplicate Layer's Index parameter to its "To" value - leave it at...
dooglus [Tue, 15 Jan 2008 19:30:39 +0000 (19:30 +0000)]
Don't reset the Duplicate Layer's Index parameter to its "To" value - leave it at the last value used, so the ducks line up with the last rendered copy.

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

16 years agoLeave the Duplicate ValueNode's Index sub-parameter at the last value that is actuall...
dooglus [Tue, 15 Jan 2008 19:30:30 +0000 (19:30 +0000)]
Leave the Duplicate ValueNode's Index sub-parameter at the last value that is actually used.  For example, if it's stepping (From 0) (To 8) (Step 3), the used values will be 0, 3, and 6, and it will be left at value 6, finally, rather than 9 as before.

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

16 years agoChanges related to saving .sif files containing mnemonic attributes for Composite...
dooglus [Tue, 15 Jan 2008 14:58:17 +0000 (14:58 +0000)]
Changes related to saving .sif files containing mnemonic attributes for Composite ValueNodes.

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

16 years agoChanges related to loading .sif files containing mnemonic attributes for Composite...
dooglus [Tue, 15 Jan 2008 14:58:07 +0000 (14:58 +0000)]
Changes related to loading .sif files containing mnemonic attributes for Composite ValueNodes.

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

16 years agoWhen saving a Composite ValueNode, use mnemonic names for the sub-parameters rather...
dooglus [Tue, 15 Jan 2008 14:57:58 +0000 (14:57 +0000)]
When saving a Composite ValueNode, use mnemonic names for the sub-parameters rather than c1, c2, etc.

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

16 years agoWhen saving a Radial Composite ValueNode, use mnemonic names for the sub-parameters...
dooglus [Tue, 15 Jan 2008 14:57:50 +0000 (14:57 +0000)]
When saving a Radial Composite ValueNode, use mnemonic names for the sub-parameters rather than c0, c1, etc.

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

16 years agoRemove debugging text and unneccesary test.
dooglus [Tue, 15 Jan 2008 14:49:09 +0000 (14:49 +0000)]
Remove debugging text and unneccesary test.

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

16 years agoWhen encapsulating layers, show which layers were encapsulated in the History dialog.
dooglus [Tue, 15 Jan 2008 14:49:00 +0000 (14:49 +0000)]
When encapsulating layers, show which layers were encapsulated in the History dialog.

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

16 years agoWhen duplicating layers, show which layers were duplicated in the History dialog.
dooglus [Tue, 15 Jan 2008 14:48:50 +0000 (14:48 +0000)]
When duplicating layers, show which layers were duplicated in the History dialog.

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

16 years agoWhen splitting a tangent, show which tangent was split in the History dialog.
dooglus [Tue, 15 Jan 2008 14:48:41 +0000 (14:48 +0000)]
When splitting a tangent, show which tangent was split in the History dialog.

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

16 years agoWhen merging a tangent, show which tangent was merged in the History dialog.
dooglus [Tue, 15 Jan 2008 14:48:31 +0000 (14:48 +0000)]
When merging a tangent, show which tangent was merged in the History dialog.

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

16 years agoUse get_layer_descriptions() to format the layer list rather than including a copy...
dooglus [Tue, 15 Jan 2008 14:48:20 +0000 (14:48 +0000)]
Use get_layer_descriptions() to format the layer list rather than including a copy of the code here.

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

16 years agoUse get_layer_descriptions() to format the layer list rather than including a copy...
dooglus [Tue, 15 Jan 2008 14:48:07 +0000 (14:48 +0000)]
Use get_layer_descriptions() to format the layer list rather than including a copy of the code here.

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

16 years agoUse get_layer_descriptions() to format the layer list rather than including a copy...
dooglus [Tue, 15 Jan 2008 14:47:57 +0000 (14:47 +0000)]
Use get_layer_descriptions() to format the layer list rather than including a copy of the code here.

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

16 years agoImproved the formatting of ValueDesc descriptions for use in the History dialog.
dooglus [Tue, 15 Jan 2008 14:47:48 +0000 (14:47 +0000)]
Improved the formatting of ValueDesc descriptions for use in the History dialog.

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

16 years agoImproved the formatting of ValueNode descriptions for use in the History dialog.
dooglus [Tue, 15 Jan 2008 14:47:39 +0000 (14:47 +0000)]
Improved the formatting of ValueNode descriptions for use in the History dialog.

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

16 years agoAdded a couple of implementations of Action::Base::get_layer_descriptions() to format...
dooglus [Tue, 15 Jan 2008 14:47:28 +0000 (14:47 +0000)]
Added a couple of implementations of Action::Base::get_layer_descriptions() to format lists of layer descriptions for use in the History dialog.

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

16 years agoAdd Layer::get_param_local_name() to allow us to report the local name of layer param...
dooglus [Tue, 15 Jan 2008 14:47:17 +0000 (14:47 +0000)]
Add Layer::get_param_local_name() to allow us to report the local name of layer parameters in the History dialog.

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

16 years agoWhen the user types in the History dialog, search for any text in the 'name' column...
dooglus [Mon, 14 Jan 2008 23:02:11 +0000 (23:02 +0000)]
When the user types in the History dialog, search for any text in the 'name' column that matches the text.  Previously it was only searching for names matching at the beginning.

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

16 years agoRevert the incorrect change to this file made in r1326.
dooglus [Mon, 14 Jan 2008 22:00:02 +0000 (22:00 +0000)]
Revert the incorrect change to this file made in r1326.

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

16 years agoGet the 'Lower Layer' action to list the layer(s) that were lowered in the History...
dooglus [Mon, 14 Jan 2008 18:30:43 +0000 (18:30 +0000)]
Get the 'Lower Layer' action to list the layer(s) that were lowered in the History dialog.

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

16 years agoGet the 'Raise Layer' action to list the layer(s) that were raised in the History...
dooglus [Mon, 14 Jan 2008 18:30:32 +0000 (18:30 +0000)]
Get the 'Raise Layer' action to list the layer(s) that were raised in the History dialog.

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

16 years agoFix 1824437: studio occasionally renders the tiles in the wrong places. This was...
dooglus [Mon, 14 Jan 2008 18:01:25 +0000 (18:01 +0000)]
Fix 1824437: studio occasionally renders the tiles in the wrong places.  This was happening when the canvas was one pixel greater than an integer number of tiles wide, and low-resolution rendering (the default) was enabled.

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

16 years agoUse the TILE_SIZE defined in target_tile.h.
dooglus [Mon, 14 Jan 2008 18:01:15 +0000 (18:01 +0000)]
Use the TILE_SIZE defined in target_tile.h.

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

16 years agoUse the TARGET_SIZE defined in target_tile.h.
dooglus [Mon, 14 Jan 2008 18:01:07 +0000 (18:01 +0000)]
Use the TARGET_SIZE defined in target_tile.h.

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

16 years agoDefine the TILE size here, instead of having it in several locations.
dooglus [Mon, 14 Jan 2008 18:00:58 +0000 (18:00 +0000)]
Define the TILE size here, instead of having it in several locations.

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

16 years agoUse a mutex to prevent the two render threads (rendering the workarea and the navigat...
dooglus [Mon, 14 Jan 2008 10:28:41 +0000 (10:28 +0000)]
Use a mutex to prevent the two render threads (rendering the workarea and the navigator dialog thumbnail) trampling on each other while rendering the Duplicate layer.

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

16 years agoRevision 1355 broke the Duplicate layer. Oops!
dooglus [Mon, 14 Jan 2008 10:13:00 +0000 (10:13 +0000)]
Revision 1355 broke the Duplicate layer.  Oops!

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

16 years agoRefer the user to 'http://synfig.org/Convert#Compatibility' if we try to load a ...
dooglus [Mon, 14 Jan 2008 09:36:41 +0000 (09:36 +0000)]
Refer the user to 'synfig.org/Convert#Compatibility' if we try to load a .sif file that uses a not-yet-implemented ValueNode type, or that tries using a ValueNode with a type which it doesn't yet support.  Both of these are usually a sign that the .sif file was created with a newer version of synfig than the user has.

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

16 years agoCheck that a ValueNode is compatible with the given type before attempting to create it.
dooglus [Mon, 14 Jan 2008 09:36:32 +0000 (09:36 +0000)]
Check that a ValueNode is compatible with the given type before attempting to create it.

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

16 years agoExtend the Add and Subtract ValueNodes to work with gradients.
dooglus [Mon, 14 Jan 2008 08:49:52 +0000 (08:49 +0000)]
Extend the Add and Subtract ValueNodes to work with gradients.

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

16 years agoShow the old and new names of the ValueNode in the History dialog when renaming it.
dooglus [Mon, 14 Jan 2008 00:28:32 +0000 (00:28 +0000)]
Show the old and new names of the ValueNode in the History dialog when renaming it.

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

16 years agoMention the exported name of the ValueNode in the History dialog when unexporting it.
dooglus [Mon, 14 Jan 2008 00:28:04 +0000 (00:28 +0000)]
Mention the exported name of the ValueNode in the History dialog when unexporting it.

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

16 years agoImprove the History dialog's "Connect" entry.
dooglus [Mon, 14 Jan 2008 00:06:57 +0000 (00:06 +0000)]
Improve the History dialog's "Connect" entry.

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

16 years agoAdd Timo Paulssen (timonator) to the contributors.
pabs [Sun, 13 Jan 2008 23:39:12 +0000 (23:39 +0000)]
Add Timo Paulssen (timonator) to the contributors.

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

16 years agoImport the History dialog's display when ValueNodes are exported.
dooglus [Sun, 13 Jan 2008 22:46:44 +0000 (22:46 +0000)]
Import the History dialog's display when ValueNodes are exported.

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

16 years agoAdd an optional parameter to ValueDesc::get_description() to suppress reporting the...
dooglus [Sun, 13 Jan 2008 22:46:34 +0000 (22:46 +0000)]
Add an optional parameter to ValueDesc::get_description() to suppress reporting the exported name.

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

16 years agoImprove the 'Disconnect' message in the History dialog. Patch from Timo Paulssen...
dooglus [Sun, 13 Jan 2008 22:03:46 +0000 (22:03 +0000)]
Improve the 'Disconnect' message in the History dialog.  Patch from Timo Paulssen (timonator on IRC).

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

16 years agoBe more explicit in the History dialog about what ValueNode is being converted.
dooglus [Sun, 13 Jan 2008 16:39:08 +0000 (16:39 +0000)]
Be more explicit in the History dialog about what ValueNode is being converted.

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

16 years agoMoved the code that formats the ValueDesc description into value_desc.cpp, and call...
dooglus [Sun, 13 Jan 2008 16:33:36 +0000 (16:33 +0000)]
Moved the code that formats the ValueDesc description into value_desc.cpp, and call it there rather than having it local to this action.  Other actions will want to use it as well.

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

16 years agoAdd new file value_desc.cpp and add it to the Makefile.
dooglus [Sun, 13 Jan 2008 16:33:27 +0000 (16:33 +0000)]
Add new file value_desc.cpp and add it to the Makefile.

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

16 years agoAdd new prototype ValueDesc::get_description() for formatting a string description...
dooglus [Sun, 13 Jan 2008 16:33:17 +0000 (16:33 +0000)]
Add new prototype ValueDesc::get_description() for formatting a string description of what a particular ValueDesc represents.

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

16 years agoIn the hex HTML code text entry box of the color dialog, ignore everything other...
dooglus [Sun, 13 Jan 2008 14:35:50 +0000 (14:35 +0000)]
In the hex HTML code text entry box of the color dialog, ignore everything other than hex characters.  Previously even stray whitespace would cause it to fail.

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

16 years agoSorted and formatted. There should be no real changes.
dooglus [Sun, 13 Jan 2008 14:35:40 +0000 (14:35 +0000)]
Sorted and formatted.  There should be no real changes.

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

16 years agoWhen editing an exported valuenode, show the name it is exported as in the History...
dooglus [Sun, 13 Jan 2008 10:38:07 +0000 (10:38 +0000)]
When editing an exported valuenode, show the name it is exported as in the History dialog.

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

16 years agoImprove the entry in the History dialog made when a ValueNode is converted.
dooglus [Sun, 13 Jan 2008 10:37:49 +0000 (10:37 +0000)]
Improve the entry in the History dialog made when a ValueNode is converted.

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

16 years agoRemoved a bunch more DEBUGPOINT()s.
dooglus [Sat, 12 Jan 2008 17:49:10 +0000 (17:49 +0000)]
Removed a bunch more DEBUGPOINT()s.

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

16 years agoRemoved a DEBUGPOINT().
dooglus [Sat, 12 Jan 2008 17:48:49 +0000 (17:48 +0000)]
Removed a DEBUGPOINT().

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

16 years agoUse 'Composite' for the first time the layers under a 'Duplicate' layer is rendered...
dooglus [Sat, 12 Jan 2008 17:06:37 +0000 (17:06 +0000)]
Use 'Composite' for the first time the layers under a 'Duplicate' layer is rendered, to allow other blend methods like "Add" to be used in the Duplicate layer itself.

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

16 years agoRemoved a DEBUGPOINT().
dooglus [Sat, 12 Jan 2008 17:06:26 +0000 (17:06 +0000)]
Removed a DEBUGPOINT().

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

16 years agoRemove some DEBUGPOINT()s.
dooglus [Sat, 12 Jan 2008 17:06:17 +0000 (17:06 +0000)]
Remove some DEBUGPOINT()s.

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

16 years agoRemove some debugging printf() calls I left in accidentally in r1282.
dooglus [Sat, 12 Jan 2008 17:06:05 +0000 (17:06 +0000)]
Remove some debugging printf() calls I left in accidentally in r1282.

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

16 years agoShow a better entry in the history dialog when renaming a layer.
dooglus [Sat, 12 Jan 2008 00:54:17 +0000 (00:54 +0000)]
Show a better entry in the history dialog when renaming a layer.

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

16 years agoWhen optimize_layers() recreates Paste Canvas layers, it needs to make sure it copies...
dooglus [Fri, 11 Jan 2008 15:05:50 +0000 (15:05 +0000)]
When optimize_layers() recreates Paste Canvas layers, it needs to make sure it copies dynamic parameters if the Paste Canvas layer is being duplicated by a Duplicate layer.

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

16 years agoRearranged a bit, like for the Add ValueNode in r1299. Use type checking for the...
dooglus [Fri, 11 Jan 2008 10:43:49 +0000 (10:43 +0000)]
Rearranged a bit, like for the Add ValueNode in r1299.  Use type checking for the sub-parameters.

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

16 years agoAdd my copyright.
dooglus [Fri, 11 Jan 2008 10:43:37 +0000 (10:43 +0000)]
Add my copyright.

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

16 years agoUse Layer::get_non_empty_description() instead of checking whether the description...
dooglus [Fri, 11 Jan 2008 10:11:39 +0000 (10:11 +0000)]
Use Layer::get_non_empty_description() instead of checking whether the description is empty in various places.

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

16 years agoAdd type checking for the Random ValueNode too.
dooglus [Fri, 11 Jan 2008 09:46:03 +0000 (09:46 +0000)]
Add type checking for the Random ValueNode too.

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

16 years agoAdd type checking to almost all the linkable ValueNodes.
dooglus [Fri, 11 Jan 2008 09:43:34 +0000 (09:43 +0000)]
Add type checking to almost all the linkable ValueNodes.

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

16 years agoUse the new Layer::get_non_empty_description() method to show the description (or...
dooglus [Fri, 11 Jan 2008 09:43:21 +0000 (09:43 +0000)]
Use the new Layer::get_non_empty_description() method to show the description (or local name if empty) of the moved layer in the history dialog.

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

16 years agoDefine Layer::get_non_empty_description() which returns the layer's description if...
dooglus [Fri, 11 Jan 2008 09:43:10 +0000 (09:43 +0000)]
Define Layer::get_non_empty_description() which returns the layer's description if non-empty, else its generic local name.  This test was (and still is, currently) reproduced in several places.

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

16 years agoSmall text change.
dooglus [Fri, 11 Jan 2008 03:10:13 +0000 (03:10 +0000)]
Small text change.

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

16 years agoList the removed layers in the history dialog when removing layers.
dooglus [Fri, 11 Jan 2008 02:52:11 +0000 (02:52 +0000)]
List the removed layers in the history dialog when removing layers.

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

16 years agoShow the 'active' and 'deactivate' messages with the layer name in quotes in the...
dooglus [Fri, 11 Jan 2008 02:51:58 +0000 (02:51 +0000)]
Show the 'active' and 'deactivate' messages with the layer name in quotes in the history dialog.

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

16 years agoShow the layer name in the history dialog when adding a new layer from the 'new layer...
dooglus [Thu, 10 Jan 2008 23:22:51 +0000 (23:22 +0000)]
Show the layer name in the history dialog when adding a new layer from the 'new layer' menu.

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

16 years agoTidied up the appearance of the action local name as it appears in the history dialog.
dooglus [Thu, 10 Jan 2008 23:22:28 +0000 (23:22 +0000)]
Tidied up the appearance of the action local name as it appears in the history dialog.

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

16 years agoMade a new ACTION_INIT_NO_GET_LOCAL_NAME macro for actions which want to define their...
dooglus [Thu, 10 Jan 2008 23:22:11 +0000 (23:22 +0000)]
Made a new ACTION_INIT_NO_GET_LOCAL_NAME macro for actions which want to define their own (changable) local names.

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

16 years agoBreak the ValueNode 'bad type' error messages up so less translation needs doing.
dooglus [Thu, 10 Jan 2008 22:17:55 +0000 (22:17 +0000)]
Break the ValueNode 'bad type' error messages up so less translation needs doing.

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

16 years agoMake the assert()s here look like the assert()s in all the other ValueNode definitions.
dooglus [Thu, 10 Jan 2008 19:02:09 +0000 (19:02 +0000)]
Make the assert()s here look like the assert()s in all the other ValueNode definitions.

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

16 years agoUse translated versions of the type names everywhere other than in the .sif(z) files.
dooglus [Thu, 10 Jan 2008 18:57:13 +0000 (18:57 +0000)]
Use translated versions of the type names everywhere other than in the .sif(z) files.

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

16 years agoUse the translated version of the type name in the parameter dialog.
dooglus [Thu, 10 Jan 2008 16:08:44 +0000 (16:08 +0000)]
Use the translated version of the type name in the parameter dialog.

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

16 years agoPrototype to go with the last commit!
dooglus [Thu, 10 Jan 2008 16:08:36 +0000 (16:08 +0000)]
Prototype to go with the last commit!

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

16 years agoNew static member ValueBase::type_local_name() to allow translation of type names.
dooglus [Thu, 10 Jan 2008 16:08:25 +0000 (16:08 +0000)]
New static member ValueBase::type_local_name() to allow translation of type names.

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

16 years agoReturn the translation of the local layer name, rather than always using the English...
dooglus [Thu, 10 Jan 2008 14:18:14 +0000 (14:18 +0000)]
Return the translation of the local layer name, rather than always using the English version.

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

16 years agoDefine ValueBase::set() for type 'char *' as well as for 'const char *'.
dooglus [Thu, 10 Jan 2008 14:18:04 +0000 (14:18 +0000)]
Define ValueBase::set() for type 'char *' as well as for 'const char *'.

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

16 years agoAdded the icon for type Time to the code. Sorted the INIT_STOCK_ICON lines for the...
dooglus [Thu, 10 Jan 2008 14:17:56 +0000 (14:17 +0000)]
Added the icon for type Time to the code. Sorted the INIT_STOCK_ICON lines for the types.

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

16 years agoSorted the cases in studio::value_icon() into the same order as the types appear...
dooglus [Thu, 10 Jan 2008 14:17:47 +0000 (14:17 +0000)]
Sorted the cases in studio::value_icon() into the same order as the types appear in value.h.

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

16 years agoAdd my copyright notice, since I seem to have forgot it.
pabs [Thu, 10 Jan 2008 14:05:26 +0000 (14:05 +0000)]
Add my copyright notice, since I seem to have forgot it.

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

16 years agoAdd a new artists section to AUTHORS and add pxegeek there and move genete there
pabs [Thu, 10 Jan 2008 14:05:15 +0000 (14:05 +0000)]
Add a new artists section to AUTHORS and add pxegeek there and move genete there

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

16 years agoMention genete in the README and AUTHORS after we added his time icon.
pabs [Thu, 10 Jan 2008 13:57:58 +0000 (13:57 +0000)]
Mention genete in the README and AUTHORS after we added his time icon.

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

16 years agoRemoved a debugging printf().
dooglus [Thu, 10 Jan 2008 13:44:29 +0000 (13:44 +0000)]
Removed a debugging printf().

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

16 years agoAdd genete's new time icon.
dooglus [Thu, 10 Jan 2008 13:44:20 +0000 (13:44 +0000)]
Add genete's new time icon.

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

16 years agoMade all the assert() lines which check the valuenode sub-parameter index range the...
dooglus [Thu, 10 Jan 2008 13:43:43 +0000 (13:43 +0000)]
Made all the assert() lines which check the valuenode sub-parameter index range the same.

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

16 years agoFix bug that prevented the translations of actions showing up in the history dialog.
pabs [Thu, 10 Jan 2008 11:54:25 +0000 (11:54 +0000)]
Fix bug that prevented the translations of actions showing up in the history dialog.

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

16 years agoMark some more strings for translation (thanks to genete)
pabs [Thu, 10 Jan 2008 11:30:44 +0000 (11:30 +0000)]
Mark some more strings for translation (thanks to genete)

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

16 years agoRearranged a bit. Use the new macro in valuenode.h introduced in the previous commit...
dooglus [Wed, 9 Jan 2008 13:09:29 +0000 (13:09 +0000)]
Rearranged a bit. Use the new macro in valuenode.h introduced in the previous commit. I'll make the same change to the other valuenodes next.

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

16 years agoAdd a macro to check the type of value before using it. This will be used by each...
dooglus [Wed, 9 Jan 2008 13:09:19 +0000 (13:09 +0000)]
Add a macro to check the type of value before using it. This will be used by each of the ValueNode classes.

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

16 years agoAdd a static same_type_as() member function so we can compare types even when we...
dooglus [Wed, 9 Jan 2008 13:09:09 +0000 (13:09 +0000)]
Add a static same_type_as() member function so we can compare types even when we don't have an instance of the ValueBase class.

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

16 years agoMark some more strings for translation
pabs [Wed, 9 Jan 2008 00:40:33 +0000 (00:40 +0000)]
Mark some more strings for translation

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

16 years agoAdd Español translation by Carlos López González (genete)
pabs [Tue, 8 Jan 2008 23:30:38 +0000 (23:30 +0000)]
Add Español translation by Carlos López González (genete)

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

16 years agoEspañol translation update from Carlos López González (Genete)
pabs [Tue, 8 Jan 2008 10:12:19 +0000 (10:12 +0000)]
Español translation update from Carlos López González (Genete)

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

16 years agoFix 1866422: the polygon tool was broken by r1230. This fixes it.
dooglus [Tue, 8 Jan 2008 08:56:36 +0000 (08:56 +0000)]
Fix 1866422: the polygon tool was broken by r1230.  This fixes it.

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

16 years agoBy default, set "Use current frame" in the render dialog to off.
pabs [Tue, 8 Jan 2008 07:07:44 +0000 (07:07 +0000)]
By default, set "Use current frame" in the render dialog to off.

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