[EGIT] [core/elementary] master 01/01: elm_gengrid:Added Eolian changes in gengrid reorder Api

2015-08-14 Thread Anand
jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=33056b10c19aefdfcfd214a71cc102515e33ebec

commit 33056b10c19aefdfcfd214a71cc102515e33ebec
Author: Anand anand...@samsung.com
Date:   Fri Aug 14 09:21:02 2015 +0300

elm_gengrid:Added Eolian changes in gengrid reorder Api

Summary:
Modified gengrid reorder Api's(elm_gengrid_reorder_mode_start, 
elm_gengrid_reorder_mode_stop,
elm_gengrid_reorder_type_set) in Eolian format.

Test Plan: elementry_test-gengrid-gengrid_focus

Reviewers: seoz, raster, Hermet, JackDanielZ

Subscribers: cedric, JackDanielZ, mvsovani, singh.amitesh, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2510
---
 src/lib/elm_gengrid.c| 21 ++---
 src/lib/elm_gengrid.eo   | 31 ++
 src/lib/elm_gengrid_legacy.h | 45 
 3 files changed, 37 insertions(+), 60 deletions(-)

diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index f31ece6..4d47952 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -4926,33 +4926,24 @@ elm_gengrid_item_cursor_engine_only_get(const 
Elm_Object_Item *eo_it)
else return it-cursor_engine_only;
 }
 
-EAPI void
-elm_gengrid_reorder_mode_start(Evas_Object *obj, Ecore_Pos_Map tween_mode)
+EOLIAN static void
+_elm_gengrid_reorder_mode_start(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, 
Ecore_Pos_Map tween_mode)
 {
-   ELM_GENGRID_CHECK(obj);
-   ELM_GENGRID_DATA_GET(obj, sd);
-
sd-reorder_mode = EINA_TRUE;
sd-reorder.tween_mode = tween_mode;
sd-reorder.type = ELM_GENGRID_REORDER_TYPE_NORMAL;
 }
 
-EAPI void
-elm_gengrid_reorder_mode_stop(Evas_Object *obj)
+EOLIAN static void
+_elm_gengrid_reorder_mode_stop(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd)
 {
-   ELM_GENGRID_CHECK(obj);
-   ELM_GENGRID_DATA_GET(obj, sd);
-
sd-reorder_mode = EINA_FALSE;
sd-reorder.tween_mode = -1;
 }
 
-EAPI void
-elm_gengrid_reorder_type_set(Evas_Object *obj, Elm_Gengrid_Reorder_Type type)
+EOLIAN static void
+_elm_gengrid_reorder_type_set(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, 
Elm_Gengrid_Reorder_Type type)
 {
-   ELM_GENGRID_CHECK(obj);
-   ELM_GENGRID_DATA_GET(obj, sd);
-
sd-reorder.type = type;
 }
 
diff --git a/src/lib/elm_gengrid.eo b/src/lib/elm_gengrid.eo
index 7befb97..b2110ee 100644
--- a/src/lib/elm_gengrid.eo
+++ b/src/lib/elm_gengrid.eo
@@ -1,5 +1,11 @@
 import elm_general;
 
+enum Elm.Gengrid.Reorder_Type
+{
+   normal, [[ normal reorder type ]]
+   swap[[ swap reorder type ]]
+}
+
 class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
Evas.Clickable_Interface, Elm_Interface_Atspi_Widget_Action,
Elm_Interface_Atspi_Selection)
@@ -170,6 +176,16 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
 highlight: bool;
  }
   }
+  @property reorder_type {
+ set {
+[[ Set the Gengrid reorder type
+   @since 1.11
+]]
+ }
+ values {
+type: Elm.Gengrid.Reorder_Type; [[ Reorder type value ]]
+ }
+  }
   @property item_size {
  set {
 [[Set the size for the items of a given gengrid widget.
@@ -502,6 +518,21 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
 @in flags: Elm_Glob_Match_Flags; [[Search flags.]]
  }
   }
+  reorder_mode_start {
+ [[
+Starts the reorder mode of Gengrid
+@since 1.10
+ ]]
+ params {
+@in tween_mode: Ecore_Pos_Map; [[ Position mappings for animation 
]]
+ }
+  }
+  reorder_mode_stop {
+ [[
+Stops the reorder mode of Gengrid
+@since 1.10
+ ]]
+  }
}
implements {
   class.constructor;
diff --git a/src/lib/elm_gengrid_legacy.h b/src/lib/elm_gengrid_legacy.h
index 7632923..7fdd731 100644
--- a/src/lib/elm_gengrid_legacy.h
+++ b/src/lib/elm_gengrid_legacy.h
@@ -211,50 +211,5 @@ EINA_DEPRECATED EAPI void  
elm_gengrid_last_page_get(const Evas_Object *
  */
 EINA_DEPRECATED EAPI void  elm_gengrid_page_bring_in(const Evas_Object 
*obj, int h_pagenumber, int v_pagenumber);
 
-typedef enum _Elm_Gengrid_Reorder_Type
-{
-   ELM_GENGRID_REORDER_TYPE_NORMAL,
-   ELM_GENGRID_REORDER_TYPE_SWAP
-} Elm_Gengrid_Reorder_Type;
-
-/**
- * Enable the gengrid widget mode reordered with keys
- *
- * @param obj The gengrid object
- * @param tween_mode Position mappings for animation
- * @see _Ecore_Map_Pos
- *
- * @see elm_gengrid_reorder_mode_stop()
- * @since 1.10
- *
- * @ingroup Gengrid
- */
-EAPI voidelm_gengrid_reorder_mode_start(Evas_Object 
*obj, Ecore_Pos_Map tween_mode);
-
-/**
- * Stop the gengrid widget mode reorder.
- *
- * @param obj The gengrid object
- *
- * @see elm_gengrid_reorder_mode_start()
- * @since 1.10
- *

[EGIT] [website/www-content] master 01/01: Wiki page ubuntu-start changed with summary [] by Philippe Jean Guillaumie

2015-08-14 Thread Philippe Jean Guillaumie
WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=4fa947dd769f4ac26cde5bfb8135efacb3c3c939

commit 4fa947dd769f4ac26cde5bfb8135efacb3c3c939
Author: Philippe Jean Guillaumie bat...@sfr.fr
Date:   Fri Aug 14 02:25:37 2015 -0700

Wiki page ubuntu-start changed with summary [] by Philippe Jean Guillaumie
---
 pages/distros/ubuntu-start.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pages/distros/ubuntu-start.txt b/pages/distros/ubuntu-start.txt
index cee86f5..03df794 100644
--- a/pages/distros/ubuntu-start.txt
+++ b/pages/distros/ubuntu-start.txt
@@ -60,3 +60,6 @@ Then go to [[../docs-efl-start]] to learn how to install the 
whole thing ;-)
 
 //Alternatively, if you do not want to delve into the many subtleties of the 
compilation process — while retaining a fully functional Ubuntu system when 
build has finished — check out batden's bash script here://
 [[http://ubuntuforums.org/showthread.php?t=2274982]]
+
+//This script also takes care of installing all the necessary dependencies: 
the list of the dependencies is slightly different from those listed above.
+//

-- 




[EGIT] [core/elementary] master 01/01: focus: add the comment about focus origin property.

2015-08-14 Thread Jaehwan Kim
jaehwan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=6cd4d0918fd1846625d925a2129efa24568516d9

commit 6cd4d0918fd1846625d925a2129efa24568516d9
Author: Jaehwan Kim jae.hwan@samsung.com
Date:   Fri Aug 14 23:59:06 2015 +0900

focus: add the comment about focus origin property.
---
 src/lib/elm_widget.eo | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_widget.eo b/src/lib/elm_widget.eo
index 8520c9b..808a348 100644
--- a/src/lib/elm_widget.eo
+++ b/src/lib/elm_widget.eo
@@ -366,6 +366,7 @@ abstract Elm.Widget (Evas.Object_Smart, 
Elm_Interface_Atspi_Accessible, Elm_Inte
   }
   @property focus_origin {
  get {
+[[Get the origination of the focus. Arrow key, tab key, mouse or 
deletion of an object.]]
 return: Elm_Focus_Direction;
  }
   }

-- 




[EGIT] [apps/express] master 01/01: express: Use getcwd instead of getting current working directory based on process id

2015-08-14 Thread Chris Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/express.git/commit/?id=0e044cd9cb2aa63c017590a9f8bf92589c43ddfe

commit 0e044cd9cb2aa63c017590a9f8bf92589c43ddfe
Author: Chris Michael cp.mich...@samsung.com
Date:   Fri Aug 14 10:16:14 2015 -0400

express: Use getcwd instead of getting current working directory based on 
process id

Signed-off-by: Chris Michael cp.mich...@samsung.com
---
 src/bin/utils.c | 47 +--
 1 file changed, 5 insertions(+), 42 deletions(-)

diff --git a/src/bin/utils.c b/src/bin/utils.c
index 18c5640..d767849 100644
--- a/src/bin/utils.c
+++ b/src/bin/utils.c
@@ -573,44 +573,6 @@ _homedir_get(char *buf, size_t size)
return eina_strlcpy(buf, home, size)  size;
 }
 
-Eina_Bool
-_cwd_get(const Evas_Object *obj EINA_UNUSED, char *buf, size_t size)
-{
-   pid_t pid;
-
-   pid = getpid();
-
-#if defined (__MacOSX__) || (defined (__MACH__)  defined (__APPLE__))
-
-   struct proc_vnodepathinfo vpi;
-
-   if (proc_pidinfo(pid, PROC_PIDVNODEPATHINFO, 0, vpi, sizeof(vpi)) = 0)
- {
-ERR(_(Could not get working directory of pid %i: %s),
-pid, strerror(errno));
-return EINA_FALSE;
- }
-   memcpy(buf, vpi.pvi_cdir.vip_path, size);
-
-#else
-
-   char procpath[PATH_MAX];
-   ssize_t siz;
-
-   snprintf(procpath, sizeof(procpath), /proc/%d/cwd, pid);
-   if ((siz = readlink(procpath, buf, size))  1)
- {
-ERR(Could not load working directory %s: %s,
-procpath, strerror(errno));
-return EINA_FALSE;
- }
-   buf[siz] = 0;
-
-#endif
-
-   return EINA_TRUE;
-}
-
 static char *
 _home_path_get(const Evas_Object *obj EINA_UNUSED, const char *relpath)
 {
@@ -624,12 +586,13 @@ _home_path_get(const Evas_Object *obj EINA_UNUSED, const 
char *relpath)
 }
 
 static char *
-_cwd_path_get(const Evas_Object *obj, const char *relpath)
+_cwd_path_get(const char *relpath)
 {
char cwdpath[PATH_MAX], tmppath[PATH_MAX];
+   char *tmp = NULL;
 
-   if (!_cwd_get(obj, cwdpath, sizeof(cwdpath)))
- return NULL;
+   tmp = getcwd(cwdpath, PATH_MAX);
+   if (!tmp) return NULL;
 
eina_str_join(tmppath, sizeof(tmppath), '/', cwdpath, relpath);
return strdup(tmppath);
@@ -648,7 +611,7 @@ _util_local_path_get(const Evas_Object *obj, const char 
*relpath)
else if (eina_str_has_prefix(relpath, ~/))
  return _home_path_get(obj, relpath + 2);
else
- return _cwd_path_get(obj, relpath);
+ return _cwd_path_get(relpath);
 }
 
 Eina_Bool

-- 




[EGIT] [core/efl] master 01/01: evas_image: convert more docs

2015-08-14 Thread Daniel Kolesa
q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=11101af3bb5e7cd2beb6baf67d345194d5611d00

commit 11101af3bb5e7cd2beb6baf67d345194d5611d00
Author: Daniel Kolesa d.kol...@osg.samsung.com
Date:   Fri Aug 14 16:21:51 2015 +0100

evas_image: convert more docs
---
 src/lib/evas/canvas/evas_image.eo | 327 --
 1 file changed, 139 insertions(+), 188 deletions(-)

diff --git a/src/lib/evas/canvas/evas_image.eo 
b/src/lib/evas/canvas/evas_image.eo
index c12f5bb..04e679c 100644
--- a/src/lib/evas/canvas/evas_image.eo
+++ b/src/lib/evas/canvas/evas_image.eo
@@ -310,302 +310,253 @@ class Evas.Image (Evas.Object, Efl.File, Efl.Image, 
Efl.Gfx.Fill, Efl.Gfx.View,
   }
   @property border_center_fill {
  set {
-/*@
-Sets @b how the center part of the given image object (not the
-borders) should be drawn when Evas is rendering it.
-
-This function sets how the center part of the image object's source
-image is to be drawn, which must be one of the values in
-#Evas_Border_Fill_Mode. By center we mean the complementary part of
-that defined by evas_object_image_border_set(). This one is very
-useful for making frames and decorations. You would most probably
-also be using a filled image (as in evas_object_image_filled_set())
-to use as a frame.
-
-@see evas_object_image_border_center_fill_get() */
+[[Sets how the center part of the given image object (not the
+  borders) should be drawn when Evas is rendering it.
+
+  This function sets how the center part of the image object's
+  source image is to be drawn, which must be one of the values
+  in #Evas_Border_Fill_Mode. By center we mean the complementary
+  part of that defined by @.border.set. This one is very useful
+  for making frames and decorations. You would most probably
+  also be using a filled image (as in @.filled.set) to use as
+  a frame.
+]]
  }
  get {
-/*@
-Retrieves @b how the center part of the given image object (not the
-borders) is to be drawn when Evas is rendering it.
-
-@return fill Fill mode of the center region of @p obj (a value in
-#Evas_Border_Fill_Mode).
-
-See @ref evas_object_image_fill_set() for more details. */
+[[Retrieves how the center part of the given image object (not
+  the borders) is to be drawn when Evas is rendering it.
+]]
  }
  values {
-fill: Evas_Border_Fill_Mode; /*@ Fill mode of the center region of 
@p obj (a value in
-#Evas_Border_Fill_Mode). */
+fill: Evas_Border_Fill_Mode; [[Fill mode of the center region
+   of $obj (a value in  
#Evas_Border_Fill_Mode).]]
  }
   }
   @property source_visible {
  set {
-/*@
-Set the source object to be visible or not.
+[[Set the source object to be visible or not.
 
-If the @p visible set to $false, the source object of the proxy(@p 
obj
-) will be invisible.
+  If $visible is set to $false, the source object of the
+  proxy ($obj) will be invisible.
 
-This API works differently to evas_object_show() and 
evas_object_hide().
-Once source object is hidden by evas_object_hide() then the proxy 
object will
-be hidden as well. Actually in this case both objects are excluded 
from the
-Evas internal update circle.
+  This API works differently to \@ref evas_object_show and
+  \@ref evas_object_hide. Once source object is hidden, the
+  proxy object will be hidden as well. Actually in this case
+  both objects are excluded from the Evas internal update circle.
 
-By this API, instead, one can toggle the visibility of a proxy's 
source
-object remaining the proxy visibility untouched.
+  By this API, instead, one can toggle the visibility of a
+  proxy's source  object remaining the proxy visibility untouched.
 
-@warning If the all of proxies are deleted, then the source 
visibility of the
-source object will be cancelled.
+  Warning: If the all of proxies are deleted, then the source
+  visibility of the source object will be cancelled.
 
-@see evas_object_image_source_visible_get()
-@see evas_object_image_source_set()
-@see evas_object_show()
-@see evas_object_hide()
-@since 1.8 */
+  @since 1.8
+]]
  }
  get {
-/*@
-  

[EGIT] [core/efl] efl-1.15 01/01: ecore-wl: do not nul terminate drops

2015-08-14 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch efl-1.15.

http://git.enlightenment.org/core/efl.git/commit/?id=e004a76d1967e6cc0408c100f5623fd074483f64

commit e004a76d1967e6cc0408c100f5623fd074483f64
Author: Mike Blumenkrantz zm...@osg.samsung.com
Date:   Thu Aug 13 15:47:09 2015 -0400

ecore-wl: do not nul terminate drops

the application can do this based on mime types. we should not be
nul terminating incremental drop data

@fix
---
 src/lib/ecore_wayland/ecore_wl_dnd.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/lib/ecore_wayland/ecore_wl_dnd.c 
b/src/lib/ecore_wayland/ecore_wl_dnd.c
index 5165328..20c4129 100644
--- a/src/lib/ecore_wayland/ecore_wl_dnd.c
+++ b/src/lib/ecore_wayland/ecore_wl_dnd.c
@@ -670,14 +670,13 @@ _ecore_wl_dnd_selection_data_read(void *data, 
Ecore_Fd_Handler *fd_handler EINA_
  }
else
  {
-event-data = malloc(len + 1);
+event-data = malloc(len);
 if (!event-data)
   {
  free(event);
  return ECORE_CALLBACK_CANCEL;
   }
-strncpy(event-data, buffer, len);
-event-data[len] = '\0';
+memcpy(event-data, buffer, len);
 event-len = len;
 event-done = EINA_FALSE;
 ret = ECORE_CALLBACK_RENEW;

-- 




[EGIT] [core/efl] master 01/01: evas_object, evas_image: partial doc conversion

2015-08-14 Thread Daniel Kolesa
q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f00013b018ef93780cfc630f38cac72a52babf76

commit f00013b018ef93780cfc630f38cac72a52babf76
Author: Daniel Kolesa d.kol...@osg.samsung.com
Date:   Fri Aug 14 13:20:17 2015 +0100

evas_object,evas_image: partial doc conversion
---
 src/lib/evas/canvas/evas_image.eo  | 402 -
 src/lib/evas/canvas/evas_object.eo | 228 ++---
 2 files changed, 280 insertions(+), 350 deletions(-)

diff --git a/src/lib/evas/canvas/evas_image.eo 
b/src/lib/evas/canvas/evas_image.eo
index 58a7baf..c12f5bb 100644
--- a/src/lib/evas/canvas/evas_image.eo
+++ b/src/lib/evas/canvas/evas_image.eo
@@ -5,236 +5,192 @@ class Evas.Image (Evas.Object, Efl.File, Efl.Image, 
Efl.Gfx.Fill, Efl.Gfx.View,
methods {
   @property load_dpi {
  set {
-/*@
-Set the DPI resolution of an image object's source image.
-
-This function sets the DPI resolution of a given loaded canvas
-image. Most useful for the SVG image loader.
+[[Set the DPI resolution of an image object's source image.
 
-@see evas_object_image_load_dpi_get() */
+  This function sets the DPI resolution of a given loaded canvas
+  image. Most useful for the SVG image loader.
+]]
  }
  get {
-/*@
-Get the DPI resolution of a loaded image object in the canvas.
+[[Get the DPI resolution of a loaded image object in the canvas.
 
-@return The DPI resolution of the given canvas image.
-
-This function returns the DPI resolution of the given canvas image.
-
-@see evas_object_image_load_dpi_set() for more details */
+  This function returns the DPI resolution of the given canvas
+  image.
+]]
  }
  values {
-dpi: double; /*@ The new DPI resolution. */
+dpi: double; [[The DPI resolution.]]
  }
   }
 
   @property source_clip {
  set {
-/*@
-Clip the proxy object with the source object's clipper.
+[[Clip the proxy object with the source object's clipper.
 
-@see evas_object_clip_set()
-@see evas_object_image_source_set()
-@since 1.8 */
+  @since 1.8
+]]
  }
  get {
-/*@
-Determine whether an object is clipped by source object's clipper.
+[[Determine whether an object is clipped by source object's
+  clipper.
 
-@return @c EINA_TRUE if source clip is enabled, @c EINA_FALSE 
otherwise.
-
-@see evas_object_clip_set()
-@see evas_object_image_source_set()
-@see evas_object_image_source_clip_set()
-@since 1.8 */
+  @since 1.8
+]]
  }
  values {
-source_clip: bool; /*@ whether @p obj is clipped by the source 
clipper.
-(@c EINA_TRUE) or not (@c EINA_FALSE) */
+source_clip: bool; [[Whether $obj is clipped by the source
+clipper ($true) or not ($false).]]
  }
   }
   @property source {
  set {
-/*@
-Set the source object on an image object to used as a @b proxy.
-
-@return @c EINA_TRUE on success, @c EINA_FALSE on error.
-
-If an image object is set to behave as a @b proxy, it will mirror
-the rendering contents of a given @b source object in its drawing
-region, without affecting that source in any way. The source must
-be another valid Evas object. Other effects may be applied to the
-proxy, such as a map (see evas_object_map_set()) to create a
-reflection of the original object (for example).
-
-Any existing source object on @p obj will be removed after this
-call. Setting @p src to @c NULL clears the proxy object (not in
-proxy state anymore).
-
-@warning You cannot set a proxy as another proxy's source.
-
-@see evas_object_image_source_get()
-@see evas_object_image_source_unset()
-@see evas_object_image_source_visible_set() */
+[[Set the source object on an image object to used as a proxy.
+
+  If an image object is set to behave as a proxy, it will mirror
+  the rendering contents of a given source object in its drawing
+  region, without affecting that source in any way. The source
+  must be another valid Evas object. Other effects may be
+  applied to the proxy, such as a map (see
+  \@ref evas_object_map_set) to create a reflection of the
+  original object (for example).
+
+  Any existing source object on 

[EGIT] [core/efl] master 01/01: edje: set file permission back to 644

2015-08-14 Thread Amitesh Singh
ami pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2710f1fabbbe89c1902becb2c275c4d740e4b3f3

commit 2710f1fabbbe89c1902becb2c275c4d740e4b3f3
Author: Amitesh Singh amitesh...@samsung.com
Date:   Fri Aug 14 15:28:58 2015 +0530

edje: set file permission back to 644
---
 src/lib/edje/edje_object.eo | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo
old mode 100755
new mode 100644

--