Re: [E-devel] FOSDEM 2012

2011-12-20 Thread Tom Hacohen
On 20/12/11 09:28, Philippe Caseiro wrote:
I have proposed a talk called How a newbee start and success
 application dev with EFL (god or the force or gandalf help me).

It seems that LOTR quotes are getting really popular in mailing lists.

Please give an heads up before you actually make the reservation, as I 
would probably like to join you, but I would may like to come a day 
earlier or stay a day after.

--
Tom.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch] elm_cnp_helper - add type checking for non-elm cnp datas

2011-12-20 Thread Michael Blumenkrantz
On Fri, 16 Dec 2011 17:14:23 +0900
Hyoyoung Chang hyoyo...@gmail.com wrote:

 Oops i omitted file attaching.
 sorry.
 
 On Fri, Dec 16, 2011 at 5:09 PM, Hyoyoung Chang hyoyo...@gmail.com wrote:
  Dear developers
 
  elm_cnp_helper supports rich types for copying  pasting.
  but it doesn't extend like x11 way.
  this patch introduces to reduce mismatch for checking selection type format.
  now elm can live in harmony with non-elm cnp datas
 
  Thanks
in

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][elm_config] Add pinch rotate enable configuration

2011-12-20 Thread Tom Hacohen
On 20/12/11 06:25, Bluezery wrote:
 Hi,

 In addition to pinch zoom configuration, I have added pinch rotation
 configuration.
 It's default behavior is disabled as well as pinch zoom configuration.
 I need Tom's help again :p...
 Please review this patch.


Good and clean patch. :)
I reviewed and committed it.

Thanks for the patch,
Tom.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] support to get style attribute of XIM module

2011-12-20 Thread The Rasterman
On Thu, 15 Dec 2011 13:59:26 +0900 Jihoon Kim imfin...@gmail.com said:

 Hi, EFL developers.
 
 ATM, edje entry doesn't display the style of preedit string such as
 underline, reverse, and Highlight.
 It's because XIM module doesn't provide the style attribute.
 This patch is made for providing the style attibute information to entry or
 other editable widget.
 
 edje_test.patch.txt is for verifying this patch. (This patch is written by
 Woohyun and Woohyun will commit edje_entry patch with edc patch)
 
 Would you please review ecore_imf_xim_attribute.patch.txt file?

i had a look - looks fine to me. in svn it goes! :)


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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [patch] elm_cnp_helper - bugfix mixing with ecore selection set apis

2011-12-20 Thread Hyoyoung Chang
Dear all

When ecore selection set apis(such as ecore_x_selection_clipboard_set)
used in elementary,
Some data is not pasted to elementary widgets.
It's due to mix ecore selection with elementary selection apis.

Data which by ecore doesn't have TARGETS information,
so elementary make it up with TARGETS Information for copying  pasting.

Thank you.
Index: elementary/src/lib/elm_widget.h
===
--- elementary/src/lib/elm_widget.h (리비전 66367)
+++ elementary/src/lib/elm_widget.h (작업 사본)
@@ -741,6 +741,8 @@
ELM_SEL_FORMAT_VCARD  = 0x08,
/** Raw HTMLish things for widgets that want that stuff (hello webkit!) */
ELM_SEL_FORMAT_HTML   = 0x10,
+
+   ELM_SEL_FORMAT_MAX
 } Elm_Sel_Format;
 
 struct _Elm_Selection_Data
Index: elementary/src/lib/elm_cnp_helper.c
===
--- elementary/src/lib/elm_cnp_helper.c (리비전 66367)
+++ elementary/src/lib/elm_cnp_helper.c (작업 사본)
@@ -594,7 +594,8 @@
  {
 Cnp_Selection *sel;
 sel = selections + *((int *)data);
-if (sel-active)
+if (sel-active 
+(sel-format = ELM_SEL_TARGETS)  (sel-format  
ELM_SEL_FORMAT_MAX))
   return sel-format;
  }
return ELM_SEL_FORMAT_NONE;
@@ -606,32 +607,30 @@
int i,count;
Ecore_X_Atom *aret;
Cnp_Selection *sel;
+   Elm_Sel_Format seltype;
 
if (!data_ret) return EINA_FALSE;
 
if (_get_selection_type(data, size) == ELM_SEL_FORMAT_NONE)
  {
-if (data_ret)
-  {
- *data_ret = malloc(size * sizeof(char) + 1);
- memcpy(*data_ret, data, size);
- ((char**)(data_ret))[0][size] = 0;
-  }
-if (size_ret) *size_ret = size;
-return EINA_TRUE;
+/* TODO : fallback into precise type */
+seltype = ELM_SEL_FORMAT_TEXT;
  }
+   else
+ {
+sel = selections + *((int *)data);
+seltype = sel-format;
+ }
 
-   sel = selections + *((int *)data);
-
for (i = 0, count = 0; i  CNP_N_ATOMS ; i++)
  {
-if (sel-format  atoms[i].formats) count++;
+if (seltype  atoms[i].formats) count++;
  }
 
aret = malloc(sizeof(Ecore_X_Atom) * count);
for (i = 0, count = 0; i  CNP_N_ATOMS; i++)
  {
-if (sel-format  atoms[i].formats) aret[count ++] = atoms[i].atom;
+if (seltype  atoms[i].formats) aret[count ++] = atoms[i].atom;
  }
 
*data_ret = aret;
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][elm_config] Add pinch zoom enable configuration

2011-12-20 Thread The Rasterman
On Thu, 15 Dec 2011 15:11:11 +0900 Daniel Juyung Seo seojuyu...@gmail.com
said:

 Overall idea looks good.
 
 1) wrap 80 chars
  evas_object_event_callback_add(wd-rect, EVAS_CALLBACK_RESIZE,
  _rect_resize_cb, obj);
 
 This is too long. EFL sources are written based on 80 chars per line policy.
 Please wrap them correctly.

indeed we try to keep to 80 chars - tho u believe that current format-efl stuff
will make lines long and unwrap them. i've come to the conclusion that u cant
keep to 80 chars unless you do it by hand - automated wrapping has in every
instance always ended up failing :(

 2) remove unrelated changes
 Check config/profile.src, src/bin/test_map.c
 
 3) setter/getter apis
 We should also set the configuration by apis.
 ex) elm_password_show_last_get/set
 It looks like glayer has no configurable apis. I need Tom's comment for this.
 
 Thanks.
 
 Daniel Juyung Seo (SeoZ)
 
 On Thu, Dec 15, 2011 at 2:14 PM, Bluezery ohpo...@gmail.com wrote:
  Dear all,
 
  Elementary can be used for all because EFL is an open source.
  But multi Touch event can have paten issue such as pinch zooming action.
  So, I add finger(pinch) zooming action to elm_config to can be
  enabled or disabled.
  This configuration value can be used for diverse product.
  It's my pleasure if Mr. Hacohen have time to review this. :-)
 
  Only gesture layer recognizes this value if all other elementary is
  based on gesture layer.
  But elm map implemented pinch zooming by itself. I will change elm_map
  to use gesture layer soon.
  For the consistency, elm_map read this value temporarily. It will
  removed later after gesture layer is applied.
 
  Please review this patch.
 
  --
  BRs,
  Kim.
 
  --
  10 Tips for Better Server Consolidation
  Server virtualization is being driven by many needs.
  But none more important than the need to reduce IT complexity
  while improving strategic productivity.  Learn More!
  http://www.accelacomm.com/jaw/sdnl/114/51507609/
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 --
 10 Tips for Better Server Consolidation
 Server virtualization is being driven by many needs.  
 But none more important than the need to reduce IT complexity 
 while improving strategic productivity.  Learn More! 
 http://www.accelacomm.com/jaw/sdnl/114/51507609/
 ___
 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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][elm_config] Add pinch zoom enable configuration

2011-12-20 Thread The Rasterman
On Fri, 16 Dec 2011 17:35:16 +0900 Daniel Juyung Seo seojuyu...@gmail.com
said:

 On Thu, Dec 15, 2011 at 11:59 PM, Tom Hacohen
 tom.haco...@partner.samsung.com wrote:
  On 15/12/11 16:34, Bluezery wrote:
 
  I reflected Daniel's comments.  I added setter/getter APIs for all
  gesture configuration. :D
  Please review again.
 
 
  I have a couple of more suggestions:
  1. I'm very very sorry, I just saw something I missed in Daniel's comment,
  get/set APIs is actually not needed, sorry. :((( please remove.
  The reason for that is that those are configurations you set on the
  environment and should be of no concern to the programmer. I'm very sorry,
  but these should be removed. You can leave them there if you want, and I
  will gladly remove the to pay for my mistake.
 
 Thanks Tom. I agree with you here.
 If this is the 'patent' case, enabling that feature by apis doesn't sound
 good. Thanks for you comment.

agreed. programmer should simply try and use pinch gestures and if he doesnt
get any either its not possible (no multi-touch device) or, no emulated
gesture/input is being used (he really is looking at zoom not pinch so you can
emulate with mousehweels etc. or other actions like double tap and so on).
the programmer shouldn't decide by system configuration decides - if someone
wishes to violate the patent by turning it on, they can, but otherwise it's off
by default. in theory we maybe should also shoudl be able to compile out the
code to handle the bevhavior which at the app level will result in the same
thing as it being off in config - it just can never be turned on without a
recompile (freetype did this with bytecode hinting for many years).

 Daniel Juyung Seo (SeoZ)
 
  2. No need for wd-zoom_finger_enable, just use the elm config values, the
  only reasons the other values are there is that we thought people may want
  to change them manually (but as said in #1, we don't want that atm). This is
  a patent issue, it should not be manually overridden per object, really no
  use for that.
  3. There are still unrelated format changes (for example in
  Elementary.h.in).
  4. The error message should explain more about why it's disabled and what to
  do to enable it (config).
 
  Again, I'm very sorry. :(
 
 
  Configuration may be added later for rotation with finger and lines
  with fingers, etc.
  There exist a lot of damn patents :(
 
 
  Yeah. :(
 
 
  Apple actually doesn't have a patent on pinch-to-zoom but have limited.
  :p
  Please refers:
  http://www.engadget.com/2010/10/13/apple-awarded-limited-patent-on-pinch-to-zoom/
  Anyway, we should be able to configure gestures with fingers because
  we cannot recognize overall patents.
 
 
  I actually remember this link, read it before, but I will read it again,
  thanks.
 
  --
  Tom.
 
 --
 Learn Windows Azure Live!  Tuesday, Dec 13, 2011
 Microsoft is holding a special Learn Windows Azure training event for 
 developers. It will provide a great way to learn Windows Azure and what it 
 provides. You can attend the event by watching it streamed LIVE online.  
 Learn more at http://p.sf.net/sfu/ms-windowsazure
 ___
 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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: leif trunk/e/src/bin

2011-12-20 Thread Leif Middelschulte
Am 20.12.2011 um 06:58 schrieb Carsten Haitzler (The Rasterman) 
ras...@rasterman.com 
 :

 On Wed, 14 Dec 2011 19:52:42 +0100 Leif Middelschulte
 leif.middelschu...@gmail.com said:

 mh - over on the e-users list is reporting black screen problems as  
 a result of
 this... :( did you see?
No, sorry am not subscribed to the users list. Could you please  
forward it or encourage the affected user to open a ticket with bt if  
possible?

 Hello everyone,

 after my first couple of commits, I want to ask you for testing of  
 the
 stuff I did:

 Disclaimer:
 Event polling is not implemented yet. So events like monitor
 (dis)connected are not noticed automatically by e yet.
 So you have (amongst others) these two options to force X into  
 sending
 events to e:
 -switch to vterm and back
 or
 -call xrandr (without any arguments iirc)

 What works for me right now:
 -Enabling monitors
 -change modes
 -set policy
 -re(store) policy permanently

 Please give it a try.

 Thanks in advance,

 Leif

 2011/12/14 Enlightenment SVN no-re...@enlightenment.org:
 Log:
 Fix some wording and spelling.

 Author:   leif
 Date: 2011-12-14 09:37:43 -0800 (Wed, 14 Dec 2011)
 New Revision: 66221
 Trac: http://trac.enlightenment.org/e/changeset/66221

 Modified:
  trunk/e/src/bin/e_randr.c

 Modified: trunk/e/src/bin/e_randr.c
 ===
 --- trunk/e/src/bin/e_randr.c   2011-12-14 17:37:38 UTC (rev 66220)
 +++ trunk/e/src/bin/e_randr.c   2011-12-14 17:37:43 UTC (rev 66221)
 @@ -544,7 +544,7 @@
  _e_randr_crtc_info_set(E_Randr_Crtc_Info *crtc_info)
  {
Ecore_X_Randr_Mode mode = 0;
 -   fprintf(stderr, Fillng CRTC %d (%p)\n, crtc_info-xid,  
 crtc_info);
 +   fprintf(stderr, E_RANDR: Filling CRTC %d (%p)\n, crtc_info- 
 xid,
 crtc_info); if (E_RANDR_NO_12 || !crtc_info) return;

//get references to used and possible E_Randr_Output_Info structs
 @@ -553,9 +553,9 @@
ecore_x_randr_crtc_geometry_get(e_randr_screen_info-root,
 crtc_info-xid, crtc_info-geometry.x, crtc_info-geometry.y,
 crtc_info-geometry.w, crtc_info-geometry.h); mode =
 ecore_x_randr_crtc_mode_get(e_randr_screen_info-root, crtc_info- 
 xid);
 crtc_info-current_mode = _e_randr_mode_info_get(mode);
 -   fprintf(stderr, CRTC %x apparently is in mode %x, trying to  
 find it in
 the list of modes..\n, crtc_info-xid, mode);
 +   fprintf(stderr, E_RANDR:\t CRTC %x apparently is in mode %x,  
 trying to
 find it in the list of modes..\n, crtc_info-xid, mode); if
 (crtc_info-current_mode)
 - fprintf(stderr, found CRTC %d in mode %d\n, crtc_info-xid,
 crtc_info-current_mode-xid);
 + fprintf(stderr, E_RANDR:\t\t found CRTC %d in mode %d\n,
 crtc_info-xid, crtc_info-current_mode-xid);
 crtc_info-current_orientation = ecore_x_randr_crtc_orientation_get
 (e_randr_screen_info-root, crtc_info-xid); if
 (crtc_info-outputs_common_modes) { @@ -1517,18 +1517,8 @@
  EAPI Eina_Bool
  e_randr_try_restore_configuration(E_Randr_Screen_Info *si)
  {
 -   //if (!e_config || !e_config-randr_serialized_setup) return  
 EINA_FALSE;
 +   if (!e_config || !e_config-randr_serialized_setup) return  
 EINA_FALSE;

 -   if (!e_config)
 - {
 -fprintf(stderr, E_RANDR: Trying to restore setup, but  
 e_config
 isn't there!.\n);
 -return EINA_FALSE;
 - }
 -   if (!e_config-randr_serialized_setup)
 - {
 -fprintf(stderr, E_RANDR: Trying to restore setup, but no  
 setup
 was stored!.\n);
 -return EINA_FALSE;
 - }
if (si-randr_version == ECORE_X_RANDR_1_1)
  return _e_randr_try_restore_11(si-rrvd_info.randr_info_11);
else if (si-randr_version = ECORE_X_RANDR_1_2)


 --- 
 --- 
 --- 
 --- 
 --
 Cloud Computing - Latest Buzzword or a Glimpse of the Future?
 This paper surveys cloud computing today: What are the benefits?
 Why are businesses embracing it? What are its payoffs and pitfalls?
 http://www.accelacomm.com/jaw/sdnl/114/51425149/
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn



 -- 
 Leif

 --- 
 --- 
 --- 
 -
 Cloud Computing - Latest Buzzword or a Glimpse of the Future?
 This paper surveys cloud computing today: What are the benefits?
 Why are businesses embracing it? What are its payoffs and pitfalls?
 http://www.accelacomm.com/jaw/sdnl/114/51425149/
 ___
 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


--
Write once. Port to 

Re: [E-devel] [Patch][ecore_con_url] Add proxy timeout set API

2011-12-20 Thread The Rasterman
On Mon, 19 Dec 2011 18:07:10 +0900 Bluezery ohpo...@gmail.com said:

ecore_con_url_proxy_set() should return Eina_Bool (EINA_TRUE for success,
EINA_FALSE for failure).

 Hi,
 
 I merged with recent revision.
 Please review this :p.
 
 2011/12/16 Bluezery ohpo...@gmail.com:
  I fixed doc  ChangeLog  News.
 
  2011/12/16 Carsten Haitzler ras...@rasterman.com:
 
  if they want to dynamically adjust the feature should be in ecore_con to
  track the changes and adjust automatically :)
 
  --
  BRs,
  Kim.
 
 
 
 -- 
 BRs,
 Kim.


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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: leif trunk/e/src/bin

2011-12-20 Thread The Rasterman
On Tue, 20 Dec 2011 11:52:48 +0100 Leif Middelschulte
leif.middelschu...@gmail.com said:

 Am 20.12.2011 um 06:58 schrieb Carsten Haitzler (The Rasterman)
 ras...@rasterman.com 
  :
 
  On Wed, 14 Dec 2011 19:52:42 +0100 Leif Middelschulte
  leif.middelschu...@gmail.com said:
 
  mh - over on the e-users list is reporting black screen problems as  
  a result of
  this... :( did you see?
 No, sorry am not subscribed to the users list. Could you please  
 forward it or encourage the affected user to open a ticket with bt if  
 possible?

there is no bt - this commit just makes their screens blank - something to do
with setting up randr - so no crash to talk of but screen gets mis-configured.
attached email from e-users.

 
  Hello everyone,
 
  after my first couple of commits, I want to ask you for testing of  
  the
  stuff I did:
 
  Disclaimer:
  Event polling is not implemented yet. So events like monitor
  (dis)connected are not noticed automatically by e yet.
  So you have (amongst others) these two options to force X into  
  sending
  events to e:
  -switch to vterm and back
  or
  -call xrandr (without any arguments iirc)
 
  What works for me right now:
  -Enabling monitors
  -change modes
  -set policy
  -re(store) policy permanently
 
  Please give it a try.
 
  Thanks in advance,
 
  Leif
 
  2011/12/14 Enlightenment SVN no-re...@enlightenment.org:
  Log:
  Fix some wording and spelling.
 
  Author:   leif
  Date: 2011-12-14 09:37:43 -0800 (Wed, 14 Dec 2011)
  New Revision: 66221
  Trac: http://trac.enlightenment.org/e/changeset/66221
 
  Modified:
   trunk/e/src/bin/e_randr.c
 
  Modified: trunk/e/src/bin/e_randr.c
  ===
  --- trunk/e/src/bin/e_randr.c   2011-12-14 17:37:38 UTC (rev 66220)
  +++ trunk/e/src/bin/e_randr.c   2011-12-14 17:37:43 UTC (rev 66221)
  @@ -544,7 +544,7 @@
   _e_randr_crtc_info_set(E_Randr_Crtc_Info *crtc_info)
   {
 Ecore_X_Randr_Mode mode = 0;
  -   fprintf(stderr, Fillng CRTC %d (%p)\n, crtc_info-xid,  
  crtc_info);
  +   fprintf(stderr, E_RANDR: Filling CRTC %d (%p)\n, crtc_info- 
  xid,
  crtc_info); if (E_RANDR_NO_12 || !crtc_info) return;
 
 //get references to used and possible E_Randr_Output_Info structs
  @@ -553,9 +553,9 @@
 ecore_x_randr_crtc_geometry_get(e_randr_screen_info-root,
  crtc_info-xid, crtc_info-geometry.x, crtc_info-geometry.y,
  crtc_info-geometry.w, crtc_info-geometry.h); mode =
  ecore_x_randr_crtc_mode_get(e_randr_screen_info-root, crtc_info- 
  xid);
  crtc_info-current_mode = _e_randr_mode_info_get(mode);
  -   fprintf(stderr, CRTC %x apparently is in mode %x, trying to  
  find it in
  the list of modes..\n, crtc_info-xid, mode);
  +   fprintf(stderr, E_RANDR:\t CRTC %x apparently is in mode %x,  
  trying to
  find it in the list of modes..\n, crtc_info-xid, mode); if
  (crtc_info-current_mode)
  - fprintf(stderr, found CRTC %d in mode %d\n, crtc_info-xid,
  crtc_info-current_mode-xid);
  + fprintf(stderr, E_RANDR:\t\t found CRTC %d in mode %d\n,
  crtc_info-xid, crtc_info-current_mode-xid);
  crtc_info-current_orientation = ecore_x_randr_crtc_orientation_get
  (e_randr_screen_info-root, crtc_info-xid); if
  (crtc_info-outputs_common_modes) { @@ -1517,18 +1517,8 @@
   EAPI Eina_Bool
   e_randr_try_restore_configuration(E_Randr_Screen_Info *si)
   {
  -   //if (!e_config || !e_config-randr_serialized_setup) return  
  EINA_FALSE;
  +   if (!e_config || !e_config-randr_serialized_setup) return  
  EINA_FALSE;
 
  -   if (!e_config)
  - {
  -fprintf(stderr, E_RANDR: Trying to restore setup, but  
  e_config
  isn't there!.\n);
  -return EINA_FALSE;
  - }
  -   if (!e_config-randr_serialized_setup)
  - {
  -fprintf(stderr, E_RANDR: Trying to restore setup, but no  
  setup
  was stored!.\n);
  -return EINA_FALSE;
  - }
 if (si-randr_version == ECORE_X_RANDR_1_1)
   return _e_randr_try_restore_11(si-rrvd_info.randr_info_11);
 else if (si-randr_version = ECORE_X_RANDR_1_2)
 
 
  --- 
  --- 
  --- 
  --- 
  --
  Cloud Computing - Latest Buzzword or a Glimpse of the Future?
  This paper surveys cloud computing today: What are the benefits?
  Why are businesses embracing it? What are its payoffs and pitfalls?
  http://www.accelacomm.com/jaw/sdnl/114/51425149/
  ___
  enlightenment-svn mailing list
  enlightenment-...@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
 
 
 
  -- 
  Leif
 
  --- 
  --- 
  --- 
  -
  Cloud Computing - Latest Buzzword or a Glimpse of the Future?
  This paper surveys cloud computing today: What are the benefits?
  Why are businesses embracing it? What are its payoffs and pitfalls?
  http://www.accelacomm.com/jaw/sdnl/114/51425149/
  

Re: [E-devel] [Patch][elm_config] Add pinch zoom enable configuration

2011-12-20 Thread David Seikel
On Tue, 20 Dec 2011 19:27:34 +0900 Carsten Haitzler (The Rasterman)
ras...@rasterman.com wrote:

 On Fri, 16 Dec 2011 17:35:16 +0900 Daniel Juyung Seo
 seojuyu...@gmail.com said:
 
  On Thu, Dec 15, 2011 at 11:59 PM, Tom Hacohen
  tom.haco...@partner.samsung.com wrote:
   On 15/12/11 16:34, Bluezery wrote:
  
   I reflected Daniel's comments.  I added setter/getter APIs for
   all gesture configuration. :D
   Please review again.
  
  
   I have a couple of more suggestions:
   1. I'm very very sorry, I just saw something I missed in Daniel's
   comment, get/set APIs is actually not needed, sorry. :((( please
   remove. The reason for that is that those are configurations you
   set on the environment and should be of no concern to the
   programmer. I'm very sorry, but these should be removed. You can
   leave them there if you want, and I will gladly remove the to pay
   for my mistake.
  
  Thanks Tom. I agree with you here.
  If this is the 'patent' case, enabling that feature by apis doesn't
  sound good. Thanks for you comment.
 
 agreed. programmer should simply try and use pinch gestures and if he
 doesnt get any either its not possible (no multi-touch device) or, no
 emulated gesture/input is being used (he really is looking at zoom
 not pinch so you can emulate with mousehweels etc. or other actions
 like double tap and so on). the programmer shouldn't decide by
 system configuration decides - if someone wishes to violate the
 patent by turning it on, they can, but otherwise it's off by default.
 in theory we maybe should also shoudl be able to compile out the code
 to handle the bevhavior which at the app level will result in the
 same thing as it being off in config - it just can never be turned on
 without a recompile (freetype did this with bytecode hinting for many
 years).

Debian for one would definitely prefer patent encumbered code to be
able to be compiled out.

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


signature.asc
Description: PGP signature
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][elm_config] Add pinch zoom enable configuration

2011-12-20 Thread Tom Hacohen
On 20/12/11 12:27, Carsten Haitzler (The Rasterman) wrote:
 agreed. programmer should simply try and use pinch gestures and if he doesnt
 get any either its not possible (no multi-touch device) or, no emulated
 gesture/input is being used (he really is looking at zoom not pinch so you can
 emulate with mousehweels etc. or other actions like double tap and so on).
 the programmer shouldn't decide by system configuration decides - if someone
 wishes to violate the patent by turning it on, they can, but otherwise it's 
 off
 by default. in theory we maybe should also shoudl be able to compile out the
 code to handle the bevhavior which at the app level will result in the same
 thing as it being off in config - it just can never be turned on without a
 recompile (freetype did this with bytecode hinting for many years).

Yep, freetype is the same example I had in mind.

--
Tom.


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ecore_main_loop_glib_integrate (leak)

2011-12-20 Thread Guilherme Silveira
Hi,
Yes, in blackfin the problem was fixed, any leak occurs in our little test..
I saw your commit and I have the same opinion about static_mutext, it's not
clear in the documentation..

Thanks man!!

Regards,

2011/12/20 Carsten Haitzler ras...@rasterman.com

 On Thu, 15 Dec 2011 13:30:07 -0200 Guilherme Silveira xgu...@gmail.com
 said:

 can you try this patch:

 http://yourpaste.net/9939/

 it doesnt seem to cause any bugs.crashes and it may fix the leak.

  I'm trying to help Benatto, and I found some strange things...
 
  When you call ecore_main_loop_glib_integrate(), it change main loop
  function to _ecore_glib_select (ecore_glib.c) instead of select (default
  one). I made some experiments and I saw when comment second line of
  function:
  GMutex *mutex = g_static_mutex_get_mutex(lock);
  the leak stop...
  But We use glib a long time in blackfin, and I ran the follow test:
 
  #include stdio.h
  #include glib.h
 
  int
  main(void)
  {
  for (;;) {
  GStaticMutex lock = G_STATIC_MUTEX_INIT;
  GMutex *mutex = g_static_mutex_get_mutex(lock);
  }
 
  return 0;
  }
 
  Any leak occurs, I hope this experiments help someone to help us..
 
  Regards,
 
  2011/12/14 Paulo Benatto bena...@gmail.com
 
   Hi all,
  
   I have a doubt about ecore_main_loop_glib_integrate() with
   ecore_timer_add(). I did the example below, I compiled it to blackfin
 and
   x86. My problem is, when I run in blackfin occurs a memory leak, in
 x86 is
   ok (without leak). Is something wrong with my code? Any tips? I'm
 going to
   study ecore code. Thanks.
  
   #include Elementary.h
   #include glib.h
  
   static Ecore_Timer *update_datetime_timer = NULL;
  
   static Eina_Bool
   _update_datetime_cb(void *data)
   {
  return EINA_TRUE;
   }
  
   EAPI int
   elm_main(int argc, char **argv)
   {
  (void)argc;
  (void)argv;
  
  g_type_init();
  ecore_main_loop_glib_integrate();
  ecore_event_init();
  
  update_datetime_timer = ecore_timer_add(0.01, _update_datetime_cb,
   NULL);
  
  elm_run();
  
  elm_shutdown();
  
  return 0;
   }
   ELM_MAIN()
  
   Regards,
  
   --
   Paulo Leonardo Benatto, patito
   the fear of being free, makes you proud of being a slave
  
  
 --
   Cloud Computing - Latest Buzzword or a Glimpse of the Future?
   This paper surveys cloud computing today: What are the benefits?
   Why are businesses embracing it? What are its payoffs and pitfalls?
   http://www.accelacomm.com/jaw/sdnl/114/51425149/
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
 
 
 
  --
  Eng. Guilherme Silveira
  E-mail: xgu...@gmail.com
  Nextel: (48) 7811-8418 / ID: 85*227765
 
 --
  10 Tips for Better Server Consolidation
  Server virtualization is being driven by many needs.
  But none more important than the need to reduce IT complexity
  while improving strategic productivity.  Learn More!
  http://www.accelacomm.com/jaw/sdnl/114/51507609/
  ___
  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




-- 
Eng. Guilherme Silveira
E-mail: xgu...@gmail.com
Nextel: (48) 7811-8418 / ID: 85*227765
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ecore_main_loop_glib_integrate (leak)

2011-12-20 Thread The Rasterman
On Tue, 20 Dec 2011 10:03:16 -0200 Guilherme Silveira xgu...@gmail.com said:

 Hi,
 Yes, in blackfin the problem was fixed, any leak occurs in our little test..
 I saw your commit and I have the same opinion about static_mutext, it's not
 clear in the documentation..

cool. will backport :)

 Thanks man!!
 
 Regards,
 
 2011/12/20 Carsten Haitzler ras...@rasterman.com
 
  On Thu, 15 Dec 2011 13:30:07 -0200 Guilherme Silveira xgu...@gmail.com
  said:
 
  can you try this patch:
 
  http://yourpaste.net/9939/
 
  it doesnt seem to cause any bugs.crashes and it may fix the leak.
 
   I'm trying to help Benatto, and I found some strange things...
  
   When you call ecore_main_loop_glib_integrate(), it change main loop
   function to _ecore_glib_select (ecore_glib.c) instead of select (default
   one). I made some experiments and I saw when comment second line of
   function:
   GMutex *mutex = g_static_mutex_get_mutex(lock);
   the leak stop...
   But We use glib a long time in blackfin, and I ran the follow test:
  
   #include stdio.h
   #include glib.h
  
   int
   main(void)
   {
   for (;;) {
   GStaticMutex lock = G_STATIC_MUTEX_INIT;
   GMutex *mutex = g_static_mutex_get_mutex(lock);
   }
  
   return 0;
   }
  
   Any leak occurs, I hope this experiments help someone to help us..
  
   Regards,
  
   2011/12/14 Paulo Benatto bena...@gmail.com
  
Hi all,
   
I have a doubt about ecore_main_loop_glib_integrate() with
ecore_timer_add(). I did the example below, I compiled it to blackfin
  and
x86. My problem is, when I run in blackfin occurs a memory leak, in
  x86 is
ok (without leak). Is something wrong with my code? Any tips? I'm
  going to
study ecore code. Thanks.
   
#include Elementary.h
#include glib.h
   
static Ecore_Timer *update_datetime_timer = NULL;
   
static Eina_Bool
_update_datetime_cb(void *data)
{
   return EINA_TRUE;
}
   
EAPI int
elm_main(int argc, char **argv)
{
   (void)argc;
   (void)argv;
   
   g_type_init();
   ecore_main_loop_glib_integrate();
   ecore_event_init();
   
   update_datetime_timer = ecore_timer_add(0.01, _update_datetime_cb,
NULL);
   
   elm_run();
   
   elm_shutdown();
   
   return 0;
}
ELM_MAIN()
   
Regards,
   
--
Paulo Leonardo Benatto, patito
the fear of being free, makes you proud of being a slave
   
   
  --
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
   
  
  
  
   --
   Eng. Guilherme Silveira
   E-mail: xgu...@gmail.com
   Nextel: (48) 7811-8418 / ID: 85*227765
  
  --
   10 Tips for Better Server Consolidation
   Server virtualization is being driven by many needs.
   But none more important than the need to reduce IT complexity
   while improving strategic productivity.  Learn More!
   http://www.accelacomm.com/jaw/sdnl/114/51507609/
   ___
   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
 
 
 
 
 -- 
 Eng. Guilherme Silveira
 E-mail: xgu...@gmail.com
 Nextel: (48) 7811-8418 / ID: 85*227765
 --
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development. Create 
 new or port existing apps to sell to consumers worldwide. Explore the 
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev

[E-devel] Possible leak in e_connman

2011-12-20 Thread Guillaume Friloux
Hello e people.


I think i got a memory leak using e_connman.
Everytime i plug/unplug a network cable on one of my network cards, dbus
sends messages about it.
But everytime its done, it seems to leak some bytes.

How to reproduce :
- go to trunk/e_dbus/src/bin/
- run e_dbus_connman0_7x_test
- Plug/Unplug multiple times your network card

Here is what valgrind tells me :
kuri[@]Jetdail(15:41:02)[~/Apps/e17/e_dbus/src/bin]
$ valgrind --leak-check=full --trace-children=yes ./e_dbus_connman0_7x_test
-- Cutted useless info --
^CDBG: clean exit.
==14947==
==14947== HEAP SUMMARY:
==14947== in use at exit: 25,641 bytes in 159 blocks
==14947== total heap usage: 7,095 allocs, 6,201 frees, 2,282,863 bytes
allocated
==14947==
==14947== 144 bytes in 1 blocks are definitely lost in loss record 38 of 61
==14947== at 0x4C27024: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14947== by 0x5267BE4: _ecore_signal_call (ecore_signal.c:325)
==14947== by 0x5268134: _ecore_signal_received_process (ecore_signal.c:127)
==14947== by 0x5261916: _ecore_main_loop_iterate_internal
(ecore_main.c:1842)
==14947== by 0x5261D9E: ecore_main_loop_begin (ecore_main.c:887)
==14947== by 0x402F41: main (e_dbus_connman0_7x_test.c:1714)
==14947==
==14947== 2,304 (864 direct, 1,440 indirect) bytes in 12 blocks are
definitely lost in loss record 56 of 61
==14947== at 0x4C27024: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14947== by 0x5B69956: _dbus_pending_call_new_unlocked
(dbus-pending-call.c:109)
==14947== by 0x5B5A4EE: dbus_connection_send_with_reply
(dbus-connection.c:3379)
==14947== by 0x4E34A1B: e_dbus_message_send (e_dbus_message.c:67)
==14947== by 0x5042C13: e_connman_element_message_send
(e_connman_element.c:1159)
==14947== by 0x5042EE0: e_connman_element_call_full
(e_connman_element.c:1189)
==14947== by 0x5042FF1: e_connman_element_sync_properties_full
(e_connman_element.c:1396)
==14947== by 0x504571E: _e_connman_element_item_register
(e_connman_element.c:469)
==14947== by 0x5045954: _e_connman_element_iter_get_array
(e_connman_element.c:1261)
==14947== by 0x5046879: _e_connman_element_property_changed_callback
(e_connman_element.c:2318)
==14947== by 0x4E3762D: cb_signal_dispatcher (e_dbus_signal.c:272)
==14947== by 0x4E33593: e_dbus_filter (e_dbus.c:419)
==14947==
==14947== LEAK SUMMARY:
==14947== definitely lost: 1,008 bytes in 13 blocks
==14947== indirectly lost: 1,440 bytes in 48 blocks
==14947== possibly lost: 0 bytes in 0 blocks
==14947== still reachable: 23,193 bytes in 98 blocks
==14947== suppressed: 0 bytes in 0 blocks
==14947== Reachable blocks (those to which a pointer was found) are not
shown.
==14947== To see them, rerun with: --leak-check=full --show-reachable=yes
==14947==
==14947== For counts of detected and suppressed errors, rerun with: -v
==14947== Use --track-origins=yes to see where uninitialised values come
from
==14947== ERROR SUMMARY: 57 errors from 27 contexts (suppressed: 4 from 4)


So the problem seems to be that in “e_dbus_message_send()”, “pending”
gets allocated, and ends up getting queued in
element-_pending.properties_get by
“e_connman_element_sync_properties_full” in “e_connman_element.c” and
then it is never freed.

I don't know if the problem is e_connman, or the test program because i
lack knowledge to understand the situation.
attachment: guillaume_friloux.vcf

signature.asc
Description: OpenPGP digital signature
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Possible leak in e_connman

2011-12-20 Thread Gustavo Sverzut Barbieri
2011/12/20 Guillaume Friloux guillaume.fril...@asp64.com:
 Hello e people.


 I think i got a memory leak using e_connman.
 Everytime i plug/unplug a network cable on one of my network cards, dbus
 sends messages about it.
 But everytime its done, it seems to leak some bytes.

 How to reproduce :
 - go to trunk/e_dbus/src/bin/
 - run e_dbus_connman0_7x_test
 - Plug/Unplug multiple times your network card

 Here is what valgrind tells me :
 kuri[@]Jetdail(15:41:02)[~/Apps/e17/e_dbus/src/bin]
 $ valgrind --leak-check=full --trace-children=yes ./e_dbus_connman0_7x_test
 -- Cutted useless info --
 ^CDBG: clean exit.
 ==14947==
 ==14947== HEAP SUMMARY:
 ==14947== in use at exit: 25,641 bytes in 159 blocks
 ==14947== total heap usage: 7,095 allocs, 6,201 frees, 2,282,863 bytes
 allocated
 ==14947==
 ==14947== 144 bytes in 1 blocks are definitely lost in loss record 38 of 61
 ==14947== at 0x4C27024: calloc (in
 /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
 ==14947== by 0x5267BE4: _ecore_signal_call (ecore_signal.c:325)
 ==14947== by 0x5268134: _ecore_signal_received_process (ecore_signal.c:127)
 ==14947== by 0x5261916: _ecore_main_loop_iterate_internal
 (ecore_main.c:1842)
 ==14947== by 0x5261D9E: ecore_main_loop_begin (ecore_main.c:887)
 ==14947== by 0x402F41: main (e_dbus_connman0_7x_test.c:1714)
 ==14947==

if this part is a bug, likely not from e_dbus/e_connman. Likely the
signal was not dispatched by ecore and ecore_signal_shutdown() does
not seem to clean it.

however it added an ecore_event, and _ecore_event_shutdown(), if
called, should delete all events.

last but not least, this ecore_signal.c uses _ecore_event_add() with
free_func=NULL, while this turns into _ecore_event_generic_free
(free()) for ecore_event_add(), for this underscore version it does
not. So who added it would need to check why, svn says that line (333)
was changed in http://trac.enlightenment.org/e/changeset/61851 so I'd
talk to mike_m.


 ==14947== 2,304 (864 direct, 1,440 indirect) bytes in 12 blocks are
 definitely lost in loss record 56 of 61
 ==14947== at 0x4C27024: calloc (in
 /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
 ==14947== by 0x5B69956: _dbus_pending_call_new_unlocked
 (dbus-pending-call.c:109)
 ==14947== by 0x5B5A4EE: dbus_connection_send_with_reply
 (dbus-connection.c:3379)
 ==14947== by 0x4E34A1B: e_dbus_message_send (e_dbus_message.c:67)
 ==14947== by 0x5042C13: e_connman_element_message_send
 (e_connman_element.c:1159)
 ==14947== by 0x5042EE0: e_connman_element_call_full
 (e_connman_element.c:1189)
 ==14947== by 0x5042FF1: e_connman_element_sync_properties_full
 (e_connman_element.c:1396)
 ==14947== by 0x504571E: _e_connman_element_item_register
 (e_connman_element.c:469)
 ==14947== by 0x5045954: _e_connman_element_iter_get_array
 (e_connman_element.c:1261)
 ==14947== by 0x5046879: _e_connman_element_property_changed_callback
 (e_connman_element.c:2318)
 ==14947== by 0x4E3762D: cb_signal_dispatcher (e_dbus_signal.c:272)
 ==14947== by 0x4E33593: e_dbus_filter (e_dbus.c:419)

...

 So the problem seems to be that in “e_dbus_message_send()”, “pending”
 gets allocated, and ends up getting queued in
 element-_pending.properties_get by
 “e_connman_element_sync_properties_full” in “e_connman_element.c” and
 then it is never freed.

 I don't know if the problem is e_connman, or the test program because i
 lack knowledge to understand the situation.


same as above, seems a termination/shutdown problem, not runtime leak.
as you said e_dbus_message_send() gets added to the list *pending
that is element-_pending.properties_get.

if the function returns from DBus, then
e_connman_element_call_dispatch_and_free() is called and it will
remove from list and get the memory from data-pending, freeing it at
the end.

if it's not, then on e_connman_element_unref() it will call
e_connman_element_free() and it will call
e_connman_element_pending_cancel_and_free(element-_pending.properties_get);
This will call the dispatch_and_free() with an error for every pending
call.

Then likely the refcount does not get to zero for some reason.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: leif trunk/e/src/bin

2011-12-20 Thread Leif Middelschulte
Hi Andrea,

sorry to hear you're facing issues.

Am 20.12.2011 um 12:52 schrieb Andrea Suisani sick...@opinioni.net:

 Hi all,

 On 12/20/2011 11:52 AM, Leif Middelschulte wrote:
 Am 20.12.2011 um 06:58 schrieb Carsten Haitzler (The 
 Rasterman)ras...@rasterman.com
  :

 On Wed, 14 Dec 2011 19:52:42 +0100 Leif Middelschulte
 leif.middelschu...@gmail.com  said:

 mh - over on the e-users list is reporting black screen problems as
 a result of
 this... :( did you see?
 No, sorry am not subscribed to the users list. Could you please
 forward it or encourage the affected user to open a ticket with bt if
 possible?

 I have the same problem as mh.
 I've just rebuilt e from scratch
 using easy_e17.sh, with those options

 --srcpath=path_to_e17_src -i --clean --packagelist=half

 but I continue to got a blank screen

 attached all startx output (stdout+stderr)
 and only stderr

 I'm glad to provide more info if needed
What driver? Maybe something was broken there?
It works just fine over here :-/

Your logs state that the randr isn't available on your display.
Nevertheless, can you verify that e works for you using a revision  
immediately prior to the affected one?

 andrea
 std.txt
 stderr.txt
 --- 
 --- 
 --- 
 -
 Write once. Port to many.
 Get the SDK and tools to simplify cross-platform app development.  
 Create
 new or port existing apps to sell to consumers worldwide. Explore the
 Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
 http://p.sf.net/sfu/intel-appdev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric trunk/eio/src/lib

2011-12-20 Thread Daniel Juyung Seo
Spank, spank spank!!! eddrrriiiccc
Where's eio_map.c?
I temporarily removed eio_map.c from build.
Please add it.

Daniel Juyung Seo (SeoZ)

On Wed, Dec 21, 2011 at 2:35 AM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 eio: add API for eina_file_open and like.

  tweet: now Eio can help you load your file assynchronously !


 Author:       cedric
 Date:         2011-12-20 09:35:41 -0800 (Tue, 20 Dec 2011)
 New Revision: 66397
 Trac:         http://trac.enlightenment.org/e/changeset/66397

 Modified:
  trunk/eio/src/lib/Eio.h trunk/eio/src/lib/Makefile.am 
 trunk/eio/src/lib/eio_private.h

 Modified: trunk/eio/src/lib/Eio.h
 ===
 --- trunk/eio/src/lib/Eio.h     2011-12-20 17:25:54 UTC (rev 66396)
 +++ trunk/eio/src/lib/Eio.h     2011-12-20 17:35:41 UTC (rev 66397)
 @@ -123,6 +123,10 @@
  typedef void (*Eio_Stat_Cb)(void *data, Eio_File *handler, const struct stat 
 *stat);
  typedef void (*Eio_Progress_Cb)(void *data, Eio_File *handler, const 
 Eio_Progress *info);

 +typedef void (*Eio_Open_Cb)(void *data, Eio_File *handler, Eina_File *file);
 +typedef Eina_Bool (*Eio_Filter_Map_Cb)(void *data, Eio_File *handler, void 
 *map);
 +typedef void (*Eio_Map_Cb)(void *data, Eio_File *handler, void *map);
 +
  typedef void (*Eio_Done_Data_Cb)(void *data, Eio_File *handler, const char 
 *xattr_data, unsigned int xattr_size);
  typedef void (*Eio_Done_String_Cb)(void *data, Eio_File *handler, const char 
 *xattr_string);
  typedef void (*Eio_Done_Double_Cb)(void *data, Eio_File *handler, double 
 xattr_double);
 @@ -678,7 +682,87 @@
  /**
  *
  */
 +
  /**
 + * @defgroup Eio_Map Manipulate an Eina_File assynchronously
 + *
 + * @brief This function help manipulating file assynchronously.
 + */
 +
 +/**
 + * @brief Assynchronously open a file.
 + * @param name The file to open.
 + * @param shared If it's an shm file.
 + * @param open_cb Callback called in the main loop when the file has been 
 successfully opened.
 + * @param error_cb Callback called in the main loop when the file couldn't 
 be opened.
 + * @param data Private data given to each callback.
 + * @return NULL in case of a failure.
 + */
 +EAPI Eio_File *eio_file_open(const char *name, Eina_Bool shared,
 +                             Eio_Open_Cb open_cb,
 +                             Eio_Error_Cb error_cb,
 +                             const void *data);
 +
 +/**
 + * @brief Assynchronously close a file.
 + * @param f The file to close.
 + * @param done_cb Callback called in the main loop when the file has been 
 successfully closed.
 + * @param error_cb Callback called in the main loop when the file couldn't 
 be closed.
 + * @param data Private data given to each callback.
 + * @return NULL in case of a failure.
 + */
 +EAPI Eio_File *eio_file_close(Eina_File *f,
 +                              Eio_Done_Cb done_cb,
 +                              Eio_Error_Cb error_cb,
 +                              const void *data);
 +
 +/**
 + * @brief Assynchronously map a file in memory.
 + * @param f The file to map.
 + * @param rule The rule to apply to the map.
 + * @param filter_cb Callback called in the thread to validate the content of 
 the map.
 + * @param map_cb Callback called in the main loop when the file has been 
 successfully mapped.
 + * @param error_cb Callback called in the main loop when the file can't be 
 mapped.
 + * @param data Private data given to each callback.
 + * @return NULL in case of a failure.
 + *
 + * The container of the Eio_File is the Eina_File.
 + */
 +EAPI Eio_File *eio_file_map_all(Eina_File *f,
 +                                Eina_File_Populate rule,
 +                                Eio_Filter_Map_Cb filter_cb,
 +                                Eio_Map_Cb map_cb,
 +                                Eio_Error_Cb error_cb,
 +                                const void *data);
 +
 +/**
 + * @brief Assynchronously map a part of a file in memory.
 + * @param f The file to map.
 + * @param rule The rule to apply to the map.
 + * @param offset The offset inside the file
 + * @param length The length of the memory to map
 + * @param filter_cb Callback called in the thread to validate the content of 
 the map.
 + * @param map_cb Callback called in the main loop when the file has been 
 successfully mapped.
 + * @param error_cb Callback called in the main loop when the file can't be 
 mapped.
 + * @param data Private data given to each callback.
 + * @return NULL in case of a failure.
 + *
 + * The container of the Eio_File is the Eina_File.
 + */
 +EAPI Eio_File *eio_file_map_new(Eina_File *f,
 +                                Eina_File_Populate rule,
 +                                unsigned long int offset,
 +                                unsigned long int length,
 +                                Eio_Filter_Map_Cb filter_cb,
 +                                Eio_Map_Cb map_cb,
 +                                

Re: [E-devel] [Patch][elm_config] Add pinch zoom enable configuration

2011-12-20 Thread Bluezery
2011/12/20 Tom Hacohen tom.haco...@partner.samsung.com:
 On 20/12/11 12:27, Carsten Haitzler (The Rasterman) wrote:
 agreed. programmer should simply try and use pinch gestures and if he doesnt
 get any either its not possible (no multi-touch device) or, no emulated
 gesture/input is being used (he really is looking at zoom not pinch so you 
 can
 emulate with mousehweels etc. or other actions like double tap and so on).
 the programmer shouldn't decide by system configuration decides - if someone
 wishes to violate the patent by turning it on, they can, but otherwise it's 
 off
 by default. in theory we maybe should also shoudl be able to compile out the
 code to handle the bevhavior which at the app level will result in the same
 thing as it being off in config - it just can never be turned on without a
 recompile (freetype did this with bytecode hinting for many years).

 Yep, freetype is the same example I had in mind.


Thank you for your comments. :)
Besides, I have a question.
I know that bytecode interpreter was patented previously and It was
disabled at compile time in Freetype.
If so, bytecode interpreter was not included in released Freetype binary???
But elm_gesutre is built in when elementary binary is released and it
can be disabled at runtime time.

Does this have no problems?? Anyway, I hate damn patent :-(.

-- 
BRs,
Kim.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch] elm_cnp_helper - bugfix mixing with ecore selection set apis

2011-12-20 Thread Michael Blumenkrantz
On Tue, 20 Dec 2011 18:57:25 +0900
Hyoyoung Chang hyoyo...@gmail.com wrote:

 Dear all
 
 When ecore selection set apis(such as ecore_x_selection_clipboard_set)
 used in elementary,
 Some data is not pasted to elementary widgets.
 It's due to mix ecore selection with elementary selection apis.
 
 Data which by ecore doesn't have TARGETS information,
 so elementary make it up with TARGETS Information for copying  pasting.
 
 Thank you.
in

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][elm_config] Add pinch zoom enable configuration

2011-12-20 Thread The Rasterman
On Wed, 21 Dec 2011 11:44:29 +0900 Bluezery ohpo...@gmail.com said:

 2011/12/20 Tom Hacohen tom.haco...@partner.samsung.com:
  On 20/12/11 12:27, Carsten Haitzler (The Rasterman) wrote:
  agreed. programmer should simply try and use pinch gestures and if he
  doesnt get any either its not possible (no multi-touch device) or, no
  emulated gesture/input is being used (he really is looking at zoom not
  pinch so you can emulate with mousehweels etc. or other actions like
  double tap and so on). the programmer shouldn't decide by system
  configuration decides - if someone wishes to violate the patent by turning
  it on, they can, but otherwise it's off by default. in theory we maybe
  should also shoudl be able to compile out the code to handle the bevhavior
  which at the app level will result in the same thing as it being off in
  config - it just can never be turned on without a recompile (freetype did
  this with bytecode hinting for many years).
 
  Yep, freetype is the same example I had in mind.
 
 
 Thank you for your comments. :)
 Besides, I have a question.
 I know that bytecode interpreter was patented previously and It was
 disabled at compile time in Freetype.
 If so, bytecode interpreter was not included in released Freetype binary???
 But elm_gesutre is built in when elementary binary is released and it
 can be disabled at runtime time.

well freetype offered just the compile-time switch. runtime the app requested
which kind of hinting they wanted via an api. as such efl always requested
bytecode, BUT if freetype didn't have bytecode hinting it would fall back i
think to autohinting. that patent has now expired so it's not relevant anymore,
but taking it as an example many linux distributions disabled bytecode hinting
entirely. others kept it enabled BUt configured everything by default to not
use it (use auto hinting). this seems to have worked quite well so far.

another thing that came to mind is... make the behavior pluggable. yes - it's a
workaround but this is the same workaround linux distros use for mp3. don't
ship with any mp3 codecs, but users can add them later themselves from 3rd
party packages. as such the vendor doesnt violate any patent. someone making a
module to recognize pinch events and pass out some zoom events is probably
not violating a patent as the patent probably covers a much wider pipeline and
such a module is simply translating/interpreting events. even if it violates,
it is just this 3rd party module that violates, not the system that it plugs
into.

so my advice to do this best is:

1. allow it to be compiled out OR even better - make it a module.
2. if you make a module, make sure that it can be built totally separately as a
stand-alone piece of software.
3. allow the module configuration to be able to bring it in and then enable the
feature *IF* a user installs the module and changes that config
4. leave it to 3rd parties to make such a tool or package that does that - if
they want. you just made it possible to do that and have an example. :)

 Does this have no problems?? Anyway, I hate damn patent :-(.

welcome to the club. :)

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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][ecore_con_url] Add proxy timeout set API

2011-12-20 Thread Bluezery
2011/12/20 Carsten Haitzler ras...@rasterman.com:
 On Mon, 19 Dec 2011 18:07:10 +0900 Bluezery ohpo...@gmail.com said:

 ecore_con_url_proxy_set() should return Eina_Bool (EINA_TRUE for success,
 EINA_FALSE for failure).

I implemented ecore_con_url_proxy_set() similar to ecore_con_url_ssl_ca_set().
But returning Eina_Bool is more suitable for EFL.

Anyway, I will change the patch as your comment.

-- 
BRs,
Kim.
Index: src/lib/ecore_file/ecore_file_download.c
===
--- src/lib/ecore_file/ecore_file_download.c	(리비전 66405)
+++ src/lib/ecore_file/ecore_file_download.c	(작업 사본)
@@ -15,6 +15,7 @@
 #ifdef BUILD_ECORE_CON
 
 #define ECORE_MAGIC_FILE_DOWNLOAD_JOB 0xf7427cb8
+#define ECORE_FILE_DOWNLOAD_TIMEOUT 30
 
 struct _Ecore_File_Download_Job
 {
@@ -361,6 +362,7 @@ _ecore_file_download_curl(const char *ur
  }
 
if (headers) eina_hash_foreach(headers, _ecore_file_download_headers_foreach_cb, job);
+   ecore_con_url_timeout_set(job-url_con, ECORE_FILE_DOWNLOAD_TIMEOUT);
ecore_con_url_fd_set(job-url_con, fileno(job-file));
ecore_con_url_data_set(job-url_con, data);
 
Index: src/lib/ecore_con/ecore_con_url.c
===
--- src/lib/ecore_con/ecore_con_url.c	(리비전 66405)
+++ src/lib/ecore_con/ecore_con_url.c	(작업 사본)
@@ -57,6 +57,7 @@ static void  _ecore_con_event_url_fr
void  *ev);
 static Eina_Bool _ecore_con_url_idler_handler(void *data);
 static Eina_Bool _ecore_con_url_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__);
+static Eina_Bool _ecore_con_url_timeout_cb(void *data);
 
 static Eina_List *_url_con_list = NULL;
 static Eina_List *_fd_hd_list = NULL;
@@ -294,12 +295,13 @@ ecore_con_url_free(Ecore_Con_Url *url_co
   {
  ret = curl_multi_remove_handle(_curlm, url_con-curl_easy);
  if (ret != CURLM_OK) ERR(curl_multi_remove_handle failed: %s, curl_multi_strerror(ret));
+ _url_con_list = eina_list_remove(_url_con_list, url_con);
   }
 
 curl_easy_cleanup(url_con-curl_easy);
  }
+   if (url_con-timer) ecore_timer_del(url_con-timer);
 
-   _url_con_list = eina_list_remove(_url_con_list, url_con);
curl_slist_free_all(url_con-headers);
EINA_LIST_FREE(url_con-additional_headers, s)
  free(s);
@@ -1067,12 +1069,93 @@ ecore_con_url_ssl_ca_set(Ecore_Con_Url *
return res;
 }
 
+EAPI Eina_Bool
+ecore_con_url_proxy_set(Ecore_Con_Url *url_con, const char *proxy)
+{
+#ifdef HAVE_CURL
+   int res = -1;
+   if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
+ {
+ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL, ecore_con_url_proxy_set);
+return EINA_FALSE;
+ }
+
+   if (eina_list_data_find(_url_con_list, url_con)) return EINA_FALSE;
+   if (!url_con-url) return EINA_FALSE;
+
+   if (proxy == NULL) res = curl_easy_setopt(url_con-curl_easy, CURLOPT_PROXY, );
+   else   res = curl_easy_setopt(url_con-curl_easy, CURLOPT_PROXY, proxy);
+
+   if (res != CURLE_OK)
+ {
+ERR(curl_easy_setopt() failed);
+return EINA_FALSE;
+ }
+   return EINA_TRUE;
+#else
+   return EINA_FALSE;
+   (void)url_con;
+   (void)proxy;
+#endif
+   return res;
+}
+
+EAPI void
+ecore_con_url_timeout_set(Ecore_Con_Url *url_con, double timeout)
+{
+#ifdef HAVE_CURL
+   if (!ECORE_MAGIC_CHECK(url_con, ECORE_MAGIC_CON_URL))
+ {
+ECORE_MAGIC_FAIL(url_con, ECORE_MAGIC_CON_URL, ecore_con_url_timeout_set);
+return;
+ }
+
+   if (eina_list_data_find(_url_con_list, url_con)) return;
+   if (!url_con-url || timeout  0) return;
+   if (url_con-timer) ecore_timer_del(url_con-timer);
+   url_con-timer = ecore_timer_add(timeout, _ecore_con_url_timeout_cb, url_con);
+#else
+   return;
+   (void)url_con;
+   (void)timeout;
+#endif
+}
 
 /**
  * @}
  */
 
 #ifdef HAVE_CURL
+static Eina_Bool
+_ecore_con_url_timeout_cb(void *data)
+{
+   Ecore_Con_Url *url_con = data;
+   CURLMcode ret;
+   Ecore_Con_Event_Url_Complete *e;
+
+   if (!url_con) return ECORE_CALLBACK_CANCEL;
+   if (!url_con-curl_easy) return ECORE_CALLBACK_CANCEL;
+   if (!eina_list_data_find(_url_con_list, url_con)) return ECORE_CALLBACK_CANCEL;
+
+   ret = curl_multi_remove_handle(_curlm, url_con-curl_easy);
+   if (ret != CURLM_OK) ERR(curl_multi_remove_handle failed: %s, curl_multi_strerror(ret));
+   _url_con_list = eina_list_remove(_url_con_list, url_con);
+
+   curl_slist_free_all(url_con-headers);
+   url_con-headers = NULL;
+
+   url_con-timer = NULL;
+
+   e = calloc(1, sizeof(Ecore_Con_Event_Url_Complete));
+   if (e)
+ {
+e-url_con = url_con;
+e-status = 0;
+ecore_event_add(ECORE_CON_EVENT_URL_COMPLETE, e, _ecore_con_event_url_free, NULL);
+ }
+   return ECORE_CALLBACK_CANCEL;
+}
+
 static size_t
 _ecore_con_url_data_cb(void  *buffer,
size_t size,
Index: 

Re: [E-devel] [PATCH] scim-EFL immodule

2011-12-20 Thread The Rasterman
On Fri, 16 Dec 2011 19:28:04 +0900 Jihoon Kim imfin...@gmail.com said:

 Hi, EFL developers.
 
 I'd like to contribute EFL-scim immodule.
 
 It will be useful to users who wants to input Chinese, Japanese, Korean,
 and a variety of languages that SCIM provides.
 
 You can build this module according to the below steps:
 
 # sudo apt-get install scim-dev
 # tar xvfz escim_immodule.tar.gz
 # cd escim_immodule
 # ./autogen.sh
 # make
 # sudo make install
 
 When you run, you should set environment variable 'ECORE_IMF_MODULE'
 # export ECORE_IMF_MODULE=scim
 # elementary_test
 
 Would you please review this patch and please let me know if this module
 can be put in EFL.

i took a look - wow.. it compiles with no warnings! *GASP*! awesome. :) and it.
works.. well with korean and japanese... though no hilighting of the
word/letter/phrase being composed in korean or japanese... but it works with an
external candidates list provided by scim. i was going to grumble about the c++
but as i looked at scim.. it is a c++ api :/... so if u can fix this up to be
like the xim immodule in ecore then yes - i'd say this can go in! :)


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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [patch] elc_multibuttonentry - delayed reset string

2011-12-20 Thread Hyoyoung Chang
Dear all.

I was sent email about elc_multibuttonentry's bug. It reviewed by seoz.
And he found some path can make segfault.
So I changed reset string position in the widget.

I patched resetting internal entry's position, before that some label
are broken by too early resetting.

Thank you.
Index: elementary/src/lib/elc_multibuttonentry.c
===
--- elementary/src/lib/elc_multibuttonentry.c   (리비전 66407)
+++ elementary/src/lib/elc_multibuttonentry.c   (작업 사본)
@@ -772,13 +772,13 @@
 if (!(item_filter-callback_func(obj, str, data, item_filter-data)))
   return NULL;
  }
-   //entry is cleared when text is made to button
-   elm_entry_entry_set(wd-entry, );
-
// add button
btn = edje_object_add(evas_object_evas_get(obj));
str_utf8 = elm_entry_markup_to_utf8(str);
 
+   //entry is cleared when text is made to button
+   elm_entry_entry_set(wd-entry, );
+
_elm_theme_object_set(obj, btn, multibuttonentry, btn, 
elm_widget_style_get(obj));
edje_object_part_text_set(btn, elm.btn.text, str_utf8);
edje_object_part_geometry_get(btn, elm.btn.text, NULL, NULL, width, 
height);
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][elm_config] Add pinch zoom enable configuration

2011-12-20 Thread Bluezery
2011/12/21 Carsten Haitzler ras...@rasterman.com:
 On Wed, 21 Dec 2011 11:44:29 +0900 Bluezery ohpo...@gmail.com said:

 2011/12/20 Tom Hacohen tom.haco...@partner.samsung.com:
  On 20/12/11 12:27, Carsten Haitzler (The Rasterman) wrote:
  agreed. programmer should simply try and use pinch gestures and if he
  doesnt get any either its not possible (no multi-touch device) or, no
  emulated gesture/input is being used (he really is looking at zoom not
  pinch so you can emulate with mousehweels etc. or other actions like
  double tap and so on). the programmer shouldn't decide by system
  configuration decides - if someone wishes to violate the patent by turning
  it on, they can, but otherwise it's off by default. in theory we maybe
  should also shoudl be able to compile out the code to handle the bevhavior
  which at the app level will result in the same thing as it being off in
  config - it just can never be turned on without a recompile (freetype did
  this with bytecode hinting for many years).
 
  Yep, freetype is the same example I had in mind.
 

 Thank you for your comments. :)
 Besides, I have a question.
 I know that bytecode interpreter was patented previously and It was
 disabled at compile time in Freetype.
 If so, bytecode interpreter was not included in released Freetype binary???
 But elm_gesutre is built in when elementary binary is released and it
 can be disabled at runtime time.

 well freetype offered just the compile-time switch. runtime the app requested
 which kind of hinting they wanted via an api. as such efl always requested
 bytecode, BUT if freetype didn't have bytecode hinting it would fall back i
 think to autohinting. that patent has now expired so it's not relevant 
 anymore,
 but taking it as an example many linux distributions disabled bytecode hinting
 entirely. others kept it enabled BUt configured everything by default to not
 use it (use auto hinting). this seems to have worked quite well so far.

 another thing that came to mind is... make the behavior pluggable. yes - it's 
 a
 workaround but this is the same workaround linux distros use for mp3. don't
 ship with any mp3 codecs, but users can add them later themselves from 3rd
 party packages. as such the vendor doesnt violate any patent. someone making 
 a
 module to recognize pinch events and pass out some zoom events is probably
 not violating a patent as the patent probably covers a much wider pipeline and
 such a module is simply translating/interpreting events. even if it violates,
 it is just this 3rd party module that violates, not the system that it plugs
 into.

 so my advice to do this best is:

 1. allow it to be compiled out OR even better - make it a module.
 2. if you make a module, make sure that it can be built totally separately as 
 a
 stand-alone piece of software.
 3. allow the module configuration to be able to bring it in and then enable 
 the
 feature *IF* a user installs the module and changes that config
 4. leave it to 3rd parties to make such a tool or package that does that - 
 if
 they want. you just made it possible to do that and have an example. :)

 Does this have no problems?? Anyway, I hate damn patent :-(.

 welcome to the club. :)

Thank you for your advice.
Compiled out and pluggable which user can add/remove easily may be the
best solution.
But it have much to do :-.
Patent issues related pinch gestures are not clear yet.  So it will
enter the todo list.  :p

-- 
BRs,
Kim.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] NSIS installer for the EFL 1.1.0 on Windows

2011-12-20 Thread The Rasterman
On Mon, 19 Dec 2011 19:53:28 +0100 Vincent Torri vincent.to...@gmail.com said:

wow. that installs... nice... even has an uninstall. slick. :)

 hey
 
 for those who want to try it, here is the installer:
 
 http://dev.enlightenment.fr/~doursse/NSIS/Efl-1.1.0.exe
 
 the available EFL are up to edje. So expedite here.
 
 It's a temporary installer, as i haven't well tested. The official
 one will be available around the 7/8 january 2012
 
 Vincent
 
 --
 Learn Windows Azure Live!  Tuesday, Dec 13, 2011
 Microsoft is holding a special Learn Windows Azure training event for 
 developers. It will provide a great way to learn Windows Azure and what it 
 provides. You can attend the event by watching it streamed LIVE online.  
 Learn more at http://p.sf.net/sfu/ms-windowsazure
 ___
 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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][elm_config] Add pinch zoom enable configuration

2011-12-20 Thread The Rasterman
On Wed, 21 Dec 2011 14:06:27 +0900 Bluezery ohpo...@gmail.com said:

 2011/12/21 Carsten Haitzler ras...@rasterman.com:
  On Wed, 21 Dec 2011 11:44:29 +0900 Bluezery ohpo...@gmail.com said:
 
  2011/12/20 Tom Hacohen tom.haco...@partner.samsung.com:
   On 20/12/11 12:27, Carsten Haitzler (The Rasterman) wrote:
   agreed. programmer should simply try and use pinch gestures and if he
   doesnt get any either its not possible (no multi-touch device) or, no
   emulated gesture/input is being used (he really is looking at zoom not
   pinch so you can emulate with mousehweels etc. or other actions like
   double tap and so on). the programmer shouldn't decide by system
   configuration decides - if someone wishes to violate the patent by
   turning it on, they can, but otherwise it's off by default. in theory
   we maybe should also shoudl be able to compile out the code to handle
   the bevhavior which at the app level will result in the same thing as
   it being off in config - it just can never be turned on without a
   recompile (freetype did this with bytecode hinting for many years).
  
   Yep, freetype is the same example I had in mind.
  
 
  Thank you for your comments. :)
  Besides, I have a question.
  I know that bytecode interpreter was patented previously and It was
  disabled at compile time in Freetype.
  If so, bytecode interpreter was not included in released Freetype binary???
  But elm_gesutre is built in when elementary binary is released and it
  can be disabled at runtime time.
 
  well freetype offered just the compile-time switch. runtime the app
  requested which kind of hinting they wanted via an api. as such efl always
  requested bytecode, BUT if freetype didn't have bytecode hinting it would
  fall back i think to autohinting. that patent has now expired so it's not
  relevant anymore, but taking it as an example many linux distributions
  disabled bytecode hinting entirely. others kept it enabled BUt configured
  everything by default to not use it (use auto hinting). this seems to have
  worked quite well so far.
 
  another thing that came to mind is... make the behavior pluggable. yes -
  it's a workaround but this is the same workaround linux distros use for
  mp3. don't ship with any mp3 codecs, but users can add them later
  themselves from 3rd party packages. as such the vendor doesnt violate any
  patent. someone making a module to recognize pinch events and pass out
  some zoom events is probably not violating a patent as the patent probably
  covers a much wider pipeline and such a module is simply
  translating/interpreting events. even if it violates, it is just this 3rd
  party module that violates, not the system that it plugs into.
 
  so my advice to do this best is:
 
  1. allow it to be compiled out OR even better - make it a module.
  2. if you make a module, make sure that it can be built totally separately
  as a stand-alone piece of software.
  3. allow the module configuration to be able to bring it in and then enable
  the feature *IF* a user installs the module and changes that config
  4. leave it to 3rd parties to make such a tool or package that does that
  - if they want. you just made it possible to do that and have an example. :)
 
  Does this have no problems?? Anyway, I hate damn patent :-(.
 
  welcome to the club. :)
 
 Thank you for your advice.
 Compiled out and pluggable which user can add/remove easily may be the
 best solution.
 But it have much to do :-.
 Patent issues related pinch gestures are not clear yet.  So it will
 enter the todo list.  :p

ok! :) this is the kind of hurt/hell patents cause. :(


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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][ecore_con_url] Add proxy timeout set API

2011-12-20 Thread The Rasterman
On Wed, 21 Dec 2011 13:46:18 +0900 Bluezery ohpo...@gmail.com said:

 2011/12/20 Carsten Haitzler ras...@rasterman.com:
  On Mon, 19 Dec 2011 18:07:10 +0900 Bluezery ohpo...@gmail.com said:
 
  ecore_con_url_proxy_set() should return Eina_Bool (EINA_TRUE for success,
  EINA_FALSE for failure).
 
 I implemented ecore_con_url_proxy_set() similar to ecore_con_url_ssl_ca_set().
 But returning Eina_Bool is more suitable for EFL.
 
 Anyway, I will change the patch as your comment.

yay! thanks! in svn! :)

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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elc_ctxpopup, add restacking feature

2011-12-20 Thread The Rasterman
On Tue, 20 Dec 2011 10:27:46 +0900 cnook kimci...@gmail.com said:

in! :)

 Dear All, Hello
 
 I have attached two files, one is the patch(*.diff) for adding
 restacking feature to the ctxpopup.
 The other is test example(*.TEST_EXAMPLE). You can test on the
 elementary_test  ctxpopup  Ctxpopup with user content
 And click the button which is labeled Enlightenment. Then label will
 overlap the ctxpopup.. The ctxpopup will raise in a little time.
 Please review the patch and if there is no problem, please throw the
 test example away! :-)
 
 Sincerely,
 Shinwoo Kim.


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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Google Code-in : open task in the VLC project

2011-12-20 Thread Vincent Torri
Hey

Just FYI :

http://www.google-melange.com/gci/task/view/google/gci2011/7129305

if a student is interested in working on that task...

feel free to forward that mail to e-users

Vincent

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Google Code-in : open task in the VLC project

2011-12-20 Thread Michael Blumenkrantz
On Wed, 21 Dec 2011 07:41:28 +0100
Vincent Torri vincent.to...@gmail.com wrote:

 Hey
 
 Just FYI :
 
 http://www.google-melange.com/gci/task/view/google/gci2011/7129305
 
 if a student is interested in working on that task...
 
 feel free to forward that mail to e-users
 
 Vincent

JEAN-BAPTISTE! WE MEET AGAIN!

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] scim-EFL immodule

2011-12-20 Thread Jihoon Kim
Hi, Raster.

Highlighting feature will be provided by woohyun's patch.
He will contribute edc and edje_entry.c patch code.

Yes, scim is based on C++ and scim.h uses STL, so its client should have to
use c++ compiler.
I will send the patch according to your suggestion.

Thanks.

On Wednesday, December 21, 2011, Carsten Haitzler wrote:

 On Fri, 16 Dec 2011 19:28:04 +0900 Jihoon Kim imfin...@gmail.com said:

  Hi, EFL developers.
 
  I'd like to contribute EFL-scim immodule.
 
  It will be useful to users who wants to input Chinese, Japanese, Korean,
  and a variety of languages that SCIM provides.
 
  You can build this module according to the below steps:
 
  # sudo apt-get install scim-dev
  # tar xvfz escim_immodule.tar.gz
  # cd escim_immodule
  # ./autogen.sh
  # make
  # sudo make install
 
  When you run, you should set environment variable 'ECORE_IMF_MODULE'
  # export ECORE_IMF_MODULE=scim
  # elementary_test
 
  Would you please review this patch and please let me know if this module
  can be put in EFL.

 i took a look - wow.. it compiles with no warnings! *GASP*! awesome. :)
 and it.
 works.. well with korean and japanese... though no hilighting of the
 word/letter/phrase being composed in korean or japanese... but it works
 with an
 external candidates list provided by scim. i was going to grumble about
 the c++
 but as i looked at scim.. it is a c++ api :/... so if u can fix this up to
 be
 like the xim immodule in ecore then yes - i'd say this can go in! :)


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


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel