Re: [E-devel] [PATCH] patch for describing ecore_imf APIs more detail

2011-03-10 Thread The Rasterman
On Wed, 02 Mar 2011 11:17:08 +0900 Jihoon Kim jihoon48@samsung.com said:

tnx! in svn!

 Hi, EFL developers.
 
 This patch will supplement the documentation about
 ecore_imf_context_preedit_start_event_add,
 ecore_imf_context_preedit_end_event_add and 
 ecore_imf_context_delete_surrounding_event_add API.
 Would you please review and apply in svn?


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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] elm_entry: context menu is shown even though the state of entry is disabled

2011-03-10 Thread The Rasterman
On Wed, 02 Mar 2011 10:53:43 +0900 Jihoon Kim jihoon48@samsung.com said:

fie.. fei.. fo... fum... i smell the blood of ... errr... someone committed
this already :)

 Hi,
 
 In elementary entry widget, context menu appear even though the state of
 entry is disabled.
 This patch is for solving this problem.
 This patch will make entry not to process the mouse event in the disable
 state.
 Would you please review it and apply in svn?


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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [RFC] Evas - OpenGL and Evas (Part 3)

2011-03-10 Thread The Rasterman
On Mon, 7 Mar 2011 17:33:00 +0900 Sung W. Park sung...@gmail.com said:

ok - i skipped all the way to this mail since this already was discussed and
you've moved on 1 step. :)

 Hi all,
 
 In my earlier post, I've discussed about the issues with getting the
 
   evas_object_image_native_surface_set(..., Evas_Native_Surface *surf);
 
 function for setting OpenGL output texture.   There was also a disucssion
 about how Evas should provide a GL glue layer.  We've discussed two
 proposals.
 After some discussion, I went ahead with the preferred way and have
 implemented the APIs.
 
 The APIs go something like... (in Evas_GL.h)
 
EAPI Evas_GL *evas_gl_new  (Evas *e);
EAPI Evas_GL_Surface*evas_gl_surface_create  (Evas_GL *evas_gl,
 Evas_GL_Config *cfg, int w, int h);
EAPI Evas_GL_Context*evas_gl_context_create  (Evas_GL *evas_gl,
 Evas_GL_Context *share_ctx);
EAPI Eina_Bool evas_gl_make_current(Evas_GL
 *evas_gl, Evas_GL_Surface *surf, Evas_GL_Context *ctx);
EAPI Evas_GL_Func evas_gl_proc_address_get   (Evas_GL *evas_gl,
 const char *name);
 
EAPI Eina_Bool evas_gl_native_surface_get (Evas_GL
 *evas_gl, Evas_GL_Surface *surf, Evas_Native_Surface *ns);
 
 I actually have the above APIs running on my machine but
 instead of dumping the entire thing, I wanted to get incremental comments
 for review.

thats actually really sensible :) most happy with the way you're handling this.
do some local experiments - see if something works at all or not, see if you
feel comfortable with it, then propose the idea/solution before you go too much
further and flesh it out so as not to waste time. :)

what you have there looks very sensible to me. its the necessary bits you'd
find in EGL/glX etc. etc. needed to bind gl to evas.. BUT in a way that returns
handles so evas can deal with it nicely :)

one thing that an eventual implementation of this will need is both a gl and
software path. the software path may literally us importing a special build
of mesa with all the software rendering only enabled and glued to render to
ARGB software buffers. how precisely this will happen/work in detail is a
matter i guess for actual implementation, BUT it will be needed as we have to
not fail if you switch engines to software. be slower, sure. fail (either
crash, have missing symbols or just whole parts of the canvas go unrendered) is
bad.

we dont need to do this right away, BUT we do need to design for this and at
the api level that looks all perfectly possible. 

 I'm now attaching Evas_GL.h and evas_gl.c and a Sample program that uses the
 APIs.
 
 Your comments would be very much appreciated.  After the initial review,
 I'll submit
 a RFC for the engine part of the code that I wrote for gl_x11 module.
 
 One issue that I ran into with the above APIs is that Evas_GL_Context is
 already used
 by the gl_common part of the code in the engine module.  Upon discussing it
 with Raster,
 the consensus was that it was better to change the internal code since it's
 not exposed.
 So, in my implementation, I've changed the internal part to
 Evas_Engine_GL_Context.
 I just wanted to mention that here for now even though it won't show in the
 files that i'm
 attaching.

yup. change the internal type name - no problems there. otherwise i'm
relatively happy with the api as i see it there and the implementation code -
of course accounting for the fact that the engine will provide a
gl_surface_create and gl_context_create call.

now one thing. evas_gl_proc_address_get() is all fine and good. do you expect
apps to have to get proc address of EVERY gl api call? are we not going to
provide a pre-fetched set of standard gl calls in a struct or something?

oh and one other thing. on evas_gl_free() shouldnt we also track and free all
the gl contexts, surfaces etc. that were created via the gl object?

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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] small patch for elm_module

2011-03-10 Thread The Rasterman
On Thu, 03 Mar 2011 10:13:25 +0900 WooHyun Jung wh0705.j...@samsung.com said:

in svn!

 Hello. All ~ 
 
  
 
 I made a patch for elm_module. 
 
 Null setting for freed pointer ~ 
 
  
 
 Can anybody check about this ?
 
 Thanks. 
 


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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] elm_gengrid selection key patch

2011-03-10 Thread The Rasterman
On Thu, 03 Mar 2011 13:26:06 +0900 Jihoon Kim jihoon48@samsung.com said:

in svn! tnx muchly!

 Hi, EFL developers.
 
 Unlike other widget, gengrid processes only the Return key for selecting
 item.
 This patch makes gengrid be able to process KP_Enter and space key for
 selecting item.
 
 Thanks.


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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Receipe website

2011-03-10 Thread The Rasterman
On Tue, 1 Mar 2011 16:32:44 +0100 Cedric BAIL cedric.b...@free.fr said:

 On Tue, Mar 1, 2011 at 7:05 AM, Ian Caldwell inchost...@gmail.com wrote:
  while your at it. Find a web dev for E.org :P maybe we should roll some
  django like so http://djink.chrismorgan.info/ ?
 
 Yeah, that's rock to have so many people ready to help on the admin
 part of the job, but I am sad we didn't get that much answer from web
 designer :( Common guys, I am sure some of you can do that !

that's actually the biggest problem. admin stuff pretty much any of us can do -
developers included (tho devs would rather be doing code). web design and
simple devs CAN do too.. but thats time spent NOT on EFL or E. :)

in the past the drupal/joomla/mambo's etc. of this world have not proven to be
that useful since we have svn and skills to build pretty much any back-end we
like. if anything they have gotten in the way.

but i'm amazed we dont have a gaggle of people who know php or something AND
can do nice design jumping all over the site. our site code is open... it's in
svn. it's even managed from there and actually doesn't need any special infra
like mysql db's etc. so u can actually just check it out and run it locally
if you want (if you have a local apache + php).

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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] RFC: eina simple (and stupid) XML parser

2011-03-10 Thread The Rasterman
On Wed, 9 Mar 2011 16:31:23 -0300 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

 On Wed, Mar 9, 2011 at 8:19 AM, Carsten Haitzler ras...@rasterman.com wrote:
  On Sun, 27 Feb 2011 20:25:06 -0300 Gustavo Sverzut Barbieri
  barbi...@profusion.mobi said:
 
  well i'll respond to the original post here after having read this entire
  thread.
 
  i've actually looked at the parser code gustavo posted - i suspect only few
  people did and they just saw xml and eina and jumped :). let me be
  blunt - i am no fan of xml. i despise it like being smeared with fish poop
  first thing on a sunday morning. (some people might be into that... and
  some peolpe are also into xml... not sure if there's a link...)
 
  anyway...  overall there is something nice about the simplicity of this
  parser. it avoids allocating anything itself - it leaves you to do so in
  the parse callback. my first reaction was oh no xml.. not in eina but
  having a read and some time to think...i am thinking - we have to parse xml
  for efreet already. we have it forced on us already. moving efreet to use
  this eina parser should make life easier and help share a parser for more
  purposes, so i'd be up for this going into eina conditionally that efreet's
  parser uses this instead and any missing features it needs are moved into
  ssxmlp. but.. with 2 extra things (not having looked at efreet's needs)...
 
  1. the ability to quit the current decode and report WHICH byte it quit at
  to allow multi-pass parsing (not an all-or none pass or fail). sure u can do
  this outside via a global var etc. but it'd be nicer if it were a return
  from eina_simple_xml_parse() that said what byte it got up to (if return ==
  buflen then it got all the way to the end with no quits).
 
 this is simple enough to change, and I can do it, but you don't need a
 global variable now, you get a context (void *) to your callback, and
 you get reports about error there, so you could flag it there. Do you
 want it anyways?

oh sure - i guess what i meant was that u cant pass it back on the stack. i
guess you can piggy back on the data ptr etc. etc. - ok scrap this idea.

  2. i don't like the fact that it doesn't handle encoding. that at least it
  doesnt auto-parse the xml ... encoding= for you - and by this i mean
  still hand it to you to parse via the tag handling callback, BUT ALSO have
  an internal handler that parses this, stores encoding and then provides a
  encoding decoder (if encoding is not ascii) that returns utf8 text always
  from whatever encoding the document has - and... well.. also handles the
  amp; etc. escapes too (optionally). that's really my only gripe that it
  handle this so a simple parser can just, in its Eina_Simple_XML_Cb callback
  take content and say hey - decode this baby given the documents encoding
  to standard utf8 for me - k.tnx.bi.
 
 I can store the encoding myself and make it available upon request,

that'd be an improvement for sure. as such xml defines the following for
encoding:

http://www.opentag.com/xfaq_enc.htm

so it's not just a matter of handling xml encoding=... but also the first
bytes. based on these you have to decode the rest of the xml doc appropriately
- including tags and all. at least we'd have to support utf-8 and utf-16 - and
iconv wrapping can do pretty much everything for us buit even the tags and
CDATA and so on have to be handled with the encoding given - that's why i am
kind of pushing for this :).

 eina already provides wrappers around iconv() so you could call that.

sure - though you'd also want to be able to handle escapes. that's not too hard
to do and the wrapper call can do both of them in the same pass (depending if
you ask it to do it or not).

 I can also provide an entity-to-utf8, just copy it from Evas... but

yup.

 are these required at such level? Efreet's don't do any of those

i'm sure it doesn't - but i'd like to see a slightly more complete xml impl
here - not more than this, just this. i hope i'm not pushing for too much?

 AFAIR. I'll just not make it in the default path or automatic, as I
 believe most people will use without it (did you ever see a file in
 your linux install that is not UTF8 for ages? I mean these
 configuration files). If I need to do it I'd do in:

sure - i was thinking keep the structure as you have it now, BUT be able to do
char *eina_simple_xml_decode(Eina_Simple_XML_Type type, const char *content,
int offset, int length, Eina_Bool decode_escapes);

but one thing is missing here - a document handle so i'd suggest adding a

typedef struct _Eina_Simple_XML_Doc Eina_Simple_XML_Doc;

and then add that as a param to Eina_Simple_XML_Cb and
Eina_Simple_XML_Attribute_Cb (after void *data). now the callback gets passed
the doc handle and this can be non-public and store encoding etc. etc. and then
be passed to eina_simple_xml_decode() as an added param. i'd prefer this to the
encoding param below. it allows more document things to be stored and 

Re: [E-devel] Crash with elementary after recompile

2011-03-10 Thread The Rasterman
On Wed, 2 Mar 2011 23:30:55 +0100 Andreas Volz li...@brachttal.net said:

 Am Wed, 2 Mar 2011 00:22:56 +0100 schrieb Andreas Volz:
 
  Hello,
  
  my application crashes after recompiling EFL:
  
  http://codepad.org/gQc8fqaL
  
  Reason is that elm_config=NULL while dereferencing and using the
  macro ENGINE_COMPARE.
  
  Any ideas?
 
 I just found the problematic commit (rev. 56218): (raster)
 
  dont ALWAYS init elm for externals - if one isnt used.. why init it?
  (for that matter externals has a problem in design - it loads every
  module for externals and thus links in every lib even if never used by
  the app/edje obj).
 
 If I comment out e.g. the elm_shutdown() in external_elm_shutdown()
 (line 27) my application works again.
 
 I'll explain you my application setup. I start a plain Edje application
 without any linking or initialization to elementary. Then it loads user
 defined edj files. And in some of there are Elementary widgets. I
 couldn't know this before.
 
 Displaying my first edj file works great, but after deleting it I got
 this crash. This is problematic as the main application logic is to
 load and unload edj files...
 
 Do you've any ideas how to solve this problem? Could you maybe revert
 your patch until a final design solution is found. If not I've to
 maintain local patches for my project. :-(

hmm. so the problem here is that actually an elm_shutdown followed by and
elm_init() doesn't work right. thats the crux of the problem. right? (sorry -
didnt get to talk about this last week in person :))

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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Crash with elementary after recompile

2011-03-10 Thread The Rasterman
On Wed, 2 Mar 2011 23:30:55 +0100 Andreas Volz li...@brachttal.net said:

 Am Wed, 2 Mar 2011 00:22:56 +0100 schrieb Andreas Volz:
 
  Hello,
  
  my application crashes after recompiling EFL:
  
  http://codepad.org/gQc8fqaL
  
  Reason is that elm_config=NULL while dereferencing and using the
  macro ENGINE_COMPARE.
  
  Any ideas?
 
 I just found the problematic commit (rev. 56218): (raster)
 
  dont ALWAYS init elm for externals - if one isnt used.. why init it?
  (for that matter externals has a problem in design - it loads every
  module for externals and thus links in every lib even if never used by
  the app/edje obj).
 
 If I comment out e.g. the elm_shutdown() in external_elm_shutdown()
 (line 27) my application works again.
 
 I'll explain you my application setup. I start a plain Edje application
 without any linking or initialization to elementary. Then it loads user
 defined edj files. And in some of there are Elementary widgets. I
 couldn't know this before.
 
 Displaying my first edj file works great, but after deleting it I got
 this crash. This is problematic as the main application logic is to
 load and unload edj files...
 
 Do you've any ideas how to solve this problem? Could you maybe revert
 your patch until a final design solution is found. If not I've to
 maintain local patches for my project. :-(

actually i wrote a quick test that inits and shuts elm down - _elm_config is
not NULL. this is a bit trickier. i thought i'd be able to reproduce the
problem in this way... the issue is somewhere else and i'd like to be able to
reproduce it and fix it. right now it works for me. test app attached. (i did
find valgrind complaining of some deferred window deleting handling which i
have now fixed).

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

#include Elementary.h

static runs = 0;

static void
win_del(void *data, Evas_Object *obj, void *event_info)
{
   elm_exit();
}

int
main(int argc, char **argv)
{
   Evas_Object *win, *bg, *lb;

   elm_init(argc, argv);
   
   win = elm_win_add(NULL, hello, ELM_WIN_BASIC);
   elm_win_title_set(win, Hello);
   evas_object_smart_callback_add(win, delete,request, win_del, NULL);
   
   bg = elm_bg_add(win);
   evas_object_size_hint_weight_set(bg, 1.0, 1.0);
   elm_win_resize_object_add(win, bg);
   evas_object_show(bg);
   
   lb = elm_label_add(win);
   elm_label_label_set(lb, Hello World!);
   evas_object_size_hint_weight_set(lb, 1.0, 1.0);
   elm_win_resize_object_add(win, lb);
   evas_object_show(lb);
   
   evas_object_show(win);
   
   elm_run();

   elm_shutdown();
   runs++;
   if (runs  3) main(argc, argv);
   return 0;
}
   
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas - OpenGL and Image Object - evas_object_image_native_surface_set()

2011-03-10 Thread The Rasterman
On Mon, 28 Feb 2011 17:14:58 +0900 Sung W. Park sung...@gmail.com said:

 Hi all,
 
 My name is Sung Park and I've recently started working on a project for a
 Big mobile hw company in Korea ;-)

oh out with it already! :) everyone knows its samsung. :)

 I've been given the assignment of getting the OpenGL rendered output set as
 an image object in Evas, and now I'm getting my feet wet with EFL.

slosh slosh. welcome to our little corner of the swamp :)

 I'd very much appreciate your guys' help and comments.  Hopefully, I'll do
 the same for the community in a short period of time.
 
 So, here I go...
 ---
 From what I've gathered thus far, there is the
 
 evas_object_image_native_surface_set(..., Evas_Native_Surface *surf);
 
 that allows you to either pass in a pixmap or a texture id as part of the
 Evas_Native_Surface structure to set it as the evas_image object source.
 I've noticed that the opengl texture part of the code hasn't been
 implemented yet.  In fact, this is the part that we are interested in
 currently:  to render an image using OpenGL to an output texture (using FBO)
 and then to pass that texture to the above function.
 
 Unfortunately, there are a few issues with this approach.   (By the way, I'm
 assuming that Evas is running a gl-x11 engine for the sake of discussion)
 
 - The main issue is that the GL application's GL context and the Evas
 engine's GL context is different. Hence a texture created from the
 application cannot be seen from the Evas engine's GL context and will not
 output correct result.  I know that in Windows or Mac, there are ways to
 share texture resources even across processes, but that is not the case in
 Linux environment -- you can redirect pixmaps and bind it as a texture but
 not explicitly share textures.
 
 - However, there is a way to get around this issue.  Texture resources can
 be shared across different contexts by giving the share context as a
 parameter when creating a new context.  For example,
 
glXCreateContext(Display* dpy, XVisualInfo *vis, GLXContext shareList,
 Bool direct);
 
 the shareList can be Evas' GL context.  Then when the user application
 creates a GL context with this parameter, Evas will be able to see the
 texture.  Unfortunately, this exposes Evas' resources to the users BUT there
 isn't really a reasonably better option without writing a ton code...

 However, explicitly exposing Evas' GL context just sound like a really
 really bad idea.  One option that I would like to discuss over in a separate
 thread is possibly having evas provide a set of open gl glue layer apis and
 take care of the creating context and etc. for the users so they don't have
 to explicitly deal with Evas' internals.
 
 - There's also the make_current overhead for dynamic scenes since the
 application and evas has to call make_current every time they render. I'll
 address that again next time.

actually i suspect we'll have to accept that there will always be some
overhead in this whole gl on top of evas thing compared to gl directly in a
window/buffer/fb yourself, so i don't think it will be TOO bad.

 ---
 
 For this thread, I would like to ask the community to review
 evas_object_image_native_surface_set portion of the code that I've added.
 The patch that I'm including is for gl_x11 engine evas_engine.c and
 gl_common's evas_gl_context.c.  I'm also including a simple sample program
 that tests the code.  consider the code a minor fix that allows the sample
 code to run and maybe you guys can help out completing it.
 
 By the way, It's been quite difficult trying to figure out the semantics of
 some of the evas_object_image functions without proper documentations... so
 i may have gotten certain things wrong here..
 
 Also, if you look at the sample code, I've used glXGetCurrentContext() to
 grab Evas' current GL context to use it as a share context.  It's a dirty
 trick but it allows me to test the code for now =)
 
 I've also noticed that there was a y-invert texture coordinate bug (GL and
 evas has different coordinate system) so I've made those changes in
 evas_gl_context.c
 
 ___
 Here are some comments about the changes I've made.
 
 When using the image object, one would set the data using
 
evas_object_image_data_set(obj, data);
 
 and internally, this creates a Evas_GL_Image structure.  If I don't use the
 above function, it doesn't create a Evas_GL_Image object.
 For setting a native surface opengl texture, I figured it's not necessary to
 call above function so i've added some code in the beginning of the
 native_set() that creates the object if it's an OpenGL Native Surface.
 
 Also, I didn't think it was necessary to hash the image object so i didn't
 add the code in there but I could be wrong I guess.
 
 Finally, I think it may not be a bad idea to add target (texture target)
 field in the Evas_Native_Surface but I guess that can 

Re: [E-devel] imlib2 caching can fail

2011-03-10 Thread The Rasterman
On Sun, 06 Mar 2011 07:49:59 +0100 Kim Woelders k...@woelders.dk said:

 On Thu, 03 Mar 2011 15:46:15 +0100, Jesper Saxtorph  
 jesper.saxto...@prevas.dk wrote:
 
  I have just submitted a bugraport + a patch on trac (bug #716).
 
  I just wanted to notifify it here also as I do not know the
  enlightenment community and how it works.
 
 Either is fine.
 
  To repeat my bug report:
  I use imlib2 as a image library in a project. However the use we have
  sometimes tricker a situation where imlib2 uses an invalid cache.
 
  imlib2 uses timestamps to test if a image cache i valid. If a files
  modification time is in the future it is not possible to use validation
  scheme. Further if the timestamp is equal to now, we do not know if the
  modification time is in the future or not. The result is that the cache
  should be invalidated for file timestamps = now.
  An example of a problematic situation: timestamps are in whole seconds
  times given as here as seconds:
  time=32.1 : image.png is written by someone
  time=32.4 : image.png is loaded by imlib2
  time=32.5 : image.png is written with new data
  The situation is now that the cache has the same timestamp as the file,
  but the content is not the same.
 
  A possible fix is a 3 line patch, which I have attached. It invalidate
  the cache if the files timestamp is = now.
  The patch is made agains head, however, the image.c file (where the
  patch is applied) has changed very little in it lifetime, so it works
  fine with earlier versions of imlib2 (I use it against 1.4.2).
 
  I attached an incorrect patch at first to the ticket, but have submittet
  the correct afterwards. Sorry for that.
 
  My suggestion to a patch (I have made the long comment as I think it is
  not obvious why it is needed):
  --- imlib2/src/lib/image.c.orig 2011-03-03 14:23:49.0 +0100
  +++ imlib2/src/lib/image.c  2011-03-03 14:45:19.0 +0100
  @@ -1017,6 +1017,18 @@
   im-key = __imlib_FileKey(file);
}
  im-moddate = __imlib_FileModDate(file);
  +   /* If the file modify time is now or in the future, we can not make
  a */
  +   /* cache. */
  +   /* One of several possible scenarios: */
  +   /* time=now: file is written by someone */
  +   /* time=now: file is loaded here */
  +   /* time=now: file is written again by someone */
  +   /* Now we have a file a timestamp equal to our cache, but with a */
  +   /* different content. */
  +   if (im-moddate = time(NULL))
  + {
  +dont_cache = 1;
  + }
  /* ok - just check all our loaders are up to date */
  __imlib_RescanLoaders();
  /* take a guess by extension on the best loader to use */
 
  Hope it make sense, otherwise feel free to ask and/or discuss it
 
 I see there is a problem, but I don't think it is the proper solution.
 If you have a file with a now/future time stamp it would never be  
 cached, which is wrong.
 
 How about in stead changing line 986 (svn) to check whether the time stamp  
 has changed in stead of checking if it is newer?

while in general you are also right.. he's also trying to fix the problem of
write file at 34.1 secs, then write AGAIN at 34.5 secs - they both have the
SAME timestamp but the 2nd is newer. imlib2 will not load the newer file as the
timestamps match due to timestamp resolution (34 vs 34 secs). but while solving
this problem it  breaks caching for timestamp == now. you'd need much higher
resolution timestamps (and even then you still just have a smaller race
condition) or .. you'd have to have another way to differentiate the files.
file size + timestamp + inode +  even then you just lower the probability
not eliminate it.

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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_map_marker_region_get

2011-03-10 Thread The Rasterman
On Mon, 7 Mar 2011 11:10:16 +0900 sangho park gouach...@gmail.com said:

 Dear all,
 
 This is a patch for elm_map_marker.
 I added one api to get the coordinates of the marker.
 because marker-longitude and marker-latitude are private data,
 app can't access the coordinates of the marker.
 
 pls review this patch.

in svn! i'm happy with this.


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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] anchorview's clicked signal is always sent when mouse up.

2011-03-10 Thread The Rasterman
On Fri, 04 Mar 2011 21:15:34 +0900 WooHyun Jung wh0705.j...@samsung.com said:

thanks! in svn! :)

 Hello. All. 
 
 I've checked anchor,clicked signal is always sent with mouse_up. 
 
 That is, mouse_down on the anchor - mouse_move out from the anchor -
 mouse_up can emit anchor,clicked signal.
 
 So I made one patch for right clicked signal emitting. 
 
 Can anybody check about this ? 
 
 Thanks. 
 


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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] more evas implicits

2011-03-10 Thread The Rasterman
On Mon, 7 Mar 2011 00:34:11 -0500 Mike Blumenkrantz m...@zentific.com said:

how do you get these? i don't with -W -Wall -Wextra ... and it always complains
of implicit decl's.

 evas_font_draw.c: In function 'evas_common_font_int_cache_glyph_get':
 evas_font_draw.c:205: warning: implicit declaration of function
 'evas_common_font_int_promote' evas_font_draw.c:218: warning: implicit
 declaration of function 'evas_common_font_int_reload' evas_font_draw.c:269:
 warning: implicit declaration of function 'evas_common_font_int_use_increase'
 evas_font_draw.c: In function 'evas_common_font_draw_internal':
 evas_font_draw.c:689: warning: implicit declaration of function
 'evas_common_font_int_use_trim' CC evas_image_load.lo CC
 evas_font_query.lo evas_font_load.c: In function
 'evas_common_font_memory_load': evas_font_load.c:467: warning: implicit
 declaration of function 'evas_common_font_int_promote' evas_font_load.c: At
 top level: evas_font_load.c:773: warning: conflicting types for
 'evas_common_font_int_promote' evas_font_load.c:467: note: previous implicit
 declaration of 'evas_common_font_int_promote' was here evas_font_load.c: In
 function 'evas_common_font_int_use_trim': evas_font_load.c:803: warning:
 implicit declaration of function 'evas_common_font_int_unload'
 evas_font_load.c: At top level: evas_font_load.c:810: warning: conflicting
 types for 'evas_common_font_int_unload' evas_font_load.c:803: note: previous
 implicit declaration of 'evas_common_font_int_unload' was here CC
 evas_image_save.lo CC evas_image_main.lo
   CC evas_image_data.lo
 evas_font_main.c: In function 'evas_common_font_ascent_get':
 evas_font_main.c:90: warning: implicit declaration of function
 'evas_common_font_int_reload' evas_font_query.c: In function
 'evas_common_font_query_kerning': evas_font_query.c:31: warning: implicit
 declaration of function 'evas_common_font_int_reload' CC
 evas_image_scalecache.lo CC evas_line_main.lo
   CC evas_polygon_main.lo
   CC evas_rectangle_main.lo
   CC evas_scale_main.lo
   CC evas_scale_sample.lo
   CC evas_scale_smooth.lo
   CC evas_scale_span.lo
   CC evas_tiler.lo
   CC evas_regionbuf.lo
   CC evas_pipe.lo
   CC evas_bidi_utils.lo
   CC evas_language_utils.lo
   CC evas_text_utils.lo
   CC evas_font_ot.lo
 evas_pipe.c: In function 'evas_common_frameq_schedule_flush_time':
 evas_pipe.c:685: warning: implicit declaration of function 'usleep'
   CC evas_map_image.lo
 evas_text_utils.c: In function 'evas_common_text_props_content_create':
 evas_text_utils.c:193: warning: implicit declaration of function
 'evas_common_font_int_reload'
 
 
 -- 
 Mike Blumenkrantz
 Zentific: NULL pointer dereferences now 50% off!
 
 --
 What You Don't Know About Data Connectivity CAN Hurt You
 This paper provides an overview of data connectivity, details
 its effect on application quality, and explores various alternative
 solutions. http://p.sf.net/sfu/progress-d2d
 ___
 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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Need suggestion to support multiple text parts in elm_progressbar

2011-03-10 Thread The Rasterman
On Mon, 07 Mar 2011 16:25:58 + (GMT) PRINCE KUMAR DUBEY
prince.du...@samsung.com said:

the general idea, i like, BUT... exposing the actual part name i don't. making
multiple calls to set multiple defined/known labels that a style may or may not
provide sounds good, but if you want to make this pass in the part name
directly i'd prefer it

1. be done not for just progressbar but in general for all widgets - a bit like
the signal emit thing is done.
or
2. as above - specific known N elements provided by that widget.

Hi,
 
I need additional Texts display ( marked as text1, text2, text3 ..).
 Current progressbar supports only one label, but i need more than one label
 (ref below fig.).
 
 
[cid:BSL8PYMC4CBB@namo.co.kr]
 
Currently, we have an API elm_progressbar_label_set() which allows us to
set/get one text along with unit.
 
 
I have a suggestion, to introduce new api to set label for sytle specific
part,
 
ex elm_progressbar_sub_label_set( Evas_Object obj, const char* part_name,
const char* label )
 
Parameter part name can be named in std. way e.g. elm.text, elm.text.sub1,
elm.text.sub2.
 
 
Your input is highly appreciated.
 
 
Regards,
 
Prince Kr Dubey
 
 
 
 
[SeenTimeChecker?
 do=efb2749dba5ad35f554175b1dd6ae4c18808ce7c2c034ea52f03c9b1
 9f0b6f57ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d958075
 b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0]


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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_smart_scroller_child_region_show_internal

2011-03-10 Thread The Rasterman
On Mon, 07 Mar 2011 08:11:50 + (GMT) Jae Hwan Kim
jae.hwan@samsung.com said:

i'm happy with that patch! thanks! in svn! :)

 
 Dear all
 
 In the els_scroller of the elementary, the function
 elm_smart_scroller_child_region_show_internal have a problem. If the
 parameters x,y,w,h have the wrong value like elm_scroller_region_show
 (scroller, -300, -300, 900, 900);, the scroller move the position
 temporarily. The scroller seem to jump. So if the value of the parameter is
 not valid, it should be changed to valid value. The work is applied already
 in the function elm_smart_scroller_region_bring_in. It should be applied in
 the function elm_smart_scroller_child_region_show_internal too. I changed
 the code like bring_in function. Please find the attached patch file.
 
 Thanks,
 Jaehwan Kim.

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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH]: keyboard navigation in menus

2011-03-10 Thread The Rasterman
On Wed, 9 Mar 2011 16:24:10 +0100 Tristan Lelong tristan.lel...@blunderer.org
said:

ok. going to have to reject here.

patch 1:
1. formatting - elm_menu_discard() in Elementary.h.in doesnt align with the
rest of the calls next to it (looks ugly)
2. elm_menu_discard() in elm_menu.c is indented using tabs, not spaces. make it
align/look like all the code above/below it :)

patch 2:
3. elm_menu_item_selected_get() also not aligned in Elementary.h.in
4. elm_menu_selected_item_get() also add a space between * and the function
call.
5. more tabs in elm_menu.c indenting as opposed to spaces.
6. ELM_CHECK_WIDTYPE() is changed to remove the NULL return - this creates a
bug.
7. ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN provides no return value as arg in
elm_menu_item_selected_get(), elm_menu_item_prev_get(), elm_menu_item_next_get
()
8. Eina_List * l there and not Eina_List *l.
9. space between eina_list_data_find_list and ()
10. same with eina_list_next() and eina_list_prev()

... :) (don't worry - you'll learn that we are picky about these things) :)

 Hello,
 
 I was using elementary on a target that only has a keyboard, and I add
 to do several modification on the elm_menu to handle keyboard
 navigation.
 - patch 1: discard a menu from C source code
 - patch 2: add accessors for menu items and add the ability to handle
 selected item from C source code
 
 
 
 -- 
 618FE3EF


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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [E-Devel] Edje program signal for key press

2011-03-10 Thread The Rasterman
On Wed, 9 Mar 2011 20:19:23 +0100 Christian K. waffenkl...@googlemail.com
said:

 Yes, understood.
 
 What's your use case? Other than simple tests?
 
 I write a calculator module, mainly with edje and embryo, and i wanted to
 add a quick keyboard entry.
 For the numbers i use elementary buttons, but they simply call internal
 embryo functions.
 
 But the point of getting the focus was a matter i thought of too. Its okay
 if this wont work, was just an idea.

well.. edje wasnt an app development lang. it is not meant to do things like a
calculator - it's meant to interact with an app that does the calculator bits
and just handle the display layer and some input bits. i decided handling mouse
was relevant as mouse is contextual based on where you click, but key presses
are not. you will, as a user of edje, set focus to the edje obj and beyond that
you dont really know of all its internal bits and what may or may not have
focus - and then keys pressed will vary a lot between devices, desktops etc.
and you generally want to virtualise a key press into a generic signal that can
be emitted from the app after translating the key press into the higher-level
signal

 2011/3/9 Gustavo Sverzut Barbieri barbi...@profusion.mobi
 
  On Wed, Mar 9, 2011 at 2:25 PM, Christian K. waffenkl...@googlemail.com
  wrote:
   Well, okay.
  
   Just for information: Any reason why? I'm curious.
 
  because there was never a reason (= use case) for that. First of all,
  the object itself needs to have focus to receive events
  (evas_object_focus_set(obj, EINA_TRUE)), and those who set this are
  the ones that often react to these events... they are more complex to
  handle, do you need keyname, symbol, modifiers?
 
  What's your use case? Other than simple tests?
 
  NB: if you have a TEXTBLOCK that is editable you can do more to it, it
  is used as the base for elementary's elm_entry, so if you want
  something like that, take a look there.
 
 
  --
  Gustavo Sverzut Barbieri
  http://profusion.mobi embedded systems
  --
  MSN: barbi...@gmail.com
  Skype: gsbarbieri
  Mobile: +55 (19) 9225-2202
 
 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 ___
 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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Crash with elementary after recompile

2011-03-10 Thread Cedric BAIL
On Thu, Mar 10, 2011 at 7:35 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Wed, 2 Mar 2011 23:30:55 +0100 Andreas Volz li...@brachttal.net said:
 Am Wed, 2 Mar 2011 00:22:56 +0100 schrieb Andreas Volz:
  my application crashes after recompiling EFL:
 
  http://codepad.org/gQc8fqaL
 
  Reason is that elm_config=NULL while dereferencing and using the
  macro ENGINE_COMPARE.
 
  Any ideas?

 I just found the problematic commit (rev. 56218): (raster)

  dont ALWAYS init elm for externals - if one isnt used.. why init it?
  (for that matter externals has a problem in design - it loads every
  module for externals and thus links in every lib even if never used by
  the app/edje obj).

 If I comment out e.g. the elm_shutdown() in external_elm_shutdown()
 (line 27) my application works again.

 I'll explain you my application setup. I start a plain Edje application
 without any linking or initialization to elementary. Then it loads user
 defined edj files. And in some of there are Elementary widgets. I
 couldn't know this before.

 Displaying my first edj file works great, but after deleting it I got
 this crash. This is problematic as the main application logic is to
 load and unload edj files...

 Do you've any ideas how to solve this problem? Could you maybe revert
 your patch until a final design solution is found. If not I've to
 maintain local patches for my project. :-(

 actually i wrote a quick test that inits and shuts elm down - _elm_config is
 not NULL. this is a bit trickier. i thought i'd be able to reproduce the
 problem in this way... the issue is somewhere else and i'd like to be able to
 reproduce it and fix it. right now it works for me. test app attached. (i 
 did
 find valgrind complaining of some deferred window deleting handling which i
 have now fixed).

There was a bug in the refcount of elm external, that I fixed Tuesday.
That's maybe why it work for you now :-)
-- 
Cedric BAIL

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Crash with elementary after recompile

2011-03-10 Thread The Rasterman
On Thu, 10 Mar 2011 12:00:33 +0100 Cedric BAIL cedric.b...@free.fr said:

 On Thu, Mar 10, 2011 at 7:35 AM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Wed, 2 Mar 2011 23:30:55 +0100 Andreas Volz li...@brachttal.net said:
  Am Wed, 2 Mar 2011 00:22:56 +0100 schrieb Andreas Volz:
   my application crashes after recompiling EFL:
  
   http://codepad.org/gQc8fqaL
  
   Reason is that elm_config=NULL while dereferencing and using the
   macro ENGINE_COMPARE.
  
   Any ideas?
 
  I just found the problematic commit (rev. 56218): (raster)
 
   dont ALWAYS init elm for externals - if one isnt used.. why init it?
   (for that matter externals has a problem in design - it loads every
   module for externals and thus links in every lib even if never used by
   the app/edje obj).
 
  If I comment out e.g. the elm_shutdown() in external_elm_shutdown()
  (line 27) my application works again.
 
  I'll explain you my application setup. I start a plain Edje application
  without any linking or initialization to elementary. Then it loads user
  defined edj files. And in some of there are Elementary widgets. I
  couldn't know this before.
 
  Displaying my first edj file works great, but after deleting it I got
  this crash. This is problematic as the main application logic is to
  load and unload edj files...
 
  Do you've any ideas how to solve this problem? Could you maybe revert
  your patch until a final design solution is found. If not I've to
  maintain local patches for my project. :-(
 
  actually i wrote a quick test that inits and shuts elm down - _elm_config is
  not NULL. this is a bit trickier. i thought i'd be able to reproduce the
  problem in this way... the issue is somewhere else and i'd like to be able
  to reproduce it and fix it. right now it works for me. test app attached.
  (i did find valgrind complaining of some deferred window deleting handling
  which i have now fixed).
 
 There was a bug in the refcount of elm external, that I fixed Tuesday.
 That's maybe why it work for you now :-)

oh well poopie then! at least i fixed another lurking issue :)

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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH]: keyboard navigation in menus

2011-03-10 Thread Tristan Lelong
Ok, I correct all these and I'll submit patches again.
Thx for the feedback.

Le jeudi 10 mars 2011, Carsten Haitzler ras...@rasterman.com a écrit :
 On Wed, 9 Mar 2011 16:24:10 +0100 Tristan Lelong 
 tristan.lel...@blunderer.org
 said:

 ok. going to have to reject here.

 patch 1:
 1. formatting - elm_menu_discard() in Elementary.h.in doesnt align with the
 rest of the calls next to it (looks ugly)
 2. elm_menu_discard() in elm_menu.c is indented using tabs, not spaces. make 
 it
 align/look like all the code above/below it :)

 patch 2:
 3. elm_menu_item_selected_get() also not aligned in Elementary.h.in
 4. elm_menu_selected_item_get() also add a space between * and the function
 call.
 5. more tabs in elm_menu.c indenting as opposed to spaces.
 6. ELM_CHECK_WIDTYPE() is changed to remove the NULL return - this creates a
 bug.
 7. ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN provides no return value as arg in
 elm_menu_item_selected_get(), elm_menu_item_prev_get(), elm_menu_item_next_get
 ()
 8. Eina_List * l there and not Eina_List *l.
 9. space between eina_list_data_find_list and ()
 10. same with eina_list_next() and eina_list_prev()

 ... :) (don't worry - you'll learn that we are picky about these things) :)

 Hello,

 I was using elementary on a target that only has a keyboard, and I add
 to do several modification on the elm_menu to handle keyboard
 navigation.
 - patch 1: discard a menu from C source code
 - patch 2: add accessors for menu items and add the ability to handle
 selected item from C source code



 --
 618FE3EF


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



-- 
618FE3EF

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas/src/modules/loaders/bmp

2011-03-10 Thread Vincent Torri

no changelog ?

Vincent

On Thu, 10 Mar 2011, Enlightenment SVN wrote:

 Log:
 ok - finally - biran wang... you get your hacky bmp loader.



 Author:   raster
 Date: 2011-03-10 04:11:42 -0800 (Thu, 10 Mar 2011)
 New Revision: 57668
 Trac: http://trac.enlightenment.org/e/changeset/57668

 Modified:
  trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c

 Modified: trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c
 ===
 --- trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c  2011-03-10 
 12:04:00 UTC (rev 57667)
 +++ trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c  2011-03-10 
 12:11:42 UTC (rev 57668)
 @@ -161,6 +161,7 @@
 if (!read_int(f, tmp2)) goto close_file;
 important_colors = tmp2; // number of important colors - 0 if all
 if (image_size == 0) image_size = fsize - offset;
 +if ((comp == 0)  (bit_count == 32)) hasa = 1; // GIMP seems to 
 store it this way
  }
else if (head_size == 108) // Windows 95/NT4 + (v4)
  {
 @@ -435,6 +436,7 @@
 if (!read_int(f, tmp2)) goto close_file;
 important_colors = tmp2; // number of important colors - 0 if all
 if (image_size == 0) image_size = fsize - offset;
 +if ((comp == 0)  (bit_count == 32)) hasa = 1; // GIMP seems to 
 store it this way
  }
else if (head_size == 108) // Windows 95/NT4 + (v4)
  {
 @@ -949,6 +951,7 @@
}
  else if (bit_count == 32)
{
 +  int none_zero_alpha = 0;
   pix = surface;
   for (y = 0; y  h; y++)
 {
 @@ -959,6 +962,7 @@
 g = p[1];
 r = p[2];
 a = p[3];
 +if (a) none_zero_alpha = 1;
 if (!hasa) a = 0xff;
 *pix = ARGB_JOIN(a, r, g, b);
 p += 4;
 @@ -969,6 +973,17 @@
if (fix  0) p += 4 - fix; // align row read
if (p = buffer_end) break;
 }
 +  if (!none_zero_alpha)
 +{
 +   ie-flags.alpha = 0;
 +   if (hasa)
 + {
 +unsigned int *pixend = pix + (w * h);
 +
 +for (pix = surface; pix  pixend; pix++)
 +   A_VAL(pix) = 0xff;
 + }
 +}
}
  else
goto close_file;


 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn



--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Repaired DBus-c++ ecore integration

2011-03-10 Thread Andreas Volz
Hello,

I just repaired the long partly broken ecore integration to DBus-C++.
If you like to use DBus-c++ with Ecore, please test it.

https://sourceforge.net/projects/dbus-cplusplus/
http://gitorious.org/dbus-cplusplus

Thanks zmike for ecore help!

Yes I know there's e_dbus, but this one fits better into my C++
application. :-)

regards
Andreas

-- 
Technical Blog http://andreasvolz.wordpress.com/

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas/src/modules/loaders/bmp

2011-03-10 Thread Vincent Torri

forget it

vincent

On Thu, 10 Mar 2011, Vincent Torri wrote:


 no changelog ?

 Vincent

 On Thu, 10 Mar 2011, Enlightenment SVN wrote:

 Log:
 ok - finally - biran wang... you get your hacky bmp loader.



 Author:   raster
 Date: 2011-03-10 04:11:42 -0800 (Thu, 10 Mar 2011)
 New Revision: 57668
 Trac: http://trac.enlightenment.org/e/changeset/57668

 Modified:
  trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c

 Modified: trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c
 ===
 --- trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c 2011-03-10 
 12:04:00 UTC (rev 57667)
 +++ trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c 2011-03-10 
 12:11:42 UTC (rev 57668)
 @@ -161,6 +161,7 @@
 if (!read_int(f, tmp2)) goto close_file;
 important_colors = tmp2; // number of important colors - 0 if all
 if (image_size == 0) image_size = fsize - offset;
 +if ((comp == 0)  (bit_count == 32)) hasa = 1; // GIMP seems to 
 store it this way
  }
else if (head_size == 108) // Windows 95/NT4 + (v4)
  {
 @@ -435,6 +436,7 @@
 if (!read_int(f, tmp2)) goto close_file;
 important_colors = tmp2; // number of important colors - 0 if all
 if (image_size == 0) image_size = fsize - offset;
 +if ((comp == 0)  (bit_count == 32)) hasa = 1; // GIMP seems to 
 store it this way
  }
else if (head_size == 108) // Windows 95/NT4 + (v4)
  {
 @@ -949,6 +951,7 @@
}
  else if (bit_count == 32)
{
 +  int none_zero_alpha = 0;
   pix = surface;
   for (y = 0; y  h; y++)
 {
 @@ -959,6 +962,7 @@
 g = p[1];
 r = p[2];
 a = p[3];
 +if (a) none_zero_alpha = 1;
 if (!hasa) a = 0xff;
 *pix = ARGB_JOIN(a, r, g, b);
 p += 4;
 @@ -969,6 +973,17 @@
if (fix  0) p += 4 - fix; // align row read
if (p = buffer_end) break;
 }
 +  if (!none_zero_alpha)
 +{
 +   ie-flags.alpha = 0;
 +   if (hasa)
 + {
 +unsigned int *pixend = pix + (w * h);
 +
 +for (pix = surface; pix  pixend; pix++)
 +   A_VAL(pix) = 0xff;
 + }
 +}
}
  else
goto close_file;


 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn



 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] No animations in editje

2011-03-10 Thread Andreas Volz
Hello,

I updated to current E SVN some days ago, but I've still problems with
animations in editje. Here is my example:

http://tux-style.com/tmp/screens.edj

It was created by hand, then continued by edje_editor and now continued
by editje.

There're definitive animations when I load and unload a view. But I
don't see them. Is there something editje incompatible in this edj?

And there're some warning in the edj:

...
ERR6380:edje edje_util.c:3122 edje_object_size_min_restricted_calc() file 
screens.edj, group media_list has a non-fixed part 'Button03'. Adding 'fixed: 1 
1;' to source EDC may help. Continuing discarding faulty part.
ERR6380:edje edje_util.c:3122 edje_object_size_min_restricted_calc() file 
screens.edj, group media_list has a non-fixed part 'Button03'. Adding 'fixed: 1 
1;' to source EDC may help. Continuing discarding faulty part.
ERR6380:edje edje_util.c:3122 edje_object_size_min_restricted_calc() file 
screens.edj, group media_list has a non-fixed part 'Button03'. Adding 'fixed: 1 
1;' to source EDC may help. Continuing discarding faulty part.
...

Is this maybe related?

regards
Andreas

-- 
Technical Blog http://andreasvolz.wordpress.com/

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] No animations in editje

2011-03-10 Thread Gustavo Sverzut Barbieri
On Thu, Mar 10, 2011 at 10:04 AM, Andreas Volz li...@brachttal.net wrote:
 Hello,

 I updated to current E SVN some days ago, but I've still problems with
 animations in editje. Here is my example:

 http://tux-style.com/tmp/screens.edj

 It was created by hand, then continued by edje_editor and now continued
 by editje.

 There're definitive animations when I load and unload a view. But I
 don't see them. Is there something editje incompatible in this edj?

 And there're some warning in the edj:

 ...
 ERR6380:edje edje_util.c:3122 edje_object_size_min_restricted_calc() file 
 screens.edj, group media_list has a non-fixed part 'Button03'. Adding 'fixed: 
 1 1;' to source EDC may help. Continuing discarding faulty part.
 ERR6380:edje edje_util.c:3122 edje_object_size_min_restricted_calc() file 
 screens.edj, group media_list has a non-fixed part 'Button03'. Adding 'fixed: 
 1 1;' to source EDC may help. Continuing discarding faulty part.
 ERR6380:edje edje_util.c:3122 edje_object_size_min_restricted_calc() file 
 screens.edj, group media_list has a non-fixed part 'Button03'. Adding 'fixed: 
 1 1;' to source EDC may help. Continuing discarding faulty part.
 ...

 Is this maybe related?

that may be the reason, or the reason may be the version of editje you
used. Before editje wouldn't preserve script blocks, now it does, but
you need an EDJ that was compiled with newer edje_cc (some weeks
before 1.0 release) that would save such script blocks in the EET data
structure.

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

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [RFC] Evas - OpenGL and Evas (Part 3)

2011-03-10 Thread Solerman Kaplon
Em 10-03-2011 06:11, Carsten Haitzler (The Rasterman) escreveu:

 one thing that an eventual implementation of this will need is both a gl and
 software path. the software path may literally us importing a special build
 of mesa with all the software rendering only enabled and glued to render to
 ARGB software buffers. how precisely this will happen/work in detail is a
 matter i guess for actual implementation, BUT it will be needed as we have to
 not fail if you switch engines to software. be slower, sure. fail (either
 crash, have missing symbols or just whole parts of the canvas go unrendered) 
 is
 bad.

 we dont need to do this right away, BUT we do need to design for this and at
 the api level that looks all perfectly possible.

One can design to support it, but  I heard recently from the Mesa guys that the 
pure software renderer is too slow for any practical usage.

Solerman


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [RFC] Evas - OpenGL and Evas (Part 3)

2011-03-10 Thread The Rasterman
On Thu, 10 Mar 2011 11:15:58 -0300 Solerman Kaplon soler...@gmail.com said:

 Em 10-03-2011 06:11, Carsten Haitzler (The Rasterman) escreveu:
 
  one thing that an eventual implementation of this will need is both a gl
  and software path. the software path may literally us importing a special
  build of mesa with all the software rendering only enabled and glued to
  render to ARGB software buffers. how precisely this will happen/work in
  detail is a matter i guess for actual implementation, BUT it will be needed
  as we have to not fail if you switch engines to software. be slower,
  sure. fail (either crash, have missing symbols or just whole parts of the
  canvas go unrendered) is bad.
 
  we dont need to do this right away, BUT we do need to design for this and
  at the api level that looks all perfectly possible.
 
 One can design to support it, but  I heard recently from the Mesa guys that
 the pure software renderer is too slow for any practical usage.

depends what you do - if you are rendering solid triangles or just gouraud
shaded ones... it should be fine. even if its slow - it's better than not
working at all. sure - if people are rendering a whole screen of complex 3d 
content but if its some smaller/simpler things like 3dicons or other simpler
and more limited stuff... then it will be ok. but the important bit here is
about not BREAKING compatibility - having missing content.

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


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas/src/modules/loaders/bmp

2011-03-10 Thread Nicolas Aguirre
2011/3/10 Vincent Torri vto...@univ-evry.fr:

 forget it

 vincent


someone could please fix vtorri.c it seems there is a bug in the
automatic changelog mail system?

Sorry vincent :P


-- 
Nicolas Aguirre
Mail: aguirre.nico...@gmail.com
Web: http://enna.geexbox.org
Blog: http://dev.enlightenment.fr/~captainigloo/

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas/src/modules/loaders/bmp

2011-03-10 Thread Vincent Torri


On Thu, 10 Mar 2011, Nicolas Aguirre wrote:

 2011/3/10 Vincent Torri vto...@univ-evry.fr:

 forget it

 vincent


 someone could please fix vtorri.c it seems there is a bug in the
 automatic changelog mail system?

 Sorry vincent :P

i'm too evil to be fixed.

Vincent

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] more evas implicits

2011-03-10 Thread Mike Blumenkrantz
On Thu, 10 Mar 2011 19:22:48 +0900
Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:

 On Mon, 7 Mar 2011 00:34:11 -0500 Mike Blumenkrantz m...@zentific.com said:
 
 how do you get these? i don't with -W -Wall -Wextra ... and it always
 complains of implicit decl's.
 
  evas_font_draw.c: In function 'evas_common_font_int_cache_glyph_get':
  evas_font_draw.c:205: warning: implicit declaration of function
  'evas_common_font_int_promote' evas_font_draw.c:218: warning: implicit
  declaration of function 'evas_common_font_int_reload' evas_font_draw.c:269:
  warning: implicit declaration of function
  'evas_common_font_int_use_increase' evas_font_draw.c: In function
  'evas_common_font_draw_internal': evas_font_draw.c:689: warning: implicit
  declaration of function 'evas_common_font_int_use_trim' CC
  evas_image_load.lo CC evas_font_query.lo evas_font_load.c: In function
  'evas_common_font_memory_load': evas_font_load.c:467: warning: implicit
  declaration of function 'evas_common_font_int_promote' evas_font_load.c: At
  top level: evas_font_load.c:773: warning: conflicting types for
  'evas_common_font_int_promote' evas_font_load.c:467: note: previous implicit
  declaration of 'evas_common_font_int_promote' was here evas_font_load.c: In
  function 'evas_common_font_int_use_trim': evas_font_load.c:803: warning:
  implicit declaration of function 'evas_common_font_int_unload'
  evas_font_load.c: At top level: evas_font_load.c:810: warning: conflicting
  types for 'evas_common_font_int_unload' evas_font_load.c:803: note: previous
  implicit declaration of 'evas_common_font_int_unload' was here CC
  evas_image_save.lo CC evas_image_main.lo
CC evas_image_data.lo
  evas_font_main.c: In function 'evas_common_font_ascent_get':
  evas_font_main.c:90: warning: implicit declaration of function
  'evas_common_font_int_reload' evas_font_query.c: In function
  'evas_common_font_query_kerning': evas_font_query.c:31: warning: implicit
  declaration of function 'evas_common_font_int_reload' CC
  evas_image_scalecache.lo CC evas_line_main.lo
CC evas_polygon_main.lo
CC evas_rectangle_main.lo
CC evas_scale_main.lo
CC evas_scale_sample.lo
CC evas_scale_smooth.lo
CC evas_scale_span.lo
CC evas_tiler.lo
CC evas_regionbuf.lo
CC evas_pipe.lo
CC evas_bidi_utils.lo
CC evas_language_utils.lo
CC evas_text_utils.lo
CC evas_font_ot.lo
  evas_pipe.c: In function 'evas_common_frameq_schedule_flush_time':
  evas_pipe.c:685: warning: implicit declaration of function 'usleep'
CC evas_map_image.lo
  evas_text_utils.c: In function 'evas_common_text_props_content_create':
  evas_text_utils.c:193: warning: implicit declaration of function
  'evas_common_font_int_reload'
  
  
  -- 
  Mike Blumenkrantz
  Zentific: NULL pointer dereferences now 50% off!
  
  --
  What You Don't Know About Data Connectivity CAN Hurt You
  This paper provides an overview of data connectivity, details
  its effect on application quality, and explores various alternative
  solutions. http://p.sf.net/sfu/progress-d2d
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
 
 
./configure --disable-cpu-altivec
--disable-fribidi --disable-directfb --disable-fb
--enable-fontconfig --disable-gl-flavor-gles --disable-gles-variety-sgx
--enable-image-loader-gif --enable-image-loader-jpeg --enable-font-loader-eet
--enable-image-loader-eet --enable-cpu-mmx --enable-image-loader-png
--disable-software-sdl --enable-cpu-sse --enable-image-loader-svg=static
--enable-image-loader-tiff=static --enable-pthreads --enable-async-events
--enable-async-preload --enable-async-render --enable-software-xlib=static
--enable-xrender-x11=static --enable-software-16-x11=static
--enable-image-loader-xpm=static --enable-evas-magic-debug
--enable-static-software-generic --enable-buffer --enable-cpu-c
--enable-scale-sample --enable-scale-smooth

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

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Crash with elementary after recompile

2011-03-10 Thread Andreas Volz
Am Thu, 10 Mar 2011 12:00:33 +0100 schrieb Cedric BAIL:

 On Thu, Mar 10, 2011 at 7:35 AM, Carsten Haitzler
 ras...@rasterman.com wrote:
  On Wed, 2 Mar 2011 23:30:55 +0100 Andreas Volz
  li...@brachttal.net said:
  Am Wed, 2 Mar 2011 00:22:56 +0100 schrieb Andreas Volz:
   my application crashes after recompiling EFL:
  
   http://codepad.org/gQc8fqaL
  
   Reason is that elm_config=NULL while dereferencing and using the
   macro ENGINE_COMPARE.
  
   Any ideas?
 
  I just found the problematic commit (rev. 56218): (raster)
 
   dont ALWAYS init elm for externals - if one isnt used.. why init
   it? (for that matter externals has a problem in design - it
   loads every module for externals and thus links in every lib
   even if never used by the app/edje obj).
 
  If I comment out e.g. the elm_shutdown() in external_elm_shutdown()
  (line 27) my application works again.
 
  I'll explain you my application setup. I start a plain Edje
  application without any linking or initialization to elementary.
  Then it loads user defined edj files. And in some of there are
  Elementary widgets. I couldn't know this before.
 
  Displaying my first edj file works great, but after deleting it I
  got this crash. This is problematic as the main application logic
  is to load and unload edj files...
 
  Do you've any ideas how to solve this problem? Could you maybe
  revert your patch until a final design solution is found. If not
  I've to maintain local patches for my project. :-(
 
  actually i wrote a quick test that inits and shuts elm down -
  _elm_config is not NULL. this is a bit trickier. i thought i'd be
  able to reproduce the problem in this way... the issue is somewhere
  else and i'd like to be able to reproduce it and fix it. right now
  it works for me. test app attached. (i did find valgrind
  complaining of some deferred window deleting handling which i have
  now fixed).
 
 There was a bug in the refcount of elm external, that I fixed Tuesday.
 That's maybe why it work for you now :-)

:-)

Thanks for fixing it. I'll test current SVN without my local hack and
see if it solves also my problem.

regards
Andreas

-- 
Technical Blog http://andreasvolz.wordpress.com/

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] CeBIT 2011 reports

2011-03-10 Thread Tom Hacohen
On Tue, Mar 8, 2011 at 12:27 AM, Thomas Gstädtner tho...@gstaedtner.netwrote:

  You might not be familiar with this, but they actually do sell razors
 in Germany. :P


But I don't speak German... Anyhow, I'm currently in france, and I still
haven't shaved (can't speak french)... :P

Well actually, I want to use a trimmer before actually using a blade, will
make it far easier, and I only have a hair trimmer at home, so it'll wait.

-- 
Tom.
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] CeBIT 2011 reports

2011-03-10 Thread Mike Blumenkrantz
On Thu, 10 Mar 2011 23:14:26 +0200
Tom Hacohen t...@stosb.com wrote:

 On Tue, Mar 8, 2011 at 12:27 AM, Thomas Gstädtner
 tho...@gstaedtner.netwrote:
 
   You might not be familiar with this, but they actually do sell razors
  in Germany. :P
 
 
 But I don't speak German... Anyhow, I'm currently in france, and I still
 haven't shaved (can't speak french)... :P
 
 Well actually, I want to use a trimmer before actually using a blade, will
 make it far easier, and I only have a hair trimmer at home, so it'll wait.
 
Real men don't shave.

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

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] CeBIT 2011 reports

2011-03-10 Thread Vincent Torri



On Thu, 10 Mar 2011, Tom Hacohen wrote:


On Tue, Mar 8, 2011 at 12:27 AM, Thomas Gstädtner tho...@gstaedtner.netwrote:


 You might not be familiar with this, but they actually do sell razors
in Germany. :P



But I don't speak German... Anyhow, I'm currently in france, and I still
haven't shaved (can't speak french)... :P


are you near Paris ?

Vincent



Well actually, I want to use a trimmer before actually using a blade, will
make it far easier, and I only have a hair trimmer at home, so it'll wait.

--
Tom.
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] edje_decc - build.sh

2011-03-10 Thread Andreas Volz
Hello,

I'm just wondering why edje_decc writes a build.sh with this content:

edje_edit $@ -id . -fd . generated_source.edc -o screens.edj

This for sure doesn't work. I searched the sources and found this in
edje_decc.c:


if (build_sh)
  {
 snprintf(out, sizeof(out), %s/build.sh, outdir);
 printf(Output Build Script: %s\n, out);
 if (strstr(out, ../))
   {
  ERR(potential security violation. attempt to write in parent 
dir.\n);
  exit (-1);
   }
 f = fopen(out, wb);
 fprintf(f, #!/bin/sh\n);
 fprintf(f, %s $@ -id . -fd . %s -o %s.edj\n, 
edje_file-compiler, sf-name, outdir);
 fclose(f);

 WRN(\n*** CAUTION ***\n
 Please check the build script for anything malicious 
   
I edited this files ages ago with edje_edit. I think because of this 
edje_file-compiler is
edje_edit. But running build.sh doesn't work here. Couldn't we just always 
use edje_cc?

regards
Andreas

-- 
Technical Blog http://andreasvolz.wordpress.com/

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] CeBIT 2011 reports

2011-03-10 Thread Daniel Juyung Seo
Hey Tom,
How is your tour?
Anything fun in France?

Daniel Juyung Seo (SeoZ)

On Fri, Mar 11, 2011 at 6:14 AM, Tom Hacohen t...@stosb.com wrote:
 On Tue, Mar 8, 2011 at 12:27 AM, Thomas Gstädtner tho...@gstaedtner.net
 wrote:

 You might not be familiar with this, but they actually do sell razors
 in Germany. :P

 But I don't speak German... Anyhow, I'm currently in france, and I still
 haven't shaved (can't speak french)... :P

 Well actually, I want to use a trimmer before actually using a blade, will
 make it far easier, and I only have a hair trimmer at home, so it'll wait.

 --
 Tom.


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: andreas trunk/devs/andreas

2011-03-10 Thread Daniel Juyung Seo
Great!
I can recognize your face :)

Daniel Juyung Seo (SeoZ)

On Thu, Mar 10, 2011 at 9:18 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 update my dev info
  add images

 Author:       andreas
 Date:         2011-03-10 04:18:46 -0800 (Thu, 10 Mar 2011)
 New Revision: 57670
 Trac:         http://trac.enlightenment.org/e/changeset/57670

 Added:
  trunk/devs/andreas/icon-big.png trunk/devs/andreas/icon-map.png 
 trunk/devs/andreas/icon-med.png trunk/devs/andreas/icon-sml.png
 Modified:
  trunk/devs/andreas/info.txt


 Property changes on: trunk/devs/andreas/icon-big.png
 ___
 Added: svn:mime-type
   + application/octet-stream


 Property changes on: trunk/devs/andreas/icon-map.png
 ___
 Added: svn:mime-type
   + application/octet-stream


 Property changes on: trunk/devs/andreas/icon-med.png
 ___
 Added: svn:mime-type
   + application/octet-stream


 Property changes on: trunk/devs/andreas/icon-sml.png
 ___
 Added: svn:mime-type
   + application/octet-stream

 Modified: trunk/devs/andreas/info.txt
 ===
 --- trunk/devs/andreas/info.txt 2011-03-10 12:13:25 UTC (rev 57669)
 +++ trunk/devs/andreas/info.txt 2011-03-10 12:18:46 UTC (rev 57670)
 @@ -1,8 +1,8 @@
  Login:    andreas
  IRC Nick: audifahrer
  Name:     Andreas Volz
 -Location: Adelsdorf, Germany
 +Location: Brachttal, Germany
  E-Mail:   li...@brachttal.net
 -WWW:      ?
 -Managing: e16menuedit2, eflxx
 -GeoData:  49.682002 10.878665
 +WWW:      http://andreasvolz.wordpress.com/
 +Managing: e16menuedit2, eflxx, edje_player
 +GeoData:  50.302847 9.298067


 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] No animations in editje

2011-03-10 Thread Andreas Volz
Am Thu, 10 Mar 2011 10:13:06 -0300 schrieb Gustavo Sverzut Barbieri:

 On Thu, Mar 10, 2011 at 10:04 AM, Andreas Volz li...@brachttal.net
 wrote:
  Hello,
 
  I updated to current E SVN some days ago, but I've still problems
  with animations in editje. Here is my example:
 
  http://tux-style.com/tmp/screens.edj
 
  It was created by hand, then continued by edje_editor and now
  continued by editje.
 
  There're definitive animations when I load and unload a view. But I
  don't see them. Is there something editje incompatible in this edj?
 
  And there're some warning in the edj:
 
  ...
  ERR6380:edje edje_util.c:3122
  edje_object_size_min_restricted_calc() file screens.edj, group
  media_list has a non-fixed part 'Button03'. Adding 'fixed: 1 1;' to
  source EDC may help. Continuing discarding faulty part.
  ERR6380:edje edje_util.c:3122
  edje_object_size_min_restricted_calc() file screens.edj, group
  media_list has a non-fixed part 'Button03'. Adding 'fixed: 1 1;' to
  source EDC may help. Continuing discarding faulty part.
  ERR6380:edje edje_util.c:3122
  edje_object_size_min_restricted_calc() file screens.edj, group
  media_list has a non-fixed part 'Button03'. Adding 'fixed: 1 1;' to
  source EDC may help. Continuing discarding faulty part. ...
 
  Is this maybe related?
 
 that may be the reason, or the reason may be the version of editje you
 used. Before editje wouldn't preserve script blocks, now it does, but
 you need an EDJ that was compiled with newer edje_cc (some weeks
 before 1.0 release) that would save such script blocks in the EET data
 structure.

Oh, I uploaded the wrong edj file. I had recompiled that long time ago.
But even with a recompiled one I have editje animation problems.

I created an animation in a new file with editje and decompiled it. It
looks like this:

description { state: @test1@0.30 0;
   color: 0 0 255 255;
   rel1 {
  offset: 358 31;
   }
   rel2 {
  relative: 0 0;
  offset: 443 100;
   }
}
 }
  }
  programs {
 program { name: @test1@end;
action: SIGNAL_EMIT animation,end test1;
 }
 program { name: @test1@0.00;
signal: animation,play;
source: test1;
action: STATE_SET @test1@0.00 0.00;
target: Rectangle01;
after: @test1@0.10;
 }

Is the @ syntax important for editje? If yes, I've to rewrite all my 
animations in edc. :-(

regards
Andreas

-- 
Technical Blog http://andreasvolz.wordpress.com/

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje_decc - build.sh

2011-03-10 Thread Daniel Juyung Seo
It looks like a bug.
When using editje for edj creation, edje_file-compiler becomes edje_edit.
When using edje_cc for edj creation, edje_file-compiler becomes edje_cc.

Daniel Juyung Seo (SeoZ)

On Fri, Mar 11, 2011 at 6:36 AM, Andreas Volz li...@brachttal.net wrote:
 Hello,

 I'm just wondering why edje_decc writes a build.sh with this content:

 edje_edit $@ -id . -fd . generated_source.edc -o screens.edj

 This for sure doesn't work. I searched the sources and found this in
 edje_decc.c:


        if (build_sh)
          {
             snprintf(out, sizeof(out), %s/build.sh, outdir);
             printf(Output Build Script: %s\n, out);
             if (strstr(out, ../))
               {
                  ERR(potential security violation. attempt to write in 
 parent dir.\n);
                  exit (-1);
               }
             f = fopen(out, wb);
             fprintf(f, #!/bin/sh\n);
             fprintf(f, %s $@ -id . -fd . %s -o %s.edj\n, 
 edje_file-compiler, sf-name, outdir);
             fclose(f);

             WRN(\n*** CAUTION ***\n
                 Please check the build script for anything malicious 

 I edited this files ages ago with edje_edit. I think because of this 
 edje_file-compiler is
 edje_edit. But running build.sh doesn't work here. Couldn't we just always 
 use edje_cc?

 regards
        Andreas

 --
 Technical Blog http://andreasvolz.wordpress.com/

 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] No animations in editje

2011-03-10 Thread Gustavo Lima Chaves
* Andreas Volz li...@brachttal.net [2011-03-10 23:01:10 +0100]:

 Am Thu, 10 Mar 2011 10:13:06 -0300 schrieb Gustavo Sverzut Barbieri:
 
  On Thu, Mar 10, 2011 at 10:04 AM, Andreas Volz li...@brachttal.net
  wrote:
   Hello,
  
   I updated to current E SVN some days ago, but I've still problems
   with animations in editje. Here is my example:
  
   http://tux-style.com/tmp/screens.edj
  
   It was created by hand, then continued by edje_editor and now
   continued by editje.
  
   There're definitive animations when I load and unload a view. But I
   don't see them. Is there something editje incompatible in this edj?
  
   And there're some warning in the edj:
  
   ...
   ERR6380:edje edje_util.c:3122
   edje_object_size_min_restricted_calc() file screens.edj, group
   media_list has a non-fixed part 'Button03'. Adding 'fixed: 1 1;' to
   source EDC may help. Continuing discarding faulty part.
   ERR6380:edje edje_util.c:3122
   edje_object_size_min_restricted_calc() file screens.edj, group
   media_list has a non-fixed part 'Button03'. Adding 'fixed: 1 1;' to
   source EDC may help. Continuing discarding faulty part.
   ERR6380:edje edje_util.c:3122
   edje_object_size_min_restricted_calc() file screens.edj, group
   media_list has a non-fixed part 'Button03'. Adding 'fixed: 1 1;' to
   source EDC may help. Continuing discarding faulty part. ...
  
   Is this maybe related?
  
  that may be the reason, or the reason may be the version of editje you
  used. Before editje wouldn't preserve script blocks, now it does, but
  you need an EDJ that was compiled with newer edje_cc (some weeks
  before 1.0 release) that would save such script blocks in the EET data
  structure.
 
 Oh, I uploaded the wrong edj file. I had recompiled that long time ago.
 But even with a recompiled one I have editje animation problems.
 
 I created an animation in a new file with editje and decompiled it. It
 looks like this:
 
 description { state: @test1@0.30 0;
color: 0 0 255 255;
rel1 {
   offset: 358 31;
}
rel2 {
   relative: 0 0;
   offset: 443 100;
}
 }
  }
   }
   programs {
  program { name: @test1@end;
 action: SIGNAL_EMIT animation,end test1;
  }
  program { name: @test1@0.00;
 signal: animation,play;
 source: test1;
 action: STATE_SET @test1@0.00 0.00;
 target: Rectangle01;
 after: @test1@0.10;
  }
 
 Is the @ syntax important for editje? If yes, I've to rewrite all
 my animations in edc. :-(

Yes, it is.

 
 regards
   Andreas
 
 -- 
 Technical Blog http://andreasvolz.wordpress.com/
 
 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-- 
Gustavo Lima Chaves
Computer Engineer @ ProFUSION Embedded Systems

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] libtool issues recently ... libjpeg.la

2011-03-10 Thread Daniel Kasak
On Tue, 2011-03-08 at 06:59 +, Vincent Torri wrote:
 
 On Tue, 8 Mar 2011, Daniel Kasak wrote:
 
  Greetings.
 
  I've been building from svn via the easy_e17.sh script. Recently, evas
  and others have been failing when looking for libjpeg.la. My system
  ( Gentoo / Sabayon ) doesn't like .la files ... I think the distro took
  a decision to remove .la files from most packages a long while back
  ( like over a year ago ). There is a script floating around
  ( fixlafiles.sh ) that scans all .la files on your system and removes
  broken dependancies. I've run that ( sounds dodgy ... I know ... lots of
  Gentoo users seem to be running it without issue ), and it cleaned some
  stuff up. But I still can't get evas to build:
 
  make[4]: Entering directory `/home/dkasak/e17_src/evas/src/lib'
   CC main.lo
   CCLD   libevas.la
  /bin/grep: /usr/lib64/libjpeg.la: No such file or directory
  /bin/sed: can't read /usr/lib64/libjpeg.la: No such file or directory
  libtool: link: `/usr/lib64/libjpeg.la' is not a valid libtool archive
  make[4]: *** [libevas.la] Error 1
  make[4]: Leaving directory `/home/dkasak/e17_src/evas/src/lib'
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory `/home/dkasak/e17_src/evas/src/lib'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/home/dkasak/e17_src/evas/src'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/dkasak/e17_src/evas'
  make: *** [all] Error 2
 
  Any hints on how to get this building again?
 
 .la files are not necessary. libtool first look if they exist. If yes, it 
 uses them, otherwise it will search .a files.
 
 So, you first built evas while having libjpeg.la files. So libtool creates 
 libevas.la and add in it the dependency of libjpeg as being libjpeg.la and 
 not libjpeg.a (just open libevas.la, it's a text file). You removed 
 libjpeg.la and build again evas. So libtool complains as libjpeg.la is 
 requested in libevas.la but does not exist anymore.
 
 Cleaning evas directory (that is : make maintainer-clean, then autogen.sh 
 and make) might be not sufficient because of evas dependencies: evas 
 depends on eet (optionally but i think that you didn't disable the use of 
 eet file or font loaders in evas). Indeed eet also depends on libjpeg. So, 
 in libeet.la, there is also libjpeg.la.
 
 Try to rebuild eina. Maybe there will also be the same problem with iconv
 
 So, for all the EFL (eina, eet, etc..), do
 
 make maintainer-clean
 ./autogen.sh your options
 make install
 
 Vincent

Thanks a LOT. That fixed it.

Dan


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] (Re)moving stuff from SVN without author knowledge

2011-03-10 Thread Andreas Volz
Hello,

Some time ago I wrote a little tool called edje_player:

http://andreasvolz.wordpress.com/2009/01/25/edjeplayer-01/

It was very simple and not yet finished. I like to use it often.

Now I just noticed that someone removed it from SVN:

http://svn.enlightenment.org/svn/e/trunk/PROTO/edje_player

It has been moved to edje/bin/edje_player.c with the

rev. 47341 barbieri

and some revision later deleted in PROTO.

I didn't notice it, because the main command line switches never
changed. I diffed the changes and it's a more or less a complete
rewrite. I think all the changes are good!

So what's the problem?

I've a big problem if someone simply move files or directories from a
application which has an AUTHORS file to another directory. Even if
its placed in PROTO or not touched since some time!

And it's even not nice to take it without adding me to AUTHORS in edje
or the edje_player.c file. Ok, this isn't longer valid as it's
rewritten...

But I think we should come to the main agreement that it's not nice to
simply move around code from someone else without talking to him! You
couldn't know what's my plan with edje_player and if that fits my ideas.

regards
Andreas

-- 
Technical Blog http://andreasvolz.wordpress.com/

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] (Re)moving stuff from SVN without author knowledge

2011-03-10 Thread unixti...@gmail.com
I think you make a very good point Andreas. While the other side may argue that 
it is in public subversion and is open source code, at the same time the 
project still has an author with an idea and scope for the project. I think its 
rude to change the code of ones project and even the scope of it without any 
knowledge of the author. This has been happening to a lot of authors and 
projects over the past year or so maybe a little more. To all developers: get 
to know you're fellow developers!!! Communicate with them! Communication is a 
good thing. I promise.

Sent from my Cellular South HTC Desire

- Reply message -
From: Andreas Volz li...@brachttal.net
Date: Thu, Mar 10, 2011 4:55 pm
Subject: [E-devel] (Re)moving stuff from SVN without author knowledge
To: enlightenment-devel@lists.sourceforge.net

Hello,

Some time ago I wrote a little tool called edje_player:

http://andreasvolz.wordpress.com/2009/01/25/edjeplayer-01/

It was very simple and not yet finished. I like to use it often.

Now I just noticed that someone removed it from SVN:

http://svn.enlightenment.org/svn/e/trunk/PROTO/edje_player

It has been moved to edje/bin/edje_player.c with the

rev. 47341 barbieri

and some revision later deleted in PROTO.

I didn't notice it, because the main command line switches never
changed. I diffed the changes and it's a more or less a complete
rewrite. I think all the changes are good!

So what's the problem?

I've a big problem if someone simply move files or directories from a
application which has an AUTHORS file to another directory. Even if
its placed in PROTO or not touched since some time!

And it's even not nice to take it without adding me to AUTHORS in edje
or the edje_player.c file. Ok, this isn't longer valid as it's
rewritten...

But I think we should come to the main agreement that it's not nice to
simply move around code from someone else without talking to him! You
couldn't know what's my plan with edje_player and if that fits my ideas.

regards
Andreas

-- 
Technical Blog http://andreasvolz.wordpress.com/

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas/src/modules/loaders/bmp

2011-03-10 Thread Brian Wang
On Thu, Mar 10, 2011 at 8:11 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 ok - finally - biran wang... you get your hacky bmp loader.

cool and thanks. :-)




 Author:       raster
 Date:         2011-03-10 04:11:42 -0800 (Thu, 10 Mar 2011)
 New Revision: 57668
 Trac:         http://trac.enlightenment.org/e/changeset/57668

 Modified:
  trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c

 Modified: trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c
 ===
 --- trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c    2011-03-10 
 12:04:00 UTC (rev 57667)
 +++ trunk/evas/src/modules/loaders/bmp/evas_image_load_bmp.c    2011-03-10 
 12:11:42 UTC (rev 57668)
 @@ -161,6 +161,7 @@
         if (!read_int(f, tmp2)) goto close_file;
         important_colors = tmp2; // number of important colors - 0 if all
         if (image_size == 0) image_size = fsize - offset;
 +        if ((comp == 0)  (bit_count == 32)) hasa = 1; // GIMP seems to 
 store it this way
      }
    else if (head_size == 108) // Windows 95/NT4 + (v4)
      {
 @@ -435,6 +436,7 @@
         if (!read_int(f, tmp2)) goto close_file;
         important_colors = tmp2; // number of important colors - 0 if all
         if (image_size == 0) image_size = fsize - offset;
 +        if ((comp == 0)  (bit_count == 32)) hasa = 1; // GIMP seems to 
 store it this way
      }
    else if (head_size == 108) // Windows 95/NT4 + (v4)
      {
 @@ -949,6 +951,7 @@
                }
              else if (bit_count == 32)
                {
 +                  int none_zero_alpha = 0;
                   pix = surface;
                   for (y = 0; y  h; y++)
                     {
 @@ -959,6 +962,7 @@
                             g = p[1];
                             r = p[2];
                             a = p[3];
 +                            if (a) none_zero_alpha = 1;
                             if (!hasa) a = 0xff;
                             *pix = ARGB_JOIN(a, r, g, b);
                             p += 4;
 @@ -969,6 +973,17 @@
                        if (fix  0) p += 4 - fix; // align row read
                        if (p = buffer_end) break;
                     }
 +                  if (!none_zero_alpha)
 +                    {
 +                       ie-flags.alpha = 0;
 +                       if (hasa)
 +                         {
 +                            unsigned int *pixend = pix + (w * h);
 +
 +                            for (pix = surface; pix  pixend; pix++)
 +                               A_VAL(pix) = 0xff;
 +                         }
 +                    }
                }
              else
                goto close_file;


 --
 Colocation vs. Managed Hosting
 A question and answer guide to determining the best fit
 for your organization - today and in the future.
 http://p.sf.net/sfu/internap-sfd2d
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn




-- 
brian
--

Cool-Karaoke - The smallest recording studio, in your palm, open-sourced
http://cool-idea.com.tw/

iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Adding support for a ternary state shift in illume keyboard

2011-03-10 Thread Rui Miguel Silva Seabra

Hi,

I'm completely unsure of this patch and haven't had the change of 
testing it.


The desired behavior is to have a shit key that will alternate between 
shift, capslock and then normal state.


This would allow a caps lock in the Default.kbd without adding another 
virtual key.


I'm thinking of adding other special kinds of keys which will do things 
like change layout to keyboard type fubar (rather than just sliding up 
on the keyboard).


Specially to dh, am I going in the right direction with this patch?

Rui
Index: e_kbd_int.c
===
--- e_kbd_int.c (revision 57681)
+++ e_kbd_int.c (working copy)
@@ -174,6 +174,8 @@
if ((ki-layout.state  CTRL)  (ky-is_ctrl)) selected = 1;
if ((ki-layout.state  ALT)  (ky-is_alt)) selected = 1;
if ((ki-layout.state  CAPSLOCK)  (ky-is_capslock)) selected = 1;
+   if ((ki-layout.state  SHIFT)  (ky-tern_shift)) selected = 1;
+   if ((ki-layout.state  CAPSLOCK)  (ky-tern_capslock)) selected = 1;
if (selected)
  {
 if (!ky-selected)
@@ -351,6 +353,20 @@
_e_kbd_int_layout_state_update(ki);
return;
  }
+   if (ky-tern_shift)
+ {
+   if (ki-layout.state  SHIFT)
+  {
+ ki-layout.state = (~(SHIFT));
+ ki-layout.state = CAPSLOCK;
+  }
+   else if (ki-layout.state  CAPSLOCK)
+ki-layout.state = (~(CAPSLOCK));
+ else
+ki-layout.state |= SHIFT;
+   _e_kbd_int_layout_state_update(ki);
+   return;
+ }
if (ky-is_ctrl)
  {
if (ki-layout.state  CTRL) ki-layout.state = (~(CTRL));
@@ -574,6 +590,8 @@
if ((ki-layout.state  CTRL)  (ky-is_ctrl)) selected = 1;
if ((ki-layout.state  ALT)  (ky-is_alt)) selected = 1;
if ((ki-layout.state  CAPSLOCK)  (ky-is_capslock)) selected = 1;
+   if ((ki-layout.state  SHIFT)  (ky-tern_shift)) selected = 1;
+   if ((ki-layout.state  CAPSLOCK)  (ky-tern_capslock)) selected = 1;
if (selected)
  edje_object_signal_emit(o, e,state,selected, e);
if (!selected)
@@ -997,6 +1015,7 @@
 st-out = eina_stringshare_add(str);
  }
if (!strcmp(str, is_shift)) ky-is_shift = 1;
+   if (!strcmp(str, tern_shift)) ky-tern_shift = 1;
if (!strcmp(str, is_ctrl)) ky-is_ctrl = 1;
if (!strcmp(str, is_alt)) ky-is_alt = 1;
if (!strcmp(str, is_capslock)) ky-is_capslock = 1;
Index: e_kbd_int.h
===
--- e_kbd_int.h (revision 57681)
+++ e_kbd_int.h (working copy)
@@ -96,6 +96,7 @@
unsigned char selected : 1;

unsigned char is_shift : 1;
+   unsigned char tern_shift : 1;
unsigned char is_ctrl : 1;
unsigned char is_alt : 1;
unsigned char is_capslock : 1;
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Adding support for a ternary state shift in illume keyboard

2011-03-10 Thread Rui Miguel Silva Seabra
Em 10-03-2011 23:49, Rui Miguel Silva Seabra escreveu:
 Hi,

 I'm completely unsure of this patch and haven't had the change of
 testing it.

 The desired behavior is to have a shit key that will alternate between
 shift, capslock and then normal state.

 This would allow a caps lock in the Default.kbd without adding another
 virtual key.

 I'm thinking of adding other special kinds of keys which will do things
 like change layout to keyboard type fubar (rather than just sliding up
 on the keyboard).

 Specially to dh, am I going in the right direction with this patch?

Please, nobody bug me about that stupid logic operation bug in the state 
change from SHIFT to CAPSLOCK, I already spotted it :)

Rui

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] CeBIT 2011 reports

2011-03-10 Thread David Seikel
On Thu, 10 Mar 2011 16:26:39 -0500 Mike Blumenkrantz
m...@zentific.com wrote:

 On Thu, 10 Mar 2011 23:14:26 +0200
 Tom Hacohen t...@stosb.com wrote:
 
  On Tue, Mar 8, 2011 at 12:27 AM, Thomas Gstädtner
  tho...@gstaedtner.netwrote:
  
You might not be familiar with this, but they actually do sell
   razors in Germany. :P
  
  
  But I don't speak German... Anyhow, I'm currently in france, and I
  still haven't shaved (can't speak french)... :P
  
  Well actually, I want to use a trimmer before actually using a
  blade, will make it far easier, and I only have a hair trimmer at
  home, so it'll wait.
  
 Real men don't shave.

/me nods, his long beard flowing in the breeze.

-- 
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
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] CeBIT 2011 reports

2011-03-10 Thread 박춘언
Actually, real man has one more WINDMILL in his face.


---Original Message---
Sender : David Seikel
Date : 2011/03/11  09:42 (GMT+09:00)
Subject : Re: [E-devel] CeBIT 2011 reports


 On Thu, 10 Mar 2011 16:26:39 -0500 Mike Blumenkrantz
m...@zentific.com wrote:

 On Thu, 10 Mar 2011 23:14:26 +0200
 Tom Hacohen t...@stosb.com wrote:
 
  On Tue, Mar 8, 2011 at 12:27 AM, Thomas Gstädtner
  tho...@gstaedtner.netwrote:
  
You might not be familiar with this, but they actually do sell
   razors in Germany. :P
  
  
  But I don't speak German... Anyhow, I'm currently in france, and I
  still haven't shaved (can't speak french)... :P
  
  Well actually, I want to use a trimmer before actually using a
  blade, will make it far easier, and I only have a hair trimmer at
  home, so it'll wait.
  
 Real men don't shave.

/me nods, his long beard flowing in the breeze.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] CeBIT 2011 reports

2011-03-10 Thread Mike Blumenkrantz
On Fri, 11 Mar 2011 01:55:47 + (GMT)
박춘언 chuneon.p...@samsung.com wrote:

 Actually, real man has one more WINDMILL in his face.
 
 
 ---Original Message---
 Sender : David Seikel
 Date : 2011/03/11  09:42 (GMT+09:00)
 Subject : Re: [E-devel] CeBIT 2011 reports
 
 
  On Thu, 10 Mar 2011 16:26:39 -0500 Mike Blumenkrantz
 m...@zentific.com wrote:
 
  On Thu, 10 Mar 2011 23:14:26 +0200
  Tom Hacohen t...@stosb.com wrote:
  
   On Tue, Mar 8, 2011 at 12:27 AM, Thomas Gstädtner
   tho...@gstaedtner.netwrote:
   
 You might not be familiar with this, but they actually do sell
razors in Germany. :P
   
   
   But I don't speak German... Anyhow, I'm currently in france, and I
   still haven't shaved (can't speak french)... :P
   
   Well actually, I want to use a trimmer before actually using a
   blade, will make it far easier, and I only have a hair trimmer at
   home, so it'll wait.
   
  Real men don't shave.
 
 /me nods, his long beard flowing in the breeze.
 
I'M WORKING ON IT

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

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Adding support for a ternary state shift in illume keyboard

2011-03-10 Thread Christopher Michael

On 03/10/2011 06:49 PM, Rui Miguel Silva Seabra wrote:
 Hi,

 I'm completely unsure of this patch and haven't had the change of
 testing it.

 The desired behavior is to have a shit key that will alternate between
 shift, capslock and then normal state.

 This would allow a caps lock in the Default.kbd without adding another
 virtual key.

 I'm thinking of adding other special kinds of keys which will do things
 like change layout to keyboard type fubar (rather than just sliding up
 on the keyboard).

 Specially to dh, am I going in the right direction with this patch?

 Rui


1) Thanks for the patch :)
2) I'm currently away from home with very limited 'net access (if any @ 
all sometimes) and don't have my comp with me, so I can't apply this and 
test it (yet).

I should be back 'online' (hopefully) Saturday night/Sunday (monday @ 
the latest). I'll have a look @ this patch then.

Thanks,
dh


 tern_shift.patch


 Index: e_kbd_int.c
 ===
 --- e_kbd_int.c   (revision 57681)
 +++ e_kbd_int.c   (working copy)
 @@ -174,6 +174,8 @@
   if ((ki-layout.state  CTRL)  (ky-is_ctrl)) selected = 1;
   if ((ki-layout.state  ALT)  (ky-is_alt)) selected = 1;
   if ((ki-layout.state  CAPSLOCK)  (ky-is_capslock)) selected = 1;
 + if ((ki-layout.state  SHIFT)  (ky-tern_shift)) selected = 1;
 + if ((ki-layout.state  CAPSLOCK)  (ky-tern_capslock)) selected = 1;
   if (selected)
 {
if (!ky-selected)
 @@ -351,6 +353,20 @@
   _e_kbd_int_layout_state_update(ki);
   return;
}
 +   if (ky-tern_shift)
 + {
 + if (ki-layout.state  SHIFT)
 +  {
 + ki-layout.state= (~(SHIFT));
 + ki-layout.state= CAPSLOCK;
 +  }
 + else if (ki-layout.state  CAPSLOCK)
 +ki-layout.state= (~(CAPSLOCK));
 + else
 +ki-layout.state |= SHIFT;
 + _e_kbd_int_layout_state_update(ki);
 + return;
 + }
  if (ky-is_ctrl)
{
   if (ki-layout.state  CTRL) ki-layout.state= (~(CTRL));
 @@ -574,6 +590,8 @@
   if ((ki-layout.state  CTRL)  (ky-is_ctrl)) selected = 1;
   if ((ki-layout.state  ALT)  (ky-is_alt)) selected = 1;
   if ((ki-layout.state  CAPSLOCK)  (ky-is_capslock)) selected = 1;
 + if ((ki-layout.state  SHIFT)  (ky-tern_shift)) selected = 1;
 + if ((ki-layout.state  CAPSLOCK)  (ky-tern_capslock)) selected = 1;
   if (selected)
 edje_object_signal_emit(o, e,state,selected, e);
   if (!selected)
 @@ -997,6 +1015,7 @@
st-out = eina_stringshare_add(str);
 }
   if (!strcmp(str, is_shift)) ky-is_shift = 1;
 + if (!strcmp(str, tern_shift)) ky-tern_shift = 1;
   if (!strcmp(str, is_ctrl)) ky-is_ctrl = 1;
   if (!strcmp(str, is_alt)) ky-is_alt = 1;
   if (!strcmp(str, is_capslock)) ky-is_capslock = 1;
 Index: e_kbd_int.h
 ===
 --- e_kbd_int.h   (revision 57681)
 +++ e_kbd_int.h   (working copy)
 @@ -96,6 +96,7 @@
  unsigned char selected : 1;

  unsigned char is_shift : 1;
 +   unsigned char tern_shift : 1;
  unsigned char is_ctrl : 1;
  unsigned char is_alt : 1;
  unsigned char is_capslock : 1;




--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] Focus issue in elm_widget.c

2011-03-10 Thread WooHyun Jung
Hello ~ 

I've checked there were some focus problems when an object is hidden. 

So I made patch for that ~ 

Can anybody check about this ? 

Thanks.



elm_widget.patch
Description: Binary data
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel