[Swfdec-commits] Branch '0.8' - 4 commits - configure.ac NEWS test/swfdec_test.c

Benjamin Otte company at kemper.freedesktop.org
Sun Dec 21 10:35:22 PST 2008


 NEWS               |   11 +++++++++++
 configure.ac       |    2 +-
 test/swfdec_test.c |   15 ++++++++++++---
 3 files changed, 24 insertions(+), 4 deletions(-)

New commits:
commit a2429a12e00f13efecc6e6208a2c4cd3ef3b89b6
Author: Benjamin Otte <otte at gnome.org>
Date:   Sun Dec 21 18:18:33 2008 +0100

    back to development

diff --git a/configure.ac b/configure.ac
index d1e8df8..f7375fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ([2.58])
 
 m4_define(swfdec_major, 0)
 m4_define(swfdec_minor, 8)
-m4_define(swfdec_micro, 4)
+m4_define(swfdec_micro, 5)
 AC_INIT(swfdec,[swfdec_major.swfdec_minor.swfdec_micro])
 
 SWFDEC_VERSION_MAJOR=swfdec_major
commit 55989b2288cf7e6d3d54054d2db2e6de60daa79a
Author: Benjamin Otte <otte at gnome.org>
Date:   Sun Dec 21 18:11:27 2008 +0100

    release 0.8.4

diff --git a/configure.ac b/configure.ac
index 20e04e6..d1e8df8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ([2.58])
 
 m4_define(swfdec_major, 0)
 m4_define(swfdec_minor, 8)
-m4_define(swfdec_micro, 3)
+m4_define(swfdec_micro, 4)
 AC_INIT(swfdec,[swfdec_major.swfdec_minor.swfdec_micro])
 
 SWFDEC_VERSION_MAJOR=swfdec_major
commit 09ca766afd146622e3c2cf78bbc40f5a7e82161d
Author: Benjamin Otte <otte at gnome.org>
Date:   Sun Dec 21 18:10:04 2008 +0100

    update for 0.8.4

diff --git a/NEWS b/NEWS
index 7c39d8b..32677da 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,15 @@
 
+ 0.8.4 ("H264")
+
+Another stable release.
+- support H264, so all Youtube videos play again
+- fix various portability issues for ARM
+- fix rare crash with gotoAndPlay() function
+- fix rare crasher with setTarget() function
+- fix crashes in BitmapData.copyPixels()
+- zero memory before rendering in PulseAudio backend
+- improve Cairo check in testsuite
+
  0.8.2 ("Gametrailers")
 
 Here's the first stable release.
commit dd5425ba9ed52f7791d8fff1bf77bae8bb3fe2cd
Author: Benjamin Otte <otte at gnome.org>
Date:   Fri Dec 19 17:09:54 2008 +0100

    improve Cairo test
    
    - check against runtime cairo version, not compile-time
    - limit tests to Cairo 1.8 as 1.9 changed rendering output slightly
      which makes tests fail

diff --git a/test/swfdec_test.c b/test/swfdec_test.c
index 2da4af0..b75ce78 100644
--- a/test/swfdec_test.c
+++ b/test/swfdec_test.c
@@ -41,13 +41,22 @@ check_cairo (gboolean verbose)
 #define CAIRO_MIN_MAJOR 1
 #define CAIRO_MIN_MINOR 7
 #define CAIRO_MIN_MICRO 1
-  if (CAIRO_VERSION < CAIRO_VERSION_ENCODE (CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO)) {
+#define CAIRO_MAX_MAJOR 1
+#define CAIRO_MAX_MINOR 9
+#define CAIRO_MAX_MICRO 0
+  if (cairo_version () < CAIRO_VERSION_ENCODE (CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO)) {
     g_print ("ERROR: Cairo version %s cannot be used to run tests; must be at least %u.%u.%u.\n",
-	CAIRO_VERSION_STRING, CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO);
+	cairo_version_string (), CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO);
     return FALSE;
+#ifdef CAIRO_MAX_MAJOR
+  } else if (cairo_version () >= CAIRO_VERSION_ENCODE (CAIRO_MAX_MAJOR, CAIRO_MAX_MINOR, CAIRO_MAX_MICRO)) {
+    g_print ("ERROR: Cairo version %s cannot be used to run tests; must be less than %u.%u.%u.\n",
+	cairo_version_string (), CAIRO_MAX_MAJOR, CAIRO_MAX_MINOR, CAIRO_MAX_MICRO);
+    return FALSE;
+#endif
   } else if (verbose) {
     g_print ("   OK: Cairo version %s is ok; must be at least %u.%u.%u.\n",
-	CAIRO_VERSION_STRING, CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO);
+	cairo_version_string (), CAIRO_MIN_MAJOR, CAIRO_MIN_MINOR, CAIRO_MIN_MICRO);
   }
   return TRUE;
 }


More information about the Swfdec-commits mailing list