Re: [E-devel] E SVN: englebass trunk/e/src/modules/conf_randr

2012-03-08 Thread leif . middelschulte
Thank you very much :)Enlightenment SVN schrieb am 08.03.12 09:27:
Log:
modules/conf_randr: Fix display of outputs
  
  - Show and pack objects in layout before using e_layout_child_*()
functions.
  - Don't use random EVAS_HINT_* flags when passing parameters.

Author:   englebass
Date: 2012-03-08 00:27:32 -0800 (Thu, 08 Mar 2012)
New Revision: 69040
Trac: http://trac.enlightenment.org/e/changeset/69040

Modified:
  trunk/e/src/modules/conf_randr/e_int_config_randr.c 
trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c 

Modified: trunk/e/src/modules/conf_randr/e_int_config_randr.c
===
--- trunk/e/src/modules/conf_randr/e_int_config_randr.c 2012-03-08 07:51:39 UTC 
(rev 69039)
+++ trunk/e/src/modules/conf_randr/e_int_config_randr.c 2012-03-08 08:27:32 UTC 
(rev 69040)
@@ -313,7 +313,7 @@
EINA_SAFETY_ON_FALSE_GOTO((wl = e_widget_list_add(canvas, EINA_FALSE, 
EINA_TRUE)), _dialog_create_widget_list_fail);
 
//e_widget_table_object_append(Evas_Object *obj, Evas_Object *sobj, int 
col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, 
int expand_h);
-   e_widget_table_object_append(table, cfdata-gui.widgets.arrangement.widget, 
1, 1, 1, 1, EVAS_HINT_FILL, EVAS_HINT_FILL, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+   e_widget_table_object_append(table, cfdata-gui.widgets.arrangement.widget, 
1, 1, 1, 1, 1, 1, 1, 1);
/*
   e_widget_table_object_append(table, cfdata-gui.widgets.policies.widget, 
1, 2, 1, 1, 0, 0, 0, 0);
   e_widget_table_object_append(table, 
cfdata-gui.widgets.orientation.widget, 2, 2, 1, 1, 0, 0, 0, 0);

Modified: trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c
===
--- trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c 
2012-03-08 07:51:39 UTC (rev 69039)
+++ trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c 
2012-03-08 08:27:32 UTC (rev 69040)
@@ -128,12 +128,12 @@
   {
  memcpy(geo, default_geo, sizeof(geo));
   }
+evas_object_show(odd-rep);
+e_layout_pack(area, odd-rep);
 e_layout_child_raise(odd-rep);
 e_layout_child_resize(odd-rep, geo.w, geo.h);
 e_layout_child_move(odd-rep, geo.x, geo.y);
-evas_object_show(odd-rep);
 
-e_layout_pack(area, odd-rep);
 fprintf(stderr, CONF_RANDR: Representation (%p) added with geo %d.%d 
%dx%d.\n, odd-rep, geo.x, geo.y, geo.w, geo.h);
  }
e_layout_thaw(area);
@@ -181,7 +181,7 @@
e_config_runtime_info-gui.widgets.arrangement.scrollframe = scrollframe;
 
// Append both objects to widget list
-   e_widget_list_object_append(widget, scrollframe, EVAS_HINT_FILL, 
EVAS_HINT_EXPAND, EVAS_HINT_FILL);
+   e_widget_list_object_append(widget, scrollframe, 1, 1, 0.0);
e_widget_list_object_append(widget, check, 0, 0, 1.0);
 
e_config_runtime_info-gui.widgets.arrangement.widget_list = widget;


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-svn mailing list
enlightenment-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] elm_web, elm_map, elm_box tiny patches

2012-03-08 Thread Jeremy Zurcher
eml_web : remove deprecated elm_web_navigate_possible_get(...)
elm_map : remove useless EAPI
elm_box : eml_box_transition_new uses Ecore_cb for start_layout_free_data 
parameter

Jeremy
diff --git a/elementary/src/lib/elm_web.h b/elementary/src/lib/elm_web.h
index f20ac86..a683bdf 100644
--- a/elementary/src/lib/elm_web.h
+++ b/elementary/src/lib/elm_web.h
@@ -764,7 +764,6 @@ EAPI Eina_Bool elm_web_forward(Evas_Object *obj);
  * history exists to jump the given number of steps
  *
  * @see elm_web_history_enabled_set()
- * @see elm_web_navigate_possible_get()
  * @see elm_web_back()
  * @see elm_web_forward()
  */
@@ -791,20 +790,6 @@ EAPI Eina_Bool 
elm_web_back_possible_get(Evas_Object *obj);
 EAPI Eina_Bool elm_web_forward_possible_get(Evas_Object *obj);
 
 /**
- * Queries whether it's possible to jump the given number of steps
- *
- * The @p steps value can be a negative integer to back in history, or a
- * positive to move forward.
- *
- * @param obj The web object
- * @param steps The number of steps to check for
- *
- * @return EINA_TRUE if enough history exists to perform the given jump,
- * EINA_FALSE otherwise
- */
-EAPI Eina_Bool elm_web_navigate_possible_get(Evas_Object *obj, int 
steps);
-
-/**
  * Gets whether browsing history is enabled for the given object
  *
  * @param obj The web object
diff --git a/elementary/src/lib/elm_map.h b/elementary/src/lib/elm_map.h
index dda4af5..b56c2d8 100644
--- a/elementary/src/lib/elm_map.h
+++ b/elementary/src/lib/elm_map.h
@@ -1002,7 +1002,6 @@ EAPI void  
elm_map_overlay_class_remove(Elm_Map_Overlay *clas, E
  *
  * @ingroup Map
  */
-EAPI
 EAPI void  elm_map_overlay_class_zoom_max_set(Elm_Map_Overlay 
*clas, int zoom);
 
 /**
diff --git a/elementary/src/lib/elm_box.c b/elementary/src/lib/elm_box.c
index 2c9ba3d..bcf0b38 100644
--- a/elementary/src/lib/elm_box.c
+++ b/elementary/src/lib/elm_box.c
@@ -574,7 +574,7 @@ elm_box_layout_transition(Evas_Object *obj, 
Evas_Object_Box_Data *priv, void *da
 EAPI Elm_Box_Transition *
 elm_box_transition_new(const double duration,
Evas_Object_Box_Layout start_layout, void 
*start_layout_data,
-   void(*start_layout_free_data)(void *data),
+   Ecore_Cb start_layout_free_data,
Evas_Object_Box_Layout end_layout, void 
*end_layout_data,
Ecore_Cb end_layout_free_data,
Ecore_Cb transition_end_cb,
diff --git a/elementary/src/lib/elm_box.h b/elementary/src/lib/elm_box.h
index a896c8d..9ee693d 100644
--- a/elementary/src/lib/elm_box.h
+++ b/elementary/src/lib/elm_box.h
@@ -435,7 +435,7 @@ EAPI void
elm_box_layout_transition(Evas_Object *obj, Evas_Object
  * @see elm_box_transition_new
  * @see elm_box_layout_transition
  */
-EAPI Elm_Box_Transition *elm_box_transition_new(const double duration, 
Evas_Object_Box_Layout start_layout, void *start_layout_data, void 
(*start_layout_free_data)(void *data), Evas_Object_Box_Layout end_layout, void 
*end_layout_data, Ecore_Cb end_layout_free_data, Ecore_Cb transition_end_cb, 
void *transition_end_data);
+EAPI Elm_Box_Transition *elm_box_transition_new(const double duration, 
Evas_Object_Box_Layout start_layout, void *start_layout_data, Ecore_Cb 
start_layout_free_data, Evas_Object_Box_Layout end_layout, void 
*end_layout_data, Ecore_Cb end_layout_free_data, Ecore_Cb transition_end_cb, 
void *transition_end_data);
 
 /**
  * Free a Elm_Box_Transition instance created with elm_box_transition_new().
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] elm_entry_editable_set weirdness

2012-03-08 Thread Jérôme Pinot
From the doc:
calling this function with editable as EINA_FALSE will prevent the user
from inputting text into the entry

Right. For keyboard input. But I just saw that it doesn't prevent pasting
text with the mouse.

Intended behaviour?

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


signature.asc
Description: Digital signature
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elm_web, elm_map, elm_box tiny patches

2012-03-08 Thread The Rasterman
On Thu, 8 Mar 2012 10:33:53 +0100 Jeremy Zurcher jer...@asynk.ch said:

 eml_web : remove deprecated elm_web_navigate_possible_get(...)
 elm_map : remove useless EAPI
 elm_box : eml_box_transition_new uses Ecore_cb for start_layout_free_data
 parameter

dont actually affect api - headers without implementations, so in! :) tnx!

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


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elm_entry_editable_set weirdness

2012-03-08 Thread The Rasterman
On Thu, 8 Mar 2012 18:40:38 +0900 Jérôme Pinot ngc...@gmail.com said:

 From the doc:
 calling this function with editable as EINA_FALSE will prevent the user
 from inputting text into the entry
 
 Right. For keyboard input. But I just saw that it doesn't prevent pasting
 text with the mouse.
 
 Intended behaviour?

this would be a bug.

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


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] TEST: Add more unit test cases for uncovered ecore_file_xxx APIs.

2012-03-08 Thread myoungwoon kim
Dear All,

This is Myoungwoon Roy Kim.

This patches are for adding new test cases for uncovered APIs among the
ecore_file_xxx APIs.

The most of ecore_file_xxx APIs had already been covered.

Just 7 APIs regarding ecore_file_monitor_xxx and ecore_file_download_xxx
are remaining now.

I'll submit unit test cases for them soon.

Anybody please review this and apply it to upstream code.

Thanks.


Best regards,
Roy.



=
Myoung-Woon Roy Kim
Mobile S/W Platform Lab.
DMC RD Center
Digital Media  Communications Business
SAMSUNG ELECTRONICS CO., LTD

tel: +82-31-279-0295(#0295)
anycall: +82-10-9530-0295
fax: +82-31-279-5521
e-mail : myoungwoon@samsung.com
Be myself!
=
Index: src/bin/ecore_file_test.c
===
--- src/bin/ecore_file_test.c	(revision 69036)
+++ src/bin/ecore_file_test.c	(working copy)
@@ -541,6 +541,107 @@ START_TEST (ecore_file_test_ls)
 }
 END_TEST
 
+START_TEST (ecore_file_test_app_exe_get)
+{
+   int result;
+   char *exe;
+   Eina_Bool exec_check = EINA_FALSE;
+
+   ecore_file_init();
+
+   result = ecore_file_mkdir(/tmp/foo-exe);
+   fail_unless(result != 0,
+   Can not create the directory /tmp/foo-exe);
+
+   result = ecore_file_cp(PACKAGE_DATA_DIR /ecore_unit_test/screen_clean.sh, /tmp/foo-exe/screen_clean.sh);
+   fail_unless(result != 0,
+  Can not copy screen_clean.sh to /tmp/foo-exe directory);
+
+   chmod(/tmp/foo-exe/screen_clean.sh, 0777);
+   
+   exe = ecore_file_app_exe_get(/tmp/foo-exe/screen_clean.sh);
+   fail_unless(exe != NULL,
+   Application is NULL or on failure);
+
+   exec_check = ecore_file_can_exec(/tmp/foo-exe/screen_clean.sh);
+   fail_unless(exec_check != EINA_FALSE,
+   This file is not executable file);
+
+   result = ecore_file_recursive_rm(/tmp/foo-exe);
+   fail_unless(result != 0,
+   Can not remove recursively the directories from /tmp/foo-exe);
+
+   ecore_file_shutdown();
+}
+END_TEST
+
+START_TEST (ecore_file_test_dir_is_empty)
+{
+   int result;
+
+   ecore_file_init();
+
+   result = ecore_file_mkdir(/tmp/foo-empty);
+   fail_unless(result != 0,
+   Can not create the directory /tmp/foo-empty);
+
+   result = ecore_file_dir_is_empty(/tmp/foo-empty);
+   fail_unless(((result != 0) || (result !=(-1))),
+   If returned value is 0, it has at least on file. and If -1 is returned, error occurred);
+
+   result = ecore_file_rmdir(/tmp/foo-empty);
+   fail_unless(result != 0,
+   Can not remove the directory /tmp/foo-empty);
+
+
+   ecore_file_shutdown();
+}
+END_TEST
+
+START_TEST (ecore_file_test_path_dir_exists)
+{
+   Eina_Bool result = EINA_FALSE;
+   const char *path_dirs = /usr/bin;
+
+   ecore_file_init();
+
+   result = ecore_file_path_dir_exists(path_dirs);
+   fail_unless(result != EINA_FALSE,
+   This directory [%s] not exist in PATH, path_dirs);
+
+   ecore_file_shutdown();
+}
+END_TEST
+
+START_TEST (ecore_file_test_app_installed)
+{
+   Eina_Bool result = EINA_FALSE;
+   const char *installed_program = gcc;
+
+   ecore_file_init();
+
+   result = ecore_file_app_installed(installed_program);
+   fail_unless(result != EINA_FALSE,
+   This program [%s] is not installed on the system, installed_program);
+
+   ecore_file_shutdown();
+}
+END_TEST
+
+START_TEST (ecore_file_test_app_list)
+{
+   Eina_List *installed_app_list;
+
+   ecore_file_init();
+
+   installed_app_list = ecore_file_app_list();
+   fail_unless(installed_app_list != NULL,
+   There is no application installed on the system);
+
+   ecore_file_shutdown();
+}
+END_TEST
+
 Suite *
 ecore_file_tests_suite(void)
 {
@@ -571,6 +672,11 @@ ecore_file_tests_suite(void)
tcase_add_test(tc, ecore_file_test_dir_get);
tcase_add_test(tc, ecore_file_test_remove);
tcase_add_test(tc, ecore_file_test_ls);
+   tcase_add_test(tc, ecore_file_test_app_exe_get);
+   tcase_add_test(tc, ecore_file_test_dir_is_empty);
+   tcase_add_test(tc, ecore_file_test_path_dir_exists);
+   tcase_add_test(tc, ecore_file_test_app_installed);
+   tcase_add_test(tc, ecore_file_test_app_list);
 
suite_add_tcase(s, tc);
 
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] TEST: Add more unit test cases for uncovered ecore_file_xxx APIs.

2012-03-08 Thread Vincent Torri
hey,

btw, if you feel couragous enough, feel free to add eina_file unit tests :p

Vincent

On Thu, Mar 8, 2012 at 10:54 AM, myoungwoon kim myoungw...@gmail.com wrote:
 Dear All,

 This is Myoungwoon Roy Kim.

 This patches are for adding new test cases for uncovered APIs among the
 ecore_file_xxx APIs.

 The most of ecore_file_xxx APIs had already been covered.

 Just 7 APIs regarding ecore_file_monitor_xxx and ecore_file_download_xxx
 are remaining now.

 I'll submit unit test cases for them soon.

 Anybody please review this and apply it to upstream code.

 Thanks.


 Best regards,
 Roy.



 =
 Myoung-Woon Roy Kim
 Mobile S/W Platform Lab.
 DMC RD Center
 Digital Media  Communications Business
 SAMSUNG ELECTRONICS CO., LTD

 tel: +82-31-279-0295(#0295)
 anycall: +82-10-9530-0295
 fax: +82-31-279-5521
 e-mail : myoungwoon@samsung.com
 Be myself!
 =

 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] TEST: Add more unit test cases for uncovered ecore_file_xxx APIs.

2012-03-08 Thread The Rasterman
On Thu, 8 Mar 2012 18:54:52 +0900 myoungwoon kim myoungw...@gmail.com said:

i took a look - seems ok to me! in svn it goes. thanks very much! :)

 Dear All,
 
 This is Myoungwoon Roy Kim.
 
 This patches are for adding new test cases for uncovered APIs among the
 ecore_file_xxx APIs.
 
 The most of ecore_file_xxx APIs had already been covered.
 
 Just 7 APIs regarding ecore_file_monitor_xxx and ecore_file_download_xxx
 are remaining now.
 
 I'll submit unit test cases for them soon.
 
 Anybody please review this and apply it to upstream code.
 
 Thanks.
 
 
 Best regards,
 Roy.
 
 
 
 =
 Myoung-Woon Roy Kim
 Mobile S/W Platform Lab.
 DMC RD Center
 Digital Media  Communications Business
 SAMSUNG ELECTRONICS CO., LTD
 
 tel: +82-31-279-0295(#0295)
 anycall: +82-10-9530-0295
 fax: +82-31-279-5521
 e-mail : myoungwoon@samsung.com
 Be myself!
 =


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


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elm_entry_editable_set weirdness

2012-03-08 Thread Tom Hacohen
On 08/03/12 11:40, Jérôme Pinot wrote:
  From the doc:
 calling this function with editable as EINA_FALSE will prevent the user
 from inputting text into the entry

 Right. For keyboard input. But I just saw that it doesn't prevent pasting
 text with the mouse.

 Intended behaviour?

Nice catch. Fixed in svn.

Thanks a lot,
Tom.


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] enjoy: 2 build fixes

2012-03-08 Thread Martin Jansa
-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
From a173d01c2dc3b2fa72a722acf64b81d8a08b37f9 Mon Sep 17 00:00:00 2001
From: Martin Jansa martin.ja...@gmail.com
Date: Thu, 8 Mar 2012 11:52:01 +0100
Subject: [PATCH 1/2] enjoy: fix build break from elm_genlist_item_bring_in
 change

* | page.c:750:4: error: too few arguments to function 
'elm_genlist_item_bring_in'
  | 
/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/include/elementary-0/elm_genlist.h:903:36:
 note: declared here
  + and 3 times more
  + 1 deprecated elm_genlist_item_top_bring_in

Signed-off-by: Martin Jansa martin.ja...@gmail.com
---
 enjoy/src/bin/page.c |   10 +-
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/enjoy/src/bin/page.c b/enjoy/src/bin/page.c
index a6c52d3..dab45d6 100644
--- a/enjoy/src/bin/page.c
+++ b/enjoy/src/bin/page.c
@@ -224,7 +224,7 @@ static void
 _page_index_changed(void *data __UNUSED__, Evas_Object *o __UNUSED__, void 
*event_info)
 {
Elm_Object_Item *glit = event_info;
-   elm_genlist_item_top_bring_in(glit);
+   elm_genlist_item_bring_in(glit, ELM_GENLIST_ITEM_SCROLLTO_TOP);
 }
 
 static void
@@ -747,7 +747,7 @@ page_songs_next_go(Evas_Object *obj)
song = elm_object_item_data_get(glit);
page-selected = glit;
elm_genlist_item_selected_set(glit, EINA_TRUE);
-   elm_genlist_item_bring_in(glit);
+   elm_genlist_item_bring_in(glit, ELM_GENGRID_ITEM_SCROLLTO_IN);
return song;
 }
 
@@ -850,7 +850,7 @@ page_songs_shuffle_prev_go(Evas_Object *obj)
 
page-selected = glit;
elm_genlist_item_selected_set(glit, EINA_TRUE);
-   elm_genlist_item_bring_in(glit);
+   elm_genlist_item_bring_in(glit, ELM_GENGRID_ITEM_SCROLLTO_IN);
return song;
 }
 
@@ -877,7 +877,7 @@ page_songs_shuffle_next_go(Evas_Object *obj)
 
page-selected = glit;
elm_genlist_item_selected_set(glit, EINA_TRUE);
-   elm_genlist_item_bring_in(glit);
+   elm_genlist_item_bring_in(glit, ELM_GENGRID_ITEM_SCROLLTO_IN);
return song;
 }
 
@@ -903,7 +903,7 @@ page_songs_prev_go(Evas_Object *obj)
song = elm_object_item_data_get(glit);
page-selected = glit;
elm_genlist_item_selected_set(glit, EINA_TRUE);
-   elm_genlist_item_bring_in(glit);
+   elm_genlist_item_bring_in(glit, ELM_GENGRID_ITEM_SCROLLTO_IN);
return song;
 }
 
-- 
1.7.8.5

From 8b4db5dbf81f54f35e3673dac053a9728239be24 Mon Sep 17 00:00:00 2001
From: Martin Jansa martin.ja...@gmail.com
Date: Thu, 8 Mar 2012 11:55:29 +0100
Subject: [PATCH 2/2] enjoy: fix build break with
 elm_genlist_compress_mode_set

* elm_genlist_mode_set(page-list, ELM_LIST_COMPRESS) was already there
  and linker wasn't happy
  
/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/enjoy-0.0+svnr69037-r5/enjoy/src/bin/page.c:331:
  undefined reference to elm_genlist_compress_mode_set

Signed-off-by: Martin Jansa martin.ja...@gmail.com
---
 enjoy/src/bin/page.c |1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/enjoy/src/bin/page.c b/enjoy/src/bin/page.c
index dab45d6..6e13efc 100644
--- a/enjoy/src/bin/page.c
+++ b/enjoy/src/bin/page.c
@@ -328,7 +328,6 @@ _page_add(Evas_Object *parent, void *model, Eina_Iterator 
*it, const char *title
page-list = elm_genlist_add(obj_list);
elm_genlist_bounce_set(page-list, EINA_FALSE, EINA_TRUE);
elm_genlist_mode_set(page-list, ELM_LIST_COMPRESS);
-   elm_genlist_compress_mode_set(page-list, EINA_TRUE);
 
s = edje_object_data_get(page-edje_list, homogeneous);
elm_genlist_homogeneous_set(page-list, s ? !!atoi(s) : EINA_FALSE);
-- 
1.7.8.5



signature.asc
Description: Digital signature
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] enjoy: 2 build fixes

2012-03-08 Thread Daniel Juyung Seo
Thanks! In SVN!

Daniel Juyung Seo (SeoZ)

On Thu, Mar 8, 2012 at 7:59 PM, Martin Jansa martin.ja...@gmail.com wrote:
 --
 Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com

 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] elm_web, elm_map, elm_box tiny patches

2012-03-08 Thread Gustavo Sverzut Barbieri
On Thursday, March 8, 2012, Jeremy Zurcher jer...@asynk.ch wrote:
 eml_web : remove deprecated elm_web_navigate_possible_get(...)

Uh oh this was just added as far as I can remember! The deprecated version
lacks the _get(), maybe they just forgot about the function body?





 elm_map : remove useless EAPI
 elm_box : eml_box_transition_new uses Ecore_cb for
start_layout_free_data parameter

 Jeremy


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: englebass IN trunk/e/src: bin modules/conf_randr

2012-03-08 Thread Leif Middelschulte
In case you plan to work further on the conf_randr stuff, I just want
to let you know, that I guess we/I need to put back the recursive
position determine logic. I had a reason, when I implemented it in the
first place, I just forgot it/was too tired.

Determing positions based on scaling their representations' position
obviously won't work since the representations can't be set to
floating point positions.

Anyway, thanks for the effort you put into this :-)

2012/3/8 Enlightenment SVN no-re...@enlightenment.org:
 Log:
 e: formatting

 Author:       englebass
 Date:         2012-03-08 03:37:54 -0800 (Thu, 08 Mar 2012)
 New Revision: 69055
 Trac:         http://trac.enlightenment.org/e/changeset/69055

 Modified:
  trunk/e/src/bin/e_randr.c trunk/e/src/bin/e_randr_11_serialization.c 
 trunk/e/src/bin/e_randr_12.c trunk/e/src/bin/e_randr_12_crtc.c 
 trunk/e/src/bin/e_randr_12_output.c 
 trunk/e/src/bin/e_randr_12_serialization.c 
 trunk/e/src/bin/e_randr_serialization.c 
 trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c

 Modified: trunk/e/src/bin/e_randr.c
 ===
 --- trunk/e/src/bin/e_randr.c   2012-03-08 11:35:07 UTC (rev 69054)
 +++ trunk/e/src/bin/e_randr.c   2012-03-08 11:37:54 UTC (rev 69055)
 @@ -123,7 +123,7 @@
    return EINA_FALSE;
  }

 -   static Eina_Bool
 +static Eina_Bool
  _e_event_config_loaded_cb(void *data __UNUSED__, int type, void *ev 
 __UNUSED__)
  {
    if (type != E_EVENT_CONFIG_LOADED) return EINA_TRUE;
 @@ -133,7 +133,7 @@
    return EINA_FALSE;
  }

 -   static void
 +static void
  _event_listeners_add(void)
  {
    _event_handlers = eina_list_append(_event_handlers, 
 ecore_event_handler_add(E_EVENT_CONFIG_LOADED, _e_event_config_loaded_cb, 
 NULL));
 @@ -144,7 +144,7 @@
      }
  }

 -   static void
 +static void
  _try_restore_configuration(void)
  {
    if (e_config-randr_serialized_setup)

 Modified: trunk/e/src/bin/e_randr_11_serialization.c
 ===
 --- trunk/e/src/bin/e_randr_11_serialization.c  2012-03-08 11:35:07 UTC (rev 
 69054)
 +++ trunk/e/src/bin/e_randr_11_serialization.c  2012-03-08 11:37:54 UTC (rev 
 69055)
 @@ -10,7 +10,7 @@

  //New helper functions

 -   E_Randr_Serialized_Setup_11 *
 +E_Randr_Serialized_Setup_11 *
  _serialized_setup_11_new(void)
  {
    E_Randr_Serialized_Setup_11 *ss;
 @@ -32,7 +32,7 @@
  }

  //Update/value set helper functions
 -   E_Randr_Serialized_Setup_11 *
 +E_Randr_Serialized_Setup_11 *
  _serialized_setup_11_update(E_Randr_Serialized_Setup_11 *ss_11)
  {
    Ecore_X_Randr_Screen_Size_MM *size;
 @@ -56,7 +56,7 @@
  }

  //Free helper functions
 -   void
 +void
  _e_randr_serialized_setup_11_free(E_Randr_Serialized_Setup_11 *ss11)
  {
    free(ss11);
 @@ -68,7 +68,7 @@
    _e_randr_serialized_setup_11_free(ss_11);
  }

 -   Eina_Bool
 +Eina_Bool
  _11_try_restore_configuration(void)
  {
    Ecore_X_Randr_Screen_Size_MM *stored_size, *size;
 @@ -92,7 +92,7 @@
    return EINA_FALSE;
  }

 -   void
 +void
  _11_store_configuration(E_Randr_Configuration_Store_Modifier modifier)
  {
    if (e_config-randr_serialized_setup-serialized_setup_11)

 Modified: trunk/e/src/bin/e_randr_12.c
 ===
 --- trunk/e/src/bin/e_randr_12.c        2012-03-08 11:35:07 UTC (rev 69054)
 +++ trunk/e/src/bin/e_randr_12.c        2012-03-08 11:37:54 UTC (rev 69055)
 @@ -31,7 +31,7 @@
  * @return array of E_Randr_Screen_Info_12 elements, or in case not all could
  * be created or parameter 'nrequested'==0, NULL
  */
 -   static E_Randr_Screen_Info_12 *
 +static E_Randr_Screen_Info_12 *
  _screen_info_12_new(void)
  {
    E_Randr_Screen_Info_12 *randr_info_12 = NULL;
 @@ -65,7 +65,7 @@
    return randr_info_12;
  }

 -   static Eina_Bool
 +static Eina_Bool
  _structs_init(void)
  {
    //Output stuff
 @@ -119,7 +119,7 @@

  //Set value / retrieval helper functions

 -   static void
 +static void
  _crtcs_init(void)
  {
    E_Randr_Crtc_Info *crtc = NULL;
 @@ -131,7 +131,7 @@
       _crtc_refs_set(crtc);
  }

 -   static void
 +static void
  _outputs_init(void)
  {
    E_Randr_Output_Info *output = NULL;
 @@ -147,7 +147,7 @@
      }
  }

 -   static void
 +static void
  _screen_primary_output_assign(E_Randr_Output_Info *removed)
  {
    Eina_List *iter;
 @@ -173,7 +173,7 @@
  /**
  * @param screen_info the screen info to be freed.
  */
 -   void
 +void
  _12_screen_info_free(E_Randr_Screen_Info_12 *screen_info)
  {
    Ecore_X_Randr_Mode_Info *mode_info;
 @@ -213,7 +213,7 @@
  *
  * 
  */
 -   Ecore_X_Randr_Mode_Info *
 +Ecore_X_Randr_Mode_Info *
  _12_screen_info_mode_info_get(const Ecore_X_Randr_Mode mode)
  {
    Eina_List *iter;
 @@ -228,7 +228,7 @@
    return NULL;
  }

 -   E_Randr_Output_Info *
 +E_Randr_Output_Info *
  _12_screen_info_output_info_get(const Ecore_X_Randr_Output output)
  {
    Eina_List *iter;
 @@ 

[E-devel] python-elementary broken build

2012-03-08 Thread Martin Jansa
Hi,

is someone already working on this issue or should I try to prepare patch for 
this?

Cheers,

| cd .  /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/python -m 
cython -I/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/include/python-evas 
-I./include  -o elementary/elementary.c_elementary.c 
elementary/elementary.c_elementary.pyx
|
| Error compiling Cython file:
| 
| ...
| cbdata = void*self.cbt
| self.item = elm_hoversel_item_add(hoversel.obj, label, i_f, icon_type,
|   cb, cbdata)
|
| Py_INCREF(self)
| elm_object_item_del_cb_set(self.item, _hoversel_item_del_cb)
|  ^
| 
|
| elementary/elementary.c_elementary_hoversel.pxi:62:34: undeclared name not 
builtin: elm_object_item_del_cb_set
|
| Error compiling Cython file:
| 
| ...
| cbdata = void*self.cbt
| self.item = elm_hoversel_item_add(hoversel.obj, label, i_f, icon_type,
|   cb, cbdata)
|
| Py_INCREF(self)
| elm_object_item_del_cb_set(self.item, _hoversel_item_del_cb)
|   ^
| 
|
| elementary/elementary.c_elementary_hoversel.pxi:62:39: Cannot convert 
'Elm_Object_Item *' to Python object
|
| Error compiling Cython file:
| 
| ...
| cbdata = void*self.cbt
| self.item = elm_hoversel_item_add(hoversel.obj, label, i_f, icon_type,
|   cb, cbdata)
|
| Py_INCREF(self)
| elm_object_item_del_cb_set(self.item, _hoversel_item_del_cb)
|   ^
| 
|
| elementary/elementary.c_elementary_hoversel.pxi:62:67: Cannot convert 'void 
(void *, Evas_Object *, void *) nogil' to Python object
|
| Error compiling Cython file:
| 
| ...
|
| def __set__(self, value):
| self.label_set(value)
|
| def icon_set(self, c_evas.Object icon):
| elm_object_item_part_content_set(self.obj, icon.obj)
|^
| 
|
| elementary/elementary.c_elementary_hoversel.pxi:136:40: undeclared name not 
builtin: elm_object_item_part_content_set
|
| Error compiling Cython file:
| 
| ...
|
| def __set__(self, value):
| self.label_set(value)
|
| def icon_set(self, c_evas.Object icon):
| elm_object_item_part_content_set(self.obj, icon.obj)
| ^
| 
|
| elementary/elementary.c_elementary_hoversel.pxi:136:45: Cannot convert 
'Evas_Object *' to Python object
|
| Error compiling Cython file:
| 
| ...
|
| def __set__(self, value):
| self.label_set(value)
|
| def icon_set(self, c_evas.Object icon):
| elm_object_item_part_content_set(self.obj, icon.obj)
|   ^
| 
|
| elementary/elementary.c_elementary_hoversel.pxi:136:55: Cannot convert 
'Evas_Object *' to Python object
|
| Error compiling Cython file:
| 
| ...
| def icon_set(self, c_evas.Object icon):
| elm_object_item_part_content_set(self.obj, icon.obj)
|
| def icon_get(self):
| cdef c_evas.Evas_Object *icon
| icon = elm_object_item_part_content_get(self.obj)
|   ^
| 
|
| elementary/elementary.c_elementary_hoversel.pxi:140:47: undeclared name not 
builtin: elm_object_item_part_content_get
|
| Error compiling Cython file:
| 
| ...
| def icon_set(self, c_evas.Object icon):
| elm_object_item_part_content_set(self.obj, icon.obj)
|
| def icon_get(self):
| cdef c_evas.Evas_Object *icon
| icon = elm_object_item_part_content_get(self.obj)
|^
| 
|
| elementary/elementary.c_elementary_hoversel.pxi:140:52: Cannot convert 
'Evas_Object *' to Python object
|
| Error compiling Cython file:
| 
| ...
| def icon_set(self, c_evas.Object icon):
| 

Re: [E-devel] elm entry bug

2012-03-08 Thread P Purkayastha
I have got elm from r68674 and it has working right click.

On Thursday, March 8, 2012 5:12:48 AM UTC+8, Michael Blumenkrantz wrote:

 On Wed, 07 Mar 2012 23:06:37 +0200
 Tom Hacohen t...@stosb.com wrote:

  On 07/03/12 19:28, Michael Blumenkrantz wrote:
   On Wed, 7 Mar 2012 11:49:03 -0500
   Michael Blumenkrantz michael.blumenkra...@gmail.com wrote:
   
   right click menu no longer dismisses properly from clicking outside 
 the
   menu
   
   followup: this only happens when right clicking anchors in text, and 
 it is
   not a theme bug.
   
  
  
  Do you know when it started happening at? I wonder who broke it.
  
  --
  Tom.
  
 sometime within the past week?


 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing 
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Qustion][Windows] Cannot execute elementary_test.exe

2012-03-08 Thread Kim Shinwoo
Thanks for your response. I will follow your way..
Anyhow the elementary_test.exe does not work properly. (r69036) Please
refer to the following information.

AND, elm_config.c uses eina_file_statat(); but It is not in the
eina_file_win32.c. I have made a patch which will be sent different
mail account.


Program received signal SIGSEGV, Segmentation fault.
0x779bfa7b in ntdll!memchr () from C:\Windows\system32\ntdll.dll
(gdb) bt
#0  0x779bfa7b in ntdll!memchr () from C:\Windows\system32\ntdll.dll
#1  0x779bf98a in ntdll!memchr () from C:\Windows\system32\ntdll.dll
#2  0x007aafd0 in eina_lock_take (_fi=0x38184f8, text=value optimized
out, text_props=0x389209c, par_props=0x0,
par_pos=0, len=11) at
C:/MinGW/msys/1.0/opt/efl/include/eina-1/eina/eina_inline_lock_win32.x:92
#3  evas_common_text_props_content_create (_fi=0x38184f8, text=value
optimized out, text_props=0x389209c,
par_props=0x0, par_pos=0, len=11) at evas_text_utils.c:422
#4  0x00751ca0 in _evas_object_text_item_new (obj=0x319d540,
o=0x3329ff8, text=0x3890f70) at evas_object_text.c:452
#5  _evas_object_text_layout (obj=0x319d540, o=0x3329ff8,
text=0x3890f70) at evas_object_text.c:577
#6  0x00755183 in evas_object_text_text_set (obj=0x319d540,
_text=0x3890e48 Information) at evas_object_text.c:622
#7  0x639c9f62 in _edje_text_recalc_apply (ed=0x331cea8, ep=0x32ea1f0,
params=0x32ea2e0, chosen_desc=0x3326524)
at edje_text.c:586
#8  0x63985381 in _edje_part_recalc_single_text (ed=value optimized
out, ep=0x32ea1f0, desc=0x3326524,
chosen_desc=0x3326524, center=0x0, light=0x0, persp=0x0,
rel1_to_x=0x0, rel1_to_y=0x0, rel2_to_x=0x0,
rel2_to_y=0x0, confine_to=0x0, params=0x32ea2e0, pos=0) at edje_calc.c:1208
#9  _edje_part_recalc_single (ed=value optimized out, ep=0x32ea1f0,
desc=0x3326524, chosen_desc=0x3326524,
center=0x0, light=0x0, persp=0x0, rel1_to_x=0x0, rel1_to_y=0x0,
rel2_to_x=0x0, rel2_to_y=0x0, confine_to=0x0,
params=0x32ea2e0, pos=0) at edje_calc.c:1923
#10 0x6398688a in _edje_part_recalc (ed=0x331cea8, ep=0x32ea1f0,
flags=2, state=0x0) at edje_calc.c:2446
#11 0x63986632 in _edje_part_recalc (ed=0x331cea8, ep=0x32ea5d0,
flags=2, state=0x0) at edje_calc.c:2332
#12 0x6398666d in _edje_part_recalc (ed=0x331cea8, ep=0x32ea3e0,
flags=2, state=0x0) at edje_calc.c:2340
#13 0x63986632 in _edje_part_recalc (ed=0x331cea8, ep=0x32e9e10,
flags=3, state=0x0) at edje_calc.c:2332
#14 0x6398923a in _edje_recalc_do (ed=0x331cea8) at edje_calc.c:638
#15 0x639cf5d4 in edje_object_size_min_restricted_calc (obj=0x319d080,
minw=0x22fd2c, minh=0x22fd28, restrictedw=0,
restrictedh=0) at edje_util.c:2804
#16 0x639cf8f3 in edje_object_size_min_calc (obj=0x319d080,
minw=0x22fd2c, minh=0x22fd28) at edje_util.c:2709
#17 0x679bb7a2 in _sizing_eval (obj=0x319cf50) at elm_frame.c:87
#18 0x00402ad5 in my_win_main (autorun=0x0, test_win_only=0 '\000') at
test.c:296
#19 0x00402d96 in elm_main (argc=1, argv=0xc848b0) at test.c:689
#20 0x00402e17 in main (argc=1, argv=0xc848b0) at test.c:699
(gdb)


2012/3/8 Vincent Torri vincent.to...@gmail.com:
 On Thu, Mar 8, 2012 at 2:06 AM, Kim Shinwoo kimcinoo@gmail.com wrote:
 Wow~ that sounds pretty good to me. I will try to build using the
 latest revision.
 If you don't mind.. please let me know the way of cross compiling and
 nsis installer to increase efficiency.. Thanks :)

 1) create /opt/efl, and untar all the dependencies that you can find there:

 http://dev.enlightenment.fr/~doursse/mingw-w64-x86_32/packages/

 2) in a directory, check out the EFL that are currently working on
 Windows + expedite : evil eina, eet, evas, expedite, ecore, embryo,
 edje and elementary

 3) in the same directory, put the script efl_build.sh that is attached

 4) create the directory $HOME/local/opt.

 5) download the  MinGW-w64 toolchain (gcc 4.6.4) and extract it in
 $HOME/local/opt :

 http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/4.6.4/i686-w64-mingw32-gcc-4.6.4-linux_rubenvb.tar.lzma/download

 6) rename the directory $HOME/local/opt/mingw32 to
 $HOME/local/opt/mingw-w64-x86_32.

 To compile :

 go to the directory where efl_build.sh is and run

 ./efl_build debug

 or

 ./efl_release.sh

 For the NSIS script, we'll see later

 Vincent

 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also 

[E-devel] [Patch][Eina] eina_file_win32 - using eina_file_statat();

2012-03-08 Thread cnook
Dear All. Hello!

On windows, Elementary gives build error. cause..
The elm_config.c uses eina_file_statat(); but It is not in the eina_file_win32.c
So the attached patch comes. Please keep the patch in the up stream. Thanks.

Sincerely,
Shinwoo kim.
Index: src/lib/eina_file_win32.c
===
--- src/lib/eina_file_win32.c	(revision 69036)
+++ src/lib/eina_file_win32.c	(working copy)
@@ -1154,3 +1154,34 @@ eina_file_map_free(Eina_File *file, void *map)
  on_exit:
eina_lock_release(file-lock);
 }
+
+EAPI int
+eina_file_statat(void *container, Eina_File_Direct_Info *info, Eina_Stat *st)
+{
+   WIN32_FILE_ATTRIBUTE_DATA fad;
+   ULARGE_INTEGER length;
+   ULARGE_INTEGER mtime;
+   ULARGE_INTEGER atime;
+
+   EINA_SAFETY_ON_NULL_RETURN_VAL(info, -1);
+   EINA_SAFETY_ON_NULL_RETURN_VAL(st, -1);
+
+   if (!GetFileAttributesEx(info-path, GetFileExInfoStandard, fad))
+ {
+if (info-type != EINA_FILE_LNK)
+  info-type = EINA_FILE_UNKNOWN;
+return -1;
+ }
+
+   length.u.LowPart = fad.nFileSizeLow;
+   length.u.HighPart = fad.nFileSizeHigh;
+   atime.u.LowPart = fad.ftLastAccessTime.dwLowDateTime;
+   atime.u.HighPart = fad.ftLastAccessTime.dwHighDateTime;
+   mtime.u.LowPart = fad.ftLastWriteTime.dwLowDateTime;
+   mtime.u.HighPart = fad.ftLastWriteTime.dwHighDateTime;
+
+   st-size = length.QuadPart;
+   st-atime = atime.QuadPart;
+   st-mtime = mtime.QuadPart;
+   return 0;
+}
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Qustion][Windows] Cannot execute elementary_test.exe

2012-03-08 Thread Vincent Torri
On Thu, Mar 8, 2012 at 1:24 PM, Kim Shinwoo kimcinoo@gmail.com wrote:
 Thanks for your response. I will follow your way..
 Anyhow the elementary_test.exe does not work properly. (r69036) Please
 refer to the following information.

i'm writing a small tool to find leaks and maybe other problems, with
a stack trace, which should help debugging on Windows.

 AND, elm_config.c uses eina_file_statat(); but It is not in the
 eina_file_win32.c. I have made a patch which will be sent different
 mail account

ok

Vincent

 Program received signal SIGSEGV, Segmentation fault.
 0x779bfa7b in ntdll!memchr () from C:\Windows\system32\ntdll.dll
 (gdb) bt
 #0  0x779bfa7b in ntdll!memchr () from C:\Windows\system32\ntdll.dll
 #1  0x779bf98a in ntdll!memchr () from C:\Windows\system32\ntdll.dll
 #2  0x007aafd0 in eina_lock_take (_fi=0x38184f8, text=value optimized
 out, text_props=0x389209c, par_props=0x0,
    par_pos=0, len=11) at
 C:/MinGW/msys/1.0/opt/efl/include/eina-1/eina/eina_inline_lock_win32.x:92
 #3  evas_common_text_props_content_create (_fi=0x38184f8, text=value
 optimized out, text_props=0x389209c,
    par_props=0x0, par_pos=0, len=11) at evas_text_utils.c:422
 #4  0x00751ca0 in _evas_object_text_item_new (obj=0x319d540,
 o=0x3329ff8, text=0x3890f70) at evas_object_text.c:452
 #5  _evas_object_text_layout (obj=0x319d540, o=0x3329ff8,
 text=0x3890f70) at evas_object_text.c:577
 #6  0x00755183 in evas_object_text_text_set (obj=0x319d540,
 _text=0x3890e48 Information) at evas_object_text.c:622
 #7  0x639c9f62 in _edje_text_recalc_apply (ed=0x331cea8, ep=0x32ea1f0,
 params=0x32ea2e0, chosen_desc=0x3326524)
    at edje_text.c:586
 #8  0x63985381 in _edje_part_recalc_single_text (ed=value optimized
 out, ep=0x32ea1f0, desc=0x3326524,
    chosen_desc=0x3326524, center=0x0, light=0x0, persp=0x0,
 rel1_to_x=0x0, rel1_to_y=0x0, rel2_to_x=0x0,
    rel2_to_y=0x0, confine_to=0x0, params=0x32ea2e0, pos=0) at edje_calc.c:1208
 #9  _edje_part_recalc_single (ed=value optimized out, ep=0x32ea1f0,
 desc=0x3326524, chosen_desc=0x3326524,
    center=0x0, light=0x0, persp=0x0, rel1_to_x=0x0, rel1_to_y=0x0,
 rel2_to_x=0x0, rel2_to_y=0x0, confine_to=0x0,
    params=0x32ea2e0, pos=0) at edje_calc.c:1923
 #10 0x6398688a in _edje_part_recalc (ed=0x331cea8, ep=0x32ea1f0,
 flags=2, state=0x0) at edje_calc.c:2446
 #11 0x63986632 in _edje_part_recalc (ed=0x331cea8, ep=0x32ea5d0,
 flags=2, state=0x0) at edje_calc.c:2332
 #12 0x6398666d in _edje_part_recalc (ed=0x331cea8, ep=0x32ea3e0,
 flags=2, state=0x0) at edje_calc.c:2340
 #13 0x63986632 in _edje_part_recalc (ed=0x331cea8, ep=0x32e9e10,
 flags=3, state=0x0) at edje_calc.c:2332
 #14 0x6398923a in _edje_recalc_do (ed=0x331cea8) at edje_calc.c:638
 #15 0x639cf5d4 in edje_object_size_min_restricted_calc (obj=0x319d080,
 minw=0x22fd2c, minh=0x22fd28, restrictedw=0,
    restrictedh=0) at edje_util.c:2804
 #16 0x639cf8f3 in edje_object_size_min_calc (obj=0x319d080,
 minw=0x22fd2c, minh=0x22fd28) at edje_util.c:2709
 #17 0x679bb7a2 in _sizing_eval (obj=0x319cf50) at elm_frame.c:87
 #18 0x00402ad5 in my_win_main (autorun=0x0, test_win_only=0 '\000') at
 test.c:296
 #19 0x00402d96 in elm_main (argc=1, argv=0xc848b0) at test.c:689
 #20 0x00402e17 in main (argc=1, argv=0xc848b0) at test.c:699
 (gdb)


 2012/3/8 Vincent Torri vincent.to...@gmail.com:
 On Thu, Mar 8, 2012 at 2:06 AM, Kim Shinwoo kimcinoo@gmail.com wrote:
 Wow~ that sounds pretty good to me. I will try to build using the
 latest revision.
 If you don't mind.. please let me know the way of cross compiling and
 nsis installer to increase efficiency.. Thanks :)

 1) create /opt/efl, and untar all the dependencies that you can find there:

 http://dev.enlightenment.fr/~doursse/mingw-w64-x86_32/packages/

 2) in a directory, check out the EFL that are currently working on
 Windows + expedite : evil eina, eet, evas, expedite, ecore, embryo,
 edje and elementary

 3) in the same directory, put the script efl_build.sh that is attached

 4) create the directory $HOME/local/opt.

 5) download the  MinGW-w64 toolchain (gcc 4.6.4) and extract it in
 $HOME/local/opt :

 http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/4.6.4/i686-w64-mingw32-gcc-4.6.4-linux_rubenvb.tar.lzma/download

 6) rename the directory $HOME/local/opt/mingw32 to
 $HOME/local/opt/mingw-w64-x86_32.

 To compile :

 go to the directory where efl_build.sh is and run

 ./efl_build debug

 or

 ./efl_release.sh

 For the NSIS script, we'll see later

 Vincent

 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 

Re: [E-devel] [patch] elm_gengrid - add item_select_mode_set/get apis

2012-03-08 Thread The Rasterman
On Thu, 8 Mar 2012 14:48:33 +0900 Hyoyoung Chang hyoyo...@gmail.com said:

ok - in... i missed this this morning. :)

 Dear all,
 
 I made a item_select_mode_set/get in elm_gengrid.
 It works like genlist_item_select_mode apis.
 
 +EAPI void
 +elm_gengrid_item_select_mode_set(Elm_Object_Item *it,
 + Elm_Object_Select_Mode mode)
 +EAPI Elm_Object_Select_Mode
 +elm_gengrid_item_select_mode_get(const Elm_Object_Item *it)
 
 Thanks.


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


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][Eina] eina_file_win32 - using eina_file_statat();

2012-03-08 Thread The Rasterman
On Thu, 8 Mar 2012 21:29:19 +0900 cnook kimci...@gmail.com said:

 Dear All. Hello!
 
 On windows, Elementary gives build error. cause..
 The elm_config.c uses eina_file_statat(); but It is not in the
 eina_file_win32.c So the attached patch comes. Please keep the patch in the
 up stream. Thanks.

aye indeed! bug fix! in svn! tnx!

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


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/eina/src/lib

2012-03-08 Thread Vincent Torri
On Thu, Mar 8, 2012 at 2:54 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 From: cnook kimci...@gmail.com
  Subject: [E-devel] [Patch][Eina] eina_file_win32 - using
  eina_file_statat();

  On windows, Elementary gives build error. cause..
  The elm_config.c uses eina_file_statat(); but It is not in the
  eina_file_win32.c
  So the attached patch comes. Please keep the patch in the up stream.
  Thanks.



 Author:       raster
 Date:         2012-03-08 05:54:01 -0800 (Thu, 08 Mar 2012)
 New Revision: 69058
 Trac:         http://trac.enlightenment.org/e/changeset/69058

 Modified:
  trunk/eina/src/lib/eina_file_win32.c

 Modified: trunk/eina/src/lib/eina_file_win32.c
 ===
 --- trunk/eina/src/lib/eina_file_win32.c        2012-03-08 13:51:58 UTC (rev 
 69057)
 +++ trunk/eina/src/lib/eina_file_win32.c        2012-03-08 13:54:01 UTC (rev 
 69058)
 @@ -1154,3 +1154,34 @@
  on_exit:
    eina_lock_release(file-lock);
  }
 +
 +EAPI int
 +eina_file_statat(void *container, Eina_File_Direct_Info *info, Eina_Stat *st)
 +{
 +   WIN32_FILE_ATTRIBUTE_DATA fad;
 +   ULARGE_INTEGER length;
 +   ULARGE_INTEGER mtime;
 +   ULARGE_INTEGER atime;
 +
 +   EINA_SAFETY_ON_NULL_RETURN_VAL(info, -1);
 +   EINA_SAFETY_ON_NULL_RETURN_VAL(st, -1);
 +
 +   if (!GetFileAttributesEx(info-path, GetFileExInfoStandard, fad))
 +     {
 +        if (info-type != EINA_FILE_LNK)
 +          info-type = EINA_FILE_UNKNOWN;
 +        return -1;
 +     }
 +
 +   length.u.LowPart = fad.nFileSizeLow;
 +   length.u.HighPart = fad.nFileSizeHigh;
 +   atime.u.LowPart = fad.ftLastAccessTime.dwLowDateTime;
 +   atime.u.HighPart = fad.ftLastAccessTime.dwHighDateTime;
 +   mtime.u.LowPart = fad.ftLastWriteTime.dwLowDateTime;
 +   mtime.u.HighPart = fad.ftLastWriteTime.dwHighDateTime;
 +
 +   st-size = length.QuadPart;
 +   st-atime = atime.QuadPart;
 +   st-mtime = mtime.QuadPart;
 +   return 0;
 +}


i think that we should memset to 0 st, then fill the fields above

Vincent

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/eina/src/lib

2012-03-08 Thread Vincent Torri
On Thu, Mar 8, 2012 at 3:22 PM, Vincent Torri vincent.to...@gmail.com wrote:
 On Thu, Mar 8, 2012 at 2:54 PM, Enlightenment SVN
 no-re...@enlightenment.org wrote:
 Log:
 From: cnook kimci...@gmail.com
  Subject: [E-devel] [Patch][Eina] eina_file_win32 - using
  eina_file_statat();

  On windows, Elementary gives build error. cause..
  The elm_config.c uses eina_file_statat(); but It is not in the
  eina_file_win32.c
  So the attached patch comes. Please keep the patch in the up stream.
  Thanks.



 Author:       raster
 Date:         2012-03-08 05:54:01 -0800 (Thu, 08 Mar 2012)
 New Revision: 69058
 Trac:         http://trac.enlightenment.org/e/changeset/69058

 Modified:
  trunk/eina/src/lib/eina_file_win32.c

 Modified: trunk/eina/src/lib/eina_file_win32.c
 ===
 --- trunk/eina/src/lib/eina_file_win32.c        2012-03-08 13:51:58 UTC (rev 
 69057)
 +++ trunk/eina/src/lib/eina_file_win32.c        2012-03-08 13:54:01 UTC (rev 
 69058)
 @@ -1154,3 +1154,34 @@
  on_exit:
    eina_lock_release(file-lock);
  }
 +
 +EAPI int
 +eina_file_statat(void *container, Eina_File_Direct_Info *info, Eina_Stat 
 *st)
 +{
 +   WIN32_FILE_ATTRIBUTE_DATA fad;
 +   ULARGE_INTEGER length;
 +   ULARGE_INTEGER mtime;
 +   ULARGE_INTEGER atime;
 +
 +   EINA_SAFETY_ON_NULL_RETURN_VAL(info, -1);
 +   EINA_SAFETY_ON_NULL_RETURN_VAL(st, -1);
 +
 +   if (!GetFileAttributesEx(info-path, GetFileExInfoStandard, fad))
 +     {
 +        if (info-type != EINA_FILE_LNK)
 +          info-type = EINA_FILE_UNKNOWN;
 +        return -1;
 +     }
 +
 +   length.u.LowPart = fad.nFileSizeLow;
 +   length.u.HighPart = fad.nFileSizeHigh;
 +   atime.u.LowPart = fad.ftLastAccessTime.dwLowDateTime;
 +   atime.u.HighPart = fad.ftLastAccessTime.dwHighDateTime;
 +   mtime.u.LowPart = fad.ftLastWriteTime.dwLowDateTime;
 +   mtime.u.HighPart = fad.ftLastWriteTime.dwHighDateTime;
 +
 +   st-size = length.QuadPart;
 +   st-atime = atime.QuadPart;
 +   st-mtime = mtime.QuadPart;
 +   return 0;
 +}


 i think that we should memset to 0 st, then fill the fields above

 Vincent

also, maybe stat() is better :

http://msdn.microsoft.com/en-us/library/14h5k7ff%28v=vs.71%29.aspx

Vincent

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: devilhorns trunk/ecore/src/lib/ecore_wayland

2012-03-08 Thread Christopher Michael
On 03/08/2012 02:49 AM, Sebastian Dransfeld wrote:
 On 03/07/2012 10:46 PM, Enlightenment SVN wrote:

 +
 +static void
 +_ecore_wl_cb_interfaces_bound_free(void *data __UNUSED__, void *event)
 +{
 +   Ecore_Wl_Event_Interfaces_Bound *ev;
 +
 +   LOGFN(__FILE__, __LINE__, __FUNCTION__);
 +
 +   if ((ev = event)) free(ev);
 +}

 free(event) is the default handler, so you can remove this.

 S.


Ahh, did not know that. Thanks :)

Cheers,
dh


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: devilhorns trunk/ecore/src/lib/ecore_wayland

2012-03-08 Thread Michael Blumenkrantz
On Thu, 08 Mar 2012 10:53:17 -0500
Christopher Michael cpmicha...@comcast.net wrote:

 On 03/08/2012 02:49 AM, Sebastian Dransfeld wrote:
  On 03/07/2012 10:46 PM, Enlightenment SVN wrote:
 
  +
  +static void
  +_ecore_wl_cb_interfaces_bound_free(void *data __UNUSED__, void *event)
  +{
  +   Ecore_Wl_Event_Interfaces_Bound *ev;
  +
  +   LOGFN(__FILE__, __LINE__, __FUNCTION__);
  +
  +   if ((ev = event)) free(ev);
  +}
 
  free(event) is the default handler, so you can remove this.
 
  S.
 
 
 Ahh, did not know that. Thanks :)
 
 Cheers,
 dh

http://4.bp.blogspot.com/-vXHjGecJ9Nk/Tza-SimS1_I/AtU/mjlZZiXYFiY/s1600/TheMoreYouKnow.jpg

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: englebass IN trunk/e/src: bin modules/conf_randr

2012-03-08 Thread Sebastian Dransfeld
I didn't quite understand this. Do you mean to determine the position 
from the e_layout when you DnD the outputs?

The reason I'm looking into this is because I need to 
activate/deactivate outputs when I dock/undock my laptop. It doesn't 
seem like the current code supports it, or does it?

S.

On 03/08/2012 12:47 PM, Leif Middelschulte wrote:
 In case you plan to work further on the conf_randr stuff, I just want
 to let you know, that I guess we/I need to put back the recursive
 position determine logic. I had a reason, when I implemented it in the
 first place, I just forgot it/was too tired.

 Determing positions based on scaling their representations' position
 obviously won't work since the representations can't be set to
 floating point positions.

 Anyway, thanks for the effort you put into this :-)

 2012/3/8 Enlightenment SVNno-re...@enlightenment.org:
 Log:
 e: formatting

 Author:   englebass
 Date: 2012-03-08 03:37:54 -0800 (Thu, 08 Mar 2012)
 New Revision: 69055
 Trac: http://trac.enlightenment.org/e/changeset/69055

 Modified:
   trunk/e/src/bin/e_randr.c trunk/e/src/bin/e_randr_11_serialization.c 
 trunk/e/src/bin/e_randr_12.c trunk/e/src/bin/e_randr_12_crtc.c 
 trunk/e/src/bin/e_randr_12_output.c 
 trunk/e/src/bin/e_randr_12_serialization.c 
 trunk/e/src/bin/e_randr_serialization.c 
 trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c

 Modified: trunk/e/src/bin/e_randr.c
 ===
 --- trunk/e/src/bin/e_randr.c   2012-03-08 11:35:07 UTC (rev 69054)
 +++ trunk/e/src/bin/e_randr.c   2012-03-08 11:37:54 UTC (rev 69055)
 @@ -123,7 +123,7 @@
 return EINA_FALSE;
   }

 -   static Eina_Bool
 +static Eina_Bool
   _e_event_config_loaded_cb(void *data __UNUSED__, int type, void *ev 
 __UNUSED__)
   {
 if (type != E_EVENT_CONFIG_LOADED) return EINA_TRUE;
 @@ -133,7 +133,7 @@
 return EINA_FALSE;
   }

 -   static void
 +static void
   _event_listeners_add(void)
   {
 _event_handlers = eina_list_append(_event_handlers, 
 ecore_event_handler_add(E_EVENT_CONFIG_LOADED, _e_event_config_loaded_cb, 
 NULL));
 @@ -144,7 +144,7 @@
   }
   }

 -   static void
 +static void
   _try_restore_configuration(void)
   {
 if (e_config-randr_serialized_setup)

 Modified: trunk/e/src/bin/e_randr_11_serialization.c
 ===
 --- trunk/e/src/bin/e_randr_11_serialization.c  2012-03-08 11:35:07 UTC (rev 
 69054)
 +++ trunk/e/src/bin/e_randr_11_serialization.c  2012-03-08 11:37:54 UTC (rev 
 69055)
 @@ -10,7 +10,7 @@

   //New helper functions

 -   E_Randr_Serialized_Setup_11 *
 +E_Randr_Serialized_Setup_11 *
   _serialized_setup_11_new(void)
   {
 E_Randr_Serialized_Setup_11 *ss;
 @@ -32,7 +32,7 @@
   }

   //Update/value set helper functions
 -   E_Randr_Serialized_Setup_11 *
 +E_Randr_Serialized_Setup_11 *
   _serialized_setup_11_update(E_Randr_Serialized_Setup_11 *ss_11)
   {
 Ecore_X_Randr_Screen_Size_MM *size;
 @@ -56,7 +56,7 @@
   }

   //Free helper functions
 -   void
 +void
   _e_randr_serialized_setup_11_free(E_Randr_Serialized_Setup_11 *ss11)
   {
 free(ss11);
 @@ -68,7 +68,7 @@
 _e_randr_serialized_setup_11_free(ss_11);
   }

 -   Eina_Bool
 +Eina_Bool
   _11_try_restore_configuration(void)
   {
 Ecore_X_Randr_Screen_Size_MM *stored_size, *size;
 @@ -92,7 +92,7 @@
 return EINA_FALSE;
   }

 -   void
 +void
   _11_store_configuration(E_Randr_Configuration_Store_Modifier modifier)
   {
 if (e_config-randr_serialized_setup-serialized_setup_11)

 Modified: trunk/e/src/bin/e_randr_12.c
 ===
 --- trunk/e/src/bin/e_randr_12.c2012-03-08 11:35:07 UTC (rev 69054)
 +++ trunk/e/src/bin/e_randr_12.c2012-03-08 11:37:54 UTC (rev 69055)
 @@ -31,7 +31,7 @@
   * @return array of E_Randr_Screen_Info_12 elements, or in case not all 
 could
   * be created or parameter 'nrequested'==0, NULL
   */
 -   static E_Randr_Screen_Info_12 *
 +static E_Randr_Screen_Info_12 *
   _screen_info_12_new(void)
   {
 E_Randr_Screen_Info_12 *randr_info_12 = NULL;
 @@ -65,7 +65,7 @@
 return randr_info_12;
   }

 -   static Eina_Bool
 +static Eina_Bool
   _structs_init(void)
   {
 //Output stuff
 @@ -119,7 +119,7 @@

   //Set value / retrieval helper functions

 -   static void
 +static void
   _crtcs_init(void)
   {
 E_Randr_Crtc_Info *crtc = NULL;
 @@ -131,7 +131,7 @@
_crtc_refs_set(crtc);
   }

 -   static void
 +static void
   _outputs_init(void)
   {
 E_Randr_Output_Info *output = NULL;
 @@ -147,7 +147,7 @@
   }
   }

 -   static void
 +static void
   _screen_primary_output_assign(E_Randr_Output_Info *removed)
   {
 Eina_List *iter;
 @@ -173,7 +173,7 @@
   /**
   * @param screen_info the screen info to be freed.
   */
 -   void
 +void
   _12_screen_info_free(E_Randr_Screen_Info_12 *screen_info)
   {
 Ecore_X_Randr_Mode_Info 

Re: [E-devel] E SVN: englebass IN trunk/e/src: bin modules/conf_randr

2012-03-08 Thread Leif Middelschulte
2012/3/8 Sebastian Dransfeld s...@tango.flipp.net:
 I didn't quite understand this. Do you mean to determine the position
 from the e_layout when you DnD the outputs?
Yes, that's what I meant. You'll probably get gaps if you calculate
new positions using e_layout.

 The reason I'm looking into this is because I need to
 activate/deactivate outputs when I dock/undock my laptop. It doesn't
 seem like the current code supports it, or does it?
Hm... yes and no.
Yes, logic it there. Basically all you need to do is configure your
setup somehow and then trigger e_randr_save_setup(). It stores your
setup based on EDID information and automatically tries to restore it
when all saved EDIDs are available again.
But you can't trigger that snapshot funcitonality using conf_randr
now, since its 'change detection' logic is broken.
I'll hopefully repair it sometime the next days.

 S.

 On 03/08/2012 12:47 PM, Leif Middelschulte wrote:
 In case you plan to work further on the conf_randr stuff, I just want
 to let you know, that I guess we/I need to put back the recursive
 position determine logic. I had a reason, when I implemented it in the
 first place, I just forgot it/was too tired.

 Determing positions based on scaling their representations' position
 obviously won't work since the representations can't be set to
 floating point positions.

 Anyway, thanks for the effort you put into this :-)

 2012/3/8 Enlightenment SVNno-re...@enlightenment.org:
 Log:
 e: formatting

 Author:       englebass
 Date:         2012-03-08 03:37:54 -0800 (Thu, 08 Mar 2012)
 New Revision: 69055
 Trac:         http://trac.enlightenment.org/e/changeset/69055

 Modified:
   trunk/e/src/bin/e_randr.c trunk/e/src/bin/e_randr_11_serialization.c 
 trunk/e/src/bin/e_randr_12.c trunk/e/src/bin/e_randr_12_crtc.c 
 trunk/e/src/bin/e_randr_12_output.c 
 trunk/e/src/bin/e_randr_12_serialization.c 
 trunk/e/src/bin/e_randr_serialization.c 
 trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c

 Modified: trunk/e/src/bin/e_randr.c
 ===
 --- trunk/e/src/bin/e_randr.c   2012-03-08 11:35:07 UTC (rev 69054)
 +++ trunk/e/src/bin/e_randr.c   2012-03-08 11:37:54 UTC (rev 69055)
 @@ -123,7 +123,7 @@
     return EINA_FALSE;
   }

 -   static Eina_Bool
 +static Eina_Bool
   _e_event_config_loaded_cb(void *data __UNUSED__, int type, void *ev 
 __UNUSED__)
   {
     if (type != E_EVENT_CONFIG_LOADED) return EINA_TRUE;
 @@ -133,7 +133,7 @@
     return EINA_FALSE;
   }

 -   static void
 +static void
   _event_listeners_add(void)
   {
     _event_handlers = eina_list_append(_event_handlers, 
 ecore_event_handler_add(E_EVENT_CONFIG_LOADED, _e_event_config_loaded_cb, 
 NULL));
 @@ -144,7 +144,7 @@
       }
   }

 -   static void
 +static void
   _try_restore_configuration(void)
   {
     if (e_config-randr_serialized_setup)

 Modified: trunk/e/src/bin/e_randr_11_serialization.c
 ===
 --- trunk/e/src/bin/e_randr_11_serialization.c  2012-03-08 11:35:07 UTC 
 (rev 69054)
 +++ trunk/e/src/bin/e_randr_11_serialization.c  2012-03-08 11:37:54 UTC 
 (rev 69055)
 @@ -10,7 +10,7 @@

   //New helper functions

 -   E_Randr_Serialized_Setup_11 *
 +E_Randr_Serialized_Setup_11 *
   _serialized_setup_11_new(void)
   {
     E_Randr_Serialized_Setup_11 *ss;
 @@ -32,7 +32,7 @@
   }

   //Update/value set helper functions
 -   E_Randr_Serialized_Setup_11 *
 +E_Randr_Serialized_Setup_11 *
   _serialized_setup_11_update(E_Randr_Serialized_Setup_11 *ss_11)
   {
     Ecore_X_Randr_Screen_Size_MM *size;
 @@ -56,7 +56,7 @@
   }

   //Free helper functions
 -   void
 +void
   _e_randr_serialized_setup_11_free(E_Randr_Serialized_Setup_11 *ss11)
   {
     free(ss11);
 @@ -68,7 +68,7 @@
     _e_randr_serialized_setup_11_free(ss_11);
   }

 -   Eina_Bool
 +Eina_Bool
   _11_try_restore_configuration(void)
   {
     Ecore_X_Randr_Screen_Size_MM *stored_size, *size;
 @@ -92,7 +92,7 @@
     return EINA_FALSE;
   }

 -   void
 +void
   _11_store_configuration(E_Randr_Configuration_Store_Modifier modifier)
   {
     if (e_config-randr_serialized_setup-serialized_setup_11)

 Modified: trunk/e/src/bin/e_randr_12.c
 ===
 --- trunk/e/src/bin/e_randr_12.c        2012-03-08 11:35:07 UTC (rev 69054)
 +++ trunk/e/src/bin/e_randr_12.c        2012-03-08 11:37:54 UTC (rev 69055)
 @@ -31,7 +31,7 @@
   * @return array of E_Randr_Screen_Info_12 elements, or in case not all 
 could
   * be created or parameter 'nrequested'==0, NULL
   */
 -   static E_Randr_Screen_Info_12 *
 +static E_Randr_Screen_Info_12 *
   _screen_info_12_new(void)
   {
     E_Randr_Screen_Info_12 *randr_info_12 = NULL;
 @@ -65,7 +65,7 @@
     return randr_info_12;
   }

 -   static Eina_Bool
 +static Eina_Bool
   _structs_init(void)
   {
     //Output stuff
 @@ -119,7 +119,7 @@

   //Set value / retrieval helper functions

 -   static void
 

Re: [E-devel] E SVN: englebass IN trunk/e/src: bin modules/conf_randr

2012-03-08 Thread The Rasterman
On Thu, 8 Mar 2012 21:19:23 +0100 Leif Middelschulte
leif.middelschu...@gmail.com said:

 2012/3/8 Sebastian Dransfeld s...@tango.flipp.net:
  I didn't quite understand this. Do you mean to determine the position
  from the e_layout when you DnD the outputs?
 Yes, that's what I meant. You'll probably get gaps if you calculate
 new positions using e_layout.

dont do an EXACT calculation. just figure out if you drag which edges are where
(ie screen 2 is to the RIGHT of screen 1), and if its aligned to the top,
middle or bottom (if screen 2 or 1 is smaller than the other). floating point
wont help you here at all if u decied to do it Exactly anyway as people can
only move things around in whole pixel coordinates anyway so that's always less
accurate than the real pixels u represent by whatever you scale down factor
is (1/8th? or so).

 
  The reason I'm looking into this is because I need to
  activate/deactivate outputs when I dock/undock my laptop. It doesn't
  seem like the current code supports it, or does it?
 Hm... yes and no.
 Yes, logic it there. Basically all you need to do is configure your
 setup somehow and then trigger e_randr_save_setup(). It stores your
 setup based on EDID information and automatically tries to restore it
 when all saved EDIDs are available again.
 But you can't trigger that snapshot funcitonality using conf_randr
 now, since its 'change detection' logic is broken.
 I'll hopefully repair it sometime the next days.
 
  S.
 
  On 03/08/2012 12:47 PM, Leif Middelschulte wrote:
  In case you plan to work further on the conf_randr stuff, I just want
  to let you know, that I guess we/I need to put back the recursive
  position determine logic. I had a reason, when I implemented it in the
  first place, I just forgot it/was too tired.
 
  Determing positions based on scaling their representations' position
  obviously won't work since the representations can't be set to
  floating point positions.
 
  Anyway, thanks for the effort you put into this :-)
 
  2012/3/8 Enlightenment SVNno-re...@enlightenment.org:
  Log:
  e: formatting
 
  Author:       englebass
  Date:         2012-03-08 03:37:54 -0800 (Thu, 08 Mar 2012)
  New Revision: 69055
  Trac:         http://trac.enlightenment.org/e/changeset/69055
 
  Modified:
    trunk/e/src/bin/e_randr.c trunk/e/src/bin/e_randr_11_serialization.c
  trunk/e/src/bin/e_randr_12.c trunk/e/src/bin/e_randr_12_crtc.c
  trunk/e/src/bin/e_randr_12_output.c
  trunk/e/src/bin/e_randr_12_serialization.c
  trunk/e/src/bin/e_randr_serialization.c
  trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c
 
  Modified: trunk/e/src/bin/e_randr.c
  ===
  --- trunk/e/src/bin/e_randr.c   2012-03-08 11:35:07 UTC (rev 69054)
  +++ trunk/e/src/bin/e_randr.c   2012-03-08 11:37:54 UTC (rev 69055)
  @@ -123,7 +123,7 @@
      return EINA_FALSE;
    }
 
  -   static Eina_Bool
  +static Eina_Bool
    _e_event_config_loaded_cb(void *data __UNUSED__, int type, void *ev
  __UNUSED__) {
      if (type != E_EVENT_CONFIG_LOADED) return EINA_TRUE;
  @@ -133,7 +133,7 @@
      return EINA_FALSE;
    }
 
  -   static void
  +static void
    _event_listeners_add(void)
    {
      _event_handlers = eina_list_append(_event_handlers,
  ecore_event_handler_add(E_EVENT_CONFIG_LOADED, _e_event_config_loaded_cb,
  NULL)); @@ -144,7 +144,7 @@ }
    }
 
  -   static void
  +static void
    _try_restore_configuration(void)
    {
      if (e_config-randr_serialized_setup)
 
  Modified: trunk/e/src/bin/e_randr_11_serialization.c
  ===
  --- trunk/e/src/bin/e_randr_11_serialization.c  2012-03-08 11:35:07 UTC
  (rev 69054) +++ trunk/e/src/bin/e_randr_11_serialization.c  2012-03-08
  11:37:54 UTC (rev 69055) @@ -10,7 +10,7 @@
 
    //New helper functions
 
  -   E_Randr_Serialized_Setup_11 *
  +E_Randr_Serialized_Setup_11 *
    _serialized_setup_11_new(void)
    {
      E_Randr_Serialized_Setup_11 *ss;
  @@ -32,7 +32,7 @@
    }
 
    //Update/value set helper functions
  -   E_Randr_Serialized_Setup_11 *
  +E_Randr_Serialized_Setup_11 *
    _serialized_setup_11_update(E_Randr_Serialized_Setup_11 *ss_11)
    {
      Ecore_X_Randr_Screen_Size_MM *size;
  @@ -56,7 +56,7 @@
    }
 
    //Free helper functions
  -   void
  +void
    _e_randr_serialized_setup_11_free(E_Randr_Serialized_Setup_11 *ss11)
    {
      free(ss11);
  @@ -68,7 +68,7 @@
      _e_randr_serialized_setup_11_free(ss_11);
    }
 
  -   Eina_Bool
  +Eina_Bool
    _11_try_restore_configuration(void)
    {
      Ecore_X_Randr_Screen_Size_MM *stored_size, *size;
  @@ -92,7 +92,7 @@
      return EINA_FALSE;
    }
 
  -   void
  +void
    _11_store_configuration(E_Randr_Configuration_Store_Modifier modifier)
    {
      if (e_config-randr_serialized_setup-serialized_setup_11)
 
  Modified: trunk/e/src/bin/e_randr_12.c
  ===
  --- 

Re: [E-devel] E SVN: englebass IN trunk/e/src: bin modules/conf_randr

2012-03-08 Thread Leif Middelschulte
2012/3/9 Carsten Haitzler ras...@rasterman.com:
 On Thu, 8 Mar 2012 21:19:23 +0100 Leif Middelschulte
 leif.middelschu...@gmail.com said:

 2012/3/8 Sebastian Dransfeld s...@tango.flipp.net:
  I didn't quite understand this. Do you mean to determine the position
  from the e_layout when you DnD the outputs?
 Yes, that's what I meant. You'll probably get gaps if you calculate
 new positions using e_layout.

 dont do an EXACT calculation. just figure out if you drag which edges are 
 where
 (ie screen 2 is to the RIGHT of screen 1), and if its aligned to the top,
 middle or bottom (if screen 2 or 1 is smaller than the other). floating point
 wont help you here at all if u decied to do it Exactly anyway as people can
 only move things around in whole pixel coordinates anyway so that's always 
 less
 accurate than the real pixels u represent by whatever you scale down factor
 is (1/8th? or so).
I know. That's why I implemented a recursive 'determine and set
relative position of one another' in the first place. Then I removed
it. Now, I'll add it back again. I ended up with a chain of
calculatable positions. Maybe determing relative positions of edje
objects is useful for other things as well and should be ripped out?

 
  The reason I'm looking into this is because I need to
  activate/deactivate outputs when I dock/undock my laptop. It doesn't
  seem like the current code supports it, or does it?
 Hm... yes and no.
 Yes, logic it there. Basically all you need to do is configure your
 setup somehow and then trigger e_randr_save_setup(). It stores your
 setup based on EDID information and automatically tries to restore it
 when all saved EDIDs are available again.
 But you can't trigger that snapshot funcitonality using conf_randr
 now, since its 'change detection' logic is broken.
 I'll hopefully repair it sometime the next days.
 
  S.
 
  On 03/08/2012 12:47 PM, Leif Middelschulte wrote:
  In case you plan to work further on the conf_randr stuff, I just want
  to let you know, that I guess we/I need to put back the recursive
  position determine logic. I had a reason, when I implemented it in the
  first place, I just forgot it/was too tired.
 
  Determing positions based on scaling their representations' position
  obviously won't work since the representations can't be set to
  floating point positions.
 
  Anyway, thanks for the effort you put into this :-)
 
  2012/3/8 Enlightenment SVNno-re...@enlightenment.org:
  Log:
  e: formatting
 
  Author:       englebass
  Date:         2012-03-08 03:37:54 -0800 (Thu, 08 Mar 2012)
  New Revision: 69055
  Trac:         http://trac.enlightenment.org/e/changeset/69055
 
  Modified:
    trunk/e/src/bin/e_randr.c trunk/e/src/bin/e_randr_11_serialization.c
  trunk/e/src/bin/e_randr_12.c trunk/e/src/bin/e_randr_12_crtc.c
  trunk/e/src/bin/e_randr_12_output.c
  trunk/e/src/bin/e_randr_12_serialization.c
  trunk/e/src/bin/e_randr_serialization.c
  trunk/e/src/modules/conf_randr/e_int_config_randr_arrangement.c
 
  Modified: trunk/e/src/bin/e_randr.c
  ===
  --- trunk/e/src/bin/e_randr.c   2012-03-08 11:35:07 UTC (rev 69054)
  +++ trunk/e/src/bin/e_randr.c   2012-03-08 11:37:54 UTC (rev 69055)
  @@ -123,7 +123,7 @@
      return EINA_FALSE;
    }
 
  -   static Eina_Bool
  +static Eina_Bool
    _e_event_config_loaded_cb(void *data __UNUSED__, int type, void *ev
  __UNUSED__) {
      if (type != E_EVENT_CONFIG_LOADED) return EINA_TRUE;
  @@ -133,7 +133,7 @@
      return EINA_FALSE;
    }
 
  -   static void
  +static void
    _event_listeners_add(void)
    {
      _event_handlers = eina_list_append(_event_handlers,
  ecore_event_handler_add(E_EVENT_CONFIG_LOADED, _e_event_config_loaded_cb,
  NULL)); @@ -144,7 +144,7 @@ }
    }
 
  -   static void
  +static void
    _try_restore_configuration(void)
    {
      if (e_config-randr_serialized_setup)
 
  Modified: trunk/e/src/bin/e_randr_11_serialization.c
  ===
  --- trunk/e/src/bin/e_randr_11_serialization.c  2012-03-08 11:35:07 UTC
  (rev 69054) +++ trunk/e/src/bin/e_randr_11_serialization.c  2012-03-08
  11:37:54 UTC (rev 69055) @@ -10,7 +10,7 @@
 
    //New helper functions
 
  -   E_Randr_Serialized_Setup_11 *
  +E_Randr_Serialized_Setup_11 *
    _serialized_setup_11_new(void)
    {
      E_Randr_Serialized_Setup_11 *ss;
  @@ -32,7 +32,7 @@
    }
 
    //Update/value set helper functions
  -   E_Randr_Serialized_Setup_11 *
  +E_Randr_Serialized_Setup_11 *
    _serialized_setup_11_update(E_Randr_Serialized_Setup_11 *ss_11)
    {
      Ecore_X_Randr_Screen_Size_MM *size;
  @@ -56,7 +56,7 @@
    }
 
    //Free helper functions
  -   void
  +void
    _e_randr_serialized_setup_11_free(E_Randr_Serialized_Setup_11 *ss11)
    {
      free(ss11);
  @@ -68,7 +68,7 @@
      _e_randr_serialized_setup_11_free(ss_11);
    }
 
  -   Eina_Bool
  +Eina_Bool
    _11_try_restore_configuration(void)
    {
      

Re: [E-devel] E SVN: raster trunk/eina/src/lib

2012-03-08 Thread The Rasterman
On Thu, 8 Mar 2012 15:25:53 +0100 Vincent Torri vincent.to...@gmail.com said:

i see u did it already! thnx! :)

 On Thu, Mar 8, 2012 at 3:22 PM, Vincent Torri vincent.to...@gmail.com wrote:
  On Thu, Mar 8, 2012 at 2:54 PM, Enlightenment SVN
  no-re...@enlightenment.org wrote:
  Log:
  From: cnook kimci...@gmail.com
   Subject: [E-devel] [Patch][Eina] eina_file_win32 - using
   eina_file_statat();
 
   On windows, Elementary gives build error. cause..
   The elm_config.c uses eina_file_statat(); but It is not in the
   eina_file_win32.c
   So the attached patch comes. Please keep the patch in the up stream.
   Thanks.
 
 
 
  Author:       raster
  Date:         2012-03-08 05:54:01 -0800 (Thu, 08 Mar 2012)
  New Revision: 69058
  Trac:         http://trac.enlightenment.org/e/changeset/69058
 
  Modified:
   trunk/eina/src/lib/eina_file_win32.c
 
  Modified: trunk/eina/src/lib/eina_file_win32.c
  ===
  --- trunk/eina/src/lib/eina_file_win32.c        2012-03-08 13:51:58 UTC
  (rev 69057) +++ trunk/eina/src/lib/eina_file_win32.c        2012-03-08
  13:54:01 UTC (rev 69058) @@ -1154,3 +1154,34 @@
   on_exit:
     eina_lock_release(file-lock);
   }
  +
  +EAPI int
  +eina_file_statat(void *container, Eina_File_Direct_Info *info, Eina_Stat
  *st) +{
  +   WIN32_FILE_ATTRIBUTE_DATA fad;
  +   ULARGE_INTEGER length;
  +   ULARGE_INTEGER mtime;
  +   ULARGE_INTEGER atime;
  +
  +   EINA_SAFETY_ON_NULL_RETURN_VAL(info, -1);
  +   EINA_SAFETY_ON_NULL_RETURN_VAL(st, -1);
  +
  +   if (!GetFileAttributesEx(info-path, GetFileExInfoStandard, fad))
  +     {
  +        if (info-type != EINA_FILE_LNK)
  +          info-type = EINA_FILE_UNKNOWN;
  +        return -1;
  +     }
  +
  +   length.u.LowPart = fad.nFileSizeLow;
  +   length.u.HighPart = fad.nFileSizeHigh;
  +   atime.u.LowPart = fad.ftLastAccessTime.dwLowDateTime;
  +   atime.u.HighPart = fad.ftLastAccessTime.dwHighDateTime;
  +   mtime.u.LowPart = fad.ftLastWriteTime.dwLowDateTime;
  +   mtime.u.HighPart = fad.ftLastWriteTime.dwHighDateTime;
  +
  +   st-size = length.QuadPart;
  +   st-atime = atime.QuadPart;
  +   st-mtime = mtime.QuadPart;
  +   return 0;
  +}
 
 
  i think that we should memset to 0 st, then fill the fields above
 
  Vincent
 
 also, maybe stat() is better :
 
 http://msdn.microsoft.com/en-us/library/14h5k7ff%28v=vs.71%29.aspx
 
 Vincent
 
 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing 
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


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


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] python-elementary broken build

2012-03-08 Thread Jiyoun Park
I think my commit maybe made this break.

elm_hoversel_item_del_cb_set and some APIs was deprecated.
so I change test code using elm_hoversel_item_del_cb_set to
elm_object_item_del_cb_set and remove hoversel api from pxi file.
please guide correct method or send patch to change deprecated api to
availabe api in python.
I will referencd your guide because there are so many deprecated
function which not removed yet.

thanks.



2012/3/8, Martin Jansa martin.ja...@gmail.com:
 Hi,

 is someone already working on this issue or should I try to prepare patch
 for this?

 Cheers,

 | cd .  /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/python -m
 cython -I/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/include/python-evas
 -I./include  -o elementary/elementary.c_elementary.c
 elementary/elementary.c_elementary.pyx
 |
 | Error compiling Cython file:
 | 
 | ...
 | cbdata = void*self.cbt
 | self.item = elm_hoversel_item_add(hoversel.obj, label, i_f,
 icon_type,
 |   cb, cbdata)
 |
 | Py_INCREF(self)
 | elm_object_item_del_cb_set(self.item, _hoversel_item_del_cb)
 |  ^
 | 
 |
 | elementary/elementary.c_elementary_hoversel.pxi:62:34: undeclared name not
 builtin: elm_object_item_del_cb_set
 |
 | Error compiling Cython file:
 | 
 | ...
 | cbdata = void*self.cbt
 | self.item = elm_hoversel_item_add(hoversel.obj, label, i_f,
 icon_type,
 |   cb, cbdata)
 |
 | Py_INCREF(self)
 | elm_object_item_del_cb_set(self.item, _hoversel_item_del_cb)
 |   ^
 | 
 |
 | elementary/elementary.c_elementary_hoversel.pxi:62:39: Cannot convert
 'Elm_Object_Item *' to Python object
 |
 | Error compiling Cython file:
 | 
 | ...
 | cbdata = void*self.cbt
 | self.item = elm_hoversel_item_add(hoversel.obj, label, i_f,
 icon_type,
 |   cb, cbdata)
 |
 | Py_INCREF(self)
 | elm_object_item_del_cb_set(self.item, _hoversel_item_del_cb)
 |   ^
 | 
 |
 | elementary/elementary.c_elementary_hoversel.pxi:62:67: Cannot convert
 'void (void *, Evas_Object *, void *) nogil' to Python object
 |
 | Error compiling Cython file:
 | 
 | ...
 |
 | def __set__(self, value):
 | self.label_set(value)
 |
 | def icon_set(self, c_evas.Object icon):
 | elm_object_item_part_content_set(self.obj, icon.obj)
 |^
 | 
 |
 | elementary/elementary.c_elementary_hoversel.pxi:136:40: undeclared name
 not builtin: elm_object_item_part_content_set
 |
 | Error compiling Cython file:
 | 
 | ...
 |
 | def __set__(self, value):
 | self.label_set(value)
 |
 | def icon_set(self, c_evas.Object icon):
 | elm_object_item_part_content_set(self.obj, icon.obj)
 | ^
 | 
 |
 | elementary/elementary.c_elementary_hoversel.pxi:136:45: Cannot convert
 'Evas_Object *' to Python object
 |
 | Error compiling Cython file:
 | 
 | ...
 |
 | def __set__(self, value):
 | self.label_set(value)
 |
 | def icon_set(self, c_evas.Object icon):
 | elm_object_item_part_content_set(self.obj, icon.obj)
 |   ^
 | 
 |
 | elementary/elementary.c_elementary_hoversel.pxi:136:55: Cannot convert
 'Evas_Object *' to Python object
 |
 | Error compiling Cython file:
 | 
 | ...
 | def icon_set(self, c_evas.Object icon):
 | elm_object_item_part_content_set(self.obj, icon.obj)
 |
 | def icon_get(self):
 | cdef c_evas.Evas_Object *icon
 | icon = elm_object_item_part_content_get(self.obj)
 |   ^
 | 
 |
 | elementary/elementary.c_elementary_hoversel.pxi:140:47: undeclared name
 not builtin: elm_object_item_part_content_get
 |
 | Error compiling Cython file:
 | 
 | ...
 | def icon_set(self, 

Re: [E-devel] [Patch] TEST: Add more unit test cases for uncovered ecore_file_xxx APIs.

2012-03-08 Thread myoungwoon kim
No problem. I am happy to do it. :)

On 8 March 2012 19:03, Vincent Torri vincent.to...@gmail.com wrote:

 hey,

 btw, if you feel couragous enough, feel free to add eina_file unit tests :p

 Vincent

 On Thu, Mar 8, 2012 at 10:54 AM, myoungwoon kim myoungw...@gmail.com
 wrote:
  Dear All,
 
  This is Myoungwoon Roy Kim.
 
  This patches are for adding new test cases for uncovered APIs among the
  ecore_file_xxx APIs.
 
  The most of ecore_file_xxx APIs had already been covered.
 
  Just 7 APIs regarding ecore_file_monitor_xxx and ecore_file_download_xxx
  are remaining now.
 
  I'll submit unit test cases for them soon.
 
  Anybody please review this and apply it to upstream code.
 
  Thanks.
 
 
  Best regards,
  Roy.
 
 
 
  =
  Myoung-Woon Roy Kim
  Mobile S/W Platform Lab.
  DMC RD Center
  Digital Media  Communications Business
  SAMSUNG ELECTRONICS CO., LTD
 
  tel: +82-31-279-0295(#0295)
  anycall: +82-10-9530-0295
  fax: +82-31-279-5521
  e-mail : myoungwoon@samsung.com
  Be myself!
  =
 
 
 --
  Virtualization  Cloud Management Using Capacity Planning
  Cloud computing makes use of virtualization - but cloud computing
  also focuses on allowing computing to be delivered as a service.
  http://www.accelacomm.com/jaw/sfnl/114/51521223/
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-- 
=
Myoung-Woon Roy Kim
Mobile S/W Platform Lab.
DMC RD Center
Digital Media  Communications Business
SAMSUNG ELECTRONICS CO., LTD

tel: +82-31-279-0295(#0295)
anycall: +82-10-9530-0295
fax: +82-31-279-5521
e-mail : myoungwoon@samsung.com
Be myself!
=
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] ephoto fail

2012-03-08 Thread Dave Ray
Hi,
I am guessing that ephoto is now out if sync with all the elm changes 
yesterday. I am getting the following build error for ephoto:

Making all in bin
make  all-am
 CC ephoto_ql_la-ephoto.lo
 CC ephoto_ql_la-ephoto_main.lo
ephoto_main.c: In function '_ephoto_thumb_browser_show':
ephoto_main.c:29: warning: 'elm_pager_content_promote' is deprecated (declared 
at /usr/local/include/elementary-0/elm_deprecated.h:5017)
ephoto_main.c:33: error: too few arguments to function 
'elm_gengrid_item_bring_in'

FYI, all e17 libs compile and run fine on OSX currently, as does elm. I don't 
think the OS matters with this error. 
 
-Dave



--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] TEST: Add more unit test cases for uncovered ecore_file_xxx APIs.

2012-03-08 Thread Vincent Torri
On Fri, Mar 9, 2012 at 5:17 AM, myoungwoon kim myoungw...@gmail.com wrote:
 No problem. I am happy to do it. :)

thanks. Btw, note that I said EINA_file unit tests, not ecore_file
unit tests :) But if ecore_file unit tests are missing, no problem to
also add them.

What interests me is above all eina_file with shared map, so that I
have unit testing on Windows too, to see if my shm_open port is good
or not

Vincent


 On 8 March 2012 19:03, Vincent Torri vincent.to...@gmail.com wrote:

 hey,

 btw, if you feel couragous enough, feel free to add eina_file unit tests :p

 Vincent

 On Thu, Mar 8, 2012 at 10:54 AM, myoungwoon kim myoungw...@gmail.com
 wrote:
  Dear All,
 
  This is Myoungwoon Roy Kim.
 
  This patches are for adding new test cases for uncovered APIs among the
  ecore_file_xxx APIs.
 
  The most of ecore_file_xxx APIs had already been covered.
 
  Just 7 APIs regarding ecore_file_monitor_xxx and ecore_file_download_xxx
  are remaining now.
 
  I'll submit unit test cases for them soon.
 
  Anybody please review this and apply it to upstream code.
 
  Thanks.
 
 
  Best regards,
  Roy.
 
 
 
  =
  Myoung-Woon Roy Kim
  Mobile S/W Platform Lab.
  DMC RD Center
  Digital Media  Communications Business
  SAMSUNG ELECTRONICS CO., LTD
 
  tel: +82-31-279-0295(#0295)
  anycall: +82-10-9530-0295
  fax: +82-31-279-5521
  e-mail : myoungwoon@samsung.com
  Be myself!
  =
 
 
 --
  Virtualization  Cloud Management Using Capacity Planning
  Cloud computing makes use of virtualization - but cloud computing
  also focuses on allowing computing to be delivered as a service.
  http://www.accelacomm.com/jaw/sfnl/114/51521223/
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




 --
 =
 Myoung-Woon Roy Kim
 Mobile S/W Platform Lab.
 DMC RD Center
 Digital Media  Communications Business
 SAMSUNG ELECTRONICS CO., LTD

 tel: +82-31-279-0295(#0295)
 anycall: +82-10-9530-0295
 fax: +82-31-279-5521
 e-mail : myoungwoon@samsung.com
 Be myself!
 =
 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ephoto fail

2012-03-08 Thread Hyoyoung Chang
Yeah you're right.

elm_gengrid_item_bring_in's parameters is changed.
added one more parameter to call bring_in to dest.
I'll send a patch for this

Thanks

On Fri, Mar 9, 2012 at 1:15 AM, Dave Ray cl...@jonive.com wrote:
 Hi,
 I am guessing that ephoto is now out if sync with all the elm changes 
 yesterday. I am getting the following build error for ephoto:

 Making all in bin
 make  all-am
  CC     ephoto_ql_la-ephoto.lo
  CC     ephoto_ql_la-ephoto_main.lo
 ephoto_main.c: In function '_ephoto_thumb_browser_show':
 ephoto_main.c:29: warning: 'elm_pager_content_promote' is deprecated 
 (declared at /usr/local/include/elementary-0/elm_deprecated.h:5017)
 ephoto_main.c:33: error: too few arguments to function 
 'elm_gengrid_item_bring_in'

 FYI, all e17 libs compile and run fine on OSX currently, as does elm. I don't 
 think the OS matters with this error.

 -Dave



 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [patch] ephoto - resolve build errors

2012-03-08 Thread Hyoyoung Chang
Dear all

In ephoto, elm_gengrid_item_bring_in is used.
However some days ago, many changes was committed to elm. Also it's
parameters are changed.
It's patch for this.

Thanks
Index: ephoto/src/bin/ephoto_main.c
===
--- ephoto/src/bin/ephoto_main.c(리비전 69073)
+++ ephoto/src/bin/ephoto_main.c(작업 사본)
@@ -28,9 +28,10 @@ _ephoto_thumb_browser_show(Ephoto *ephoto, Ephoto_
ephoto_slideshow_entry_set(ephoto-slideshow, NULL);
elm_pager_content_promote(ephoto-pager, ephoto-thumb_browser);
_ephoto_state_set(ephoto, EPHOTO_STATE_THUMB);
-   ephoto_title_set(ephoto, ephoto-config-directory); 
+   ephoto_title_set(ephoto, ephoto-config-directory);
 
-   if ((entry)  (entry-item)) elm_gengrid_item_bring_in(entry-item);
+   if ((entry)  (entry-item))
+ elm_gengrid_item_bring_in(entry-item, ELM_GENGRID_ITEM_SCROLLTO_IN);
 }
 
 static void
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [patch] building error fix at using gen{list, grid} functions

2012-03-08 Thread Hyoyoung Chang
Dear all,

After elm radically changed, some compilation errors are not fixed.
I changed for this.

1. add a parameter for item_bring_in
-elm_genlist_item_bring_in(it);
+elm_genlist_item_bring_in(it, ELM_GENLIST_ITEM_SCROLLTO_IN);

2. change a enum type name
-   Elm_Genlist_Item_Flags
+   Elm_Genlist_Item_Type

3. change a enum name
-   if (!parent) flags = ELM_GENLIST_ITEM_SUBITEMS;
+   if (!parent) flags = ELM_GENLIST_ITEM_TREE;

affected file list:
PROTO/enna-explorer/src/bin/shortcut.c
PROTO/ev/ev.c
editje/editje/filewizard.py
envision/src/bin/main.c
BINDINGS/python/python-elementary/elementary/__init__.py
BINDINGS/cxx/eflxx_examples/src/elementaryxx/full/test_panel.cpp
BINDINGS/cxx/eflxx_examples/src/elementaryxx/full/test_genlist.cpp
BINDINGS/cxx/elementaryxx/include/elementaryxx/GenList.h
BINDINGS/cxx/elementaryxx/src/GenList.cpp
BINDINGS/cxx/elementaryxx/src/GenListItem.cpp
BINDINGS/perl/t/elementary_test.t
BINDINGS/perl/Elementary/Makefile.PL
BINDINGS/perl/Elementary/Elementary.xs
BINDINGS/perl/lib/EFL/Elementary.pm
ensure/src/errors.c
ensure/src/entree.c
ensure/src/enconfig.c
clouseau/src/lib/libclouseau.c
clouseau/src/lib/ui/obj_information.c
enki/src/bin/evas_object/enki_elm_genlist_tree.c

Thanks.
Index: PROTO/enna-explorer/src/bin/shortcut.c
===
--- PROTO/enna-explorer/src/bin/shortcut.c  (리비전 69071)
+++ PROTO/enna-explorer/src/bin/shortcut.c  (작업 사본)
@@ -564,7 +564,7 @@ enna_shortcut_add(Evas_Object *parent)
 
 
egi = elm_genlist_item_append(list, itc_favorite_group, DEVICES, NULL,
- ELM_GENLIST_ITEM_SUBITEMS, NULL, NULL);
+ ELM_GENLIST_ITEM_TREE, NULL, NULL);
 
evas_object_data_set(list, devices/item, egi);
evas_object_data_set(list, items, egi);
@@ -600,10 +600,10 @@ enna_shortcut_add(Evas_Object *parent)
 
 
egi = elm_genlist_item_append(list, itc_favorite_group, NETWORK, NULL,
- ELM_GENLIST_ITEM_SUBITEMS, NULL, NULL);
+ ELM_GENLIST_ITEM_TREE, NULL, NULL);
 
egi = elm_genlist_item_append(list, itc_favorite_group, PLACES, NULL,
- ELM_GENLIST_ITEM_SUBITEMS, NULL, NULL);
+ ELM_GENLIST_ITEM_TREE, NULL, NULL);
 
gtk_bookmarks = _enna_shortcut_parse_gtk_bookmarks();
EINA_LIST_FREE(gtk_bookmarks, file)
Index: PROTO/ev/ev.c
===
--- PROTO/ev/ev.c   (리비전 69071)
+++ PROTO/ev/ev.c   (작업 사본)
@@ -103,7 +103,7 @@ _key(void *data __UNUSED__, Evas *e __UNUSED__, Ev
 if (!it) it = elm_genlist_first_item_get(list);
 DBG(next: %p, it);
 elm_genlist_item_selected_set(it, EINA_TRUE);
-elm_genlist_item_bring_in(it);
+elm_genlist_item_bring_in(it, ELM_GENLIST_ITEM_SCROLLTO_IN);
 _pick(NULL, NULL, it);
  }
else if ((!strcmp(key-keyname, Return)) || (!strcmp(key-keyname, 
KP_Enter)))
@@ -111,7 +111,7 @@ _key(void *data __UNUSED__, Evas *e __UNUSED__, Ev
 if (obj == elm_object_parent_widget_get(img)) return;
 it = elm_genlist_selected_item_get(list);
 if (!it) return;
-elm_genlist_item_bring_in(it);
+elm_genlist_item_bring_in(it, ELM_GENLIST_ITEM_SCROLLTO_IN);
 _pick(NULL, NULL, it);
  }
else if (key-keyname[0] == 'q')
Index: editje/editje/filewizard.py
===
--- editje/editje/filewizard.py (리비전 69071)
+++ editje/editje/filewizard.py (작업 사본)
@@ -297,7 +297,7 @@ class FontSelectionWizard(FileSelectionWizard):
 self._files += self._system_fonts
 
 self._file_list.item_append(itc, message, None,
-   elementary.ELM_GENLIST_ITEM_SUBITEMS, self._expand_cb)
+   elementary.ELM_GENLIST_ITEM_TREE, self._expand_cb)
 
 def _expand_cb(self, obj, part, item_data):
 if obj.expanded:
Index: envision/src/bin/main.c
===
--- envision/src/bin/main.c (리비전 69071)
+++ envision/src/bin/main.c (작업 사본)
@@ -241,7 +241,7 @@ grid_changed(void*data,
App *app = data;
if (!app-bring_in_cur_page) return;
app-bring_in_cur_page = EINA_FALSE;
-   elm_gengrid_item_bring_in(app-current_item_page);
+   elm_gengrid_item_bring_in(app-current_item_page, 
ELM_GENGRID_ITEM_SCROLLTO_IN);
 }
 
 /*-CONTENT GET - RENDER PDF-*/
@@ -340,7 +340,7 @@ grid_item_db_double_clicked(void*data,
app-current_item_page = event_info;
app-bring_in_cur_page = EINA_TRUE;
page_view_mode_set((App *)data, WINDOW_WIDTH);
-   elm_gengrid_item_bring_in(app-current_item_page);
+   elm_gengrid_item_bring_in(app-current_item_page, 
ELM_GENGRID_ITEM_SCROLLTO_IN);
 }
 
 /*--ZOOM IN 

Re: [E-devel] [patch] ephoto - resolve build errors

2012-03-08 Thread Daniel Juyung Seo
Thanks! In SVN!

Daniel Juyung Seo (SeoZ)

On Fri, Mar 9, 2012 at 2:29 PM, Hyoyoung Chang hyoyo...@gmail.com wrote:
 Dear all

 In ephoto, elm_gengrid_item_bring_in is used.
 However some days ago, many changes was committed to elm. Also it's
 parameters are changed.
 It's patch for this.

 Thanks

 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] python-elementary broken build

2012-03-08 Thread Martin Jansa
On Fri, Mar 09, 2012 at 11:01:52AM +0900, Jiyoun Park wrote:
 I think my commit maybe made this break.
 
 elm_hoversel_item_del_cb_set and some APIs was deprecated.
 so I change test code using elm_hoversel_item_del_cb_set to
 elm_object_item_del_cb_set and remove hoversel api from pxi file.
 please guide correct method or send patch to change deprecated api to
 availabe api in python.
 I will referencd your guide because there are so many deprecated
 function which not removed yet.

I'm not python bindings expert, but davemds used this:
http://trac.enlightenment.org/e/changeset/68744

Cheers,

 
 thanks.
 
 
 
 2012/3/8, Martin Jansa martin.ja...@gmail.com:
  Hi,
 
  is someone already working on this issue or should I try to prepare patch
  for this?
 
  Cheers,
 
  | cd .  /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/python -m
  cython -I/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/include/python-evas
  -I./include  -o elementary/elementary.c_elementary.c
  elementary/elementary.c_elementary.pyx
  |
  | Error compiling Cython file:
  | 
  | ...
  | cbdata = void*self.cbt
  | self.item = elm_hoversel_item_add(hoversel.obj, label, i_f,
  icon_type,
  |   cb, cbdata)
  |
  | Py_INCREF(self)
  | elm_object_item_del_cb_set(self.item, _hoversel_item_del_cb)
  |  ^
  | 
  |
  | elementary/elementary.c_elementary_hoversel.pxi:62:34: undeclared name not
  builtin: elm_object_item_del_cb_set
  |
  | Error compiling Cython file:
  | 
  | ...
  | cbdata = void*self.cbt
  | self.item = elm_hoversel_item_add(hoversel.obj, label, i_f,
  icon_type,
  |   cb, cbdata)
  |
  | Py_INCREF(self)
  | elm_object_item_del_cb_set(self.item, _hoversel_item_del_cb)
  |   ^
  | 
  |
  | elementary/elementary.c_elementary_hoversel.pxi:62:39: Cannot convert
  'Elm_Object_Item *' to Python object
  |
  | Error compiling Cython file:
  | 
  | ...
  | cbdata = void*self.cbt
  | self.item = elm_hoversel_item_add(hoversel.obj, label, i_f,
  icon_type,
  |   cb, cbdata)
  |
  | Py_INCREF(self)
  | elm_object_item_del_cb_set(self.item, _hoversel_item_del_cb)
  |   ^
  | 
  |
  | elementary/elementary.c_elementary_hoversel.pxi:62:67: Cannot convert
  'void (void *, Evas_Object *, void *) nogil' to Python object
  |
  | Error compiling Cython file:
  | 
  | ...
  |
  | def __set__(self, value):
  | self.label_set(value)
  |
  | def icon_set(self, c_evas.Object icon):
  | elm_object_item_part_content_set(self.obj, icon.obj)
  |^
  | 
  |
  | elementary/elementary.c_elementary_hoversel.pxi:136:40: undeclared name
  not builtin: elm_object_item_part_content_set
  |
  | Error compiling Cython file:
  | 
  | ...
  |
  | def __set__(self, value):
  | self.label_set(value)
  |
  | def icon_set(self, c_evas.Object icon):
  | elm_object_item_part_content_set(self.obj, icon.obj)
  | ^
  | 
  |
  | elementary/elementary.c_elementary_hoversel.pxi:136:45: Cannot convert
  'Evas_Object *' to Python object
  |
  | Error compiling Cython file:
  | 
  | ...
  |
  | def __set__(self, value):
  | self.label_set(value)
  |
  | def icon_set(self, c_evas.Object icon):
  | elm_object_item_part_content_set(self.obj, icon.obj)
  |   ^
  | 
  |
  | elementary/elementary.c_elementary_hoversel.pxi:136:55: Cannot convert
  'Evas_Object *' to Python object
  |
  | Error compiling Cython file:
  | 
  | ...
  | def icon_set(self, c_evas.Object icon):
  | elm_object_item_part_content_set(self.obj, icon.obj)
  |
  | def icon_get(self):
  | cdef c_evas.Evas_Object *icon
  | icon = elm_object_item_part_content_get(self.obj)
  |   ^
  |