2008-05-02 Jan Michael Alonzo <jmalonzo@unpluggable.com>
authoralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 May 2008 22:21:09 +0000 (22:21 +0000)
committeralp@webkit.org <alp@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 May 2008 22:21:09 +0000 (22:21 +0000)
        Reviewed by Eric.

        https://bugs.webkit.org/show_bug.cgi?id=18811
        Enable dashboard and offline web apps in autotools

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

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

index dd2d5be..5cd4b75 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-05-02  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
+
+        Reviewed by Eric.
+
+        https://bugs.webkit.org/show_bug.cgi?id=18811
+        Enable dashboard and offline web apps in autotools
+
+        * configure.ac:
+
 2008-05-01  Marc Ordinas i Llopis  <marc.ordinasillopis@collabora.co.uk>
 
         Reviewed by Alp Toker.
index 8548948..072b04b 100644 (file)
@@ -1,3 +1,12 @@
+2008-05-02  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
+
+        Reviewed by Eric.
+
+        https://bugs.webkit.org/show_bug.cgi?id=18811
+        Enable dashboard and offline web apps in autotools
+
+        * GNUmakefile.am:
+
 2008-05-02  Anders Carlsson  <andersca@apple.com>
 
         Reviewed by Sam.
index fa32c32..06f320a 100644 (file)
@@ -4,8 +4,8 @@ WebCore := $(srcdir)/WebCore
 FEATURE_DEFINES_JAVASCRIPT := LANGUAGE_JAVASCRIPT=1
 SVG_FEATURES :=
 
-WEBCORE_CSS_PROPERTY_NAMES = $(WebCore)/css/CSSPropertyNames.in
-WEBCORE_CSS_VALUE_KEYWORDS = $(WebCore)/css/CSSValueKeywords.in
+WEBCORE_CSS_PROPERTY_NAMES := $(WebCore)/css/CSSPropertyNames.in
+WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
 
 webcore_cppflags += \
        -I$(srcdir)/WebCore \
@@ -1144,6 +1144,29 @@ IDL_BINDINGS += \
 endif # END ENABLE_CROSS_DOCUMENT_MESSAGING
 
 # ----
+# Offline Web Applications
+# ----
+if ENABLE_OFFLINE_WEB_APPLICATIONS
+FEATURE_DEFINES_JAVASCRIPT += ENABLE_OFFLINE_WEB_APPLICATIONS=1
+
+webcore_cppflags += \
+       -DENABLE_OFFLINE_WEB_APPLICATIONS=1
+
+webcore_sources += \
+       WebCore/bindings/js/JSDOMApplicationCacheCustom.cpp \
+       WebCore/loader/appcache/ApplicationCache.cpp \
+       WebCore/loader/appcache/ApplicationCacheGroup.cpp \
+       WebCore/loader/appcache/ApplicationCacheResource.cpp \
+       WebCore/loader/appcache/ApplicationCacheStorage.cpp \
+       WebCore/loader/appcache/DOMApplicationCache.cpp \
+       WebCore/loader/appcache/ManifestParser.cpp
+
+webcore_built_sources += \
+       DerivedSources/JSDOMApplicationCache.cpp
+
+endif # END ENABLE_OFFLINE_WEB_APPLICATIONS
+
+# ----
 # Dashboard Support
 # ----
 if ENABLE_DASHBOARD_SUPPORT
@@ -1153,11 +1176,6 @@ webcore_cppflags += \
 
 WEBCORE_CSS_PROPERTY_NAMES += $(WebCore)/css/DashboardSupportCSSPropertyNames.in
 
-else
-
-webcore_cppflags += \
-       -DENABLE_DASHBOARD_SUPPORT=0
-
 endif # END ENABLE_DASHBOARD_SUPPORT
 
 # ----
@@ -2186,6 +2204,7 @@ vpath %.idl = \
     $(WebCore)/css \
     $(WebCore)/dom \
     $(WebCore)/html \
+    $(WebCore)/loader/appcache \
     $(WebCore)/page \
     $(WebCore)/storage \
     $(WebCore)/svg \
index a058980..24488ef 100644 (file)
@@ -258,6 +258,14 @@ AC_ARG_ENABLE(debug,
               [],[enable_debug="no"])
 AC_MSG_RESULT([$enable_debug])
 
+# check whether to enable dashboard support
+AC_MSG_CHECKING([whether to enable Dashboard support])
+AC_ARG_ENABLE(dashboard_support,
+              AC_HELP_STRING([--enable-dashboard-support],
+                             [enable Dashboard support [default=yes]]),
+              [],[enable_dashboard_support="yes"])
+AC_MSG_RESULT([$enable_dashboard_support])
+
 # check whether to build with cross-document messaging support
 AC_MSG_CHECKING([whether to enable HTML5 cross-document messaging support])
 AC_ARG_ENABLE(cross_document_messaging,
@@ -266,6 +274,14 @@ AC_ARG_ENABLE(cross_document_messaging,
               [],[enable_cross_document_messaging="yes"])
 AC_MSG_RESULT([$enable_cross_document_messaging])
 
+# check whether to enable HTML5 Offline Web Applications support
+AC_MSG_CHECKING([whether to enable HTML5 offline web applications support])
+AC_ARG_ENABLE(offline_web_applications,
+              AC_HELP_STRING([--enable-offline-web-applications],
+                             [enable HTML5 offline web applications support [default=yes]]),
+              [],[enable_offline_web_applications="yes"])
+AC_MSG_RESULT([$enable_offline_web_applications])
+
 # check whether to enable HTML5 client-side session and persitent storage support
 AC_MSG_CHECKING([whether to enable HTML5 client-side session and persistent storage support])
 AC_ARG_ENABLE(dom_storage,
@@ -510,6 +526,7 @@ AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"])
 AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"])
 AM_CONDITIONAL([ENABLE_DASHBOARD_SUPPORT],[test "$enable_dashboard_support" = "yes"])
 AM_CONDITIONAL([ENABLE_CROSS_DOCUMENT_MESSAGING],[test "$enable_cross_document_messaging" = "yes"])
+AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"])
 AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"])
 AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"])
 AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"])
@@ -548,6 +565,7 @@ Build configuration:
 Features:
  Dashboard support                                        : $enable_dashboard_support
  HTML5 cross-document messaging                           : $enable_cross_document_messaging
+ HTML5 offline web applications support                   : $enable_offline_web_applications
  HTML5 client-side session and persistent storage support : $enable_dom_storage
  HTML5 client-side database storage support               : $enable_database
  HTML5 video element support                              : $enable_video