[EGIT] [core/efl] master 01/01: evas/image - fixed typo.

2013-11-09 Thread ChunEon Park
hermet pushed a commit to branch master.

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

commit 76c7b9a275e702497219711ab3c5eefab289d2a1
Author: ChunEon Park her...@hermet.pe.kr
Date:   Sat Nov 9 17:07:35 2013 +0900

evas/image - fixed typo.
---
 src/lib/evas/canvas/evas_object_image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index 353435b..fa808d0 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -3268,7 +3268,7 @@ _proxy_error(Evas_Object *eo_proxy, void *context, void 
*output, void *surface,
 /**
  * Render the source object when a proxy is set.
  *
- * Used to force a draw if necessary, else just makes sures it's available.
+ * Used to force a draw if necessary, else just makes sure it's available.
  */
 static void
 _proxy_subrender(Evas *eo_e, Evas_Object *eo_source, Evas_Object *eo_proxy, 
Evas_Object_Protected_Data *proxy_obj, Eina_Bool do_async)

-- 




[EGIT] [bindings/python/python-efl] master 02/02: Elementary: Add GLView.

2013-11-09 Thread Kai Huuhko
kuuko pushed a commit to branch master.

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

commit 09afe05a3cba45d6bdf3156b89504f488c4fbb06
Author: Kai Huuhko kai.huu...@gmail.com
Date:   Sat Nov 9 11:53:20 2013 +0200

Elementary: Add GLView.
---
 api_coverage.py  |  10 +-
 doc/elementary/elementary.rst|   1 +
 doc/elementary/module-glview.rst |   8 +
 efl/elementary/enums.pxd |  15 ++
 efl/elementary/glview.pxd|  22 +++
 efl/elementary/glview.pyx| 352 +++
 setup.py |   1 +
 7 files changed, 404 insertions(+), 5 deletions(-)

diff --git a/api_coverage.py b/api_coverage.py
index 2c3f21b..e07c409 100755
--- a/api_coverage.py
+++ b/api_coverage.py
@@ -9,13 +9,13 @@ import argparse
 c_exclude_list = [
 elm_app, # These are only useful for C apps
 elm_widget, # Custom widgets, probably not feasible for us to provide
-elm_prefs, # Intended for configuration dialogs
-elm_route, # Useless API?
-elm_glview, # Is there an OpenGL API for Python that can be used with 
this?
-evas_gl_, # ditto
+#elm_prefs, # Intended for configuration dialogs
+#elm_route, # Useless API?
+#elm_glview, # Is there an OpenGL API for Python that can be used with 
this?
+#evas_gl_, # ditto
 elm_quicklaunch, # Is quicklaunch relevant for us?
 emotion_object_extension_may_play_fast_get, # this optimization does not 
work from py
-edje_edit_, # edje edit is not there for users to use
+edje_edit_, # Disabled
 ecore_thread_, # python has his own thread abstraction library
 ecore_pipe_, # python has his own pipe abstraction library
 ecore_getopt_, # python has his own getopt implementation
diff --git a/doc/elementary/elementary.rst b/doc/elementary/elementary.rst
index 476ebe4..44eae0e 100644
--- a/doc/elementary/elementary.rst
+++ b/doc/elementary/elementary.rst
@@ -125,6 +125,7 @@ Reference
module-gengrid
module-genlist
module-gesture_layer
+   module-glview
module-grid
module-hover
module-hoversel
diff --git a/doc/elementary/module-glview.rst b/doc/elementary/module-glview.rst
new file mode 100644
index 000..53f1f85
--- /dev/null
+++ b/doc/elementary/module-glview.rst
@@ -0,0 +1,8 @@
+:mod:`glview` Module
+--
+
+.. automodule:: efl.elementary.glview
+
+.. inheritance-diagram::
+efl.elementary.glview
+:parts: 2
diff --git a/efl/elementary/enums.pxd b/efl/elementary/enums.pxd
index be298f4..bdb35d4 100644
--- a/efl/elementary/enums.pxd
+++ b/efl/elementary/enums.pxd
@@ -184,6 +184,21 @@ cdef extern from Elementary.h:
 ELM_GESTURE_ROTATE
 ELM_GESTURE_LAST
 
+ctypedef enum Elm_GLView_Mode:
+ELM_GLVIEW_NONE
+ELM_GLVIEW_ALPHA
+ELM_GLVIEW_DEPTH
+ELM_GLVIEW_STENCIL
+ELM_GLVIEW_DIRECT
+
+ctypedef enum Elm_GLView_Resize_Policy:
+ELM_GLVIEW_RESIZE_POLICY_RECREATE
+ELM_GLVIEW_RESIZE_POLICY_SCALE
+
+ctypedef enum Elm_GLView_Render_Policy:
+ELM_GLVIEW_RENDER_POLICY_ON_DEMAND
+ELM_GLVIEW_RENDER_POLICY_ALWAYS
+
 ctypedef enum Elm_Hover_Axis:
 ELM_HOVER_AXIS_NONE
 ELM_HOVER_AXIS_HORIZONTAL
diff --git a/efl/elementary/glview.pxd b/efl/elementary/glview.pxd
new file mode 100644
index 000..9586f4f
--- /dev/null
+++ b/efl/elementary/glview.pxd
@@ -0,0 +1,22 @@
+from efl.eina cimport Eina_Bool
+from efl.evas cimport Evas_Object, const_Evas_Object, Evas_Coord
+from enums cimport Elm_GLView_Mode, Elm_GLView_Resize_Policy, \
+Elm_GLView_Render_Policy
+
+cdef extern from Elementary.h:
+ctypedef struct Evas_GL_API
+
+ctypedef void (*Elm_GLView_Func_Cb)(Evas_Object *obj)
+
+Evas_Object *elm_glview_add(Evas_Object *parent)
+Evas_GL_API *elm_glview_gl_api_get(const_Evas_Object *obj)
+Eina_Boolelm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode)
+Eina_Boolelm_glview_resize_policy_set(Evas_Object *obj, 
Elm_GLView_Resize_Policy policy)
+Eina_Boolelm_glview_render_policy_set(Evas_Object *obj, 
Elm_GLView_Render_Policy policy)
+void elm_glview_size_set(Evas_Object *obj, Evas_Coord w, 
Evas_Coord h)
+void elm_glview_size_get(const_Evas_Object *obj, Evas_Coord *w, 
Evas_Coord *h)
+void elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func_Cb 
func)
+void elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func_Cb 
func)
+void elm_glview_resize_func_set(Evas_Object *obj, 
Elm_GLView_Func_Cb func)
+void elm_glview_render_func_set(Evas_Object *obj, 
Elm_GLView_Func_Cb func)
+void elm_glview_changed_set(Evas_Object *obj)
diff --git a/efl/elementary/glview.pyx b/efl/elementary/glview.pyx
new file mode 100644
index 000..81b9ad9
--- /dev/null
+++ b/efl/elementary/glview.pyx
@@ -0,0 +1,352 @@
+# Copyright (C) 2007-2013 various 

[EGIT] [bindings/python/python-efl] master 01/02: Elementary: Fix the number of seconds in a day in calendar examples.

2013-11-09 Thread Nathan Jervis
kuuko pushed a commit to branch master.

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

commit 7896899abc35604fe2909508cd398e1bc7b81696
Author: Nathan Jervis mirh...@gmail.com
Date:   Sat Nov 9 11:49:06 2013 +0200

Elementary: Fix the number of seconds in a day in calendar examples.
---
 efl/elementary/calendar_elm.pyx  |  4 ++--
 examples/elementary/test_calendar.py | 16 
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/efl/elementary/calendar_elm.pyx b/efl/elementary/calendar_elm.pyx
index 2811d1f..9d07b12 100644
--- a/efl/elementary/calendar_elm.pyx
+++ b/efl/elementary/calendar_elm.pyx
@@ -222,11 +222,11 @@ cdef class CalendarMark(object):
 
 cal = Calendar(win)
 
-current_time = time.time() + 5 * 84600
+current_time = time.time() + 5 * 86400
 selected_time = date.fromtimestamp(current_time)
 CalendarMark(cal, holiday, selected_time, ELM_CALENDAR_ANNUALLY)
 
-current_time = time.time() + 1 * 84600
+current_time = time.time() + 1 * 86400
 selected_time = date.fromtimestamp(current_time)
 CalendarMark(cal, checked, selected_time, ELM_CALENDAR_UNIQUE)
 
diff --git a/examples/elementary/test_calendar.py 
b/examples/elementary/test_calendar.py
index befe3a2..4f907e1 100644
--- a/examples/elementary/test_calendar.py
+++ b/examples/elementary/test_calendar.py
@@ -189,10 +189,10 @@ def test_calendar2(obj):
 cal3 = elm_calendar_add(win)
 evas_object_size_hint_weight_set(cal3, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
 evas_object_size_hint_align_set(cal3, EVAS_HINT_FILL, EVAS_HINT_FILL)
-current_time = time(NULL) + 34 * 84600
+current_time = time(NULL) + 34 * 86400
 localtime_r(current_time, selected_time)
 elm_calendar_selected_time_set(cal3, selected_time)
-current_time = time(NULL) + 1 * 84600
+current_time = time(NULL) + 1 * 86400
 localtime_r(current_time, selected_time)
 elm_calendar_mark_add(cal3, checked, selected_time, ELM_CALENDAR_UNIQUE)
 elm_calendar_marks_clear(cal3)
@@ -220,24 +220,24 @@ def test_calendar2(obj):
 elm_calendar_format_function_set(cal, _format_month_year)
 elm_calendar_min_max_year_set(cal, 2010, 2020)
 
-current_time = time(NULL) + 4 * 84600
+current_time = time(NULL) + 4 * 86400
 localtime_r(current_time, selected_time)
 elm_calendar_mark_add(cal, holiday, selected_time, 
ELM_CALENDAR_ANNUALLY)
 
-current_time = time(NULL) + 1 * 84600
+current_time = time(NULL) + 1 * 86400
 localtime_r(current_time, selected_time)
 elm_calendar_mark_add(cal, checked, selected_time, ELM_CALENDAR_UNIQUE)
 
-current_time = time(NULL) - 363 * 84600
+current_time = time(NULL) - 363 * 86400
 localtime_r(current_time, selected_time)
 elm_calendar_mark_add(cal, checked, selected_time, ELM_CALENDAR_MONTHLY)
 
-current_time = time(NULL) - 5 * 84600
+current_time = time(NULL) - 5 * 86400
 localtime_r(current_time, selected_time)
 mark = elm_calendar_mark_add(cal, holiday, selected_time,
   ELM_CALENDAR_WEEKLY)
 
-current_time = time(NULL) + 1 * 84600
+current_time = time(NULL) + 1 * 86400
 localtime_r(current_time, selected_time)
 elm_calendar_mark_add(cal, holiday, selected_time, ELM_CALENDAR_WEEKLY)
 
@@ -263,7 +263,7 @@ def test_calendar3(obj):
 cal = elm_calendar_add(win)
 elm_calendar_first_day_of_week_set(cal, ELM_DAY_THURSDAY)
 elm_calendar_select_mode_set(cal, ELM_CALENDAR_SELECT_MODE_ONDEMAND)
-current_time = time(NULL) + 34 * 84600
+current_time = time(NULL) + 34 * 86400
 localtime_r(current_time, selected_time)
 elm_calendar_selected_time_set(cal, selected_time)
 evas_object_size_hint_weight_set(cal, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)

-- 




[EGIT] [bindings/python/python-efl] master 01/01: Elementary: Forgot to add signal callbacks to GLView.

2013-11-09 Thread Kai Huuhko
kuuko pushed a commit to branch master.

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

commit 3100dcfa46c4b7c159b9e259b6eefa46986517b8
Author: Kai Huuhko kai.huu...@gmail.com
Date:   Sat Nov 9 12:00:38 2013 +0200

Elementary: Forgot to add signal callbacks to GLView.
---
 efl/elementary/glview.pyx | 21 +
 1 file changed, 21 insertions(+)

diff --git a/efl/elementary/glview.pyx b/efl/elementary/glview.pyx
index 81b9ad9..15c3dc8 100644
--- a/efl/elementary/glview.pyx
+++ b/efl/elementary/glview.pyx
@@ -349,4 +349,25 @@ cdef class GLView(LayoutClass):
 
 elm_glview_changed_set(self.obj)
 
+def callback_focused_add(self, func, *args, **kwargs):
+when glview has received focus.
+self._callback_add(focused, func, *args, **kwargs)
+
+def callback_focused_del(self, func):
+self._callback_del(focused, func)
+
+def callback_unfocused_add(self, func, *args, **kwargs):
+when glview has lost focus.
+self._callback_add(unfocused, func, *args, **kwargs)
+
+def callback_unfocused_del(self, func):
+self._callback_del(unfocused, func)
+
+def callback_language_changed_add(self, func, *args, **kwargs):
+the program's language changed
+self._callback_add(language,changed, func, *args, **kwargs)
+
+def callback_language_changed_del(self, func):
+self._callback_del(language,changed, func)
+
 _object_mapping_register(Elm_Glview, GLView)

-- 




Re: [E-devel] [EGIT] [bindings/python/python-efl] master 01/01: Python-EFL: unbreak the compilation with older cython. Kuuko: you win a spank this time :P

2013-11-09 Thread Davide Andreoli
2013/11/9 David Seikel onef...@gmail.com

 On Thu, 17 Oct 2013 16:28:04 +0300 Kai Huuhko kai.huu...@gmail.com
 wrote:

  17.10.2013 13:50, David Seikel kirjoitti:
   On Thu, 17 Oct 2013 13:12:25 +0300 Kai Huuhko kai.huu...@gmail.com
   wrote:
  
  
  
   17.10.2013 09:52, David Seikel kirjoitti:
   On Thu, 17 Oct 2013 00:59:20 +0300 Kai Huuhko
   kai.huu...@gmail.com wrote:
  
   15.10.2013 15:03, Kai Huuhko kirjoitti:
   15.10.2013 08:45, David Seikel kirjoitti:
   On Mon, 14 Oct 2013 23:31:08 +0300 Kai Huuhko
   kai.huu...@gmail.com wrote:
  
   Let's just bump the minimum version requirement already. ;)
  
   Ubuntu LTS still has cython 0.15.1.  Will I ever be able to
   actually compile any of this  python stuff?
  
   Patience, young Padawan.
  
   You may ask or wait for us to package the pre-generated module C
   source files.
  
   I believe they recently added a target directory for the
   generated files making it easier for us to do development
   snapshots; Dave: could we automate this with Jenkins?
  
   First step of project onefanged python is complete: we can now
   create a source tarball with a single command. DaveMDS is now
   working on adding this step to Jenkins.
  
   Using this tarball you'll get the Python modules built without
   needing Cython at all.
  
   That wont help this onefang numbskull at all, he compiles from
   git.
  
  
   The barstand!
  
   Can't you modify the script to use these automated snapshots?
  
   Well I could, but I don't want to start special casing stuff in my
   generic build script.  Then every one will want it. :-P
  
   The alternative is for us to keep the generated files in a branch,
   which can get messy.
  
   That wont work either, my generic build script specifically uses the
   master branch.
  
   (Or, we'll simply ignore you.)
  
   That's worked for years.  :-P
  
   The big problem for me is that I have another project that uses
   python, and it's important for that project to build on stock
   standard Ubuntu LTS.  So I can't just install the latest cython and
   be done with it. No doubt when Ubuntu LTS gets refreshed next year,
   EFL python's cython version requirement will move out of reach.
   Again.
  
 
  Not going to happen. Saucy already has Cython 0.19 and that's what
  we're planning to target here. We could go with 0.17 as well since we
  already worked around the problems that 0.18 and 0.19 solve. The
  version bump would simply mean that we can get rid of these hacks.
 
   I might see if I can simply install the latest cython in some
   special place, then put that in the path for my EFL build script.
  
 
  Let me know how that works out. We'll have to figure out something
  else if it doesn't work.

 It half worked.  I installed cython 0.19.1 from git source into my home
 directory.  Modified my build script to include that install in the
 various python paths.  The build works, but when I sudo to root (using
 sudo -E to replicate the environment variables) to run the install, it
 claims to not be able to find a recent enough cython.  I checked the
 python paths from sudo, they are the same.

 I don't have enough python fu to debug this.


I really suggest you to use the generated distribution package at:
https://build.enlightenment.org/view/Base%20jobs/job/base_pyefl_build/lastSuccessfulBuild/artifact/dist/efl-1.7.99.tar.gz

That one do NOT need cython, it is generated at every git push so it is
always updated and, above all, you help us to test this package that will
be the base for our future releases.

I know you need to modify your build script for this but you modified it
yet, so it is no more an excuse :P

davemds




 --
 A big old stinking pile of genius that no one wants
 coz there are too many silver coated monkeys in the world.


 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models.
 Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and
 register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net

[EGIT] [core/efl] master 02/05: gitignore: ignore files generated by make check.

2013-11-09 Thread Cedric Bail
cedric pushed a commit to branch master.

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

commit f49377a5386382f28b10e80ee8984f13c5c3fcb1
Author: Cedric Bail cedric.b...@free.fr
Date:   Sat Nov 9 19:50:15 2013 +0900

gitignore: ignore files generated by make check.
---
 .gitignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index 1a41bf1..d1d2d49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,8 @@ Makefile.in
 tags
 .deps
 .libs
+*.trs
+*.log
 *.exe
 *.o
 *.lo

-- 




[EGIT] [core/efl] master 01/05: efl: detect 64 bits correctly.

2013-11-09 Thread Cedric Bail
cedric pushed a commit to branch master.

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

commit 926f4c5e8437b8a61095c636505f447061be60b8
Author: Cedric Bail cedric.b...@free.fr
Date:   Sat Nov 9 19:48:31 2013 +0900

efl: detect 64 bits correctly.
---
 src/bin/edje/edje_cc_out.c| 8 
 src/lib/edje/edje_signal.c| 2 +-
 src/lib/eina/eina_config.h.in | 4 
 src/lib/eina/eina_cow.c   | 4 ++--
 src/lib/eina/eina_hash.c  | 2 +-
 src/lib/ethumb/ethumb.c   | 2 +-
 6 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index 1c09c3e..d821902 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -254,7 +254,7 @@ _part_lookup_key_pc_hash(const void *key, int key_length 
EINA_UNUSED)
 
if (a-stable)
  {
-#ifdef __LP64__
+#ifdef EFL64
 return eina_hash_int64((uintptr_t *) a-pc, sizeof (void*)) ^
   eina_hash_int64((uintptr_t *) a-mem.dest, sizeof (void*));
 #else
@@ -264,7 +264,7 @@ _part_lookup_key_pc_hash(const void *key, int key_length 
EINA_UNUSED)
  }
else
  {
-#ifdef __LP64__
+#ifdef EFL64
 return eina_hash_int64((uintptr_t *) a-pc, sizeof (void*)) ^
   eina_hash_int64((uintptr_t *) a-mem.reallocated.base, sizeof 
(void*)) ^
   eina_hash_int32((unsigned int *) a-mem.reallocated.offset, sizeof 
(int));
@@ -298,7 +298,7 @@ _part_lookup_key_hash(const void *key, int key_length 
EINA_UNUSED)
 
if (a-stable)
  {
-#ifdef __LP64__
+#ifdef EFL64
 return eina_hash_int64((uintptr_t *) a-mem.dest, sizeof (void*));
 #else
 return eina_hash_int32((uintptr_t *) a-mem.dest, sizeof (void*));
@@ -306,7 +306,7 @@ _part_lookup_key_hash(const void *key, int key_length 
EINA_UNUSED)
  }
else
  {
-#ifdef __LP64__
+#ifdef EFL64
 return eina_hash_int64((uintptr_t *) a-mem.reallocated.base, sizeof 
(void*)) ^
   eina_hash_int32((unsigned int *) a-mem.reallocated.offset, sizeof 
(int));
 #else
diff --git a/src/lib/edje/edje_signal.c b/src/lib/edje/edje_signal.c
index 1ec9b15..b9aa3e9 100644
--- a/src/lib/edje/edje_signal.c
+++ b/src/lib/edje/edje_signal.c
@@ -36,7 +36,7 @@ _edje_signal_match_key_hash(const void *key, int key_length 
EINA_UNUSED)
hash = eina_hash_int32(a-matches_count, sizeof (int));
for (i = 0; i  a-matches_count; ++i)
  {
-#ifdef __LP64__
+#ifdef EFL64
 hash ^= eina_hash_int64((const unsigned long int*) 
a-matches[i].signal, sizeof (char *));
 hash ^= eina_hash_int64((const unsigned long int*) 
a-matches[i].source, sizeof (char *));
 hash ^= eina_hash_int64((const unsigned long int*) 
a-matches[i].func, sizeof (Edje_Signal_Cb));
diff --git a/src/lib/eina/eina_config.h.in b/src/lib/eina/eina_config.h.in
index 72e3ed3..5eddfdd 100644
--- a/src/lib/eina/eina_config.h.in
+++ b/src/lib/eina/eina_config.h.in
@@ -97,4 +97,8 @@
 #endif
 @EINA_CONFIGURE_HAVE_POSIX_SPINLOCK@
 
+#if (defined(__x86_64__) || defined(__x86_64) || defined(__amd64__) || 
defined(__amd64) || defined(__ppc64__) || defined(_WIN64) || defined(__LP64__) 
|| defined(_LP64))
+# define EFL64
+#endif
+
 #endif /* EINA_CONFIG_H_ */
diff --git a/src/lib/eina/eina_cow.c b/src/lib/eina/eina_cow.c
index a2c4e3f..2488648 100644
--- a/src/lib/eina/eina_cow.c
+++ b/src/lib/eina/eina_cow.c
@@ -163,7 +163,7 @@ _eina_cow_hash_gen(const void *key, int key_length,
return r;
 }
 
-#ifdef __LP64__
+#ifdef EFL64
 static int
 _eina_cow_hash64(const void *key, int key_length)
 {
@@ -355,7 +355,7 @@ eina_cow_add(const char *name, unsigned int struct_size, 
unsigned int step, cons
 goto on_error;
  }
 
-#ifdef __LP64__
+#ifdef EFL64
cow-match = eina_hash_new(_eina_cow_length,
   _eina_cow_cmp,
   _eina_cow_hash64,
diff --git a/src/lib/eina/eina_hash.c b/src/lib/eina/eina_hash.c
index 87dd686..0989f68 100644
--- a/src/lib/eina/eina_hash.c
+++ b/src/lib/eina/eina_hash.c
@@ -804,7 +804,7 @@ eina_hash_int64_new(Eina_Free_Cb data_free_cb)
 EAPI Eina_Hash *
 eina_hash_pointer_new(Eina_Free_Cb data_free_cb)
 {
-#ifdef __LP64__
+#ifdef EFL64
return eina_hash_new(EINA_KEY_LENGTH(_eina_int64_key_length),
 EINA_KEY_CMP(_eina_int64_key_cmp),
 EINA_KEY_HASH(eina_hash_int64),
diff --git a/src/lib/ethumb/ethumb.c b/src/lib/ethumb/ethumb.c
index eab57a2..3c4a968 100644
--- a/src/lib/ethumb/ethumb.c
+++ b/src/lib/ethumb/ethumb.c
@@ -1892,7 +1892,7 @@ ethumb_key_cmp(const void *key1, EINA_UNUSED int 
key1_length,
 #undef CMP_PARAM
 
 #define HASH_PARAM_I(Param) r ^= eina_hash_int32((unsigned int*) e-Param, 0);
-#ifdef __LP64__
+#ifdef EFL64
 # define HASH_PARAM_P(Param) r ^= eina_hash_int64((unsigned long int*) 
e-Param, 0);
 #else
 # define HASH_PARAM_P(Param) r ^= eina_hash_int32((unsigned int*) e-Param, 
0);

-- 




[EGIT] [core/efl] master 03/05: eina: fix warning of unsigned int being compared to an int.

2013-11-09 Thread Cedric Bail
cedric pushed a commit to branch master.

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

commit 91025a1e04990fcada02a7b4c27a446091384473
Author: Cedric Bail cedric.b...@free.fr
Date:   Sat Nov 9 20:06:36 2013 +0900

eina: fix warning of unsigned int being compared to an int.
---
 src/tests/eina/eina_test_clist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/eina/eina_test_clist.c b/src/tests/eina/eina_test_clist.c
index ee8a5b6..8aaf6fc 100644
--- a/src/tests/eina/eina_test_clist.c
+++ b/src/tests/eina/eina_test_clist.c
@@ -74,7 +74,7 @@ static void add_string_head(const char *string_to_add)
   fail_if(eina_clist_head(string_list) != entry_to_add-entry);
 }
 
-static void iterating_two_phase_with_add_head(int n, const char *str, int 
n_ent)
+static void iterating_two_phase_with_add_head(unsigned int n, const char *str, 
int n_ent)
 {
   int i;
   struct test_string *entries[n_ent];

-- 




[EGIT] [core/efl] master 05/05: eina: fix eina_hash_int64 on Windows system.

2013-11-09 Thread Cedric Bail
cedric pushed a commit to branch master.

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

commit 44f539e1a3d7fd4892d5dc5b612f4b9d91d3967d
Author: Cedric Bail cedric.b...@free.fr
Date:   Sat Nov 9 20:07:27 2013 +0900

eina: fix eina_hash_int64 on Windows system.
---
 src/bin/edje/edje_cc_out.c  | 12 ++--
 src/lib/edje/edje_signal.c  |  6 +++---
 src/lib/eina/eina_file_common.c | 10 +-
 src/lib/eina/eina_file_common.h |  6 +++---
 src/lib/eina/eina_hash.h|  2 +-
 src/lib/eina/eina_inline_hash.x |  4 ++--
 src/lib/ethumb/ethumb.c |  4 ++--
 7 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index d821902..f5a5044 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -255,8 +255,8 @@ _part_lookup_key_pc_hash(const void *key, int key_length 
EINA_UNUSED)
if (a-stable)
  {
 #ifdef EFL64
-return eina_hash_int64((uintptr_t *) a-pc, sizeof (void*)) ^
-  eina_hash_int64((uintptr_t *) a-mem.dest, sizeof (void*));
+return eina_hash_int64((unsigned long long int *) a-pc, sizeof 
(void*)) ^
+  eina_hash_int64((unsigned long long int *) a-mem.dest, sizeof 
(void*));
 #else
 return eina_hash_int32((uintptr_t *) a-pc, sizeof (void*)) ^
   eina_hash_int32((uintptr_t *) a-mem.dest, sizeof (void*));
@@ -265,8 +265,8 @@ _part_lookup_key_pc_hash(const void *key, int key_length 
EINA_UNUSED)
else
  {
 #ifdef EFL64
-return eina_hash_int64((uintptr_t *) a-pc, sizeof (void*)) ^
-  eina_hash_int64((uintptr_t *) a-mem.reallocated.base, sizeof 
(void*)) ^
+return eina_hash_int64((unsigned long long int *) a-pc, sizeof 
(void*)) ^
+  eina_hash_int64((unsigned long long int *) a-mem.reallocated.base, 
sizeof (void*)) ^
   eina_hash_int32((unsigned int *) a-mem.reallocated.offset, sizeof 
(int));
 #else
 return eina_hash_int32((uintptr_t *) a-pc, sizeof (void*)) ^
@@ -299,7 +299,7 @@ _part_lookup_key_hash(const void *key, int key_length 
EINA_UNUSED)
if (a-stable)
  {
 #ifdef EFL64
-return eina_hash_int64((uintptr_t *) a-mem.dest, sizeof (void*));
+return eina_hash_int64((unsigned long long int *) a-mem.dest, sizeof 
(void*));
 #else
 return eina_hash_int32((uintptr_t *) a-mem.dest, sizeof (void*));
 #endif
@@ -307,7 +307,7 @@ _part_lookup_key_hash(const void *key, int key_length 
EINA_UNUSED)
else
  {
 #ifdef EFL64
-return eina_hash_int64((uintptr_t *) a-mem.reallocated.base, sizeof 
(void*)) ^
+return eina_hash_int64((unsigned long long int *) 
a-mem.reallocated.base, sizeof (void*)) ^
   eina_hash_int32((unsigned int *) a-mem.reallocated.offset, sizeof 
(int));
 #else
 return eina_hash_int32((uintptr_t *) a-mem.reallocated.base, sizeof 
(void*)) ^
diff --git a/src/lib/edje/edje_signal.c b/src/lib/edje/edje_signal.c
index b9aa3e9..add049c 100644
--- a/src/lib/edje/edje_signal.c
+++ b/src/lib/edje/edje_signal.c
@@ -37,9 +37,9 @@ _edje_signal_match_key_hash(const void *key, int key_length 
EINA_UNUSED)
for (i = 0; i  a-matches_count; ++i)
  {
 #ifdef EFL64
-hash ^= eina_hash_int64((const unsigned long int*) 
a-matches[i].signal, sizeof (char *));
-hash ^= eina_hash_int64((const unsigned long int*) 
a-matches[i].source, sizeof (char *));
-hash ^= eina_hash_int64((const unsigned long int*) 
a-matches[i].func, sizeof (Edje_Signal_Cb));
+hash ^= eina_hash_int64((const unsigned long long int*) 
a-matches[i].signal, sizeof (char *));
+hash ^= eina_hash_int64((const unsigned long long int*) 
a-matches[i].source, sizeof (char *));
+hash ^= eina_hash_int64((const unsigned long long int*) 
a-matches[i].func, sizeof (Edje_Signal_Cb));
 #else
 hash ^= eina_hash_int32((const unsigned int*) a-matches[i].signal, 
sizeof (char *));
 hash ^= eina_hash_int32((const unsigned int*) a-matches[i].source, 
sizeof (char *));
diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
index 5a0250c..7b05b3b 100644
--- a/src/lib/eina/eina_file_common.c
+++ b/src/lib/eina/eina_file_common.c
@@ -142,18 +142,18 @@ eina_file_map_key_length(const void *key EINA_UNUSED)
 }
 
 int
-eina_file_map_key_cmp(const unsigned long int *key1, int key1_length 
EINA_UNUSED,
-   const unsigned long int *key2, int key2_length 
EINA_UNUSED)
+eina_file_map_key_cmp(const unsigned long long int *key1, int key1_length 
EINA_UNUSED,
+   const unsigned long long int *key2, int key2_length 
EINA_UNUSED)
 {
if (key1[0] - key2[0] == 0) return key1[1] - key2[1];
return key1[0] - key2[0];
 }
 
 int
-eina_file_map_key_hash(const unsigned long int *key, int key_length 
EINA_UNUSED)
+eina_file_map_key_hash(const unsigned long long int *key, int key_length 
EINA_UNUSED)
 {
-   return 

[EGIT] [core/efl] master 04/05: eina: eina_lock_debug is only on Eina_Lock.

2013-11-09 Thread Cedric Bail
cedric pushed a commit to branch master.

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

commit 65c33f63692f67e59a4d2e212d6e23d16b15da7f
Author: Cedric Bail cedric.b...@free.fr
Date:   Sat Nov 9 20:06:59 2013 +0900

eina: eina_lock_debug is only on Eina_Lock.
---
 src/tests/eina/eina_test_lock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/eina/eina_test_lock.c b/src/tests/eina/eina_test_lock.c
index 62f7b29..9bac304 100644
--- a/src/tests/eina/eina_test_lock.c
+++ b/src/tests/eina/eina_test_lock.c
@@ -144,7 +144,7 @@ START_TEST(eina_test_rwlock)
 
counter = 42;
 
-   eina_lock_debug(mutex);
+   eina_lock_debug(mtcond);
 
fail_if(eina_rwlock_take_read(mutex) != EINA_LOCK_SUCCEED);
fail_if(eina_lock_take(mtcond) != EINA_LOCK_SUCCEED);

-- 




Re: [E-devel] [EGIT] [bindings/python/python-efl] master 01/01: Python-EFL: unbreak the compilation with older cython. Kuuko: you win a spank this time :P

2013-11-09 Thread Kai Huuhko
09.11.2013 07:28, David Seikel kirjoitti:
 On Thu, 17 Oct 2013 16:28:04 +0300 Kai Huuhko kai.huu...@gmail.com
 wrote:
 
 17.10.2013 13:50, David Seikel kirjoitti:
 On Thu, 17 Oct 2013 13:12:25 +0300 Kai Huuhko kai.huu...@gmail.com
 wrote:



 17.10.2013 09:52, David Seikel kirjoitti:
 On Thu, 17 Oct 2013 00:59:20 +0300 Kai Huuhko
 kai.huu...@gmail.com wrote:

 15.10.2013 15:03, Kai Huuhko kirjoitti:
 15.10.2013 08:45, David Seikel kirjoitti:
 On Mon, 14 Oct 2013 23:31:08 +0300 Kai Huuhko
 kai.huu...@gmail.com wrote:

 Let's just bump the minimum version requirement already. ;)

 Ubuntu LTS still has cython 0.15.1.  Will I ever be able to
 actually compile any of this  python stuff?

 Patience, young Padawan.

 You may ask or wait for us to package the pre-generated module C
 source files.

 I believe they recently added a target directory for the
 generated files making it easier for us to do development
 snapshots; Dave: could we automate this with Jenkins?

 First step of project onefanged python is complete: we can now
 create a source tarball with a single command. DaveMDS is now
 working on adding this step to Jenkins.

 Using this tarball you'll get the Python modules built without
 needing Cython at all.

 That wont help this onefang numbskull at all, he compiles from
 git.


 The barstand!

 Can't you modify the script to use these automated snapshots?

 Well I could, but I don't want to start special casing stuff in my
 generic build script.  Then every one will want it. :-P

 The alternative is for us to keep the generated files in a branch,
 which can get messy.

 That wont work either, my generic build script specifically uses the
 master branch.

 (Or, we'll simply ignore you.)

 That's worked for years.  :-P

 The big problem for me is that I have another project that uses
 python, and it's important for that project to build on stock
 standard Ubuntu LTS.  So I can't just install the latest cython and
 be done with it. No doubt when Ubuntu LTS gets refreshed next year,
 EFL python's cython version requirement will move out of reach.
 Again.


 Not going to happen. Saucy already has Cython 0.19 and that's what
 we're planning to target here. We could go with 0.17 as well since we
 already worked around the problems that 0.18 and 0.19 solve. The
 version bump would simply mean that we can get rid of these hacks.

 I might see if I can simply install the latest cython in some
 special place, then put that in the path for my EFL build script.


 Let me know how that works out. We'll have to figure out something
 else if it doesn't work.
 
 It half worked.  I installed cython 0.19.1 from git source into my home
 directory.  Modified my build script to include that install in the
 various python paths.  The build works, but when I sudo to root (using
 sudo -E to replicate the environment variables) to run the install, it
 claims to not be able to find a recent enough cython.  I checked the
 python paths from sudo, they are the same.
 
 I don't have enough python fu to debug this.

Weird... maybe a relative path somewhere that gets mangled by sudoing?
I'll change the setup script to output the actual exception thrown.
Hopefully the traceback from it can tell us what's going on.

 
 
 
 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most 
 from the latest Intel processors and coprocessors. See abstracts and register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 
 
 
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
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: Python-EFL: unbreak the compilation with older cython. Kuuko: you win a spank this time :P

2013-11-09 Thread David Seikel
On Sat, 9 Nov 2013 11:48:41 +0100 Davide Andreoli
d...@gurumeditation.it wrote:

 2013/11/9 David Seikel onef...@gmail.com
 
  On Thu, 17 Oct 2013 16:28:04 +0300 Kai Huuhko kai.huu...@gmail.com
  wrote:
 
   17.10.2013 13:50, David Seikel kirjoitti:
On Thu, 17 Oct 2013 13:12:25 +0300 Kai Huuhko
kai.huu...@gmail.com wrote:
   
   
   
17.10.2013 09:52, David Seikel kirjoitti:
On Thu, 17 Oct 2013 00:59:20 +0300 Kai Huuhko
kai.huu...@gmail.com wrote:
   
15.10.2013 15:03, Kai Huuhko kirjoitti:
15.10.2013 08:45, David Seikel kirjoitti:
On Mon, 14 Oct 2013 23:31:08 +0300 Kai Huuhko
kai.huu...@gmail.com wrote:
   
Let's just bump the minimum version requirement
already. ;)
   
Ubuntu LTS still has cython 0.15.1.  Will I ever be able to
actually compile any of this  python stuff?
   
Patience, young Padawan.
   
You may ask or wait for us to package the pre-generated
module C source files.
   
I believe they recently added a target directory for the
generated files making it easier for us to do development
snapshots; Dave: could we automate this with Jenkins?
   
First step of project onefanged python is complete: we can
now create a source tarball with a single command. DaveMDS
is now working on adding this step to Jenkins.
   
Using this tarball you'll get the Python modules built
without needing Cython at all.
   
That wont help this onefang numbskull at all, he compiles from
git.
   
   
The barstand!
   
Can't you modify the script to use these automated snapshots?
   
Well I could, but I don't want to start special casing stuff in
my generic build script.  Then every one will want it. :-P
   
The alternative is for us to keep the generated files in a
branch, which can get messy.
   
That wont work either, my generic build script specifically
uses the master branch.
   
(Or, we'll simply ignore you.)
   
That's worked for years.  :-P
   
The big problem for me is that I have another project that uses
python, and it's important for that project to build on stock
standard Ubuntu LTS.  So I can't just install the latest cython
and be done with it. No doubt when Ubuntu LTS gets refreshed
next year, EFL python's cython version requirement will move
out of reach. Again.
   
  
   Not going to happen. Saucy already has Cython 0.19 and that's what
   we're planning to target here. We could go with 0.17 as well
   since we already worked around the problems that 0.18 and 0.19
   solve. The version bump would simply mean that we can get rid of
   these hacks.
  
I might see if I can simply install the latest cython in some
special place, then put that in the path for my EFL build
script.
   
  
   Let me know how that works out. We'll have to figure out something
   else if it doesn't work.
 
  It half worked.  I installed cython 0.19.1 from git source into my
  home directory.  Modified my build script to include that install
  in the various python paths.  The build works, but when I sudo to
  root (using sudo -E to replicate the environment variables) to run
  the install, it claims to not be able to find a recent enough
  cython.  I checked the python paths from sudo, they are the same.
 
  I don't have enough python fu to debug this.
 
 
 I really suggest you to use the generated distribution package at:
 https://build.enlightenment.org/view/Base%20jobs/job/base_pyefl_build/lastSuccessfulBuild/artifact/dist/efl-1.7.99.tar.gz
 
 That one do NOT need cython, it is generated at every git push so it
 is always updated and, above all, you help us to test this package
 that will be the base for our future releases.
 
 I know you need to modify your build script for this but you modified
 it yet, so it is no more an excuse :P

Test the actual source code and process that is used to generate
the .c files vs test the distribution source package.  Is really six
of one, half a dozen of the other.  My build script is doing the first
for everything else, and specifically not building from source
tarballs.  For the same reason that jenkins is building from git, not
from generated distribution source tarballs.  Yes, testing the generated
source tarballs is a valuable thing to do, it's just not what this build
script is for though.

I have entirely different scripts to build from released EFL source
tarballs, though obviously they don't cover as much as this build from
source repo script.  These scripts don't compile the python stuff, but
that would be the place to use your pre generated Cython files.

I think this use a special cython version method can be made workable.
It's doing the actual build fine, it's just the install that's going
wrong, and it's going wrong at the Cython stage, due to something
different in the sudo -E environment.  Though the obvious first question
for me is - why is the install process needing Cython, should it have

[EGIT] [bindings/python/python-efl] master 01/01: setup.py: Output error traceback from Cython check

2013-11-09 Thread Kai Huuhko
kuuko pushed a commit to branch master.

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

commit 9f6422a80721dcca67c0e54620e7d761c9fd1530
Author: Kai Huuhko kai.huu...@gmail.com
Date:   Sat Nov 9 13:26:09 2013 +0200

setup.py: Output error traceback from Cython check

This will hopefully shed more light on what's going wrong in onefang's
build script.

Also use script dir instead of cwd for relative path.
---
 setup.py | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 5789cb3..410e85a 100755
--- a/setup.py
+++ b/setup.py
@@ -8,6 +8,8 @@ from distutils.extension import Extension
 from distutils.version import StrictVersion
 
 
+script_path = os.path.dirname(os.path.abspath(__file__))
+
 # Sphinx
 try:
 from sphinx.setup_command import BuildDoc
@@ -38,7 +40,7 @@ def pkg_config(name, require, min_vers=None):
 
 
 # use cython or pre-generated c files
-if os.path.exists(os.path.join(os.getcwd(), efl, eo, efl.eo.pyx)):
+if os.path.exists(os.path.join(script_path, efl, eo, efl.eo.pyx)):
 module_suffix = .pyx
 min_ver = 0.17.0
 try:
@@ -52,7 +54,8 @@ if os.path.exists(os.path.join(os.getcwd(), efl, eo, 
efl.eo.pyx)):
 Cython.Compiler.Options.docstrings = True # Set to False to disable 
docstrings
 
 except (ImportError, AssertionError):
-raise SystemExit(Requires Cython = %s (http://cython.org/) % 
min_ver)
+print(Requires Cython = %s (http://cython.org/) % min_ver)
+raise
 else:
 module_suffix = .c
 from distutils.command.build_ext import build_ext

-- 




[EGIT] [core/efl] master 01/01: eina: let pass the right size.

2013-11-09 Thread Cedric Bail
cedric pushed a commit to branch master.

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

commit e6c4bcc57d44c5f71a0189b3d533704a97350947
Author: Cedric Bail cedric.b...@free.fr
Date:   Sat Nov 9 20:43:20 2013 +0900

eina: let pass the right size.
---
 src/lib/eina/eina_cow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_cow.c b/src/lib/eina/eina_cow.c
index 2488648..0d7dd3a 100644
--- a/src/lib/eina/eina_cow.c
+++ b/src/lib/eina/eina_cow.c
@@ -168,7 +168,7 @@ static int
 _eina_cow_hash64(const void *key, int key_length)
 {
return _eina_cow_hash_gen(key, key_length,
- (Eina_Cow_Hash) eina_hash_int64, sizeof (unsigned 
long int));
+ (Eina_Cow_Hash) eina_hash_int64, sizeof (unsigned 
long long int));
 }
 #else
 static int

-- 




Re: [E-devel] [EGIT] [bindings/python/python-efl] master 01/01: Python-EFL: unbreak the compilation with older cython. Kuuko: you win a spank this time :P

2013-11-09 Thread Kai Huuhko
09.11.2013 13:20, David Seikel kirjoitti:
 On Sat, 9 Nov 2013 11:48:41 +0100 Davide Andreoli
 d...@gurumeditation.it wrote:
 
 2013/11/9 David Seikel onef...@gmail.com

 On Thu, 17 Oct 2013 16:28:04 +0300 Kai Huuhko kai.huu...@gmail.com
 wrote:

 17.10.2013 13:50, David Seikel kirjoitti:
 On Thu, 17 Oct 2013 13:12:25 +0300 Kai Huuhko
 kai.huu...@gmail.com wrote:



 17.10.2013 09:52, David Seikel kirjoitti:
 On Thu, 17 Oct 2013 00:59:20 +0300 Kai Huuhko
 kai.huu...@gmail.com wrote:

 15.10.2013 15:03, Kai Huuhko kirjoitti:
 15.10.2013 08:45, David Seikel kirjoitti:
 On Mon, 14 Oct 2013 23:31:08 +0300 Kai Huuhko
 kai.huu...@gmail.com wrote:

 Let's just bump the minimum version requirement
 already. ;)

 Ubuntu LTS still has cython 0.15.1.  Will I ever be able to
 actually compile any of this  python stuff?

 Patience, young Padawan.

 You may ask or wait for us to package the pre-generated
 module C source files.

 I believe they recently added a target directory for the
 generated files making it easier for us to do development
 snapshots; Dave: could we automate this with Jenkins?

 First step of project onefanged python is complete: we can
 now create a source tarball with a single command. DaveMDS
 is now working on adding this step to Jenkins.

 Using this tarball you'll get the Python modules built
 without needing Cython at all.

 That wont help this onefang numbskull at all, he compiles from
 git.


 The barstand!

 Can't you modify the script to use these automated snapshots?

 Well I could, but I don't want to start special casing stuff in
 my generic build script.  Then every one will want it. :-P

 The alternative is for us to keep the generated files in a
 branch, which can get messy.

 That wont work either, my generic build script specifically
 uses the master branch.

 (Or, we'll simply ignore you.)

 That's worked for years.  :-P

 The big problem for me is that I have another project that uses
 python, and it's important for that project to build on stock
 standard Ubuntu LTS.  So I can't just install the latest cython
 and be done with it. No doubt when Ubuntu LTS gets refreshed
 next year, EFL python's cython version requirement will move
 out of reach. Again.


 Not going to happen. Saucy already has Cython 0.19 and that's what
 we're planning to target here. We could go with 0.17 as well
 since we already worked around the problems that 0.18 and 0.19
 solve. The version bump would simply mean that we can get rid of
 these hacks.

 I might see if I can simply install the latest cython in some
 special place, then put that in the path for my EFL build
 script.


 Let me know how that works out. We'll have to figure out something
 else if it doesn't work.

 It half worked.  I installed cython 0.19.1 from git source into my
 home directory.  Modified my build script to include that install
 in the various python paths.  The build works, but when I sudo to
 root (using sudo -E to replicate the environment variables) to run
 the install, it claims to not be able to find a recent enough
 cython.  I checked the python paths from sudo, they are the same.

 I don't have enough python fu to debug this.


 I really suggest you to use the generated distribution package at:
 https://build.enlightenment.org/view/Base%20jobs/job/base_pyefl_build/lastSuccessfulBuild/artifact/dist/efl-1.7.99.tar.gz

 That one do NOT need cython, it is generated at every git push so it
 is always updated and, above all, you help us to test this package
 that will be the base for our future releases.

 I know you need to modify your build script for this but you modified
 it yet, so it is no more an excuse :P
 
 Test the actual source code and process that is used to generate
 the .c files vs test the distribution source package.  Is really six
 of one, half a dozen of the other.  My build script is doing the first
 for everything else, and specifically not building from source
 tarballs.  For the same reason that jenkins is building from git, not
 from generated distribution source tarballs.  Yes, testing the generated
 source tarballs is a valuable thing to do, it's just not what this build
 script is for though.
 
 I have entirely different scripts to build from released EFL source
 tarballs, though obviously they don't cover as much as this build from
 source repo script.  These scripts don't compile the python stuff, but
 that would be the place to use your pre generated Cython files.
 
 I think this use a special cython version method can be made workable.
 It's doing the actual build fine, it's just the install that's going
 wrong, and it's going wrong at the Cython stage, due to something
 different in the sudo -E environment.  Though the obvious first question
 for me is - why is the install process needing Cython, should it have
 already generated and compiled everything before this point?  Why is
 Cython needed at install time?  If it's not, then perhaps your install
 process needs changing?

We can't really 

[EGIT] [apps/epour] master 01/01: Epour: Use a Popup insted of the InnerWin for preferences dialogs

2013-11-09 Thread davemds
davemds pushed a commit to branch master.

http://git.enlightenment.org/apps/epour.git/commit/?id=38c1c74f0fee6f6ded90981cecba79efcaef7bde

commit 38c1c74f0fee6f6ded90981cecba79efcaef7bde
Author: davemds d...@gurumeditation.it
Date:   Sat Nov 9 14:26:34 2013 +0100

Epour: Use a Popup insted of the InnerWin for preferences dialogs

It looks better, has a title and the Close button is always visible.
Only drawback I had to change the fileselector in_win mode because
the inwin is going stacked BELOW the popup :/
---
 epour/gui/Preferences.py | 55 ++--
 1 file changed, 30 insertions(+), 25 deletions(-)

diff --git a/epour/gui/Preferences.py b/epour/gui/Preferences.py
index a7c4729..4594222 100644
--- a/epour/gui/Preferences.py
+++ b/epour/gui/Preferences.py
@@ -28,7 +28,7 @@ import libtorrent as lt
 
 try:
 from elementary import Icon, Box, Label, Button, \
-InnerWindow, Frame, Entry, Check, Spinner, Hoversel, \
+Popup, Frame, Entry, Check, Spinner, Hoversel, \
 FileselectorButton, Scroller, ELM_SCROLLER_POLICY_OFF, \
 ELM_SCROLLER_POLICY_AUTO, Separator, Slider, Actionslider, \
 ELM_ACTIONSLIDER_LEFT, ELM_ACTIONSLIDER_CENTER, \
@@ -41,12 +41,12 @@ except ImportError:
 from efl.elementary.box import Box
 from efl.elementary.label import Label
 from efl.elementary.button import Button
-from efl.elementary.innerwindow import InnerWindow
 from efl.elementary.frame import Frame
 from efl.elementary.entry import Entry
 from efl.elementary.check import Check
 from efl.elementary.spinner import Spinner
 from efl.elementary.hoversel import Hoversel
+from efl.elementary.popup import Popup
 from efl.elementary.fileselector_button import FileselectorButton
 from efl.elementary.scroller import Scroller, ELM_SCROLLER_POLICY_OFF, \
 ELM_SCROLLER_POLICY_AUTO
@@ -68,33 +68,44 @@ EXPAND_HORIZ = 1.0, 0.0
 FILL_BOTH = -1.0, -1.0
 FILL_HORIZ = -1.0, 0.5
 
-class PreferencesDialog(InnerWindow):
+class PreferencesDialog(Popup):
  Base class for all preferences dialogs 
-def __init__(self, parent):
-InnerWindow.__init__(self, parent)
+def __init__(self, parent, title):
+Popup.__init__(self, parent)
+
+bt = Button(self, text=Close)
+bt.callback_clicked_add(lambda b: self.delete())
+self.part_content_set(button1, bt)
+self.part_text_set(title,text, title)
+
+self.table = Table(self)
 
 self.scroller = Scroller(self)
 self.scroller.policy = ELM_SCROLLER_POLICY_OFF, 
ELM_SCROLLER_POLICY_AUTO
-self.content = self.scroller
-
+self.scroller.size_hint_weight = EXPAND_BOTH
+self.scroller.size_hint_align = FILL_BOTH
+self.table.pack(self.scroller, 0, 0, 1, 1)
+self.scroller.show()
+
 self.box = Box(self)
-self.box.size_hint_weight = 1.0, 1.0
+self.box.size_hint_weight = EXPAND_BOTH
 self.scroller.content = self.box
 
-def activate(self):
-btn = Button(self, text=Close)
-btn.callback_clicked_add(lambda x: self.delete())
-self.box.pack_end(btn)
-btn.show()
-
-InnerWindow.activate(self)
+self.content =  self.table
+self.parent_resize_cb(parent)
+parent.on_resize_add(self.parent_resize_cb)
+self.show()
+
+def parent_resize_cb(self, parent):
+(pw, ph) = parent.size
+self.table.size_hint_min =  pw * 0.7, ph * 0.7
 
 class PreferencesGeneral(PreferencesDialog):
  General preference dialog 
 def __init__(self, parent, session):
 self.session = session
 conf = session.conf
-PreferencesDialog.__init__(self, parent.win)
+PreferencesDialog.__init__(self, parent.win, General)
 
 limits = Limits(self, session)
 ports = ListenPorts(self, session)
@@ -129,8 +140,6 @@ class PreferencesGeneral(PreferencesDialog):
 w.show()
 self.box.pack_end(w)
 
-self.activate()
-
 class DataStorageSelector(Frame):
 def __init__(self, parent, conf):
 Frame.__init__(self, parent)
@@ -148,7 +157,7 @@ class DataStorageSelector(Frame):
 
 self.dlsel = dlsel = FileselectorButton(self)
 dlsel.size_hint_align = -1.0, 0.0
-dlsel.inwin_mode = True
+dlsel.inwin_mode = False
 dlsel.folder_only = True
 dlsel.expandable = False
 dlsel.text = Change path
@@ -216,7 +225,7 @@ class ListenPorts(Frame):
 class PreferencesProxy(PreferencesDialog):
  Proxy preference dialog 
 def __init__(self, parent, session):
-PreferencesDialog.__init__(self, parent.win)
+PreferencesDialog.__init__(self, parent.win, Proxy)
 
 proxies = [
 [Proxy for torrent peer connections,
@@ -234,8 +243,6 @@ class PreferencesProxy(PreferencesDialog):
 pg.show()
 

[EGIT] [core/efl] master 01/01: eina: let's try to reduce the covered 64bits system.

2013-11-09 Thread Cedric BAIL
cedric pushed a commit to branch master.

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

commit 81d2dc268105c8c5e6779e9a4c88978628bedb7a
Author: Cedric BAIL ced...@efl.so
Date:   Sat Nov 9 15:26:24 2013 +0100

eina: let's try to reduce the covered 64bits system.
---
 src/lib/eina/eina_config.h.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_config.h.in b/src/lib/eina/eina_config.h.in
index 5eddfdd..e829966 100644
--- a/src/lib/eina/eina_config.h.in
+++ b/src/lib/eina/eina_config.h.in
@@ -97,7 +97,8 @@
 #endif
 @EINA_CONFIGURE_HAVE_POSIX_SPINLOCK@
 
-#if (defined(__x86_64__) || defined(__x86_64) || defined(__amd64__) || 
defined(__amd64) || defined(__ppc64__) || defined(_WIN64) || defined(__LP64__) 
|| defined(_LP64))
+/* #if (defined(__x86_64__) || defined(__x86_64) || defined(__amd64__) || 
defined(__amd64) || defined(__ppc64__) || defined(_WIN64) || defined(__LP64__) 
|| defined(_LP64)) */
+#if defined(_WIN64) || defined(__LP64__)
 # define EFL64
 #endif
 

-- 




[EGIT] [apps/epour] master 01/01: Epour: redone proxy config dialog using table instead of Frames

2013-11-09 Thread davemds
davemds pushed a commit to branch master.

http://git.enlightenment.org/apps/epour.git/commit/?id=c7eaa61d7b5d2748d81b36d9580c10513413eec9

commit c7eaa61d7b5d2748d81b36d9580c10513413eec9
Author: davemds d...@gurumeditation.it
Date:   Sat Nov 9 15:47:50 2013 +0100

Epour: redone proxy config dialog using table instead of Frames

Frames inside other Frames looks really ugly, redone the proxy
layout using a table much like is done in the session dialog.
---
 epour/gui/Preferences.py | 86 ++--
 1 file changed, 47 insertions(+), 39 deletions(-)

diff --git a/epour/gui/Preferences.py b/epour/gui/Preferences.py
index 4594222..680d1fb 100644
--- a/epour/gui/Preferences.py
+++ b/epour/gui/Preferences.py
@@ -91,7 +91,7 @@ class PreferencesDialog(Popup):
 self.box.size_hint_weight = EXPAND_BOTH
 self.scroller.content = self.box
 
-self.content =  self.table
+self.content = self.table
 self.parent_resize_cb(parent)
 parent.on_resize_add(self.parent_resize_cb)
 self.show()
@@ -256,78 +256,86 @@ class ProxyGroup(Frame):
 
 def __init__(self, parent, title, rfunc, wfunc):
 Frame.__init__(self, parent)
-
-self.size_hint_weight = 1.0, 0.0
-self.size_hint_align = -1.0, 0.0
+self.size_hint_weight = EXPAND_HORIZ
+self.size_hint_align = FILL_HORIZ
 self.text = title
 
-b = Box(parent)
+t = Table(self, homogeneous=True, padding=(3,3))
+t.size_hint_weight = EXPAND_HORIZ
+t.size_hint_align = FILL_HORIZ
+t.show()
 
-f = Frame(parent)
-f.size_hint_align = -1.0, 0.0
-f.text = Proxy type
+l = Label(self, text=Proxy type)
+l.size_hint_align = 0.0, 0.5
+l.show()
 ptype = Hoversel(parent)
+ptype.size_hint_align = -1.0, 0.5
 ptype.text = rfunc().type.name
 for n in self.proxy_types.iterkeys():
 ptype.item_add(n, callback=lambda x, y, z=n: ptype.text_set(z))
-f.content = ptype
-f.show()
-b.pack_end(f)
+ptype.show()
+t.pack(l, 0, 0, 1, 1)
+t.pack(ptype, 1, 0, 1, 1)
 
-f = Frame(parent)
-f.size_hint_align = -1.0, 0.0
-f.text = Hostname
+l = Label(self, text=Hostname)
+l.size_hint_align = 0.0, 0.5
+l.show()
 phost = Entry(parent)
+phost.size_hint_weight = EXPAND_HORIZ
+phost.size_hint_align = FILL_HORIZ
 phost.single_line = True
+phost.scrollable = True
 phost.entry = rfunc().hostname
 phost.show()
-f.content = phost
-f.show()
-b.pack_end(f)
+t.pack(l, 0, 1, 1, 1)
+t.pack(phost, 1, 1, 1, 1)
 
-f = Frame(parent)
-f.size_hint_align = -1.0, 0.0
-f.text = Port
+l = Label(self, text=Port)
+l.size_hint_align = 0.0, 0.5
+l.show()
 pport = Spinner(parent)
+pport.size_hint_align = -1.0, 0.5
 pport.min_max = 0, 65535
 pport.value = rfunc().port
 pport.show()
-f.content = pport
-f.show()
-b.pack_end(f)
+t.pack(l, 0, 2, 1, 1)
+t.pack(pport, 1, 2, 1, 1)
 
-f = Frame(parent)
-f.size_hint_align = -1.0, 0.0
-f.text = Username
+l = Label(self, text=Username)
+l.size_hint_align = 0.0, 0.5
+l.show()
 puser = Entry(parent)
+puser.size_hint_weight = EXPAND_HORIZ
+puser.size_hint_align = FILL_HORIZ
 puser.single_line = True
+puser.scrollable = True
 puser.entry = rfunc().username
 puser.show()
-f.content = puser
-f.show()
-b.pack_end(f)
+t.pack(l, 0, 3, 1, 1)
+t.pack(puser, 1, 3, 1, 1)
 
-f = Frame(parent)
-f.size_hint_align = -1.0, 0.0
-f.text = Password
+l = Label(self, text=Password)
+l.size_hint_align = 0.0, 0.5
+l.show()
 ppass = Entry(parent)
+ppass.size_hint_weight = EXPAND_HORIZ
+ppass.size_hint_align = FILL_HORIZ
 ppass.single_line = True
+ppass.scrollable = True
 ppass.password = True
 ppass.entry = rfunc().password
 ppass.show()
-f.content = ppass
-f.show()
-b.pack_end(f)
+t.pack(l, 0, 4, 1, 1)
+t.pack(ppass, 1, 4, 1, 1)
 
 entries = [ptype, phost, pport, puser, ppass]
 
-save = Button(parent)
+save = Button(parent, text=Apply)
 save.callback_clicked_add(self.save_conf, wfunc, entries)
-save.text = Apply
 save.show()
-b.pack_end(save)
+t.pack(save, 0, 5, 2, 1)
 
-self.content = b
+self.content = t
 
 def save_conf(self, btn, wfunc, entries):
 ptype, phost, pport, puser, ppass = entries

-- 




[EGIT] [bindings/python/python-efl] master 01/01: Elementary: Remove leftover deprecated function declarations.

2013-11-09 Thread Kai Huuhko
kuuko pushed a commit to branch master.

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

commit e837f8f028ce0c6aa83786d9c3209b48572e1dd6
Author: Kai Huuhko kai.huu...@gmail.com
Date:   Sat Nov 9 22:58:46 2013 +0200

Elementary: Remove leftover deprecated function declarations.

The ones that have no equivalent replacement still do remain.
---
 README  | 12 ---
 TODO|  1 +
 api_coverage.py | 17 +++---
 efl/elementary/diskselector.pxd |  4 ---
 efl/elementary/gengrid.pxd  | 11 --
 efl/elementary/list.pxd |  4 ---
 efl/elementary/notify.pyx   | 75 +
 efl/elementary/photocam.pxd |  2 --
 8 files changed, 37 insertions(+), 89 deletions(-)

diff --git a/README b/README
index 204ce2e..1004e72 100644
--- a/README
+++ b/README
@@ -20,10 +20,6 @@ CHANGES FROM 1.7 to 1.8
 * ecore.file.Download = efl.ecore.FileDownload
 * edje.edit.EdjeEdit = efl.edje_edit.EdjeEdit
 * Emotion(module_filename=xxx) = Emotion(module_name=xxx)
-* elementary.need_e_dbus = elementary.need_edbus
-* elm.domain_translatable_text_part_set = 
elm.domain_translatable_part_text_set
-* elm.Scroller.custom_widget_base_theme_set =  elm.Layout.theme_set   
  TODO is this right?
-* elm.notify.orient_set/get/prop removed  =  align_set (TODO)
 * elm.ObjectItem.data changed to a dict (previously held args  kwargs)
 
 * Many _set functions that would previously return status now instead raise
@@ -65,3 +61,11 @@ CHANGES FROM 1.7 to 1.8
- python-evas/evas/decorators.py
- python-evas/evas/debug.py
- python-evas old hack to rotate objects
+
+Deprecated in 1.8
+-
+
+* elm.Scroller.custom_widget_base_theme_set =  elm.Layout.theme_set
+* elm.notify.orient_set/get/prop removed  =  align
+* elementary.need_e_dbus = elementary.need_edbus
+* elm.domain_translatable_text_part_set = 
elm.domain_translatable_part_text_set
diff --git a/TODO b/TODO
index d4552e6..2f9f526 100644
--- a/TODO
+++ b/TODO
@@ -27,6 +27,7 @@ TODO
 * Evas: SmartObject needs testing, work. Make it inheritable by extension
   classes?
 * Add missing Eo type mappings, mostly in Ecore
+* Check that README has all changes listed
 
 Elementary
 ==
diff --git a/api_coverage.py b/api_coverage.py
index e07c409..4ab90e0 100755
--- a/api_coverage.py
+++ b/api_coverage.py
@@ -9,10 +9,6 @@ import argparse
 c_exclude_list = [
 elm_app, # These are only useful for C apps
 elm_widget, # Custom widgets, probably not feasible for us to provide
-#elm_prefs, # Intended for configuration dialogs
-#elm_route, # Useless API?
-#elm_glview, # Is there an OpenGL API for Python that can be used with 
this?
-#evas_gl_, # ditto
 elm_quicklaunch, # Is quicklaunch relevant for us?
 emotion_object_extension_may_play_fast_get, # this optimization does not 
work from py
 edje_edit_, # Disabled
@@ -24,6 +20,9 @@ c_exclude_list = [
 ecore_timer_dump, # this is just usefull for debugging
 ecore_throttle_, # I don't know what this is :/  - davemds
 elm_check_state_pointer_set, # Cannot be implemented in Python
+elm_access, # Access disabled until 1.9
+elm_config_access, # Access disabled until 1.9
+elm_object_item_access, # Access disabled until 1.9
 ]
 c_excludes = |.join(c_exclude_list)
 
@@ -33,6 +32,14 @@ py_exclude_list = [
 elm_object_item_text, # macro
 elm_object_content, # macro
 elm_object_text, # macro
+elm_layout_end, # macros
+elm_layout_icon, # macros
+elm_object_domain_translatable_text, # macros
+elm_object_tooltip_translatable_text, # macros
+elm_object_translatable_text, # macros
+elm_access, # Access disabled until 1.9
+elm_config_access, # Access disabled until 1.9
+elm_object_item_access, # Access disabled until 1.9
 ]
 py_excludes = |.join(py_exclude_list)
 
@@ -74,7 +81,7 @@ def pkg_config(require, min_vers=None):
 
 def get_capis(inc_path, prefix):
 capis = []
-capi_pattern = re.compile(^ *EAPI [A-Za-z_ *\n]+ +\**\n?(?! + c_excludes 
+ )( + prefix + _\w+) *\(, flags = re.S|re.M)
+capi_pattern = re.compile(^ *EAPI [A-Za-z_ *\n]+ *\**\n?(?! + c_excludes 
+ )( + prefix + _\w+) *\(, flags = re.S|re.M)
 
 for path, dirs, files in os.walk(inc_path):
 for f in files:
diff --git a/efl/elementary/diskselector.pxd b/efl/elementary/diskselector.pxd
index 2999013..368e4d8 100644
--- a/efl/elementary/diskselector.pxd
+++ b/efl/elementary/diskselector.pxd
@@ -11,10 +11,6 @@ cdef extern from Elementary.h:
 void 
elm_diskselector_side_text_max_length_set(Evas_Object *obj, int len)
 void elm_diskselector_display_item_num_set(Evas_Object 
*obj, int num)
 int  elm_diskselector_display_item_num_get(Evas_Object 
*obj)
-void 

[EGIT] [core/efl] master 01/01: ecore-audio - remove the obj from the list before calling eo super destructor

2013-11-09 Thread Rasterman
raster pushed a commit to branch master.

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

commit 3b531d01bd7be7f0bbffab935dd88794933e0f6d
Author: Carsten Haitzler (Rasterman) ras...@rasterman.com
Date:   Sun Nov 10 10:45:33 2013 +0900

ecore-audio - remove the obj from the list before calling eo super 
destructor
---
 src/lib/ecore_audio/ecore_audio_obj_out_pulse.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c 
b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
index af15cef..2c3f2ff 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
@@ -282,9 +282,8 @@ static void _constructor(Eo *eo_obj, void *_pd EINA_UNUSED, 
va_list *list EINA_U
 
 static void _destructor(Eo *eo_obj, void *_pd EINA_UNUSED, va_list *list 
EINA_UNUSED)
 {
-  eo_do_super(eo_obj, MY_CLASS, eo_destructor());
-
   class_vars.outputs = eina_list_remove(class_vars.outputs, eo_obj);
+  eo_do_super(eo_obj, MY_CLASS, eo_destructor());
 }
 
 static void _class_constructor(Eo_Class *klass)

-- 




[EGIT] [core/efl] master 01/01: ecore-audio - handle deletion of objects from outputs list in ctx fail cb

2013-11-09 Thread Rasterman
raster pushed a commit to branch master.

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

commit 35228f32f189f90975729ca2dd0f3755f0e3db03
Author: Carsten Haitzler (Rasterman) ras...@rasterman.com
Date:   Sun Nov 10 11:04:18 2013 +0900

ecore-audio - handle deletion of objects from outputs list in ctx fail cb
---
 src/lib/ecore_audio/ecore_audio_obj_out_pulse.c | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c 
b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
index 2c3f2ff..11fc20f 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
@@ -243,12 +243,21 @@ static void _state_job(void *data EINA_UNUSED)
(class_vars.state == PA_CONTEXT_TERMINATED))
  {
 Eo *eo_obj;
-Eina_List *out;
+Eina_List *out, *tmp;
 
 DBG(PA context fail.);
+//ref everything in the list to be sure...
+EINA_LIST_FOREACH(class_vars.outputs, out, eo_obj) {
+   eo_ref(eo_obj);
+}
+// the callback here can delete things in the list..
 EINA_LIST_FOREACH(class_vars.outputs, out, eo_obj) {
eo_do(eo_obj, 
eo_event_callback_call(ECORE_AUDIO_EV_OUT_PULSE_CONTEXT_FAIL, NULL, NULL));
 }
+// now unref everything safely
+EINA_LIST_FOREACH_SAFE(class_vars.outputs, out, tmp, eo_obj) {
+   eo_unref(eo_obj);
+}
  }
class_vars.state_job = NULL;
 }

-- 




[E-devel] SlackE17 0.17.5

2013-11-09 Thread Jérôme Pinot
Hi,

I'm pleased to announced a new release of SlackE17, the E17 packages for Linux
Slackware. This release contains the EFL 1.7.9, enlightenment 0.17.5,
terminology, eperiodique, elemines and some extra modules.

As Slackware 14.1 has just been released almost in same time, there are two
sets of build so beware to choose the right one for your Slackware version.

Packages for Slackware 14.0 are available as usual here (i486, x86_64 and arm):
http://sourceforge.net/projects/slacke17/files/slacke17/0.17.5/ 

Packages for Slackware 14.1 are available here (i486 and x86_64, arm later):
http://sourceforge.net/projects/slacke17/files/slacke17/0.17.5/slackware-14.1/ 

Since SlackE17 0.17.3, it is now possible to install/update E17 online by using
slackpkg+. Read http://ngc891.blogdns.net/pub/slacke17/slackpkgplus.txt for
more information.

Be enlightened,

-- 
Jérôme Pinot
http://ngc891.blogdns.net/


signature.asc
Description: Digital signature
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
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: Optimize exception propagation in several hot/time critical cases.

2013-11-09 Thread Kai Huuhko
kuuko pushed a commit to branch master.

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

commit 225f061b05cc4bd00248fcdb5a674e30dc79b8a3
Author: Kai Huuhko kai.huu...@gmail.com
Date:   Sun Nov 10 08:47:21 2013 +0200

Optimize exception propagation in several hot/time critical cases.

With except * a call is made to PyErr_Occurred on each call of a
function.

Adding a return value where possible and using an appropriate exception
value calls PyErr_Occurred only when that value is returned, ie.
an exception has been raised.

cdef void example_func() except *: - PyErr_Occurred called on each call
cdef int example_func() except 0: - PyErr_Occurred called only when
an exception has been raised (the function thus returns 0)
---
 efl/elementary/object.pyx   | 11 +++--
 efl/eo/efl.eo.pyx   |  7 ++-
 efl/evas/efl.evas_object.pxi|  4 +-
 efl/evas/efl.evas_object_events.pxi | 91 ++---
 include/efl.eo.pxd  |  4 +-
 include/efl.evas.pxd| 30 ++--
 6 files changed, 77 insertions(+), 70 deletions(-)

diff --git a/efl/elementary/object.pyx b/efl/elementary/object.pyx
index 1b6b119..88b078b 100644
--- a/efl/elementary/object.pyx
+++ b/efl/elementary/object.pyx
@@ -602,6 +602,10 @@ cdef class Object(evasObject):
 def __get__(self):
 return object_from_instance(elm_object_top_widget_get(self.obj))
 
+def top_widget_get(self):
+return object_from_instance(elm_object_top_widget_get(self.obj))
+
+# FIXME: Now that we have Eo, is this useful anymore?
 property widget_type:
 The string that represents this Elementary widget.
 This is a readonly property.
@@ -616,13 +620,9 @@ cdef class Object(evasObject):
 :type: string
 
 
-# FIXME: Now that we have Eo, is this useful anymore?
 def __get__(self):
 return elm_object_widget_type_get(self.obj)
 
-def top_widget_get(self):
-return object_from_instance(elm_object_top_widget_get(self.obj))
-
 def signal_emit(self, emission, source):
 signal_emit(unicode emission, unicode source)
 
@@ -720,6 +720,9 @@ cdef class Object(evasObject):
 const_char *source if source is not None else NULL,
 signal_callback)
 
+#
+# FIXME: This isn't done as it's supposed to.
+#
 # NOTE: name clash with evas event_callback_*
 def elm_event_callback_add(self, func, *args, **kargs):
 elm_event_callback_add(func, *args, **kargs)
diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx
index 6294388..fdbeecd 100644
--- a/efl/eo/efl.eo.pyx
+++ b/efl/eo/efl.eo.pyx
@@ -225,7 +225,7 @@ cdef class Eo(object):
 def __nonzero__(self):
 return 1 if self.obj != NULL else 0
 
-cdef void _set_obj(self, cEo *obj) except *:
+cdef int _set_obj(self, cEo *obj) except 0:
 assert self.obj == NULL, Object must be clean
 assert obj != NULL, Cannot set a NULL object
 
@@ -235,11 +235,14 @@ cdef class Eo(object):
 eo_event_callback_add(EO_EV_DEL, _eo_event_del_cb, const_void 
*self))
 Py_INCREF(self)
 
-cdef void _set_properties_from_keyword_args(self, dict kwargs) except *:
+return 1
+
+cdef int _set_properties_from_keyword_args(self, dict kwargs) except 0:
 cdef list cls_list = dir(self)
 for k, v in kwargs.items():
 assert k in cls_list, %s has no attribute with the name %s. % 
(self, k)
 setattr(self, k, v)
+return 1
 
 def delete(self):
 eo_del(self.obj)
diff --git a/efl/evas/efl.evas_object.pxi b/efl/evas/efl.evas_object.pxi
index 3849026..68fb02a 100644
--- a/efl/evas/efl.evas_object.pxi
+++ b/efl/evas/efl.evas_object.pxi
@@ -192,12 +192,14 @@ cdef class Object(Eo):
 r, g, b, a,
 layer, clipped, visible)
 
-cdef void _set_obj(self, Evas_Object *obj) except *:
+cdef int _set_obj(self, Evas_Object *obj) except 0:
 Eo._set_obj(self, obj)
 evas_object_event_callback_add(obj, enums.EVAS_CALLBACK_FREE,
obj_free_cb, void *self)
 Py_INCREF(self)
 
+return 1
+
 def _set_common_params(self, size=None, pos=None, geometry=None,
color=None, name=None):
 if size is not None:
diff --git a/efl/evas/efl.evas_object_events.pxi 
b/efl/evas/efl.evas_object_events.pxi
index e8d6a2d..da6e1fe 100644
--- a/efl/evas/efl.evas_object_events.pxi
+++ b/efl/evas/efl.evas_object_events.pxi
@@ -25,11 +25,11 @@ cdef class EventPoint:
 
 def __str__(self):
 self._check_validity()
-return %s(%d, %d) % (self.__class__.__name__, self.obj.x, self.obj.y)
+return %s(%d, %d) % (type(self).__name__, self.obj.x, self.obj.y)
 
-cdef void _check_validity(self) except *:
-if 

Re: [E-devel] EFL 1.7.9 Stable Series and Enlightenment 0.17.5

2013-11-09 Thread Daniel Juyung Seo
Super appreciated.
Thanks a lot!

Daniel Juyung Seo (SeoZ)
On Nov 6, 2013 4:03 AM, Luis Felipe Strano Moraes luis.str...@gmail.com
wrote:

 Just as a heads up, I'm updating the packages that are available on our PPA
 right now. I've started builds for Ubuntu 13.10 as well, but still need to
 see how they will interact with the current upstreamed packages.


 This update usually takes quite some time, so users expecting to have the
 latest EFL/E17 are looking at either tomorrow or the day after for the full
 build.


 Best regards,
 Luis Felipe



 On Tue, Nov 5, 2013 at 12:44 PM, Eduardo Lima (Etrunko) ebl...@gmail.com
 wrote:

  The Enlightenment Release Team is happy to announce a new stable
  release of the EFL libraries, and of the Enlightenment window manager.
 
  Please read the ChangeLog and NEWS files from each specific tarball in
  order to get more information about what has been fixed.
 
  Following are the links for download of the tarballs:
 
  == Eina 1.7.9 ==
   * http://download.enlightenment.org/releases/eina-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/eina-1.7.9.tar.bz2
  == Eet 1.7.9 ==
   * http://download.enlightenment.org/releases/eet-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/eet-1.7.9.tar.bz2
  == Evas 1.7.9 ==
   * http://download.enlightenment.org/releases/evas-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/evas-1.7.9.tar.bz2
  == Ecore 1.7.9 ==
   * http://download.enlightenment.org/releases/ecore-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/ecore-1.7.9.tar.bz2
  == Embryo 1.7.9 ==
   * http://download.enlightenment.org/releases/embryo-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/embryo-1.7.9.tar.bz2
  == Edje 1.7.9 ==
   * http://download.enlightenment.org/releases/edje-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/edje-1.7.9.tar.bz2
  == Efreet 1.7.9 ==
   * http://download.enlightenment.org/releases/efreet-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/efreet-1.7.9.tar.bz2
  == E_dbus 1.7.9 ==
   * http://download.enlightenment.org/releases/e_dbus-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/e_dbus-1.7.9.tar.bz2
  == Eldbus 1.7.9 (Technology Preview) ==
   * http://download.enlightenment.org/releases/eldbus-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/eldbus-1.7.9.tar.bz2
  == Eeze 1.7.9 ==
   * http://download.enlightenment.org/releases/eeze-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/eeze-1.7.9.tar.bz2
  == Expedite 1.7.9 ==
   * http://download.enlightenment.org/releases/expedite-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/expedite-1.7.9.tar.bz2
  == Evas Generic Loaders 1.7.9 ==
   *
 
 http://download.enlightenment.org/releases/evas_generic_loaders-1.7.9.tar.gz
   *
 
 http://download.enlightenment.org/releases/evas_generic_loaders-1.7.9.tar.bz2
  == Eio 1.7.9 ==
   * http://download.enlightenment.org/releases/eio-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/eio-1.7.9.tar.bz2
  == Emotion 1.7.9 ==
   * http://download.enlightenment.org/releases/emotion-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/emotion-1.7.9.tar.bz2
  == Ethumb 1.7.9 ==
   * http://download.enlightenment.org/releases/ethumb-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/ethumb-1.7.9.tar.bz2
  == Elementary 1.7.9 ==
   * http://download.enlightenment.org/releases/elementary-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/elementary-1.7.9.tar.bz2
  == Evil 1.7.9 ==
   * http://download.enlightenment.org/releases/evil-1.7.9.tar.gz
   * http://download.enlightenment.org/releases/evil-1.7.9.tar.bz2
  == Enlightenment 0.17.5 ==
   *
 http://download.enlightenment.org/releases/enlightenment-0.17.5.tar.gz
   *
 http://download.enlightenment.org/releases/enlightenment-0.17.5.tar.bz2
 
  --
  Eduardo de Barros Lima ◤✠◢
  ebl...@gmail.com
 
 
 
 --
  November Webinars for C, C++, Fortran Developers
  Accelerate application performance with scalable programming models.
  Explore
  techniques for threading, error checking, porting, and tuning. Get the
 most
  from the latest Intel processors and coprocessors. See abstracts and
  register
 
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 



 --
 Luís Felipe Strano Moraes
 http://www.strano.org

 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models.
 Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts