2008-01-19 Jan Michael Alonzo <jmalonzo@unpluggable.com>
authoralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Jan 2008 15:46:23 +0000 (15:46 +0000)
committeralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Jan 2008 15:46:23 +0000 (15:46 +0000)
        Reviewed by Alp Toker.

        Add svg foreign object and svg experimental to the GTK+/autotools
        build system.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29670 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
WebCore/ChangeLog
WebCore/GNUmakefile.am
configure.ac

index d55907470162ce8681adf0e8ebb3152981e827c3..291b617f850b2040f19a34787a308b35c43eeb91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-01-19  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
+
+        Reviewed by Alp Toker.
+
+        Add svg foreign object and svg experimental to the GTK+/autotools
+        build system.
+
+        * configure.ac:
+
 2008-01-15  Alp Toker  <alp@atoker.com>
 
         Rubber-stamped by Anders.
index d7165eb67f01cf8c8e6f2041f8ed3390ab8940f8..f602048e81c9c9a2465ea51b3775b132cd9017a3 100644 (file)
@@ -1,3 +1,12 @@
+2008-01-19  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
+
+        Reviewed by Alp Toker.
+
+        Add svg foreign object and svg experimental to the GTK+/autotools
+        build system.
+
+        * GNUmakefile.am:
+
 2008-01-19  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Maciej Stachowiak.
index 1cd9cb5b40c213f5c1a1feb1c2fafaad93a5ce2b..047c5ae838b0b2e959f38b6a754985ba57cf412d 100644 (file)
@@ -1850,6 +1850,12 @@ SVG_FEATURES += ENABLE_SVG_USE=1
 webcore_cppflags += -DENABLE_SVG_USE=1
 endif
 
+if ENABLE_SVG_FOREIGN_OBJECT
+FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG_FOREIGN_OBJECT=1
+SVG_FEATURES += ENABLE_SVG_FOREIGN_OBJECT=1
+webcore_cppflags += -DENABLE_SVG_FOREIGN_OBJECT=1
+endif
+
 if ENABLE_SVG_FONTS
 FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG_FONTS=1
 SVG_FEATURES += ENABLE_SVG_FONTS=1
index 27608677e14c3125f7d1de32cd22c8505d654b3a..5e2453e7405aa1c954c7efcf359de0c1c40de320 100644 (file)
@@ -244,6 +244,25 @@ AC_ARG_ENABLE(xslt,
               [],[enable_xslt="yes"])
 AC_MSG_RESULT([$enable_xslt])
 
+# check whether to enable SVG experimental features
+# Enable all SVG if it is
+AC_MSG_CHECKING([whether to enable SVG experimental features])
+AC_ARG_ENABLE(svg_experimental,
+              AC_HELP_STRING([--enable-svg-experimental],
+                             [enable support for SVG experimental features [default=no]]),
+              [],[enable_svg_experimental="no"])
+AC_MSG_RESULT([$enable_svg_experimental])
+
+if test "$enable_svg_experimental" = "yes"; then
+   enable_svg=yes
+   enable_svg_animation=yes
+   enable_svg_filters=yes
+   enable_svg_fonts=yes
+   enable_svg_foreign_object=yes
+   enable_svg_as_image=yes
+   enable_svg_use_element=yes
+fi
+
 # check whether to enable SVG support
 AC_MSG_CHECKING([whether to enable SVG support])
 AC_ARG_ENABLE(svg,
@@ -276,6 +295,14 @@ AC_ARG_ENABLE(svg_fonts,
               [],[enable_svg_fonts="no"])
 AC_MSG_RESULT([$enable_svg_fonts])
 
+# check whether to enable foreign objects support for SVG
+AC_MSG_CHECKING([whether to enable support for SVG foreign objects])
+AC_ARG_ENABLE(svg_foreign_object,
+              AC_HELP_STRING([--enable-svg-foreign-object],
+                             [enable support for SVG foreign objects (experimental) [default=no]]),
+              [],[enable_svg_foreign_object="no"])
+AC_MSG_RESULT([$enable_svg_foreign_object])
+
 # check whether to enable SVG As Image support
 AC_MSG_CHECKING([whether to enable SVG as Image support])
 AC_ARG_ENABLE(svg_as_image,
@@ -359,6 +386,7 @@ fi
 if test "$enable_svg_animation" = "yes" || \
    test "$enable_svg_filters" = "yes" || \
    test "$enable_svg_fonts" = "yes" || \
+   test "$enable_svg_foreign_object" = "yes" || \
    test "$enable_svg_as_image" = "yes" || \
    test "$enable_svg_use_element" = "yes"; then
    svg_flags=yes
@@ -394,6 +422,7 @@ AM_CONDITIONAL([ENABLE_SVG],[test "$enable_svg" = "yes"])
 AM_CONDITIONAL([ENABLE_SVG_ANIMATION],[test "$enable_svg_animation" = "yes"])
 AM_CONDITIONAL([ENABLE_SVG_FILTERS],[test "$enable_svg_filters" = "yes"])
 AM_CONDITIONAL([ENABLE_SVG_FONTS],[test "$enable_svg_fonts" = "yes"])
+AM_CONDITIONAL([ENABLE_SVG_FOREIGN_OBJECT],[test "$enable_svg_foreign_object" = "yes"])
 AM_CONDITIONAL([ENABLE_SVG_AS_IMAGE],[test "$enable_svg_as_image" = "yes"])
 AM_CONDITIONAL([ENABLE_SVG_USE],[test "$enable_svg_use_element" = "yes"])
 AM_CONDITIONAL([ENABLE_COVERAGE],[test "$enable_coverage" = "yes"])
@@ -423,6 +452,7 @@ WebKit was configured with the following options:
  SVG animation support             : $enable_svg_animation
  SVG filters support               : $enable_svg_filters
  SVG fonts support                 : $enable_svg_fonts
+ SVG foreign object support        : $enable_svg_foreign_object
  SVG as image support              : $enable_svg_as_image
  SVG use element support           : $enable_svg_use_element
  XPATH support                     : $enable_xpath