synfig.git
16 years agoAllow the 'BLine Tangent' to be used to convert angles. The resulting value is the...
dooglus [Sun, 23 Sep 2007 20:25:41 +0000 (20:25 +0000)]
Allow the 'BLine Tangent' to be used to convert angles.  The resulting value is the angle of the tangent to the bline at the given point to the horizontal.

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

16 years agoImplemented feature request [ 1781903 ] make vertices/object move along paths. Added...
dooglus [Sun, 23 Sep 2007 18:50:21 +0000 (18:50 +0000)]
Implemented feature request [ 1781903 ] make vertices/object move along paths.  Added 'BLine Vector' and 'BLine Tangent' convert types to allow layers to move along arbitrary BLine paths.

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

16 years agoOops. Fixed a silly copy/paste error.
dooglus [Sun, 23 Sep 2007 00:10:00 +0000 (00:10 +0000)]
Oops.  Fixed a silly copy/paste error.

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

16 years agoAdded a new valuenode conversion type called 'Add'. It's like 'Subtract', only it...
dooglus [Sun, 23 Sep 2007 00:08:23 +0000 (00:08 +0000)]
Added a new valuenode conversion type called 'Add'.  It's like 'Subtract', only it adds...  Previously addition was only possible by first scaling the RHS by -1 and then subtracting, which seems a bit silly.

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

16 years agoFixed a typo.
dooglus [Sat, 22 Sep 2007 23:45:54 +0000 (23:45 +0000)]
Fixed a typo.

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

16 years agoFixed a few typos.
dooglus [Sat, 22 Sep 2007 23:45:45 +0000 (23:45 +0000)]
Fixed a few typos.

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

16 years agoAdded a new valuenode type for real values: 'Exponent'. Given a real value, it sets...
dooglus [Sat, 22 Sep 2007 23:45:35 +0000 (23:45 +0000)]
Added a new valuenode type for real values: 'Exponent'.  Given a real value, it sets its value to e^(value).

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

16 years agoFix 1800324: closing a window while an animation is playing crashes studio, so don...
dooglus [Sat, 22 Sep 2007 21:10:25 +0000 (21:10 +0000)]
Fix 1800324: closing a window while an animation is playing crashes studio, so don't let the window close if it's playing.  Instead we display a message explaining why the window won't close.  It would be better if we could somehow cause the playback to stop and then close the window, but this is better than crashing.

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

16 years agoPut View>Play on Control-P. Remove View>Pause from the menu, because it has never...
dooglus [Sat, 22 Sep 2007 19:01:09 +0000 (19:01 +0000)]
Put View>Play on Control-P.  Remove View>Pause from the menu, because it has never been implemented.  How is would Pause be different than Stop anyway, since Stop doesn't rewind?

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

16 years agoFix 1800126. Use a loose_handle instead of a handle to prevent the layer being free...
dooglus [Sat, 22 Sep 2007 17:37:47 +0000 (17:37 +0000)]
Fix 1800126.  Use a loose_handle instead of a handle to prevent the layer being free()d too early.

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

16 years agoFix 1800126. Use a loose_handle instead of a handle to prevent the layer being free...
dooglus [Sat, 22 Sep 2007 17:37:38 +0000 (17:37 +0000)]
Fix 1800126.  Use a loose_handle instead of a handle to prevent the layer being free()d too early.

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

16 years agoAddendum to 1799722: Now that 'save' no longer fails silently, we don't need the...
dooglus [Fri, 21 Sep 2007 22:00:23 +0000 (22:00 +0000)]
Addendum to 1799722: Now that 'save' no longer fails silently, we don't need the toolbox's 'save' button to special-case the 'save failed' message.

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

16 years agoFix 1799722: Display an error message when a 'save' (not 'save as') fails. Also,...
dooglus [Fri, 21 Sep 2007 22:00:15 +0000 (22:00 +0000)]
Fix 1799722: Display an error message when a 'save' (not 'save as') fails. Also, don't complain 'file already exists' if we can't read the directory to check whether the file exists or not.

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

16 years ago'quit -> "want to save?" -> yes -> cancel' should go back to working on the unsaved...
dooglus [Fri, 21 Sep 2007 22:00:04 +0000 (22:00 +0000)]
'quit -> "want to save?" -> yes -> cancel' should go back to working on the unsaved document immediately.

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

16 years agoFix 1368694. You can now add layers to groups and the groups show up immediately...
dooglus [Fri, 21 Sep 2007 15:05:51 +0000 (15:05 +0000)]
Fix 1368694.  You can now add layers to groups and the groups show up immediately.  The rest of the groups dialog is still pretty broken, but there are other bug reports about that.

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

16 years agoMerge branch 'tidying' into chris
dooglus [Fri, 21 Sep 2007 00:27:14 +0000 (00:27 +0000)]
Merge branch 'tidying' into chris

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

16 years agoFixed 1799250: Add a function to update the render filename from the document filenam...
dooglus [Fri, 21 Sep 2007 00:27:07 +0000 (00:27 +0000)]
Fixed 1799250: Add a function to update the render filename from the document filename (plus the canvas name, if it's not the root canvas).

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

16 years agoWorking on 1799250: After changing the filename, update the render settings with...
dooglus [Fri, 21 Sep 2007 00:26:57 +0000 (00:26 +0000)]
Working on 1799250: After changing the filename, update the render settings with the new filename.

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

16 years agoWorking on 1799250: changed prototypes
dooglus [Fri, 21 Sep 2007 00:26:49 +0000 (00:26 +0000)]
Working on 1799250: changed prototypes

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

16 years agoWorking on 1799250: added prototypes.
dooglus [Fri, 21 Sep 2007 00:26:42 +0000 (00:26 +0000)]
Working on 1799250: added prototypes.

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

16 years agoFixed a typo.
dooglus [Fri, 21 Sep 2007 00:26:34 +0000 (00:26 +0000)]
Fixed a typo.

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

16 years agoFix 1796971: if the user tries to quit synfig or close a document when there's unsave...
dooglus [Thu, 20 Sep 2007 20:53:22 +0000 (20:53 +0000)]
Fix 1796971: if the user tries to quit synfig or close a document when there's unsaved work, it will prompt whether to save or not.  If the user says 'yes, save', then cancels the file selector, studio will now ask again "do you want to save", rather than closing it immediately.  This seems more polite, and safer.

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

16 years agoWorking on 1796971: Make dialog_save_as() return a bool saying whether it saved anyth...
dooglus [Thu, 20 Sep 2007 20:53:07 +0000 (20:53 +0000)]
Working on 1796971: Make dialog_save_as() return a bool saying whether it saved anything or not.  Make save() use dialog_save_as() return value too.

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

16 years agoRename the 'Import' layer to 'Import Image' to hint that it's not for importing ...
dooglus [Thu, 20 Sep 2007 18:36:40 +0000 (18:36 +0000)]
Rename the 'Import' layer to 'Import Image' to hint that it's not for importing .sif* files.

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

16 years agoIf the user choses to save his work using the default name ("Synfig Animation 1.sifz...
dooglus [Wed, 19 Sep 2007 12:53:55 +0000 (12:53 +0000)]
If the user choses to save his work using the default name ("Synfig Animation 1.sifz", for example), don't keep showing the 'Save As' selector and warning about file overwriting each time she saves.  Also moved the string "Synfig Animation " into a single #define rather than having it appear in multiple places in the code.

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

16 years agoBrought up to date.
dooglus [Wed, 19 Sep 2007 12:35:18 +0000 (12:35 +0000)]
Brought up to date.

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

16 years agoRevision 678 included <iostream> in color.h. This added a couple of megabytes to...
dooglus [Wed, 19 Sep 2007 11:34:24 +0000 (11:34 +0000)]
Revision 678 included <iostream> in color.h.  This added a couple of megabytes to the synfig binary distribution (due to each of the modules having to contain lots of iostream code).  Moved the include into color.cpp instead to prevent this growth.

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

16 years agoFix to allow the 'scale' valuenode be used with integers.
dooglus [Tue, 18 Sep 2007 23:16:56 +0000 (23:16 +0000)]
Fix to allow the 'scale' valuenode be used with integers.

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

16 years agoFix 1797488: use set_link() rather than modifying the members directly.
dooglus [Tue, 18 Sep 2007 22:31:43 +0000 (22:31 +0000)]
Fix 1797488: use set_link() rather than modifying the members directly.

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

16 years agoInitialise a sine valuenode from its parent.
dooglus [Tue, 18 Sep 2007 21:04:25 +0000 (21:04 +0000)]
Initialise a sine valuenode from its parent.

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

16 years agoHeader file change to go with the last commit.
dooglus [Tue, 18 Sep 2007 19:56:56 +0000 (19:56 +0000)]
Header file change to go with the last commit.

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

16 years agoInitialise 'scale' valuenodes when converting, rather than using preset values.
dooglus [Tue, 18 Sep 2007 19:55:31 +0000 (19:55 +0000)]
Initialise 'scale' valuenodes when converting, rather than using preset values.

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

16 years agoInitialise subtract valuenodes from the value they are converted from, rather than...
dooglus [Tue, 18 Sep 2007 19:49:29 +0000 (19:49 +0000)]
Initialise subtract valuenodes from the value they are converted from, rather than using a preset value.

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

16 years agoRound integers towards zero in linear convert type.
dooglus [Tue, 18 Sep 2007 19:44:05 +0000 (19:44 +0000)]
Round integers towards zero in linear convert type.

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

16 years agoUse a switch statement in the operator() like the other valuenode types do.
dooglus [Tue, 18 Sep 2007 19:41:49 +0000 (19:41 +0000)]
Use a switch statement in the operator() like the other valuenode types do.

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

16 years agoRound integer subtraction convertions to the nearest integer.
dooglus [Tue, 18 Sep 2007 19:33:54 +0000 (19:33 +0000)]
Round integer subtraction convertions to the nearest integer.

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

16 years agoFix a crash when converting an integer type to 'subtract'.
dooglus [Tue, 18 Sep 2007 19:25:56 +0000 (19:25 +0000)]
Fix a crash when converting an integer type to 'subtract'.

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

16 years agoImplement feature request 1741236: Use 'Synfig Animation N' (N=1,2,3,...) rather...
dooglus [Tue, 18 Sep 2007 12:54:44 +0000 (12:54 +0000)]
Implement feature request 1741236: Use 'Synfig Animation N' (N=1,2,3,...) rather than 'untitledN' (N=0,1,2,...) as the default file name.  Put the default name in the file selector dialog when saving.

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

16 years agoPut the 'paste_canvas' and 'PasteCanvas' mentions on a single line to make things...
dooglus [Tue, 18 Sep 2007 11:07:04 +0000 (11:07 +0000)]
Put the 'paste_canvas' and 'PasteCanvas' mentions on a single line to make things clearer when 'grep'ing the code.

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

16 years agoRenaming the PasteCanvas layer in r705 missed the other references to the name elsewh...
dooglus [Tue, 18 Sep 2007 11:02:19 +0000 (11:02 +0000)]
Renaming the PasteCanvas layer in r705 missed the other references to the name elsewhere in the code.  This fixes it.  We should use a #define'd value so it only needs to be changed in one place, really.  See also r590 and r597.

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

16 years agoRevert r590. Use the same names for PasteCanvas, SolidColor, and MotionBlur as in...
dooglus [Tue, 18 Sep 2007 01:18:13 +0000 (01:18 +0000)]
Revert r590.  Use the same names for PasteCanvas, SolidColor, and MotionBlur as in previous releases.  Recognise the lower_case names, and convert them back to the previous names on save.

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

16 years agoRemoved unused members/prototypes.
dooglus [Tue, 18 Sep 2007 00:50:47 +0000 (00:50 +0000)]
Removed unused members/prototypes.

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

16 years agoWhen saving a file, remember the directory it was saved to, and use that as the defau...
dooglus [Mon, 17 Sep 2007 23:53:22 +0000 (23:53 +0000)]
When saving a file, remember the directory it was saved to, and use that as the default directory in future.  Like was already the case when loading a file.

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

16 years agoRemoved more unused code. There were 4 'save_as' functions, and 2 of them were never...
dooglus [Mon, 17 Sep 2007 23:36:30 +0000 (23:36 +0000)]
Removed more unused code.  There were 4 'save_as' functions, and 2 of them were never used, so I removed them.

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

16 years agoApp::dialog_saveas_file() and App::dialog_save_file() are identical. Deleted one...
dooglus [Mon, 17 Sep 2007 23:01:17 +0000 (23:01 +0000)]
App::dialog_saveas_file() and App::dialog_save_file() are identical.  Deleted one of them.

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

16 years agoSaving a document (I'm going to call them documents because I don't know what else...
dooglus [Mon, 17 Sep 2007 22:39:21 +0000 (22:39 +0000)]
Saving a document (I'm going to call them documents because I don't know what else to call them - I mean .sif or .sifz files) without specifying an extension should add the default extension (.sifz) to the name you specify, but that's not working if the full path includes a dot.  This change fixes that bug.

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

16 years agor679 introduced an error, assuming 'filename' would never be an absolute path. This...
dooglus [Mon, 17 Sep 2007 21:49:58 +0000 (21:49 +0000)]
r679 introduced an error, assuming 'filename' would never be an absolute path.  This fixes it.

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

16 years agoSave as .sifz by default (if there is no '.' in the saved file's path).
dooglus [Mon, 17 Sep 2007 20:49:57 +0000 (20:49 +0000)]
Save as .sifz by default (if there is no '.' in the saved file's path).

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

16 years agoReplaced the whitespace that I removed in r467. Now that the files are compressed...
dooglus [Mon, 17 Sep 2007 20:13:30 +0000 (20:13 +0000)]
Replaced the whitespace that I removed in r467.  Now that the files are compressed it doesn't make too much difference, and makes for easier text-editing of the files.

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

16 years agoCompressed .sif files to .sifz to save space.
dooglus [Mon, 17 Sep 2007 20:01:56 +0000 (20:01 +0000)]
Compressed .sif files to .sifz to save space.

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

16 years agoCompressed .sif to .sifz to save space.
dooglus [Mon, 17 Sep 2007 19:58:43 +0000 (19:58 +0000)]
Compressed .sif to .sifz to save space.

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

16 years agoUse compression when saving as a .sifz file.
dooglus [Mon, 17 Sep 2007 17:59:01 +0000 (17:59 +0000)]
Use compression when saving as a .sifz file.

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

16 years agoOops. TCB is called "auto" in the SIF file.
dooglus [Mon, 17 Sep 2007 15:59:35 +0000 (15:59 +0000)]
Oops.  TCB is called "auto" in the SIF file.

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

16 years agoFix 1778930: TCB is the default waypoint type except for angles, which default to...
dooglus [Mon, 17 Sep 2007 15:43:30 +0000 (15:43 +0000)]
Fix 1778930: TCB is the default waypoint type except for angles, which default to linear.  Also fixed a copy/paste typo in an error message.  Still need to get angle waypoints to default to linear interpolation on creation.

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

16 years agoTidying up a little.
dooglus [Mon, 17 Sep 2007 13:51:19 +0000 (13:51 +0000)]
Tidying up a little.

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

16 years agoTypos.
dooglus [Mon, 17 Sep 2007 13:47:16 +0000 (13:47 +0000)]
Typos.

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

16 years agoFixed the View>Play menu entry properly. It now waits for each frame to display...
dooglus [Mon, 17 Sep 2007 13:34:22 +0000 (13:34 +0000)]
Fixed the View>Play menu entry properly.  It now waits for each frame to display before rendering the next one.

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

16 years agoThe View>Play menu entry now does something. It doesn't work particularly well,...
dooglus [Mon, 17 Sep 2007 12:24:08 +0000 (12:24 +0000)]
The View>Play menu entry now does something.  It doesn't work particularly well, but on simple animations it works.

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

16 years agoDon't accept an empty input when setting a paste canvas' layer's 'canvas' parameter...
dooglus [Mon, 17 Sep 2007 11:50:46 +0000 (11:50 +0000)]
Don't accept an empty input when setting a paste canvas' layer's 'canvas' parameter using 'other...'.  Doing so causes an infinite loop, much like in bug #1796110.

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

16 years agoFix 1796110: don't try finding the specified canvas when no canvas is specified ...
dooglus [Mon, 17 Sep 2007 11:35:02 +0000 (11:35 +0000)]
Fix 1796110: don't try finding the specified canvas when no canvas is specified (ie. when the user clicks 'cancel' instead of typing a canvas name using 'other...' from a paste canvas layer's "canvas" parameter.

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

16 years agoFix 1796068: when a valuenode changes, ValueNode::on_changed() will now signal all...
dooglus [Mon, 17 Sep 2007 10:04:05 +0000 (10:04 +0000)]
Fix 1796068: when a valuenode changes, ValueNode::on_changed() will now signal all its parent canvases.

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

16 years agoFix a copy-paste typo when applying the 'scale' convert type to a color. Previously...
dooglus [Mon, 17 Sep 2007 00:00:20 +0000 (00:00 +0000)]
Fix a copy-paste typo when applying the 'scale' convert type to a color.  Previously the red component was used for R, G, and B in the resulting value.

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

16 years agoFix 1795922: loadcanvas.cpp was special-casing subtract valuenodes when there's no...
dooglus [Sun, 16 Sep 2007 22:52:14 +0000 (22:52 +0000)]
Fix 1795922: loadcanvas.cpp was special-casing subtract valuenodes when there's no need to - the generic code works better.

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

16 years agoFix 1795913. Subtract now works with colors.
dooglus [Sun, 16 Sep 2007 22:06:58 +0000 (22:06 +0000)]
Fix 1795913.  Subtract now works with colors.

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

16 years agoRearranged a bit so I can see what's missing.
dooglus [Sun, 16 Sep 2007 22:05:46 +0000 (22:05 +0000)]
Rearranged a bit so I can see what's missing.

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

16 years agoI'm working on bug 1779592. The problem is related to the 'no_egress_on_selection_ch...
dooglus [Sun, 16 Sep 2007 19:28:39 +0000 (19:28 +0000)]
I'm working on bug 1779592.  The problem is related to the 'no_egress_on_selection_change' variable, and the double-negatives aren't making things any less confusing.  So I renamed it to 'egress_on_selection_change' instead, and changed the sense of its value.

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

16 years agoFix 1383736: use absolute pathnames when setting up Gtk file selector dialogs.
dooglus [Sun, 16 Sep 2007 17:47:23 +0000 (17:47 +0000)]
Fix 1383736: use absolute pathnames when setting up Gtk file selector dialogs.

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

16 years agoFix 1795802: Fixed a crash in the animated gradient code I wrote yesterday. Added...
dooglus [Sun, 16 Sep 2007 14:11:39 +0000 (14:11 +0000)]
Fix 1795802: Fixed a crash in the animated gradient code I wrote yesterday.  Added comments.  Added code to animate 'hidden' cpoints (ie. when there are more than 2 cpoints in the same place in a gradient).

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

16 years agoMultiplying a gradient by zero empties it.
dooglus [Sun, 16 Sep 2007 00:54:26 +0000 (00:54 +0000)]
Multiplying a gradient by zero empties it.

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

16 years agoFix 1568818: Animate gradients.
dooglus [Sat, 15 Sep 2007 20:11:31 +0000 (20:11 +0000)]
Fix 1568818: Animate gradients.

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

16 years agoPartially fix 1568818: Define mathematical operators so that we can animate gradients.
dooglus [Sat, 15 Sep 2007 20:10:31 +0000 (20:10 +0000)]
Partially fix 1568818: Define mathematical operators so that we can animate gradients.

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

16 years agoPartially fix 1568818: Declare mathematical operators so that we can animate gradient...
dooglus [Sat, 15 Sep 2007 20:06:08 +0000 (20:06 +0000)]
Partially fix 1568818: Declare mathematical operators so that we can animate gradients over time.

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

16 years agoI'm told that it's a bad idea to inherit from std::vector (because it has no virtual...
dooglus [Sat, 15 Sep 2007 07:56:41 +0000 (07:56 +0000)]
I'm told that it's a bad idea to inherit from std::vector (because it has no virtual destructor), so use a vector member variable instead.

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

16 years agoMade a few more of the member variables in class WorkArea private.
dooglus [Fri, 14 Sep 2007 22:34:53 +0000 (22:34 +0000)]
Made a few more of the member variables in class WorkArea private.

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

16 years agoFix 1794374 for 'gradient rotate' valuenodes.
dooglus [Fri, 14 Sep 2007 15:45:10 +0000 (15:45 +0000)]
Fix 1794374 for 'gradient rotate' valuenodes.

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

16 years agoFix 1794374 for 'repeat gradient' valuenodes.
dooglus [Fri, 14 Sep 2007 15:38:38 +0000 (15:38 +0000)]
Fix 1794374 for 'repeat gradient' valuenodes.

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

16 years agoSome member variables were public, but never used publically. Made them private...
dooglus [Fri, 14 Sep 2007 13:15:06 +0000 (13:15 +0000)]
Some member variables were public, but never used publically.  Made them private instead to make it clearer how they can be modified.

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

16 years agoFix 1794006: when removing a CPoint, signal that the gradient changed, so things...
dooglus [Fri, 14 Sep 2007 01:33:11 +0000 (01:33 +0000)]
Fix 1794006: when removing a CPoint, signal that the gradient changed, so things can be redrawn.

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

16 years agoAllow the user to specify the start and end colors when repeating a gradient.
dooglus [Thu, 13 Sep 2007 22:31:57 +0000 (22:31 +0000)]
Allow the user to specify the start and end colors when repeating a gradient.

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

16 years agoAdd a new type of valuenode conversion for gradients: "repeat gradient" which lets...
dooglus [Thu, 13 Sep 2007 16:53:01 +0000 (16:53 +0000)]
Add a new type of valuenode conversion for gradients: "repeat gradient" which lets you loop a gradient a specified number of times.  See wiki.synfig.com/Convert#Repeat_Gradient .

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

16 years agoSpelling corrections.
dooglus [Thu, 13 Sep 2007 14:54:42 +0000 (14:54 +0000)]
Spelling corrections.

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

16 years agoSpelling corrections.
dooglus [Thu, 13 Sep 2007 14:51:21 +0000 (14:51 +0000)]
Spelling corrections.

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

16 years agoWhen a curve gradient layer's bline is looped and perpendicular is checked, spread...
dooglus [Thu, 13 Sep 2007 12:44:31 +0000 (12:44 +0000)]
When a curve gradient layer's bline is looped and perpendicular is checked, spread the gradient over the entire loop.  Previously the last bline wasn't used.

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

16 years agoAdd some changes to NEWS
pabs [Thu, 13 Sep 2007 07:54:38 +0000 (07:54 +0000)]
Add some changes to NEWS

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

16 years agoAdd some changes to NEWS
pabs [Thu, 13 Sep 2007 07:44:43 +0000 (07:44 +0000)]
Add some changes to NEWS

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

16 years agoAdd some changes to NEWS
pabs [Thu, 13 Sep 2007 07:36:56 +0000 (07:36 +0000)]
Add some changes to NEWS

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

16 years agoA few more typos.
dooglus [Wed, 12 Sep 2007 21:01:33 +0000 (21:01 +0000)]
A few more typos.

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

16 years agoSince the last change will require a recompilation of pretty much everything, I took...
dooglus [Wed, 12 Sep 2007 20:36:47 +0000 (20:36 +0000)]
Since the last change will require a recompilation of pretty much everything, I took this opportunity to fix some spelling mistakes that were annoying me.

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

16 years agoFix 1793306: dirname() doesn't work on absolute paths. Also fixed basename(). Fixed...
dooglus [Wed, 12 Sep 2007 20:14:25 +0000 (20:14 +0000)]
Fix 1793306: dirname() doesn't work on absolute paths.  Also fixed basename().  Fixed a potentially infinite loop, and a couple of other small changes.

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

16 years agoFix 1792063: problem with curve gradients when a vertex has split tangents which...
dooglus [Wed, 12 Sep 2007 01:38:05 +0000 (01:38 +0000)]
Fix 1792063: problem with curve gradients when a vertex has split tangents which are almost parallel to each other.

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

16 years agoReinstate the -Wno-unused-parameter flag, because when building a non-debug build...
dooglus [Wed, 12 Sep 2007 00:24:18 +0000 (00:24 +0000)]
Reinstate the -Wno-unused-parameter flag, because when building a non-debug build, the 'assert()'s don't get compiled, leading to a whole lot of warnings about an unused parameter in value.h.

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

16 years agoAdded a few comments.
dooglus [Tue, 11 Sep 2007 20:07:59 +0000 (20:07 +0000)]
Added a few comments.

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

16 years agoMove the 'Simple Text' into the 'Other' menu, rather than having it in a menu of...
dooglus [Mon, 10 Sep 2007 23:31:45 +0000 (23:31 +0000)]
Move the 'Simple Text' into the 'Other' menu, rather than having it in a menu of its own.  And rename it "Text", since we don't have any non-simple text layer.

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

16 years agoRearranged "if (!x) a; else b;" to "if (x) b; else a;". Added a couple of comments...
dooglus [Mon, 10 Sep 2007 23:00:31 +0000 (23:00 +0000)]
Rearranged "if (!x) a; else b;" to "if (x) b; else a;".  Added a couple of comments.  No real changes.

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

16 years agoThe icons are in $SYNFIG_ROOT/share/pixmaps/synfigstudio/ now, not $SYNFIG_ROOT/share...
dooglus [Mon, 10 Sep 2007 20:13:40 +0000 (20:13 +0000)]
The icons are in $SYNFIG_ROOT/share/pixmaps/synfigstudio/ now, not $SYNFIG_ROOT/share/pixmaps/.  Updated the code which uses the SYNFIG_ROOT environment variable to locate them.  It shouldn't be necessary to set SYNFIG_ROOT, in which case this fix will have no effect, but setting it shouldn't break things like it currently does.

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

16 years agoShow basic motion blur even in the workarea display; ie. show the current frame and...
dooglus [Mon, 10 Sep 2007 16:54:18 +0000 (16:54 +0000)]
Show basic motion blur even in the workarea display; ie. show the current frame and the (time-aperture) frame only.  Don't use any future frames to generate the blur, only past frames.  Make older frames contribute less to the blur than newer frames - ie. the blur decays linearly, rather than not decaying at all.

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

16 years agoAdded a comment about the strange fudge factor in the previous versions of the plant...
dooglus [Mon, 10 Sep 2007 01:38:21 +0000 (01:38 +0000)]
Added a comment about the strange fudge factor in the previous versions of the plant layer code.

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

16 years agoDefault the plant layer's Perpendicular Velocity to zero, for compatibility with...
dooglus [Mon, 10 Sep 2007 01:22:14 +0000 (01:22 +0000)]
Default the plant layer's Perpendicular Velocity to zero, for compatibility with older .sif files.

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

16 years agoMade a comment about some compiler warnings that I don't yet understand.
dooglus [Mon, 10 Sep 2007 01:10:13 +0000 (01:10 +0000)]
Made a comment about some compiler warnings that I don't yet understand.

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

16 years agoTime Plant::sync(). Display timing information if it takes a long time. Show progre...
dooglus [Sun, 9 Sep 2007 23:40:44 +0000 (23:40 +0000)]
Time Plant::sync().  Display timing information if it takes a long time.  Show progress after every million particles.  Use antialiasing on rendered plants.  See dooglus.rincevent.net/synfig/plant-before-646.png and http://dooglus.rincevent.net/synfig/plant-after-646.png for before and after shots, rendered from http://dooglus.rincevent.net/synfig/plant-646.sif .  Thin lines were being completely lost before this change.

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