Three more patches:

* Update build instructions
* Removed unnecessary panning animation functions as panning is
handled by WebKit/EFL
* Added -Wall flag in Makefile.am

Thanks,

--
Andre Pedralho
Index: src/bin/Makefile.am
===================================================================
--- src/bin/Makefile.am	(revision 41080)
+++ src/bin/Makefile.am	(working copy)
@@ -8,6 +8,7 @@
 eve_navigator.c
 
 eve_CPPFLAGS = \
+-Wall \
 -I$(top_srcdir) \
 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
 @EVE_CFLAGS@
Index: README
===================================================================
--- README	(revision 41080)
+++ README	(working copy)
@@ -5,13 +5,18 @@
 
 Webkit-EFL port:
 
-Download git tree from George Staikos (warning, it's huge!):
+Download git tree from Gitorious (warning, it's huge!):
 
-    git clone git://code.staikos.net/webkit
+    git clone git://gitorious.org/webkit-efl/webkit-efl.git webkit
 
 Build and install:
 
     cd webkit
-    git checkout origin/kenneth/efl-port
-    ./autogen.sh --with-port=efl --enable-web-workers=no
-    make all install
+    WebKitInstallationPrefix=<installation prefix> WebKitTools/Scripts/build-webkit --efl --makeargs=<make arguments> --no-video
+    make install -C WebKitBuild/Release
+
+Eve:
+    ./autogen.sh
+    make
+    make install
+    ./src/bin/eve (ensure it is installed before running)
Index: src/bin/eve_scrolled_webview.c
===================================================================
--- src/bin/eve_scrolled_webview.c	(revision 41080)
+++ src/bin/eve_scrolled_webview.c	(working copy)
@@ -62,7 +62,6 @@
 static void
 _eve_scrolled_webview_on_key_down(void *data, Evas *e, Evas_Object *obj, void *event_info)
 {
-   Eve_Scrolled_Webview_Data *priv = data;
    Evas_Event_Key_Down *ev = event_info;
    char *value;
 
@@ -84,55 +83,12 @@
      ev->event_flags &= ~EVAS_EVENT_FLAG_ON_HOLD; /* unset on_hold */
 }
 
-static int
-_eve_scrolled_webview_pan_anim(void *data)
-{
-   Eve_Scrolled_Webview_Data *priv = data;
-   Evas_Coord x, y, dx, dy;
-
-   evas_pointer_output_xy_get(priv->base.evas, &x, &y);
-   dx = priv->mouse_move.x - x ;
-   dy = priv->mouse_move.y - y;
-
-   if ((dx == 0) && (dy == 0))
-     return 1;
-
-   _eve_scrolled_webview_scroll_by(priv, dx, dy);
-
-   priv->mouse_move.x = x;
-   priv->mouse_move.y = y;
-
-   return 1;
-}
-
 static void
-_eve_scrolled_webview_pan_anim_start(Eve_Scrolled_Webview_Data *priv)
-{
-   if (priv->mouse_move.anim)
-     return;
-   priv->mouse_move.anim = ecore_animator_add
-     (_eve_scrolled_webview_pan_anim, priv);
-}
-
-static void
-_eve_scrolled_webview_pan_anim_stop(Eve_Scrolled_Webview_Data *priv)
-{
-   if (!priv->mouse_move.anim)
-     return;
-   ecore_animator_del(priv->mouse_move.anim);
-   priv->mouse_move.anim = NULL;
-}
-
-static void
 _eve_scrolled_webview_on_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info)
 {
    Eve_Scrolled_Webview_Data *priv = data;
-   Evas_Event_Mouse_Down *ev = event_info;
-   bool accepted;
 
    evas_object_focus_set(priv->webview, 1);
-
-   _eve_scrolled_webview_pan_anim_stop(priv);
 }
 
 static void
@@ -140,8 +96,6 @@
 {
    EVE_SCROLLED_WEBVIEW_DATA_GET(o, priv);
 
-   _eve_scrolled_webview_pan_anim_stop(priv);
-
    evas_object_del(priv->webview); /* edje does not delete its children */
 
    eina_stringshare_del(priv->file);
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to