Re: [E-devel] Blog about EO

2014-08-16 Thread Kim Shinwoo
Reply first, go over later. On top of that, It is very glad to see your
article. Thank you.
On Aug 16, 2014 2:44 PM, Carsten Haitzler ras...@rasterman.com wrote:

 About time i got back to blogging about EFL etc.


 https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/

 --
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com



 --
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [bindings/python/python-efl] master 01/01: Expose object_from_instance and the inverse to other C code

2014-08-16 Thread davemds
davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=9a78c4e22d8e0483749aa2093c29a28a181a3838

commit 9a78c4e22d8e0483749aa2093c29a28a181a3838
Author: davemds d...@gurumeditation.it
Date:   Sat Aug 16 12:33:29 2014 +0200

Expose object_from_instance and the inverse to other C code

This create the efl.eo_api.h file that you can copy to your source if you 
want to use the exported api
---
 efl/eo/efl.eo.pyx  | 6 +-
 include/efl.eo.pxd | 5 -
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx
index d9547bb..6a2cd03 100644
--- a/efl/eo/efl.eo.pyx
+++ b/efl/eo/efl.eo.pyx
@@ -95,7 +95,7 @@ cdef void _object_mapping_unregister(char *name):
 eina_hash_del(object_mapping, name, NULL)
 
 
-cdef object object_from_instance(cEo *obj):
+cdef api object object_from_instance(cEo *obj):
  Create a python object from a C Eo object pointer. 
 cdef:
 void *data
@@ -140,6 +140,10 @@ cdef object object_from_instance(cEo *obj):
 o._set_obj(obj)
 return o
 
+cdef api cEo *instance_from_object(object obj):
+cdef Eo o = obj
+return o.obj
+
 
 cdef void _register_decorated_callbacks(Eo obj):
 
diff --git a/include/efl.eo.pxd b/include/efl.eo.pxd
index 96e6727..3e8e2b1 100644
--- a/include/efl.eo.pxd
+++ b/include/efl.eo.pxd
@@ -30,8 +30,11 @@ cdef:
 
 int PY_REFCOUNT(object o)
 
-object object_from_instance(cEo *obj)
 void _object_mapping_register(char *name, object cls) except *
 void _object_mapping_unregister(char *name)
 
 void _register_decorated_callbacks(Eo obj)
+
+cdef api:
+object object_from_instance(cEo *obj)
+cEo *instance_from_object(object o)

-- 




[EGIT] [bindings/python/python-efl] master 01/01: Add version info in the efl package.

2014-08-16 Thread davemds
davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=c7ae54df152446433592cd8ce868cc00d78aad61

commit c7ae54df152446433592cd8ce868cc00d78aad61
Author: davemds d...@gurumeditation.it
Date:   Sat Aug 16 14:11:06 2014 +0200

Add version info in the efl package.

Also removed the logger import in efl, not usefull and only create problems
---
 efl/__init__.py |  4 +++-
 setup.py| 20 +++-
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/efl/__init__.py b/efl/__init__.py
index 5fc98c8..6db8b76 100644
--- a/efl/__init__.py
+++ b/efl/__init__.py
@@ -1 +1,3 @@
-import efl.utils.logger
+
+__version__ = 1.10.99
+__version_info__ = ( 1, 10, 99 )
diff --git a/setup.py b/setup.py
index dee9e17..2e48c24 100755
--- a/setup.py
+++ b/setup.py
@@ -7,16 +7,23 @@ import subprocess
 from distutils.core import setup, Command
 from distutils.extension import Extension
 from distutils.version import StrictVersion, LooseVersion
+from efl import __version_info__ as vers
 
 script_path = os.path.dirname(os.path.abspath(__file__))
 
 
-# python-efl version
-VERSION = 1.11
-RELEASE = 1.10.99
+# python-efl version (change in efl/__init__.py)
+RELEASE = %d.%d.%d % (vers[0], vers[1], vers[2])
+VERSION = %d.%d % (vers[0], vers[1] if vers[2]  99 else vers[1] + 1)
+
+# dependencies
+CYTHON_MIN_VERSION = 0.19
+EFL_MIN_VERSION = RELEASE
+ELM_MIN_VERSION = RELEASE
+
 
 # Add git commit count for dev builds
-if RELEASE.split(.)[2] == 99:
+if vers[2] = 99:
 call = subprocess.Popen(
 [git, log, --oneline], stdout=subprocess.PIPE)
 out, err = call.communicate()
@@ -25,11 +32,6 @@ if RELEASE.split(.)[2] == 99:
 ver = log.count(\n)
 RELEASE += a + str(ver)
 
-# dependencies
-CYTHON_MIN_VERSION = 0.19
-EFL_MIN_VERSION = 1.10.99
-ELM_MIN_VERSION = 1.10.99
-
 
 # XXX: Force default visibility. See phab T504
 if os.getenv(CFLAGS) is not None and -fvisibility= in os.environ[CFLAGS]:

-- 




[EGIT] [core/efl] master 01/02: evas: allocate enougth atlas for all supported format.

2014-08-16 Thread Cedric BAIL
cedric pushed a commit to branch master.

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

commit dde9a1e97785b579662349397009e5c97d7daba7
Author: Cedric Bail cedric.b...@free.fr
Date:   Sat Aug 16 15:05:56 2014 +0200

evas: allocate enougth atlas for all supported format.
---
 src/modules/evas/engines/gl_common/evas_gl_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_common.h 
b/src/modules/evas/engines/gl_common/evas_gl_common.h
index ca775e9..94d6c09 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_common.h
+++ b/src/modules/evas/engines/gl_common/evas_gl_common.h
@@ -416,7 +416,7 @@ struct _Evas_GL_Shared
 #define MAX_ATLAS_H512
 #define DEF_ATLAS_H 512
 
-#define ATLAS_FORMATS_COUNT10
+#define ATLAS_FORMATS_COUNT12
 
   Eina_List *cspaces; // depend on the values of etc1, etc2 and st3c
 

-- 




[EGIT] [core/efl] master 02/02: evas: handle GL_LUMINANCE_ALPHA.

2014-08-16 Thread Cedric BAIL
cedric pushed a commit to branch master.

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

commit 396433bbc27819e6205db0d2cc8dcddf10d1dd46
Author: Cedric Bail cedric.b...@free.fr
Date:   Sat Aug 16 15:06:24 2014 +0200

evas: handle GL_LUMINANCE_ALPHA.

This fix T1459. I have added an ERR to catch this kind of issue earlier.
I am wondering if that should not be even a CRI.

The reason why we do see the problem only after the introduction of the
use of Eina_Rectangle_Pool is due to how efficiently they pack data, 
resulting
in ressource ending up in the wrong format bucket. Nothing wrong with the
patch itself.
---
 src/modules/evas/engines/gl_common/evas_gl_texture.c | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_texture.c 
b/src/modules/evas/engines/gl_common/evas_gl_texture.c
index f3e2ab9..07f463c 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -235,14 +235,15 @@ _tex_format_index(GLuint format)
   case GL_LUMINANCE12:
   case GL_LUMINANCE16:
 return 10;
+  case GL_LUMINANCE_ALPHA:
   case GL_LUMINANCE4_ALPHA4:
   case GL_LUMINANCE8_ALPHA8:
   case GL_LUMINANCE12_ALPHA12:
   case GL_LUMINANCE16_ALPHA16:
 return 11;
   default:
-// abort?
-return 0;
+ERR(Unknown format returned specified by GL stack: %x, format);
+return -1;
  }
return 0;
 }
@@ -465,14 +466,13 @@ _pool_tex_find(Evas_Engine_GL_Context *gc, int w, int h,
  }
 
th2 = _tex_format_index(intformat);
+   if (th2  0) return NULL;
EINA_LIST_FOREACH(gc-shared-tex.atlas[th2], l, pt)
  {
 if ((*apt = _pool_tex_alloc(pt, w, h, u, v)) != NULL)
   {
  gc-shared-tex.atlas[th2] =
-   eina_list_remove_list(gc-shared-tex.atlas[th2], l);
- gc-shared-tex.atlas[th2] =
-   eina_list_prepend(gc-shared-tex.atlas[th2], pt);
+   eina_list_promote_list(gc-shared-tex.atlas[th2], l);
  return pt;
   }
  }
@@ -483,7 +483,6 @@ _pool_tex_find(Evas_Engine_GL_Context *gc, int w, int h,
 pool_h = gc-shared-info.tune.atlas.max_h;
  }
pt = _pool_tex_new(gc, atlas_w, pool_h, intformat, format);
-
if (!pt) return NULL;
gc-shared-tex.atlas[th2] =
  eina_list_prepend(gc-shared-tex.atlas[th2], pt);

-- 




[EGIT] [bindings/python/python-efl] master 01/01: Unbreak doc generation

2014-08-16 Thread davemds
davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=17733d7e234eae347090cd48084c0513abc8be93

commit 17733d7e234eae347090cd48084c0513abc8be93
Author: davemds d...@gurumeditation.it
Date:   Sat Aug 16 15:42:03 2014 +0200

Unbreak doc generation
---
 doc/conf.py | 4 
 1 file changed, 4 insertions(+)

diff --git a/doc/conf.py b/doc/conf.py
index 8ba635d..7b2da65 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -26,6 +26,10 @@ d = lib.%s-%s-%d.%d % (
 sys.path.insert(0, os.path.abspath(../build/+d))
 #sys.path.insert(0, os.path.abspath('../build/lib.linux-i686-3.2'))
 
+# Delete any previously imported efl package
+if efl in sys.modules:
+del sys.modules[efl]
+
 
 # -- General configuration 
-
 

-- 




[EGIT] [core/enlightenment] master 03/04: nocomp enforcing is now more accurate

2014-08-16 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit 62023bc7224a556c331244cab65eaefb7e86e879
Author: Mike Blumenkrantz zm...@osg.samsung.com
Date:   Sat Aug 16 09:46:56 2014 -0400

nocomp enforcing is now more accurate
---
 src/bin/e_comp.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 023a063..7fade4e 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -484,10 +484,12 @@ nocomp:
(ec  nec)  (ec != nec); ec = nec, nec = 
e_client_below_get(ec))
 {
if (ec == c-nocomp_ec) break;
+   if (evas_object_layer_get(ec-frame)  
evas_object_layer_get(c-nocomp_ec-frame)) break;
if (e_client_is_stacking(ec)) continue;
-   if (ec-override  ec-internal) continue; //systray
+   if (!evas_object_visible_get(ec-frame)) continue;
+   if (evas_object_data_get(ec-frame, comp_skip)) 
continue;
if (e_object_is_del(E_OBJECT(ec)) || 
(!e_client_util_desk_visible(ec, e_desk_current_get(ec-zone continue;
-   if (e_config-allow_above_fullscreen  
(!e_config-mode.presentation))
+   if (ec-override || (e_config-allow_above_fullscreen 
 (!e_config-mode.presentation)))
  {
 _e_comp_nocomp_end(c);
 break;

-- 




[EGIT] [core/enlightenment] master 02/04: nocomp checks more correctly skip comp_skip objects

2014-08-16 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit 6bf8e2432005158a7f6bab634b5b466c19ade2ff
Author: Mike Blumenkrantz zm...@osg.samsung.com
Date:   Sat Aug 16 09:46:21 2014 -0400

nocomp checks more correctly skip comp_skip objects
---
 src/bin/e_comp.c | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 5b95177..023a063 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -96,7 +96,7 @@ _e_comp_visible_object_is(Evas_Object *obj, Evas_Coord x, 
Evas_Coord y, Evas_Coo
const char *type = evas_object_type_get(obj);
Evas_Coord xx, yy, ww, hh;
 
-   if (!type) return EINA_FALSE;
+   if ((!type) || (!e_util_strcmp(type, e_comp_object))) return EINA_FALSE;
evas_object_geometry_get(obj, xx, yy, ww, hh);
if (E_INTERSECTS(x, y, w, h, xx, yy, ww, hh))
  {
@@ -176,7 +176,11 @@ _e_comp_fullscreen_check(E_Comp *c)
 
 if (ec-ignored || ec-input_only || 
(!evas_object_visible_get(ec-frame)))
   continue;
-if (!e_comp_util_client_is_fullscreen(ec)) return NULL;
+if (!e_comp_util_client_is_fullscreen(ec))
+  {
+ if (evas_object_data_get(ec-frame, comp_skip)) continue;
+ return NULL;
+  }
 while (o)
   {
  if (_e_comp_visible_object_is_above

-- 




[EGIT] [bindings/python/python-efl] master 01/01: setup.py: add missing ecore-x include dir for elm

2014-08-16 Thread Kai Huuhko
kuuko pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=a1140f96416ffedb6b59b388fbed7ee18754e536

commit a1140f96416ffedb6b59b388fbed7ee18754e536
Author: Kai Huuhko kai.huu...@gmail.com
Date:   Sat Aug 16 16:50:06 2014 +0300

setup.py: add missing ecore-x include dir for elm
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 2e48c24..c3e5ce0 100755
--- a/setup.py
+++ b/setup.py
@@ -410,7 +410,7 @@ if set((build, build_ext, install, bdist, sdist)) 
 set(sys.argv):
 elementary. + m,
 [efl/elementary/ + m + module_suffix],
 include_dirs=[include/],
-extra_compile_args=elm_cflags,
+extra_compile_args=elm_cflags + ecore_x_cflags,
 extra_link_args=elm_libs + eina_libs + evas_libs,
 )
 modules.append(e)

-- 




[EGIT] [core/enlightenment] master 04/04: systray xembed handles nocomp interactions more reliably

2014-08-16 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit c006bbf247b67623915abbf76f3383c912b49325
Author: Mike Blumenkrantz zm...@osg.samsung.com
Date:   Sat Aug 16 09:47:28 2014 -0400

systray xembed handles nocomp interactions more reliably
---
 src/modules/systray/e_mod_xembed.c | 26 ++
 1 file changed, 26 insertions(+)

diff --git a/src/modules/systray/e_mod_xembed.c 
b/src/modules/systray/e_mod_xembed.c
index 2f281cb..f235801 100644
--- a/src/modules/systray/e_mod_xembed.c
+++ b/src/modules/systray/e_mod_xembed.c
@@ -850,6 +850,30 @@ _systray_xembed_client_add(Instance_Xembed *xembed, int t 
EINA_UNUSED, E_Event_C
 else
   evas_object_show(xembed-ec-frame);
 _systray_xembed_restack(xembed);
+evas_object_data_set(ev-ec-frame, comp_skip, (void*)1);
+ }
+   return ECORE_CALLBACK_RENEW;
+}
+
+static Eina_Bool
+_systray_xembed_comp_enable(Instance_Xembed *xembed, int t EINA_UNUSED, void 
*ev EINA_UNUSED)
+{
+   if (xembed-ec)
+ {
+ecore_x_window_show(xembed-win.base);
+evas_object_show(xembed-ec-frame);
+e_comp_object_redirected_set(xembed-ec-frame, 1);
+ }
+   return ECORE_CALLBACK_RENEW;
+}
+
+static Eina_Bool
+_systray_xembed_comp_disable(Instance_Xembed *xembed, int t EINA_UNUSED, void 
*ev EINA_UNUSED)
+{
+   if (xembed-ec)
+ {
+ecore_x_window_hide(xembed-win.base);
+evas_object_hide(xembed-ec-frame);
  }
return ECORE_CALLBACK_RENEW;
 }
@@ -896,6 +920,8 @@ systray_xembed_new(Instance *inst)
E_LIST_HANDLER_APPEND(xembed-handlers, ECORE_X_EVENT_WINDOW_REPARENT, 
_systray_xembed_cb_reparent_notify, xembed);
E_LIST_HANDLER_APPEND(xembed-handlers, ECORE_X_EVENT_SELECTION_CLEAR, 
_systray_xembed_cb_selection_clear, xembed);
E_LIST_HANDLER_APPEND(xembed-handlers, ECORE_X_EVENT_WINDOW_CONFIGURE, 
_systray_xembed_cb_window_configure, xembed);
+   E_LIST_HANDLER_APPEND(xembed-handlers, E_EVENT_COMPOSITOR_ENABLE, 
_systray_xembed_comp_enable, xembed);
+   E_LIST_HANDLER_APPEND(xembed-handlers, E_EVENT_COMPOSITOR_DISABLE, 
_systray_xembed_comp_disable, xembed);
 
return xembed;
 }

-- 




[EGIT] [core/enlightenment] master 01/04: simplify systray handler code

2014-08-16 Thread Mike Blumenkrantz
discomfitor pushed a commit to branch master.

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

commit 8669d68db3611ae0ab15499ef5a0b3edd58e191b
Author: Mike Blumenkrantz zm...@osg.samsung.com
Date:   Sat Aug 16 09:12:48 2014 -0400

simplify systray handler code
---
 src/modules/systray/e_mod_xembed.c | 51 +++---
 1 file changed, 9 insertions(+), 42 deletions(-)

diff --git a/src/modules/systray/e_mod_xembed.c 
b/src/modules/systray/e_mod_xembed.c
index 9cda684..2f281cb 100644
--- a/src/modules/systray/e_mod_xembed.c
+++ b/src/modules/systray/e_mod_xembed.c
@@ -57,16 +57,7 @@ struct _Instance_Xembed
   Ecore_X_Window base;
   Ecore_X_Window selection;
} win;
-   struct
-   {
-  Ecore_Event_Handler *message;
-  Ecore_Event_Handler *destroy;
-  Ecore_Event_Handler *show;
-  Ecore_Event_Handler *reparent;
-  Ecore_Event_Handler *sel_clear;
-  Ecore_Event_Handler *configure;
-  Ecore_Event_Handler *client;
-   } handler;
+   Eina_List *handlers;
struct
{
   Ecore_Timer *retry;
@@ -898,25 +889,13 @@ systray_xembed_new(Instance *inst)
 evas_object_event_callback_add(inst-gcc-gadcon-shelf-comp_object, 
EVAS_CALLBACK_SHOW, _systray_xembed_cb_show, xembed);
  }
 
-   xembed-handler.client = ecore_event_handler_add(E_EVENT_CLIENT_ADD, 
(Ecore_Event_Handler_Cb)_systray_xembed_client_add, xembed);
-   xembed-handler.message = ecore_event_handler_add
-   (ECORE_X_EVENT_CLIENT_MESSAGE, _systray_xembed_cb_client_message,
-xembed);
-   xembed-handler.destroy = ecore_event_handler_add
-   (ECORE_X_EVENT_WINDOW_DESTROY, _systray_xembed_cb_window_destroy,
-xembed);
-   xembed-handler.show = ecore_event_handler_add
-   (ECORE_X_EVENT_WINDOW_SHOW, _systray_xembed_cb_window_show,
-xembed);
-   xembed-handler.reparent = ecore_event_handler_add
-   (ECORE_X_EVENT_WINDOW_REPARENT, _systray_xembed_cb_reparent_notify,
-xembed);
-   xembed-handler.sel_clear = ecore_event_handler_add
-   (ECORE_X_EVENT_SELECTION_CLEAR, _systray_xembed_cb_selection_clear,
-xembed);
-   xembed-handler.configure = ecore_event_handler_add
-   (ECORE_X_EVENT_WINDOW_CONFIGURE, _systray_xembed_cb_window_configure,
-xembed);
+   E_LIST_HANDLER_APPEND(xembed-handlers, E_EVENT_CLIENT_ADD, 
(Ecore_Event_Handler_Cb)_systray_xembed_client_add, xembed);
+   E_LIST_HANDLER_APPEND(xembed-handlers, ECORE_X_EVENT_CLIENT_MESSAGE, 
_systray_xembed_cb_client_message, xembed);
+   E_LIST_HANDLER_APPEND(xembed-handlers, ECORE_X_EVENT_WINDOW_DESTROY, 
_systray_xembed_cb_window_destroy, xembed);
+   E_LIST_HANDLER_APPEND(xembed-handlers, ECORE_X_EVENT_WINDOW_SHOW, 
_systray_xembed_cb_window_show, xembed);
+   E_LIST_HANDLER_APPEND(xembed-handlers, ECORE_X_EVENT_WINDOW_REPARENT, 
_systray_xembed_cb_reparent_notify, xembed);
+   E_LIST_HANDLER_APPEND(xembed-handlers, ECORE_X_EVENT_SELECTION_CLEAR, 
_systray_xembed_cb_selection_clear, xembed);
+   E_LIST_HANDLER_APPEND(xembed-handlers, ECORE_X_EVENT_WINDOW_CONFIGURE, 
_systray_xembed_cb_window_configure, xembed);
 
return xembed;
 }
@@ -943,19 +922,7 @@ systray_xembed_free(Instance_Xembed *xembed)
_systray_xembed_deactivate(xembed);
ecore_timer_del(xembed-visibility_timer);
 
-   if (xembed-handler.message)
- ecore_event_handler_del(xembed-handler.message);
-   if (xembed-handler.destroy)
- ecore_event_handler_del(xembed-handler.destroy);
-   if (xembed-handler.show)
- ecore_event_handler_del(xembed-handler.show);
-   if (xembed-handler.reparent)
- ecore_event_handler_del(xembed-handler.reparent);
-   if (xembed-handler.sel_clear)
- ecore_event_handler_del(xembed-handler.sel_clear);
-   if (xembed-handler.configure)
- ecore_event_handler_del(xembed-handler.configure);
-   ecore_event_handler_del(xembed-handler.client);
+   E_FREE_LIST(xembed-handlers, ecore_event_handler_del);
if (xembed-timer.retry)
  ecore_timer_del(xembed-timer.retry);
 

-- 




[EGIT] [apps/terminology] master 02/02: termio: add Shift + Up/Down shortcut for +1/-1 line scroll navigation

2014-08-16 Thread Panagiotis Galatsanos
billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=6e82dff4e0ea39836282e92746cfe7c430d88343

commit 6e82dff4e0ea39836282e92746cfe7c430d88343
Author: godfath3r galatsan...@gmail.com
Date:   Sat Aug 16 18:46:13 2014 +0200

termio: add Shift + Up/Down shortcut for +1/-1 line scroll navigation

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1336
---
 src/bin/termio.c | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index 94b8f1a..ba32219 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -2046,6 +2046,21 @@ _handle_shift(Evas_Event_Key_Down *ev, int by, 
Evas_Object *term, Termio *sd)
 _smart_update_queue(term, sd);
 miniview_position_offset(term_miniview_get(sd-term), by, EINA_TRUE);
  }
+   else if (!strcmp(ev-key, Up))
+ {
+sd-scroll += 1;
+if (sd-scroll  sd-pty-backscroll_num)
+  sd-scroll = sd-pty-backscroll_num;
+_smart_update_queue(term, sd);
+miniview_position_offset(term_miniview_get(sd-term), -1, EINA_TRUE);
+ }
+   else if (!strcmp(ev-key, Down))
+ {
+sd-scroll -= 1;
+if (sd-scroll  0) sd-scroll = 0;
+_smart_update_queue(term, sd);
+miniview_position_offset(term_miniview_get(sd-term), 1, EINA_TRUE);
+ }
else if (!strcmp(ev-key, Insert))
  {
 if (evas_key_modifier_is_set(ev-modifiers, Control))

-- 




[EGIT] [apps/terminology] master 01/02: miniview: scroll position indicator when jump on change isn't checked.

2014-08-16 Thread Panagiotis Galatsanos
billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=31da027aef45e7f650cc7a61f4fda3b9bd3de26f

commit 31da027aef45e7f650cc7a61f4fda3b9bd3de26f
Author: godfath3r galatsan...@gmail.com
Date:   Sat Aug 16 18:45:14 2014 +0200

miniview: scroll position indicator when jump on change isn't checked.

Summary:
Fix indicators position when your are at some place in scrollback
and terminal outputs some new lines (say from a running command). It
now scrolls to where it should be.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1335
---
 src/bin/miniview.c | 14 +-
 src/bin/termio.c   |  2 ++
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/bin/miniview.c b/src/bin/miniview.c
index 40a10b7..deaa4d1 100644
--- a/src/bin/miniview.c
+++ b/src/bin/miniview.c
@@ -237,11 +237,15 @@ miniview_position_offset(Evas_Object *obj, int by, 
Eina_Bool sanitize)
  }
else
  {
-mv-screen.pos_val += (double) by / (mv-img_h - mv-rows);
-edje_object_part_drag_value_set(mv-base, miniview_screen,
-0.0, mv-screen.pos_val);
-if (mv-screen.pos_val  0  sanitize) mv-screen.pos_val = 0;
-if (mv-screen.pos_val  1  sanitize) mv-screen.pos_val = 1;
+if (sanitize)
+  {
+ mv-screen.pos_val += (double) by / (mv-img_h - mv-rows);
+ edje_object_part_drag_value_set(mv-base, miniview_screen,
+ 0.0, mv-screen.pos_val);
+
+ if (mv-screen.pos_val  0) mv-screen.pos_val = 0;
+ if (mv-screen.pos_val  1) mv-screen.pos_val = 1;
+  }
  }
 }
 
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 16ed54f..94b8f1a 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -4166,6 +4166,8 @@ termio_scroll(Evas_Object *obj, int direction, int 
start_y, int end_y)
if ((!sd-jump_on_change)  // if NOT scroll to bottom on updates
(sd-scroll  0))
  {
+Evas_Object *mv = term_miniview_get(sd-term);
+if (mv) miniview_position_offset(mv, direction, EINA_FALSE);
 // adjust scroll position for added scrollback
 sd-scroll -= direction;
 if (sd-scroll  sd-pty-backscroll_num)

-- 




[EGIT] [tools/elm-theme-viewer] master 02/03: widget_option: added allow_event option to notify.

2014-08-16 Thread Daniel Juyung Seo
seoz pushed a commit to branch master.

http://git.enlightenment.org/tools/elm-theme-viewer.git/commit/?id=c077829fc2cec1e571820a27bbf343b68ad393b6

commit c077829fc2cec1e571820a27bbf343b68ad393b6
Author: Daniel Juyung Seo seojuyu...@gmail.com
Date:   Sun Aug 17 01:56:25 2014 +0900

widget_option: added allow_event option to notify.
---
 src/bin/widget.c| 13 -
 src/bin/widget_option.c | 12 
 src/bin/widget_option.h |  3 +++
 3 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/src/bin/widget.c b/src/bin/widget.c
index 1a94d77..5326090 100644
--- a/src/bin/widget.c
+++ b/src/bin/widget.c
@@ -1428,13 +1428,16 @@ _widget_notify_launch(void *data EINA_UNUSED, 
Evas_Object *obj EINA_UNUSED,
o = elm_notify_add(gd-win);
evas_object_smart_callback_add(o, block,clicked,
   _widget_notify_response_cb, NULL);
-
-   elm_notify_allow_events_set(o, EINA_FALSE);
evas_object_show(o);
 
-   //elm_notify_align_set
-   //elm_notify_timeout_set
-   //elm_notify_allow_events_set
+   if (wod)
+ {
+elm_notify_allow_events_set(o, wod-notify_event);
+//elm_notify_align_set
+//elm_notify_timeout_set
+//elm_notify_allow_events_set
+
+ }
 
box = elm_box_add(o);
elm_object_content_set(o, box);
diff --git a/src/bin/widget_option.c b/src/bin/widget_option.c
index 742a673..6acb3a4 100644
--- a/src/bin/widget_option.c
+++ b/src/bin/widget_option.c
@@ -402,6 +402,17 @@ _widget_option_genlist_create(Evas_Object *box)
elm_radio_value_set(rdg, wod-genlist_content_type);
 }
 
+// notify
+WIDGET_OPTION_CHECK_CHANGED_CB(notify_event, wod-notify_event);
+
+static void
+_widget_option_notify_create(Evas_Object *box)
+{
+   Evas_Object *o = NULL;
+
+   WIDGET_OPTION_CHECK_ADD(Allow background events, wod-notify_event, 
_notify_event_changed_cb);
+}
+
 // popup
 const char *_popup_content_type[] =
 {
@@ -682,6 +693,7 @@ widget_option_content_update(Widget_Type type)
WIDGET_OPTION(entry, ETV_ID_ENTRY)
WIDGET_OPTION(gengrid, ETV_ID_GENGRID)
WIDGET_OPTION(genlist, ETV_ID_GENLIST)
+   WIDGET_OPTION(notify, ETV_ID_NOTIFY)
WIDGET_OPTION(popup, ETV_ID_POPUP)
WIDGET_OPTION(progressbar, ETV_ID_PROGRESSBAR)
WIDGET_OPTION(radio, ETV_ID_RADIO)
diff --git a/src/bin/widget_option.h b/src/bin/widget_option.h
index bee2a20..5e749e4 100644
--- a/src/bin/widget_option.h
+++ b/src/bin/widget_option.h
@@ -36,6 +36,9 @@ struct _Widget_Option_Data
int genlist_text_len; // short (0), middle (1), long (2)
int genlist_content_type; // icon (0), check (1), button (2)
 
+   // notify
+   Eina_Bool notify_event : 1; // disallow events(0), allow events (1)
+
// popup
int pop_content_type; // content: short text (0), long text (1), button (2) 
and etc.
int pop_button; // number of popup buttons (1 ~ 3)

-- 




[EGIT] [tools/elm-theme-viewer] master 03/03: dev: added elm theme viewer development guideline.

2014-08-16 Thread Daniel Juyung Seo
seoz pushed a commit to branch master.

http://git.enlightenment.org/tools/elm-theme-viewer.git/commit/?id=bb4c6f8ae82095a2ee958d90b906aef7a3c77b64

commit bb4c6f8ae82095a2ee958d90b906aef7a3c77b64
Author: Daniel Juyung Seo seojuyu...@gmail.com
Date:   Sun Aug 17 01:56:43 2014 +0900

dev: added elm theme viewer development guideline.
---
 DEV.txt | 20 
 1 file changed, 20 insertions(+)

diff --git a/DEV.txt b/DEV.txt
new file mode 100644
index 000..d1d2ee0
--- /dev/null
+++ b/DEV.txt
@@ -0,0 +1,20 @@
+=== to add a new widget ===
+
+
+=== to add a new widget option ===
+- add a new variable   widget_option.h
+- to initialize the variable, modify _wod_init()   
widget_option.c
+- add a new entry in widget_option_content_update()
widget_option.c
+   ex) WIDGET_OPTION(notify, ETV_ID_NOTIFY)
+- add specific options widget_option.c
+   - check
+   - for caller
+   WIDGET_OPTION_CHECK_ADD(Allow background events, 
wod-notify_event, _notify_event_changed_cb);
+   - for callee
+   WIDGET_OPTION_CHECK_CHANGED_CB(notify_event, 
wod-notify_event);
+- use specific options widget.c
+   if (wod)
+   {
+   if (wod-btn_text)
+   elm_object_text_set(o, This is a Button);
+   }

-- 




[EGIT] [tools/elm-theme-viewer] master 01/03: widget: added notify widget support.

2014-08-16 Thread Daniel Juyung Seo
seoz pushed a commit to branch master.

http://git.enlightenment.org/tools/elm-theme-viewer.git/commit/?id=40f913bcfbc43774be34813a34030aae6985b72a

commit 40f913bcfbc43774be34813a34030aae6985b72a
Author: Daniel Juyung Seo seojuyu...@gmail.com
Date:   Sun Aug 17 01:26:39 2014 +0900

widget: added notify widget support.
---
 src/bin/widget.c | 63 
 1 file changed, 63 insertions(+)

diff --git a/src/bin/widget.c b/src/bin/widget.c
index 47a7d17..1a94d77 100644
--- a/src/bin/widget.c
+++ b/src/bin/widget.c
@@ -1405,6 +1405,68 @@ _widget_naviframe_create(Evas_Object *parent, const char 
*style)
return o;
 }
 
+static void
+_widget_notify_response_cb(void *data EINA_UNUSED, Evas_Object *obj,
+   void *event_info EINA_UNUSED)
+{
+   evas_object_del(obj);
+}
+
+static void
+_widget_notify_close_cb(void *data, Evas_Object *obj EINA_UNUSED,
+void *event_info EINA_UNUSED)
+{
+   evas_object_del(data);
+}
+
+static void
+_widget_notify_launch(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
+  void *event_info EINA_UNUSED)
+{
+   Evas_Object *o = NULL, *box = NULL, *lbl = NULL, *btn = NULL;
+
+   o = elm_notify_add(gd-win);
+   evas_object_smart_callback_add(o, block,clicked,
+  _widget_notify_response_cb, NULL);
+
+   elm_notify_allow_events_set(o, EINA_FALSE);
+   evas_object_show(o);
+
+   //elm_notify_align_set
+   //elm_notify_timeout_set
+   //elm_notify_allow_events_set
+
+   box = elm_box_add(o);
+   elm_object_content_set(o, box);
+   evas_object_show(box);
+
+   lbl = elm_label_add(box);
+   elm_object_text_set(lbl, This is a notify widget.);
+   elm_box_pack_end(box, lbl);
+   evas_object_show(lbl);
+
+   btn = elm_button_add(box);
+   elm_object_text_set(btn, Close);
+   evas_object_smart_callback_add(btn, clicked, _widget_notify_close_cb, o);
+   elm_box_pack_end(box, btn);
+   evas_object_show(btn);
+}
+
+// notify
+static Evas_Object *
+_widget_notify_create(Evas_Object *parent, const char *style)
+{
+   Evas_Object *o = NULL;
+
+   o = elm_button_add(parent);
+   WEIGHT(o, EVAS_HINT_EXPAND, 0.0); FILL(o);
+   elm_object_text_set(o, Press to launch a notify);
+   evas_object_smart_callback_add(o, clicked, _widget_notify_launch, style);
+   evas_object_show(o);
+
+   return o;
+}
+
 // panel
 static Evas_Object *
 _widget_panel_create(Evas_Object *parent, const char *orig_style)
@@ -2093,6 +2155,7 @@ widget_create(Evas_Object *parent, Widget_Type widget, 
const char *orig_style)
ADD_WIDGET(menu, ETV_ID_MENU, orig_style);
ADD_WIDGET(multibuttonentry, ETV_ID_MULTIBUTTONENTRY, style);
ADD_WIDGET(naviframe, ETV_ID_NAVIFRAME, style);
+   ADD_WIDGET(notify, ETV_ID_NOTIFY, style);
ADD_WIDGET(panel, ETV_ID_PANEL, orig_style);
ADD_WIDGET(photo, ETV_ID_PHOTO, style);
ADD_WIDGET(player, ETV_ID_PLAYER, style);

-- 




Re: [E-devel] [EGIT] [bindings/python/python-efl] master 01/01: setup.py: add missing ecore-x include dir for elm

2014-08-16 Thread Davide Andreoli
2014-08-16 15:50 GMT+02:00 Kai Huuhko kai.huu...@gmail.com:

 kuuko pushed a commit to branch master.


 http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=a1140f96416ffedb6b59b388fbed7ee18754e536

 commit a1140f96416ffedb6b59b388fbed7ee18754e536
 Author: Kai Huuhko kai.huu...@gmail.com
 Date:   Sat Aug 16 16:50:06 2014 +0300

 setup.py: add missing ecore-x include dir for elm



This seems wrong to me.
It breaks compilation if you don't have ecore-x and is not necessary on my
machines...
you need to fix your environment :P


 ---
  setup.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/setup.py b/setup.py
 index 2e48c24..c3e5ce0 100755
 --- a/setup.py
 +++ b/setup.py
 @@ -410,7 +410,7 @@ if set((build, build_ext, install, bdist,
 sdist))  set(sys.argv):
  elementary. + m,
  [efl/elementary/ + m + module_suffix],
  include_dirs=[include/],
 -extra_compile_args=elm_cflags,
 +extra_compile_args=elm_cflags + ecore_x_cflags,
  extra_link_args=elm_libs + eina_libs + evas_libs,
  )
  modules.append(e)

 --



--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [website/www] master 02/02: MEDIUM: Report favicon.ico from production to git

2014-08-16 Thread Bertrand Jacquin
beber pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=3019cd674c948cba7192d9f87262b2bdb7b61d5a

commit 3019cd674c948cba7192d9f87262b2bdb7b61d5a
Author: Bertrand Jacquin be...@meleeweb.net
Date:   Sun Aug 17 01:21:23 2014 +0200

MEDIUM: Report favicon.ico from production to git
---
 public_html/favicon.ico | Bin 0 - 4286 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/public_html/favicon.ico b/public_html/favicon.ico
new file mode 100644
index 000..f4f2e27
Binary files /dev/null and b/public_html/favicon.ico differ

-- 




[EGIT] [website/www] master 01/02: BUG/MEDIUM: Comment wrapped comment lines

2014-08-16 Thread Bertrand Jacquin
beber pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=e830cd99ae1686aa44b195384e05c2d106df7f03

commit e830cd99ae1686aa44b195384e05c2d106df7f03
Author: Bertrand Jacquin be...@meleeweb.net
Date:   Sun Aug 17 01:20:04 2014 +0200

BUG/MEDIUM: Comment wrapped comment lines

  PHP Parse error: syntax error, unexpected '.' in 
/srv/web/enlightenment.org/public_html/donate/donate_settings.php on line 17
---
 public_html/donate/donate_settings.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public_html/donate/donate_settings.php 
b/public_html/donate/donate_settings.php
index 27ad4b2..4d4f903 100755
--- a/public_html/donate/donate_settings.php
+++ b/public_html/donate/donate_settings.php
@@ -14,7 +14,7 @@ $CompanyEmail = ninge...@gmail.com;  // Make sure this 
is the same as you
 $supportEmail = ninge...@gmail.com;
 $salesEmail = ninge...@gmail.com;
 # These Next couple of lines are no longer needed since we met our
-goal
+# goal
 $goal = 4000.00;
 $offset = 1255.00;
 ?

-- 




Re: [E-devel] [EGIT] [bindings/python/python-efl] master 01/01: setup.py: add missing ecore-x include dir for elm

2014-08-16 Thread Kai Huuhko
2014-08-16 23:14 GMT+03:00 Davide Andreoli d...@gurumeditation.it:
 2014-08-16 15:50 GMT+02:00 Kai Huuhko kai.huu...@gmail.com:

 kuuko pushed a commit to branch master.


 http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=a1140f96416ffedb6b59b388fbed7ee18754e536

 commit a1140f96416ffedb6b59b388fbed7ee18754e536
 Author: Kai Huuhko kai.huu...@gmail.com
 Date:   Sat Aug 16 16:50:06 2014 +0300

 setup.py: add missing ecore-x include dir for elm



 This seems wrong to me.
 It breaks compilation if you don't have ecore-x and is not necessary on my
 machines...
 you need to fix your environment :P


It is correct though since we have



 ---
  setup.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/setup.py b/setup.py
 index 2e48c24..c3e5ce0 100755
 --- a/setup.py
 +++ b/setup.py
 @@ -410,7 +410,7 @@ if set((build, build_ext, install, bdist,
 sdist))  set(sys.argv):
  elementary. + m,
  [efl/elementary/ + m + module_suffix],
  include_dirs=[include/],
 -extra_compile_args=elm_cflags,
 +extra_compile_args=elm_cflags + ecore_x_cflags,
  extra_link_args=elm_libs + eina_libs + evas_libs,
  )
  modules.append(e)

 --



 --
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [bindings/python/python-efl] master 01/01: setup.py: add missing ecore-x include dir for elm

2014-08-16 Thread Kai Huuhko
2014-08-17 2:30 GMT+03:00 Kai Huuhko kai.huu...@gmail.com:
 2014-08-16 23:14 GMT+03:00 Davide Andreoli d...@gurumeditation.it:
 2014-08-16 15:50 GMT+02:00 Kai Huuhko kai.huu...@gmail.com:

 kuuko pushed a commit to branch master.


 http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=a1140f96416ffedb6b59b388fbed7ee18754e536

 commit a1140f96416ffedb6b59b388fbed7ee18754e536
 Author: Kai Huuhko kai.huu...@gmail.com
 Date:   Sat Aug 16 16:50:06 2014 +0300

 setup.py: add missing ecore-x include dir for elm



 This seems wrong to me.
 It breaks compilation if you don't have ecore-x and is not necessary on my
 machines...
 you need to fix your environment :P


 It is correct though since we have

Damned CTRL-Return shortcut...

since we have this in window.pxd:

cdef extern from Ecore_X.h:
ctypedef unsigned int Ecore_X_ID
ctypedef Ecore_X_ID Ecore_X_Window

It will fail to build either implicitly or explicitly when ecore-x is
not in include dirs.

One solution is to make those definitions platform specific, which we
can do with 
http://docs.cython.org/src/reference/language_basics.html#compile-time-definitions

Since X support can be disabled with configure options for EFL, we
should really use pkg-config to get the option value and somehow make
the code conditional based on that. Any suggestions?




 ---
  setup.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/setup.py b/setup.py
 index 2e48c24..c3e5ce0 100755
 --- a/setup.py
 +++ b/setup.py
 @@ -410,7 +410,7 @@ if set((build, build_ext, install, bdist,
 sdist))  set(sys.argv):
  elementary. + m,
  [efl/elementary/ + m + module_suffix],
  include_dirs=[include/],
 -extra_compile_args=elm_cflags,
 +extra_compile_args=elm_cflags + ecore_x_cflags,
  extra_link_args=elm_libs + eina_libs + evas_libs,
  )
  modules.append(e)

 --



 --
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Blog about EO

2014-08-16 Thread Vinícius dos Santos Oliveira
2014-08-16 2:36 GMT-03:00 Carsten Haitzler ras...@rasterman.com:


 https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/


I want to comment over there, but it requires facebook login. Is this
authentication method the only supported on the Enlightenment blog?


-- 
Vinícius dos Santos Oliveira
https://about.me/vinipsmaker
--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Blog about EO

2014-08-16 Thread The Rasterman
On Sat, 16 Aug 2014 22:02:09 -0300 Vinícius dos Santos Oliveira
vini.ipsma...@gmail.com said:

 2014-08-16 2:36 GMT-03:00 Carsten Haitzler ras...@rasterman.com:
 
 
  https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/
 
 
 I want to comment over there, but it requires facebook login. Is this
 authentication method the only supported on the Enlightenment blog?

yup. thats what phab does. phabricator is what we use for our dev site and it's
written by a bunch of ex facebook guys. thus fb is what it supports.

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Blog about EO

2014-08-16 Thread Vinícius dos Santos Oliveira
2014-08-16 23:37 GMT-03:00 Carsten Haitzler ras...@rasterman.com:

 yup. thats what phab does. phabricator is what we use for our dev site and
 it's
 written by a bunch of ex facebook guys. thus fb is what it supports.


I don't have a fb account, so I'm replying here.

First, good to see you posting again.

Secondly, it looks very promising. Good to see the EFL community is still
improving its technologies.

Now, just a few questions:

   - A few languages can guarantee that dangling references cannot be
   created or have its own techniques to detect them. Is the object-checking
   (dis)activatable? I mean, is there an alternative way to call the Eo
   functions without the unnecessary checking cost?
   - Is it thread-safe? I know it's a silly question, but a word confirming
   it would be good.



-- 
Vinícius dos Santos Oliveira
https://about.me/vinipsmaker
--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [tools/enventor] master 01/01: tools: fix typo.

2014-08-16 Thread ChunEon Park
hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=aab2f000c9e9c4e0200209ddbaa1ac7578c4c70b

commit aab2f000c9e9c4e0200209ddbaa1ac7578c4c70b
Author: ChunEon Park her...@hermet.pe.kr
Date:   Sun Aug 17 13:28:02 2014 +0900

tools: fix typo.
---
 src/bin/tools.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/tools.c b/src/bin/tools.c
index badbf5b..cf31370 100644
--- a/src/bin/tools.c
+++ b/src/bin/tools.c
@@ -139,7 +139,7 @@ tools_create(Evas_Object *parent, edit_data *ed)
it = elm_toolbar_item_append(toolbar, NULL, Swallow, swallow_cb, NULL);
elm_toolbar_item_icon_file_set(it, EDJE_PATH, swallow_s);
it = elm_toolbar_item_append(toolbar, NULL, LiveEdit, live_edit_cb, NULL);
-   elm_toolbar_item_icon_file_set(it, EDJE_PATH, live-edit);
+   elm_toolbar_item_icon_file_set(it, EDJE_PATH, live_edit);
it = elm_toolbar_item_append(toolbar, NULL, Lines, lines_cb, ed);
elm_toolbar_item_icon_file_set(it, EDJE_PATH, lines);
it = elm_toolbar_item_append(toolbar, NULL, Find, find_cb, ed);

-- 




Re: [E-devel] Blog about EO

2014-08-16 Thread The Rasterman
On Sun, 17 Aug 2014 01:11:51 -0300 Vinícius dos Santos Oliveira
vini.ipsma...@gmail.com said:

 2014-08-16 23:37 GMT-03:00 Carsten Haitzler ras...@rasterman.com:
 
  yup. thats what phab does. phabricator is what we use for our dev site and
  it's
  written by a bunch of ex facebook guys. thus fb is what it supports.
 
 
 I don't have a fb account, so I'm replying here.
 
 First, good to see you posting again.
 
 Secondly, it looks very promising. Good to see the EFL community is still
 improving its technologies.
 
 Now, just a few questions:
 
- A few languages can guarantee that dangling references cannot be
created or have its own techniques to detect them. Is the object-checking
(dis)activatable? I mean, is there an alternative way to call the Eo
functions without the unnecessary checking cost?

compile-time for efl itself. you have to build it without checking. i'd advise
against it because efll uses its own objects internally and if efl has a
mistake in it you just nuked efl's own internal safety. i highly suggest not
doing this.

it may be that we remove the ability to compile without this check in the end
as i an just see it now. gentoo ricers are going to add a use flag to turn this
off and then we will get tonnes of stability complaints because the rest of us
normal people run without turning the safety off.

it's worth keeping this safety on. it doesn't cost much and is totally worth
it. 

- Is it thread-safe? I know it's a silly question, but a word confirming
it would be good.

eo is. yes. efl in general (evas, edje etc.) are not, but eo is.

 
 
 -- 
 Vinícius dos Santos Oliveira
 https://about.me/vinipsmaker
 --
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Blog about EO

2014-08-16 Thread The Rasterman
On Sun, 17 Aug 2014 01:40:25 -0300 Vinícius dos Santos Oliveira
vini.ipsma...@gmail.com said:

 2014-08-17 1:24 GMT-03:00 Carsten Haitzler ras...@rasterman.com:
 
  compile-time for efl itself. you have to build it without checking. i'd
  advise
  against it because efll uses its own objects internally and if efl has a
  mistake in it you just nuked efl's own internal safety. i highly suggest
  not
  doing this.
 
  it may be that we remove the ability to compile without this check in the
  end
  as i an just see it now. gentoo ricers are going to add a use flag to turn
  this
  off and then we will get tonnes of stability complaints because the rest
  of us
  normal people run without turning the safety off.
 
  it's worth keeping this safety on. it doesn't cost much and is totally
  worth
  it.
 
 
 I'd like to see this checking disabled per call only, not globally. Then
 only bindings for safe languages would use it.
 
 I'll leave the safety checks turned on. They're worth. Also, EFL is for GUI
 only and heavy computing sensitive data can be implemented without negative
 impact by just not touching EFL (temporally).
 
 Once more, good work.

thats what we do - if it really is performance sensitive - dont go through eo.
it's meant for the outer layer of api. :)

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Blog about EO

2014-08-16 Thread Vinícius dos Santos Oliveira
2014-08-17 1:24 GMT-03:00 Carsten Haitzler ras...@rasterman.com:

 compile-time for efl itself. you have to build it without checking. i'd
 advise
 against it because efll uses its own objects internally and if efl has a
 mistake in it you just nuked efl's own internal safety. i highly suggest
 not
 doing this.

 it may be that we remove the ability to compile without this check in the
 end
 as i an just see it now. gentoo ricers are going to add a use flag to turn
 this
 off and then we will get tonnes of stability complaints because the rest
 of us
 normal people run without turning the safety off.

 it's worth keeping this safety on. it doesn't cost much and is totally
 worth
 it.


I'd like to see this checking disabled per call only, not globally. Then
only bindings for safe languages would use it.

I'll leave the safety checks turned on. They're worth. Also, EFL is for GUI
only and heavy computing sensitive data can be implemented without negative
impact by just not touching EFL (temporally).

Once more, good work.


-- 
Vinícius dos Santos Oliveira
https://about.me/vinipsmaker
--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel