[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. c14a3b56b5c57d7731a2
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. c14a3b56b5c57d7731a25e5a9625bf01dc18ceb4 |
Date: |
Wed, 15 Dec 2010 12:54:01 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via c14a3b56b5c57d7731a25e5a9625bf01dc18ceb4 (commit)
via 676ff8a5711f3f98b10470258e7159d5e25d8635 (commit)
via 9d3fd43592b9a245885da8f916d0556cf51185bd (commit)
from bc5014d77c4168c79663263980a2377ab226c533 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=c14a3b56b5c57d7731a25e5a9625bf01dc18ceb4
commit c14a3b56b5c57d7731a25e5a9625bf01dc18ceb4
Author: Benjamin Wolsey <address@hidden>
Date: Wed Dec 15 13:54:11 2010 +0100
Update news.
diff --git a/NEWS b/NEWS
index fecd246..e0b65e4 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@ YYYY/MM/DD
Improvements since 0.8.8 release are:
* Fix swapped _framesloaded and _totalframes properties.
+ * Fixes for several crashes, with better automated testing of the
+ entire ActionScript API for input sanitization.
* Improved ActionScript performance processing, especially
for interactive applications.
* npapi plugin: fix relative urls resolution in presence of <base> tag
@@ -19,6 +21,9 @@ Improvements since 0.8.8 release are:
* fb-gnash: allow specifying size and offset of rendering "window".
* dump-gnash: improved speed, sync and flexibility.
* JPEG screenshot output.
+ * Support for linear RGB interpolation mode in gradient fills.
+ * Clipboard setting (GTK only).
+ * More flash.geom.Rectangle functions.
Gnash 0.8.8
2010/08/17
http://git.savannah.gnu.org/cgit//commit/?id=676ff8a5711f3f98b10470258e7159d5e25d8635
commit 676ff8a5711f3f98b10470258e7159d5e25d8635
Author: Benjamin Wolsey <address@hidden>
Date: Wed Dec 15 13:43:09 2010 +0100
Implement alpha.
diff --git a/librender/agg/LinearRGB.h b/librender/agg/LinearRGB.h
index 71f501d..de3e8e2 100644
--- a/librender/agg/LinearRGB.h
+++ b/librender/agg/LinearRGB.h
@@ -73,7 +73,8 @@ public:
return color_type(
cdiff(_c1.r, _c2.r, ratio),
cdiff(_c1.g, _c2.g, ratio),
- cdiff(_c1.b, _c2.b, ratio));
+ cdiff(_c1.b, _c2.b, ratio),
+ _c1.a + (_c2.a - _c1.a) * ratio);
}
private:
http://git.savannah.gnu.org/cgit//commit/?id=9d3fd43592b9a245885da8f916d0556cf51185bd
commit 9d3fd43592b9a245885da8f916d0556cf51185bd
Author: Benjamin Wolsey <address@hidden>
Date: Wed Dec 15 13:42:35 2010 +0100
Test that alpha is linear.
diff --git a/testsuite/misc-ming.all/GradientFillTest.as
b/testsuite/misc-ming.all/GradientFillTest.as
index 366c596..eb1dc3d 100644
--- a/testsuite/misc-ming.all/GradientFillTest.as
+++ b/testsuite/misc-ming.all/GradientFillTest.as
@@ -320,6 +320,19 @@ with(grad) {
"linearRGB", 3.5);
draw100x100Box(x, y, grad);
+ // Shape 24
+ x = 0;
+ y += 100;
+
+ fillType = "linear";
+ colors = [0xff0000, 0x00ff00];
+ alphas = [100, 0];
+ ratios = [0, 0xff];
+ matrix.createGradientBox(90, 90, 0, x, y);
+ beginGradientFill(fillType, colors, alphas, ratios, matrix, "pad",
+ "linearRGB", 3.5);
+ draw100x100Box(x, y, grad);
+
};
grad.onRollOver = function() {};
@@ -373,7 +386,7 @@ checkSquare = function(x, y, ar, bmp, fails) {
low = 4;
high = size - low;
mid = size / 2;
-#if 0
+#if 1
t = [
"0x" + testbmp.getPixel(x + low, y + low).toString(16),
"0x" + testbmp.getPixel(x + low, y + mid).toString(16),
@@ -425,6 +438,8 @@ checkSquare(200, 300,
[0xfefe,0xe2fe,0xfefe,0xe2fe,0xfefe00,0xe2fe,0xfefe,0xe2fe
checkSquare(300, 300,
[0xffff,0xc3ff,0xffff,0xc3ff,0xffff00,0xc3ff,0xffff,0xc3ff,0xffff], bmp);
checkSquare(400, 300,
[0xffff,0xe1ff,0xffff,0xc6ff,0x3636c8,0xc6ff,0xffff,0xf2f20c,0xffff], bmp);
checkSquare(500, 300,
[0xfa3a00,0xfa3a00,0xfa3a00,0xbbbb00,0xbbbb00,0xbbbb00,0x3afa00,0x3afa00,0x3afa00],
bmp);
+
+checkSquare(0, 400,
[0xfa420b,0xfa420b,0xfa420b,0xdddd7f,0xdddd7f,0xdddd7f,0xf6fff4,0xf6fff4,0xf6fff4],
bmp);
totals();
stop();
-----------------------------------------------------------------------
Summary of changes:
NEWS | 5 +++++
librender/agg/LinearRGB.h | 3 ++-
testsuite/misc-ming.all/GradientFillTest.as | 17 ++++++++++++++++-
3 files changed, 23 insertions(+), 2 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. c14a3b56b5c57d7731a25e5a9625bf01dc18ceb4,
Benjamin Wolsey <=