[EGIT] [core/efl] master 01/01: efl - edje_cc - fix default state checks in previous commit

2015-01-12 Thread Carsten Haitzler
raster pushed a commit to branch master.

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

commit 82014cad2c11b40e455e0578d22f09b04ebd1e5c
Author: Carsten Haitzler (Rasterman) ras...@rasterman.com
Date:   Mon Jan 12 18:01:34 2015 +0900

efl - edje_cc - fix default state checks in previous commit

this fixes 0cb33a46758bd1f66653e97d7ad027a9529b1279
@fix
---
 src/bin/edje/edje_cc_handlers.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index dfb8ed4..df2b1d2 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -6478,7 +6478,7 @@ st_collections_group_parts_part_description_state(void)
if (ep-other.desc_count) ed = ep-other.desc[ep-other.desc_count - 1];
 
s = parse_str(0);
-   if (!strcmp(s, default))
+   if ((!current_group_inherit)  (!strcmp(s, default)))
  {
 double v;
 
@@ -6500,7 +6500,7 @@ st_collections_group_parts_part_description_state(void)
 file_in, line - 1, s);
 exit(-1);
  }
-   if (ed == ep-default_desc)
+   if ((!current_group_inherit)  (ed == ep-default_desc))
  {
 if (strcmp(s, default))
   {

-- 




Re: [E-devel] [EGIT] [core/elementary] master 01/01: +elm_win_fake(), ELM_WIN_FAKE type

2015-01-12 Thread Tom Hacohen
Mike, ffs, start conforming to the commit guidelines.


As for the content itself, it's very wrong and ugly.
Why the fuck would you add a new internal parameter to a user facing 
function? I will fix this solution, though I suspect there are better 
solutions in general.

--
Tom.


On 10/01/15 05:32, Mike Blumenkrantz wrote:
 discomfitor pushed a commit to branch master.

 http://git.enlightenment.org/core/elementary.git/commit/?id=63a5cdf0f8516c16a62233da0c2af0e10a13264b

 commit 63a5cdf0f8516c16a62233da0c2af0e10a13264b
 Author: Mike Blumenkrantz zm...@osg.samsung.com
 Date:   Sat Jan 10 00:33:55 2015 -0500

  +elm_win_fake(), ELM_WIN_FAKE type

  this is a giant hack to provide widget parenting in e. do not use this 
 function, do not use this type, do not even read the related documentation.

  @feature
 ---
   src/lib/elm_win.c| 73 
 +---
   src/lib/elm_win.eo   |  1 +
   src/lib/elm_win_common.h |  4 +++
   src/lib/elm_win_legacy.h | 19 +
   4 files changed, 69 insertions(+), 28 deletions(-)

 diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
 index e5de5e8..3de1efd 100644
 --- a/src/lib/elm_win.c
 +++ b/src/lib/elm_win.c
 @@ -21,10 +21,11 @@ static const Elm_Win_Trap *trap = NULL;
   #define TRAP(sd, name, ...) \
 do\
   {   \
 -   if ((!trap) || (!trap-name) ||  \
 -   ((trap-name)  \
 -(trap-name(sd-trap_data, sd-obj, ## __VA_ARGS__ \
 - ecore_evas_##name(sd-ee, ##__VA_ARGS__);  \
 +   if (sd-type != ELM_WIN_FAKE)\
 + if ((!trap) || (!trap-name) ||\
 + ((trap-name)\
 +  (trap-name(sd-trap_data, sd-obj, ## __VA_ARGS__\
 +   ecore_evas_##name(sd-ee, ##__VA_ARGS__);\
   }   \
 while (0)

 @@ -1946,6 +1947,7 @@ _elm_win_xwin_update(Elm_Win_Data *sd)
   {
  const char *s;

 +   if (sd-type == ELM_WIN_FAKE) return;
  _internal_elm_win_xwindow_get(sd);
  if (sd-parent)
{
 @@ -2908,10 +2910,16 @@ elm_win_add(Evas_Object *parent,
   const char *name,
   Elm_Win_Type type)
   {
 -   Evas_Object *obj = eo_add(MY_CLASS, parent, elm_obj_win_constructor(name, 
 type));
 +   Evas_Object *obj = eo_add(MY_CLASS, parent, elm_obj_win_constructor(name, 
 type, NULL));
  return obj;
   }

 +EAPI Evas_Object *
 +elm_win_fake(Ecore_Evas *ee)
 +{
 +   return eo_add(MY_CLASS, NULL, elm_obj_win_constructor(NULL, ELM_WIN_FAKE, 
 ee));
 +}
 +
   static void
   _elm_win_cb_hide(void *data EINA_UNUSED,
Evas *e EINA_UNUSED,
 @@ -3008,7 +3016,7 @@ _accel_is_gl(void)
   }

   EOLIAN static void
 -_elm_win_constructor(Eo *obj, Elm_Win_Data *sd, const char *name, 
 Elm_Win_Type type)
 +_elm_win_constructor(Eo *obj, Elm_Win_Data *sd, const char *name, 
 Elm_Win_Type type, Ecore_Evas *oee)
   {
  sd-obj = obj; // in ctor

 @@ -3027,6 +3035,9 @@ _elm_win_constructor(Eo *obj, Elm_Win_Data *sd, const 
 char *name, Elm_Win_Type t

  switch (type)
{
 +  case ELM_WIN_FAKE:
 +tmp_sd.ee = oee;
 +break;
 case ELM_WIN_INLINED_IMAGE:
   if (!parent) break;
 {
 @@ -3366,7 +3377,7 @@ _elm_win_constructor(Eo *obj, Elm_Win_Data *sd, const 
 char *name, Elm_Win_Type t
  SD_CPY(shot.info);
   #undef SD_CPY

 -   if ((trap)  (trap-add))
 +   if ((type != ELM_WIN_FAKE)  (trap)  (trap-add))
sd-trap_data = trap-add(obj);

  /* complementary actions, which depend on final smart data
 @@ -3438,31 +3449,35 @@ _elm_win_constructor(Eo *obj, Elm_Win_Data *sd, const 
 char *name, Elm_Win_Type t
  /* use own version of ecore_evas_object_associate() that does TRAP() */
  ecore_evas_data_set(sd-ee, elm_win, obj);

 -   evas_object_event_callback_add
 - (obj, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
 -  _elm_win_obj_callback_changed_size_hints, obj);
 -
 -   evas_object_intercept_raise_callback_add
 - (obj, _elm_win_obj_intercept_raise, obj);
 -   evas_object_intercept_lower_callback_add
 - (obj, _elm_win_obj_intercept_lower, obj);
 -   evas_object_intercept_stack_above_callback_add
 - (obj, _elm_win_obj_intercept_stack_above, obj);
 -   evas_object_intercept_stack_below_callback_add
 - (obj, _elm_win_obj_intercept_stack_below, obj);
 -   evas_object_intercept_layer_set_callback_add
 - (obj, _elm_win_obj_intercept_layer_set, obj);
 -   evas_object_intercept_show_callback_add
 - (obj, _elm_win_obj_intercept_show, obj);
 +   if (type != 

[EGIT] [core/efl] master 01/01: Eo base: Remove @inout usage.

2015-01-12 Thread Tom Hacohen
tasn pushed a commit to branch master.

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

commit 650f2b314951e85489597a2cbc1ebb17dd429ec1
Author: Tom Hacohen t...@stosb.com
Date:   Mon Jan 12 13:33:39 2015 +

Eo base: Remove @inout usage.

First step towards deprecation of @inout.
---
 src/lib/eo/eo_base.eo | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo
index abec82e..543c35a 100644
--- a/src/lib/eo/eo_base.eo
+++ b/src/lib/eo/eo_base.eo
@@ -78,7 +78,7 @@ Prevents event callbacks from being called for the object. */
   wref_del {
  /*@ Delete the weak reference passed. */
  params {
-@inout Eo* wref;
+@in Eo* wref;
  }
   }
   destructor {
@@ -135,7 +135,7 @@ callbacks of the same priority are called in reverse order 
of creation. */
  /*@ Add a new weak reference to obj.
 This function registers the object handle pointed by wref to obj so when obj 
is deleted it'll be updated to NULL. This functions should be used when you 
want to keep track of an object in a safe way, but you don't want to prevent it 
from being freed. */
  params {
-@inout Eo* wref;
+@out Eo* wref;
  }
   }
   dbg_info_get {

-- 




[EGIT] [core/evas_generic_loaders] master 01/01: release: Update NEWS and bump version for 1.13.0-alpha1 release

2015-01-12 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/evas_generic_loaders.git/commit/?id=b0c3fe85309c0c729e212417c410b4a0490ba574

commit b0c3fe85309c0c729e212417c410b4a0490ba574
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Mon Jan 12 14:09:20 2015 +0100

release: Update NEWS and bump version for 1.13.0-alpha1 release
---
 NEWS | 7 ++-
 configure.ac | 8 
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/NEWS b/NEWS
index 0d5e1a5..07f4f3f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,9 @@
-Evas Generic Loaders 1.12.0
+Evas Generic Loaders 1.13.0
+
+Changes since 1.12.0:
+-
+
+   * No relevant changes.
 
 Changes since 1.11.0:
 -
diff --git a/configure.ac b/configure.ac
index f3980a4..4be8278 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,13 +1,13 @@
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_maj], [1])
-m4_define([v_min], [12])
-m4_define([v_mic], [99])
+m4_define([v_min], [13])
+m4_define([v_mic], [0])
 dnl m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2/dev/null || 
echo 0) | tr -d '\n']))
 ##--   When released, remove the dnl on the below line
 dnl m4_undefine([v_rev])
 ##--   When doing snapshots - change soname. remove dnl on below line
-m4_define([relname], [dev])
+m4_define([relname], [release])
 dnl m4_define([v_rel], [-release relname])
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], 
[m4_define([v_ver], [v_maj.v_min.v_mic])])
@@ -17,7 +17,7 @@ m4_define([lt_age], v_min)
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 
-AC_INIT([evas_generic_loaders], [v_ver], 
[enlightenment-devel@lists.sourceforge.net])
+AC_INIT([evas_generic_loaders], [v_ver-alpha1], 
[enlightenment-devel@lists.sourceforge.net])
 AC_PREREQ([2.52])
 AC_CONFIG_SRCDIR([configure.ac])
 AC_CONFIG_MACRO_DIR([m4])

-- 




[EGIT] [core/emotion_generic_players] master 01/01: release: Update NEWS and bump version for 1.13.0-alpha1 release

2015-01-12 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/emotion_generic_players.git/commit/?id=e54d215042c792ca6ccec6221af9db81fa809a56

commit e54d215042c792ca6ccec6221af9db81fa809a56
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Mon Jan 12 14:10:20 2015 +0100

release: Update NEWS and bump version for 1.13.0-alpha1 release
---
 NEWS | 7 ++-
 configure.ac | 8 
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/NEWS b/NEWS
index e286650..26600f3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,9 @@
-Emotion Generic Players 1.12.0
+Emotion Generic Players 1.13.0
+
+Changes since 1.12.0:
+-
+
+No significant changes in this release.
 
 Changes since 1.11.0:
 -
diff --git a/configure.ac b/configure.ac
index 37177f4..c3f8693 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,13 +1,13 @@
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_maj], [1])
-m4_define([v_min], [12])
-m4_define([v_mic], [99])
+m4_define([v_min], [13])
+m4_define([v_mic], [0])
 dnl m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2/dev/null || 
echo 0) | tr -d '\n']))
 ##--   When released, remove the dnl on the below line
 dnl m4_undefine([v_rev])
 ##--   When doing snapshots - change soname. remove dnl on below line
-m4_define([relname], [dev])
+m4_define([relname], [release])
 dnl m4_define([v_rel], [-release relname])
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])],
@@ -18,7 +18,7 @@ m4_define([lt_age], v_min)
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 
-AC_INIT([emotion_generic_players], [v_ver], 
[enlightenment-devel@lists.sourceforge.net])
+AC_INIT([emotion_generic_players], [v_ver-alpha1], 
[enlightenment-devel@lists.sourceforge.net])
 AC_PREREQ([2.59])
 AC_CONFIG_SRCDIR([configure.ac])
 AC_CONFIG_MACRO_DIR([m4])

-- 




[EGIT] [tools/erigo] master 01/01: DnD: fix

2015-01-12 Thread Yakov Goldberg
yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=e8824b1c6f45ae8bf08c17f552770c3f537e7df9

commit e8824b1c6f45ae8bf08c17f552770c3f537e7df9
Author: Yakov Goldberg yako...@samsung.com
Date:   Mon Jan 12 15:18:13 2015 +0200

DnD: fix

If dragging from factory, don't check in which widget drag started
---
 src/bin/egui_gui/editor.c | 63 ++-
 1 file changed, 35 insertions(+), 28 deletions(-)

diff --git a/src/bin/egui_gui/editor.c b/src/bin/egui_gui/editor.c
index 14566b8..cbf427e 100644
--- a/src/bin/egui_gui/editor.c
+++ b/src/bin/egui_gui/editor.c
@@ -1654,7 +1654,10 @@ _drop_target_drop(void *data, Evas_Object *obj, 
Elm_Selection_Data *ev)
const Gui_Widget *new_wdg = NULL;
const Gui_Context *ctx = _active_context_get();
const Gui_Session *session = gui_context_editor_session_get(ctx);
-   if (strcmp(drag_data, EDITOR_DRAG_DATA))
+   /* If drag_data != EDITOR_DRAG_DATA then new widget was dragged from the 
factory. */
+   Eina_Bool drag_from_factory = !!strcmp(drag_data, EDITOR_DRAG_DATA);
+   /* Drop when dragging from factory. */
+   if (drag_from_factory)
  {
 /* Don't allow to drop Window from factory into Main Obj*/
 if (!strcmp(DB_DEF_WIN_CLASS , drag_data)  wdg)
@@ -1795,9 +1798,8 @@ _drop_target_drop(void *data, Evas_Object *obj, 
Elm_Selection_Data *ev)
  Gui_Memento *memento = NULL;
  memento = gui_memento_new(wdg_eid_get(new_wdg), MEMENTO_PROPERTY, 
old_prop, prop);
 
- /* If drag_data != EDITOR_DRAG_DATA then new widget wass dragged 
from the factory,
-  * so memento must be added to the previous one. */
- if (strcmp(drag_data, EDITOR_DRAG_DATA))
+ /* If new widget was dragged from the factory, memento must be 
added to the previous one. */
+ if (drag_from_factory)
{
   gui_memento_append((Gui_Memento *) 
gui_context_current_memento_get(ctx), memento);
}
@@ -1822,40 +1824,45 @@ _drop_target_drop(void *data, Evas_Object *obj, 
Elm_Selection_Data *ev)
 wdg_data_set(new_wdg, CURSOR_DROP_Y, (void *) (intptr_t) 
di-pointer_y);
 goto end;
  }
-   /* If dragging from one container to another, unpack from the first one*/
-   if (prev_wdg_container  (prev_wdg_container != wdg))
+
+   if (!drag_from_factory)
  {
-Object_Container *_old_prev_container, *_new_prev_container;
-_old_prev_container = (Object_Container *) 
wdg_obj_container_get((Gui_Widget *) prev_wdg_container);
-_new_prev_container = obj_container_copy(_old_prev_container);
-Gui_Memento *memento = gui_memento_new(wdg_eid_get(prev_wdg_container),
+/* If dragging from one container to another, unpack from the first 
one*/
+if (prev_wdg_container  (prev_wdg_container != wdg))
+  {
+ Object_Container *_old_prev_container, *_new_prev_container;
+ _old_prev_container = (Object_Container *) 
wdg_obj_container_get((Gui_Widget *) prev_wdg_container);
+ _new_prev_container = obj_container_copy(_old_prev_container);
+ Gui_Memento *memento = 
gui_memento_new(wdg_eid_get(prev_wdg_container),
 MEMENTO_OBJ_CONTAINER_ITEM,
 _old_prev_container, 
_new_prev_container);
-gui_context_memento_add((Gui_Context *) ctx, memento);
-wdg_obj_container_unset((Gui_Widget *) prev_wdg_container);
-wdg_obj_container_set((Gui_Widget *) prev_wdg_container, 
_new_prev_container);
+ gui_context_memento_add((Gui_Context *) ctx, memento);
+ wdg_obj_container_unset((Gui_Widget *) prev_wdg_container);
+ wdg_obj_container_set((Gui_Widget *) prev_wdg_container, 
_new_prev_container);
 
-/* Take old container's class name from content-property. */
-Object_Container_Item *_ci = 
wdg_obj_container_item_get(prev_wdg_container, -1, wdg_name_get(new_wdg));
-wdg_obj_container_item_remove(prev_wdg_container, _ci);
- }
-   /* If dragging from a widget(window), unset parent*/
-   else if (wdg_parent  (wdg_parent != wdg))
- {
-Gui_Memento *memento = gui_memento_new(wdg_eid_get(new_wdg),
+ /* Take old container's class name from content-property. */
+ Object_Container_Item *_ci = 
wdg_obj_container_item_get(prev_wdg_container, -1, wdg_name_get(new_wdg));
+ wdg_obj_container_item_remove(prev_wdg_container, _ci);
+  }
+/* If dragging from a widget(window), unset parent*/
+else if (wdg_parent  (wdg_parent != wdg))
+  {
+ Gui_Memento *memento = gui_memento_new(wdg_eid_get(new_wdg),
 MEMENTO_WIDGET_PARENT,
 

[EGIT] [core/elementary] annotated tag v1.13.0-alpha1 created (now 865cd9f)

2015-01-12 Thread Enlightenment Git
This is an automated email from the git hooks/post-receive script.

stefan pushed a change to annotated tag v1.13.0-alpha1
in repository core/elementary.

at  865cd9f   (tag)
   tagging  2ccba474a635e45b19ae0ddc1053aa1a290ca6d8 (commit)
  replaces  v1.12.0
 tagged by  Stefan Schmidt
on  Mon Jan 12 14:35:48 2015 +0100

- Log -
v1.13.0-alpha1

Amitesh Singh (4):
  multibuttonentry: use !strcmp() instead for comparison.
  list/genlist/gengrid: Fix memory leak.
  test_glview: Refractored the shader/program log code.
  test_glview_simple: opimize draw code.

Anand (2):
  config: Fixed null return.
  List: Focus highlight when loop is enable

Andrii Kroitor (3):
  elm_box: inappropriate size_hint_align value usage fix
  elm_toolbar: fix memory leak in _elm_toolbar_nearest_visible_item_get
  elm_genlist: add missing callback call

Anil Kumar Nahak (1):
  Slider: Added APIs to set/get slider's indicator visibility mode.

Brian 'morlenxus' Miculcy (1):
  theme/e/shelf: Add a translucent style.

Carsten Haitzler (8):
  elm - UNBREAK BUILD! (#undef... SOMETHING)
  elm - layout - allow elm.txt or elm.text.* parts to signal...
  elm - fix warnings added in f99be3a1d6bdc63153598b592b5437c33da44bf0
  theme - more efm icons from appb
  elm progressbar - fix invalid access to freed units string
  elm filesel - fix eio access of widget data after de in eio threads
  elm - elm image orientation api fix - major bug in implementation
  elm - fix build problem with examples - elocation api

Cedric BAIL (5):
  autotools: fix indentation.
  sphere_hunter: remove warning.
  autotools: build Sphere Hunter with the rest of the examples.
  .gitignore: ignore new example.
  elm_win: make it possible to specify alpha window in the theme directly.

Chinmaya (1):
  Gengrid: Focus highlight should move to nearest visible object.

Christopher Michael (3):
  elementary: Fix DnD to work again in wayland
  elementary: Fix return values to use Eina_Bool
  elementary: Fix issue with event data causing an invalid free

ChunEon Park (82):
  transit: free the map resource.
  test/evasmap3d: let better quality as default.
  didn't intend puhing this patch.
  elementary/config: improve doc.
  config: improve doc.
  win: set config engine on higher priority than DISPLAY env var
  transit: fix warning (different types comparing)
  transit: renamed to explicit examples.
  transit: add bezier curve tween mode example
  transit: adjust control point position range in the bezier sample
  transit: print more detail control points message in the bezier sample
  transit: clean up beizer test code...
  transit: revise sample
  transit: revise tween sample
  genlist: add scroll smart call
  genlist: code refactoring
  genlist: send a disabled signal when the decorated item is unrealized.
  genlist: send a signal internally.
  genlist: send an additional signal
  genlist: remove duplicated signal registration.
  genlist: clean up code.
  genlist: return as possible as soon.
  genlist: removed unnecessary check
  genlist: return as possible as soon
  Revert genlist: return as possible as soon
  Revert genlist: return as possible as soon.
  genlist: use convenient macro.
  genlist: + warning msg for user notice
  genlist: let group item set reorder style as it needs.
  genlist: send reorder signal to decoration item and views.
  genlist: free selected items when genlist is cleared.
  genlist: exceptional handling.
  genlist: code refactoring.
  genlist: refactoring code.
  genlist: code refactoring.
  genlist: code refactoring.
  genlist: code refactoring.
  genlist: code refactoring.
  genlist: code refactoring
  genlist: + null check
  genlist: remove useless deco texts.
  ggenlist: code refactoring.
  genlist: unselect item if the select mode is display only or none.
  genilst: unselect items if the genlist select mode is display only or 
none.
  genlist: use ELM_NEW
  genlist: use macro as possible.
  genlist: add some comment in code.
  genlist: Fix genlist index get bug
  genlist: keep the item class as given argument.
  gelnist: unswallow makes sense. not smart member del.
  genlist: use macro as possible.
  genlist: refactor code.
  colorselector: memory leak fix  in _color_bars_add
  genlist: cancel multi selected items.
  genlist: clean up missing resources in genlist_clear()
  genlist: null check++
  genlist: use simple macro
  genlist: code refactoring.
  genlist: + parent validation check
  genlist: add more arguments validation checks
  theme: fix misprint in popup style alias name
  genlist: fix crash issue.
  

[EGIT] [core/emotion_generic_players] annotated tag v1.13.0-alpha1 created (now 42abff7)

2015-01-12 Thread Enlightenment Git
This is an automated email from the git hooks/post-receive script.

stefan pushed a change to annotated tag v1.13.0-alpha1
in repository core/emotion_generic_players.

at  42abff7   (tag)
   tagging  e54d215042c792ca6ccec6221af9db81fa809a56 (commit)
  replaces  v1.12.0
 tagged by  Stefan Schmidt
on  Mon Jan 12 14:35:43 2015 +0100

- Log -
v1.13.0-alpha1

Stefan Schmidt (3):
  configure: Switch to dev mode again. Merge window for 1.13 is open now.
  build: Remove bzip2 tarballs from distcheck
  release: Update NEWS and bump version for 1.13.0-alpha1 release

---

No new revisions were added by this update.

-- 




[EGIT] [core/evas_generic_loaders] annotated tag v1.13.0-alpha1 created (now e53f941)

2015-01-12 Thread Enlightenment Git
This is an automated email from the git hooks/post-receive script.

stefan pushed a change to annotated tag v1.13.0-alpha1
in repository core/evas_generic_loaders.

at  e53f941   (tag)
   tagging  b0c3fe85309c0c729e212417c410b4a0490ba574 (commit)
  replaces  v1.12.0
 tagged by  Stefan Schmidt
on  Mon Jan 12 14:35:38 2015 +0100

- Log -
v1.13.0-alpha1

Stefan Schmidt (3):
  configure: Switch to dev mode again. Merge window for 1.13 is open now.
  build: Remove bzip2 tarballs from distcheck
  release: Update NEWS and bump version for 1.13.0-alpha1 release

---

No new revisions were added by this update.

-- 




[EGIT] [core/elementary] master 01/01: release: Update NEWS and bump version for 1.13.0-alpha1 release

2015-01-12 Thread Stefan Schmidt
stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=2ccba474a635e45b19ae0ddc1053aa1a290ca6d8

commit 2ccba474a635e45b19ae0ddc1053aa1a290ca6d8
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Mon Jan 12 14:11:43 2015 +0100

release: Update NEWS and bump version for 1.13.0-alpha1 release
---
 NEWS | 68 +++-
 configure.ac |  4 ++--
 2 files changed, 69 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index 59755c0..fc53b6d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,73 @@
 =
-Elementary 1.12.0
+Elementary 1.13.0
 =
 
+Changes since 1.12.0:
+-
+
+Features:
+
+   * config font hinting api added
+   * Scroller: Add step size set API
+   * theme/e/shelf: Add a translucent style.
+   * elm config: add key bindings for elm_actionslider
+   * List: Focus highlight when loop is enable
+   * win: Support elm_win style change and runtime theme change.
+   * win: Support runtime alpha window switch on theme change.
+   * Transit: Support BEZIER CURVE
+   * Genlist: added the clicked,right event on items
+   * genlist: add scroll smart call
+   * Gengrid: new signal: clicked,right with proper test
+   * List: new signal: clicked,right with simple test
+   * Icon theme: added standard freedesktop names.
+   * Added the elm_win_util_dialog_add() API function
+   * elm_image now inherits edje signal emit
+   * fileselector: added a search icon
+   * +elm_win_fake(), ELM_WIN_FAKE type
+
+Fixes:
+
+   * elm_box: inappropriate size_hint_align value usage fix
+   * transit: free the map resource.
+   * DBUS Menu: fixing SIGSEV and SIGBUS when trying to use dbus.
+   * datetime: Fix edc sizing issue by putting fixed: 1 1.
+   * win: set config engine on higher priority than DISPLAY env var
+   * genlist: Fix genlist crash issue when clearing genlist on item focus 
callback.
+   * test_external.edc: pulse value have to be true for put in pulsing mode.
+   * win: Fix wrong return value of window theme apply.
+   * elm_label: Add slide,end signal emission
+   * elm_widget: Pass Elm_Object_Item *item as *event_info in item-del_func.
+   * modules: Make sure we have all linker flags setup for our modules. (T1920)
+   * elm/image: Fix an unclipped issue about image bigger than object size
+   * elm_colorselector: fix not intended duplication
+   * elm_colorselector: Fix layout broken in ELM_COLORSELECTOR_ALL mode
+   * add clipper for gadget popup shine
+   * genlist should ignore no-select items when moving with the keyboard
+   * elm_toolbar: fix memory leak in _elm_toolbar_nearest_visible_item_get
+   * elm_genlist: add missing callback call
+   * gengrid: Add missing moved callback call on item reorder by key.
+   * gengrid, genlist, list, toolbar: Fix memory leak and enhance performance.
+   * elm_colorselector: Fixed to get proper min size with picker only mode
+   * test_gengrid.c: Fixed Item_Data array size for prevent buffer overflow.
+   * box layout should not silently fail when size is less than min size hint
+   * Elm_Entry: Fix dropped text data insertion
+   * genlist: unselect item if the select mode is display only or none.
+   * genilst: unselect items if the genlist select mode is display only or 
none.
+   * elementary: Fix DnD to work again in wayland
+   * elementary: Fix return values to use Eina_Bool
+   * elementary: Fix issue with event data causing an invalid free
+   * elm_diskselector.c: idle enterer add condition changed.
+   * elm_segment_control: Fix elm_object_item_text_set bug.
+   * colorselector: memory leak fix  in _color_bars_add
+   * genlist: cancel multi selected items.
+   * elm progressbar - fix invalid access to freed units string
+   * elm filesel - fix eio access of widget data after de in eio threads
+   * theme: fix misprint in popup style alias name
+   * elm_image: Fixed to have exact size using elm_image_fill_outside_set()
+   * elm_widget: elm_object_disabled_set API fix
+   * elm - elm image orientation api fix - major bug in implementation
+   * DnD: fix callbacks deletion for inline windows.
+
 Changes since 1.11.0:
 -
 
diff --git a/configure.ac b/configure.ac
index cc76226..5804d6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
-EFL_VERSION([1], [12], [99], [dev])
-AC_INIT([elementary], [efl_version], 
[enlightenment-devel@lists.sourceforge.net])
+EFL_VERSION([1], [13], [0], [release])
+AC_INIT([elementary], [efl_version-alpha1], 
[enlightenment-devel@lists.sourceforge.net])
 
 AC_PREREQ(2.63)
 AC_CONFIG_SRCDIR([configure.ac])

-- 




[EGIT] [core/efl] master 01/01: Eo: use int for _eo_init_count intsead of Eina_Bool

2015-01-12 Thread Nicolas Aguirre
captainigloo pushed a commit to branch master.

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

commit 2982b05288271fdaea88570d316890926323276e
Author: Nicolas Aguirre aguirre.nico...@gmail.com
Date:   Mon Jan 12 14:43:25 2015 +0100

Eo: use int for _eo_init_count intsead of Eina_Bool
---
 src/lib/eo/eo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 1ee50fe..96f190d 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -21,7 +21,7 @@ int _eo_log_dom = -1;
 
 static _Eo_Class **_eo_classes;
 static Eo_Id _eo_classes_last_id;
-static Eina_Bool _eo_init_count = 0;
+static int _eo_init_count = 0;
 static Eo_Op _eo_ops_last_id = 0;
 
 static size_t _eo_sz = 0;

-- 




[E-devel] EFL and friends 1.13.0 alpha 1

2015-01-12 Thread Stefan Schmidt
A bunch of fresh new tarballs with our latest work waiting for your
testing before we can go into the final stages of releases.

= EFL, Elementary and friends 1.13 alpha tarballs =

The merge window for 1.13 closed today which means it is time for an
alpha tarball of what we have been working on over the last two months.
You can find the generated NEWS file content below. They might get
updated over the next weeks before the final release but still should
give you a rough idea what this release will bring you.

== Download ==
Its getting a long post so the most important stuff upfront. Downloads. :-)

http://download.enlightenment.org/rel/libs/efl/efl-1.13.0-alpha1.tar.gz
424cdde596c977e18350e0d82397525c2b42f51ae044ddd1c68c7bcd3d51544f

http://download.enlightenment.org/rel/libs/elementary/elementary-1.13.0-alpha1.tar.gz
8bbb4561cf0addbdb77ab4764350bbdcb99680dd87a21af6d8c3a34a99d94ca2

http://download.enlightenment.org/rel/libs/emotion_generic_players/emotion_generic_players-1.13.0-alpha1.tar.gz
e3e18684656d8d8734205700d67e88e77c477857e79a396d15ff242f7edf

http://download.enlightenment.org/rel/libs/evas_generic_loaders/evas_generic_loaders-1.13.0-alpha1.tar.gz
cb23e3c96e570704e16ec7bf768a01ffd2e3707f3a17a3dff5b89753f44cc070



= What's New =

== EFL ==

Features:

   * Edje: Set the min, max sizes of the image automatically.
   * elocation: Add elocation libraray to EFL.
   * Evas GL: Introduce concept of safe extensions
   * edje: Edje_Edit - add generation of 'limits' parameter of group in
EDC.
   * eolian: add support for @optional ctor tag (T1804)
   * Eet: add diffeet a tool for diffing eet files.
   * edje entry: improve selection performance
   * evas_object_main: Keep map effect after evas object move
   * eet - add new  api to verify eet file against stored cert
   * evas: Evas_3D - add bounding sphere, revision frustum culling
   * evas: Evas_3D - add mesh blending mode.
   * Evas GL: Add support for bind_wayland_display extension
   * Evas: Evas_3D - Add check of visibilty node.
   * ecore: Add a new API function ecore_main_loop_nested_get
   * ecore: Add code for new API function 'ecore_main_loop_nested_get'
   * eldbus: Add API function declaration for eldbus_proxy_send_and_block
   * eldbus: Add actual API function code for eldbus_proxy_send_and_block
   * eeze: Add API function declaration for find_by_subsystem_sysname
   * eeze: Add API function for eeze_udev_find_by_subsystem_sysname
   * ecore-drm: Port ecore_drm to use libinput
   * ecore-drm: Merge port to libinput
   * evil: add getpwnam() function
   * ecore-drm: Handle various touch events
   * edje: Edje_Edit - generate alias parameter for 'parts' block.
   * edje: Edje_Edit - add API for program actions PLAY_SAMPLE and PLAY_TONE
   * edje: Edje_Edit - add generation of 'filter' parameter of program
   * +eina_memdup
   * edje: support anti_alias option
   * edje: Edje_Edit - add API for renaming of image.
   * Evas masking: Use alpha mask in SW engine draw functions
   * Evas masking: Add clip_image_[un]set functions to draw context
   * Evas masking: Allow setting an image object as clipper
   * Evas masking: Implement mask support in evas_render

Fixes:

   * edje_calc: fix image set bug.
   * ecore_drm: Added internal function for drm output updates when
device is hotplug
   * ecore-wayland: Fix the issue of UnIconifying an xdg_surface
   * Fix bug ecore_imf_context_cursor_position_set was not called when
cursor was moved by ECORE_IMF_CALLBACK_SELECTION_SET
   * edje_cc: fix log message for authors write procedure.
   * Evas GL: Fix bug in evgl_eng_pbuffer_surface_create (EGL)
   * ecore_anim: fix source_set bug.
   * edje: fix wrong generation of 'minmul' and 'text.min' parameters in
EDC.
   * edje: add formating for floating point numbers in EDC.
   * eldbus-codegen: Make generated code for property set work by
setting the cb
   * evas/3d: Fix dereferencing a pointer that might be null found by
coverity
   * Eo: protect against recursive object destruction calls, fixes T1741
(T1741)
   * ecore-drm: fix error check of _device_flags_set function
   * eldbus-codegen: Free msg on error path for generated code.
   * eldbus-codegen: More memory leak fixes for generated code.
   * textblock: correct text position for RTL text with margins
   * evas/map: correct last 1 pixel handling in spans.
   * ecore-drm: remove unnecessary setting file's flag of O_RDWR that
are ignored.
   * ecore-drm: close fd handle if _ecore_drm_tty_setup() is failed in
ecore_drm_tty_open().
   * ecore-drm: Sending Active to login1.Session
   * ecore-drm: pass appropriate arguments to
eldbus_message_arguments_get(), so that it can be return as success in
_cb_device_resumed().
   * evas_map: Remove unnecessary check for current map
   * ecore_evas_x: Fixed strange condition.
   * evas: Evas_3D - fix depth texture size.
   * Evas textblock: Fix possibly null dereference.
   * ecore-wayland: Fixed a request of start_drag with null value
   * 

[E-devel] Evas rendering on Qemu distorted

2015-01-12 Thread Thanatermesis
Seems like there's some evas problems rendering on a Qemu default machine:

https://www.enlightenment.org/ss/display.php?image=e-54b3dd7695e692.79059838.jpg

EFL is 1.12.2 compiled a few days ago

Graphic-card details can be seen on:
https://www.enlightenment.org/ss/display.php?image=e-54b3df47631cb4.20541391.jpg
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas rendering on Qemu distorted

2015-01-12 Thread Thanatermesis
I forgot to say, E works correctly but the rendering is distorted, a
segfault happened 1-2 minutes after to play with the menus:
http://pastebin.com/4WnthETG

where we can see an entry like:   #4  0xb70e25f7 in
*evas_common_convert_rgba_to_24bpp_bgr_888* (src=0xb3d55000, dst=0xb3d3e000
III, '@' repeats 197 times..., src_jump=0, dst_jump=3, w=123, h=33,
dith_x=0, dith_y=200, pal=0x0) at lib/evas/common/evas_convert_rgb_24.c:75


2015-01-12 16:15 GMT+01:00 Thanatermesis thanatermesis.e...@gmail.com:

 Seems like there's some evas problems rendering on a Qemu default machine:


 https://www.enlightenment.org/ss/display.php?image=e-54b3dd7695e692.79059838.jpg

 EFL is 1.12.2 compiled a few days ago

 Graphic-card details can be seen on:
 https://www.enlightenment.org/ss/display.php?image=e-54b3df47631cb4.20541391.jpg




--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] annotated tag v1.13.0-alpha1 created (now 79eb4af)

2015-01-12 Thread Enlightenment Git
This is an automated email from the git hooks/post-receive script.

stefan pushed a change to annotated tag v1.13.0-alpha1
in repository core/efl.

at  79eb4af   (tag)
   tagging  cc3f38c1f1281e54c1c4c980c427ce6738871ad0 (commit)
  replaces  v1.12.0
 tagged by  Stefan Schmidt
on  Mon Jan 12 14:37:37 2015 +0100

- Log -
v1.13.0-alpha1

Amitesh Singh (2):
  ecore_con: Added NULL check in dns_so_reset() for dns_socket object.
  eina: fix memory leaks in eina_stringshare_printf/vprintf functions.

Andreas Metzler (1):
  ecore con: Fix GnuTLS build error.

Andrii Kroitor (3):
  edje: Edje_Edit - add API for program actions PLAY_SAMPLE and PLAY_TONE
  edje: fix memory leak in edje_edit_source_generate.
  ecore_evas: fix doc for ecore_evas_pointer_warp.

Andy Williams (1):
  Make it clear in documentation that these methods are not implemented.

Avi Levin (2):
  eo: Fix bad addressing in _eo_classes array
  Eo tests: Fix bad free in eo_test_value

Bogdan Devichev (15):
  evas: Evas_3D - add .ply export/import.
  evas/3d: Fix dereferencing a pointer that might be null found by coverity
  evas: preparation of places for model_saver_loader separated from 
image_saver_loader.
  evas: dummies for model_saver_loader are created.
  evas: replace and rename savers/loaders.
  evas: add lib/evas/common/evas_model_action.c. Functions are renamed 
similar to functions in image_save_load process.
  evas: Evas_3D_Mesh_File_Type sank into oblivion. Changing entry point to 
model_save_load. Changing API in examples.
  evas: test cases are changed according to changes of API in step 4. 
Specific logic in obj_saver is removed for standardization of API.
  evas: ply_loader and obj_loader work with Eina_File.
  evas: entry points to modules is new struct with Eina_file, not const 
char *file.
  evas: entry points to modules is Eina_File. Model_Common_Loader is 
deleted.
  evas: the eet loader use eet_mmap that take an Eina_File instead of 
eet_open.
  evas: a _mmap version of the file_set is added.
  evas: better example of _mmap_set and resources for it are added.
  evas: make Evas 3d mesh is inherited from Efl.File (functions file_set 
and save)

Carsten Haitzler (25):
  ecore-evas - fix focus skip flag to be one way
  edje - remove old script_only code that used embryo (not lua)
  ecore-x - xi2 support - unbreak build break i added.
  ecore x - mark unused param as unused (warning--)
  ecore-x - xi2 - only compile functions when used by xi2
  axis code ... warning --
  ecore drm - comment out unused code to reduce warnings
  ecore-con - silence bsd source wanrings for dns.c
  ecore-xi2 - fix issue with ifdefs and moustache nesting
  eet - add new  api to verify eet file against stored cert
  evas - gl - fix warning for unused var in glx build
  Use intrinsics for scaling up instead of inline asm
  evas - gif loader - fix technically wrong sizeof (doesnt cause a bug)
  ecoreodrm - fix build if systemd is not enabled
  Use NEON intrinsics for mapping instead of inline asm
  ecore animator pos map - move from v[] array to *v pointer.
  evas - handle deleted objects in pointer in list in evas
  fix evas modules to never free eina module - fixes seg on shutdown in x
  ecore x vsync - disable ecore_x vsync daemon due to unresolved problems
  edje - fix uninitialized coord sizes if swallow obj is invalid
  evas map - new aa map has extra overflow with line list - fix it.
  evas map aa - match previous fix.
  evas textgrid - fix drawing of codepoints that are 0
  edje - edje_cc - fix wrong state lists where default is not the first
  efl - edje_cc - fix default state checks in previous commit

Cedric BAIL (18):
  .gitignore: ignore generated files.
  edje: for now disable near and far as they are keyword on Windows.
  autotools: build new evas_3d_mmap examples.
  gitignore: don't track generated file.
  evas: first destroy the rectangle, then the pool.
  evas: check for grayscale png and jpeg.
  ecore_con: the timer callback is waiting for the Eo object not its 
private data.
  ecore_con: SSL error function is waiting for Eo object not their private 
data.
  edje: Edje_Edit - remake deletion and replacing of strings
  edje: Edje_Edit - add API for renaming of image.
  edje: fix @since to match the next release.
  eet: use eina_swap*() function instead of custom slower one.
  eet: refactorize handling of endian.
  eet: refactoring jpeg encoding.
  edje: Edje_Edit - add Proxy to Edje_Part_Collection_Directory_Entry 
initializatoin.
  ecore: add ecore_thread_wait and necessary infrastructure.
  eio: forcefully wait on shutdown for all thread to stop.
  eina: all Eina_Stringshare printf variant now 

[EGIT] [core/efl] master 01/01: Eo base class: Fix compliation.

2015-01-12 Thread Tom Hacohen
tasn pushed a commit to branch master.

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

commit c0f67292d5d10774a7068235bb6bda328c6eddf2
Author: Tom Hacohen t...@stosb.com
Date:   Mon Jan 12 13:43:59 2015 +

Eo base class: Fix compliation.

@inout also used to affect the type generated.
Compile check even the simplest changes.
---
 src/lib/eo/eo_base.eo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo
index 543c35a..99161d8 100644
--- a/src/lib/eo/eo_base.eo
+++ b/src/lib/eo/eo_base.eo
@@ -78,7 +78,7 @@ Prevents event callbacks from being called for the object. */
   wref_del {
  /*@ Delete the weak reference passed. */
  params {
-@in Eo* wref;
+@in Eo** wref;
  }
   }
   destructor {

-- 




[EGIT] [core/efl] efl-1.12 01/01: Eo tests: Fix bad free in eo_test_value

2015-01-12 Thread Avi Levin
tasn pushed a commit to branch efl-1.12.

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

commit 8040d1f3c59ab9f0cac3b2aa850ad78ab7bd9ba1
Author: Avi Levin avi.le...@samsung.com
Date:   Mon Jan 12 13:34:01 2015 +0200

Eo tests: Fix bad free in eo_test_value

When running eo_test_suite we get an memory error: double free or 
corruption.
That error arises because we try to free an Eina_Value value in 
eo_test_value
that doesn't need to freed.
I switched the eina_value_free to wina_value_flush, the proper way of
releasing it.

@fix
---
 src/tests/eo/suite/eo_test_value.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tests/eo/suite/eo_test_value.c 
b/src/tests/eo/suite/eo_test_value.c
index afdec77..2372d06 100644
--- a/src/tests/eo/suite/eo_test_value.c
+++ b/src/tests/eo/suite/eo_test_value.c
@@ -33,11 +33,11 @@ START_TEST(eo_value)
eina_value_get(val2, eo_val);
eina_value_pget(eo_val, tmpp);
fail_if(!tmpp);
-   eina_value_free(val2);
+   eina_value_flush(val2);
 
eina_value_setup(val2, EINA_VALUE_TYPE_INT);
fail_if(eina_value_convert(eo_dbg_info-value, val2));
-   eina_value_free(val2);
+   eina_value_flush(val2);
 
free(str);
free(str2);

-- 




[EGIT] [core/efl] master 01/01: Eo tests: Fix bad free in eo_test_value

2015-01-12 Thread Avi Levin
tasn pushed a commit to branch master.

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

commit dad44a7100581ecc050271e9035c4f66dd2ed6ea
Author: Avi Levin avi.le...@samsung.com
Date:   Mon Jan 12 13:34:01 2015 +0200

Eo tests: Fix bad free in eo_test_value

When running eo_test_suite we get an memory error: double free or 
corruption.
That error arises because we try to free an Eina_Value value in 
eo_test_value
that doesn't need to freed.
I switched the eina_value_free to wina_value_flush, the proper way of
releasing it.

@fix
---
 src/tests/eo/suite/eo_test_value.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tests/eo/suite/eo_test_value.c 
b/src/tests/eo/suite/eo_test_value.c
index afdec77..2372d06 100644
--- a/src/tests/eo/suite/eo_test_value.c
+++ b/src/tests/eo/suite/eo_test_value.c
@@ -33,11 +33,11 @@ START_TEST(eo_value)
eina_value_get(val2, eo_val);
eina_value_pget(eo_val, tmpp);
fail_if(!tmpp);
-   eina_value_free(val2);
+   eina_value_flush(val2);
 
eina_value_setup(val2, EINA_VALUE_TYPE_INT);
fail_if(eina_value_convert(eo_dbg_info-value, val2));
-   eina_value_free(val2);
+   eina_value_flush(val2);
 
free(str);
free(str2);

-- 




[EGIT] [core/efl] efl-1.11 01/01: Eo tests: Fix bad free in eo_test_value

2015-01-12 Thread Avi Levin
tasn pushed a commit to branch efl-1.11.

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

commit 6b2f60e41a4dff11bb2c08fed433960e72fb8251
Author: Avi Levin avi.le...@samsung.com
Date:   Mon Jan 12 13:34:01 2015 +0200

Eo tests: Fix bad free in eo_test_value

When running eo_test_suite we get an memory error: double free or 
corruption.
That error arises because we try to free an Eina_Value value in 
eo_test_value
that doesn't need to freed.
I switched the eina_value_free to wina_value_flush, the proper way of
releasing it.

@fix
---
 src/tests/eo/suite/eo_test_value.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tests/eo/suite/eo_test_value.c 
b/src/tests/eo/suite/eo_test_value.c
index afdec77..2372d06 100644
--- a/src/tests/eo/suite/eo_test_value.c
+++ b/src/tests/eo/suite/eo_test_value.c
@@ -33,11 +33,11 @@ START_TEST(eo_value)
eina_value_get(val2, eo_val);
eina_value_pget(eo_val, tmpp);
fail_if(!tmpp);
-   eina_value_free(val2);
+   eina_value_flush(val2);
 
eina_value_setup(val2, EINA_VALUE_TYPE_INT);
fail_if(eina_value_convert(eo_dbg_info-value, val2));
-   eina_value_free(val2);
+   eina_value_flush(val2);
 
free(str);
free(str2);

-- 




[EGIT] [core/efl] master 01/01: release: Update NEWS and bump version for 1.13.0 release

2015-01-12 Thread Stefan Schmidt
stefan pushed a commit to branch master.

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

commit afde6f178ddf46c780b8766be3e12ce7b9ce0f88
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Mon Jan 12 12:59:42 2015 +0100

release: Update NEWS and bump version for 1.13.0 release
---
 NEWS | 161 ++-
 configure.ac |   2 +-
 2 files changed, 161 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index ef25533..410a1fe 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,166 @@
 ==
-EFL 1.12.0
+EFL 1.13.0
 ==
 
+Changes since 1.12.0:
+-
+
+Features:
+
+   * Edje: Set the min, max sizes of the image automatically.
+   * elocation: Add elocation libraray to EFL.
+   * Evas GL: Introduce concept of safe extensions
+   * edje: Edje_Edit - add generation of 'limits' parameter of group in EDC.
+   * eolian: add support for @optional ctor tag (T1804)
+   * Eet: add diffeet a tool for diffing eet files.
+   * edje entry: improve selection performance
+   * evas_object_main: Keep map effect after evas object move
+   * eet - add new  api to verify eet file against stored cert
+   * evas: Evas_3D - add bounding sphere, revision frustum culling
+   * evas: Evas_3D - add mesh blending mode.
+   * Evas GL: Add support for bind_wayland_display extension
+   * Evas: Evas_3D - Add check of visibilty node.
+   * ecore: Add a new API function ecore_main_loop_nested_get
+   * ecore: Add code for new API function 'ecore_main_loop_nested_get'
+   * eldbus: Add API function declaration for eldbus_proxy_send_and_block
+   * eldbus: Add actual API function code for eldbus_proxy_send_and_block
+   * eeze: Add API function declaration for find_by_subsystem_sysname
+   * eeze: Add API function for eeze_udev_find_by_subsystem_sysname
+   * ecore-drm: Port ecore_drm to use libinput
+   * ecore-drm: Merge port to libinput
+   * evil: add getpwnam() function
+   * ecore-drm: Handle various touch events
+   * edje: Edje_Edit - generate alias parameter for 'parts' block.
+   * edje: Edje_Edit - add API for program actions PLAY_SAMPLE and PLAY_TONE
+   * edje: Edje_Edit - add generation of 'filter' parameter of program
+   * +eina_memdup
+   * edje: support anti_alias option
+   * edje: Edje_Edit - add API for renaming of image.
+   * Evas masking: Use alpha mask in SW engine draw functions
+   * Evas masking: Add clip_image_[un]set functions to draw context
+   * Evas masking: Allow setting an image object as clipper
+   * Evas masking: Implement mask support in evas_render
+
+Fixes:
+
+   * edje_calc: fix image set bug.
+   * ecore_drm: Added internal function for drm output updates when device is 
hotplug
+   * ecore-wayland: Fix the issue of UnIconifying an xdg_surface
+   * Fix bug ecore_imf_context_cursor_position_set was not called when cursor 
was moved by ECORE_IMF_CALLBACK_SELECTION_SET
+   * edje_cc: fix log message for authors write procedure.
+   * Evas GL: Fix bug in evgl_eng_pbuffer_surface_create (EGL)
+   * ecore_anim: fix source_set bug.
+   * edje: fix wrong generation of 'minmul' and 'text.min' parameters in EDC.
+   * edje: add formating for floating point numbers in EDC.
+   * eldbus-codegen: Make generated code for property set work by setting the 
cb
+   * evas/3d: Fix dereferencing a pointer that might be null found by coverity
+   * Eo: protect against recursive object destruction calls, fixes T1741 
(T1741)
+   * ecore-drm: fix error check of _device_flags_set function
+   * eldbus-codegen: Free msg on error path for generated code.
+   * eldbus-codegen: More memory leak fixes for generated code.
+   * textblock: correct text position for RTL text with margins
+   * evas/map: correct last 1 pixel handling in spans.
+   * ecore-drm: remove unnecessary setting file's flag of O_RDWR that are 
ignored.
+   * ecore-drm: close fd handle if _ecore_drm_tty_setup() is failed in 
ecore_drm_tty_open().
+   * ecore-drm: Sending Active to login1.Session
+   * ecore-drm: pass appropriate arguments to eldbus_message_arguments_get(), 
so that it can be return as success in _cb_device_resumed().
+   * evas_map: Remove unnecessary check for current map
+   * ecore_evas_x: Fixed strange condition.
+   * evas: Evas_3D - fix depth texture size.
+   * Evas textblock: Fix possibly null dereference.
+   * ecore-wayland: Fixed a request of start_drag with null value
+   * ecore-wayland: Check if system has mouse in ecore_wl_input
+   * evas-gl: Fix improper #ifdef check
+   * evas-gl: Fix evas-gl to compile for EGL
+   * ecore-wayland: If we fail to create a new opaque region, safely exit the 
function.
+   * ecore-wayland: Check return of input_region create and get our safely
+   * ecore-wayland: No need for setting the input here as it's done again 
directly below.
+   * ecore-wayland: Add safety check for window surface creation
+   * ecore-wayland: Add safety check for xdg_popup creation
+   * 

[EGIT] [core/elementary] master 01/02: Elm win: Fix elm_win_fake()'s name to follow conventions.

2015-01-12 Thread Tom Hacohen
tasn pushed a commit to branch master.

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

commit ddb9e9f7aab0ab74e1fe5d1701ffc1d08c3a47ea
Author: Tom Hacohen t...@stosb.com
Date:   Mon Jan 12 10:13:00 2015 +

Elm win: Fix elm_win_fake()'s name to follow conventions.
---
 src/lib/elm_win.c| 2 +-
 src/lib/elm_win_legacy.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 43dfeba..c2d13c1 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -2918,7 +2918,7 @@ elm_win_add(Evas_Object *parent,
 }
 
 EAPI Evas_Object *
-elm_win_fake(Ecore_Evas *ee)
+elm_win_fake_add(Ecore_Evas *ee)
 {
return eo_add(MY_CLASS, NULL, elm_obj_win_constructor(NULL, ELM_WIN_FAKE, 
ee));
 }
diff --git a/src/lib/elm_win_legacy.h b/src/lib/elm_win_legacy.h
index e32f274..9729d8b 100644
--- a/src/lib/elm_win_legacy.h
+++ b/src/lib/elm_win_legacy.h
@@ -33,7 +33,7 @@ EAPI Evas_Object  *elm_win_add(Evas_Object *parent, 
const char *name, El
  *
  * @since 1.13
  */
-EAPI Evas_Object  *elm_win_fake(Ecore_Evas *ee);
+EAPI Evas_Object  *elm_win_fake_add(Ecore_Evas *ee);
 
 /**
  * Adds a window object with standard setup

-- 




[EGIT] [core/elementary] master 02/02: Elm win: Fix added internal parameter to the win constructor.

2015-01-12 Thread Tom Hacohen
tasn pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=49e669aafd9d4027a1be2719cf3ae23450404482

commit 49e669aafd9d4027a1be2719cf3ae23450404482
Author: Tom Hacohen t...@stosb.com
Date:   Mon Jan 12 10:13:34 2015 +

Elm win: Fix added internal parameter to the win constructor.

Internal hacks should not affect user facing API. This commit adds a new
API to do the internal hack. This is still bad, but it's much less than
what was there before.

This fixes the main issue introduced by commit:
63a5cdf0f8516c16a62233da0c2af0e10a13264b
---
 src/lib/elm_win.c  | 17 +
 src/lib/elm_win.eo |  9 -
 2 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index c2d13c1..233e17b 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -4,6 +4,7 @@
 
 #define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
 #define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
+#define ELM_WIN_PROTECTED
 
 #include Elementary.h
 #include Elementary_Cursor.h
@@ -2913,14 +2914,16 @@ elm_win_add(Evas_Object *parent,
 const char *name,
 Elm_Win_Type type)
 {
-   Evas_Object *obj = eo_add(MY_CLASS, parent, elm_obj_win_constructor(name, 
type, NULL));
+   Evas_Object *obj = eo_add(MY_CLASS, parent, elm_obj_win_constructor(name, 
type));
return obj;
 }
 
 EAPI Evas_Object *
 elm_win_fake_add(Ecore_Evas *ee)
 {
-   return eo_add(MY_CLASS, NULL, elm_obj_win_constructor(NULL, ELM_WIN_FAKE, 
ee));
+   return eo_add(MY_CLASS, NULL,
+ elm_obj_win_fake_canvas_set(ee),
+ elm_obj_win_constructor(NULL, ELM_WIN_FAKE));
 }
 
 static void
@@ -3019,7 +3022,7 @@ _accel_is_gl(void)
 }
 
 EOLIAN static void
-_elm_win_constructor(Eo *obj, Elm_Win_Data *sd, const char *name, Elm_Win_Type 
type, Ecore_Evas *oee)
+_elm_win_constructor(Eo *obj, Elm_Win_Data *sd, const char *name, Elm_Win_Type 
type)
 {
sd-obj = obj; // in ctor
 
@@ -3039,7 +3042,7 @@ _elm_win_constructor(Eo *obj, Elm_Win_Data *sd, const 
char *name, Elm_Win_Type t
switch (type)
  {
   case ELM_WIN_FAKE:
-tmp_sd.ee = oee;
+tmp_sd.ee = sd-ee;
 break;
   case ELM_WIN_INLINED_IMAGE:
 if (!parent) break;
@@ -3587,6 +3590,12 @@ _elm_win_eo_base_constructor(Eo *obj EINA_UNUSED, 
Elm_Win_Data *_pd EINA_UNUSED)
/* Do nothing. */
 }
 
+EOLIAN static void
+_elm_win_fake_canvas_set(Eo *obj EINA_UNUSED, Elm_Win_Data *pd, Ecore_Evas 
*oee)
+{
+   pd-ee = oee;
+}
+
 EOLIAN static Elm_Win_Type
 _elm_win_type_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd)
 {
diff --git a/src/lib/elm_win.eo b/src/lib/elm_win.eo
index 9cea8ea..75ca045 100644
--- a/src/lib/elm_win.eo
+++ b/src/lib/elm_win.eo
@@ -1185,6 +1185,14 @@ class Elm_Win (Elm_Widget, Elm_Interface_Atspi_Window,
 void *trap_data; /*@ The trap data of the window */
  }
   }
+  fake_canvas @protected {
+   set {
+/*@ Internal. Used to completent the fake window type. */
+   }
+   values {
+Ecore_Evas *oee;
+   }
+  }
}
methods {
   constructor {
@@ -1193,7 +1201,6 @@ class Elm_Win (Elm_Widget, Elm_Interface_Atspi_Window,
  params {
 @in const(char)* name;
 @in Elm_Win_Type type;
-@in Ecore_Evas *oee;
  }
   }
   wm_manual_rotation_done_manual {

-- 




[E-devel] Canceled weekly news from the automated build and QA front

2015-01-12 Thread Stefan Schmidt
Hello.

Nothing to report this week. Jenkins is not in a working state for
almost a week now. Sadly there is nothing I can do about it but I have
to be patient and hope that it get fixed.

Will report back next week.

regards
Stefan Schmidt

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/elementary] master 01/01: +elm_win_fake(), ELM_WIN_FAKE type

2015-01-12 Thread Tom Hacohen
On 12/01/15 09:55, Tom Hacohen wrote:
 Mike, ffs, start conforming to the commit guidelines.


 As for the content itself, it's very wrong and ugly.
 Why the fuck would you add a new internal parameter to a user facing
 function? I will fix this solution, though I suspect there are better
 solutions in general.

Pushed the fix, though I suspect there might be a better solution still.

--
Tom.



--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/enlightenment] master 01/01: E comp: Adjust according to elm function rename.

2015-01-12 Thread Tom Hacohen
tasn pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=61c4a72ae2f81f3c0275203c170cd7f56a0d3ff1

commit 61c4a72ae2f81f3c0275203c170cd7f56a0d3ff1
Author: Tom Hacohen t...@stosb.com
Date:   Mon Jan 12 10:18:11 2015 +

E comp: Adjust according to elm function rename.
---
 src/bin/e_comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index e8bdc18..7c25c87 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1061,7 +1061,7 @@ e_comp_init(void)
 #endif
if (!e_comp) return EINA_FALSE;
 out:
-   e_comp-elm = elm_win_fake(e_comp-ee);
+   e_comp-elm = elm_win_fake_add(e_comp-ee);
evas_object_show(e_comp-elm);
e_util_env_set(HYBRIS_EGLPLATFORM, NULL);
E_LIST_HANDLER_APPEND(handlers, E_EVENT_SCREENSAVER_ON, 
_e_comp_screensaver_on, NULL);

-- 




[EGIT] [core/efl] master 01/01: configure: Makre sure the tarballs are marked as alpha1

2015-01-12 Thread Stefan Schmidt
stefan pushed a commit to branch master.

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

commit cc3f38c1f1281e54c1c4c980c427ce6738871ad0
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Mon Jan 12 13:30:20 2015 +0100

configure: Makre sure the tarballs are marked as alpha1
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c108b1b..3a3c954 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 EFL_VERSION([1], [13], [0], [release])
-AC_INIT([efl], [efl_version], [enlightenment-devel@lists.sourceforge.net])
+AC_INIT([efl], [efl_version-alpha1], 
[enlightenment-devel@lists.sourceforge.net])
 
 AC_PREREQ([2.60])
 AC_CONFIG_SRCDIR([configure.ac])

-- 




[E-devel] Cross-compile for armel Debian wheezy

2015-01-12 Thread Gilles DOFFE
Hi all,

I already post this message on user mailing list but I think it was not the
right place.
So I post on this mailing list. Once solved I will mention this thread in
the old one.
Sorry for inconvenience.

I cannot manage to cross-compile a simple test app for my mini2440 board.
Here is my test_efl_fb.c file :

#include Ecore.h
#include Ecore_Evas.h
#include Evas_Engine_FB.h
#include unistd.h

int
main(void)
{
   Ecore_Evas *ee;
   Evas *canvas;
   Evas_Object *bg;
   Eina_List *engines, *l;
   char *data;

   if (ecore_evas_init() = 0)
 return 1;

   ee = ecore_evas_fb_new(NULL, 0, 400, 800);
   ecore_evas_title_set(ee, Ecore Evas basics Example);
   ecore_evas_show(ee);

   ecore_main_loop_begin();

   ecore_evas_free(ee);
   ecore_evas_shutdown();

   return 0;
}

My build machine is a Ubuntu 14.04.1 64 bits.
To build it i use a staging dir (named targetdir_mini2440/) issued from
qemu-debootstrap which contains a full functionnal debian wheezy rootfs for
mini2440 board.
In that rootfs, I have installed all dev package and needed libraries for
efl (libelementary-dev, libevas1-engine-fb, libecore-evas1, ...)

All files needed seems to be present.
To build my app, I chroot into that rootfs and build with the following
command :

$ gcc test_efl_fb.c -o test_efl_fb -I/usr/include/ecore-1/
-I/usr/include/eina-1/ -I/usr/include/eina-1/eina/ -I/usr/include/evas-1/
-lecore_evas

It works fine and it produces the wanted binary :

$ file test_efl_fb
test_efl_fb: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.26,
BuildID[sha1]=0x62514bc463ccc992f5149a765a97884ae9a6ea51, not stripped

As it is using qemu, build could be very slow for bigger applications. So i
would like to cross-compile outside of the chroot, from the host system
(Ubuntu 14.04.1 64 bits) :

$ export ROOTFS_PATH=$(readlink -f targetdir_mini2440/)
$ arm-linux-gnueabi-gcc test_efl_fb.c -o test_efl_fb
-I/usr/include/ecore-1/ -I/usr/include/eina-1/ -I/usr/include/eina-1/eina
-I/usr/include/evas-1 --sysroot ${ROOTFS_PATH} -lecore_evas

But --sysroot option does not seem to work as expected, libecore_evas.so is
taken from the staging dir but other libs are searched on my build machine
path.

arm-linux-gnueabi-gcc test_efl_fb.c -o test_efl_fb -I/usr/include/ecore-1/
-I/usr/include/eina-1/ -I/usr/include/eina-1/eina/ -I/usr/include/evas-1/
-lecore_evas --sysroot targetdir_mini2440/
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libecore_x.so.1, needed by
./usr/lib/arm-linux-gnueabi/libecore_evas.so, not found (try using -rpath
or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libX11.so.6, needed by
./usr/lib/arm-linux-gnueabi/libecore_evas.so, not found (try using -rpath
or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libXext.so.6, needed by
./usr/lib/arm-linux-gnueabi/libecore_evas.so, not found (try using -rpath
or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libecore_fb.so.1, needed by
./usr/lib/arm-linux-gnueabi/libecore_evas.so, not found (try using -rpath
or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libecore_ipc.so.1, needed by
./usr/lib/arm-linux-gnueabi/libecore_evas.so, not found (try using -rpath
or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libecore_input.so.1, needed by
./usr/lib/arm-linux-gnueabi/libecore_evas.so, not found (try using -rpath
or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libecore_input_evas.so.1, needed by
./usr/lib/arm-linux-gnueabi/libecore_evas.so, not found (try using -rpath
or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libecore.so.1, needed by
./usr/lib/arm-linux-gnueabi/libecore_evas.so, not found (try using -rpath
or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libevas.so.1, needed by
./usr/lib/arm-linux-gnueabi/libecore_evas.so, not found (try using -rpath
or -rpath-link)
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld:
warning: libeina.so.1, needed by
./usr/lib/arm-linux-gnueabi/libecore_evas.so, not found (try using -rpath
or -rpath-link)
/tmp/ccdvY8yv.o: dans la fonction « main »:
test_efl_fb.c:(.text+0x50): référence indéfinie vers «
ecore_main_loop_begin »
./usr/lib/arm-linux-gnueabi/libecore_evas.so: référence indéfinie vers «
evas_render_updates »
./usr/lib/arm-linux-gnueabi/libecore_evas.so: référence indéfinie vers «
ECORE_X_EVENT_WINDOW_DELETE_REQUEST »
./usr/lib/arm-linux-gnueabi/libecore_evas.so: référence indéfinie vers «
ECORE_X_EVENT_CLIENT_MESSAGE »
./usr/lib/arm-linux-gnueabi/libecore_evas.so: référence indéfinie vers «

[EGIT] [apps/terminology] master 01/01: add xterm 777 notification support. Closes T1765

2015-01-12 Thread Boris Faure
billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=87d653ea4d2718038e1094542072143cc9704a71

commit 87d653ea4d2718038e1094542072143cc9704a71
Author: Boris Faure bill...@gmail.com
Date:   Mon Jan 12 23:11:12 2015 +0100

add xterm 777 notification support. Closes T1765
---
 src/bin/dbus.c   |  5 +
 src/bin/termptyesc.c | 52 
 2 files changed, 57 insertions(+)

diff --git a/src/bin/dbus.c b/src/bin/dbus.c
index b7d255c..da24108 100644
--- a/src/bin/dbus.c
+++ b/src/bin/dbus.c
@@ -82,6 +82,11 @@ ty_dbus_init(void)
 
eldbus_init();
 
+   if (!elm_need_sys_notify())
+ {
+WRN(no elementary system notification support);
+ }
+
ty_dbus_conn = eldbus_connection_get(ELDBUS_CONNECTION_TYPE_SESSION);
ty_e_object = eldbus_object_get(ty_dbus_conn,
org.enlightenment.wm.service,
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 4cabcb5..58d2418 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1140,6 +1140,49 @@ err:
 }
 
 
+static void
+_handle_xterm_777_command(Termpty *ty EINA_UNUSED,
+  char *s, int len EINA_UNUSED)
+{
+#if (ELM_VERSION_MAJOR  1) || (ELM_VERSION_MINOR = 8)
+   char *cmd_end = NULL,
+*title = NULL,
+*title_end = NULL,
+*message = NULL;
+
+   if (strncmp(s, notify;, strlen(notify;)))
+ {
+ERR(unrecognized xterm 777 command %s, s);
+return;
+ }
+
+   if (!elm_need_sys_notify())
+ {
+ERR(no elementary system notification support);
+return;
+ }
+   cmd_end = s + strlen(notify);
+   if (*cmd_end != ';')
+ return;
+   *cmd_end = '\0';
+   title = cmd_end + 1;
+   title_end = strchr(title, ';');
+   if (!title_end)
+ {
+*cmd_end = ';';
+return;
+ }
+   *title_end = '\0';
+   message = title_end + 1;
+
+   elm_sys_notify_send(0, dialog-information, title, message,
+   ELM_SYS_NOTIFY_URGENCY_NORMAL, -1,
+   NULL, NULL);
+   *cmd_end = ';';
+   *title_end = ';';
+#endif
+}
+
 static int
 _handle_esc_xterm(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
 {
@@ -1306,6 +1349,15 @@ _handle_esc_xterm(Termpty *ty, const Eina_Unicode *c, 
Eina_Unicode *ce)
 r, g, b, 0xff);
   }
 break;
+  case 777:
+DBG(xterm notification support);
+s = eina_unicode_unicode_to_utf8(p, len);
+if (s)
+  {
+ _handle_xterm_777_command(ty, s, len);
+ free(s);
+  }
+break;
   default:
 // many others
 ERR(unhandled xterm esc %d, arg);

-- 




[EGIT] [core/elementary] master 01/01: elm image - fix image rotation in non-common cases

2015-01-12 Thread Carsten Haitzler
raster pushed a commit to branch master.

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

commit dc30ef6d7ab9b3a657bf718889828561f58c47d1
Author: Carsten Haitzler (Rasterman) ras...@rasterman.com
Date:   Tue Jan 13 08:53:14 2015 +0900

elm image - fix image rotation in non-common cases

this fixes d6f4040d0c62c220f2339d2a57126fde43e85e19 for the non-common
path that normalizes then applies new orientation

@fix
---
 src/lib/elm_image.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index ae8922e..e57cccb 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -1280,13 +1280,15 @@ _elm_image_orient_set(Eo *obj, Elm_Image_Data *sd, 
Elm_Image_Orient orient)
 case ELM_IMAGE_ORIENT_0:
   break;
 case ELM_IMAGE_ORIENT_90:
-  _elm_image_smart_rotate_270(sd);
+  if (i == 0) _elm_image_smart_rotate_270(sd);
+  else _elm_image_smart_rotate_90(sd);
   break;
 case ELM_IMAGE_ORIENT_180:
   _elm_image_smart_rotate_180(sd);
   break;
 case ELM_IMAGE_ORIENT_270:
-  _elm_image_smart_rotate_90(sd);
+  if (i == 0) _elm_image_smart_rotate_90(sd);
+  else _elm_image_smart_rotate_270(sd);
   break;
 case ELM_IMAGE_FLIP_HORIZONTAL:
   _elm_image_flip_horizontal(sd);

-- 




Re: [E-devel] EFL and friends 1.13.0 alpha 1

2015-01-12 Thread Leif Middelschulte
Hi,

I (tried to) compile(d) efl and elm on Mac OS Yosemite. Here's a little 
feedback.

EFL:
It seems that src/lib/ecore_cocoa/ecore_cocoa_window.h is missing in the 
tarball and thus compilation fails on Mac OS when enabling the cocoa backend.

Anyway, I attached a formula for the efl package for Mac OS' homebrew package 
manager. It works with the linked packages. Once a new package containing the 
missing file is available, the embedded patch can be removed from the brew 
formula.

Elementary:
Compilation fails with the message below.
== ./configure --disable-silent-rules 
--prefix=/usr/local/Cellar/elementary/1.13.0-alpha1
== make install
Making install in src
Making install in lib
make[2]: *** No rule to make target `elm_access.eo.c', needed by `install'.  
Stop.
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

I'm using Clang: 6.0 build 600

I haven't tried the generic loaders/players yet. I will do so once elm succeeds 
to compile.

BR,

Leif

# Documentation: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md
#/usr/local/Library/Contributions/example-formula.rb
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!

class Efl  Formula
  homepage efl
  url http://download.enlightenment.org/rel/libs/efl/efl-1.13.0-alpha1.tar.gz;
  version 1.13.0-alpha1
  sha1 82db0fec8040d372684e5a5fd88e173cd1338650

  # depends_on cmake = :build
  depends_on :x11 # if your formula requires any X11/XQuartz components
  depends_on 'luajit'
  depends_on 'fribidi'
  depends_on 'giflib'
  depends_on 'gstreamer'
  depends_on 'gst-plugins-good'
  depends_on 'dbus'
  depends_on 'pulseaudio'
  depends_on 'bullet'

  patch :DATA

  def install
ENV['PKG_CONFIG'] = /usr/local/bin/pkg-config
ENV['PKG_CONFIG_PATH'] = /usr/local/lib/pkgconfig/
# ENV.deparallelize  # if your formula fails when building in parallel

# Remove unrecognized options if warned by configure
system ./configure, --disable-debug,
  --disable-dependency-tracking,
  --disable-silent-rules,
			  --enable-cocoa,
  --prefix=#{prefix}
# system cmake, ., *std_cmake_args
system make, install # if this fails, try separate make/make install steps
  end

  test do
# `test do` will create, run in and delete a temporary directory.
#
# This test will fail and we won't accept that! It's enough to just replace
# false with the main program this formula installs, but it'd be nice if you
# were more thorough. Run the test with `brew test efl`. Options passed
# to `brew install` such as `--HEAD` also need to be provided to `brew test`.
#
# The installed folder is not in the path, so use the entire path to any
# executables being tested: `system #{bin}/program, do, something`.
system false
  end
end

__END__
--- /dev/null
+++ b/src/lib/ecore_cocoa/ecore_cocoa_window.h
@@ -0,0 +1,24 @@
+#import Foundation/Foundation.h
+#import AppKit/AppKit.h
+
+@interface EcoreCocoaWindow : NSWindow
+
+@property void *ecore_window_data;
+
+- (id) initWithContentRect: (NSRect) contentRect
+ styleMask: (unsigned int) aStyle
+   backing: (NSBackingStoreType) bufferingType
+ defer: (BOOL) flag;
+
+
+- (BOOL)isFullScreen;
+
+- (BOOL)acceptsFirstResponder;
+
+- (BOOL)canBecomeKeyWindow;
+
+- (void)windowWillClose:(NSNotification *) notification;
+
+- (void)windowDidResize:(NSNotification *) notification;
+
+@end


 Am 12.01.2015 um 15:00 schrieb Stefan Schmidt ste...@datenfreihafen.org:
 
 A bunch of fresh new tarballs with our latest work waiting for your
 testing before we can go into the final stages of releases.
 
 = EFL, Elementary and friends 1.13 alpha tarballs =
 
 The merge window for 1.13 closed today which means it is time for an
 alpha tarball of what we have been working on over the last two months.
 You can find the generated NEWS file content below. They might get
 updated over the next weeks before the final release but still should
 give you a rough idea what this release will bring you.
 
 == Download ==
 Its getting a long post so the most important stuff upfront. Downloads. :-)
 
 http://download.enlightenment.org/rel/libs/efl/efl-1.13.0-alpha1.tar.gz
 424cdde596c977e18350e0d82397525c2b42f51ae044ddd1c68c7bcd3d51544f
 
 http://download.enlightenment.org/rel/libs/elementary/elementary-1.13.0-alpha1.tar.gz
 8bbb4561cf0addbdb77ab4764350bbdcb99680dd87a21af6d8c3a34a99d94ca2
 
 http://download.enlightenment.org/rel/libs/emotion_generic_players/emotion_generic_players-1.13.0-alpha1.tar.gz
 e3e18684656d8d8734205700d67e88e77c477857e79a396d15ff242f7edf
 
 http://download.enlightenment.org/rel/libs/evas_generic_loaders/evas_generic_loaders-1.13.0-alpha1.tar.gz
 cb23e3c96e570704e16ec7bf768a01ffd2e3707f3a17a3dff5b89753f44cc070
 
 
 
 = What's New =
 
 == EFL ==
 
 Features:
 
   * Edje: Set 

[EGIT] [core/enlightenment] master 01/01: comp-wl: Set argb and no_shape_cut for new clients. This fixes the black shadow issue

2015-01-12 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=7c5c8b1561af3f8350653c1afb9cd6aec6cc4109

commit 7c5c8b1561af3f8350653c1afb9cd6aec6cc4109
Author: Chris Michael cp.mich...@samsung.com
Date:   Mon Jan 12 13:03:52 2015 -0500

comp-wl: Set argb and no_shape_cut for new clients. This fixes the
black shadow issue

Signed-off-by: Chris Michael cp.mich...@samsung.com
---
 src/bin/e_comp_wl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index a243296..cbaa57f 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2009,6 +2009,8 @@ _e_comp_wl_client_cb_new(void *data EINA_UNUSED, E_Client 
*ec)
eina_tiler_tile_size_set(ec-comp_data-pending.opaque, 1, 1);
 
/* set initial client properties */
+   ec-argb = EINA_TRUE;
+   ec-no_shape_cut = EINA_TRUE;
ec-ignored = e_comp_ignore_win_find(win);
ec-border_size = 0;
ec-placed |= ec-override;

-- 




Re: [E-devel] [EGIT] [core/efl] master 01/01: edje: Remove dead code

2015-01-12 Thread Tom Hacohen
Thanks. :)

On 12/01/15 16:45, Christopher Michael wrote:
 devilhorns pushed a commit to branch master.

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

 commit ee31af90cccdfd352beb20a35e9dfec62e7678fc
 Author: Chris Michael cp.mich...@samsung.com
 Date:   Mon Jan 12 11:44:06 2015 -0500

  edje: Remove dead code

  Summary: This removes the commented out dead code block from
  9cdb8aaf9bec83a0e0879c04f66408f6326fa2b2

  @fix

  Signed-off-by: Chris Michael cp.mich...@samsung.com
 ---
   src/lib/edje/edje_entry.c | 8 ++--
   1 file changed, 2 insertions(+), 6 deletions(-)

 diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
 index 52e329d..ac7c8c7 100644
 --- a/src/lib/edje/edje_entry.c
 +++ b/src/lib/edje/edje_entry.c
 @@ -3625,12 +3625,8 @@ _edje_entry_cursor_down(Edje_Real_Part *rp, 
 Edje_Cursor cur)
return EINA_FALSE;
  evas_textblock_cursor_char_geometry_get(c, cx, cy, cw, ch);
  if (!evas_textblock_cursor_char_coord_set(c, cx, ly + (lh / 2)))
 - {
 -/* if (cx  (lx + (lw / 2))) */
 -/*   evas_textblock_cursor_line_char_last(c); */
 -/* else */
 -  evas_textblock_cursor_line_char_last(c);
 - }
 + evas_textblock_cursor_line_char_last(c);
 +
  _sel_update(en-ed, c, rp-object, rp-typedata.text-entry_data);

  _edje_entry_imf_cursor_info_set(en);





--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
www.gigenet.com
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/enlightenment] master 02/02: Fix Coverity CID1261286. Identical code for different branches

2015-01-12 Thread Christopher Michael
devilhorns pushed a commit to branch master.

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

commit d11c42fd2369d0dbd0db43bbb68409fafebf36dc
Author: Chris Michael cp.mich...@samsung.com
Date:   Mon Jan 12 12:12:52 2015 -0500

Fix Coverity CID1261286. Identical code for different branches

Signed-off-by: Chris Michael cp.mich...@samsung.com
---
 src/bin/e_dnd.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index 65dc830..d358839 100644
--- a/src/bin/e_dnd.c
+++ b/src/bin/e_dnd.c
@@ -1456,14 +1456,14 @@ _e_dnd_cb_event_dnd_selection(void *data __UNUSED__, 
int type __UNUSED__, void *
 for (i = 0; i  files-num_files; i++)
   {
  /* TODO: Check if hostname is in file:// uri */
- if (!strncmp(files-files[i], file://, 7))
-   l = eina_list_append(l, files-files[i]);
+ /* if (!strncmp(files-files[i], file://, 7)) */
+ /*   l = eina_list_append(l, files-files[i]); */
  /* TODO: download files
 else if (!strncmp(files-files[i], http://;, 7))
 else if (!strncmp(files-files[i], ftp://;, 6))
   */
- else
-   l = eina_list_append(l, files-files[i]);
+ /* else */
+ l = eina_list_append(l, files-files[i]);
   }
 _xdnd-data = l;
 _e_drag_xdnd_end(ev-win, _xdnd-x, _xdnd-y);

-- 




[EGIT] [core/enlightenment] master 01/01: pager_plain: Fix Coverity CID1261290 reporting logically dead code, but in fact it looks like a copy/paste issue

2015-01-12 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=43a0d2a3aec838ea3dfeb1a5ed27bf891288de9c

commit 43a0d2a3aec838ea3dfeb1a5ed27bf891288de9c
Author: Chris Michael cp.mich...@samsung.com
Date:   Mon Jan 12 12:09:43 2015 -0500

pager_plain: Fix Coverity CID1261290 reporting logically dead code,
but in fact it looks like a copy/paste issue

@fix

Signed-off-by: Chris Michael cp.mich...@samsung.com
---
 src/modules/pager_plain/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/pager_plain/e_mod_main.c 
b/src/modules/pager_plain/e_mod_main.c
index 434bf2c..5fc3714 100644
--- a/src/modules/pager_plain/e_mod_main.c
+++ b/src/modules/pager_plain/e_mod_main.c
@@ -1747,7 +1747,7 @@ _pager_cb_event_bg_update(void *data __UNUSED__, int type 
__UNUSED__, void *even
zone = eina_list_nth(e_comp-zones, ev-zone);
if (!zone) return ECORE_CALLBACK_RENEW;
desk = e_desk_at_xy_get(zone, ev-desk_x, ev-desk_y);
-   if (!zone) return ECORE_CALLBACK_RENEW;
+   if (!desk) return ECORE_CALLBACK_RENEW;
EINA_LIST_FOREACH(pagers, l, p)
  {
 pd = _pager_desk_find(p, desk);

-- 




[EGIT] [core/efl] master 01/01: edje: Remove dead code

2015-01-12 Thread Christopher Michael
devilhorns pushed a commit to branch master.

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

commit ee31af90cccdfd352beb20a35e9dfec62e7678fc
Author: Chris Michael cp.mich...@samsung.com
Date:   Mon Jan 12 11:44:06 2015 -0500

edje: Remove dead code

Summary: This removes the commented out dead code block from
9cdb8aaf9bec83a0e0879c04f66408f6326fa2b2

@fix

Signed-off-by: Chris Michael cp.mich...@samsung.com
---
 src/lib/edje/edje_entry.c | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index 52e329d..ac7c8c7 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -3625,12 +3625,8 @@ _edje_entry_cursor_down(Edje_Real_Part *rp, Edje_Cursor 
cur)
  return EINA_FALSE;
evas_textblock_cursor_char_geometry_get(c, cx, cy, cw, ch);
if (!evas_textblock_cursor_char_coord_set(c, cx, ly + (lh / 2)))
- {
-/* if (cx  (lx + (lw / 2))) */
-/*   evas_textblock_cursor_line_char_last(c); */
-/* else */
-  evas_textblock_cursor_line_char_last(c);
- }
+ evas_textblock_cursor_line_char_last(c);
+
_sel_update(en-ed, c, rp-object, rp-typedata.text-entry_data);
 
_edje_entry_imf_cursor_info_set(en);

-- 




[EGIT] [core/elementary] master 01/01: elementary: Fix dereference of null return value

2015-01-12 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=50fb0863fc3ec013e31e58c060dfde855ee2ae72

commit 50fb0863fc3ec013e31e58c060dfde855ee2ae72
Author: Chris Michael cp.mich...@samsung.com
Date:   Mon Jan 12 12:04:19 2015 -0500

elementary: Fix dereference of null return value

Summary: This fixes Coverity CID1261370. strrchr can return NULL here,
so we need to check that 'p' is valid.

@fix

Signed-off-by: Chris Michael cp.mich...@samsung.com
---
 src/bin/test_icon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/test_icon.c b/src/bin/test_icon.c
index 97cd393..b98d133 100644
--- a/src/bin/test_icon.c
+++ b/src/bin/test_icon.c
@@ -159,8 +159,8 @@ _standard_list_populate(Evas_Object *list, 
Elm_Icon_Lookup_Order order)
  {
 // group = /elm/icon/standard-name/style/maybe_another_style??
  snprintf(name, sizeof(name), %s, group + 9);
- p = strrchr(name, '/');
- *p = '\0';
+if ((p = strrchr(name, '/')))
+  *p = '\0';
  printf(Found group:%s  Name:%s\n, group, name);
 
  // quick hack to show only standard-compliant icons

-- 




[EGIT] [core/enlightenment] master 01/02: Fix Coverity CID1261288. Idential code for different branches

2015-01-12 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=13ed310a4dacfd61a59925a59db246f1d8ec

commit 13ed310a4dacfd61a59925a59db246f1d8ec
Author: Chris Michael cp.mich...@samsung.com
Date:   Mon Jan 12 12:11:26 2015 -0500

Fix Coverity CID1261288. Idential code for different branches

Signed-off-by: Chris Michael cp.mich...@samsung.com
---
 src/bin/e_widget_csel.c | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/bin/e_widget_csel.c b/src/bin/e_widget_csel.c
index 87b3d9b..68ce617 100644
--- a/src/bin/e_widget_csel.c
+++ b/src/bin/e_widget_csel.c
@@ -129,14 +129,7 @@ _e_wid_cb_color_changed(void *data, Evas_Object *o)
 
/* update the spectrum */
if (o != wd-spectrum /*  changed != -1*/)
- {
-if (wd-mode == changed ||
-(wd-mode = E_COLOR_COMPONENT_H  changed = 
E_COLOR_COMPONENT_B) ||
-(wd-mode = E_COLOR_COMPONENT_B  changed = 
E_COLOR_COMPONENT_H))
-  e_widget_spectrum_update(wd-spectrum, 1);
-else
-  e_widget_spectrum_update(wd-spectrum, 1);
- }
+ e_widget_spectrum_update(wd-spectrum, 1);
 
e_widget_color_well_update(wd-well);
 

-- 




[EGIT] [core/enlightenment] master 01/01: fix centering of elm wayland windows

2015-01-12 Thread Christopher Michael
devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1ec2a4e91c1ab1402b2a7f0c758684bdc37f3ef5

commit 1ec2a4e91c1ab1402b2a7f0c758684bdc37f3ef5
Author: Chris Michael cp.mich...@samsung.com
Date:   Mon Jan 12 13:36:58 2015 -0500

fix centering of elm wayland windows

Signed-off-by: Chris Michael cp.mich...@samsung.com
---
 src/bin/e_win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index 7587ce0..793b32e 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -117,7 +117,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
 ctx-visible = 1;
 evas_object_show(ctx-client-frame);
  }
-   if (ctx-centered) e_comp_object_util_center(ctx-client-frame);
+   if (ctx-centered) e_comp_object_util_center(o);
return EINA_TRUE;
 }
 

--