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

16 years agoDisable the "Adjust: connecting to child signals" message.
dooglus [Sat, 26 Jan 2008 11:46:04 +0000 (11:46 +0000)]
Disable the "Adjust: connecting to child signals" message.

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

16 years agoDisable the "Entered Normal State" message.
dooglus [Sat, 26 Jan 2008 11:44:39 +0000 (11:44 +0000)]
Disable the "Entered Normal State" message.

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

16 years agoDisable profiler in childrentreestore.cpp.
dooglus [Sat, 26 Jan 2008 11:43:44 +0000 (11:43 +0000)]
Disable profiler in childrentreestore.cpp.

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

16 years agoRemove the -fpermissive flag - we no longer need it.
dooglus [Sat, 26 Jan 2008 11:06:38 +0000 (11:06 +0000)]
Remove the -fpermissive flag - we no longer need it.

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

16 years agoPrevent warning from g++ 4.3: [ETL/_smach.h:171] declaration of 'typedef class etl...
dooglus [Sat, 26 Jan 2008 10:49:39 +0000 (10:49 +0000)]
Prevent warning from g++ 4.3: [ETL/_smach.h:171] declaration of 'typedef class etl::smach<CON, K, M>::event_def<T> etl::smach<CON, K, M>::state<T>::event_def' [ETL/_smach.h:102] changes meaning of 'event_def' from 'class etl::smach<CON, K, M>::event_def<T>'.

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

16 years agoPrevent lots of warnings like [_surface.h:68] declaration of 'typedef ...alpha_pen...
dooglus [Sat, 26 Jan 2008 03:37:41 +0000 (03:37 +0000)]
Prevent lots of warnings like [_surface.h:68] declaration of 'typedef ...alpha_pen<...> etl::surface<...>::alpha_pen' [_pen.h:320] changes meaning of 'alpha_pen' from '...alpha_pen<...>'.

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

16 years agoAvoid the "deprecated or antiquated header" warning from g++ 4.3 by using <tr1/unorde...
dooglus [Sat, 26 Jan 2008 02:03:45 +0000 (02:03 +0000)]
Avoid the "deprecated or antiquated header" warning from g++ 4.3 by using <tr1/unordered_map> and <tr1/unordered_set> instead of <ext/hash_map> and <ext/hash_set> if they are available.

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

16 years agoAvoid warnings from g++ 4.3. Add 'todo' notes to check the grouping.
dooglus [Fri, 25 Jan 2008 18:18:19 +0000 (18:18 +0000)]
Avoid warnings from g++ 4.3.  Add 'todo' notes to check the grouping.

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

16 years agoAvoid warnings from g++ 4.3.
dooglus [Fri, 25 Jan 2008 18:11:51 +0000 (18:11 +0000)]
Avoid warnings from g++ 4.3.

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

16 years agoAvoid warnings from g++ 4.3.
dooglus [Fri, 25 Jan 2008 18:11:04 +0000 (18:11 +0000)]
Avoid warnings from g++ 4.3.

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

16 years agoFix a bug found by g++ 4.3, and add a few comments.
dooglus [Fri, 25 Jan 2008 17:57:53 +0000 (17:57 +0000)]
Fix a bug found by g++ 4.3, and add a few comments.

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

16 years agoAvoid warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 17:28:53 +0000 (17:28 +0000)]
Avoid warning from g++ 4.3.

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

16 years agoAvoid warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 17:28:09 +0000 (17:28 +0000)]
Avoid warning from g++ 4.3.

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

16 years agoAvoid warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 16:22:47 +0000 (16:22 +0000)]
Avoid warning from g++ 4.3.

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

16 years agoAvoid warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 16:21:19 +0000 (16:21 +0000)]
Avoid warning from g++ 4.3.

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

16 years agoAvoid warnings from g++ 4.3.
dooglus [Fri, 25 Jan 2008 16:00:32 +0000 (16:00 +0000)]
Avoid warnings from g++ 4.3.

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

16 years agoAvoid warnings from g++ 4.3.
dooglus [Fri, 25 Jan 2008 15:50:35 +0000 (15:50 +0000)]
Avoid warnings from g++ 4.3.

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

16 years agoAvoid warnings from g++ 4.3.
dooglus [Fri, 25 Jan 2008 15:48:02 +0000 (15:48 +0000)]
Avoid warnings from g++ 4.3.

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

16 years agoAvoid warnings from g++ 4.3.
dooglus [Fri, 25 Jan 2008 15:45:55 +0000 (15:45 +0000)]
Avoid warnings from g++ 4.3.

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

16 years agoFix a bug found by g++ 4.3, and comment out the method, because it's never used anyway
dooglus [Fri, 25 Jan 2008 15:41:45 +0000 (15:41 +0000)]
Fix a bug found by g++ 4.3, and comment out the method, because it's never used anyway

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

16 years agoAvoid warnings from g++ 4.3.
dooglus [Fri, 25 Jan 2008 14:33:46 +0000 (14:33 +0000)]
Avoid warnings from g++ 4.3.

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

16 years agoAvoid warnings from g++ 4.3.
dooglus [Fri, 25 Jan 2008 14:26:17 +0000 (14:26 +0000)]
Avoid warnings from g++ 4.3.

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

16 years agoFix bugs found by g++ 4.3.
dooglus [Fri, 25 Jan 2008 14:22:57 +0000 (14:22 +0000)]
Fix bugs found by g++ 4.3.

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

16 years agoAvoid warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 14:21:57 +0000 (14:21 +0000)]
Avoid warning from g++ 4.3.

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

16 years agoAvoid warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 14:20:12 +0000 (14:20 +0000)]
Avoid warning from g++ 4.3.

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

16 years agoAvoid warning.
dooglus [Fri, 25 Jan 2008 14:15:47 +0000 (14:15 +0000)]
Avoid warning.

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

16 years agoAvoid warning.
dooglus [Fri, 25 Jan 2008 14:15:01 +0000 (14:15 +0000)]
Avoid warning.

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

16 years agoAvoid warning.
dooglus [Fri, 25 Jan 2008 14:14:24 +0000 (14:14 +0000)]
Avoid warning.

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

16 years agoPrevent warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 14:11:36 +0000 (14:11 +0000)]
Prevent warning from g++ 4.3.

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

16 years agoStop a warning from g++ 4.3, but add a 'todo' note that the code needs checking....
dooglus [Fri, 25 Jan 2008 14:03:59 +0000 (14:03 +0000)]
Stop a warning from g++ 4.3, but add a 'todo' note that the code needs checking.  It doesn't look right to me.

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

16 years agog++ 4.3 told me "time.h:65: warning: type qualifiers ignored on function return type...
dooglus [Fri, 25 Jan 2008 14:00:05 +0000 (14:00 +0000)]
g++ 4.3 told me "time.h:65: warning: type qualifiers ignored on function return type" so I removed the "const" from the return type of Time::epsilon_().

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

16 years agoAvoid a warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 13:11:59 +0000 (13:11 +0000)]
Avoid a warning from g++ 4.3.

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

16 years agoFix a bug found by g++ 4.3.
dooglus [Fri, 25 Jan 2008 13:01:02 +0000 (13:01 +0000)]
Fix a bug found by g++ 4.3.

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

16 years agoFix a bug found by g++ 4.3, and then commented out the fixed method because it's...
dooglus [Fri, 25 Jan 2008 12:54:09 +0000 (12:54 +0000)]
Fix a bug found by g++ 4.3, and then commented out the fixed method because it's never used anywhere anyway.

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

16 years agoFix warnings and a bug found by g++ 4.3.
dooglus [Fri, 25 Jan 2008 12:49:39 +0000 (12:49 +0000)]
Fix warnings and a bug found by g++ 4.3.

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

16 years agoAvoid a warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 12:44:45 +0000 (12:44 +0000)]
Avoid a warning from g++ 4.3.

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

16 years agoAvoid a warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 12:44:28 +0000 (12:44 +0000)]
Avoid a warning from g++ 4.3.

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

16 years agoAvoid a warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 12:29:39 +0000 (12:29 +0000)]
Avoid a warning from g++ 4.3.

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

16 years agoAvoid a warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 12:23:29 +0000 (12:23 +0000)]
Avoid a warning from g++ 4.3.

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

16 years agoAvoid a warning from g++ 4.3.
dooglus [Fri, 25 Jan 2008 12:22:39 +0000 (12:22 +0000)]
Avoid a warning from g++ 4.3.

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

16 years agoFix some FTBFS issues when compiling with GCC 4.3
pabs [Fri, 25 Jan 2008 10:20:02 +0000 (10:20 +0000)]
Fix some FTBFS issues when compiling with GCC 4.3

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

16 years agoAdd checkboxes to the toggleable entries in the view menu.
dooglus [Thu, 24 Jan 2008 22:27:19 +0000 (22:27 +0000)]
Add checkboxes to the toggleable entries in the view menu.

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

16 years agoI missed a few layers that can be used with the 'transparent + straight blend' trick...
dooglus [Thu, 24 Jan 2008 17:20:29 +0000 (17:20 +0000)]
I missed a few layers that can be used with the 'transparent + straight blend' trick in the last commit.  That should be all now.

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

16 years agoQuite a lot of the example canvases use the trick of blending a transparent shape...
dooglus [Thu, 24 Jan 2008 17:20:08 +0000 (17:20 +0000)]
Quite a lot of the example canvases use the trick of blending a transparent shape using blend method "straight", and relying on an old bug to mask just the pixels in the shape.  Now that "straight" blending no longer only applies to the pixels in the shape, but to the whole layer, this trick no longer works.  The example .sif files have been modified to no longer rely on the trick, but it's possible that other .sif files do use it, and so this change looks out for the trick and changes it to use a fully opaque shape with "alpha over" blending, which has the same effect.

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

16 years agoRemember separate default directories for opening and writing each of animations...
dooglus [Thu, 24 Jan 2008 11:00:15 +0000 (11:00 +0000)]
Remember separate default directories for opening and writing each of animations, images, sketches, rendered output, and "miscellaneous".

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

16 years agoMake ETL-config a wrapper around pkg-config. Patch by Ralf Corsepius <rc040203@freene...
pabs [Thu, 24 Jan 2008 05:31:30 +0000 (05:31 +0000)]
Make ETL-config a wrapper around pkg-config. Patch by Ralf Corsepius <rc040203@freenet.de>

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

16 years agoUse alpha-over instead of a transparent "straight" blend method.
dooglus [Thu, 24 Jan 2008 01:23:45 +0000 (01:23 +0000)]
Use alpha-over instead of a transparent "straight" blend method.

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

16 years agoFix for the updated straight blend method.
dooglus [Thu, 24 Jan 2008 01:23:38 +0000 (01:23 +0000)]
Fix for the updated straight blend method.

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

16 years agoMore of the same.
dooglus [Thu, 24 Jan 2008 01:23:30 +0000 (01:23 +0000)]
More of the same.

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

16 years agoAnd again.
dooglus [Thu, 24 Jan 2008 01:07:55 +0000 (01:07 +0000)]
And again.

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

16 years agoSame again - use alpha-over instead of a transparent+straight.
dooglus [Thu, 24 Jan 2008 01:05:37 +0000 (01:05 +0000)]
Same again - use alpha-over instead of a transparent+straight.

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

16 years agoUpdate to no longer rely on the 'straight' blend method failing to render some transp...
dooglus [Thu, 24 Jan 2008 00:50:31 +0000 (00:50 +0000)]
Update to no longer rely on the 'straight' blend method failing to render some transparent pixels.

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

16 years agoPut the holes back in. This file used to rely on a bug in the 'straight' blend metho...
dooglus [Thu, 24 Jan 2008 00:44:28 +0000 (00:44 +0000)]
Put the holes back in.  This file used to rely on a bug in the 'straight' blend method.  Since 'straight' has now been fixed, use alpha-over instead to achieve the same result.

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

16 years agoFix to allow dynamic parameters to work with Straight blends.
dooglus [Wed, 23 Jan 2008 23:32:16 +0000 (23:32 +0000)]
Fix to allow dynamic parameters to work with Straight blends.

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

16 years agoUse an appropriate blend method when blitting to the area around the clipped pastecanvas.
dooglus [Wed, 23 Jan 2008 21:14:34 +0000 (21:14 +0000)]
Use an appropriate blend method when blitting to the area around the clipped pastecanvas.

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

16 years agoDon't include (deprecated) in the deprecated blend method names - it makes the toolbo...
dooglus [Wed, 23 Jan 2008 21:14:26 +0000 (21:14 +0000)]
Don't include (deprecated) in the deprecated blend method names - it makes the toolbox window too wide.

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

16 years agoAdd 'alpha brighten' to the list of blend methods to be considered 'straight'.
dooglus [Wed, 23 Jan 2008 21:14:17 +0000 (21:14 +0000)]
Add 'alpha brighten' to the list of blend methods to be considered 'straight'.

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

16 years agoRe-enable the 'alpha brighten' and 'alpha darken' blend methods. Why were they hidde...
dooglus [Wed, 23 Jan 2008 21:14:08 +0000 (21:14 +0000)]
Re-enable the 'alpha brighten' and 'alpha darken' blend methods.  Why were they hidden before?  They're marked as 'deprecated', but why?

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

16 years agoThe optimization of skipping the rendering of the layer's context only works for...
dooglus [Wed, 23 Jan 2008 21:13:59 +0000 (21:13 +0000)]
The optimization of skipping the rendering of the layer's context only works for straight rendering with amount=1, not for 'straight onto', and 'alpha brighten'.

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

16 years agoDon't show timing information for calls to LayerGroupTreeStore::rebuild() and LayerPa...
dooglus [Wed, 23 Jan 2008 20:24:29 +0000 (20:24 +0000)]
Don't show timing information for calls to LayerGroupTreeStore::rebuild() and LayerParamTreeStore::rebuild().

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

16 years agoDon't show the 'delete' and 'really delete' debug messages when hiding a menu.
dooglus [Wed, 23 Jan 2008 20:24:16 +0000 (20:24 +0000)]
Don't show the 'delete' and 'really delete' debug messages when hiding a menu.

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

16 years agoUse Color::is_straight(). Also, make sure we set the blend method of the newly encap...
dooglus [Wed, 23 Jan 2008 20:24:06 +0000 (20:24 +0000)]
Use Color::is_straight().  Also, make sure we set the blend method of the newly encapsulated layer to be STRAIGHT, since it may be STRAIGHT_ONTO or similar, which causes us to see an empty bounding box for the pastecanvas, and for the layer never to be rendered.

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

16 years agoUse Color::is_straight(). Also, re-enable the optimization for straight blending...
dooglus [Wed, 23 Jan 2008 20:23:57 +0000 (20:23 +0000)]
Use Color::is_straight().  Also, re-enable the optimization for straight blending when amount==1, but only for layers which don't need to see their context.

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

16 years agoUse Color::is_straight().
dooglus [Wed, 23 Jan 2008 20:23:47 +0000 (20:23 +0000)]
Use Color::is_straight().

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