Re: [E-devel] Summer of Code 2011 deadlines

2011-02-21 Thread Atton Jonathan
Add me as mentor

2011/2/21 Ian Caldwell inchost...@gmail.com

 hello all,
 Lets not forget the deadline for Google Summer of Code is fast approaching
 if you would like to participate please. Add your Name As a Mentor and or
 project ideas to the list. Also feel free to modify and or revise the
 application.
 Project Ideas are located here -
 http://trac.enlightenment.org/e/wiki/GSoC_2011_Project_Ideas
 Our Application is also located Here -
 http://trac.enlightenment.org/e/wiki/GSoC_2011_Application
 and our list of mentors is also located here.
 http://trac.enlightenment.org/e/wiki/GSoC_2011_Mentors
 Please feel free to add or revise to any of the lists. Realize that we will
 be freezing everything by 0800AM PST On March 1st in order to prepare for
 submission of everything therefore the only document that can change after
 that are our project ideas.
 Thanks,
 Ian Caldwell

 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-- 
Regards.
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: discomfitor IN trunk/edje: . src src/bin src/bin/epp

2011-02-21 Thread Mike Blumenkrantz
On Mon, 21 Feb 2011 00:04:45 -0800
Enlightenment SVN no-re...@enlightenment.org wrote:

 Log:
 edje now uses (and installs if not previously found) epp as its default C
 preprocessor, providing consistent output across all platforms and allowing
 edje_cc to run on windows (vtorri!!) fallbacks exist to use old behavior if
 epp fails. 
 
 Author:   discomfitor
 Date: 2011-02-21 00:04:44 -0800 (Mon, 21 Feb 2011)
 New Revision: 57210
 Trac: http://trac.enlightenment.org/e/changeset/57210
 
autoconf testing for epp probably needs some work, but it's wfm :D

-- 
Mike Blumenkrantz
Zentific: NULL pointer dereferences now 50% off!

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_map_user_agent_set and get

2011-02-21 Thread sangho park
always thanks for your good comments, but..
for me... it takes too much time to decipher your mail. :):):)

1. moved global value (hash) to widget structure.
2. fix stringshare bug
3. fix found | !found bug

please review new patch.

On Mon, Feb 21, 2011 at 3:55 PM, Carsten Haitzler ras...@rasterman.comwrote:

 On Mon, 21 Feb 2011 15:14:38 +0900 sangho park gouach...@gmail.com said:

 oh there it is. hmmm. i missed that. well i don't see a choice other than
 constructing the hash on the fly. but then you need to rebuild it all the
 time.
 ok ok, but tou need to make the hash table part of the map obj - not a
 global.
 you set eh agent on the map obj - but then use a global hash - and when
 freed u
 dont set it to NULL either. ripe for a segv. so move the hash back into the
 per-obj data but keep the agent as its own stringshare field. when you
 replace
 it - also update the hash. mind you your if found in hash add has entry
 shoudl be if !found then add, then set to agent string val.

  the hash value is used by ecore_file_download_full.
  + ecore_file_download_full(source, buf2, _tile_downloaded, NULL, gi,
  (gi-job), ua);
 
  7th parameter of the function can be http headers, but elm_map uses only
  'User-Agent'.
  if I don't use hash, what's your recommendation to use
  ecore_file_download_full?
 
  please show me the way~~ :)
 
 
  On Mon, Feb 21, 2011 at 2:47 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
 
   On Mon, 21 Feb 2011 10:27:25 +0900 sangho park gouach...@gmail.com
 said:
  
   a bit better... so now time to nitpick; \(^u^)/ - yay!
  
   hash... why? didn't i just say not to use it?:
  
   +static Eina_Hash *ua = NULL;
   ...
   +   if (ua) eina_hash_free(ua);
   ...
   +   if (!ua) ua= eina_hash_string_small_new(NULL);
   +   if (eina_hash_find(ua, User-Agent)) eina_hash_add(ua,
 User-Agent,
   wd-user_agent);
   +   else eina_hash_set(ua, User-Agent, wd-user_agent);
  
thanks raster.. elm_button is good example for me.
pls review my new patch.
   
On Sun, Feb 20, 2011 at 11:01 PM, Carsten Haitzler
ras...@rasterman.comwrote:
   
 On Fri, 18 Feb 2011 17:06:58 +0900 sangho park 
 gouach...@gmail.com
   said:

 man your implementation is strange. why did you add a whole hash
 table
   to
 store
 a single string key with a single string value attached to it? why
   don't
 you
 just do it like all other elm widgets that need strings - like
 let's
   say
 elm_button does with the label?

  Dear all,
 
  This is a patch for elm_map for setting user-agent.
 
  - Add elm_map_user_agent_set
  - Add elm_map_user_agent_get
  - modify doxygen
 
  elm_map uses OSM(OpenStreetMap), but we can add custom map
 provider.
  If custom map provider server filters robot out (currently
 default
  user-agent is 'curl'),
  we need some APIs to set/get user-agent.
 
  pls review this patch.
 
  Thanks.
  BR


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


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


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


Index: elementary/src/lib/Elementary.h.in
===
--- elementary/src/lib/Elementary.h.in  (리비전 57107)
+++ elementary/src/lib/Elementary.h.in  (작업 사본)
@@ -2118,6 +2118,8 @@ extern C {
EAPI int   elm_map_source_zoom_min_get(Elm_Map_Sources 
source);
EAPI int   elm_map_source_zoom_max_get(Elm_Map_Sources 
source);
EAPI const char   *elm_map_source_name_get(Elm_Map_Sources source);
+   EAPI void  elm_map_user_agent_set(Evas_Object *obj, const 
char *user_agent) EINA_ARG_NONNULL(1, 2);
+   EAPI const char   *elm_map_user_agent_get(Evas_Object *obj) 
EINA_ARG_NONNULL(1);
/* smart callbacks called:
 * clicked - when image clicked
 * press - when mouse/finger held down initially on image
Index: elementary/src/lib/elm_map.c
===
--- elementary/src/lib/elm_map.c(리비전 57107)
+++ elementary/src/lib/elm_map.c(작업 사본)
@@ -5,7 +5,8 @@
  * @defgroup Map Map
  * @ingroup Elementary
  *
- * This is a widget specifically for displaying the free map OpenStreetMap.
+ * This is a widget specifically for displaying the map. It uses basically
+ * OpenStreetMap provider. but it can be added custom providers.
  *
  * Signals that you can add callbacks for are:
  *
@@ -263,6 +264,9 @@ struct _Widget_Data
Eina_List *s_event_list;
int try_num;
int finish_num;
+
+   Eina_Hash *ua;
+   const char *user_agent;
 };
 
 struct _Mod_Api
@@ 

Re: [E-devel] [Patch] elm_map_user_agent_set and get

2011-02-21 Thread David Seikel
On Mon, 21 Feb 2011 18:05:33 +0900 sangho park gouach...@gmail.com
wrote:

 always thanks for your good comments, but..
 for me... it takes too much time to decipher your mail. :):):)

Ja mon, you need to learn rasterfarian.  B-)

-- 
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
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Fwd: raw image format

2011-02-21 Thread michael bouchaud
Sure it was here :D. And I'll be happy if this go in !

2011/2/19 Carsten Haitzler ras...@rasterman.com

 On Fri, 11 Feb 2011 15:21:42 +0100 (CET) Vincent Torri 
 vto...@univ-evry.fr
 said:

 fyi = i'm waiting on an updated patch - if you can provide one that
 actually
 detects libraw-lite as suggested below... i'd be happy to put it in.

  On Fri, 11 Feb 2011, michael bouchaud wrote:
 
   2011/2/11 Vincent Torri vto...@univ-evry.fr
  
  
  
   On Fri, 11 Feb 2011, michael bouchaud wrote:
  
On Thu, 10 Feb 2011, michael bouchaud wrote:
  
Hi, everybody I have wrote an evas_image loader for raw image
 type. I
   use
  
   libraw-lite to do this jobs, who is licensed under lgpl
   This is not perfect, so please review this code. Any comments are
   welcome
   !
  
  
   some things:
  
   1) ChangeLog
   2) remove all the Evil stuff, I'll test it later on Windows
   3) the check in EVAS_CHECK_LOADER_DEP_RAW is wrong, use pkg-config
 (see
   EVAS_CHECK_LOADER_DEP_EET for example)
  
  
This is a new version of this patch. I don't change the m4 macro
 because
   libraw_lite aren't correctly packaged for now. So pkg-config can't
 detect
   them. I added an entry in changelog and change the double loop.  I
 have
   also
   changed the header loading code.
   Any comments still are welcome !
  
  
   he problem is that if someone installs libraw in another dir than
 /usr, the
   detection will fail.
  
   There is a .pc file that is provided with libraw (actually, there are
 2
   .pc, one for thread safe libn another for non thread safe lib). You
 should
   (must) use one of them
  
   Vincent
  
  
   yeah 2 pc files are given with libraw (under gpl) but not with
 libraw-lite
   (under lgpl). Sure the test of this macro is definitely bad. But I
 don't
   know how to detect this without pc files. go here
   http://www.libraw.org/libraw-lite to download libraw-lite not libraw
 
  haaa, i certainly downloaded libraw. Ok, then look at the tiff m4 macro
  (note that it has 3 AC_CHECK_LIB because the name of the lib is not
 always
  the same and because it can have some dependencies. You should just use
  one AC_CHECK_LIB
 
  Vincent
 
 
 --
  The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
  Pinpoint memory and threading errors before they happen.
  Find and fix more than 250 security defects in the development cycle.
  Locate bottlenecks in serial and parallel code that limit performance.
  http://p.sf.net/sfu/intel-dev2devfeb
  ___
  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




-- 
Michaël Bouchaud
Index: m4/evas_check_loader.m4
===
--- m4/evas_check_loader.m4 (révision 57210)
+++ m4/evas_check_loader.m4 (copie de travail)
@@ -368,6 +368,38 @@
 
 ])
 
+dnl use: EVAS_CHECK_LOADER_DEP_RAW(loader, want_static[, ACTION-IF-FOUND[, 
ACTION-IF-NOT-FOUND]])
+
+AC_DEFUN([EVAS_CHECK_LOADER_DEP_RAW],
+[
+
+have_dep=no
+evas_image_loader_[]$1[]_cflags=
+evas_image_loader_[]$1[]_libs=
+
+AC_CHECK_HEADER([libraw_lite/libraw.h], [have_dep=yes])
+if test x${have_dep}  = xyes ; then
+   AC_CHECK_LIB([raw-lite],
+  [libraw_init],
+  [
+   evas_image_loader_[]$1[]_libs=
+   evas_image_loader_[]$1[]_cflags=
+  ],
+  [have_dep=no]
+   )
+fi
+
+AC_SUBST([evas_image_loader_$1_cflags])
+AC_SUBST([evas_image_loader_$1_libs])
+
+if test x${have_dep} = xyes ; then
+  m4_default([$3], [:])
+else
+  m4_default([$4], [:])
+fi
+
+])
+
 dnl use: EVAS_CHECK_IMAGE_LOADER(loader, want_loader, macro)
 
 
Index: src/lib/engines/common/evas_image_load.c
===
--- src/lib/engines/common/evas_image_load.c(révision 57210)
+++ src/lib/engines/common/evas_image_load.c(copie de travail)
@@ -30,12 +30,28 @@
{ pnm, pmaps },
{ bmp, bmp },
{ tga, tga },
-   { wbmp, wbmp }
+   { wbmp, wbmp },
+   { arw, raw },
+   { sr2, raw },
+   { srf, raw },
+   { cr2, raw },
+   { crw, raw },
+   { dcr, raw },
+   { dng, raw },
+   { k25, raw },
+   { kdc, raw },
+   { mrw, raw },
+   { nef, raw },
+   { orf, raw },
+   { raw, raw },
+   { pef, raw },
+   { raf, raw },
+   { x3f, raw },
 };
 
 static const char *loaders_name[] =
 {
-  png, jpeg, eet, xpm, tiff, gif, svg, pmaps, edb, bmp, 
tga, wbmp
+  png, jpeg, eet, xpm, tiff, gif, svg, pmaps, edb, bmp, 
tga, wbmp, raw,
 };
 
 struct evas_image_foreach_loader_data
Index: src/modules/loaders/raw/evas_image_load_raw.c
===
--- src/modules/loaders/raw/evas_image_load_raw.c   (révision 0)
+++ 

Re: [E-devel] [Patch] elm_map_user_agent_set and get

2011-02-21 Thread Sebastian Dransfeld
And BTW,

eina_hash_set allways works for adding data to a hash, no need for 
hash_find - add/set. Just use _set.

S.

On 02/21/2011 07:55 AM, Carsten Haitzler (The Rasterman) wrote:
 On Mon, 21 Feb 2011 15:14:38 +0900 sangho parkgouach...@gmail.com  said:

 oh there it is. hmmm. i missed that. well i don't see a choice other than
 constructing the hash on the fly. but then you need to rebuild it all the 
 time.
 ok ok, but tou need to make the hash table part of the map obj - not a global.
 you set eh agent on the map obj - but then use a global hash - and when freed 
 u
 dont set it to NULL either. ripe for a segv. so move the hash back into the
 per-obj data but keep the agent as its own stringshare field. when you replace
 it - also update the hash. mind you your if found in hash add has entry
 shoudl be if !found then add, then set to agent string val.

 the hash value is used by ecore_file_download_full.
 + ecore_file_download_full(source, buf2, _tile_downloaded, NULL, gi,
 (gi-job), ua);

 7th parameter of the function can be http headers, but elm_map uses only
 'User-Agent'.
 if I don't use hash, what's your recommendation to use
 ecore_file_download_full?

 please show me the way~~ :)


 On Mon, Feb 21, 2011 at 2:47 PM, Carsten Haitzlerras...@rasterman.comwrote:

 On Mon, 21 Feb 2011 10:27:25 +0900 sangho parkgouach...@gmail.com  said:

 a bit better... so now time to nitpick; \(^u^)/- yay!

 hash... why? didn't i just say not to use it?:

 +static Eina_Hash *ua = NULL;
 ...
 +   if (ua) eina_hash_free(ua);
 ...
 +   if (!ua) ua= eina_hash_string_small_new(NULL);
 +   if (eina_hash_find(ua, User-Agent)) eina_hash_add(ua, User-Agent,
 wd-user_agent);
 +   else eina_hash_set(ua, User-Agent, wd-user_agent);

 thanks raster.. elm_button is good example for me.
 pls review my new patch.

 On Sun, Feb 20, 2011 at 11:01 PM, Carsten Haitzler
 ras...@rasterman.comwrote:

 On Fri, 18 Feb 2011 17:06:58 +0900 sangho parkgouach...@gmail.com
 said:

 man your implementation is strange. why did you add a whole hash table
 to
 store
 a single string key with a single string value attached to it? why
 don't
 you
 just do it like all other elm widgets that need strings - like let's
 say
 elm_button does with the label?

 Dear all,

 This is a patch for elm_map for setting user-agent.

 - Add elm_map_user_agent_set
 - Add elm_map_user_agent_get
 - modify doxygen

 elm_map uses OSM(OpenStreetMap), but we can add custom map provider.
 If custom map provider server filters robot out (currently default
 user-agent is 'curl'),
 we need some APIs to set/get user-agent.

 pls review this patch.

 Thanks.
 BR


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




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






--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Small bug in evas_textblock.

2011-02-21 Thread WooHyun Jung
Hello. All. 

I found one small bug in evas_textblock. 

For checking this bug ~ I recommend to do like following scenario. 

 

In Entry 3 of Elementary_test,

1. Push Clr Button for the bottom entry. 

2. Input 'a' and input Backspace in the bottom entry.

3. Click the top entry. 

4. Click the bottom entry. 

5. Input some characters. 

6. Result : char is input before the last character. 

 

So I made a patch and attached it. 

Anybody can check about this ? 

Thanks. 

Index: src/lib/canvas/evas_object_textblock.c
===
--- src/lib/canvas/evas_object_textblock.c  (revision 57196)
+++ src/lib/canvas/evas_object_textblock.c  (working copy)
@@ -5465,7 +5465,11 @@ evas_textblock_cursor_line_char_last(Evas_Textbloc
 
_find_layout_item_match(cur, ln, it);
 
-   if (!ln) return;
+   if (!ln) 
+ {
+cur-pos++;
+return;
+ }
if (ln-items)
  {
 Evas_Object_Textblock_Item *i;
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Small bug in evas_textblock.

2011-02-21 Thread Tom Hacohen
Dear WooHyun,

I can confirm the issue, but I don't think your solution is valid, probably
the more correct thing to do is set to 0
and return, but I don't think this will fix your issue, but it's just a
correct thing to do :P

Anyhow, will take a look tomorrow, I'm too tired atm.

Thanks for the report,
Tom.

On Mon, Feb 21, 2011 at 2:43 PM, WooHyun Jung wh0705.j...@samsung.comwrote:

 Hello. All.

 I found one small bug in evas_textblock.

 For checking this bug ~ I recommend to do like following scenario.



 In Entry 3 of Elementary_test,

 1. Push Clr Button for the bottom entry.

 2. Input 'a' and input Backspace in the bottom entry.

 3. Click the top entry.

 4. Click the bottom entry.

 5. Input some characters.

 6. Result : char is input before the last character.



 So I made a patch and attached it.

 Anybody can check about this ?

 Thanks.



 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-- 
Tom.
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: discomfitor IN trunk/edje: . src src/bin src/bin/epp

2011-02-21 Thread Vincent Torri


On Mon, 21 Feb 2011, Enlightenment SVN wrote:

 Log:
 edje now uses (and installs if not previously found) epp as its default C 
 preprocessor, providing consistent output across all platforms and allowing 
 edje_cc to run on windows (vtorri!!)
  fallbacks exist to use old behavior if epp fails.

it is already running on Windows.

Vincent



 Author:   discomfitor
 Date: 2011-02-21 00:04:44 -0800 (Mon, 21 Feb 2011)
 New Revision: 57210
 Trac: http://trac.enlightenment.org/e/changeset/57210

 Added:
  trunk/edje/src/bin/edje_cc_parse.c.in trunk/edje/src/bin/epp/ 
 trunk/edje/src/bin/epp/Makefile.am trunk/edje/src/bin/epp/cppalloc.c 
 trunk/edje/src/bin/epp/cpperror.c trunk/edje/src/bin/epp/cppexp.c 
 trunk/edje/src/bin/epp/cpphash.c trunk/edje/src/bin/epp/cpphash.h 
 trunk/edje/src/bin/epp/cpplib.c trunk/edje/src/bin/epp/cpplib.h 
 trunk/edje/src/bin/epp/cppmain.c
 Removed:
  trunk/edje/src/bin/edje_cc_parse.c
 Modified:
  trunk/edje/AUTHORS trunk/edje/ChangeLog trunk/edje/configure.ac 
 trunk/edje/src/Makefile.am trunk/edje/src/bin/ trunk/edje/src/bin/Makefile.am

 Modified: trunk/edje/AUTHORS
 ===
 --- trunk/edje/AUTHORS2011-02-21 07:49:21 UTC (rev 57209)
 +++ trunk/edje/AUTHORS2011-02-21 08:04:44 UTC (rev 57210)
 @@ -14,3 +14,4 @@
 Sebastian Dransfeld s...@tango.flipp.net
 Tom Hacohen t...@stosb.com
 Aharon Hillel a.hil...@partner.samsung.com
 +Mike Blumenkrantz m...@zentific.com

 Modified: trunk/edje/ChangeLog
 ===
 --- trunk/edje/ChangeLog  2011-02-21 07:49:21 UTC (rev 57209)
 +++ trunk/edje/ChangeLog  2011-02-21 08:04:44 UTC (rev 57210)
 @@ -25,3 +25,6 @@

 * Fix missing cursor changed signale on backspace

 +2011-02-21  Mike Blumenkrantz
 +
 +* Add built-in cpp (epp) to provide consistent output on all 
 archs/OSes

 Modified: trunk/edje/configure.ac
 ===
 --- trunk/edje/configure.ac   2011-02-21 07:49:21 UTC (rev 57209)
 +++ trunk/edje/configure.ac   2011-02-21 08:04:44 UTC (rev 57210)
 @@ -63,16 +63,16 @@
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST

 +
 +have_edje_cc=yes
 case $host_os in
mingw32ce* | cegcc*)
   MODULE_ARCH=$host_os-$host_cpu
   install_vim=no
 -  have_edje_cc=no
   ;;
*)
   MODULE_ARCH=$host_os-$host_cpu-v_maj.0.0
   install_vim=yes
 -  have_edje_cc=yes
   ;;
 esac

 @@ -294,6 +294,12 @@
PKG_CHECK_MODULES([EDJE_CC], [ecore-file = 1.0.0 ecore-evas = 1.0.0 
 ecore = 1.0.0 evas = 1.0.0 eet = 1.0.0 eina = 1.0.0])
EDJE_CC_LIBS=${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}
 fi
 +AC_PATH_PROG([EPP], [epp])
 +AM_CONDITIONAL([BUILD_EPP], [test x$have_edje_cc = xyes -a -z $EPP])
 +if test -z $EPP ; then
 +   EPP=${prefix}/bin/epp
 +   AC_SUBST(EPP)
 +fi

 if test x$have_edje_decc = xyes; then
PKG_CHECK_MODULES([EDJE_DECC], [ecore-file = 1.0.0 ecore-evas = 1.0.0 
 ecore = 1.0.0 evas = 1.0.0 eet = 1.0.0 eina = 1.0.0])
 @@ -380,7 +386,9 @@
 doc/edje.dox
 src/Makefile
 src/lib/Makefile
 +src/bin/edje_cc_parse.c
 src/bin/Makefile
 +src/bin/epp/Makefile
 utils/Makefile
 ])


 Modified: trunk/edje/src/Makefile.am
 ===
 --- trunk/edje/src/Makefile.am2011-02-21 07:49:21 UTC (rev 57209)
 +++ trunk/edje/src/Makefile.am2011-02-21 08:04:44 UTC (rev 57210)
 @@ -1,3 +1,4 @@
 ## Process this file with automake to produce Makefile.in

 SUBDIRS = lib bin
 +MAINTAINERCLEANFILES = Makefile.in


 Property changes on: trunk/edje/src/bin
 ___
 Modified: svn:ignore
   - .deps
 .libs
 Makefile
 Makefile.in
 edje
 edje_ls
 edje_cc
 edje_decc
 edje_player
 edje_convert
 edje_inspector
 edje_external_inspector

   + .deps
 .libs
 Makefile
 Makefile.in
 edje_cc_parse.c
 edje
 edje_ls
 edje_cc
 edje_decc
 edje_player
 edje_convert
 edje_inspector
 edje_external_inspector


 Modified: trunk/edje/src/bin/Makefile.am
 ===
 --- trunk/edje/src/bin/Makefile.am2011-02-21 07:49:21 UTC (rev 57209)
 +++ trunk/edje/src/bin/Makefile.am2011-02-21 08:04:44 UTC (rev 57210)
 @@ -1,4 +1,6 @@
 -
 +if BUILD_EPP
 +  SUBDIRS = epp
 +endif
 MAINTAINERCLEANFILES = Makefile.in

 bin_SCRIPTS = @EDJE_RECC_PRG@


 Property changes on: trunk/edje/src/bin/epp
 ___
 Added: svn:ignore
   + Makefile.in
 epp
 .deps
 Makefile




 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 

Re: [E-devel] E SVN: discomfitor IN trunk/edje: . src src/bin src/bin/epp

2011-02-21 Thread Kim Woelders
On Mon, 21 Feb 2011 09:21:23 +0100, Mike Blumenkrantz m...@zentific.com  
wrote:

 On Mon, 21 Feb 2011 00:04:45 -0800
 Enlightenment SVN no-re...@enlightenment.org wrote:

 Log:
 edje now uses (and installs if not previously found) epp as its default  
 C
 preprocessor, providing consistent output across all platforms and  
 allowing
 edje_cc to run on windows (vtorri!!) fallbacks exist to use old  
 behavior if
 epp fails.

 Author:   discomfitor
 Date: 2011-02-21 00:04:44 -0800 (Mon, 21 Feb 2011)
 New Revision: 57210
 Trac: http://trac.enlightenment.org/e/changeset/57210

 autoconf testing for epp probably needs some work, but it's wfm :D

Beware!

1) This will cause an install conflict with e16 (at least when using rpms).
It would be nice if it could be installed by some other path or name.

2) This is GPL code. Not sure if this is of any consequence.

/Kim

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: watchwolf IN trunk/enki: data/themes/default src/bin

2011-02-21 Thread Atton Jonathan
old menu: http://watchwolf.fr/menu1.ogv
new menu: http://watchwolf.fr/menu2.ogv

2011/2/21 Enlightenment SVN no-re...@enlightenment.org

 Log:
 enki: replace elm_menu by a edje menu (better for touch screen and small
 screen)



 Author:   watchwolf
 Date: 2011-02-21 11:39:26 -0800 (Mon, 21 Feb 2011)
 New Revision: 57226
 Trac: http://trac.enlightenment.org/e/changeset/57226

 Added:
  trunk/enki/data/themes/default/photo_menu_parts.edc
 Modified:
  trunk/enki/data/themes/default/Makefile.am
 trunk/enki/data/themes/default/album_header.edc
 trunk/enki/data/themes/default/default.edc
 trunk/enki/data/themes/default/main_page.edc
 trunk/enki/data/themes/default/main_panel.edc
 trunk/enki/data/themes/default/win_photo_delete.edc
 trunk/enki/data/themes/default/win_preferences.edc
 trunk/enki/src/bin/flickr_menu.c trunk/enki/src/bin/inwin.c
 trunk/enki/src/bin/list_photo.c trunk/enki/src/bin/main.c
 trunk/enki/src/bin/map.c trunk/enki/src/bin/objects.h
 trunk/enki/src/bin/photo_menu.c

 Modified: trunk/enki/data/themes/default/Makefile.am
 ===
 --- trunk/enki/data/themes/default/Makefile.am  2011-02-21 19:19:12 UTC
 (rev 57225)
 +++ trunk/enki/data/themes/default/Makefile.am  2011-02-21 19:39:26 UTC
 (rev 57226)
 @@ -34,7 +34,8 @@
  win_album_tag_new.edc \
  win_album_collection_new.edc \
  win_photo_delete.edc\
 -win_library_delete.edc
 +win_library_delete.edc \
 +photo_menu_parts.edc
$(EDJE_CC) $(EDJE_FLAGS) default.edc -id ../images/

  icondir = $(pkgdatadir)/themes

 Modified: trunk/enki/data/themes/default/album_header.edc
 ===
 --- trunk/enki/data/themes/default/album_header.edc 2011-02-21 19:19:12
 UTC (rev 57225)
 +++ trunk/enki/data/themes/default/album_header.edc 2011-02-21 19:39:26
 UTC (rev 57226)
 @@ -51,7 +51,8 @@
 align: 0.0 1.0;

 rel2.to_x: background;
 -rel2.relative: 1.0 1.0;
 +rel2.relative: 0.6 1.0;
 +rel2.offset: 0 -5;
 }
 }
 part {

 Modified: trunk/enki/data/themes/default/default.edc
 ===
 --- trunk/enki/data/themes/default/default.edc  2011-02-21 19:19:12 UTC
 (rev 57225)
 +++ trunk/enki/data/themes/default/default.edc  2011-02-21 19:39:26 UTC
 (rev 57226)
 @@ -92,6 +92,7 @@
#include win_preferences.edc
#include win_photo_delete.edc
#include win_library_delete.edc
 +

#include libraries.edc
#include map.edc
 @@ -101,7 +102,6 @@
#include list_left.edc
#include main_page.edc

 -
#include main.edc



 Modified: trunk/enki/data/themes/default/main_page.edc
 ===
 --- trunk/enki/data/themes/default/main_page.edc2011-02-21 19:19:12
 UTC (rev 57225)
 +++ trunk/enki/data/themes/default/main_page.edc2011-02-21 19:39:26
 UTC (rev 57226)
 @@ -16,7 +16,17 @@
//

//
 -   alias: object.photos.swallow
  panes[right]:object.photos.swallow;
 +   alias: object.photos.swallow
  panes[right]:object.photos.swallow;
 +   alias: object.photo_menu.tools.reload_thumb
 panes[right]:object.photo_menu.tools.reload_thumb;
 +   alias: object.photo_menu.tools.reload_exifs
 panes[right]:object.photo_menu.tools.reload_exifs;
 +   alias: object.photo_menu.tools.reload_iptcs
 panes[right]:object.photo_menu.tools.reload_iptcs;
 +   alias: object.photo_menu.delete
 panes[right]:object.photo_menu.delete;
 +   alias: object.photo_menu.album.move
 panes[right]:object.photo_menu.album.move;
 +   alias: object.photo_menu.library.photo.front
  panes[right]:object.photo_menu.library.photo.front;
 +   alias: object.photo_menu.library.photo.back
 panes[right]:object.photo_menu.library.photo.back;
 +   alias: object.photo_menu.wallpaper.application
 panes[right]:object.photo_menu.wallpaper.application;
 +   alias: object.photo_menu.tags_remove.list
 panes[right]:object.photo_menu.tags_remove.list;
 +   alias: object.photo_menu.tags_add.list
  panes[right]:object.photo_menu.tags_add.list;
//

//list left
 @@ -68,5 +78,10 @@
transfers_signal(, list_left,collections,show, ,
 panes, left)
transfers_signal(, list_left,tags,show, , panes,
 left)
//
 +
 +   //photo menu
 +   transfers_signal(, photo,menu,show, , panes,
 right)
 +   transfers_signal(, photo,menu,hide, , panes,
 right)
 +   //
}
  }
 \ No newline at end of file

 Modified: trunk/enki/data/themes/default/main_panel.edc
 ===
 --- trunk/enki/data/themes/default/main_panel.edc   2011-02-21 19:19:12
 UTC (rev 57225)
 +++ 

Re: [E-devel] E SVN: watchwolf IN trunk/enki: data/themes/default src/bin

2011-02-21 Thread Vincent Torri


On Mon, 21 Feb 2011, Atton Jonathan wrote:

 old menu: http://watchwolf.fr/menu1.ogv
 new menu: http://watchwolf.fr/menu2.ogv

with both menu, the app is impressive !

Vincent


 2011/2/21 Enlightenment SVN no-re...@enlightenment.org

 Log:
 enki: replace elm_menu by a edje menu (better for touch screen and small
 screen)



 Author:   watchwolf
 Date: 2011-02-21 11:39:26 -0800 (Mon, 21 Feb 2011)
 New Revision: 57226
 Trac: http://trac.enlightenment.org/e/changeset/57226

 Added:
  trunk/enki/data/themes/default/photo_menu_parts.edc
 Modified:
  trunk/enki/data/themes/default/Makefile.am
 trunk/enki/data/themes/default/album_header.edc
 trunk/enki/data/themes/default/default.edc
 trunk/enki/data/themes/default/main_page.edc
 trunk/enki/data/themes/default/main_panel.edc
 trunk/enki/data/themes/default/win_photo_delete.edc
 trunk/enki/data/themes/default/win_preferences.edc
 trunk/enki/src/bin/flickr_menu.c trunk/enki/src/bin/inwin.c
 trunk/enki/src/bin/list_photo.c trunk/enki/src/bin/main.c
 trunk/enki/src/bin/map.c trunk/enki/src/bin/objects.h
 trunk/enki/src/bin/photo_menu.c

 Modified: trunk/enki/data/themes/default/Makefile.am
 ===
 --- trunk/enki/data/themes/default/Makefile.am  2011-02-21 19:19:12 UTC
 (rev 57225)
 +++ trunk/enki/data/themes/default/Makefile.am  2011-02-21 19:39:26 UTC
 (rev 57226)
 @@ -34,7 +34,8 @@
  win_album_tag_new.edc \
  win_album_collection_new.edc \
  win_photo_delete.edc\
 -win_library_delete.edc
 +win_library_delete.edc \
 +photo_menu_parts.edc
$(EDJE_CC) $(EDJE_FLAGS) default.edc -id ../images/

  icondir = $(pkgdatadir)/themes

 Modified: trunk/enki/data/themes/default/album_header.edc
 ===
 --- trunk/enki/data/themes/default/album_header.edc 2011-02-21 19:19:12
 UTC (rev 57225)
 +++ trunk/enki/data/themes/default/album_header.edc 2011-02-21 19:39:26
 UTC (rev 57226)
 @@ -51,7 +51,8 @@
 align: 0.0 1.0;

 rel2.to_x: background;
 -rel2.relative: 1.0 1.0;
 +rel2.relative: 0.6 1.0;
 +rel2.offset: 0 -5;
 }
 }
 part {

 Modified: trunk/enki/data/themes/default/default.edc
 ===
 --- trunk/enki/data/themes/default/default.edc  2011-02-21 19:19:12 UTC
 (rev 57225)
 +++ trunk/enki/data/themes/default/default.edc  2011-02-21 19:39:26 UTC
 (rev 57226)
 @@ -92,6 +92,7 @@
#include win_preferences.edc
#include win_photo_delete.edc
#include win_library_delete.edc
 +

#include libraries.edc
#include map.edc
 @@ -101,7 +102,6 @@
#include list_left.edc
#include main_page.edc

 -
#include main.edc



 Modified: trunk/enki/data/themes/default/main_page.edc
 ===
 --- trunk/enki/data/themes/default/main_page.edc2011-02-21 19:19:12
 UTC (rev 57225)
 +++ trunk/enki/data/themes/default/main_page.edc2011-02-21 19:39:26
 UTC (rev 57226)
 @@ -16,7 +16,17 @@
//

//
 -   alias: object.photos.swallow
  panes[right]:object.photos.swallow;
 +   alias: object.photos.swallow
  panes[right]:object.photos.swallow;
 +   alias: object.photo_menu.tools.reload_thumb
 panes[right]:object.photo_menu.tools.reload_thumb;
 +   alias: object.photo_menu.tools.reload_exifs
 panes[right]:object.photo_menu.tools.reload_exifs;
 +   alias: object.photo_menu.tools.reload_iptcs
 panes[right]:object.photo_menu.tools.reload_iptcs;
 +   alias: object.photo_menu.delete
 panes[right]:object.photo_menu.delete;
 +   alias: object.photo_menu.album.move
 panes[right]:object.photo_menu.album.move;
 +   alias: object.photo_menu.library.photo.front
  panes[right]:object.photo_menu.library.photo.front;
 +   alias: object.photo_menu.library.photo.back
 panes[right]:object.photo_menu.library.photo.back;
 +   alias: object.photo_menu.wallpaper.application
 panes[right]:object.photo_menu.wallpaper.application;
 +   alias: object.photo_menu.tags_remove.list
 panes[right]:object.photo_menu.tags_remove.list;
 +   alias: object.photo_menu.tags_add.list
  panes[right]:object.photo_menu.tags_add.list;
//

//list left
 @@ -68,5 +78,10 @@
transfers_signal(, list_left,collections,show, ,
 panes, left)
transfers_signal(, list_left,tags,show, , panes,
 left)
//
 +
 +   //photo menu
 +   transfers_signal(, photo,menu,show, , panes,
 right)
 +   transfers_signal(, photo,menu,hide, , panes,
 right)
 +   //
}
  }
 \ No newline at end of file

 Modified: trunk/enki/data/themes/default/main_panel.edc
 ===
 --- 

Re: [E-devel] [Patch] elm_map_user_agent_set and get

2011-02-21 Thread sangho park
oh.. I should have read the doxygen of eina_hash_set...
and also eina_stringshare_replace...

at this patch, I remove hash_find, and stringshare_add.

thanks for good information~

 eina_hash_set allways works for adding data to a hash, no need for
 hash_find - add/set. Just use _set.
Index: elementary/src/lib/Elementary.h.in
===
--- elementary/src/lib/Elementary.h.in  (리비전 57107)
+++ elementary/src/lib/Elementary.h.in  (작업 사본)
@@ -2118,6 +2118,8 @@ extern C {
EAPI int   elm_map_source_zoom_min_get(Elm_Map_Sources 
source);
EAPI int   elm_map_source_zoom_max_get(Elm_Map_Sources 
source);
EAPI const char   *elm_map_source_name_get(Elm_Map_Sources source);
+   EAPI void  elm_map_user_agent_set(Evas_Object *obj, const 
char *user_agent) EINA_ARG_NONNULL(1, 2);
+   EAPI const char   *elm_map_user_agent_get(Evas_Object *obj) 
EINA_ARG_NONNULL(1);
/* smart callbacks called:
 * clicked - when image clicked
 * press - when mouse/finger held down initially on image
Index: elementary/src/lib/elm_map.c
===
--- elementary/src/lib/elm_map.c(리비전 57107)
+++ elementary/src/lib/elm_map.c(작업 사본)
@@ -5,7 +5,8 @@
  * @defgroup Map Map
  * @ingroup Elementary
  *
- * This is a widget specifically for displaying the free map OpenStreetMap.
+ * This is a widget specifically for displaying the map. It uses basically
+ * OpenStreetMap provider. but it can be added custom providers.
  *
  * Signals that you can add callbacks for are:
  *
@@ -263,6 +264,9 @@ struct _Widget_Data
Eina_List *s_event_list;
int try_num;
int finish_num;
+
+   Eina_Hash *ua;
+   const char *user_agent;
 };
 
 struct _Mod_Api
@@ -1001,7 +1005,7 @@ grid_load(Evas_Object *obj, Grid *g)
   else
 {
DBG(DOWNLOAD %s \t in %s, source, buf2);
-   ecore_file_download(source, buf2, _tile_downloaded, 
NULL, gi, (gi-job));
+   ecore_file_download_full(source, buf2, 
_tile_downloaded, NULL, gi, (gi-job), wd-ua);
 if (!gi-job)
   DBG(Can't start to download %s, buf);
 else
@@ -1432,6 +1436,8 @@ _del_hook(Evas_Object *obj)
if (wd-zoom_animator) ecore_animator_del(wd-zoom_animator);
if (wd-long_timer) ecore_timer_del(wd-long_timer);
if ((wd-api)  (wd-api-obj_unhook)) wd-api-obj_unhook(obj);
+   if (wd-user_agent) eina_stringshare_del(wd-user_agent);
+   if (wd-ua) eina_hash_free(wd-ua);
 
free(wd);
 }
@@ -3544,7 +3550,46 @@ elm_map_source_name_get(Elm_Map_Sources source)
return map_sources_tab[source].name;
 }
 
+/**
+ * Set the user agent of the widget map.
+ *
+ * @param obj The map object
+ * @param user_agent the user agent of the widget map
+ *
+ * @ingroup Map
+ */
+EAPI void
+elm_map_user_agent_set(Evas_Object *obj, const char *user_agent)
+{
+   ELM_CHECK_WIDTYPE(obj, widtype);
+   Widget_Data *wd = elm_widget_data_get(obj);
 
+   if (!wd) return;
+   eina_stringshare_replace(wd-user_agent, user_agent);
+   
+   if (!wd-ua) wd-ua = eina_hash_string_small_new(NULL);
+   eina_hash_set(wd-ua, User-Agent, user_agent);
+}
+
+/**
+ * Get the user agent of the widget map.
+ *
+ * @param obj The map object
+ * @return The user agent of the widget map
+ *
+ * @ingroup Map
+ */
+EAPI const char *
+elm_map_user_agent_get(Evas_Object *obj)
+{
+   ELM_CHECK_WIDTYPE(obj, widtype) NULL;
+   Widget_Data *wd = elm_widget_data_get(obj);
+
+   if (!wd) return NULL;
+   return wd-user_agent;
+}
+
+
 static char *
 _mapnik_url_cb(Evas_Object *obj __UNUSED__, int x, int y, int zoom)
 {
--
Index, Search  Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Small bug in evas_textblock.

2011-02-21 Thread WooHyun Jung
Oh. Right - return 0 is correct thing. 

But, why do you think - this solution will fix my issue ? 

I think - just returning 0 will be enough for this. 

 

From: tta...@gmail.com [mailto:tta...@gmail.com] On Behalf Of Tom Hacohen
Sent: Tuesday, February 22, 2011 2:25 AM
To: WooHyun Jung
Cc: enlightenment-devel@lists.sourceforge.net
Subject: Re: [E-devel] Small bug in evas_textblock.

 

Dear WooHyun,

I can confirm the issue, but I don't think your solution is valid, probably
the more correct thing to do is set to 0
and return, but I don't think this will fix your issue, but it's just a
correct thing to do :P

Anyhow, will take a look tomorrow, I'm too tired atm.

Thanks for the report,
Tom.

On Mon, Feb 21, 2011 at 2:43 PM, WooHyun Jung wh0705.j...@samsung.com
wrote:

Hello. All.

I found one small bug in evas_textblock.

For checking this bug ~ I recommend to do like following scenario.



In Entry 3 of Elementary_test,

1. Push Clr Button for the bottom entry.

2. Input 'a' and input Backspace in the bottom entry.

3. Click the top entry.

4. Click the bottom entry.

5. Input some characters.

6. Result : char is input before the last character.



So I made a patch and attached it.

Anybody can check about this ?

Thanks.



--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-- 
Tom.

--
Index, Search  Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster IN trunk/ecore: . src/lib/ecore_file

2011-02-21 Thread Vincent Torri

backport in 1.0 ?

Vincent

On Mon, 21 Feb 2011, Enlightenment SVN wrote:

 Log:
 Fix: ecore-file inotify fd would be duplicated in children
  on fork. Have it detecti this on next monitor add and re-init
  the inotify fd and fd handler.



 Author:   raster
 Date: 2011-02-21 22:09:46 -0800 (Mon, 21 Feb 2011)
 New Revision: 57228
 Trac: http://trac.enlightenment.org/e/changeset/57228

 Modified:
  trunk/ecore/ChangeLog 
 trunk/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c

 Modified: trunk/ecore/ChangeLog
 ===
 --- trunk/ecore/ChangeLog 2011-02-22 01:55:08 UTC (rev 57227)
 +++ trunk/ecore/ChangeLog 2011-02-22 06:09:46 UTC (rev 57228)
 @@ -58,3 +58,9 @@

   * Remove 300 second timeout so large downloads work in ecore_con.

 +2011-02-22  Carsten Haitzler (The Rasterman)
 +
 +* Fix: ecore-file inotify fd would be duplicated in children
 +on fork. Have it detecti this on next monitor add and re-init the
 +inotify fd and fd handler.
 +

 Modified: trunk/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c
 ===
 --- trunk/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c   
 2011-02-22 01:55:08 UTC (rev 57227)
 +++ trunk/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c   
 2011-02-22 06:09:46 UTC (rev 57228)
 @@ -47,6 +47,7 @@

 static Ecore_Fd_Handler *_fdh = NULL;
 static Ecore_File_Monitor*_monitors = NULL;
 +static pid_t _inotify_fd_pid = -1;

 static Eina_Bool   _ecore_file_monitor_inotify_handler(void *data, 
 Ecore_Fd_Handler *fdh);
 static Ecore_File_Monitor *_ecore_file_monitor_inotify_monitor_find(int wd);
 @@ -64,7 +65,7 @@
fd = inotify_init();
if (fd  0)
  return 0;
 -
 +
_fdh = ecore_main_fd_handler_add(fd, ECORE_FD_READ, 
 _ecore_file_monitor_inotify_handler,
 NULL, NULL, NULL);
if (!_fdh)
 @@ -73,6 +74,7 @@
 return 0;
  }

 +   _inotify_fd_pid = getpid();
return 1;
 }

 @@ -90,6 +92,7 @@
 ecore_main_fd_handler_del(_fdh);
 close(fd);
  }
 +   _inotify_fd_pid = -1;
return 1;
 }

 @@ -103,6 +106,14 @@
Ecore_File_Monitor *em;
int len;

 +   if (_inotify_fd_pid == -1) return NULL;
 +
 +   if (_inotify_fd_pid != getpid())
 + {
 +ecore_file_monitor_inotify_shutdown();
 +ecore_file_monitor_inotify_init();
 + }
 +
em = calloc(1, sizeof(Ecore_File_Monitor_Inotify));
if (!em) return NULL;



 --
 Index, Search  Analyze Logs and other IT data in Real-Time with Splunk
 Collect, index and harness all the fast moving IT data generated by your
 applications, servers and devices whether physical, virtual or in the cloud.
 Deliver compliance at lower cost and gain new business insights.
 Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn



--
Index, Search  Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: discomfitor IN trunk/edje: . src src/bin src/bin/epp

2011-02-21 Thread Vincent Torri


On Mon, 21 Feb 2011, Enlightenment SVN wrote:

 Log:
 edje now uses (and installs if not previously found) epp as its default C 
 preprocessor, providing consistent output across all platforms and allowing 
 edje_cc to run on windows (vtorri!!)
  fallbacks exist to use old behavior if epp fails.


 Author:   discomfitor
 Date: 2011-02-21 00:04:44 -0800 (Mon, 21 Feb 2011)
 New Revision: 57210
 Trac: http://trac.enlightenment.org/e/changeset/57210

 Added:
  trunk/edje/src/bin/edje_cc_parse.c.in trunk/edje/src/bin/epp/ 
 trunk/edje/src/bin/epp/Makefile.am trunk/edje/src/bin/epp/cppalloc.c 
 trunk/edje/src/bin/epp/cpperror.c trunk/edje/src/bin/epp/cppexp.c 
 trunk/edje/src/bin/epp/cpphash.c trunk/edje/src/bin/epp/cpphash.h 
 trunk/edje/src/bin/epp/cpplib.c trunk/edje/src/bin/epp/cpplib.h 
 trunk/edje/src/bin/epp/cppmain.c
 Removed:
  trunk/edje/src/bin/edje_cc_parse.c
 Modified:
  trunk/edje/AUTHORS trunk/edje/ChangeLog trunk/edje/configure.ac 
 trunk/edje/src/Makefile.am trunk/edje/src/bin/ trunk/edje/src/bin/Makefile.am

 Modified: trunk/edje/AUTHORS
 ===
 --- trunk/edje/AUTHORS2011-02-21 07:49:21 UTC (rev 57209)
 +++ trunk/edje/AUTHORS2011-02-21 08:04:44 UTC (rev 57210)
 @@ -14,3 +14,4 @@
 Sebastian Dransfeld s...@tango.flipp.net
 Tom Hacohen t...@stosb.com
 Aharon Hillel a.hil...@partner.samsung.com
 +Mike Blumenkrantz m...@zentific.com

 Modified: trunk/edje/ChangeLog
 ===
 --- trunk/edje/ChangeLog  2011-02-21 07:49:21 UTC (rev 57209)
 +++ trunk/edje/ChangeLog  2011-02-21 08:04:44 UTC (rev 57210)
 @@ -25,3 +25,6 @@

 * Fix missing cursor changed signale on backspace

 +2011-02-21  Mike Blumenkrantz
 +
 +* Add built-in cpp (epp) to provide consistent output on all 
 archs/OSes

 Modified: trunk/edje/configure.ac
 ===
 --- trunk/edje/configure.ac   2011-02-21 07:49:21 UTC (rev 57209)
 +++ trunk/edje/configure.ac   2011-02-21 08:04:44 UTC (rev 57210)
 @@ -63,16 +63,16 @@
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST

 +
 +have_edje_cc=yes
 case $host_os in
mingw32ce* | cegcc*)
   MODULE_ARCH=$host_os-$host_cpu
   install_vim=no
 -  have_edje_cc=no
   ;;

this is Windows CE stuff. edje_cc should not be compiled for that 
platform. 
Please revert that

Vincent

*)
   MODULE_ARCH=$host_os-$host_cpu-v_maj.0.0
   install_vim=yes
 -  have_edje_cc=yes
   ;;
 esac

 @@ -294,6 +294,12 @@
PKG_CHECK_MODULES([EDJE_CC], [ecore-file = 1.0.0 ecore-evas = 1.0.0 
 ecore = 1.0.0 evas = 1.0.0 eet = 1.0.0 eina = 1.0.0])
EDJE_CC_LIBS=${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}
 fi
 +AC_PATH_PROG([EPP], [epp])
 +AM_CONDITIONAL([BUILD_EPP], [test x$have_edje_cc = xyes -a -z $EPP])
 +if test -z $EPP ; then
 +   EPP=${prefix}/bin/epp
 +   AC_SUBST(EPP)
 +fi

 if test x$have_edje_decc = xyes; then
PKG_CHECK_MODULES([EDJE_DECC], [ecore-file = 1.0.0 ecore-evas = 1.0.0 
 ecore = 1.0.0 evas = 1.0.0 eet = 1.0.0 eina = 1.0.0])
 @@ -380,7 +386,9 @@
 doc/edje.dox
 src/Makefile
 src/lib/Makefile
 +src/bin/edje_cc_parse.c
 src/bin/Makefile
 +src/bin/epp/Makefile
 utils/Makefile
 ])


 Modified: trunk/edje/src/Makefile.am
 ===
 --- trunk/edje/src/Makefile.am2011-02-21 07:49:21 UTC (rev 57209)
 +++ trunk/edje/src/Makefile.am2011-02-21 08:04:44 UTC (rev 57210)
 @@ -1,3 +1,4 @@
 ## Process this file with automake to produce Makefile.in

 SUBDIRS = lib bin
 +MAINTAINERCLEANFILES = Makefile.in


 Property changes on: trunk/edje/src/bin
 ___
 Modified: svn:ignore
   - .deps
 .libs
 Makefile
 Makefile.in
 edje
 edje_ls
 edje_cc
 edje_decc
 edje_player
 edje_convert
 edje_inspector
 edje_external_inspector

   + .deps
 .libs
 Makefile
 Makefile.in
 edje_cc_parse.c
 edje
 edje_ls
 edje_cc
 edje_decc
 edje_player
 edje_convert
 edje_inspector
 edje_external_inspector


 Modified: trunk/edje/src/bin/Makefile.am
 ===
 --- trunk/edje/src/bin/Makefile.am2011-02-21 07:49:21 UTC (rev 57209)
 +++ trunk/edje/src/bin/Makefile.am2011-02-21 08:04:44 UTC (rev 57210)
 @@ -1,4 +1,6 @@
 -
 +if BUILD_EPP
 +  SUBDIRS = epp
 +endif
 MAINTAINERCLEANFILES = Makefile.in

 bin_SCRIPTS = @EDJE_RECC_PRG@


 Property changes on: trunk/edje/src/bin/epp
 ___
 Added: svn:ignore
   + Makefile.in
 epp
 .deps
 Makefile




 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate