[EGIT] [admin/devs] master 01/01: welcome new probie, jaehyun.

2014-10-22 Thread ChunEon Park
hermet pushed a commit to branch master.

http://git.enlightenment.org/admin/devs.git/commit/?id=ab0d6f819ff10f601ecf22ccdd9b02fc9236075f

commit ab0d6f819ff10f601ecf22ccdd9b02fc9236075f
Author: ChunEon Park chuneon.p...@samsung.com
Date:   Wed Oct 22 15:16:53 2014 +0900

welcome new probie, jaehyun.
---
 probies/jaehyun/id_rsa.pub | 1 +
 probies/jaehyun/info.txt   | 8 
 2 files changed, 9 insertions(+)

diff --git a/probies/jaehyun/id_rsa.pub b/probies/jaehyun/id_rsa.pub
new file mode 100644
index 000..43ad612
--- /dev/null
+++ b/probies/jaehyun/id_rsa.pub
@@ -0,0 +1 @@
+ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDjE770vCOKLnZ1UAsbklHJCzKwN1IqX9K2Ee481NFQU0zfjr0EaFeQEbkSSjUyys6idIkFYMOuQbBbj5YfMq0KInR9U3pSl+I5R8ZzVHBFvohQ3Bn9gxuo5WAN2vFWBWjd5tpMJi2KZhq1gWawJN5GioDQpgdtPsXGEnxV6TJJCWdlXAdaEJF9W5WmQQcNhelcXwb6t8gfTXzvsY2YOqSshpq3pZVC9gGj0CU2K4X7USL9JSFaqO880Yd5Rin39iMmw2wr6K2ytw3tP4Ffrn19MlR0DV9vRKnaeFW9FlEbDj+qaudrukCUf50tPjh71a4Jq1ZkZSH1poUqS3pdUPPR
 jae_hyun_...@naver.com
diff --git a/probies/jaehyun/info.txt b/probies/jaehyun/info.txt
new file mode 100644
index 000..c0b60e8
--- /dev/null
+++ b/probies/jaehyun/info.txt
@@ -0,0 +1,8 @@
+Login:jaehyun
+IRC Nick: Jaehyun
+Name: JaeHyun Cho
+Location: Seoul, Korea
+GeoData:  50.43912 30.496453
+E-Mail:   jae_hyun_...@naver.com
+Contributing: enventor, efl, elementary
+Platform: Ubuntu (Linux)

-- 




[EGIT] [tools/enventor] master 01/01: auto_comp: Support auto_comp and color for keyword base_scale.

2014-10-22 Thread Jaehyun Cho
hermet pushed a commit to branch master.

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

commit f89a9be19f7ff692a718ddf36c3ff8578c72f009
Author: Jaehyun Cho jae_hyun@samsung.com
Date:   Wed Oct 22 15:53:01 2014 +0900

auto_comp: Support auto_comp and color for keyword base_scale.

Summary: auto_comp: Support auto_comp and color for keyword base_scale.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1562
---
 data/color/color.src | 1 +
 src/lib/auto_comp.c  | 1 +
 src/lib/auto_comp_code.h | 8 +++-
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/data/color/color.src b/data/color/color.src
index db0305e..0ab2e81 100644
--- a/data/color/color.src
+++ b/data/color/color.src
@@ -64,6 +64,7 @@ group syntax_color_group struct {
 value key string: aspect_preference;
 value key string: aspect;
 value key string: backface_cull;
+value key string: base_scale;
 value key string: base;
 value key string: border_scale;
 value key string: border;
diff --git a/src/lib/auto_comp.c b/src/lib/auto_comp.c
index 6a8838e..0a5adac 100644
--- a/src/lib/auto_comp.c
+++ b/src/lib/auto_comp.c
@@ -95,6 +95,7 @@ init_thread_cb(void *data, Ecore_Thread *thread EINA_UNUSED)
COMPDATA_SET(ad, after, AUTOCOMP_AFTER, 2, 0);
COMPDATA_SET(ad, styles, AUTOCOMP_STYLES, 2, 1);
COMPDATA_SET(ad, style, AUTOCOMP_STYLE, 4, 1);
+   COMPDATA_SET(ad, base_scale, AUTOCOMP_BASE_SCALE, 1, 0);
COMPDATA_SET(ad, base, AUTOCOMP_BASE, 2, 0);
COMPDATA_SET(ad, sounds, AUTOCOMP_SOUNDS, 2, 1);
COMPDATA_SET(ad, sample, AUTOCOMP_SAMPLE, 13, 1);
diff --git a/src/lib/auto_comp_code.h b/src/lib/auto_comp_code.h
index 2d1e16e..5d039b3 100644
--- a/src/lib/auto_comp_code.h
+++ b/src/lib/auto_comp_code.h
@@ -326,4 +326,10 @@ const char *AUTOCOMP_CLIP_TO[AUTOCOMP_CLIP_TO_LINE_CNT] =
clip_to: \\;,
 };
 
-#define COMPSET_CNT 50
+#define AUTOCOMP_BASE_SCALE_LINE_CNT 1
+const char *AUTOCOMP_BASE_SCALE[AUTOCOMP_BASE_SCALE_LINE_CNT] =
+{
+   base_scale: ;,
+};
+
+#define COMPSET_CNT 51

-- 




[EGIT] [tools/expedite] master 01/02: UI main loop: Fix indentation

2014-10-22 Thread Jean-Philippe Andre
jpeg pushed a commit to branch master.

http://git.enlightenment.org/tools/expedite.git/commit/?id=0774f2ceeb51ebe1f7f723f48e13adb94009aea7

commit 0774f2ceeb51ebe1f7f723f48e13adb94009aea7
Author: Jean-Philippe Andre jp.an...@samsung.com
Date:   Wed Oct 22 15:18:53 2014 +0900

UI main loop: Fix indentation
---
 src/bin/ui.c | 46 +++---
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/src/bin/ui.c b/src/bin/ui.c
index 9f2402b..243ab11 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -756,29 +756,29 @@ ui_fps(double fps)
   loops,
   choosen_engine,
   fullscreen);
-else
-  printf(\n#Test Result#\n
- evas fps speed: %5.2f\n
- evas fps speed(weighted): %5.2f\n
- testcase count: %i\n
- date: %s\n
- evas version: %i.%i.%i.%i\n
- profile: %s\n
- window size: %i, %i\n
- loop count: %i\n
- engine: %s\n
- full screen: %i\n,
- (fps / t_count),
- (wfps / avgw) / t_count,
- t_count,
- datestr,
- evas_version-major, evas_version-minor, evas_version-micro,
- evas_version-revision,
- profile,
- win_w, win_h,
- loops,
- choosen_engine,
- fullscreen);
+ else
+   printf(\n#Test Result#\n
+  evas fps speed: %5.2f\n
+  evas fps speed(weighted): %5.2f\n
+  testcase count: %i\n
+  date: %s\n
+  evas version: %i.%i.%i.%i\n
+  profile: %s\n
+  window size: %i, %i\n
+  loop count: %i\n
+  engine: %s\n
+  full screen: %i\n,
+  (fps / t_count),
+  (wfps / avgw) / t_count,
+  t_count,
+  datestr,
+  evas_version-major, evas_version-minor, 
evas_version-micro,
+  evas_version-revision,
+  profile,
+  win_w, win_h,
+  loops,
+  choosen_engine,
+  fullscreen);
 
  ecore_main_loop_quit();
   }

-- 




[EGIT] [tools/expedite] master 02/02: Fix support of --count from command line

2014-10-22 Thread Jean-Philippe Andre
jpeg pushed a commit to branch master.

http://git.enlightenment.org/tools/expedite.git/commit/?id=0a40a870395f6d181767dabadce753224376f89a

commit 0a40a870395f6d181767dabadce753224376f89a
Author: Jean-Philippe Andre jp.an...@samsung.com
Date:   Wed Oct 22 15:49:25 2014 +0900

Fix support of --count from command line

expedite would never exit after N loops
---
 src/bin/main.c | 2 ++
 src/bin/main.h | 1 +
 src/bin/ui.c   | 3 ++-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 77e192e..0f4b777 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -9,6 +9,7 @@ const char *profile = n800;
 const char *choosen_engine = NULL;
 int win_w = 720, win_h = 420;
 int loops = LOOPS;
+int one_test = 0;
 Eina_Bool fullscreen = EINA_FALSE;
 Eina_Bool cmp_report = EINA_FALSE;
 
@@ -1326,6 +1327,7 @@ main(int argc, char **argv)
  }
else if (test  0)
  {
+one_test = 1;
 ui_num(test);
  }
 
diff --git a/src/bin/main.h b/src/bin/main.h
index 5a861eb..4f373b5 100644
--- a/src/bin/main.h
+++ b/src/bin/main.h
@@ -47,6 +47,7 @@ extern C
 extern Evas *evas;
 extern int   win_w, win_h;
 extern int   loops;
+extern int   one_test;
 extern const char *choosen_engine;
 extern Eina_Bool fullscreen;
 extern Eina_Bool cmp_report;
diff --git a/src/bin/ui.c b/src/bin/ui.c
index 243ab11..147075d 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -504,6 +504,7 @@ ui_num(int n)
 if (!mi-test)
   return;
 menu_sel = n;
+if (one_test) test_item = menu_sel;
 _ui_select();
  }
 }
@@ -714,7 +715,7 @@ ui_fps(double fps)
 
 test_item++;
 mi = eina_list_nth(menu, test_item);
-if (!mi-test)
+if (one_test || !mi-test)
   {
  char datestr[1024];
  struct tm *tim;

-- 




Re: [E-devel] Gwanglim Developer Access

2014-10-22 Thread ChunEon Park
+1  

I can give a score in technical point of view.


-Regards, Hermet-

P style='font-size:10pt;FONT-FAMILY: Gulim,AppleGothic,sans-serif;padding:0 0 
0 10pt'span-Original Message-/spanBRBFrom:/B Chris 
Michaeldevilho...@comcast.net BRBTo:/B Enlightenment developer 
listenlightenment-devel@lists.sourceforge.net; BRBCc:/B 
BRBSent:/B 2014-10-21 (화) 20:50:40BRBSubject:/B [E-devel] Gwanglim 
Developer AccessBRBRHi Devs,

I spoke with Carsten  Tom at LinuxCon EU in regard to giving Gwanglim 
Lee developer access. He's been doing some great work on the EFL Wayland 
effort, to the point where I feel comfortable granting him access. 
Neither Carsten nor Tom had any objections to this, but if anyone does 
then now is the time to voice your opinions :)

I'll let this email cook for a day or so, and if there are no major 
objections, then I'll add him to devs.

Cheers,
dh

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 06/06: Eina: Check for errors after eina_tls_new

2014-10-22 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

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

commit 52135379df002cc64900eec7d936084f591e7373
Author: Jean-Philippe Andre jp.an...@samsung.com
Date:   Wed Oct 22 15:48:11 2014 +0900

Eina: Check for errors after eina_tls_new

Fix CID 1248913.
---
 src/lib/eina/eina_error.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_error.c b/src/lib/eina/eina_error.c
index 0ccac35..e0b70ca 100644
--- a/src/lib/eina/eina_error.c
+++ b/src/lib/eina/eina_error.c
@@ -136,7 +136,8 @@ eina_error_init(void)
/* TODO register the eina's basic errors */
EINA_ERROR_OUT_OF_MEMORY = eina_error_msg_static_register(
  EINA_ERROR_OUT_OF_MEMORY_STR);
-   eina_tls_new(_eina_last_key);
+   if (!eina_tls_new(_eina_last_key))
+ return EINA_FALSE;
return EINA_TRUE;
 }
 

-- 




[EGIT] [core/efl] master 05/06: Evas filters: Remove useless source_count and cow checks

2014-10-22 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

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

commit 7db01ea39624edf3d9bb5a5357a286ecacce6c34
Author: Jean-Philippe Andre jp.an...@samsung.com
Date:   Wed Oct 22 14:14:58 2014 +0900

Evas filters: Remove useless source_count and cow checks
---
 src/lib/evas/canvas/evas_object_image.c | 23 +-
 src/lib/evas/canvas/evas_object_main.c  |  2 +-
 src/lib/evas/canvas/evas_object_text.c  | 56 -
 src/lib/evas/include/evas_private.h |  1 -
 4 files changed, 29 insertions(+), 53 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index fccf9ed..6a1b9e9 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -359,10 +359,12 @@ _evas_image_eo_base_constructor(Eo *eo_obj, 
Evas_Image_Data *o)
cspace = 
obj-layer-evas-engine.func-image_colorspace_get(obj-layer-evas-engine.data.output,
 
o-engine_data);
 
-   if (cspace != o-cur-cspace)
+   if (!o-cur-filter || (cspace != o-cur-cspace))
  {
 EINA_COW_IMAGE_STATE_WRITE_BEGIN(o, state_write)
   state_write-cspace = cspace;
+  if (!state_write-filter)
+state_write-filter = eina_cow_alloc(evas_object_filter_cow);
 EINA_COW_IMAGE_STATE_WRITE_END(o, state_write);
  }
 }
@@ -3231,7 +3233,7 @@ start_draw:
 
   if (!redraw  o-cur-filter-output)
 {
-   if (o-cur-filter-sources  
o-cur-filter-sources_count  0)
+   if (eina_hash_population(o-cur-filter-sources)  0)
  {
 Evas_Filter_Proxy_Binding *pb;
 Evas_Object_Protected_Data *prxsource;
@@ -3780,7 +3782,7 @@ evas_object_image_render_pre(Evas_Object *eo_obj,
 evas_object_render_pre_prev_cur_add(e-clip_changes, eo_obj, obj);
 if (!o-pixels-pixel_updates) goto done;
  }
-   if (o-cur-filter  o-cur-filter-changed)
+   if (o-cur-filter-changed)
  {
 evas_object_render_pre_prev_cur_add(e-clip_changes, eo_obj, obj);
 if (!o-pixels-pixel_updates) goto done;
@@ -4785,11 +4787,8 @@ _evas_image_filter_program_set(Eo *eo_obj, 
Evas_Image_Data *o, const char *arg)
Evas_Filter_Program *pgm = NULL;
 
if (!o) return;
-   if (o-cur-filter)
- {
-if (o-cur-filter-code == arg) return;
-if (o-cur-filter-code  arg  !strcmp(arg, o-cur-filter-code)) 
return;
- }
+   if (o-cur-filter-code == arg) return;
+   if (o-cur-filter-code  arg  !strcmp(arg, o-cur-filter-code)) 
return;
 
EINA_COW_IMAGE_STATE_WRITE_BEGIN(o, state_write)
EINA_COW_IMAGE_FILTER_WRITE_BEGIN(state_write, fcow)
@@ -4844,13 +4843,7 @@ _filter_source_hash_free_cb(void *data)
 
if (o  proxy)
  {
-EINA_COW_IMAGE_STATE_WRITE_BEGIN(o, state_write)
-  EINA_COW_IMAGE_FILTER_WRITE_BEGIN(state_write, fcow)
-fcow-sources_count--;
-  EINA_COW_IMAGE_FILTER_WRITE_END(state_write, fcow)
-EINA_COW_IMAGE_STATE_WRITE_END(o, state_write)
-
-if (!o-cur-filter-sources_count)
+if (!eina_hash_population(o-cur-filter-sources))
   {
  EINA_COW_WRITE_BEGIN(evas_object_proxy_cow, proxy-proxy,
   Evas_Object_Proxy_Data, proxy_write)
diff --git a/src/lib/evas/canvas/evas_object_main.c 
b/src/lib/evas/canvas/evas_object_main.c
index b288623..e5317e2 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -33,7 +33,7 @@ static const Evas_Object_Protected_State default_state = {
   1.0, 0, EVAS_RENDER_BLEND, EINA_FALSE, EINA_FALSE, EINA_FALSE, EINA_FALSE, 
EINA_FALSE, EINA_FALSE
 };
 static const Evas_Object_Filter_Data default_filter = {
-  NULL, NULL, NULL, 0, NULL, EINA_FALSE, EINA_FALSE
+  NULL, NULL, NULL, NULL, EINA_FALSE, EINA_FALSE
 };
 
 Eina_Cow *evas_object_proxy_cow = NULL;
diff --git a/src/lib/evas/canvas/evas_object_text.c 
b/src/lib/evas/canvas/evas_object_text.c
index 4be7f37..3cf8df3 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -1542,23 +1542,17 @@ evas_object_text_free(Evas_Object *eo_obj, 
Evas_Object_Protected_Data *obj)
Evas_Text_Data *o = eo_data_scope_get(eo_obj, MY_CLASS);
 
/* free filter output */
-   if (o-cur.filter)
- {
-EINA_COW_WRITE_BEGIN(evas_object_filter_cow, o-cur.filter, 
Evas_Object_Filter_Data, fcow)
-  {
- if (fcow-output)
-   ENFN-image_free(ENDT, fcow-output);
- eina_hash_free(fcow-sources);
- evas_filter_program_del(fcow-chain);
- eina_stringshare_del(fcow-code);
- fcow-output = NULL;
- fcow-chain = NULL;
- fcow-sources = NULL;
- 

[EGIT] [core/efl] master 03/06: Evas filters: Move filter COW to evas global stuff

2014-10-22 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

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

commit 6935880171c4d5d75c5944ec2e85720939c1ad26
Author: Jean-Philippe Andre jp.an...@samsung.com
Date:   Wed Oct 22 11:12:33 2014 +0900

Evas filters: Move filter COW to evas global stuff

It will be shared between TEXT and IMAGE objects.
---
 src/lib/evas/canvas/evas_object_main.c | 12 -
 src/lib/evas/canvas/evas_object_text.c | 82 +-
 src/lib/evas/include/evas_filter.h |  1 -
 src/lib/evas/include/evas_private.h| 16 +++
 4 files changed, 48 insertions(+), 63 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_main.c 
b/src/lib/evas/canvas/evas_object_main.c
index 816e043..b288623 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -32,25 +32,30 @@ static const Evas_Object_Protected_State default_state = {
   { 255, 255, 255, 255 },
   1.0, 0, EVAS_RENDER_BLEND, EINA_FALSE, EINA_FALSE, EINA_FALSE, EINA_FALSE, 
EINA_FALSE, EINA_FALSE
 };
+static const Evas_Object_Filter_Data default_filter = {
+  NULL, NULL, NULL, 0, NULL, EINA_FALSE, EINA_FALSE
+};
 
 Eina_Cow *evas_object_proxy_cow = NULL;
 Eina_Cow *evas_object_map_cow = NULL;
 Eina_Cow *evas_object_state_cow = NULL;
 
 Eina_Cow *evas_object_3d_cow = NULL;
+Eina_Cow *evas_object_filter_cow = NULL;
 
 static Eina_Bool
 _init_cow(void)
 {
-   if (evas_object_map_cow  evas_object_proxy_cow  evas_object_state_cow 
 evas_object_3d_cow) return EINA_TRUE;
+   if (evas_object_map_cow  evas_object_proxy_cow  evas_object_state_cow 
 evas_object_3d_cow  evas_object_filter_cow) return EINA_TRUE;
 
evas_object_proxy_cow = eina_cow_add(Evas Object Proxy, sizeof 
(Evas_Object_Proxy_Data), 8, default_proxy, EINA_TRUE);
evas_object_map_cow = eina_cow_add(Evas Object Map, sizeof 
(Evas_Object_Map_Data), 8, default_map, EINA_TRUE);
evas_object_state_cow = eina_cow_add(Evas Object State, sizeof 
(Evas_Object_Protected_State), 64, default_state, EINA_FALSE);
 
evas_object_3d_cow = eina_cow_add(Evas Object 3D, sizeof 
(Evas_Object_3D_Data), 8, default_proxy, EINA_TRUE);
+   evas_object_filter_cow = eina_cow_add(Evas Filter Data, sizeof 
(Evas_Object_Filter_Data), 8, default_filter, EINA_TRUE);
 
-   if (!(evas_object_map_cow  evas_object_proxy_cow  evas_object_state_cow 
 evas_object_3d_cow))
+   if (!(evas_object_map_cow  evas_object_proxy_cow  evas_object_state_cow 
 evas_object_3d_cow  evas_object_filter_cow))
  {
 eina_cow_del(evas_object_proxy_cow);
 eina_cow_del(evas_object_map_cow);
@@ -62,6 +67,9 @@ _init_cow(void)
 eina_cow_del(evas_object_3d_cow);
 evas_object_3d_cow = NULL;
 
+eina_cow_del(evas_object_filter_cow);
+evas_object_filter_cow = NULL;
+
 return EINA_FALSE;
  }
 
diff --git a/src/lib/evas/canvas/evas_object_text.c 
b/src/lib/evas/canvas/evas_object_text.c
index 5190c7a..4be7f37 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -20,7 +20,6 @@ static const char o_type[] = text;
 /* private struct for text object internal data */
 typedef struct _Evas_Text_Data Evas_Text_Data;
 typedef struct _Evas_Object_Text_Item Evas_Object_Text_Item;
-typedef struct _Evas_Filter_Data Evas_Filter_Data;
 
 struct _Evas_Text_Data
 {
@@ -42,7 +41,7 @@ struct _Evas_Text_Data
   Evas_Font_Size   size;
   Evas_Text_Style_Type style;
 
-  const Evas_Filter_Data* filter; // cow
+  const Evas_Object_Filter_Data* filter; // cow
} cur, prev;
 
struct {
@@ -77,17 +76,6 @@ struct _Evas_Object_Text_Item
Evas_Coord   x, w, h, adv;
 };
 
-struct _Evas_Filter_Data
-{
-   Eina_Stringshare*code;
-   Evas_Filter_Program *chain;
-   Eina_Hash   *sources; // Evas_Filter_Proxy_Binding
-   int  sources_count;
-   void*output;
-   Eina_Boolchanged : 1;
-   Eina_Boolinvalid : 1; // Code parse failed
-};
-
 /* private methods for text objects */
 static void evas_object_text_init(Evas_Object *eo_obj);
 static void evas_object_text_render(Evas_Object *eo_obj,
@@ -145,9 +133,6 @@ static const Evas_Object_Func object_func =
  NULL
 };
 
-static Eina_Cow *evas_filter_cow = NULL;
-static const Evas_Filter_Data evas_filter_cow_default_data = {0};
-
 /* the actual api call to add a rect */
 /* it has no other api calls as all properties are standard */
 
@@ -380,26 +365,6 @@ evas_object_text_add(Evas *e)
return eo_obj;
 }
 
-static Eina_Bool
-_init_cow(Eo *eo_obj)
-{
-   if (!evas_filter_cow)
- {
-evas_filter_cow = eina_cow_add(Evas filter data,
-   sizeof (Evas_Filter_Data),
-   8,
-   evas_filter_cow_default_data,
-   EINA_TRUE);
- }
-   if 

[EGIT] [core/efl] master 02/06: Evas filters: Use a cow to reduce memory usage of text objects

2014-10-22 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

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

commit 9364083b44c4cfa1ffec4dc90e625eb0f9f85c1f
Author: Jean-Philippe Andre jp.an...@samsung.com
Date:   Wed Oct 22 10:53:45 2014 +0900

Evas filters: Use a cow to reduce memory usage of text objects

As pointed out by Cedric, the memory usage of basic evas objects
has increased a lot in recent versions of EFL, in part due
to this excessive use of filters data.

This is a partial fix for ticket 1725.
---
 src/lib/evas/canvas/evas_object_text.c | 281 ++---
 1 file changed, 187 insertions(+), 94 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_text.c 
b/src/lib/evas/canvas/evas_object_text.c
index 6a1e1df..5190c7a 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -20,6 +20,7 @@ static const char o_type[] = text;
 /* private struct for text object internal data */
 typedef struct _Evas_Text_Data Evas_Text_Data;
 typedef struct _Evas_Object_Text_Item Evas_Object_Text_Item;
+typedef struct _Evas_Filter_Data Evas_Filter_Data;
 
 struct _Evas_Text_Data
 {
@@ -41,16 +42,7 @@ struct _Evas_Text_Data
   Evas_Font_Size   size;
   Evas_Text_Style_Type style;
 
-  // special effects. VERY EXPERIMENTAL for now.
-  struct {
- Eina_Stringshare*code;
- Evas_Filter_Program *chain;
- Eina_Hash   *sources; // Evas_Filter_Proxy_Binding
- int  sources_count;
- void*output;
- Eina_Boolchanged : 1;
- Eina_Boolinvalid : 1; // Code parse failed
-  } filter;
+  const Evas_Filter_Data* filter; // cow
} cur, prev;
 
struct {
@@ -85,6 +77,17 @@ struct _Evas_Object_Text_Item
Evas_Coord   x, w, h, adv;
 };
 
+struct _Evas_Filter_Data
+{
+   Eina_Stringshare*code;
+   Evas_Filter_Program *chain;
+   Eina_Hash   *sources; // Evas_Filter_Proxy_Binding
+   int  sources_count;
+   void*output;
+   Eina_Boolchanged : 1;
+   Eina_Boolinvalid : 1; // Code parse failed
+};
+
 /* private methods for text objects */
 static void evas_object_text_init(Evas_Object *eo_obj);
 static void evas_object_text_render(Evas_Object *eo_obj,
@@ -142,6 +145,9 @@ static const Evas_Object_Func object_func =
  NULL
 };
 
+static Eina_Cow *evas_filter_cow = NULL;
+static const Evas_Filter_Data evas_filter_cow_default_data = {0};
+
 /* the actual api call to add a rect */
 /* it has no other api calls as all properties are standard */
 
@@ -374,8 +380,28 @@ evas_object_text_add(Evas *e)
return eo_obj;
 }
 
+static Eina_Bool
+_init_cow(Eo *eo_obj)
+{
+   if (!evas_filter_cow)
+ {
+evas_filter_cow = eina_cow_add(Evas filter data,
+   sizeof (Evas_Filter_Data),
+   8,
+   evas_filter_cow_default_data,
+   EINA_TRUE);
+ }
+   if (!evas_filter_cow)
+ {
+eo_error_set(eo_obj);
+return EINA_FALSE;
+ }
+
+   return EINA_TRUE;
+}
+
 EOLIAN static void
-_evas_text_eo_base_constructor(Eo *eo_obj, Evas_Text_Data *class_data 
EINA_UNUSED)
+_evas_text_eo_base_constructor(Eo *eo_obj, Evas_Text_Data *o)
 {
eo_do_super(eo_obj, MY_CLASS, eo_constructor());
evas_object_text_init(eo_obj);
@@ -384,6 +410,11 @@ _evas_text_eo_base_constructor(Eo *eo_obj, Evas_Text_Data 
*class_data EINA_UNUSE
 
eo_do(eo_obj, parent = eo_parent_get());
evas_object_inject(eo_obj, obj, evas_object_evas_get(parent));
+
+   if (!_init_cow(eo_obj))
+ return;
+
+   o-cur.filter = eina_cow_alloc(evas_filter_cow);
 }
 
 EOLIAN static void
@@ -407,6 +438,17 @@ _evas_text_efl_text_properties_font_source_get(Eo *eo_obj 
EINA_UNUSED, Evas_Text
return o-cur.source;
 }
 
+static inline void
+_evas_text_filter_changed_set(Evas_Text_Data *o, Eina_Bool val)
+{
+   if (o-cur.filter  (o-cur.filter-changed != val))
+ {
+EINA_COW_WRITE_BEGIN(evas_filter_cow, o-cur.filter, Evas_Filter_Data, 
fcow)
+  fcow-changed = val;
+EINA_COW_WRITE_END(evas_filter_cow, o-cur.filter, fcow);
+ }
+}
+
 EOLIAN static void
 _evas_text_efl_text_properties_font_set(Eo *eo_obj, Evas_Text_Data *o, const 
char *font, Evas_Font_Size size)
 {
@@ -472,7 +514,7 @@ _evas_text_efl_text_properties_font_set(Eo *eo_obj, 
Evas_Text_Data *o, const cha
_evas_object_text_items_clear(o);
_evas_object_text_recalc(eo_obj, o-cur.text);
o-changed = 1;
-   o-cur.filter.changed = EINA_TRUE;
+   _evas_text_filter_changed_set(o, EINA_TRUE);
evas_object_change(eo_obj, obj);
evas_object_clip_dirty(eo_obj, obj);
evas_object_coords_recalc(eo_obj, obj);
@@ -760,10 +802,10 @@ _evas_object_text_layout(Evas_Object *eo_obj, 

[EGIT] [core/efl] master 01/06: Evas GL: Don't pass shared context for GLX with 1.1 API

2014-10-22 Thread Jean-Philippe ANDRÉ
jpeg pushed a commit to branch master.

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

commit d4eb07b4bbbdac9820c0ef529316d5663afd09b9
Author: Jean-Philippe Andre jp.an...@samsung.com
Date:   Wed Oct 22 10:44:06 2014 +0900

Evas GL: Don't pass shared context for GLX with 1.1 API

Not sure if this is very relevant, since GLX does not support
GL-ES as such, anyways... We should be using the extension
GLX_EXT_create_context_es_profile to create proper contexts.

Note: GLX + OpenGL-ES 1.1 crashes at any function call on my
machine (binary bloc driver), while EGL + GLES1.1 is fine.
---
 src/modules/evas/engines/gl_x11/evas_engine.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/modules/evas/engines/gl_x11/evas_engine.c 
b/src/modules/evas/engines/gl_x11/evas_engine.c
index a9b850c..477e2fc 100644
--- a/src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/src/modules/evas/engines/gl_x11/evas_engine.c
@@ -519,7 +519,6 @@ evgl_eng_context_create(void *data, void *share_ctx, 
Evas_GL_Context_Version ver
(GLXContext)share_ctx,
1);
  }
-   /* TODO: Check this case.
else if (version == EVAS_GL_GLES_1_X)
  {
 context = glXCreateContext(eng_get_ob(re)-info-info.display,
@@ -527,7 +526,6 @@ evgl_eng_context_create(void *data, void *share_ctx, 
Evas_GL_Context_Version ver
NULL,
1);
  }
-   */
else
  {
 context = glXCreateContext(eng_get_ob(re)-info-info.display,

-- 




Re: [E-devel] Preparing EFL Korea Seminar

2014-10-22 Thread Daniel Juyung Seo
Yay, the 2nd EFL Korea Seminar is 4 days ahead.
http://onoffmix.com/event/34534

Thanks.

Daniel Juyung Seo (SeoZ)


On Sat, Oct 4, 2014 at 8:59 AM, Kim Shinwoo kimcinoo@gmail.com wrote:

 Hey dear.

 I'd like to be there with accessibility in EFL with a bit of Elementary
 focus.
 Thank you for your dedication always. :D

 Sincerely
 Shinwoo Kim.

 On Thu, Oct 2, 2014 at 8:17 PM, ryuan Choi ryuan.c...@gmail.com wrote:

  Hi,
 
  OK, I will try to prepare something about the ewebkit.
 
  Best Regards,
  Ryuan Choi
 
  2014-10-02 18:53 GMT+09:00 ChunEon Park her...@naver.com:
 
   Hello.
  
   I failed to reserve the seminar room on 25/Oct.
   But I could reserve on 26th(SUN)/Oct instead.
  
   Please reply me, speakers if you are not available on 26th/Oct.
  
   Opening (10 min) - Hermet
   Introduction of EFL and Enlightenment (30 min) - Hermet
   Getting Started - Writing EFL App (30 min) - WooChan Lee
   Various widget themes with Elm Theme Viewer (20 min) - SeoZ
   Scalable GUI in EFL (30 min) - JaeHwan Kim
   EDC Programming with Enventor (30 min) - JaeHyun Jo
   Webkit EFL (30 min) - Ryuan (NOT CONFIRMED)
   Enlightenment Window Manager (30 min) - Raster
   Closing (10 min) - Hermet
  
   And please update details
   https://phab.enlightenment.org/w/events/efl_korean_seminar_2014/
  
   so that i notice the seminar schedule on our community and some social
   communities.
  
   Thank you.
  
   
  
   -Regards, Hermet-
  
   -Original Message-
   From: ChunEon Parklt;her...@naver.comgt;
   To: EFL-Devellt;enlightenment-devel@lists.sourceforge.netgt;;
   EFL-Userlt;enlightenment-us...@lists.sourceforge.netgt;;
   Cc:
   Sent: 2014-09-29 (월) 21:24:30
   Subject: [E-devel] Preparing EFL Korea Seminar
  
   Hi, This is Hermet.
  
   I and SeoZ 're planning 2nd EFL Korea Seminar for EFl Korea Community
   continued to last year.
   The purpose of this seminar is not only for introducing EFL to
 developers
   in Korea but sharing EFL information each others.
   Im expecting students, 3rd party developers, Samsung engineers... and
  some
   efl korea commnunity members will attend the event.
  
   Im trying to reserve the seminar room in Kangnam.
   It's gonna be held on 25th(Sat)/Oct from 13:30 to 18:00. (If the place
 is
   not available, the date could be changed.)
  
   Here is the sessions of the main event.
  
   Opening (10 min) - Hermet
   Introduction of EFL and Enlightenment (30 min) - Hermet (NOT CONFIRMED)
   Getting Started - Writing EFL App (30 min) - WooChan Lee
   Various widget themes with Elm Theme Viewer (20 min) - SeoZ
   Scalable GUI in EFL (30 min) - JaeHwan Kim
   EDC Programming with Enventor (30 min) - JaeHyun Jo (NOT CONFIRMED)
   Webkit EFL (30 min) - Ryuan (NOT CONFIRMED)
   Enlightenment Window Manager (30 min) - Raster
   Closing (10 min) - Hermet
  
   In the last year, the count of the attendees was around 35,
  
   but I'm expecting more than 50 people will attend this seminar,
   since Tizen and EFL have been much more spreaded.
   Even I checked about 150 members have joined in our efl korea community
   additionally since the last year.
  
   After the main event is over, we will have E-Korea Dinner as usual.
  
   Please update your session info in our phabricator page. (see Details)
  
   https://phab.enlightenment.org/w/events/efl_korean_seminar_2014/
  
   Notify me if you can't prepare the session in advance,
  
   And give me any suggestions for better event.
  
   Thank you.
  
   
   -Regards, Hermet-
  
  
 
 --
   Slashdot TV.  Videos for Nerds.  Stuff that Matters.
  
  
 
 http://pubads.g.doubleclick.net/gampad/clk?id=160591471amp;iu=/4140/ostg.clktrk
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
  
  
  
 
 --
   Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
   Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS
 Reports
   Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
   Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
  
  
 
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
 
 
 --
  Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
  Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
  Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
  Comply 

[EGIT] [tools/abi_checks] master 01/01: Add v1.12.0 xml and dumps.

2014-10-22 Thread Tom Hacohen
tasn pushed a commit to branch master.

http://git.enlightenment.org/tools/abi_checks.git/commit/?id=a627fdd0da7b28cc5935539fed09a7b8e4c0ca5b

commit a627fdd0da7b28cc5935539fed09a7b8e4c0ca5b
Author: Tom Hacohen t...@stosb.com
Date:   Wed Oct 22 10:27:08 2014 +0100

Add v1.12.0 xml and dumps.
---
 abi_dumps/efl/efl_1.12.0.abi.tar.gz   | Bin 0 - 859003 bytes
 abi_dumps/elementary/elementary_1.12.0.abi.tar.gz | Bin 0 - 446157 bytes
 efl-1.12.0.xml|  12 
 elementary-1.12.0.xml |  11 +++
 4 files changed, 23 insertions(+)

diff --git a/abi_dumps/efl/efl_1.12.0.abi.tar.gz 
b/abi_dumps/efl/efl_1.12.0.abi.tar.gz
new file mode 100644
index 000..620502e
Binary files /dev/null and b/abi_dumps/efl/efl_1.12.0.abi.tar.gz differ
diff --git a/abi_dumps/elementary/elementary_1.12.0.abi.tar.gz 
b/abi_dumps/elementary/elementary_1.12.0.abi.tar.gz
new file mode 100644
index 000..f906495
Binary files /dev/null and b/abi_dumps/elementary/elementary_1.12.0.abi.tar.gz 
differ
diff --git a/efl-1.12.0.xml b/efl-1.12.0.xml
new file mode 100644
index 000..64d7158
--- /dev/null
+++ b/efl-1.12.0.xml
@@ -0,0 +1,12 @@
+version
+1.12.0
+/version
+
+headers
+/tmp/efl-1.12.0/usr/include
+/headers
+
+libs
+/tmp/efl-1.12.0/usr/lib
+/libs
+
diff --git a/elementary-1.12.0.xml b/elementary-1.12.0.xml
new file mode 100644
index 000..4a2981b
--- /dev/null
+++ b/elementary-1.12.0.xml
@@ -0,0 +1,11 @@
+version
+1.12.0
+/version
+
+headers
+/tmp/elementary-1.12.0/usr/include
+/headers
+
+libs
+/tmp/elementary-1.12.0/usr/lib
+/libs

-- 




[E-devel] EFL + Elementary ABI report v1.12.0

2014-10-22 Thread Tom Hacohen
Hey,

Here again, the new EFL + Elementary ABI reports.

As usual:
https://devs.enlightenment.org/~tasn/abi/

There's still some noise because of the Eo changes. Hopefully by next 
version we'll be able to remove the beta api from the report, or have 
stable efl interfaces. Who knows.

Luckily, this time there were no obvious generation issues (for example, 
missing headers). Good job everyone.

--
Tom.


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: Eo id: Fix id security checks for invalid objects.

2014-10-22 Thread Tom Hacohen
tasn pushed a commit to branch master.

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

commit 0b86334a858d9ba88a1642ec5671185292e75ce5
Author: Tom Hacohen t...@stosb.com
Date:   Wed Oct 22 11:31:06 2014 +0100

Eo id: Fix id security checks for invalid objects.

In some cases, invalid object ids (e.g 0x1) would pass validation and
represent completely different objects (0x80...01). This happened because
we weren't properly checking a given object id is actually an object id.

@fix.
---
 src/lib/eo/eo_ptr_indirection.x | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/src/lib/eo/eo_ptr_indirection.x b/src/lib/eo/eo_ptr_indirection.x
index 8a15c7d..dbdf168 100644
--- a/src/lib/eo/eo_ptr_indirection.x
+++ b/src/lib/eo/eo_ptr_indirection.x
@@ -100,6 +100,7 @@ typedef uint32_t Generation_Counter;
 #define MASK_TABLE_ID ((1  BITS_TABLE_ID) - 1)
 #define MASK_ENTRY_ID ((1  BITS_ENTRY_ID) - 1)
 #define MASK_GENERATIONS  (MAX_GENERATIONS - 1)
+#define MASK_OBJ_TAG  (((Eo_Id) 1)  (REF_TAG_SHIFT))
 
 /* This only applies to classes. Used to artificially enlarge the class ids
  * to reduce the likelihood of a clash with normal integers. */
@@ -273,6 +274,12 @@ _eo_obj_pointer_get(const Eo_Id obj_id)
 DBG(obj_id is NULL. Possibly unintended access?);
 return NULL;
  }
+   else if (!(obj_id  MASK_OBJ_TAG))
+ {
+DBG(obj_id is not a valid object id.);
+return NULL;
+ }
+
EO_DECOMPOSE_ID(obj_id, mid_table_id, table_id, entry_id, generation);
 
/* Check the validity of the entry */

-- 




[EGIT] [core/efl] efl-1.11 01/01: Eo id: Fix id security checks for invalid objects.

2014-10-22 Thread Tom Hacohen
tasn pushed a commit to branch efl-1.11.

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

commit d4d1bbf944af56ef7e7ac743c22b958ca7794e04
Author: Tom Hacohen t...@stosb.com
Date:   Wed Oct 22 11:31:06 2014 +0100

Eo id: Fix id security checks for invalid objects.

In some cases, invalid object ids (e.g 0x1) would pass validation and
represent completely different objects (0x80...01). This happened because
we weren't properly checking a given object id is actually an object id.

@fix.
---
 src/lib/eo/eo_ptr_indirection.x | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/src/lib/eo/eo_ptr_indirection.x b/src/lib/eo/eo_ptr_indirection.x
index 4efe667..2553e1d 100644
--- a/src/lib/eo/eo_ptr_indirection.x
+++ b/src/lib/eo/eo_ptr_indirection.x
@@ -100,6 +100,7 @@ typedef uint32_t Generation_Counter;
 #define MASK_TABLE_ID ((1  BITS_TABLE_ID) - 1)
 #define MASK_ENTRY_ID ((1  BITS_ENTRY_ID) - 1)
 #define MASK_GENERATIONS  (MAX_GENERATIONS - 1)
+#define MASK_OBJ_TAG  (((Eo_Id) 1)  (REF_TAG_SHIFT))
 
 /* This only applies to classes. Used to artificially enlarge the class ids
  * to reduce the likelihood of a clash with normal integers. */
@@ -273,6 +274,12 @@ _eo_obj_pointer_get(const Eo_Id obj_id)
 DBG(obj_id is NULL. Possibly unintended access?);
 return NULL;
  }
+   else if (!(obj_id  MASK_OBJ_TAG))
+ {
+DBG(obj_id is not a valid object id.);
+return NULL;
+ }
+
EO_DECOMPOSE_ID(obj_id, mid_table_id, table_id, entry_id, generation);
 
/* Check the validity of the entry */

-- 




[EGIT] [core/efl] efl-1.11 01/01: Eo id: Add regression tests to eo id sanity checks

2014-10-22 Thread Tom Hacohen
tasn pushed a commit to branch efl-1.11.

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

commit 15774cb566c7be3b3dddf48274e884084e857ce2
Author: Tom Hacohen t...@stosb.com
Date:   Wed Oct 22 11:43:45 2014 +0100

Eo id: Add regression tests to eo id sanity checks

Relevant commit: 0b86334a858d9ba88a1642ec5671185292e75ce5
---
 src/tests/eo/suite/eo_test_general.c | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/src/tests/eo/suite/eo_test_general.c 
b/src/tests/eo/suite/eo_test_general.c
index 78561e8..6a9ca0f 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -8,6 +8,9 @@
 #include eo_suite.h
 #include eo_test_class_simple.h
 
+/* Loading this internal header for testing purposes. */
+#include eo_ptr_indirection.h
+
 START_TEST(eo_simple)
 {
eo_init();
@@ -832,6 +835,13 @@ START_TEST(eo_pointers_indirection)
fail_if(eo_isa(obj1, klass));
eo_unref(obj2);
 
+   /* Check id sanity checks for close enough ids. */
+   obj1 = eo_add(klass, NULL);
+   fail_if(!obj1);
+   obj2 = (Eo *) (((Eo_Id) obj1)  ~MASK_OBJ_TAG);
+   fail_if(eo_class_get(obj2));
+   eo_unref(obj1);
+
 #define NB_OBJS 1
unsigned int obj_id;
Eo **objs = calloc(NB_OBJS, sizeof(Eo *));

-- 




[EGIT] [core/efl] master 01/01: Eo id: Add regression tests to eo id sanity checks

2014-10-22 Thread Tom Hacohen
tasn pushed a commit to branch master.

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

commit e1c0928ea377bcb6886335a8d4eeb1b581f67a17
Author: Tom Hacohen t...@stosb.com
Date:   Wed Oct 22 11:43:45 2014 +0100

Eo id: Add regression tests to eo id sanity checks

Relevant commit: 0b86334a858d9ba88a1642ec5671185292e75ce5
---
 src/tests/eo/suite/eo_test_general.c | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/src/tests/eo/suite/eo_test_general.c 
b/src/tests/eo/suite/eo_test_general.c
index 18b1a00..feef06a 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -8,6 +8,9 @@
 #include eo_suite.h
 #include eo_test_class_simple.h
 
+/* Loading this internal header for testing purposes. */
+#include eo_ptr_indirection.h
+
 START_TEST(eo_simple)
 {
eo_init();
@@ -848,6 +851,13 @@ START_TEST(eo_pointers_indirection)
fail_if(eo_isa(obj1, klass));
eo_unref(obj2);
 
+   /* Check id sanity checks for close enough ids. */
+   obj1 = eo_add(klass, NULL);
+   fail_if(!obj1);
+   obj2 = (Eo *) (((Eo_Id) obj1)  ~MASK_OBJ_TAG);
+   fail_if(eo_class_get(obj2));
+   eo_unref(obj1);
+
 #define NB_OBJS 1
unsigned int obj_id;
Eo **objs = calloc(NB_OBJS, sizeof(Eo *));

-- 




[EGIT] [core/efl] master 01/01: ecore_drm: Added internal function to check if drm device is hotplug device

2014-10-22 Thread vivek
devilhorns pushed a commit to branch master.

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

commit 2a9272333f730ac3d5b437b65dcd804a169c2ed3
Author: vivek vivek.el...@samsung.com
Date:   Wed Oct 22 08:14:26 2014 -0400

ecore_drm: Added internal function to check if drm device is hotplug device

Summary:
Added _ecore_drm_output_device_is_hotplug API to check if the
drm device is hotplug device. It returns EINA_TRUE if device is
hotplug else returns EINA_FALSE

@feature

Signed-off-by: vivek vivek.el...@samsung.com

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1559
---
 src/lib/ecore_drm/ecore_drm_output.c | 25 -
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index 67f8f0c..1b46e6b 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -623,6 +623,26 @@ finish:
_ecore_drm_output_frame_finish(output);
 }
 
+static Eina_Bool
+_ecore_drm_output_device_is_hotplug(Ecore_Drm_Output *output)
+{
+   const char *syspath;
+   const char *val;
+   int sysnum;
+
+   syspath = output-dev-drm.path;
+   sysnum = eeze_udev_syspath_get_sysnum(syspath);
+
+   if ((sysnum == -1) || (sysnum != output-dev-id))
+ return EINA_FALSE;
+
+   val = eeze_udev_syspath_get_property(syspath, HOTPLUG);
+   if (!val)
+ return EINA_FALSE;
+
+   return (strcmp(val, 1) == 0);
+}
+
 static void
 _ecore_drm_output_event(const char *device, Eeze_Udev_Event event, void *data, 
Eeze_Udev_Watch *watch EINA_UNUSED)
 {
@@ -630,7 +650,10 @@ _ecore_drm_output_event(const char *device, 
Eeze_Udev_Event event, void *data, E
 
if (!(output = data)) return;
 
-   /* TODO: Check if device is hotplug and update outputs */
+   if (_ecore_drm_output_device_is_hotplug(output))
+ {
+DBG(Output Hotplug Event);
+ }
 }
 
 /**

-- 




[EGIT] [core/efl] master 01/01: evas: tests only for extension compiled in.

2014-10-22 Thread Cedric BAIL
cedric pushed a commit to branch master.

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

commit 5c8a8a51ce6e9f0505de298783d8ba496943cf6a
Author: Cedric BAIL ced...@osg.samsung.com
Date:   Wed Oct 22 14:14:26 2014 +0200

evas: tests only for extension compiled in.
---
 src/tests/evas/evas_test_image.c|  82 
 src/tests/evas/images/Pic4-jpeg.png | Bin 0 - 303802 bytes
 src/tests/evas/images/Pic4-tgv.png  | Bin 0 - 104160 bytes
 src/tests/evas/images/Pic4.jpeg | Bin 0 - 55595 bytes
 src/tests/evas/images/Pic4.tgv  | Bin 0 - 33917 bytes
 5 files changed, 54 insertions(+), 28 deletions(-)

diff --git a/src/tests/evas/evas_test_image.c b/src/tests/evas/evas_test_image.c
index b8ae289..157041c 100644
--- a/src/tests/evas/evas_test_image.c
+++ b/src/tests/evas/evas_test_image.c
@@ -2,6 +2,8 @@
 # include config.h
 #endif
 
+#include sys/types.h
+#include sys/stat.h
 #include unistd.h
 #include stdio.h
 
@@ -11,6 +13,41 @@
 
 #define TESTS_IMG_DIR TESTS_SRC_DIR/images
 
+static const char *exts[] = {
+  png
+#ifdef BUILD_LOADER_TGA
+  ,tga
+#endif
+#ifdef BUILD_LOADER_WBMP
+  ,wbmp
+#endif
+  // FIXME: Seems like XPM support is currently broken
+#if 0
+#ifdef BUILD_LOADER_XPM
+  ,xpm
+#endif
+#endif
+#ifdef BUILD_LOADER_BMP
+  ,bmp
+#endif
+#ifdef BUILD_LOADER_GIF
+  ,gif
+#endif
+#ifdef BUILD_LOADER_PSD
+  ,psd
+#endif
+#ifdef BUILD_LOADER_WEBP
+  ,webp
+#endif
+#ifdef BUILD_LOADER_JPEG
+  ,jpeg
+  ,jpg
+#endif
+#ifdef BUILD_LOADER_TGV
+  ,tgv
+#endif
+};
+
 #if 0
 static const char *
 _test_image_get(const char *name)
@@ -35,8 +72,20 @@ START_TEST(evas_object_image_loader)
it = eina_file_direct_ls(TESTS_IMG_DIR);
EINA_ITERATOR_FOREACH(it, file)
  {
+Eina_Bool found = EINA_FALSE;
+unsigned int i;
 int w, h;
 
+for (i = 0; i  (sizeof (exts) / sizeof (exts[0])); i++)
+  if (!strcasecmp(file-path + file-path_length - strlen(exts[i]),
+  exts[i]))
+{
+   found = EINA_TRUE;
+   break;
+}
+
+if (!found) continue;
+
 evas_object_image_file_set(o, file-path, NULL);
 fail_if(evas_object_image_load_error_get(o) != EVAS_LOAD_ERROR_NONE);
 evas_object_image_size_get(o, w, h);
@@ -298,34 +347,6 @@ START_TEST(evas_object_image_all_loader_data)
Evas *e = _setup_evas();
Evas_Object *obj, *ref;
Eina_Strbuf *str;
-
-   const char *exts[] = {
- png
-#ifdef BUILD_LOADER_TGA
- ,tga
-#endif
-#ifdef BUILD_LOADER_WBMP
- ,wbmp
-#endif
- // FIXME: Seems like XPM support is currently broken
-#if 0
-#ifdef BUILD_LOADER_XPM
- ,xpm
-#endif
-#endif
-#ifdef BUILD_LOADER_BMP
- ,bmp
-#endif
-#ifdef BUILD_LOADER_GIF
- ,gif
-#endif
-#ifdef BUILD_LOADER_PSD
- ,psd
-#endif
-#ifdef BUILD_LOADER_WEBP
- ,webp
-#endif
-   };
unsigned int i;
 
obj = evas_object_image_add(e);
@@ -334,11 +355,16 @@ START_TEST(evas_object_image_all_loader_data)
 
for (i = 0; i  sizeof (exts) / sizeof (exts[0]); i++)
  {
+struct stat st;
 int w, h, r_w, r_h;
 const uint32_t *d, *r_d;
 
+fprintf(stderr, testing '%s'\n, exts[i]);
 
 eina_strbuf_append_printf(str, %s/Pic4-%s.png, TESTS_IMG_DIR, 
exts[i]);
+
+if (stat(eina_strbuf_string_get(str), st) != 0) continue;
+
 evas_object_image_file_set(obj, eina_strbuf_string_get(str), NULL);
 fail_if(evas_object_image_load_error_get(obj) != EVAS_LOAD_ERROR_NONE);
 evas_object_image_size_get(obj, w, h);
diff --git a/src/tests/evas/images/Pic4-jpeg.png 
b/src/tests/evas/images/Pic4-jpeg.png
new file mode 100644
index 000..5112058
Binary files /dev/null and b/src/tests/evas/images/Pic4-jpeg.png differ
diff --git a/src/tests/evas/images/Pic4-tgv.png 
b/src/tests/evas/images/Pic4-tgv.png
new file mode 100644
index 000..957ca0e
Binary files /dev/null and b/src/tests/evas/images/Pic4-tgv.png differ
diff --git a/src/tests/evas/images/Pic4.jpeg b/src/tests/evas/images/Pic4.jpeg
new file mode 100644
index 000..ca077ed
Binary files /dev/null and b/src/tests/evas/images/Pic4.jpeg differ
diff --git a/src/tests/evas/images/Pic4.tgv b/src/tests/evas/images/Pic4.tgv
new file mode 100644
index 000..4adf443
Binary files /dev/null and b/src/tests/evas/images/Pic4.tgv differ

-- 




Re: [E-devel] [EGIT] [core/efl] master 01/01: ecore_drm: Added internal function to check if drm device is hotplug device

2014-10-22 Thread Stefan Schmidt
Hello.

On 22/10/14 14:15, vivek wrote:
 devilhorns pushed a commit to branch master.

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

 commit 2a9272333f730ac3d5b437b65dcd804a169c2ed3
 Author: vivek vivek.el...@samsung.com
 Date:   Wed Oct 22 08:14:26 2014 -0400

 ecore_drm: Added internal function to check if drm device is hotplug 
 device
 
 Summary:
 Added _ecore_drm_output_device_is_hotplug API to check if the
 drm device is hotplug device. It returns EINA_TRUE if device is
 hotplug else returns EINA_FALSE
 
 @feature
 
 Signed-off-by: vivek vivek.el...@samsung.com
 
 Reviewers: devilhorns
 
 Subscribers: cedric
 
 Differential Revision: https://phab.enlightenment.org/D1559
 ---
  src/lib/ecore_drm/ecore_drm_output.c | 25 -
  1 file changed, 24 insertions(+), 1 deletion(-)

Replying to this as an example. I released alpha1 yesterday so we are in
stabilization now. Please focus on bug fixing and not on adding new things.

Not going to revert this but I will get more picky over the next days/weeks.

regards
Stefan Schmidt

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 01/01: ecore_drm: Added internal function to check if drm device is hotplug device

2014-10-22 Thread Chris Michael
On 10/22/2014 08:50 AM, Stefan Schmidt wrote:
 Hello.

 On 22/10/14 14:15, vivek wrote:
 devilhorns pushed a commit to branch master.

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

 commit 2a9272333f730ac3d5b437b65dcd804a169c2ed3
 Author: vivek vivek.el...@samsung.com
 Date:   Wed Oct 22 08:14:26 2014 -0400

  ecore_drm: Added internal function to check if drm device is hotplug 
 device

  Summary:
  Added _ecore_drm_output_device_is_hotplug API to check if the
  drm device is hotplug device. It returns EINA_TRUE if device is
  hotplug else returns EINA_FALSE

  @feature

  Signed-off-by: vivek vivek.el...@samsung.com

  Reviewers: devilhorns

  Subscribers: cedric

  Differential Revision: https://phab.enlightenment.org/D1559
 ---
   src/lib/ecore_drm/ecore_drm_output.c | 25 -
   1 file changed, 24 insertions(+), 1 deletion(-)

 Replying to this as an example. I released alpha1 yesterday so we are in
 stabilization now. Please focus on bug fixing and not on adding new things.

 Not going to revert this but I will get more picky over the next days/weeks.


Sorry my friend. I must have missed the announcement :( I won't add any 
new things until we're out of stabilization phase. Thanks

dh


 regards
 Stefan Schmidt



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] --with-api=eo breaking badly

2014-10-22 Thread Stefan Schmidt
Hello.

This option is set to both (legacy and eo) by default so we normally
don't see any trouble here.

Just setting it to eo breaks the build badly. Tons of implicit functions
definition and errors later on. Try it. :)

People don't seem to mess with this but as it is the nature of knobs
some people start to tune them. :)

As you can see in https://phab.enlightenment.org/T1558 someone tried and
reported the problem.
Booth is the default and setting it to legacy alone works, too. Just tested.

It feels like we are not ready yet to expose this decision as a
configure option. How to handle this?

Options to handle it in my order of preference:

1) Don't expose this option as configure knob to the user
2) Only allow for legacy and both as options
3) Leave as is and let the user try to learn from trusting us. ;)

regards
Stefan Schmidt

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: emotion: Add wma as possible playable extension

2014-10-22 Thread Stefan Schmidt
stefan pushed a commit to branch master.

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

commit 263a04b6dd3b1a706b05eb8f2e5346398105a1c5
Author: Stefan Schmidt s.schm...@samsung.com
Date:   Wed Oct 22 15:11:25 2014 +0200

emotion: Add wma as possible playable extension

This allows to preview (listen) a wma file in efm for example.

Fixes T1568
---
 src/lib/emotion/emotion_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/emotion/emotion_main.c b/src/lib/emotion/emotion_main.c
index 89be3af..f827390 100644
--- a/src/lib/emotion/emotion_main.c
+++ b/src/lib/emotion/emotion_main.c
@@ -89,6 +89,7 @@ static const struct ext_match_s matchs[] =
MATCHING(.wav),
MATCHING(.weba),
MATCHING(.webm),
+   MATCHING(.wma),
MATCHING(.wmv)
 };
 

-- 




[EGIT] [core/efl] master 03/03: evas-gl-drm: Cleanup formatting

2014-10-22 Thread Christopher Michael
devilhorns pushed a commit to branch master.

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

commit b41867cd778449f8b5b5abe266fea0cfce90e487
Author: Chris Michael cp.mich...@samsung.com
Date:   Wed Oct 22 09:18:05 2014 -0400

evas-gl-drm: Cleanup formatting

NB: No functional changes

Signed-off-by: Chris Michael cp.mich...@samsung.com
---
 src/modules/evas/engines/gl_drm/evas_drm.c  |  4 +---
 src/modules/evas/engines/gl_drm/evas_drm_main.c | 25 ++--
 src/modules/evas/engines/gl_drm/evas_engine.c   | 26 +
 3 files changed, 20 insertions(+), 35 deletions(-)

diff --git a/src/modules/evas/engines/gl_drm/evas_drm.c 
b/src/modules/evas/engines/gl_drm/evas_drm.c
index 2fe0d5f..22d92e3 100644
--- a/src/modules/evas/engines/gl_drm/evas_drm.c
+++ b/src/modules/evas/engines/gl_drm/evas_drm.c
@@ -147,9 +147,7 @@ evas_drm_gbm_init(Evas_Engine_Info_GL_Drm *info, int w, int 
h)
if (info-info.fd  0)  return EINA_FALSE;
 
if (!(info-info.gbm = gbm_create_device(info-info.fd)))
- {
-return EINA_FALSE;
- }
+ return EINA_FALSE;
 
if (!(info-info.surface = 
  gbm_surface_create(info-info.gbm, w, h,
diff --git a/src/modules/evas/engines/gl_drm/evas_drm_main.c 
b/src/modules/evas/engines/gl_drm/evas_drm_main.c
index e108bc4..e2fd783 100644
--- a/src/modules/evas/engines/gl_drm/evas_drm_main.c
+++ b/src/modules/evas/engines/gl_drm/evas_drm_main.c
@@ -37,7 +37,8 @@ _outbuf_flush_famebuffer(Outbuf *ob)
_outbuf_buffer_swap(ob, rects, n);
 }
 
-Outbuf *eng_window_new(Evas_Engine_Info_GL_Drm *info, Evas *e, struct 
gbm_device *gbm, struct gbm_surface *surface, int screen, int depth, int w, int 
h, int indirect EINA_UNUSED, int alpha, int rot, Render_Engine_Swap_Mode 
swap_mode)
+Outbuf *
+eng_window_new(Evas_Engine_Info_GL_Drm *info, Evas *e, struct gbm_device *gbm, 
struct gbm_surface *surface, int screen, int depth, int w, int h, int indirect 
EINA_UNUSED, int alpha, int rot, Render_Engine_Swap_Mode swap_mode)
 {
Outbuf *gw;
int context_attrs[3];
@@ -421,9 +422,7 @@ eng_gl_context_use(Context_3D *ctx)
 {
if (eglMakeCurrent(ctx-display, ctx-surface,
   ctx-surface, ctx-context) == EGL_FALSE)
- {
-ERR(eglMakeCurrent() failed.);
- }
+ ERR(eglMakeCurrent() failed.);
 }
 
 void
@@ -487,13 +486,11 @@ eng_outbuf_region_first_rect(Outbuf *ob)
return EINA_FALSE;
 }
 
-void*
+void *
 eng_outbuf_new_region_for_update(Outbuf *ob, int x, int y, int w, int h, int 
*cx EINA_UNUSED, int *cy EINA_UNUSED, int *cw EINA_UNUSED, int *ch EINA_UNUSED)
 {
-   if (w == ob-w  h == ob-h)
- {
-ob-gl_context-master_clip.enabled = EINA_FALSE;
- }
+   if ((w == ob-w)  (h == ob-h))
+ ob-gl_context-master_clip.enabled = EINA_FALSE;
else
  {
 ob-gl_context-master_clip.enabled = EINA_TRUE;
@@ -539,10 +536,10 @@ eng_outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects 
EINA_UNUSED, Evas_Render_Mode r
 else eglSwapInterval(ob-egl_disp, 0);
 ob-vsync = 1;
  }
+
if (ob-info-callback.pre_swap)
- {
-ob-info-callback.pre_swap(ob-info-callback.data, ob-evas);
- }
+ ob-info-callback.pre_swap(ob-info-callback.data, ob-evas);
+
 // TODO: Check eglSwapBuffersWithDamage for gl_drm and apply
 #if 0
if ((glsym_eglSwapBuffersWithDamage)  (ob-swap_mode != MODE_FULL))
@@ -606,9 +603,7 @@ eng_outbuf_flush(Outbuf *ob, Tilebuf_Rect *rects 
EINA_UNUSED, Evas_Render_Mode r
   eglSwapBuffers(ob-egl_disp, ob-egl_surface[0]);
 
if (ob-info-callback.post_swap)
- {
-ob-info-callback.post_swap(ob-info-callback.data, ob-evas);
- }
+ ob-info-callback.post_swap(ob-info-callback.data, ob-evas);
 
//Flush GL Surface data to Framebuffer
_outbuf_flush_famebuffer(ob);
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c 
b/src/modules/evas/engines/gl_drm/evas_engine.c
index 5c804ad..3fdad3a 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -207,13 +207,9 @@ gl_extn_veto(Render_Engine *re)
 if (getenv(EVAS_GL_INFO))
   printf(EGL EXTN:\n%s\n, str);
 if (!strstr(str, EGL_EXT_buffer_age))
-  {
- extn_have_buffer_age = 0;
-  }
+  extn_have_buffer_age = 0;
 if (!strstr(str, EGL_EXT_swap_buffers_with_damage))
-  {
- glsym_eglSwapBuffersWithDamage = NULL;
-  }
+  glsym_eglSwapBuffersWithDamage = NULL;
  }
else
  {
@@ -325,13 +321,10 @@ evgl_eng_native_window_create(void *data)
 return NULL;
  }
 
-   surface = gbm_surface_create(info-info.gbm, 1, 1,
-info-info.format,
+   surface = gbm_surface_create(info-info.gbm, 1, 1, info-info.format,
 info-info.flags);
if (!surface)
- {
-ERR(Could not create gl drm window: 

[EGIT] [core/efl] master 01/03: ecore-drm: Cleanup/Unify output_free function code

2014-10-22 Thread Christopher Michael
devilhorns pushed a commit to branch master.

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

commit 826d6f1bc29529292d236c02e444d2ecb11da9e0
Author: Chris Michael cp.mich...@samsung.com
Date:   Wed Oct 22 09:12:29 2014 -0400

ecore-drm: Cleanup/Unify output_free function code

Summary: There is no point in having different code in each output
free function (internal one and API exposed one), so let's unify the
code here.

@fix

Signed-off-by: Chris Michael cp.mich...@samsung.com
---
 src/lib/ecore_drm/ecore_drm_output.c | 31 ++-
 1 file changed, 10 insertions(+), 21 deletions(-)

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index 1b46e6b..af635b5 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -556,15 +556,21 @@ _ecore_drm_output_free(Ecore_Drm_Output *output)
 {
Ecore_Drm_Output_Mode *mode;
 
+   /* check for valid output */
if (!output) return;
 
-   eina_stringshare_del(output-make);
-   eina_stringshare_del(output-model);
-   eina_stringshare_del(output-name);
+   /* delete any added udev watch */
+   if (output-watch) eeze_udev_watch_del(output-watch);
 
+   /* free modes */
EINA_LIST_FREE(output-modes, mode)
  free(mode);
 
+   /* free strings */
+   if (output-name) eina_stringshare_del(output-name);
+   if (output-model) eina_stringshare_del(output-model);
+   if (output-make) eina_stringshare_del(output-make);
+
drmModeFreeCrtc(output-crtc);
 
free(output);
@@ -777,24 +783,7 @@ ecore_drm_outputs_create(Ecore_Drm_Device *dev)
 EAPI void 
 ecore_drm_output_free(Ecore_Drm_Output *output)
 {
-   Ecore_Drm_Output_Mode *mode;
-
-   /* check for valid output */
-   if (!output) return;
-
-   /* delete any added udev watch */
-   if (output-watch) eeze_udev_watch_del(output-watch);
-
-   /* free modes */
-   EINA_LIST_FREE(output-modes, mode)
- free(mode);
-
-   /* free strings */
-   if (output-name) eina_stringshare_del(output-name);
-   if (output-model) eina_stringshare_del(output-model);
-   if (output-make) eina_stringshare_del(output-make);
-
-   free(output);
+   _ecore_drm_output_free(output);
 }
 
 EAPI void 

-- 




[EGIT] [core/efl] master 02/03: ecore-drm: Check for valid crtc before calling free

2014-10-22 Thread Christopher Michael
devilhorns pushed a commit to branch master.

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

commit bab8379248e756afb6c038c22f8c9c15c886059e
Author: Chris Michael cp.mich...@samsung.com
Date:   Wed Oct 22 09:13:44 2014 -0400

ecore-drm: Check for valid crtc before calling free

Summary: We cannot call drmModeFreeCrtc with an invalid crtc, so check
that it is set inside the output structure before trying to make this
call

@fix

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

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index af635b5..6e139f4 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -571,7 +571,7 @@ _ecore_drm_output_free(Ecore_Drm_Output *output)
if (output-model) eina_stringshare_del(output-model);
if (output-make) eina_stringshare_del(output-make);
 
-   drmModeFreeCrtc(output-crtc);
+   if (output-crtc) drmModeFreeCrtc(output-crtc);
 
free(output);
 }

-- 




[E-devel] elemies in tizen sdk

2014-10-22 Thread ChunEon Park
Hi, elemies developers.

if tizen sdk includes elemies  as one casual game sample, 
It will be more attractive for tizen application developers.

Jerome and it's contributors,  what do you think about?

if you don't mind, then i try put the game into tizen sdk.


-Regards, Hermet-
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Herdsman commit access

2014-10-22 Thread Daniel Zaoui
Hi boyz, girlz, Raster,

I would like to recommend that we grant Daniel Hirt (herdsman) commit
access. He has been working on text for almost one year and made a great
job by proposing good patches and by making his best to help people on
text issues.
And well, just know that the reason why Tom is less annoying all of us
this last year is because Dani disturbs him every time. So I really
think he deserves it (and kudos for the sacrifice :P). Tom, just for joke!

If there are no objections during the next days, I will add him to the devs.

JackDanielZ, alias D2

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Herdsman commit access

2014-10-22 Thread Tom Hacohen
On 22/10/14 14:39, Daniel Zaoui wrote:
 Hi boyz, girlz, Raster,

 I would like to recommend that we grant Daniel Hirt (herdsman) commit
 access. He has been working on text for almost one year and made a great
 job by proposing good patches and by making his best to help people on
 text issues.
 And well, just know that the reason why Tom is less annoying all of us
 this last year is because Dani disturbs him every time. So I really
 think he deserves it (and kudos for the sacrifice :P). Tom, just for joke!

 If there are no objections during the next days, I will add him to the devs.

I have only bad things to say about him, but then again, I have only bad 
things to say about you and proposed you get access too.

I barely ever review his stuff any more, and I know that when he replies 
on issues, it's usually fine. I still give him the occasional nudge 
every now and then, but nothing serious.

So I guess I gotta give the thumbs up on this one, as long as when he 
breaks something, Jack gets the blame.

--
Tom.


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Herdsman commit access

2014-10-22 Thread Chris Michael
+1 from me ... as long as he does not become French and bork things ;)

Cheers,
dh

On 10/22/2014 09:39 AM, Daniel Zaoui wrote:
 Hi boyz, girlz, Raster,

 I would like to recommend that we grant Daniel Hirt (herdsman) commit
 access. He has been working on text for almost one year and made a great
 job by proposing good patches and by making his best to help people on
 text issues.
 And well, just know that the reason why Tom is less annoying all of us
 this last year is because Dani disturbs him every time. So I really
 think he deserves it (and kudos for the sacrifice :P). Tom, just for joke!

 If there are no objections during the next days, I will add him to the devs.

 JackDanielZ, alias D2



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Herdsman commit access

2014-10-22 Thread Daniel Kolesa
2014-10-22 15:39 GMT+02:00 Daniel Zaoui daniel.za...@samsung.com:

 Hi boyz, girlz, Raster,

 I would like to recommend that we grant Daniel Hirt (herdsman) commit
 access. He has been working on text for almost one year and made a great
 job by proposing good patches and by making his best to help people on
 text issues.
 And well, just know that the reason why Tom is less annoying all of us
 this last year is because Dani disturbs him every time. So I really
 think he deserves it (and kudos for the sacrifice :P). Tom, just for joke!

 If there are no objections during the next days, I will add him to the
 devs.


Yo, IMHO do it

he's been a probie for long enough



 JackDanielZ, alias D2


 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.
 http://p.sf.net/sfu/Zoho
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


D5
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Herdsman commit access

2014-10-22 Thread Tom Hacohen
On 22/10/14 14:50, Chris Michael wrote:
 +1 from me ... as long as he does not become French and bork things ;)

I have some pictures of him at a dodgy karaoke bar in Seoul with a few 
frenchies. I think the risk is there.

--
Tom.



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elemies in tizen sdk

2014-10-22 Thread Jérôme Pinot
Le 22/10/2014 22:33, ChunEon Park a écrit :
 Hi, elemies developers.
 
 if tizen sdk includes elemies  as one casual game sample, 
 It will be more attractive for tizen application developers.
 
 Jerome and it's contributors,  what do you think about?

Great!

 if you don't mind, then i try put the game into tizen sdk.

Neat, I'll have some time next week to help if you need.

 
 -Regards, Hermet-

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

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elemies in tizen sdk

2014-10-22 Thread ChunEon Park
thanks you!

need to check in detail how it's portable but seems no problem.

I guess only some key input  may be changed since it's touch screen based. 
but other things will be kept with original.

If i need your help then will ask. :)

by the way, will you join e korea community seminar? 
or dinner on this sunday?


-Regards, Hermet-

P style='font-size:10pt;FONT-FAMILY: Gulim,AppleGothic,sans-serif;padding:0 0 
0 10pt'span-Original Message-/spanBRBFrom:/B Jérôme 
Pinotngc...@gmail.com BRBTo:/B ChunEon Parkher...@naver.com; 
EFL-Develenlightenment-devel@lists.sourceforge.net; BRBCc:/B 
BRBSent:/B 2014-10-22 (수) 23:01:31BRBSubject:/B Re: elemies in 
tizen sdkBRBRLe 22/10/2014 22:33, ChunEon Park a écrit :
 Hi, elemies developers.
 
 if tizen sdk includes elemies  as one casual game sample, 
 It will be more attractive for tizen application developers.
 
 Jerome and it's contributors,  what do you think about?

Great!

 if you don't mind, then i try put the game into tizen sdk.

Neat, I'll have some time next week to help if you need.

 
 -Regards, Hermet-

-- 
Jérôme Pinot
http://ngc891.blogdns.net/
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elemies in tizen sdk

2014-10-22 Thread Daniel Juyung Seo
+1

It's a good idea :)
Thanks for the effort.

Daniel Juyung Seo (SeoZ)


On Wed, Oct 22, 2014 at 11:01 PM, Jérôme Pinot ngc...@gmail.com wrote:

 Le 22/10/2014 22:33, ChunEon Park a écrit :
  Hi, elemies developers.
 
  if tizen sdk includes elemies  as one casual game sample,
  It will be more attractive for tizen application developers.
 
  Jerome and it's contributors,  what do you think about?

 Great!

  if you don't mind, then i try put the game into tizen sdk.

 Neat, I'll have some time next week to help if you need.

  
  -Regards, Hermet-

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


 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.
 http://p.sf.net/sfu/Zoho
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal for a small release schedule change

2014-10-22 Thread Stefan Schmidt
Hello.

On 12/10/14 16:40, Tom Hacohen wrote:
 I think 4 weeks is too long, 3 weeks should suffice.
You would want to add this week to the merge window or cut the whole
cycle down to 11 weeks?

From my experience with the last 4 releases I think an extra week for
testing would help.

regards
Stefan Schmidt

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


[EGIT] [tools/edi] master 01/02: use waitpid() instead of wait()

2014-10-22 Thread Boris Faure
billiob pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=d671a68877b80becabb8c63c7adf47f999e415f2

commit d671a68877b80becabb8c63c7adf47f999e415f2
Author: Boris Faure bill...@gmail.com
Date:   Wed Oct 22 21:08:24 2014 +0200

use waitpid() instead of wait()
---
 src/bin/welcome/edi_welcome.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/welcome/edi_welcome.c b/src/bin/welcome/edi_welcome.c
index e356da6..47ad865 100644
--- a/src/bin/welcome/edi_welcome.c
+++ b/src/bin/welcome/edi_welcome.c
@@ -8,6 +8,7 @@
 #include edi_private.h
 
 #include stdlib.h
+#include sys/wait.h
 
 #define _EDI_WELCOME_PROJECT_NEW_TABLE_WIDTH 4
 
@@ -151,7 +152,7 @@ _edi_welcome_project_new_create_cb(void *data, Evas_Object 
*obj EINA_UNUSED, voi
 execlp(script, script, fullpath, name, user, email, url, NULL);
 exit(0);
  }
-   wait(pid);
+   waitpid(pid, NULL, 0);
_edi_welcome_project_open(fullpath);
 }
 

-- 




[EGIT] [tools/edi] master 02/02: fix some compiler warnings

2014-10-22 Thread Boris Faure
billiob pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=8fadf1098758189dbf0e467f53c06763add58d08

commit 8fadf1098758189dbf0e467f53c06763add58d08
Author: Boris Faure bill...@gmail.com
Date:   Wed Oct 22 21:08:57 2014 +0200

fix some compiler warnings
---
 src/bin/editor/edi_editor.c | 10 ++
 src/bin/mainview/edi_mainview.c | 10 +-
 src/bin/welcome/edi_welcome.c   |  2 +-
 3 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/src/bin/editor/edi_editor.c b/src/bin/editor/edi_editor.c
index 19e3016..cc8bb84 100644
--- a/src/bin/editor/edi_editor.c
+++ b/src/bin/editor/edi_editor.c
@@ -24,13 +24,13 @@
 
 static Edi_Color EDI_COLOR_FOREGROUND = color=#ff;
 static Edi_Color EDI_COLOR_COMMENT = color=#3399ff;
-static Edi_Color EDI_COLOR_STRING = color=#ff3a35;
+//static Edi_Color EDI_COLOR_STRING = color=#ff5a35;
 static Edi_Color EDI_COLOR_NUMBER = color=#D4D42A;// font_weight=Bold;
 static Edi_Color EDI_COLOR_BRACE = color=#656565;
 static Edi_Color EDI_COLOR_TYPE = color=#3399ff;
 static Edi_Color EDI_COLOR_CLASS = color=#72AAD4;// font_weight=Bold;
 static Edi_Color EDI_COLOR_FUNCTION = color=#72AAD4;// font_weight=Bold;
-static Edi_Color EDI_COLOR_PARAM = color=#ff;
+//static Edi_Color EDI_COLOR_PARAM = color=#ff;
 static Edi_Color EDI_COLOR_KEYWORD = color=#ff9900;// font_weight=Bold;
 static Edi_Color EDI_COLOR_PREPROCESSOR = color=#00B000;
 
@@ -278,7 +278,7 @@ _edi_editor_statusbar_add(Evas_Object *panel, Edi_Editor 
*editor, Edi_Mainview_I
 
 #if HAVE_LIBCLANG
 static void
-_edi_range_color_set(Edi_Editor *editor, Edi_Range range, Edi_Color color)
+_edi_range_color_set(Edi_Editor *editor EINA_UNUSED, Edi_Range range, 
Edi_Color color)
 {
evas_textblock_cursor_line_set(_format_cursor, range.start.line - 1);
evas_textblock_cursor_pos_set(_format_cursor, 
evas_textblock_cursor_pos_get(_format_cursor) + range.start.col - 1);
@@ -447,7 +447,7 @@ _clang_load_highlighting(const char *path, Edi_Editor 
*editor)
 }
 
 static void
-_clang_load_errors(const char *path, Edi_Editor *editor)
+_clang_load_errors(const char *path EINA_UNUSED, Edi_Editor *editor)
 {
unsigned n = clang_getNumDiagnostics(editor-tx_unit);
unsigned i = 0;
@@ -517,12 +517,14 @@ _edi_clang_setup(const char *path, Edi_Editor *editor)
evas_textblock_cursor_free(_format_cursor);
 }
 
+/*
 static void
 _edi_clang_dispose(Edi_Editor *editor)
 {
clang_disposeTranslationUnit(editor-tx_unit);
clang_disposeIndex(editor-idx);
 }
+*/
 #endif
 
 EAPI Evas_Object *edi_editor_add(Evas_Object *parent, Edi_Mainview_Item *item)
diff --git a/src/bin/mainview/edi_mainview.c b/src/bin/mainview/edi_mainview.c
index ceb6c0a..f673bf7 100644
--- a/src/bin/mainview/edi_mainview.c
+++ b/src/bin/mainview/edi_mainview.c
@@ -188,7 +188,7 @@ _edi_mainview_item_tab_add(Edi_Path_Options *options, const 
char *mime)
 
it = elm_naviframe_item_simple_push(nf, content);
elm_naviframe_item_style_set(it, overlap);
-   tab = elm_toolbar_item_append(tb, NULL, basename(options-path), _promote, 
it);
+   tab = elm_toolbar_item_append(tb, NULL, basename((char*)options-path), 
_promote, it);
item-view = it;
item-tab = tab;
elm_toolbar_item_selected_set(tab, EINA_TRUE);
@@ -214,7 +214,7 @@ _edi_mainview_win_title_get(const char *path)
 {
char *winname, *filename;
 
-   filename = basename(path);
+   filename = basename((char*)path);
winname = malloc((8 + strlen(filename)) * sizeof(char));
snprintf(winname, 8 + strlen(filename), Edi :: %s, filename);
 
@@ -552,7 +552,7 @@ edi_mainview_goto(int line)
Evas_Object *content;
Elm_Object_Item *it;
Edi_Editor *editor;
-   Evas_Object *tb;
+   Evas_Object *_tb;
Evas_Textblock_Cursor *mcur;
Evas_Coord x, y, w, h;
 
@@ -562,8 +562,8 @@ edi_mainview_goto(int line)
if (!content || line = 0)
  return;
 
-   tb = elm_entry_textblock_get(editor-entry);
-   mcur = evas_object_textblock_cursor_get(tb);
+   _tb = elm_entry_textblock_get(editor-entry);
+   mcur = evas_object_textblock_cursor_get(_tb);
 
evas_textblock_cursor_line_set(mcur, line-1);
elm_entry_cursor_geometry_get(editor-entry, x, y, w, h);
diff --git a/src/bin/welcome/edi_welcome.c b/src/bin/welcome/edi_welcome.c
index 47ad865..f031c29 100644
--- a/src/bin/welcome/edi_welcome.c
+++ b/src/bin/welcome/edi_welcome.c
@@ -130,7 +130,7 @@ _edi_welcome_project_new_input_row_add(const char *text, 
const char *placeholder
 }
 
 static void
-_edi_welcome_project_new_create_cb(void *data, Evas_Object *obj EINA_UNUSED, 
void *event_info EINA_UNUSED)
+_edi_welcome_project_new_create_cb(void *data EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_info EINA_UNUSED)
 {
const char *path, *name, *user, *email, *url;
char script[PATH_MAX], fullpath[PATH_MAX];

-- 




[EGIT] [core/efl] master 01/01: eet: shutup stupid compiler warning.

2014-10-22 Thread Cedric BAIL
cedric pushed a commit to branch master.

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

commit fb8087b0a7a76bc07d32fae253597d0579d77698
Author: Cedric BAIL ced...@osg.samsung.com
Date:   Wed Oct 22 22:30:29 2014 +0200

eet: shutup stupid compiler warning.
---
 src/lib/eet/eet_image.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lib/eet/eet_image.c b/src/lib/eet/eet_image.c
index ad93f32..1103893 100644
--- a/src/lib/eet/eet_image.c
+++ b/src/lib/eet/eet_image.c
@@ -363,7 +363,7 @@ _eet_image_jpeg_error_exit_cb(j_common_ptr cinfo)
emptr errmgr;
 
(*cinfo-err-format_message)(cinfo, buffer);
-   ERR(buffer);
+   ERR(%s, buffer);
errmgr = (emptr)cinfo-err;
longjmp(errmgr-setjmp_buffer, 1);
 }
@@ -375,7 +375,7 @@ _eet_image_jpeg_output_message_cb(j_common_ptr cinfo)
/* emptr errmgr; */
 
(*cinfo-err-format_message)(cinfo, buffer);
-   ERR(buffer);
+   ERR(%s, buffer);
/*
errmgr = (emptr)cinfo-err;
longjmp(errmgr-setjmp_buffer, 1);
@@ -396,7 +396,7 @@ _eet_image_jpeg_emit_message_cb(j_common_ptr cinfo,
 if ((err-num_warnings == 0) || (err-trace_level = 3))
   {
  (*cinfo-err-format_message)(cinfo, buffer);
- WRN(buffer);
+ WRN(%s, buffer);
   }
 err-num_warnings++;
  }
@@ -405,7 +405,7 @@ _eet_image_jpeg_emit_message_cb(j_common_ptr cinfo,
 if (err-trace_level = msg_level)
   {
  (*cinfo-err-format_message)(cinfo, buffer);
- INF(buffer);
+ INF(%s, buffer);
   }
  }
/*

-- 




[EGIT] [tools/edi] master 01/02: Fix building out of tree

2014-10-22 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=50b9cd16f7ce1cbb287a366f9b5a5853860ef3b0

commit 50b9cd16f7ce1cbb287a366f9b5a5853860ef3b0
Author: Andy Williams a...@andywilliams.me
Date:   Wed Oct 22 22:03:39 2014 +0100

Fix building out of tree
---
 data/extra/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/extra/Makefile.am b/data/extra/Makefile.am
index 9a8b3e7..9a54868 100644
--- a/data/extra/Makefile.am
+++ b/data/extra/Makefile.am
@@ -4,7 +4,7 @@ skeletondir = $(datadir)/$(PACKAGE)/
 skeleton_DATA = 
 
 install-data-hook:
-   tar -xf skeleton.tar.gz -C $(skeletondir)
+   tar -xf $(srcdir)/skeleton.tar.gz -C $(skeletondir)
 
 uninstall-local:
rm -rf $(skeletondir)/skeleton

-- 




[EGIT] [tools/edi] master 02/02: Warn if the passed parameter is not a valid project location. Currently EDI can only open existing directories or create them - no single file mode

2014-10-22 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=95958caa310c1d223f0d0fb5e23bee39cbab0307

commit 95958caa310c1d223f0d0fb5e23bee39cbab0307
Author: Andy Williams a...@andywilliams.me
Date:   Wed Oct 22 22:41:23 2014 +0100

Warn if the passed parameter is not a valid project location.
Currently EDI can only open existing directories or create them - no single 
file mode
---
 src/bin/edi_main.c |  8 ++--
 src/lib/Edi.h  |  6 +-
 src/lib/edi.c  | 29 -
 3 files changed, 39 insertions(+), 4 deletions(-)

diff --git a/src/bin/edi_main.c b/src/bin/edi_main.c
index cc2d59f..1912797 100644
--- a/src/bin/edi_main.c
+++ b/src/bin/edi_main.c
@@ -386,7 +386,11 @@ edi_open(const char *path)
Evas_Object *win, *vbx, *content, *tb;
const char *winname;
 
-   edi_project_set(path);
+   if (!edi_project_set(path))
+ {
+fprintf(stderr, Project path must be a directory\n);
+return NULL;
+ }
 
elm_need_ethumb();
elm_need_efreet();
@@ -481,7 +485,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
 
if (args  argc)
  {
-project_path = realpath(argv[args], NULL);
+project_path = argv[args];
  }
 
elm_app_info_set(elm_main, edi, images/edi.png);
diff --git a/src/lib/Edi.h b/src/lib/Edi.h
index c533995..aff9918 100644
--- a/src/lib/Edi.h
+++ b/src/lib/Edi.h
@@ -2,6 +2,7 @@
 # define EDI_H_
 
 #include Elementary.h
+#include Eina.h
 
 #ifdef EAPI
 # undef EAPI
@@ -98,12 +99,15 @@ EAPI int edi_shutdown(void);
  * @{
  *
  * Set the current edi project that is loaded.
+ * Any directory is deemed a valid project.
  *
  * @param path The path to the current project being loaded.
+ * @return EINA_TRUE if the path represented a valid project,
+ *   EINA_FALSE otherwise
  *
  * @ingroup Main
  */
-EAPI void edi_project_set(const char *path);
+EAPI Eina_Bool edi_project_set(const char *path);
 
 /**
  * Get the current edi project that is loaded.
diff --git a/src/lib/edi.c b/src/lib/edi.c
index 7d667ed..8950a49 100644
--- a/src/lib/edi.c
+++ b/src/lib/edi.c
@@ -2,6 +2,10 @@
 # include config.h
 #endif
 
+#include sys/types.h
+#include sys/stat.h
+#include unistd.h
+
 #include Edi.h
 
 #include edi_private.h
@@ -58,13 +62,36 @@ edi_shutdown(void)
return _edi_init;
 }
 
-EAPI void
+static Eina_Bool
+_edi_path_isdir(const char *path)
+{
+struct stat buf;
+
+if (!path)
+  return EINA_FALSE;
+
+stat(path, buf);
+return S_ISDIR(buf.st_mode);
+}
+
+EAPI Eina_Bool
 edi_project_set(const char *path)
 {
+   char *real = NULL;
+
+   real = realpath(real, NULL);
+   if (!_edi_path_isdir(path))
+ {
+free(real);
+return EINA_FALSE;
+ }
+
if (_edi_project_path)
  eina_stringshare_del(_edi_project_path);
 
_edi_project_path = eina_stringshare_add(path);
+   free(real);
+   return EINA_TRUE;
 }
 
 EAPI const char *

-- 




[EGIT] [tools/edi] master 01/01: fix syntax mistake after changing markup type

2014-10-22 Thread Andy Williams
ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=f7336e9276f9c16648a27fb8dda2c6f6e462c836

commit f7336e9276f9c16648a27fb8dda2c6f6e462c836
Author: Andy Williams a...@andywilliams.me
Date:   Wed Oct 22 22:43:32 2014 +0100

fix syntax mistake after changing markup type
---
 src/bin/editor/edi_editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/editor/edi_editor.c b/src/bin/editor/edi_editor.c
index cc8bb84..cdec582 100644
--- a/src/bin/editor/edi_editor.c
+++ b/src/bin/editor/edi_editor.c
@@ -34,7 +34,7 @@ static Edi_Color EDI_COLOR_FUNCTION = color=#72AAD4;// 
font_weight=Bold;
 static Edi_Color EDI_COLOR_KEYWORD = color=#ff9900;// font_weight=Bold;
 static Edi_Color EDI_COLOR_PREPROCESSOR = color=#00B000;
 
-static Edi_Color EDI_COLOR_BACKGROUND = +backing_color=#00;
+static Edi_Color EDI_COLOR_BACKGROUND = backing_color=#00;
 static Edi_Color EDI_COLOR_SEVIRITY_IGNORED = backing_color=#00;
 static Edi_Color EDI_COLOR_SEVIRITY_NOTE = backing_color=#ff9900;
 static Edi_Color EDI_COLOR_SEVIRITY_WARNING = backing_color=#ff9900;

-- 




Re: [E-devel] --with-api=eo breaking badly

2014-10-22 Thread David Seikel
On Wed, 22 Oct 2014 14:59:17 +0200 Stefan Schmidt
ste...@datenfreihafen.org wrote:

 Hello.
 
 This option is set to both (legacy and eo) by default so we normally
 don't see any trouble here.
 
 Just setting it to eo breaks the build badly. Tons of implicit
 functions definition and errors later on. Try it. :)
 
 People don't seem to mess with this but as it is the nature of knobs
 some people start to tune them. :)
 
 As you can see in https://phab.enlightenment.org/T1558 someone tried
 and reported the problem.
 Booth is the default and setting it to legacy alone works, too. Just
 tested.
 
 It feels like we are not ready yet to expose this decision as a
 configure option. How to handle this?
 
 Options to handle it in my order of preference:
 
 1) Don't expose this option as configure knob to the user
 2) Only allow for legacy and both as options
 3) Leave as is and let the user try to learn from trusting us. ;)

Even though I'm testing EO stuff in the app I'm currently experimenting
with, I leave EFL at the default of both.

I say setting it to eo should trigger the

--enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aba

stuff.  So my vote is for 3.

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


signature.asc
Description: PGP signature
--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [tools/enventor] master 01/01: auto_comp: Support auto_comp and color for keyword set in images.

2014-10-22 Thread Jaehyun Cho
hermet pushed a commit to branch master.

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

commit d55e920eb06ba6ef0264b6cb033fab8f52ed2918
Author: Jaehyun Cho jae_hyun@samsung.com
Date:   Thu Oct 23 10:37:46 2014 +0900

auto_comp: Support auto_comp and color for keyword set in images.

Summary: auto_comp: Support auto_comp and color for keyword set in images.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1563
---
 data/color/color.src | 1 +
 src/lib/auto_comp.c  | 1 +
 src/lib/auto_comp_code.h | 9 -
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/data/color/color.src b/data/color/color.src
index 0ab2e81..2f8f088 100644
--- a/data/color/color.src
+++ b/data/color/color.src
@@ -47,6 +47,7 @@ group syntax_color_group struct {
 value key string: rotation;
 value key string: sample;
 value key string: script;
+value key string: set;
 value key string: sounds;
 value key string: styles;
 value key string: size ;
diff --git a/src/lib/auto_comp.c b/src/lib/auto_comp.c
index 0a5adac..2dc24e7 100644
--- a/src/lib/auto_comp.c
+++ b/src/lib/auto_comp.c
@@ -63,6 +63,7 @@ init_thread_cb(void *data, Ecore_Thread *thread EINA_UNUSED)
COMPDATA_SET(ad, collections,AUTOCOMP_COLLECTIONS, 2, 1);
COMPDATA_SET(ad, image,AUTOCOMP_IMAGE, 7, 0);
COMPDATA_SET(ad, images,AUTOCOMP_IMAGES, 2, 1);
+   COMPDATA_SET(ad, set,AUTOCOMP_SET, 4, 1);
COMPDATA_SET(ad, group,AUTOCOMP_GROUP, 4, 1);
COMPDATA_SET(ad, type,AUTOCOMP_TYPE, 0, 0);
COMPDATA_SET(ad, part,AUTOCOMP_PART, 4, 1);
diff --git a/src/lib/auto_comp_code.h b/src/lib/auto_comp_code.h
index 5d039b3..1bae1bb 100644
--- a/src/lib/auto_comp_code.h
+++ b/src/lib/auto_comp_code.h
@@ -332,4 +332,11 @@ const char 
*AUTOCOMP_BASE_SCALE[AUTOCOMP_BASE_SCALE_LINE_CNT] =
base_scale: ;,
 };
 
-#define COMPSET_CNT 51
+#define AUTOCOMP_SET_LINE_CNT 2
+const char *AUTOCOMP_SET[AUTOCOMP_SET_LINE_CNT] =
+{
+   set { name: \\;br/,
+   }
+};
+
+#define COMPSET_CNT 52

-- 




[EGIT] [tools/enventor] master 01/01: auto_comp: Support auto_comp and color for keyword box, table, item, items, layout, and padding.

2014-10-22 Thread Jaehyun Cho
hermet pushed a commit to branch master.

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

commit c62b19e9c797f14f195d83b27788cfe36f39ff37
Author: Jaehyun Cho jae_hyun@samsung.com
Date:   Thu Oct 23 10:50:37 2014 +0900

auto_comp: Support auto_comp and color for keyword box, table, item, items, 
layout, and padding.

Summary: auto_comp: Support auto_comp and color for keyword box, table, 
item, items, layout, and padding.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1564

Conflicts:

src/lib/auto_comp_code.h
---
 data/color/color.src |  7 ++-
 src/lib/auto_comp.c  |  6 ++
 src/lib/auto_comp_code.h | 46 +-
 3 files changed, 57 insertions(+), 2 deletions(-)

diff --git a/data/color/color.src b/data/color/color.src
index 2f8f088..8ec8715 100644
--- a/data/color/color.src
+++ b/data/color/color.src
@@ -26,6 +26,7 @@ group syntax_color_group struct {
   group color struct {
  value val string: 2070D0;
  group keys list {
+value key string: box;
 value key string: collections;
 value key string: data;
 value key string: description;
@@ -35,6 +36,8 @@ group syntax_color_group struct {
 value key string: images;
 value key string: image ;
 value key string: image.;
+value key string: items;
+value key string: item;
 value key string: map;
 value key string: origin;
 value key string: parts;
@@ -51,6 +54,7 @@ group syntax_color_group struct {
 value key string: sounds;
 value key string: styles;
 value key string: size ;
+value key string: table;
 value key string: text ;
 value key string: text.;
  }
@@ -89,7 +93,7 @@ group syntax_color_group struct {
 value key string: insert_after;
 value key string: insert_before;
 value key string: in;
-value key string: item;
+value key string: layout;
 value key string: max;
 value key string: middle;
 value key string: min;
@@ -99,6 +103,7 @@ group syntax_color_group struct {
 value key string: normal;
 value key string: offset;
 value key string: on;
+value key string: padding:;
 value key string: perspective:;
 value key string: perspective_on;
 value key string: relative;
diff --git a/src/lib/auto_comp.c b/src/lib/auto_comp.c
index 2dc24e7..44530e6 100644
--- a/src/lib/auto_comp.c
+++ b/src/lib/auto_comp.c
@@ -112,6 +112,12 @@ init_thread_cb(void *data, Ecore_Thread *thread 
EINA_UNUSED)
COMPDATA_SET(ad, fixed, AUTOCOMP_FIXED, 1, 0);
COMPDATA_SET(ad, clip_to, AUTOCOMP_CLIP_TO, 2, 0);
COMPDATA_SET(ad, tween, AUTOCOMP_TWEEN, 2, 0);
+   COMPDATA_SET(ad, box,AUTOCOMP_BOX, 2, 1);
+   COMPDATA_SET(ad, table,AUTOCOMP_TABLE, 2, 1);
+   COMPDATA_SET(ad, item,AUTOCOMP_ITEM, 2, 1);
+   COMPDATA_SET(ad, items,AUTOCOMP_ITEMS, 2, 1);
+   COMPDATA_SET(ad, layout,AUTOCOMP_LAYOUT, 2, 0);
+   COMPDATA_SET(ad, padding,AUTOCOMP_PADDING, 1, 0);
 }
 
 static void
diff --git a/src/lib/auto_comp_code.h b/src/lib/auto_comp_code.h
index 1bae1bb..ee0d777 100644
--- a/src/lib/auto_comp_code.h
+++ b/src/lib/auto_comp_code.h
@@ -339,4 +339,48 @@ const char *AUTOCOMP_SET[AUTOCOMP_SET_LINE_CNT] =
}
 };
 
-#define COMPSET_CNT 52
+#define AUTOCOMP_BOX_LINE_CNT 3
+const char *AUTOCOMP_BOX[AUTOCOMP_BOX_LINE_CNT] =
+{
+   box {br/,
+  br/,
+   }
+};
+
+#define AUTOCOMP_TABLE_LINE_CNT 3
+const char *AUTOCOMP_TABLE[AUTOCOMP_TABLE_LINE_CNT] =
+{
+   table {br/,
+  br/,
+   }
+};
+
+#define AUTOCOMP_ITEM_LINE_CNT 3
+const char *AUTOCOMP_ITEM[AUTOCOMP_ITEM_LINE_CNT] =
+{
+   item {br/,
+  br/,
+   }
+};
+
+#define AUTOCOMP_ITEMS_LINE_CNT 3
+const char *AUTOCOMP_ITEMS[AUTOCOMP_ITEMS_LINE_CNT] =
+{
+   items {br/,
+  br/,
+   }
+};
+
+#define AUTOCOMP_LAYOUT_LINE_CNT 1
+const char *AUTOCOMP_LAYOUT[AUTOCOMP_LAYOUT_LINE_CNT] =
+{
+   layout: \\;,
+};
+
+#define AUTOCOMP_PADDING_LINE_CNT 1
+const char *AUTOCOMP_PADDING[AUTOCOMP_PADDING_LINE_CNT] =
+{
+   padding: ;,
+};
+
+#define COMPSET_CNT 58

--