pabs [Sun, 27 May 2007 23:38:58 +0000 (23:38 +0000)]
Change the default user dir to ~/.synfig for Linux & Unix users
git-svn-id: http://svn.voria.com/code@485
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Sun, 27 May 2007 23:38:06 +0000 (23:38 +0000)]
Make the save button on the input devices dialog make it clear that saving input device settings is not yet supported.
git-svn-id: http://svn.voria.com/code@484
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 8 May 2007 16:36:22 +0000 (16:36 +0000)]
Patch 1714885: Windows version can be built with OpenEXR support now. This patch enables OpenEXR support and includes required files into the installer.
git-svn-id: http://svn.voria.com/code@483
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 6 May 2007 22:19:03 +0000 (22:19 +0000)]
Don't always display the "0f" at the end of times with zero frames. I want to be able to see "1m, 2m, 3m" when I zoom out of the time track, not "1m 0f, 2m 0f, 3m 0f". Similarly with minutes and seconds.
git-svn-id: http://svn.voria.com/code@482
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 23 Apr 2007 09:34:16 +0000 (09:34 +0000)]
Fix 1672033: when deciding which curve we are closest to, ignore the very ends of each curve. This allows us to better decide between 2 curves which end in exactly the same place.
git-svn-id: http://svn.voria.com/code@481
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 20 Apr 2007 07:55:50 +0000 (07:55 +0000)]
I forgot to commit this as part of r472. Sorry!
git-svn-id: http://svn.voria.com/code@480
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 18 Apr 2007 10:37:40 +0000 (10:37 +0000)]
Partially fix 1702760: stop compiler warning about layeractionmanager.cpp.
git-svn-id: http://svn.voria.com/code@479
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 18 Apr 2007 10:19:19 +0000 (10:19 +0000)]
Oops. Correcting previous commit.
git-svn-id: http://svn.voria.com/code@478
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 18 Apr 2007 10:13:20 +0000 (10:13 +0000)]
Partially fix 1702760: stop compiler warning about dockmanager.cpp.
git-svn-id: http://svn.voria.com/code@477
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 18 Apr 2007 09:55:49 +0000 (09:55 +0000)]
Partially fix 1702760: stop compiler warning about mod_openexr/mptr_openexr.cpp, mod_openexr/trgt_openexr.cpp, and mod_ppm/trgt_ppm.cpp.
git-svn-id: http://svn.voria.com/code@476
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 18 Apr 2007 09:47:41 +0000 (09:47 +0000)]
Partially fix 1702760: stop compiler warning about renderer_canvas.cpp.
git-svn-id: http://svn.voria.com/code@475
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 18 Apr 2007 09:45:40 +0000 (09:45 +0000)]
Partially fix 1702760: stop compiler warning about trgt_png.cpp.
git-svn-id: http://svn.voria.com/code@474
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 18 Apr 2007 09:26:15 +0000 (09:26 +0000)]
Partially fix 1702760: stop compiler warning about valuenodedynamiclistinsertsmart.cpp.
git-svn-id: http://svn.voria.com/code@473
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 18 Apr 2007 09:14:33 +0000 (09:14 +0000)]
Added a slower but more accurate find_closest() routine to _bezier.h. Added a parameter to the curve gradient layer to optionally use the new code.
git-svn-id: http://svn.voria.com/code@472
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Wed, 18 Apr 2007 04:05:41 +0000 (04:05 +0000)]
Add links to the wiki and tracker to the synfigstudio TODO
git-svn-id: http://svn.voria.com/code@471
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Tue, 17 Apr 2007 08:46:29 +0000 (08:46 +0000)]
Add a non-working, partial implementation of MNG output
git-svn-id: http://svn.voria.com/code@470
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 15 Apr 2007 15:11:32 +0000 (15:11 +0000)]
Fix 1698604: Moved the quick_rng class into its own header, since it was present in 2 different source files. Use 'uint32_t' rather than 'long' as the return type of the methods which expect to be returning 32 bit values.
git-svn-id: http://svn.voria.com/code@469
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 13 Apr 2007 12:39:43 +0000 (12:39 +0000)]
Use a couple of macros instead of magic constants
git-svn-id: http://svn.voria.com/code@468
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 21:59:43 +0000 (21:59 +0000)]
Removed leading whitespace from the biggest 5 example files. This took pirates.sif from 24M down to 7.2M.
git-svn-id: http://svn.voria.com/code@467
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 17:50:38 +0000 (17:50 +0000)]
Fix 1699325: only add on time for exactly one extra frame
git-svn-id: http://svn.voria.com/code@466
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 15:10:11 +0000 (15:10 +0000)]
Typos.
git-svn-id: http://svn.voria.com/code@465
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 13:49:18 +0000 (13:49 +0000)]
Typo.
git-svn-id: http://svn.voria.com/code@464
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 12:49:50 +0000 (12:49 +0000)]
More shuffling stuff around without changing anything. Hopefully it's a bit clearer what's going on now.
git-svn-id: http://svn.voria.com/code@463
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 12:19:19 +0000 (12:19 +0000)]
At last - a real change! I think this is the bug I've been looking for. Don't add positions into the mix when transforming tangents; keep positions and tangents separate. We still want to transform the tangents, like we do for positions, but don't add tangents to positions.
git-svn-id: http://svn.voria.com/code@462
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 12:15:45 +0000 (12:15 +0000)]
A few more comments and other small changes.
git-svn-id: http://svn.voria.com/code@461
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 11:52:57 +0000 (11:52 +0000)]
Lots more changes which hopefully change nothing but the clarity.
git-svn-id: http://svn.voria.com/code@460
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 09:34:48 +0000 (09:34 +0000)]
There was a large lump of code inside an "if (false)" block. I commented it all out to make it clearer that it's not being used.
git-svn-id: http://svn.voria.com/code@459
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 09:31:59 +0000 (09:31 +0000)]
Variable 'blend_time' isn't needed - it's just a copy of 'off_time'. Use off_time instead.
git-svn-id: http://svn.voria.com/code@458
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 09:23:05 +0000 (09:23 +0000)]
Removed some old commented code; replaced with a comment saying that it was there, and what it did.
git-svn-id: http://svn.voria.com/code@457
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Thu, 12 Apr 2007 09:22:01 +0000 (09:22 +0000)]
No change to functionality, just some variable renaming for clarity, and commenting.
git-svn-id: http://svn.voria.com/code@456
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 11 Apr 2007 20:01:19 +0000 (20:01 +0000)]
While looking into bug 1696331, I noticed that interpolation from zero tangents was being treated differently in different verticies. Turns out it was using a radial interpolation, which doesn't make much sense for zero vectors (since they have no 'angle' to interpolate from). Use linear interpolation in this case.
git-svn-id: http://svn.voria.com/code@455
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Wed, 11 Apr 2007 14:35:44 +0000 (14:35 +0000)]
Disable the 'set_transient_for()' call unless environment variable SYNFIG_TRANSIENT_DIALOGS is set. This call was having a bad effect on KDE, making the dialog windows disappear and reappear as the mouse was moved from window to window.
git-svn-id: http://svn.voria.com/code@454
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 10 Apr 2007 21:30:17 +0000 (21:30 +0000)]
Partially fix 1696331. This isn't the correct fix, but it does make at least the test case in the bug report work a lot better.
git-svn-id: http://svn.voria.com/code@453
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 10 Apr 2007 15:23:05 +0000 (15:23 +0000)]
Fix 1697753: compare times with times, not with frame counts
git-svn-id: http://svn.voria.com/code@452
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 10 Apr 2007 15:10:26 +0000 (15:10 +0000)]
Fix 1697728: Code for 'End' was commented out, and code for 'Begin' was going to the end for some reason.
git-svn-id: http://svn.voria.com/code@451
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Tue, 10 Apr 2007 13:15:42 +0000 (13:15 +0000)]
Fixed a typo.
git-svn-id: http://svn.voria.com/code@450
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 9 Apr 2007 19:32:22 +0000 (19:32 +0000)]
Initialise the priority when constructing a new Activepoint. Valgrind was complaining before, and random priorities were being written to .sif files.
git-svn-id: http://svn.voria.com/code@449
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 9 Apr 2007 16:09:58 +0000 (16:09 +0000)]
Include the 4 keyframe lock icons in the lists of images to install and uninstall.
git-svn-id: http://svn.voria.com/code@448
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 9 Apr 2007 16:07:16 +0000 (16:07 +0000)]
Add 'winding style' control, allowing the user to specify how regions are filled in.
git-svn-id: http://svn.voria.com/code@447
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Mon, 9 Apr 2007 15:55:12 +0000 (15:55 +0000)]
Fix 1695755: Ignore adjacent points if they are in exactly the same place.
Fix 1692825: Render all cusps, even the first one. Only display a cusp if tangents are split. This gives the user per-vertex control over the rendering of cusps.
Fix bug: The beginning isn't rounded if the first point has a zero tangent
Fix bug: Strange artifacts sometimes appear at the verticies of outlines.
Fix bug: Rounded ends were missing a point. This doesn't show up with the default 50 points per rounded end, but reducing it to 5 or so shows up the problem.
git-svn-id: http://svn.voria.com/code@446
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 8 Apr 2007 04:05:59 +0000 (04:05 +0000)]
Fix 1696279: Check for and skip whitespace before checking for priorities.
git-svn-id: http://svn.voria.com/code@445
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sun, 8 Apr 2007 03:42:41 +0000 (03:42 +0000)]
Fix 1696282. To find the extension, look for the last '.' in the output filename, not the first.
git-svn-id: http://svn.voria.com/code@444
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Sat, 7 Apr 2007 21:55:35 +0000 (21:55 +0000)]
Fixed typo.
git-svn-id: http://svn.voria.com/code@443
1f10aa63-cdf2-0310-b900-
c93c546f37ac
pabs [Sat, 7 Apr 2007 01:44:08 +0000 (01:44 +0000)]
Fix typo in r428 (csdlib -> cstdlib)
git-svn-id: http://svn.voria.com/code@442
1f10aa63-cdf2-0310-b900-
c93c546f37ac
dooglus [Fri, 6 Apr 2007 14:28:25 +0000 (14:28 +0000)]
Set the dialog windows to be 'transient for' the toolbox window. In XFCE4 this makes all the dialogs jump to the front when the toolbox is brought to the front. In GNOME this was happening already.
Ideally, selecting any workspace window should bring all dialogs to the front.
git-svn-id: http://svn.voria.com/code@441
1f10aa63-cdf2-0310-b900-
c93c546f37ac
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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