synfig.git
17 years agoApply 1695494: fix version number in the Win32 registry, add API_VERSION variable...
dooglus [Fri, 6 Apr 2007 13:16:24 +0000 (13:16 +0000)]
Apply 1695494: fix version number in the Win32 registry, add API_VERSION variable. Patch by Dmitriy Pomerantsev (Atrus)

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

17 years agoApply 1695493: remove unnecessary win32 registry key check. Patch by Dmitriy Pomerant...
dooglus [Fri, 6 Apr 2007 13:15:04 +0000 (13:15 +0000)]
Apply 1695493: remove unnecessary win32 registry key check. Patch by Dmitriy Pomerantsev (Atrus)

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

17 years agoApply 1695492: install start menu shortcuts for all users on Win32. Patch by Dmitriy...
dooglus [Fri, 6 Apr 2007 13:14:02 +0000 (13:14 +0000)]
Apply 1695492: install start menu shortcuts for all users on Win32. Patch by Dmitriy Pomerantsev (Atrus)

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

17 years agoApply 1695491: uninstall all pixmaps on Win32. Patch by Dmitriy Pomerantsev (Atrus)
dooglus [Fri, 6 Apr 2007 13:13:19 +0000 (13:13 +0000)]
Apply 1695491: uninstall all pixmaps on Win32. Patch by Dmitriy Pomerantsev (Atrus)

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

17 years agoApply 1695484: generate 48x48 icons on Win32 since they look better. Patch by Dmitriy...
dooglus [Fri, 6 Apr 2007 13:10:36 +0000 (13:10 +0000)]
Apply 1695484: generate 48x48 icons on Win32 since they look better. Patch by Dmitriy Pomerantsev (Atrus)

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

17 years agoAtrus' Windows patches: [ 1695482 ] win32-synfig-all-users
dooglus [Fri, 6 Apr 2007 13:09:47 +0000 (13:09 +0000)]
Atrus' Windows patches: [ 1695482 ] win32-synfig-all-users

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

17 years agoAtrus' Windows patches: [ 1695480 ] win32-synfig-clean-uninstall
dooglus [Fri, 6 Apr 2007 13:09:01 +0000 (13:09 +0000)]
Atrus' Windows patches: [ 1695480 ] win32-synfig-clean-uninstall

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

17 years agoAtrus' Windows patches: [ 1695479 ] win32-synfig-remove-unused-libs
dooglus [Fri, 6 Apr 2007 13:07:48 +0000 (13:07 +0000)]
Atrus' Windows patches: [ 1695479 ] win32-synfig-remove-unused-libs

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

17 years agoAtrus' Windows patches: [ 1695477 ] win32-synfig-conf-ext-fix
dooglus [Fri, 6 Apr 2007 13:06:51 +0000 (13:06 +0000)]
Atrus' Windows patches: [ 1695477 ] win32-synfig-conf-ext-fix

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

17 years agoAtrus' Windows patches: [ 1695475 ] win32-synfig-regver-fix
dooglus [Fri, 6 Apr 2007 13:05:47 +0000 (13:05 +0000)]
Atrus' Windows patches: [ 1695475 ] win32-synfig-regver-fix

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

17 years agoFixed a bug I introduced in r400. When rendering a rectange, if we find that it...
dooglus [Fri, 6 Apr 2007 12:14:26 +0000 (12:14 +0000)]
Fixed a bug I introduced in r400.  When rendering a rectange, if we find that it doesn't actually need rendering because it's not in the current tile, we still need to render what's behind it.

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

17 years agoAdd dooglus to the AUTHORS file
pabs [Fri, 6 Apr 2007 11:01:04 +0000 (11:01 +0000)]
Add dooglus to the AUTHORS file

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

17 years agoFix Debian 417897: causes synfig FTBFS in gcc 4.3 due to not including all the requir...
pabs [Fri, 6 Apr 2007 10:54:22 +0000 (10:54 +0000)]
Fix Debian 417897: causes synfig FTBFS in gcc 4.3 due to not including all the required headers. Patch by Martin Michlmayr

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

17 years agoUse logical operators (&&, ||) rather than arithmetic operators (&, |) where appropriate.
dooglus [Fri, 6 Apr 2007 00:18:11 +0000 (00:18 +0000)]
Use logical operators (&&, ||) rather than arithmetic operators (&, |) where appropriate.

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

17 years agoFix Debian 417720: FTBFS in gcc 4.3 due to not including all the required headers...
pabs [Thu, 5 Apr 2007 05:16:02 +0000 (05:16 +0000)]
Fix Debian 417720: FTBFS in gcc 4.3 due to not including all the required headers. Patch by Martin Michlmayr

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

17 years agoFix 1694325: when looping wasn't enabled, the region was being closed by looping...
dooglus [Wed, 4 Apr 2007 23:38:01 +0000 (23:38 +0000)]
Fix 1694325: when looping wasn't enabled, the region was being closed by looping back to the end of the last curved segment, ignoring any straight segments; what we really need to do is always just loop back to the start of the line.

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

17 years agoMoved an apostrophe.
dooglus [Wed, 4 Apr 2007 21:10:59 +0000 (21:10 +0000)]
Moved an apostrophe.

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

17 years agoFix 1694393: save 'pref.*' keys first, so the window manager hint preference is loade...
dooglus [Wed, 4 Apr 2007 19:31:26 +0000 (19:31 +0000)]
Fix 1694393: save 'pref.*' keys first, so the window manager hint preference is loaded before saved dialogs are created.

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

17 years ago`blinepointtangentsplit.cpp' and `blinepointtangentmerge.cpp' should just take care...
dooglus [Wed, 4 Apr 2007 18:38:06 +0000 (18:38 +0000)]
`blinepointtangentsplit.cpp' and `blinepointtangentmerge.cpp' should just take care of toggling the 'split tangents' value.  `valuedescset.cpp' can look after the tangent vectors themselves.  That way, the same code is used whether the tangents are split/merged using a context menu on the canvas or directly in the parameter dialog.

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

17 years agoCommit part of r401 that dooglus missed.
pabs [Tue, 3 Apr 2007 08:29:20 +0000 (08:29 +0000)]
Commit part of r401 that dooglus missed.

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

17 years agoWhen merging tangents, use the average of the two tangents we're merging, rather...
dooglus [Mon, 2 Apr 2007 17:09:54 +0000 (17:09 +0000)]
When merging tangents, use the average of the two tangents we're merging, rather than arbitrarily using the old value of one of them.

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

17 years agoDon't "assert(color.is_valid())" before setting the colour's alpha component - it...
dooglus [Mon, 2 Apr 2007 15:13:43 +0000 (15:13 +0000)]
Don't "assert(color.is_valid())" before setting the colour's alpha component - it might not have been initialised yet.

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

17 years agoInitialise vectors in constructor to avoid warnings about uninitialised variables...
dooglus [Mon, 2 Apr 2007 14:51:07 +0000 (14:51 +0000)]
Initialise vectors in constructor to avoid warnings about uninitialised variables from valgrind.

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

17 years agoDon't access edge_table->aabb if it hasn't been initialised yet; prevents a warning...
dooglus [Mon, 2 Apr 2007 14:33:08 +0000 (14:33 +0000)]
Don't access edge_table->aabb if it hasn't been initialised yet;  prevents a warning from valgrind.  Commented 'initaabb' member variable.  Improved formatting a little.

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

17 years agoAdded a 'todo' to the doxygen comments so it doesn't get lost.
dooglus [Mon, 2 Apr 2007 11:31:44 +0000 (11:31 +0000)]
Added a 'todo' to the doxygen comments so it doesn't get lost.

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

17 years agoTypo.
dooglus [Mon, 2 Apr 2007 11:30:45 +0000 (11:30 +0000)]
Typo.

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

17 years agoI forgot to remove these prototypes when removing definitions earlier.
dooglus [Sun, 1 Apr 2007 19:25:34 +0000 (19:25 +0000)]
I forgot to remove these prototypes when removing definitions earlier.

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

17 years agoRemove old unused code that used to handle the eyedropper, colour selector, bline...
dooglus [Sun, 1 Apr 2007 19:06:26 +0000 (19:06 +0000)]
Remove old unused code that used to handle the eyedropper, colour selector, bline, polygon and draw tools.

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

17 years agoSmall formatting changes. And show "..." after buttons which require further input.
dooglus [Sun, 1 Apr 2007 18:43:57 +0000 (18:43 +0000)]
Small formatting changes.  And show "..." after buttons which require further input.

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

17 years agoSimple implementation of 'Save All'.
dooglus [Sun, 1 Apr 2007 18:38:23 +0000 (18:38 +0000)]
Simple implementation of 'Save All'.

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

17 years agoWhen prompting for 'Save As...', show the name of the root canvas being saved in...
dooglus [Sun, 1 Apr 2007 18:36:14 +0000 (18:36 +0000)]
When prompting for 'Save As...', show the name of the root canvas being saved in the title bar.

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

17 years agoPut the 'redo' button next to the 'undo' button, and before the 2 'clear' buttons...
dooglus [Sun, 1 Apr 2007 17:30:25 +0000 (17:30 +0000)]
Put the 'redo' button next to the 'undo' button, and before the 2 'clear' buttons, so that both 'undo' and 'redo' are visible when the history dialog is narrow.  Edited the labels and tooltips a little, too.

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

17 years agoPrettied up the layout of the ACCEL and ACCEL2 macros.
dooglus [Sun, 1 Apr 2007 16:46:08 +0000 (16:46 +0000)]
Prettied up the layout of the ACCEL and ACCEL2 macros.

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

17 years agoFix 1686425: prompt before overwriting an existing file with 'save as'.
dooglus [Sun, 1 Apr 2007 15:28:30 +0000 (15:28 +0000)]
Fix 1686425: prompt before overwriting an existing file with 'save as'.

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

17 years agoFixes 1692348. todo: revisit the 'if(z>0 && z<horizon*2)' checks. Is there a better...
dooglus [Sun, 1 Apr 2007 14:28:28 +0000 (14:28 +0000)]
Fixes 1692348.  todo: revisit the 'if(z>0 && z<horizon*2)' checks.  Is there a better way to determine the areas of interest?

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

17 years agoAvoid a compiler warning about initialisation order.
dooglus [Sun, 1 Apr 2007 13:01:34 +0000 (13:01 +0000)]
Avoid a compiler warning about initialisation order.

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

17 years agoAllow a single hex digit in the hex color box. The digit is repeated 6 times, so...
dooglus [Sun, 1 Apr 2007 08:54:36 +0000 (08:54 +0000)]
Allow a single hex digit in the hex color box.  The digit is repeated 6 times, so "0" gives black (0x000000) and "f" gives white (0xffffff).

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

17 years agoTypo.
dooglus [Sat, 31 Mar 2007 23:54:28 +0000 (23:54 +0000)]
Typo.

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

17 years agoReal width(width) doesn't work. The new variable is in scope before the old one...
dooglus [Sat, 31 Mar 2007 23:29:14 +0000 (23:29 +0000)]
Real width(width) doesn't work.  The new variable is in scope before the old one can be used.  Use `Real tmp_width(width)' instead.

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

17 years agoRectangles are 'solid color' when using straight blending if both the amount and...
dooglus [Sat, 31 Mar 2007 22:11:13 +0000 (22:11 +0000)]
Rectangles are 'solid color' when using straight blending if both the amount and the color's alpha are 1.0.

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

17 years agoDon't waste time rendering layers which are completely obscured by solid-colour recta...
dooglus [Sat, 31 Mar 2007 20:32:57 +0000 (20:32 +0000)]
Don't waste time rendering layers which are completely obscured by solid-colour rectangles.

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

17 years agoAdded some comments to the code I recently fixed to make it clearer what's going...
dooglus [Sat, 31 Mar 2007 19:46:39 +0000 (19:46 +0000)]
Added some comments to the code I recently fixed to make it clearer what's going on there.

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

17 years agoFix 1689329: if the inverted rectangle we're rendering doesn't overlap the tile we...
dooglus [Sat, 31 Mar 2007 19:01:45 +0000 (19:01 +0000)]
Fix 1689329: if the inverted rectangle we're rendering doesn't overlap the tile we're rendering at all, don't attempt to draw its outlines.  Doing so can result in us drawing outside the tile's allocated memory.

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

17 years agosubptr() should subtract from the pointer, not add to it.
dooglus [Sat, 31 Mar 2007 08:02:08 +0000 (08:02 +0000)]
subptr() should subtract from the pointer, not add to it.

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

17 years agoIf the rows are wider than our PIXEL_RENDERING_LIMIT, then still render a row. Previ...
dooglus [Sat, 31 Mar 2007 00:19:39 +0000 (00:19 +0000)]
If the rows are wider than our PIXEL_RENDERING_LIMIT, then still render a row.  Previously we were deciding to render 0 rows at a time and getting a divide-by-zero error in that case.

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

17 years agoThe value of `i' goes from 0 to rows-1, so to test for the last strip we need `i...
dooglus [Fri, 30 Mar 2007 23:59:16 +0000 (23:59 +0000)]
The value of `i' goes from 0 to rows-1, so to test for the last strip we need `i == rows-1', not `i == rows'.

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

17 years agoTypo.
dooglus [Thu, 29 Mar 2007 14:52:01 +0000 (14:52 +0000)]
Typo.

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

17 years agoUpdate NEWS file for the next release
pabs [Thu, 29 Mar 2007 04:30:43 +0000 (04:30 +0000)]
Update NEWS file for the next release

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

17 years agoUpdate NEWS file for the next release
pabs [Thu, 29 Mar 2007 03:56:28 +0000 (03:56 +0000)]
Update NEWS file for the next release

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

17 years agoEventually, it might be nice to have 16-bit PNG output support
pabs [Thu, 29 Mar 2007 03:37:57 +0000 (03:37 +0000)]
Eventually, it might be nice to have 16-bit PNG output support

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

17 years agoUpdate NEWS file for the next release
pabs [Thu, 29 Mar 2007 03:37:09 +0000 (03:37 +0000)]
Update NEWS file for the next release

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

17 years agoFixed a spelling mistake.
dooglus [Tue, 27 Mar 2007 16:33:57 +0000 (16:33 +0000)]
Fixed a spelling mistake.

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

17 years agoPartially fix 1689282: stops the crash when clicking in timetrack dialog
dooglus [Tue, 27 Mar 2007 15:12:12 +0000 (15:12 +0000)]
Partially fix 1689282: stops the crash when clicking in timetrack dialog

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

17 years agoAdded a few comments and increase some code readability.
dooglus [Mon, 26 Mar 2007 00:02:46 +0000 (00:02 +0000)]
Added a few comments and increase some code readability.

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

17 years agoRemove copyright fixer script since it is no longer needed
pabs [Sun, 25 Mar 2007 07:28:28 +0000 (07:28 +0000)]
Remove copyright fixer script since it is no longer needed

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

17 years agoAdded my copyright line.
dooglus [Sun, 25 Mar 2007 03:55:55 +0000 (03:55 +0000)]
Added my copyright line.

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

17 years agoI somehow missed updating these 3 lines in r364.
dooglus [Sat, 24 Mar 2007 21:01:07 +0000 (21:01 +0000)]
I somehow missed updating these 3 lines in r364.

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

17 years agoFixed a typo.
dooglus [Sat, 24 Mar 2007 19:45:42 +0000 (19:45 +0000)]
Fixed a typo.

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

17 years agoThe '-g gamma' argument is currently ignored, but that shouldn't stop it being a...
dooglus [Sat, 24 Mar 2007 19:43:48 +0000 (19:43 +0000)]
The '-g gamma' argument is currently ignored, but that shouldn't stop it being a legal argument.

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

17 years agoAdded my copyright to the README files, as requested.
dooglus [Sat, 24 Mar 2007 19:41:55 +0000 (19:41 +0000)]
Added my copyright to the README files, as requested.

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

17 years agoSetting the 'In Interpolation' of a waypoint to 'Constant' causes the left hand side...
dooglus [Sat, 24 Mar 2007 17:37:05 +0000 (17:37 +0000)]
Setting the 'In Interpolation' of a waypoint to 'Constant' causes the left hand side of the waypoint to be set to colour #C70000.  Then selecting that waypoint causes it to be highlighted, by multiplying the colour by 1.3.  0xc7 * 1.3 > 0x100, so the colour was wrapping around to 0 and the highlighted waypoint was appearing black.

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

17 years agoI've no idea what "the audio display" is all about, but disp_audio is a pointer,...
dooglus [Sat, 24 Mar 2007 16:22:30 +0000 (16:22 +0000)]
I've no idea what "the audio display" is all about, but disp_audio is a pointer, and so needs to be dereferenced before use.

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

17 years agoFix a bug where inactive layers (transform, scale, etc) were having an effect on...
dooglus [Sat, 24 Mar 2007 02:32:23 +0000 (02:32 +0000)]
Fix a bug where inactive layers (transform, scale, etc) were having an effect on the bounding rectangle.  Notice the change brings this function's behaviour into line with that of get_color() and hit_check() in this file.

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

17 years agoZoom layers change the size of their content's bounding box. Fixed the get_full_boun...
dooglus [Fri, 23 Mar 2007 21:06:51 +0000 (21:06 +0000)]
Zoom layers change the size of their content's bounding box.  Fixed the get_full_bounding_rect() function to reflect this.

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

17 years agoStretch layers change the size of their content's bounding box. Wrote a get_full_bou...
dooglus [Fri, 23 Mar 2007 20:46:58 +0000 (20:46 +0000)]
Stretch layers change the size of their content's bounding box.  Wrote a get_full_bounding_rect() function to reflect this.

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

17 years agoFixed indentation.
dooglus [Fri, 23 Mar 2007 18:03:35 +0000 (18:03 +0000)]
Fixed indentation.

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

17 years agoRemoved unused members p1, p2, diff.
dooglus [Fri, 23 Mar 2007 17:01:41 +0000 (17:01 +0000)]
Removed unused members p1, p2, diff.

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

17 years agoAdded missing $Id$ keyword to the header.
dooglus [Fri, 23 Mar 2007 16:02:09 +0000 (16:02 +0000)]
Added missing $Id$ keyword to the header.

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

17 years agoDeleting all the verticies from a Curve Gradient used to cause a crash. This stops...
dooglus [Fri, 23 Mar 2007 15:46:54 +0000 (15:46 +0000)]
Deleting all the verticies from a Curve Gradient used to cause a crash.  This stops the crash.  Perhaps a better fix would be to prevent the user ever deleting the last vertex in any bline, but maybe zero-length blines serve some purpose.

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

17 years agoFix "main.cpp:332: warning: comparison between signed and unsigned integer expressions".
dooglus [Fri, 23 Mar 2007 14:08:13 +0000 (14:08 +0000)]
Fix "main.cpp:332: warning: comparison between signed and unsigned integer expressions".

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

17 years agoFix 1368904: disable the timebar instead of hiding it when switching to tools that...
pabs [Fri, 23 Mar 2007 02:39:21 +0000 (02:39 +0000)]
Fix 1368904: disable the timebar instead of hiding it when switching to tools that require the timebar to be unavailable

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

17 years agoThere wasn't an icon for the 'Curves' dialog, so I made one. It's brown and ugly...
dooglus [Fri, 23 Mar 2007 00:28:54 +0000 (00:28 +0000)]
There wasn't an icon for the 'Curves' dialog, so I made one.  It's brown and ugly, but better than nothing.

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

17 years agoFix 1684240 (as it applies to conical gradients): Conical Gradient layers suffer...
dooglus [Thu, 22 Mar 2007 18:54:54 +0000 (18:54 +0000)]
Fix 1684240 (as it applies to conical gradients):  Conical Gradient layers suffer from the same problem as linear gradients.

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

17 years agoFix 1684240 (as it applies to spiral gradients): Spiral Gradient layers suffer from...
dooglus [Thu, 22 Mar 2007 18:46:09 +0000 (18:46 +0000)]
Fix 1684240 (as it applies to spiral gradients):  Spiral Gradient layers suffer from the same problem as linear gradients.

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

17 years agoFix 1684240 (as it applies to radial gradients): Radial Gradient layers suffer from...
dooglus [Thu, 22 Mar 2007 18:28:52 +0000 (18:28 +0000)]
Fix 1684240 (as it applies to radial gradients):  Radial Gradient layers suffer from the same problem as linear gradients.

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

17 years agoFix 1684240 (as it applies to curve gradients): Curve Gradient layers suffer from...
dooglus [Thu, 22 Mar 2007 18:15:09 +0000 (18:15 +0000)]
Fix 1684240 (as it applies to curve gradients):  Curve Gradient layers suffer from the same problem as linear gradients.

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

17 years agoSplit the 'auto connect' option into 2 separate options:
dooglus [Thu, 22 Mar 2007 13:27:51 +0000 (13:27 +0000)]
Split the 'auto connect' option into 2 separate options:

  * auto extend: extend existing lines when the new line joins on to one of their ends
  * auto link:   make a new line, but link its start and/or end ducks to existing nearby ducks

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

17 years agoFix 1684240: Several places were multiplying the A component of the color by itself...
dooglus [Wed, 21 Mar 2007 11:18:45 +0000 (11:18 +0000)]
Fix 1684240: Several places were multiplying the A component of the color by itself where they shouldn't.  Use premult_alpha() rather than operator* to prevent this.

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

17 years agoSwitch the order of the #includes to fix a build problem on WIN32. winnt.h defines...
dooglus [Wed, 21 Mar 2007 08:42:05 +0000 (08:42 +0000)]
Switch the order of the #includes to fix a build problem on WIN32.  winnt.h defines DELETE, which gtkmm headers fix, but only if winnt.h is included before the gtkmm headers are.  winnt.h is being included by ETL/clock, so move that include up.

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

17 years agoPartially fix 1684240: gets rid of most of the artifacts
dooglus [Wed, 21 Mar 2007 01:54:19 +0000 (01:54 +0000)]
Partially fix 1684240: gets rid of most of the artifacts

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

17 years agoAllow the hex text area to be used to edit the colour of existing layers.
dooglus [Tue, 20 Mar 2007 00:15:49 +0000 (00:15 +0000)]
Allow the hex text area to be used to edit the colour of existing layers.

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

17 years agoRemoved spurious space from menu entry.
dooglus [Mon, 19 Mar 2007 22:23:31 +0000 (22:23 +0000)]
Removed spurious space from menu entry.

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

17 years agoUse 'Name' and 'Value' as the column headers in the Params dialog instead of 'Param...
dooglus [Mon, 19 Mar 2007 16:11:31 +0000 (16:11 +0000)]
Use 'Name' and 'Value' as the column headers in the Params dialog instead of 'Param' and 'ValueBase'.

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

17 years agoMembers param_tree_view() and get_param_tree_view() were doing exactly the same thing...
dooglus [Mon, 19 Mar 2007 16:09:53 +0000 (16:09 +0000)]
Members param_tree_view() and get_param_tree_view() were doing exactly the same thing.  Commented out param_tree_view() and use get_param_tree_view() everywhere.

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

17 years agoFixed a crash. Revision 354's addition of the 'mutable String hex_;' in class Color...
dooglus [Sun, 18 Mar 2007 13:47:07 +0000 (13:47 +0000)]
Fixed a crash.  Revision 354's addition of the 'mutable String hex_;' in class Color somehow caused studio to crash when opening any file.  This revision makes the new member static instead.

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

17 years agoAdd comment from darco about what the "Palette Browser" dock dialog was intended...
pabs [Sun, 18 Mar 2007 13:13:42 +0000 (13:13 +0000)]
Add comment from darco about what the "Palette Browser" dock dialog was intended to be for and TODO item about it.

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

17 years agoImplements PXEGeek's http://wiki.synfig.com/Wish_list entry: "Optionally display...
dooglus [Sun, 18 Mar 2007 02:38:18 +0000 (02:38 +0000)]
Implements PXEGeek's wiki.synfig.com/Wish_list entry: "Optionally display RGB in Hex in Color dialog"

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

17 years agoEmpty directory. Use "svn switch http://svn.voria.com/empty ." in any directory...
dooglus [Sat, 17 Mar 2007 08:59:06 +0000 (08:59 +0000)]
Empty directory.  Use "svn switch svn.voria.com/empty ." in any directory whose contents you don't want "svn update" to track.

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

17 years agoTurns out this isn't needed. I can just:
dooglus [Sat, 17 Mar 2007 08:43:32 +0000 (08:43 +0000)]
Turns out this isn't needed.  I can just:

  switch http://svn.voria.com/code/synfig-studio/trunk synfig-studio

to get it to skip the tags and branches.

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

17 years agoEmpty directory. Use "svn switch http://svn.voria.com/empty ." in any directory...
dooglus [Fri, 16 Mar 2007 23:33:41 +0000 (23:33 +0000)]
Empty directory.  Use "svn switch svn.voria.com/empty ." in any directory whose contents you don't want "svn update" to track.

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

17 years agoSpelling correction.
dooglus [Fri, 16 Mar 2007 18:35:04 +0000 (18:35 +0000)]
Spelling correction.

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

17 years agoSpelling correction.
dooglus [Fri, 16 Mar 2007 18:32:05 +0000 (18:32 +0000)]
Spelling correction.

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

17 years agoFix 1682016: default to 700x510 instead; big enough to be useful, not too big to...
dooglus [Fri, 16 Mar 2007 15:46:18 +0000 (15:46 +0000)]
Fix 1682016: default to 700x510 instead; big enough to be useful, not too big to fit on a 800x600 screen.  Perhaps eventually we should save the size between sessions.

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

17 years agoFix 1438545: hide and reshow the sketch after 'undo' or 'clear' to ensure it's update...
dooglus [Fri, 16 Mar 2007 14:44:45 +0000 (14:44 +0000)]
Fix 1438545: hide and reshow the sketch after 'undo' or 'clear' to ensure it's updated on screen.  There may be a better way to do this; I've left that as a \todo in the code.

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

17 years agoDisable the "Palette Browser" dock dialog since it does nothing and has no code....
pabs [Fri, 16 Mar 2007 12:31:41 +0000 (12:31 +0000)]
Disable the "Palette Browser" dock dialog since it does nothing and has no code. Leaving the files there in case darco remembers it's destiny.

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

17 years agoBacking out inadvertant change r338.
dooglus [Fri, 16 Mar 2007 09:52:55 +0000 (09:52 +0000)]
Backing out inadvertant change r338.

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

17 years agoOnly substitute @synfigincludedir@ in once.
dooglus [Fri, 16 Mar 2007 09:39:22 +0000 (09:39 +0000)]
Only substitute @synfigincludedir@ in once.

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

17 years agoEnabled $Id$ expansion. Removed 2 *.tmp.* generated files. Fixed the Makefile to...
dooglus [Fri, 16 Mar 2007 08:54:17 +0000 (08:54 +0000)]
Enabled $Id$ expansion.  Removed 2 *.tmp.* generated files.  Fixed the Makefile to generate the *.tmp.* files rather than using svn-controlled files.

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

17 years agoEnabled $Id$ expansion.
dooglus [Fri, 16 Mar 2007 08:32:21 +0000 (08:32 +0000)]
Enabled $Id$ expansion.

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

17 years agoEnabled $Id$ expansion.
dooglus [Fri, 16 Mar 2007 08:24:58 +0000 (08:24 +0000)]
Enabled $Id$ expansion.

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