[E-devel] Problem with Window Remember (Virtual Desktop)

2008-03-10 Thread thomasg
Hey there,

I have a problem with the remember-window-settings, that is there since this
settings exists:
If I remember the settings Virtual Desktop or Current Screen it works
fine, but for starting the apps I need to have my focus/view on the screen
the app should start on.
This is a problem as you might forget that you turned on the
remember-settings some time ago and the application simple won't show up
when you start it, without an error.
Especially if you have really many vdesktops it can be a problem to come to
named desktop so you probably might look for an error where is none.

So my question is: Is there a way to start this applications in background
on the correct screen without viewing it? If not, would it at least be
possible to have a little signal that the app will appear when the focus is
on screen/vdesktop $x?
Furthermore, for the first case, it would be cool to have a little reminder
on which desktop the application started, I guess the pager-popup can do
that job.

As this could really improve the usability (and as I have this problem every
month without remembering what the reason was  :-) ) I'd be glad to get
answers or even better a solution.

Cheers,

thomasg
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Problem with Window Remember (Virtual Desktop)

2008-03-10 Thread thomasg
Well, I have to do a self-reply now:
Seems the problem is not longer existing - the e17 version on my laptop was
too old and it seems that it has been fixed some time ago. On my desktop it
works perfectly.
Consider the first mail as never written. :)
Sorry for the circumstances,

thomasg

On 3/10/08, thomasg [EMAIL PROTECTED] wrote:

 Hey there,

 I have a problem with the remember-window-settings, that is there since
 this settings exists:
 If I remember the settings Virtual Desktop or Current Screen it works
 fine, but for starting the apps I need to have my focus/view on the screen
 the app should start on.
 This is a problem as you might forget that you turned on the
 remember-settings some time ago and the application simple won't show up
 when you start it, without an error.
 Especially if you have really many vdesktops it can be a problem to come
 to named desktop so you probably might look for an error where is none.

 So my question is: Is there a way to start this applications in background
 on the correct screen without viewing it? If not, would it at least be
 possible to have a little signal that the app will appear when the focus is
 on screen/vdesktop $x?
 Furthermore, for the first case, it would be cool to have a little
 reminder on which desktop the application started, I guess the pager-popup
 can do that job.

 As this could really improve the usability (and as I have this problem
 every month without remembering what the reason was  :-) ) I'd be glad to
 get answers or even better a solution.

 Cheers,

 thomasg

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Gsoc] the presentation tools

2008-05-23 Thread thomasg
What I'd like to have would be an real simple solution, in the best case
human-readable plain-text (no TeX or html code) and letting the presenter
render it to make it nice and shiny. Why not use something like Textile[1]
or similar solutions [2] [3]?
Additional just use edje-templates to define the style.
Would be extremely easy for the user, look nice and consistent, and not such
a giant waste of time like Powerpoint, OOImpress, LaTeX and so on.
And you can concentrate on the content only, not on irrelevant side work.

Looking forward what you'll bring us.


[1] http://textile.thresholdstate.com/
[2] http://web-content-viewer.org/description.txt (input)
[3] http://web-content-viewer.org/description.html (output)

On Fri, May 23, 2008 at 12:51 PM, Atton Jonathan [EMAIL PROTECTED]
wrote:

 On Fri, 23 May 2008 10:47:25 +0300
 Chady Kassouf [EMAIL PROTECTED] wrote:

  On Fri, May 23, 2008 at 10:13 AM, Michael Stapelberg 
  [EMAIL PROTECTED] [EMAIL PROTECTED] 
 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
   Hi Atton,
  
   Thanks for your mail and thanks for working on the project. I'm very
   interested in it because it may be an easier solution than powerdot
   for LaTeX
   to create graphically beautiful presentations.
  
   I just wanted to ensure that one can write the presentation input
   file in any
   editor and compile it with a simple commandline-utility, like
   LaTeX. Is this
   the case? I'm not really interested in a GUI except for creating
   schemes.
  
 
 
  Thinking of the target audience, who is really interested in creating
  presentations?
  With that in mind, would that person be really interested in creating
  their presentation in a text file or are they more interested in
  concentrating on the presentation itself?
 
 

 We can create a front end for an ascii presentation file, this is not a
 problem I guess. Currently we want something easy to use and create,
 write a front end add a lot of job/problems.

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Exchange - A new place to trade themes and showcase applications and modules.

2008-07-20 Thread thomasg
I don't see any problem here, too.
As morlenxus said: exchange is intended to replace get-e.
e17-stuff.org is third party, doesn't have any quality standards and is
nothing more than a list with random themes, apps, and dozens of things that
have nothing to do with E at all - nothing to care about.
So there is (will be) one site, where's the problem?

I still hope that exchange will get some kind of moderation, but altogether
I like the idea and hope for a good integration into E itself.

On Sun, Jul 20, 2008 at 7:20 PM, Sthithaprajna Garapaty 
[EMAIL PROTECTED] wrote:

 Indeed, one of the main reasons for creating exchange was to make a
 webapp that was a lot more tightly integrated with the efl.
 Personally, I would like to see a ecore-style C library for exchange,
 so that people can just plop it into their apps and get a full
 repository of themes for their specific app.
 Exchange already records version numbers, so your themes could have
 automatic updates as well!
 And we can certainly do more to bridge the gap between the desktop and
 the web. But we gotta be careful, we go too far and you'll start
 seeing browsers in text editors!

 As far as websites go, as morlenxus said, get-e.org will be going
 away. I am going to miss the news articles that morlenxus posts
 regularly, so hopefully, we'll see him posting news on the front page
 of enlightenment.org
 e17-stuff.org seems to be operated by somebody else (not the e
 community) for ad revenue, and also seems to be down as I am writing
 this email... exchange should become the main site for themes,
 especially after we get desktop integration.

 -Sthitha


 On Sun, Jul 20, 2008 at 5:12 AM, Jose Gonzalez [EMAIL PROTECTED] wrote:
Vincent wrote:
 
 
  On Sun, 20 Jul 2008, Jose Gonzalez wrote:
 
  I agree that discussion on this important aspect of
  e-and-the-web would
  be excellent, and it's something I tried to mention several times.
  But what's
  better about this particular exchange thing is the potential for it
  to evolve
  into something far more than the current set of 'themes' sites like
  get-e or e17-stuff.
  Those haven't done a thing as far inovation or advancing the
  bleeding edge
  of e and the web, they're just mainly repositories. One needs to be
  far more
  creative and bring the web to e in a real-time way that's easy to
  deal with for
  users, developers, designers,...
  It's not about having a mere 'information' repo, it's got to be
  about connecting whatever e is, to the net in a better way... and
  that means having some kind of
  *api* to enable devs/themers/users to make their
  apps/libs/themes/who-knows-what
  be net-aware, net-enabled, net-connected, net-hell-if-I-know.
  Get-e could've done it, but it didn't.. it never really tried.
  Exchange did,
  at least a good start.. Work together and take it from there. :)
 
  My comment is not about website 1 is better than website 2 because
  [put what you want here]. I'm not skilled enough to decide which one
  is better. It is that we have 3 websites that have more or less the
  same content. We must decide, as soon as possible which one should
  exist and which ones should die.
 
 
   Vincent, it's not about merely content that I'm discussing here -
 it's
  about 'services', 'apis', whatver you want to call them, that would make
 it easy
  for devs to make their apps be able to be connected, notified, access
 content, etc.
  from any site that might support such apis, services, whatnot.
 
 
 
 
  
  Get educated.  Click here for Adult Education programs.
 
 http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3nNbXhNFktNJjMQm6Pw9Kcu1oKmDjiRFVjePuycSMQJqbMqr/
 
  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
  Build the coolest Linux based applications with Moblin SDK  win great
 prizes
  Grand prize is a trip for two to an Open Source event anywhere in the
 world
  http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-
This SF.Net email is sponsored by the Moblin 

Re: [E-devel] [EFM] Typebuf

2008-07-25 Thread thomasg
typebuf should understand some basic shell commands like cd, cd -, cd ~, cd
.., that would be cool and even faster :)

On Fri, Jul 25, 2008 at 10:30 AM, Гусев Фёдор [EMAIL PROTECTED] wrote:

 Hello everyone.

 Attached patch fixes a couple issues with current typebuf in EFM.
 First, now typebuf is cleared out when you change current directory.
 Second, it has a 5 seconds timeout, so if you don't type anything
 during this time, it's cleared out too.

 PS: Typebuf is a way for faster navigation in EFM, you type what you
 what to find, and matching file is automatically selected.

 --
 King regards,
 Fedor Gusev.

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e-users] [website] cms?

2008-08-04 Thread thomasg
Having it handled by CVS instead of a webgui-CMS doesn't mean to have no CMS
at all.
There are some CM-systems out there that can create the content out of
simple text files with a simple markup language.
This would allow to keep the CVS structure and have people to write articles
without having to mess around with web developing.

There's an even more interesting project, called WCV (web content viewer).
It's basically a CMS that creates content out of text files with a basic
markup. The cool thing is, that it even uses SVN (or CVS) metadata to track
revisions and so on.
It supports RSS and some stuff like this, but is still not functional enough
to be used directly.
Anyway - the concept is interesting and something like this might be a good
choice.
Here's the link: http://web-content-viewer.org/

On Sat, Aug 2, 2008 at 9:23 PM, dan sinclair [EMAIL PROTECTED] wrote:


 On 2-Aug-08, at 2:55 PM, Sthithaprajna Garapaty wrote:

  I'm not saying having a CMS will suddenly bring people to write.
  That's a separate problem.
  I think it will not BLOCK people from writing. There's a difference.
  There are various avenues we can pursue to attract writers.
  Bounties, request for articles on the front page, etc can easily
  attract writers.
 
  Also, we need to have a strict no drinking and writing policy.

 Nothing we have now blocks people from writing (and this is coming
 from the guy that wrote a _lot_ of documentation for Ewl and the EFL).

 Use your blog. Use the wiki. Everything is available. If people wanted
 to write they'd be doing it already. If we have to pay them, then I'd
 say they're just in it for the money. Probably not the type of
 community we want to foster.

 dan

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Ecore_Evas_Engines API change in Python-EFL

2008-08-06 Thread thomasg
Hi List,

after the recent small API change in Ecore_Evas_Engines the python-bindings
of python-efl have been updated, but the python-efl API itself stayed the
same.
In my opinion this should be changed, too, because it's not a good style to
have different APIs in the bindings.
The attached patch changes the python API, the same way the C-API has been
changed recently. Of course this will break all apps that use the affected
engines.
I already fixed it in all the demo apps in the python-efl folder, so there
should be nothing else to do.
I didn't check the other apps in the whole CVS, don't know if there are any
other python apps.

If this patch comes in there would be one further step to do:
python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas_gl_x11.pxi must
be renamed, as must
python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas_software_x11_16.pxi
As a rename requires a cvs rm and cvs add this should be done by someone
with cvs access.
Also the includes in the examples and so on would have to be changed, I
would send another patch if the files will be renamed.

Greets,

thomasg

P.S. I hope the patch is not too much lines in one file, but as the changes
are more or less trivial I think this is no big deal.
Index: python-efl/python-ecore/ecore/evas/__init__.py
===
RCS file: /var/cvs/e/e17/proto/python-efl/python-ecore/ecore/evas/__init__.py,v
retrieving revision 1.5
diff -u -r1.5 __init__.py
--- python-efl/python-ecore/ecore/evas/__init__.py  1 Oct 2007 05:09:43 
-   1.5
+++ python-efl/python-ecore/ecore/evas/__init__.py  6 Aug 2008 12:20:14 
-
@@ -4,6 +4,6 @@
 
 from c_ecore_evas import shutdown, engine_type_supported_get, \
  engine_type_from_name, engine_name_from_type, SoftwareX11, \
- GLX11, XRenderX11, FB, Buffer, SoftwareX11_16
+ OpenGLX11, XRenderX11, FB, Buffer, Software16_X11
 
 c_ecore_evas.init()
Index: python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas.pyx
===
RCS file: 
/var/cvs/e/e17/proto/python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas.pyx,v
retrieving revision 1.8
diff -u -r1.8 ecore.evas.c_ecore_evas.pyx
--- python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas.pyx  25 Jul 
2008 19:05:24 -  1.8
+++ python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas.pyx  6 Aug 
2008 12:20:14 -
@@ -16,18 +16,18 @@
 engines[intECORE_EVAS_ENGINE_SOFTWARE_BUFFER] = software_buffer
 engines[intECORE_EVAS_ENGINE_SOFTWARE_X11] = software_x11
 engines[intECORE_EVAS_ENGINE_XRENDER_X11] = xrender_x11
-engines[intECORE_EVAS_ENGINE_OPENGL_X11] = gl_x11
+engines[intECORE_EVAS_ENGINE_OPENGL_X11] = opengl_x11
 engines[intECORE_EVAS_ENGINE_SOFTWARE_XCB] = software_xcb
 engines[intECORE_EVAS_ENGINE_XRENDER_XCB] = xrender_xcb
 engines[intECORE_EVAS_ENGINE_SOFTWARE_DDRAW] = software_ddraw
 engines[intECORE_EVAS_ENGINE_DIRECT3D] = direct3d
-engines[intECORE_EVAS_ENGINE_OPENGL_GLEW] = gl_glew
+engines[intECORE_EVAS_ENGINE_OPENGL_GLEW] = opengl_glew
 engines[intECORE_EVAS_ENGINE_SDL] = sdl
 engines[intECORE_EVAS_ENGINE_DIRECTFB] = directfb
 engines[intECORE_EVAS_ENGINE_SOFTWARE_FB] = software_fb
-engines[intECORE_EVAS_ENGINE_SOFTWARE_16_X11] = software_x11_16
-engines[intECORE_EVAS_ENGINE_SOFTWARE_16_DDRAW] = software_ddraw_16
-engines[intECORE_EVAS_ENGINE_SOFTWARE_16_WINCE] = software_wince_16
+engines[intECORE_EVAS_ENGINE_SOFTWARE_16_X11] = software_16_x11
+engines[intECORE_EVAS_ENGINE_SOFTWARE_16_DDRAW] = software_16_ddraw
+engines[intECORE_EVAS_ENGINE_SOFTWARE_16_WINCE] = software_16_wince
 cdef int engines_len
 engines_len = sizeof(engines)/sizeof(engines[0])
 
Index: python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas_gl_x11.pxi
===
RCS file: 
/var/cvs/e/e17/proto/python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas_gl_x11.pxi,v
retrieving revision 1.3
diff -u -r1.3 ecore.evas.c_ecore_evas_gl_x11.pxi
--- python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas_gl_x11.pxi   
1 Oct 2007 05:09:43 -   1.3
+++ python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas_gl_x11.pxi   
6 Aug 2008 12:20:14 -
@@ -1,6 +1,6 @@
 # This file is included verbatim by c_ecore_evas.pyx
 
-cdef class GLX11(BaseX11):
+cdef class OpenGLX11(BaseX11):
 X11 window using OpenGL render.
 
 @ivar window: X11 window id.
@@ -12,7 +12,7 @@
 cdef Ecore_Evas *obj
 
 if self.obj == NULL:
-obj = ecore_evas_gl_x11_new(display, parent_xid, x, y, w, h)
+obj = ecore_evas_opengl_x11_new(display, parent_xid, x, y, w, h)
 self._set_obj(obj)
 
 def window_get(self):
@@ -20,7 +20,7 @@
 
@rtype: int
 
-return ecore_evas_gl_x11_window_get(self.obj)
+return ecore_evas_opengl_x11_window_get(self.obj)
 
 property window:
 def __get__(self

[E-devel] Bug in edje programs using mouse events and scripts

2008-09-09 Thread thomasg
Hi list,

I just wrote some program parts in edje which contain scripts and react to
mouse events.
Then I experienced some problems when using this combination with mouse
events that are _not_ mouse,down,*.
Every time a program is executed that contains a script and reacts on
mouse,in; mouse,out and mouse,up,* the whole edje gui hangs (the programm
itself is still running fine).

What works:
program {
name: test;
signal: mouse,down,*;
source: test_part;
script { }
}
What doesn't:
program {
name: test;
signal: mouse,up,*;
source: test_part;
script { }
}
The script {} part can contain functions or not, doesn't matter.
Can anyone confirm this?
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: barbieri trunk/edje/src/lib

2008-09-09 Thread thomasg
Preferred patch looks good, fixes my problems.

On Wed, Sep 10, 2008 at 2:34 AM, Gustavo Sverzut Barbieri
[EMAIL PROTECTED] wrote:

 On Tue, Sep 9, 2008 at 9:14 PM, Gustavo Sverzut Barbieri
 [EMAIL PROTECTED] wrote:
  On Tue, Sep 9, 2008 at 8:41 PM,  [EMAIL PROTECTED] wrote:
  Author:   barbieri
  Date: 2008-09-09 16:41:42 -0700 (Tue, 09 Sep 2008)
  New Revision: 35908
 
  Modified:
   trunk/edje/src/lib/edje_calc.c trunk/edje/src/lib/edje_private.h
 trunk/edje/src/lib/edje_smart.c trunk/edje/src/lib/edje_util.c
  Log:
 
  Revert edje calculate optimizations.
 
  Edje is tricky, it's event processing is too weird and Cedric's
  changes to make it work are not working as expected. Edje freezes
  itself while processing signals, but in mouse down cb it forces
  recalculate, which seems was previously ignored, but now they are not.
 
  We should look at how to fix this and then re-apply this patch.
 
  Attached is a patch to attempt to fix the issues. It will not look for
  postponed flag before recalculate (postpone does not force it anymore)
  and for input event callbacks it will force recalculation with
  _edje_recalc_do().
 
  I grep'ed for other _edje_recalc() code, there are some suspicious
  cases in edje_program(), it would be great if people with
  embryo-intensive applications could apply this patch and report if
  there are problems.

 As  I suspected, edje_program.c code does need to forcelly call
 _edje_recalc_do(). Attached are two patches, the preferred one that
 just forces recalc after scripts (embryo) run and another that forces
 it after all kind of programs run. Please try the preferred and if it
 does not work try alternative. Please report which one worked or
 failed.

 thanks

 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: [EMAIL PROTECTED]
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Ecore Path Groups broken?

2008-10-16 Thread thomasg
Hi,

I tried to create file lists by using Ecore_Path_Groups, but unfortunately I
didn't get a working result.
Is it possible that the path groups are broken, or do I just miss something?
I use it like this:

#include Ecore_Data.h
#include Ecore_Str.h
#include Ecore_File.h

int main() {
int i;
Ecore_List *testliste;
Ecore_Path_Group *testgruppe;

testgruppe = ecore_path_group_new();
ecore_path_group_add(testgruppe, /tmp);
testliste = ecore_list_new();
ecore_list_init(testliste);
testliste = ecore_path_group_available(testgruppe);

i = ecore_list_count(testliste);
printf(%d Entries\n, i);

return 0;
}


That's the result:

 * Developer Warning * :
 This program is calling:

 ecore_list_count();

 With the parameter:

 list

 being NULL. Please fix your program.
 0 Entries




Thanks in advance,

thomasg
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Fix ecore_path_group_available

2008-10-16 Thread thomasg
The attached patch fixes the ecore_path_group_available by removing the
senseless check on shared object suffix.
It also renames the function to ecore_path_group_available_get, to match the
ecore API.

Big thanks to pfritz for his help!

Greets,

thomasg
Index: ecore_path.c
===
--- ecore_path.c(Revision 36702)
+++ ecore_path.c(Arbeitskopie)
@@ -148,7 +148,7 @@
  * @ingroup Ecore_Path_Group
  */
 EAPI Ecore_List *
-ecore_path_group_available(Ecore_Path_Group *group)
+ecore_path_group_available_get(Ecore_Path_Group *group)
 {
Ecore_List *avail = NULL;
char *path;
@@ -179,18 +179,12 @@
while ((d = readdir(dir)) != NULL)
  {
 char ppath[PATH_MAX];
-char *ext;
 /*  char n[PATH_MAX];
 int l;
 */
 if (!strncmp(d-d_name, ., 1))
   continue;
 
-ext = strrchr(d-d_name, '.');
-
-if (!ext || strncmp(ext, SHARED_LIB_SUFFIX, 
sizeof(SHARED_LIB_SUFFIX)))
-  continue;
-
 snprintf(ppath, PATH_MAX, %s/%s, path, d-d_name);
 
 stat(ppath, st);
Index: Ecore_Data.h
===
--- Ecore_Data.h(Revision 36702)
+++ Ecore_Data.h(Arbeitskopie)
@@ -331,7 +331,7 @@
/*
 * Get a list of all the available files in a path set
 */
-   EAPI Ecore_List * ecore_path_group_available(Ecore_Path_Group *group);
+   EAPI Ecore_List * ecore_path_group_available_get(Ecore_Path_Group *group);


typedef struct _ecore_plugin Ecore_Plugin;
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] collection can't include more than one edc file

2008-10-24 Thread thomasg
Obviously you made a mistake in the main_menu.edc file. Fix it and it will
work.

On Fri, Oct 24, 2008 at 10:42 AM, flower-mei [EMAIL PROTECTED] wrote:

 hi all,

  I find that if my collections  include more than  one  edc file  it would
 be :
  edje_cc: Error. icon_item.edc:3 unhandled keyword group

  but  when  I delete the line   -- #include main_menu.edc
  the error would not come out again.  I don't know why  it can't  include
 more than one edc file?

 thanks!

  collections {
  #include main_menu.edc

  #include icon_item.edc
 }
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] collection can't include more than one edc file

2008-10-24 Thread thomasg
Please answert to the list, makes things easier.

It looks for me like it is a small syntax error. Maybe you have in both
files a group with the same name?
What if you load only the icon_list.edc file, not main_menu.edc, does it
still work?

If you don't find it by yourself, maybe you can nopaste the files and let me
have a look.

2008/10/24 flower-mei [EMAIL PROTECTED]


  If the collections only  include the main_menu.edc , it can work well so
 I don't think it's the problem of main_menu.edc

 在2008-10-24,thomasg [EMAIL PROTECTED] 写道:

 Obviously you made a mistake in the main_menu.edc file. Fix it and it will
 work.

 On Fri, Oct 24, 2008 at 10:42 AM, flower-mei [EMAIL PROTECTED] wrote:

 hi all,

  I find that if my collections  include more than  one  edc file  it would
 be :
  edje_cc: Error. icon_item.edc:3 unhandled keyword group

  but  when  I delete the line   -- #include main_menu.edc
  the error would not come out again.  I don't know why  it can't  include
 more than one edc file?

 thanks!

  collections {
  #include main_menu.edc

  #include icon_item.edc
 }
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




 --
 [广告] 特惠尝必胜客26道新品 http://popme.163.com/link/004584_1007_8510.html
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] e_fm: fix single-click on folders

2008-10-28 Thread thomasg
Hi,

the attached patch fixes the single-click feature of e_fm, so you can use
single-click on folders, not just on files.
It also removes the strdup in the affected functions that seems useless
here.

Would be nice if someone could check/review and commit it.

Greetings,

thomasg
Index: e_fm.c
===
--- e_fm.c  (Revision 37249)
+++ e_fm.c  (Arbeitskopie)
@@ -5136,18 +5136,17 @@
  {
/* if its a directory  open dirs in-place is set then change the dir
 * to be the dir + file */
-   if ((S_ISDIR(ic-info.statinfo.st_mode))  
+   if (
+   (S_ISDIR(ic-info.statinfo.st_mode))  
(ic-sd-config-view.open_dirs_in_place) 
(!ic-sd-config-view.no_subdir_jump) 
(!ic-sd-config-view.single_click)
)
  {
-char buf[4096], *dev = NULL;
+char buf[4096];
 
-if (ic-sd-dev) dev = strdup(ic-sd-dev);
 snprintf(buf, sizeof(buf), %s/%s, ic-sd-path, ic-info.file);
-e_fm2_path_set(ic-sd-obj, dev, buf);
-E_FREE(dev);
+e_fm2_path_set(ic-sd-obj, ic-sd-dev, buf);
  }
else
  evas_object_smart_callback_call(ic-sd-obj, selected, NULL);
@@ -5170,7 +5169,7 @@
 ic-drag.dnd = 0;
 ic-drag.src = 1;
  }
-   _e_fm2_mouse_1_handler(ic, 0, ev-modifiers);
+ _e_fm2_mouse_1_handler(ic, 0, ev-modifiers);
  }
else if (ev-button == 3)
  {
@@ -5195,6 +5194,24 @@
 ic-drag.start = 0;
ic-drag.dnd = 0;
ic-drag.src = 0;
+
+if (
+   (S_ISDIR(ic-info.statinfo.st_mode)) 
+(ic-sd-config-view.open_dirs_in_place) 
+(!ic-sd-config-view.no_subdir_jump) 
+(ic-sd-config-view.single_click)
+)
+  {
+ char buf[4096];
+
+ snprintf(buf, sizeof(buf), %s/%s, ic-sd-path, ic-info.file);
+ e_fm2_path_set(ic-sd-obj, ic-sd-dev, buf);
+  }
+else if ((S_ISDIR(ic-info.statinfo.st_mode))  
(ic-sd-config-view.single_click))
+  evas_object_smart_callback_call(ic-sd-obj, selected, NULL);
+
+
+
  }
ic-down_sel = 0;
 }
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread thomasg
On Mon, Nov 3, 2008 at 9:49 AM, dongmei zhou [EMAIL PROTECTED]wrote:

 hi all,

   You  know  that  Gstreamer video often is displayed  in  drawingarea
 which  is   created  by  gtk.Drawingarea() function,
 Is  there  any  efl object  instead of  this function  to  create a
 drawingarea  to display  Gstreamer  video.
 Any  examples  would  be  welcome :)


Emotion is an Evas Smartobject and can do what you're looking for (it has
gstreamer support).
However, it's not well maintained, so you might not only run into problems,
it might not even work at all (depends I guess).
I can only quote raster: 'i think it needs a weekend of love sometime'.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Is there any efl object instead of gtk.drawingarea ?

2008-11-03 Thread thomasg
Because of that and many many other reasons it would be really cool,
to have a mplayer backend for emotion. :)
But I know, it's really tricky to find a good solution, because
mplayer isn't meant to be just a backend.

On 11/3/08, Gustavo Sverzut Barbieri [EMAIL PROTECTED] wrote:
 On Mon, Nov 3, 2008 at 11:44 AM, Dave Andreoli [EMAIL PROTECTED]
 wrote:

 - Nicolas Aguirre [EMAIL PROTECTED] ha scritto:

 2008/11/3 Gustavo Sverzut Barbieri [EMAIL PROTECTED]:

  Gstreamer just sucks to play video on nokia devices, and doing
 extra
  copies or transformation from YUV to RGB is no-go on those
 hardwares.
  That's why canola uses atakabe to play media, it will handle
 mplayer,
  gstreamer...  mplayer is optimized and outputs YUV at half
 resolution
  using double-pixel directly to framebuffer (in fullscreen mode).
 While
  in windowed mode, Canola just use ecore_x to reparent MPlayer's
 window
  to the required position (it's a black rectangle in the theme).
 
 

 Exactly what I do with libplayer/mplayer in Enna :)


 But in this way you can't have evas objects on top of the mplayer
 window...

 yes, that's the problem with such approach, but on that platform it's
 the only option, really, you don't have much cpu power.

 What about the vlc backend? It seem the better way for me as, for
 what I have understand, vlc doesn't use gstreamer.
 Someone have tryed it?

 it's totally buggy, needs fixing. AFAIR it calls back from thread,
 which is not allowed in EFL, but people spotted different problems as
 well.

 Also, vlc is not an option on that platform, gstreamer is the
 official media player and uses dsp for audio decoding, but mplayer
 is was optimized by a guy and is the best, it does this framebuffer
 tricky and also have an ARM JIT compiler for scale.

 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: [EMAIL PROTECTED]
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Fwd: [nox: [PATCH] build fix for emotion with libxine 1.2.x]

2012-03-02 Thread thomasg
The attached patch fixes build for emotion with libxine 1.2.x.
I only forward this for nox, who is not subscribed (and seems to have
trouble getting in the moderation queue).
All credits to him.


-- Forwarded message --
From: Juergen Lock n...@jelal.kn-bremen.de
Date: Sat, Mar 3, 2012 at 01:47
Subject: [nox: [PATCH] build fix for emotion with libxine 1.2.x]
To: tho...@gstaedtner.net


- Forwarded message from nox -

Date: Tue, 28 Feb 2012 20:53:01 +0100
To: enlightenment-devel@lists.sourceforge.net
Subject: [PATCH] build fix for emotion with libxine 1.2.x
User-Agent: Mutt/1.5.21 (2010-09-15)

Patch also here:

       
http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/emotion/files/patch-src-modules-xine-emotion_xine_vo_out.c

--- src/modules/xine/emotion_xine_vo_out.c.orig
+++ src/modules/xine/emotion_xine_vo_out.c
@@ -119,8 +119,13 @@ _emotion_class_init(xine_t *xine, void *
   cl = (Emotion_Class *) malloc(sizeof(Emotion_Class));
   if (!cl) return NULL;
   cl-driver_class.open_plugin     = _emotion_open;
+#if XINE_MAJOR_VERSION  1 || (XINE_MAJOR_VERSION == 1 
XINE_MINOR_VERSION  2)
   cl-driver_class.get_identifier  = _emotion_class_identifier_get;
   cl-driver_class.get_description = _emotion_class_description_get;
+#else
+   cl-driver_class.identifier      = _emotion_class_identifier_get(NULL);
+   cl-driver_class.description     = _emotion_class_description_get(NULL);
+#endif
   cl-driver_class.dispose         = _emotion_class_dispose;
   cl-config                       = xine-config;
   cl-xine                         = xine;

- End forwarded message -
--- src/modules/xine/emotion_xine_vo_out.c.orig
+++ src/modules/xine/emotion_xine_vo_out.c
@@ -119,8 +119,13 @@ _emotion_class_init(xine_t *xine, void *
cl = (Emotion_Class *) malloc(sizeof(Emotion_Class));
if (!cl) return NULL;
cl-driver_class.open_plugin = _emotion_open;
+#if XINE_MAJOR_VERSION  1 || (XINE_MAJOR_VERSION == 1  XINE_MINOR_VERSION  2) 
cl-driver_class.get_identifier  = _emotion_class_identifier_get;
cl-driver_class.get_description = _emotion_class_description_get;
+#else
+   cl-driver_class.identifier  = _emotion_class_identifier_get(NULL);
+   cl-driver_class.description = _emotion_class_description_get(NULL);
+#endif
cl-driver_class.dispose = _emotion_class_dispose;
cl-config   = xine-config;
cl-xine = xine;
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Battery Gadget Feature Request

2012-03-25 Thread thomasg
On Sat, Mar 24, 2012 at 15:21, Jeff Hoogland jeffhoogl...@linux.com wrote:
 Would it be possible to add a shut down below percentage to the battery
 gadget? Had a few users request this over the months as some of them don't
 care to hibernate their systems.

 --
 ~Jeff Hoogland http://jeffhoogland.com/
 Thoughts on Technology http://jeffhoogland.blogspot.com/, Tech Blog
 Bodhi Linux http://bodhilinux.com/, Enlightenment for your Desktop
 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Hello Jeff,

I took the liberty to write a patch to support multiple suspend methods.
I'm sitting on a desktop without battery here and can't test, it would
be nice if you could do that for me. If it works for you, I'll send
the patch to the list for official review.

I hope the attachment reaches the list, alternatively it is available here:
http://gstaedtner.net/e_battery_suspend_methods.patch

~thomasg
From f1a375c7fd4683edeeb31646a496bb4cded64ad8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20Gst=C3=A4dtner?= tho...@gstaedtner.net
Date: Sun, 25 Mar 2012 21:08:01 +0200
Subject: [PATCH] battery: add support for different suspend methods

Allow the user to select what to do when the battery runs low:
Suspend, Hibernate or Shutdown.

diff --git a/src/modules/battery/e_mod_config.c 
b/src/modules/battery/e_mod_config.c
index 048b6c6..75f8861 100644
--- a/src/modules/battery/e_mod_config.c
+++ b/src/modules/battery/e_mod_config.c
@@ -13,6 +13,7 @@ struct _E_Config_Dialog_Data
int dismiss_alert;
int alert_timeout;
int suspend_below;
+   int suspend_method;
int force_mode; // 0 == auto, 1 == batget, 2 == subsystem
 #ifdef HAVE_ENOTIFY
int desktop_notifications;
@@ -76,6 +77,7 @@ _fill_data(E_Config_Dialog_Data *cfdata)
cfdata-poll_interval = battery_config-poll_interval;
cfdata-alert_timeout = battery_config-alert_timeout;
cfdata-suspend_below = battery_config-suspend_below;
+   cfdata-suspend_method = battery_config-suspend_method;
cfdata-force_mode = battery_config-force_mode;
 #ifdef HAVE_EEZE
cfdata-fuzzy = battery_config-fuzzy;
@@ -236,11 +238,19 @@ _advanced_create_widgets(E_Config_Dialog *cfd __UNUSED__, 
Evas *evas, E_Config_D
 NULL, (cfdata-poll_interval), 100);
e_widget_table_object_append(o, ob, 0, 1, 1, 1, 1, 0, 1, 0);

-   ob = e_widget_label_add(evas, _(Hibernate when below:));
+   rg = e_widget_radio_group_new((cfdata-suspend_method));
+   ob = e_widget_radio_add(evas, _(Suspend when below:), 0, rg);
+   e_widget_on_change_hook_set(ob, _cb_radio_changed, cfdata);
e_widget_table_object_append(o, ob, 0, 2, 1, 1, 1, 0, 1, 0);
+   ob = e_widget_radio_add(evas, _(Hibernate when below:), 1, rg);
+   e_widget_on_change_hook_set(ob, _cb_radio_changed, cfdata);
+   e_widget_table_object_append(o, ob, 0, 3, 1, 1, 1, 0, 1, 0);
+   ob = e_widget_radio_add(evas, _(Shutdown when below:), 2, rg);
+   e_widget_on_change_hook_set(ob, _cb_radio_changed, cfdata);
+   e_widget_table_object_append(o, ob, 0, 4, 1, 1, 1, 0, 1, 0);
ob = e_widget_slider_add(evas, 1, 0, _(%1.0f %%), 0, 50, 1, 0, 
 NULL, (cfdata-suspend_below), 100);
-   e_widget_table_object_append(o, ob, 0, 3, 1, 1, 1, 0, 1, 0);
+   e_widget_table_object_append(o, ob, 0, 5, 1, 1, 1, 0, 1, 0);

e_widget_toolbook_page_append(otb, NULL, _(Polling), o, 1, 0, 1, 0, 
  0.5, 0.0);
@@ -334,6 +344,7 @@ _advanced_apply_data(E_Config_Dialog *cfd __UNUSED__, 
E_Config_Dialog_Data *cfda
 
battery_config-force_mode = cfdata-force_mode;
battery_config-suspend_below = cfdata-suspend_below;
+   battery_config-suspend_method = cfdata-suspend_method;
 
_battery_config_updated();
e_config_save_queue();
@@ -352,6 +363,7 @@ _advanced_check_changed(E_Config_Dialog *cfd __UNUSED__, 
E_Config_Dialog_Data *c
   (cfdata-poll_interval != battery_config-poll_interval) ||
   (cfdata-alert_timeout != battery_config-alert_timeout) ||
   (cfdata-suspend_below != battery_config-suspend_below) ||
+  (cfdata-suspend_method != battery_config-suspend_method) ||
 #ifdef HAVE_EEZE
(cfdata-fuzzy != battery_config-fuzzy) ||
 #endif   
diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c
index 3cf9671..b29a1aa 100644
--- a/src/modules/battery/e_mod_main.c
+++ b/src/modules/battery/e_mod_main.c
@@ -610,7 +610,14 @@ _battery_update(int full, int time_left, int time_full, 
Eina_Bool have_battery,
 if ((have_battery)  (!have_power)  (full = 0) 
 (battery_config-suspend_below  0) 
 (full  battery_config

Re: [E-devel] [PATCH] e_randr: fix compiler warning

2012-03-26 Thread thomasg
On Mon, Mar 26, 2012 at 23:03, Leif Middelschulte
leif.middelschu...@gmail.com wrote:
 2012/3/26 Thomas Gstädtner tho...@gstaedtner.net:
 Signed-off-by: Thomas Gstädtner tho...@gstaedtner.net
 ---
  src/bin/e_randr_private.h |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

 diff --git a/src/bin/e_randr_private.h b/src/bin/e_randr_private.h
 index cada26a..02c7abc 100644
 --- a/src/bin/e_randr_private.h
 +++ b/src/bin/e_randr_private.h
 @@ -22,6 +22,9 @@
  #define E_RANDR_12_NO_MODES          (E_RANDR_12_NO || 
 !e_randr_screen_info.rrvd_info.randr_info_12-modes)
  #define E_RANDR_12_NO_MODE(mode)     (E_RANDR_12_NO || 
 !e_randr_screen_info.rrvd_info.randr_info_12-modes || (mode == 
 Ecore_X_Randr_None))

 +// Generic
 +Eina_Bool               _try_restore_configuration(void);
 +
  // RandRR == 1.1
  E_Randr_Screen_Info_11 *_11_screen_info_new(void);
  void                    _11_screen_info_free(E_Randr_Screen_Info_11 
 *screen_info_11);
 Please don't send patches inlined. Could you please resend it as an 
 attachement?
 --
 1.7.8.5


 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



 --
 Leif

 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Sure, here we go.
In case the attachment comes twice, I'm sorry, just checking if
sourceforge accepts x-patch mimetype.

~thomasg
From bcfdd2420803072201b147e6310774544ab139e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20Gst=C3=A4dtner?= tho...@gstaedtner.net
Date: Mon, 26 Mar 2012 20:21:20 +0200
Subject: [PATCH] e_randr: fix compiler warning
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Thomas Gstädtner tho...@gstaedtner.net
---
 src/bin/e_randr_private.h |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/bin/e_randr_private.h b/src/bin/e_randr_private.h
index cada26a..02c7abc 100644
--- a/src/bin/e_randr_private.h
+++ b/src/bin/e_randr_private.h
@@ -22,6 +22,9 @@
 #define E_RANDR_12_NO_MODES  (E_RANDR_12_NO || 
!e_randr_screen_info.rrvd_info.randr_info_12-modes)
 #define E_RANDR_12_NO_MODE(mode) (E_RANDR_12_NO || 
!e_randr_screen_info.rrvd_info.randr_info_12-modes || (mode == 
Ecore_X_Randr_None))
 
+// Generic
+Eina_Bool   _try_restore_configuration(void);
+
 // RandRR == 1.1
 E_Randr_Screen_Info_11 *_11_screen_info_new(void);
 void_11_screen_info_free(E_Randr_Screen_Info_11 
*screen_info_11);
-- 
1.7.8.5

From bcfdd2420803072201b147e6310774544ab139e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20Gst=C3=A4dtner?= tho...@gstaedtner.net
Date: Mon, 26 Mar 2012 20:21:20 +0200
Subject: [PATCH] e_randr: fix compiler warning
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Thomas Gstädtner tho...@gstaedtner.net
---
 src/bin/e_randr_private.h |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/bin/e_randr_private.h b/src/bin/e_randr_private.h
index cada26a..02c7abc 100644
--- a/src/bin/e_randr_private.h
+++ b/src/bin/e_randr_private.h
@@ -22,6 +22,9 @@
 #define E_RANDR_12_NO_MODES  (E_RANDR_12_NO || !e_randr_screen_info.rrvd_info.randr_info_12-modes)
 #define E_RANDR_12_NO_MODE(mode) (E_RANDR_12_NO || !e_randr_screen_info.rrvd_info.randr_info_12-modes || (mode == Ecore_X_Randr_None))
 
+// Generic
+Eina_Bool   _try_restore_configuration(void);
+
 // RandRR == 1.1
 E_Randr_Screen_Info_11 *_11_screen_info_new(void);
 void_11_screen_info_free(E_Randr_Screen_Info_11 *screen_info_11);
-- 
1.7.8.5

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] e_randr: fix compiler warning

2012-03-26 Thread thomasg
On Tue, Mar 27, 2012 at 00:27, Daniel Juyung Seo seojuyu...@gmail.com wrote:
 http://trac.enlightenment.org/e/wiki/PatchReview
 FYI
 On Mar 27, 2012 6:14 AM, thomasg tho...@gstaedtner.net wrote:
 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Thanks for that, didn't even know this existed.
One question about it: is there any way patches created within git can
be accepted?
As I keep some changes in git locally and work on different stuff at
the same time (that's not ready for commit), I find it very hard to
create atomic commits with SVN.
To my knowledge current SVN can apply patches from git just fine, so
is this acceptable?

~thomasg

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [BUG REPORT] Ibus Error Caused By E Notifications

2012-03-27 Thread thomasg
On Tue, Mar 27, 2012 at 23:52, Jeff Hoogland jeffhoogl...@linux.com wrote:
 E displays a popup notification that says something along the lines of:

 Error during DBus init! Please check if
 dbus is correctly installed and running

 As the system shuts down, it is harmless and the system still quickly shuts
 down (which is why it is hard to say exactly what the massage says). But
 many people have noticed it's occurrence.

 On Tue, Mar 27, 2012 at 4:19 PM, Michael Blumenkrantz 
 michael.blumenkra...@gmail.com wrote:

 On Tue, 27 Mar 2012 13:38:29 -0700
 Joel Madero jmadero@gmail.com wrote:

  This has been confirmed by quite a few people over at Bodhi Forums.
 
  Enabling E Notifications is causing a dbus error to come up upon shutting
  down/rebooting. The error reads:
 
  Error during DBus init! Please check if
  dbus is correctly installed and running.
 
 
 
  The error flashes really fast, fast enough to where I haven't been able
 to
  get the wording (another user posted the above). One of the staff over at
  bodhi forum thinks it's got to do with the e_modapi_init function
 
 
  Joel

 define is causing a dbus error to come up upon shutting down/rebooting.


 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




 --
 ~Jeff Hoogland http://jeffhoogland.com/
 Thoughts on Technology http://jeffhoogland.blogspot.com/, Tech Blog
 Bodhi Linux http://bodhilinux.com/, Enlightenment for your Desktop
 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

I'd assume your system shuts down the dbus daemon before E exits, thus
E loses the socket connection and throws this error.
I've never noticed it here.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [BUG REPORT] Ibus Error Caused By E Notifications

2012-03-27 Thread thomasg
On Wed, Mar 28, 2012 at 01:56, Joel Madero jmadero@gmail.com wrote:
 As Jeff said, it's been pointed out by at least 10 or so people over at
 Bodhi forums so it's not just my system. I'm experiencing it on three
 systems myself

 On Tue, Mar 27, 2012 at 3:01 PM, thomasg tho...@gstaedtner.net wrote:

 On Tue, Mar 27, 2012 at 23:52, Jeff Hoogland jeffhoogl...@linux.com
 wrote:
  E displays a popup notification that says something along the lines of:
 
  Error during DBus init! Please check if
  dbus is correctly installed and running
 
  As the system shuts down, it is harmless and the system still quickly
 shuts
  down (which is why it is hard to say exactly what the massage says). But
  many people have noticed it's occurrence.
 
  On Tue, Mar 27, 2012 at 4:19 PM, Michael Blumenkrantz 
  michael.blumenkra...@gmail.com wrote:
 
  On Tue, 27 Mar 2012 13:38:29 -0700
  Joel Madero jmadero@gmail.com wrote:
 
   This has been confirmed by quite a few people over at Bodhi Forums.
  
   Enabling E Notifications is causing a dbus error to come up upon
 shutting
   down/rebooting. The error reads:
  
   Error during DBus init! Please check if
   dbus is correctly installed and running.
  
  
  
   The error flashes really fast, fast enough to where I haven't been
 able
  to
   get the wording (another user posted the above). One of the staff
 over at
   bodhi forum thinks it's got to do with the e_modapi_init function
  
  
   Joel
 
  define is causing a dbus error to come up upon shutting
 down/rebooting.
 
 
 
 --
  This SF email is sponsosred by:
  Try Windows Azure free for 90 days Click Here
  http://p.sf.net/sfu/sfd2d-msazure
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
 
  --
  ~Jeff Hoogland http://jeffhoogland.com/
  Thoughts on Technology http://jeffhoogland.blogspot.com/, Tech Blog
  Bodhi Linux http://bodhilinux.com/, Enlightenment for your Desktop
 
 --
  This SF email is sponsosred by:
  Try Windows Azure free for 90 days Click Here
  http://p.sf.net/sfu/sfd2d-msazure
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 I'd assume your system shuts down the dbus daemon before E exits, thus
 E loses the socket connection and throws this error.
 I've never noticed it here.


 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Well, that probably leads to the conclusion that it is bodhi related :)

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Query][E-Notify] Enotification sending does not work if sender and receiver(running the notification daemon) run under different user

2012-04-18 Thread thomasg
On Wed, Apr 18, 2012 at 16:32, Rajeev Ranjan rajee...@samsung.com wrote:
 Hi,
  While working with E-Notify, I found that notification sent by a sender app 
 does not get received by the receiver(running the daemon such as 
 Enlightenment window manager or some other app) if both run under different
 user.
 One can test this by running e-notify-send under some other user, say root by 
 switching to that using su.
 I tested in an enlightenment session as well as by running notification 
 daemon in another application after disabling notification module in 
 enlightenment window manager.
 Is it because, E-Notify is using Session Bus!

 Please suggest a way by which it can work between users as well. My 
 requirement is support multiple users sessions and they should be able to 
 communicate using e-notify.

 Thank You.
 Regards,
 Rajeev
 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

The reason for this is, that e-notify uses the dbus session bus, which
is always session (^= user) specific. This is by design and there is
no proper way to do this any other way.
In theory you could use the system bus, but e-notify implements the
(future?) FDO dbus Desktop Notification Specification [1] which
requires the session bus to be used.

Basically this means you'll have to implement a separate system for
this or use a dispatcher which can notify all users, though this is
not really specified.

Imho you shouldn't touch e-notify for this, but implement a separate
system. The session bus is not supposed to be used by other users.

~thomasg

[1] http://www.galago-project.org/specs/notification/0.9/index.html

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] using LZ4 compression tool in eet ?

2012-04-23 Thread thomasg
On Sun, Apr 22, 2012 at 05:58, Carsten Haitzler ras...@rasterman.com wrote:
 On Sat, 21 Apr 2012 12:08:18 +0200 Vincent Torri vincent.to...@gmail.com 
 said:

 actually forget lz4hc... lgpl3.

 hey

 just found that while reading the gnutls ML :

 http://code.google.com/p/lz4/

 it seems that it allows the same ratio for compression than zlib but
 seems  to be by far faster than zlib

 the memory consumption should be tested too.

 What do you think ?

 Vincent

 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 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


 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

I don't see any problem using an LGPLv3 library. Are there really any
changes necessary to make use of it in eet? Also, would it have to be
distributed in a way where LGPL parts would actually be packed into an
Eet binary or Eet source code?
Although I of course can understand that it would not be possible to
use Eet in an environment where no LGPL library could be accepted,
wherever or whyever that would be.

Other than that, would it really be worth it? Even if in the best case
the compression is only a little worse than zlib and compression time
would be a lot faster - would it really be worth it?
Eet usually is used WORM-style (Write Once / Read Many), so
compression time is hardly an issue - but if decompression is not
significantly faster (or even slower?), and file size is larger (thus
I/O, which more often than not is a bottle-neck nowadays, being lower)
you'd actually not gain anything but lose run-time performance
instead.
On the lz4hc page I only spotted compression benchmarks, nothing about
decompression - if basic information is missing, there usually is a
reason.

If anything, what would make sense for Eet would be the XZ format, using LZMA.
Compared to zlib, compression is a lot slower, but decompression is
not much slower - and compression ratio and through that I/O
throughput a lot higher.
XZs liblzma is LGPLv2.1 though.

Lastly: why would it be trouble supporting additional compression
methods? Eet uses file format versions in the binary, right? Why not
have features supported starting from a certain format version? Sure,
that would make old files incompatible but would this really be an
API-break? As I see it it would just mean newer files, or programs
using newer files, would have to depend on a newer minor release of
Eet without any actual API changes (in any case though it is an ABI
change for the Eet files I guess).
A way to do such a change might be having a new major release for it
and default to the old zlib compression, so users who require for
example XZ support can depend on it properly and not risk producing
files nobody can use, for no reason.

~thomasg

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] using LZ4 compression tool in eet ?

2012-04-24 Thread thomasg
On Tue, Apr 24, 2012 at 00:51, David Seikel onef...@gmail.com wrote:
 On Mon, 23 Apr 2012 22:42:22 +0900 Carsten Haitzler (The Rasterman)
 ras...@rasterman.com wrote:

 On Mon, 23 Apr 2012 15:05:09 +0200 thomasg tho...@gstaedtner.net
 said:

  On Sun, Apr 22, 2012 at 05:58, Carsten Haitzler
  ras...@rasterman.com wrote:
   On Sat, 21 Apr 2012 12:08:18 +0200 Vincent Torri
   vincent.to...@gmail.com said:
  
   actually forget lz4hc... lgpl3.
  
   hey
  
   just found that while reading the gnutls ML :
  
   http://code.google.com/p/lz4/
  
   it seems that it allows the same ratio for compression than zlib
   but seems  to be by far faster than zlib
  
   the memory consumption should be tested too.
  
   What do you think ?
  
   Vincent
  
   --
   For Developers, A Lot Can Happen In A Second.
   Boundary is the first to Know...and Tell You.
   Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
   http://p.sf.net/sfu/Boundary-d2dvs2
   ___
   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
  
  
   --
   For Developers, A Lot Can Happen In A Second.
   Boundary is the first to Know...and Tell You.
   Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
   http://p.sf.net/sfu/Boundary-d2dvs2
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
  I don't see any problem using an LGPLv3 library. Are there really
  any changes necessary to make use of it in eet? Also, would it have
  to be distributed in a way where LGPL parts would actually be
  packed into an Eet binary or Eet source code?

 there i a problem because we'd have to compile it into eet - which
 would make eet lgpl3. gpl and lgpl3 are also highly propblematice in
 terms of acceptance. they are controversial at best.

  Although I of course can understand that it would not be possible to
  use Eet in an environment where no LGPL library could be accepted,
  wherever or whyever that would be.

 no, it's the gpl/lgpl3 (as opposed to 2).

 I'd be one of those not accepting of GPL 3, or it's variations.  Google
 does not accept any GPL variants in Android officially, even though they
 rely on a few GPL parts for the base OS.  Including the Linux kernel.

Google does this in Android because Android is not an actual open
source project - it's a google project which might or might not be
released as open source at any point after a release. The GPL does not
allow for software to be released as closed source, that's why google
won't allow it in their distribution unless necessary.

 For what it's worth, I think I found a GPL3 bit buried deep in the
 ewebkit dependencies, but I kinda gave up for now after I had gotten
 several levels deep in dependency hell.  I think the plan with ewebkit
 is to strip out some more dependencies to replace them with EFL bits?
 That would help, but right now it's a bitch to compile on Ubuntu
 10.04.  I'll try again later, when there is less dependencies, or
 after I upgrade to Ubuntu 12.04 later this year.

Just because a GPL application is a dependency at some point does not
mean it will make the project GPL. You have to explicitly link to it,
unless the application itself would include GPL sourcecode unknowingly
which would technically make your application GPL. Then again, that's
a very rare case and it is specific to the GPL, not the LGPL.

 That's the danger with GPL 3 on huge projects.  The main project might
 be BSD or something, but buried deep is a GPL 3 component of a sub
 component of a dependency that no one noticed.  Likely coz it was GPL 2
 when it went in.  Then the entire thing is contaminated.  FSF has been
 painting GPL 2 in a bad light, and swapping licenses on old versions of
 GNU stuff with out telling people.  I think that's despicable.

Yes, there is a danger with the GPLv3 on huge projects. On huge closed
source projects that is. You cannot stuff GPLv3 software in it and not
expect the user to get the sourcecode and change this parts. Thats
what the GPLv3 is about, and there are valid reasons for it. If you
want to use a GPLv3 software in your closed source project, you of
course have to be careful, because the author of this software decided
that he did not want you to use it there without making available your
changes.
The GPLv3 exists for a big number of very specific occasions where big
companies made big money with heavy use of GPLv2 software and decided
their users and developers

Re: [E-devel] E SVN: cedric IN trunk/edje: . src/bin src/lib

2012-06-04 Thread thomasg
On Mon, Jun 4, 2012 at 3:15 PM, Gustavo Sverzut Barbieri
barbi...@profusion.mobi wrote:
 On Mon, Jun 4, 2012 at 10:10 AM, Cedric BAIL cedric.b...@free.fr wrote:
 On Mon, Jun 4, 2012 at 2:53 PM, Gustavo Sverzut Barbieri
 barbi...@profusion.mobi wrote:
 On Mon, Jun 4, 2012 at 9:50 AM, Gustavo Sverzut Barbieri
 barbi...@profusion.mobi wrote:
 On Sun, Jun 3, 2012 at 11:57 PM, Enlightenment SVN
 no-re...@enlightenment.org wrote:

 Log:
 edje: morning speed of edje. Theme can now be a little bit lighter and 
 faster.

  NOTE: VIRTUAL part are almost like rectangle except they don't create 
 any object
  on the canvas. This part can't be visible, nor have any color, nor be 
 used as a
  clip, nor receive any event.

 virtual is a bit too vague, no?

 I'd say it's a GEOMETRY or AREA, REGION or something like that.

 Please choose just one for me, I am bad enough at naming stuff that i
 planned to name i WARP at the beginning. So witch one do you prefer ?

 I'm also bad. I'd vote for GEOMETRY as describes clearly what its purpose.


How about SPACE? Because that's pretty much what it is. Might be
confusing, as this term is used so often and differently in computing,
but I'm not sure it's any more confusing than the first 4 suggestions.


 If so, also improve the parser to warn that some properties are
 useless (color, visible, ...). It would be amazing if we could detect
 and warn user that his theme could be improved by moving some
 rectangles to this new type (rects with all states with transparent
 colors).

 Parser should already warn about useless property (all color and
 visible information).

 Oops, and I almost forgot: this breaks the tools (edje_inspector at
 least) and the serializer/saver used by Edje Edit and thus editje.

 Ah, this one I always forget about them. Will look at them tomorrow.
 --
 Cedric BAIL

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



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

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] etvdb, EFL based TVDB library

2013-04-11 Thread thomasg
Hi everyone,

As there's a clear lack of EFL based libraries :P I've written one for
the TheTVDB.com[1] API. I initially started with this for a tool I'm
working on, but figured it might be useful for other people, maybe
writing video players and such.

The library is basically a C frontend to the TVDB XML api, it parses
the XML to C structures.
For parsing Eina simple xml is used, for downloading cURL; no other
dependencies.
It is meant to be high level and produce directly usable data.

So far, there are enough function to make it useful (I think), but not
the full TVDB API is represented and not all properties TVDB offers
are used yet.

This is the first library I've ever written and I'm certainly not a
professional programmer, so it will contain bugs. I'd be very happy
for any constructive feedback and any contribution, but be kind. :)

Long story short; if you're interested, the code is on github[2], and
there's also documentation[3] available.

Regards,
thomasg

[1]: http://thetvdb.com
[2]: https://github.com/tg--/etvdb
[3]: http://etvdb.gstaedtner.net/doc

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edbus - Annoying inconsistency

2013-04-17 Thread thomasg
On Thu, Apr 18, 2013 at 12:37 AM, Luis Felipe Strano Moraes
luis.str...@gmail.com wrote:
 On Wed, Apr 17, 2013 at 1:31 PM, Lucas De Marchi 
 lucas.demar...@profusion.mobi wrote:

 On Apr 17, 2013 11:49 AM, Rafael Antognolli antogno...@gmail.com
 wrote:
 
  On Wed, Apr 17, 2013 at 10:09 AM, Cedric BAIL cedric.b...@free.fr
 wrote:
   Cedric Bail
   On Apr 17, 2013 2:22 AM, Tom Hacohen tom.haco...@samsung.com
 wrote:
  
   On 17/04/13 02:28, Jérôme Pinot wrote:
On 04/17/13 10:11, David Seikel wrote:
On Tue, 16 Apr 2013 20:57:33 -0300 Lucas De Marchi
lucas.demar...@profusion.mobi wrote:
   
On Tue, Apr 16, 2013 at 8:34 PM, Carsten Haitzler
ras...@rasterman.com wrote:
On Tue, 16 Apr 2013 16:24:08 -0300 Lucas De Marchi
lucas.demar...@profusion.mobi said:
   
On Tue, Apr 16, 2013 at 4:13 PM,  
 michael.blumenkra...@gmail.com
 
wrote:
Tom Hacohen tom.haco...@samsung.com wrote:
   
On 16/04/13 16:01, Lucas De Marchi wrote:
   
On Tue, Apr 16, 2013 at 11:54 AM, Tom Hacohen
tom.haco...@samsung.com wrote:
   
On 16/04/13 15:26, Lucas De Marchi wrote:
   
On Tue, Apr 16, 2013 at 11:12 AM, Tom Hacohen
tom.haco...@samsung.com wrote:
   
Hey guys,
   
How are you? I just noticed that 'edbus' installs headers
under: prefix/include/edbus-1
while using the
pkgconfig name 'edbus2'
the library name 'libedbus2'
and an header called 'EDbus.h'.
   
Luckily for us, it's not too late to fix it. Only
 question,
what should
we
change it to? Everywhere with the 2 or everywhere without
the 2?
   
   
   
E_DBus installed edbus.pc and libedbus.so - that's why we
needed to put a 2 in the name.
   
However the name is edbus and has no relations with the
previous library. It's not a new version, it's a complete
different one. So appending a 2 in headers and include
path is the wrong thing to do.
   
If ebus was available I would vote for that. It seems we
 are
short  in options for names.
   
Lucas De Marchi
   
   
   
   
I understand putting the 2 was needed, but if we add it
 once,
we should add
it everywhere. It's annoyingly inconsistent.
   
Why did you choose 2 then? Why not 4? Or A? You chose 2
because it's the
best explanation, as it is, although mostly unrelated,
 e_dbus
v2. And if
   
   
because it was not me is the best explanation.
   
that's good enough there, it's good enough everywhere.
   
In conclusion, I see no harm in using edbus2 all around the
place.
   
   
it's not good enough there, even less everywhere.  The
 visible
part to the developer is the include path and the namespace.
And these should reflect the library name. If anything change
everything to something else, but don't put the 2 there.
   
   
   
Let's wait to see what others think, as we disagree about the
source of the problem, and that's: is this a major
inconsistency that should be solved.
   
Anyhow, regarding different names: I suggest edbus2.
   
--
Tom.
   
   

   
Precog is a next-generation analytics platform capable of
advanced analytics on semi-structured data. The platform
includes APIs for building apps and a phenomenal toolset for
data science. Developers can use our toolset for easy data
analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

   
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
   
   
I agree with whatever demarchi says.
   
I disagree.
   
   
oh, wait...
   
Lucas De Marchi
   
:-P ... i have to say though - consistency is good. not just for
devs, but packagers and anyone looking at their filesystem. if
things are named in a consistent pattern it is easy to know what
belongs where without needing package databases or other
 forensics
tools.
   
Sure it's good, no doubt. Just that renaming to edbus2 for the
 sake of
consistency is even worse, not because of the rename, but because
 of
the name chosen.
   
ebus? anyone?
   
The name of the ebus goes 'round and 'round.
   
As we all like E, I suggest edeebus
  
   +1 from me.
  
   For the fun I will give a +1 to edeebus to !
  
 
  +1 from me too.

 What about eldbus?



 +3 for eldbus

 and you can count +1 from sachiel, since he is spanish or something like
 that




 Lucas De Marchi

 
  --
  Rafael Antognolli
  http://antognolli.org/
 
 

 --
  Precog is a next-generation analytics platform capable of advanced
  analytics on semi-structured data. The platform includes APIs for
 building
  apps and a phenomenal toolset for data science. Developers can use
  our 

Re: [E-devel] e_notify_send command

2013-04-28 Thread thomasg
On Sun, Apr 28, 2013 at 4:31 AM, Noorul Islam Kamal Malmiyoda
noo...@noorul.com wrote:
 I am using e_notify_send command extensively. Now I see that it is gone
 when I compiled from git master. But I don't see an entry in ChangeLog
 about this. Am I missing something?

First of all, the command is e-notify-send, not e_notify_send.
This binary is a part of e_dbus, so make sure you have this one
installed (e_dbus != edbus/edbus2/eldbus).

 Thanks and Regards
 Nooru
 --
 Try New Relic Now  We'll Send You this Cool Shirt
 New Relic is the only SaaS-based application performance monitoring service
 that delivers powerful full stack analytics. Optimize and monitor your
 browser, app,  servers with just a few lines of code. Try New Relic
 and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL stable branch

2013-05-10 Thread thomasg
On Fri, May 10, 2013 at 1:02 PM, Andreas Volz li...@brachttal.net wrote:
 Hello,

 where could I find the EFL/E17 stable branch?

 Is this also yet in GIT or still somewhere in SVN?

 regards
 Andreas


It's most easy to find on http://git.enlightenment.org
e17 is a branch of core/enlightenment.git
You have the branch enlightenment-0.17 for e17 (master is e18), and
tags for the latest releases.

With efl it's a little more complicated, because stable is one repo
per library and upcoming 1.8 is a single repo.
This is efl 1.8: http://git.enlightenment.org/core/efl.git/
And efl 1.7 are under legacy, e.g.:
http://git.enlightenment.org/legacy/ecore.git/

So no need to use SVN anymore for this.

--
thomasg

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E18 CFBugs

2013-05-25 Thread thomasg
On Sat, May 25, 2013 at 2:02 PM, Luca Galli ji...@fastwebnet.it wrote:
 On Thu, 23 May 2013 15:34:22 +0100
 Tom Hacohen tom.haco...@samsung.com wrote:

 On 23/05/13 15:13, Luca Galli wrote:
  On Thu, 23 May 2013 14:16:44 +0100
  Tom Hacohen tom.haco...@samsung.com wrote:
 
  On 23/05/13 14:09, Luca Galli wrote:
  On Thu, 23 May 2013 09:53:03 +0100
  Tom Hacohen tom.haco...@samsung.com wrote:
 
  On 22/05/13 15:09, Luca Galli wrote:
  On Wed, 22 May 2013 12:52:16 +0100
  Tom Hacohen tom.haco...@samsung.com wrote:
 
  On 21/05/13 22:53, Luca Galli wrote:
  Still segfaulting
 
  Could you please try the attached patch?
 
  --
  Tom.
 
 
  Now i can navigate through directories without problems but e freezes 
  when I try to close the e_fm window, and pager has become strangely 
  white...
  Valgrind log and white pager shot attached.
 
  Could you please tell me how to reproduce this? It's really hard to
  debug like this. What's your setup and how do you trigger the issue?
 
  I'm using Debian unstable. There could be something wrong in my config
  files because if I move my .e directory away, with a blank conf the
  problem is gone even without your patch.
  Seems like I'm the only one with this bug, so I must be bugged :)
 
  Looks like it. I mean the bug looks general, but I wonder how come you
  are the only one that has it.
 
  --
  Tom.
 
 
  Can providing you my .e bugged directory help resolve the problem in any 
  way?

 You can try. :)

 --
 Tom.

 I finally found where the problem is, or at least how to reproduce it:
 just enable sigle click in file manager options and open 2
 directories, the second one will make e segfault.

I can reproduce this as well, here's a backtrace: http://bpaste.net/show/101864/

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E18 CFBugs #2

2013-06-11 Thread thomasg
On Tue, Jun 11, 2013 at 11:55 AM, Michael Blumenkrantz
michael.blumenkra...@gmail.com wrote:
 The old thread was too long for me to see if I fixed everything, so post
 here if you have a bug that's present using the latest revision.
 --

I have a tough one for you:
1) Necessary options: Sloppy or Pointer Focus
2) Open 2 Windows, one random, one mplayer.
3) Klick on the border of random window to raise it
4) Focus the mplayer window by moving the mouse to it, don't click (on border)
5) press 'f' to make mplayer fullscreen

You should notice, that the mplayer fullscreen window is below the
other window (and possibly below some others as well.
To work around that, press 'f' twice to make it go out of fullscreen
and fullscreen again, than it works. Also klicking the border to
focus, not just moving the mouse usually works.

Expected result: an fullscreen window should always be on top,
allow_above_fullscreen is off.

Sometimes, though not reproducibly, other windows are still above an
mplayer fullscreen window, then the workarounds often don't work and a
E restart is necessary to fix it.

This might be related to another problem I've been having but not been
able to reproduce: sometimes E doesn't seem to react to focus events,
this means the border doesn't change if focused and many things might
not work (even though most events are propagated through to the
window). Here also, only restart helps.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E18 CFBugs #2

2013-06-12 Thread thomasg
On Tue, Jun 11, 2013 at 11:55 AM, Michael Blumenkrantz
michael.blumenkra...@gmail.com wrote:
 The old thread was too long for me to see if I fixed everything, so post
 here if you have a bug that's present using the latest revision.
 --

I have an DPMS related bug.
I'm not sure there isn't a deeper X/driver issue, but it seems to be
largely a bug within E.

Issue: After manually activating DPMS (which partially fails), E will
have a full black screen, only the mouse is visible (and the mouse
even changes to X cursor for some windows at their position.
I can (blindly) open Evry and do a enlightenment_remote -restart
(because I always forget there's a keyboard shortcut for restart...),
after the restart it will become fully unresponsive and I will have to
kill/restart E.

Steps to reproduce:
1) execute xset dpms force off
2) display will switch off for one second and turn on again
3) E is broken / black screen of death

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E18 CFBugs #2

2013-06-25 Thread thomasg
On Tue, Jun 11, 2013 at 11:55 AM, Michael Blumenkrantz
michael.blumenkra...@gmail.com wrote:
 The old thread was too long for me to see if I fixed everything, so post
 here if you have a bug that's present using the latest revision.
 --

The pager live previews are broken and show noise instead, see
screenshot below (it should show a different live preview picture for
each desktop).
http://www.enlightenment.org/ss/e-51ca2e51d24c10.20360856.jpg

I think this was introduced in the last days, maybe not an e but an efl bug.
Maybe someone will know of the top of the head what caused it,
otherwise I can bisect.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] systemd: change from simple e18 service to target

2013-07-23 Thread thomasg
On Tue, Jul 23, 2013 at 2:31 PM, Leif Middelschulte
leif.middelschu...@gmail.com wrote:
 Hello everyone,

 If this lands, 
 https://phab.enlightenment.org/w/e18_with_systemd_user_session/ should be 
 updated.

 --
 Leif


I will do that once it is in. I talked to Cedric already and am
waiting until he gets his systemd machine running again and tests it.
In the meantime, if you want to test it: There isn't actually much
changing, just ignore the systemd-user-units part of the article and
everything will be fine (in fact, the current howto isn't enough to
use it like described anyway, it is much more likely that you get the
new stuff working with it than the existing one :).
Other than that, simply use the documentation of sofar's
user-session-units and replace e17 by e18, it is fully compatible to
this and should work on any machine with systemd (not just arch).

Sidenote: There still is a bug with systemd's watchdog in E, so the
watchdog doesn't actually work, but that's not directly related to
this and happens with both approaches. I will have a look at this,
soon.


 Am Samstag, 20. Juli 2013 um 16:50 schrieb Thomas Gstädtner:


 This has a few advantages over the current approach:
 - only depends on user-session-units, not the flawed systemd-user-units
 - allows isolating the target to switch between e.g. e17 and e18 at
 runtime
 - works much more reliably for me

 Important: please don't commit without review by Cedric!
 ---
 data/units/Makefile.am (http://Makefile.am) | 6 +-
 data/units/e18.service | 9 +++--
 data/units/e18.target | 6 ++
 3 files changed, 14 insertions(+), 7 deletions(-)
 create mode 100644 data/units/e18.target

 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk

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




 Anhänge:
 - 0001-systemd-change-from-simple-e18-service-to-target.patch



 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] enventor (an edc editor prototype)

2013-07-23 Thread thomasg
On Tue, Jul 23, 2013 at 7:32 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Tue, 23 Jul 2013 11:07:30 +0900 Sung W. Park sung...@gmail.com said:

 Looks really nice hermet! :)

 what's wrong with 'enventor'???  it totally makes sense you know, like all
 the other names.  i'm surprised that terminology wasn't name eterminology
 ;-)

 espion, evas, edje, eet, ecore, elementary, efl, eina, enna, entrance, eterm,
 exactness, enlightenment, entice, ephoto, elev8, ecrire, enjoy, emotion,
 embryo, efreet, eio, eldbus, ephysics, expedite, ... just to name a few... too
 many e things with too little idea of which does what.

 i chose enlightenment as a word.. because it invoked an idea. a feeling. it
 wasn't an excuse to just call everything e*. this is like the wm naming i
 was trying to break from. everything was twm, fvm, ctwm, olvwm, mwm etc...
 because people had no imagination to come up with something more emotive.

 inventor is great name on its own. its simple and clear. no need to hack at
 it by replacing the i with an e and create yet more stuff starting with e that
 people find it hard to pick apart. break away! choose words that have a
 meaning. that bring up images/feelings that convey a message. inventor is
 already great! :)


However, a name should be somewhat unique I think. Call it inventor
and nobody will be able to google it.
The next problem here is, that calling it inventor is highly likely a
trademark problem, because there is a commercial, widely used software
called Inventor (it's a CAD software, but that's close enough to be
in conflict).

Anyway, I like Enventor - it's very clearly derived from inventor and
thus just as clear, but it is also unique.

 cheers,
 Sung


 On Tue, Jul 23, 2013 at 10:52 AM, Carsten Haitzler
 ras...@rasterman.comwrote:

  On Tue, 23 Jul 2013 02:42:10 +0900 (KST) ChunEon Park her...@naver.com
  said:
 
   http://www.youtube.com/watch?v=cOdgBBV4J3sfeature=youtu.be
 
  just call it inventor. enough of the e stuff. it sounds stupid to mangle
  words to stuff an e on the front. we have so much of it that people already
  can't keep track of what is what.
 
  --
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com
 
 
 
  --
  See everything from the browser to the database with AppDynamics
  Get end-to-end visibility with application monitoring from AppDynamics
  Isolate bottlenecks and diagnose root cause in seconds.
  Start your free trial of AppDynamics Pro today!
  http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 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


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] systemd: change from simple e18 service to target

2013-07-31 Thread thomasg
On Wed, Jul 31, 2013 at 5:13 AM, Cedric BAIL cedric.b...@free.fr wrote:
 Hello,

 On Tue, Jul 23, 2013 at 6:37 PM, thomasg tho...@gstaedtner.net wrote:
 On Tue, Jul 23, 2013 at 2:31 PM, Leif Middelschulte
 leif.middelschu...@gmail.com wrote:
 Hello everyone,

 If this lands, 
 https://phab.enlightenment.org/w/e18_with_systemd_user_session/ should be 
 updated.

 I will do that once it is in. I talked to Cedric already and am
 waiting until he gets his systemd machine running again and tests it.
 In the meantime, if you want to test it: There isn't actually much
 changing, just ignore the systemd-user-units part of the article and
 everything will be fine (in fact, the current howto isn't enough to
 use it like described anyway, it is much more likely that you get the
 new stuff working with it than the existing one :).
 Other than that, simply use the documentation of sofar's
 user-session-units and replace e17 by e18, it is fully compatible to
 this and should work on any machine with systemd (not just arch).

 Ok, I finally got the time to try it. There is something weird after I
 apply your patch it doesn't seems to honor the KillMode=process
 anymore. Hum, in fact, I didn't try with the previous unit since I
 upgraded systemd, maybe that's an issue related to systemd (And my
 install is still quite not working as I need to manually do a
 'systemctl start user-session@1000.service' even when the enable has
 been done).

 Sidenote: There still is a bug with systemd's watchdog in E, so the
 watchdog doesn't actually work, but that's not directly related to
 this and happens with both approaches. I will have a look at this,
 soon.

 I also quickly noted that the watchdog is indeed not working anymore.
 For what it is, by moving AllowIsolate in e18.service, the delay
 between restart of enlightenment seems to be quite higher, but not
 sure yet why. What was the reason of moving AllowIsolate in the
 .target ? Need some investigation on why this watchdog is not working
 anymore.

 I will investigate that in the evening if I get some time. If I get
 some time I will update the step needed to set it up with latest
 systemd on arch (should be working on any distribution with latest
 systemd).

 Regards,
   Cedric

Please don't invest too much time, because there have been a few
developments in systemd that make it not worth your time.
Starting with systemd 205, systemd --user behavior has changed, and it
is not even slightly compatible with the behaviour until 204. So user
sessions as they were do not exist anymore.
I haven't looked much closer into it because systemd 206 has some bugs
that break my system and will be fixed in future releases, but when I
can safely upgrade from 204, I'll have a look at how to do things in
future, as the old behavior will not come back and all current
approaches are not supported anymore.

 Am Samstag, 20. Juli 2013 um 16:50 schrieb Thomas Gstädtner:
 This has a few advantages over the current approach:
 - only depends on user-session-units, not the flawed systemd-user-units
 - allows isolating the target to switch between e.g. e17 and e18 at
 runtime
 - works much more reliably for me

 Important: please don't commit without review by Cedric!
 ---
 data/units/Makefile.am (http://Makefile.am) | 6 +-
 data/units/e18.service | 9 +++--
 data/units/e18.target | 6 ++
 3 files changed, 14 insertions(+), 7 deletions(-)
 create mode 100644 data/units/e18.target

 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk

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




 Anhänge:
 - 0001-systemd-change-from-simple-e18-service-to-target.patch



 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics

Re: [E-devel] speed Simple question about Evas Map object Efl× 이준호profiles

2013-08-10 Thread thomasg
On Sat, Aug 10, 2013 at 1:01 PM, P Purkayastha ppu...@gmail.com wrote:
 On 08/10/2013 05:22 PM, Vasiliy Tolstov wrote:
 Hello.
 Some time after sing e17 on my working notebook i nees simple feature -
 All the time i need minimal speed for powersaving, but very rarely i need
 to see full screen video and it very slow on minimal speed. I need to
 increase speed via speed cpu plugin.
 Is that possible to create app like on android - i create profile that
 contains brightness, sound, speed , wifi and other stuff stettings. And i
 able to chouse needed profile and apply all settings?

 I think it very useful.. What dou you think?

 P.S. If nobody can write such app, can you provide me links to docs, that i
 need to use to write such app?
 P.P.S. After creating econnman package for ubuntu and massively using it i
 see , that it have many missing features.
 What is the future for connman applet for e17/e18?
 Some time ago i see that  mailing list have emails about elev8 and simle
 conman applet writing in javascript.
 If i need fully functional connman applet what is the best method to writ
 it - use elev8 or python bindings?

 Very big thanks for E.

 E already has support for profiles. Settings - Settings - Profiles.
 You can create a new profile that contains the settings you want. Then
 you can change your profile on the fly either via that Profiles dialog,
 or via command line:

 enlightenment_remote -defalut-profile-set profile name

 P.S. Try to create your own thread next time :-)


Actually, profiles are not designed for this and shouldn't be used in
this case, nobody should have to maintain an extra full profile just
for some settings.

E however has proper infrastructure for this, it just isn't really
used and very unpolished: Modes.
This is currently a part of the Conf module and can be accessd via
Menu - Settings - Modes. Right now it has Offline and Presentation
presets which are hardcoded in the module.
I don't think anyone has worked on it in a while and I'm pretty sure
this feature should be added as a separate module, because sooner or
later Conf is going to be replaced by Conf2 which does not support
this.

But I agree with the OP, this feature is useful and should get some love :)

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E18 CFBugs #3

2013-08-19 Thread thomasg
As of very recently, the focus setting Raise Windows on Mouse Over
has no effect anymore, it behaves like it is always activated even
when it isn't; i.e. hovering over a window raises it even if the
settings is off.
This is independent of the focus type selected.

I don't recall haven't seen this behavior before my update today (the
last one was probably 2 weeks ago), though I'm not 100% sure.

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] phab login

2013-08-22 Thread thomasg
On Fri, Aug 23, 2013 at 1:29 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Thu, 22 Aug 2013 15:03:58 -0300 Gustavo Sverzut Barbieri
 barbi...@gmail.com said:

 you dont need a login to see any page in the wiki. the moment u hit edit it
 WILL ask for you to log in. blog entires are also public.

 tasks do require logins, so do votes.

Also any attachments and extras for public posts require a login,
like, for example, the example code for your json comparison.

 hi all,

 recently I'm sharing some of our phab stuff and constantly receiving
 comments why do I need to login to *see* something? which sounds
 quite reasonable... this came from some intel folks, systemd folks and
 gnome folks I'm pointing at the apps spec thing or bugs.

 could someone check if it's possible to make wiki read access free of
 login? how about view tickets?

 --
 Gustavo Sverzut Barbieri
 --
 Mobile: +55 (19) 9225-2202
 Contact: http://www.gustavobarbieri.com.br/contact

 --
 Introducing Performance Central, a new site from SourceForge and
 AppDynamics. Performance Central is your source for news, insights,
 analysis and resources for efficient Application Performance Management.
 Visit us today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
 ___
 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


 --
 Introducing Performance Central, a new site from SourceForge and
 AppDynamics. Performance Central is your source for news, insights,
 analysis and resources for efficient Application Performance Management.
 Visit us today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] phab login

2013-08-23 Thread thomasg
On Fri, Aug 23, 2013 at 2:02 PM, Raphael Kubo da Costa
raphael.kubo.da.co...@intel.com wrote:
 Carsten Haitzler (The Rasterman) ras...@rasterman.com writes:

 blog entires are also public.

 I tried accessing https://phab.enlightenment.org/phame/post/view/12/ via
 planet.enlightenment.org but was taken to a login page.

This 
https://phab.enlightenment.org/phame/live/1/post/eet_compared_with_json_eet_comes_out_on_top/
is the public link for this post. Don't ask me how phab differentiates
between both views, the whole phab interface is like a giant puzzle to
me.

 --
 Intel Finland Oy
 Open Source Technology Center


 --
 Introducing Performance Central, a new site from SourceForge and
 AppDynamics. Performance Central is your source for news, insights,
 analysis and resources for efficient Application Performance Management.
 Visit us today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] fix inplace open for symlink dirs - was: [EGIT] [core/enlightenment] master 01/01: fix efm link resolving.. again. new case.

2013-08-31 Thread thomasg
On Tue, Mar 12, 2013 at 7:47 AM, Carsten Haitzler  - Enlightenment Git
no-re...@enlightenment.org wrote:
 raster pushed a commit to branch master.

 commit 174a5fab15dc13a328984dfd7d61efda4e8f174f
 Author: Carsten Haitzler (Rasterman) ras...@rasterman.com
 Date:   Tue Mar 12 15:47:41 2013 +0900

 fix efm link resolving.. again. new case.
 ---
  src/bin/e_fm.c | 16 +++-
  1 file changed, 11 insertions(+), 5 deletions(-)

 diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
 index 9aa6052..48f5d9f 100644
 --- a/src/bin/e_fm.c
 +++ b/src/bin/e_fm.c
 @@ -536,11 +536,14 @@ _e_fm2_icon_path(const E_Fm2_Icon *ic, char *buf, int 
 buflen)
   char *tmp;

   r = snprintf(buf, buflen, %s/%s, ic-sd-path, ic-info.file);
 - tmp = ecore_file_realpath(buf);
 - if (tmp)
 + if (!ic-sd-dev)
 {
 -  r = snprintf(buf, buflen, %s, tmp);
 -  free(tmp);
 +  tmp = ecore_file_realpath(buf);
 +  if (tmp)
 +{
 +   r = snprintf(buf, buflen, %s, tmp);
 +   free(tmp);
 +}
 }
}
   }
 @@ -5746,7 +5749,10 @@ _e_fm2_inplace_open(const E_Fm2_Icon *ic)
 if (!_e_fm2_icon_path(ic, buf, sizeof(buf)))
   return -1;

 -   e_fm2_path_set(ic-sd-obj, ic-info.link ? / : ic-sd-dev, buf);
 +   e_fm2_path_set(ic-sd-obj,
 +//  ic-info.link ? / : ic-sd-dev,
 +  ic-sd-dev,
 +  buf);
 return 1;
  }


 --


I know it's plenty late to notice this, but this commit breaks
in-place opening of directory symlinks in e_fm2.
It seems that the second part of the commit goes too far.
I don't think this should be reverted, so attached you will find a patch.
It works for me, please test before applying.

Note: I realize that this patch also fixes trailing white spaces, but
since they are in the one changed function call, I figured this should
be OK.

Regards,
--
thomasg


0001-fix-inplace-open-for-symlink-dirs.patch
Description: Binary data
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] Ecore_Desktop fix

2008-12-12 Thread thomasg
Hi,

I know, Ecore Desktop isn't used anymore, but it still lies around in the
main ecore tree and some buildsystems might still build it (so does gentoo
with the current ebuilds).
So I thought it might not be usefull, but it can't be bad if it at least
builds without errors, so I did a quick'n'dirty fix.
There are some new Eina functions in it that lacked parameters and some
other small things, I think cedric let a script do this and didn't have a
further look.

Find the patch attached.
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Ecore_Desktop fix

2008-12-13 Thread thomasg
On Sat, Dec 13, 2008 at 4:18 AM, Nick Hughart mek...@mekius.net wrote:

 A better patch would be to remove it completely.  None of the code is
 useful anymore and efreet_desktop is far better.


Ok. Patch 1 removes Ecore_Desktop from autoconf/automake, Patch 2 does the
same but aditinally removes it completely from SVN - I'm not sure if you
want that, so make your choice :)

I did a quick grep and found Ecore_Desktop only used in engage and evfs -
but both are broken anyway.
It also is mentioned in e/doc/cache.txt and e/doc/FDO.txt, but these seem to
be obsolte information files, so there should be no problem.

I hope patch 2 arrived, it's lzma compressed. Tell me if it didn't.
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Ecore_Desktop fix

2008-12-13 Thread thomasg
On Sat, Dec 13, 2008 at 3:43 PM, thomasg tho...@gstaedtner.net wrote:

 On Sat, Dec 13, 2008 at 4:18 AM, Nick Hughart mek...@mekius.net wrote:

 A better patch would be to remove it completely.  None of the code is
 useful anymore and efreet_desktop is far better.


 Ok. Patch 1 removes Ecore_Desktop from autoconf/automake, Patch 2 does the
 same but aditinally removes it completely from SVN - I'm not sure if you
 want that, so make your choice :)

 I did a quick grep and found Ecore_Desktop only used in engage and evfs -
 but both are broken anyway.
 It also is mentioned in e/doc/cache.txt and e/doc/FDO.txt, but these seem
 to be obsolte information files, so there should be no problem.

 I hope patch 2 arrived, it's lzma compressed. Tell me if it didn't.


pfritz informed me, that my patches did not arrive at all, so I uploaded
them.
Here are the links:
http://gstaedtner.net/remove_ecore_desktop.patch - removes ecore_desktop
from autofoo
http://gstaedtner.net/eliminate_ecore_desktop.patch.lzma - removes
ecore_desktop from autofoo and from svn
http://gstaedtner.net/ecore_desktop.patch - was the old patch that fixed the
broken Eina calls.
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] * character for target and source

2009-01-22 Thread thomasg
2009/1/22 Oguz Yarimtepe comp@gmail.com:
 I am rewriting the same program but instead of menu1's i am writing
 menu2 for a part related with menu2, ... So much repeating.

This is not really a specific solution, more a workaround:
As edje uses the C preprocessor, you can use macros, via #define.
So instead of repeating, write a macro and use that.
Think there should be a lot of examples, if you don't find one, ask
and I will post one.

 What is the usage of #include statement at the EDC file. How will i
 refer to the part at another edc in my main edc program section?

#include inserts the included file as it is at this part of the edc.
So if you have a file that has only part {...} use #include inside the
main edc's parts {...}

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


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

2009-01-28 Thread thomasg
Hi raster,

may I ask, why you replaced reboot by reset?
In my understanding, reset is the action you take when nothing works
and you just power off without a proper shutdown procedure.
Not only all other DE's/OS's use reboot, but also the shutdown tool
from the widely used sysvinit (not only in most linux distros, but
also in many other unix variants like FreeBSD) package uses reboot
for shutdown -r in the help and manpage.
It only saves 1 char to use reset and imho it's incorrect.

Also I think shutdown hits the point more than power off does. The
action shuts the system down, but if it's powered off depends on the
system (bios/acpi/...). But however, that's not that important. :)

Thanks,

thomasg

On Thu, Jan 22, 2009 at 9:54 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
  shorten system action text - simpler. also fix actiosn to be system.


 Author:   raster
 Date: 2009-01-22 12:54:26 -0800 (Thu, 22 Jan 2009)
 New Revision: 38698

 Modified:
  trunk/e/src/bin/e_actions.c trunk/e/src/bin/e_sys.c

 Modified: trunk/e/src/bin/e_actions.c
 ===
 --- trunk/e/src/bin/e_actions.c 2009-01-22 18:33:23 UTC (rev 38697)
 +++ trunk/e/src/bin/e_actions.c 2009-01-22 20:54:26 UTC (rev 38698)
 @@ -2612,7 +2612,7 @@

/* exec */
ACT_GO(exec);
 -   e_action_predef_name_set(_(Launch), _(Defined Command), exec, NULL,
 +   e_action_predef_name_set(_(Launch), _(Command), exec, NULL,
syntax: CommandName, example: /usr/bin/xmms, 1);

/* app */
 @@ -2628,20 +2628,20 @@
e_action_predef_name_set(_(Enlightenment), _(Exit), exit,
NULL, NULL, 0);

 +   ACT_GO(exit_now);
 +   e_action_predef_name_set(_(Enlightenment), _(Exit Now),
 +   exit_now, NULL, NULL, 0);
 +
ACT_GO(logout);
 -   e_action_predef_name_set(_(Enlightenment), _(Log Out), logout,
 +   e_action_predef_name_set(_(System), _(Log Out), logout,
NULL, NULL, 0);

 -   ACT_GO(exit_now);
 -   e_action_predef_name_set(_(Enlightenment), _(Exit Immediately),
 -   exit_now, NULL, NULL, 0);
 -
ACT_GO(halt_now);
 -   e_action_predef_name_set(_(Enlightenment), _(Off Now),
 +   e_action_predef_name_set(_(System), _(Power Off Now),
halt_now, NULL, NULL, 0);

ACT_GO(halt);
 -   e_action_predef_name_set(_(System), _(Off), halt,
 +   e_action_predef_name_set(_(System), _(Power Off), halt,
NULL, NULL, 0);

ACT_GO(reboot);

 Modified: trunk/e/src/bin/e_sys.c
 ===
 --- trunk/e/src/bin/e_sys.c 2009-01-22 18:33:23 UTC (rev 38697)
 +++ trunk/e/src/bin/e_sys.c 2009-01-22 20:54:26 UTC (rev 38698)
 @@ -363,7 +363,7 @@
 _(Logout in progress), E, _sys_logout);
e_obj_dialog_obj_theme_set(od, base/theme/sys, e/sys/logout);
e_obj_dialog_obj_part_text_set(od, e.textblock.message,
 - _(Logout is currently in progress.br
 + _(Logout in progress.br
hilightPlease wait./hilight));
e_obj_dialog_show(od);
e_obj_dialog_icon_set(od, enlightenment/logout);
 @@ -398,7 +398,7 @@
  {
   case E_SYS_LOGOUT:
e_dialog_text_set(dia,
 - _(Enlightenment is busy logging out.br
 + _(Logging out.br
You cannot perform other system actionsbr
once a logout has begun.)
  );
 @@ -406,28 +406,28 @@
   case E_SYS_HALT:
   case E_SYS_HALT_NOW:
e_dialog_text_set(dia,
 - _(Enlightenment is shutting the system down.br
 + _(Powering off.br
You cannot do any other system actionsbr
once a shutdown has been started.)
  );
break;
   case E_SYS_REBOOT:
e_dialog_text_set(dia,
 - _(Enlightenment is rebooting the system.br
 + _(Resetting.br
You cannot do any other system actionsbr
once a reboot has begun.)
  );
break;
   case E_SYS_SUSPEND:
e_dialog_text_set(dia,
 - _(Enlightenment is suspending the system.br
 + _(Suspending.br
Until suspend is complete you cannot performbr
any other system actions.)
  );
break;
   case E_SYS_HIBERNATE:
e_dialog_text_set(dia,
 - _(Enlightenment is hibernating the system.br
 + _(Hibernating.br
You cannot perform an other system

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

2009-01-28 Thread thomasg
Erm, actually yes :)

Ok, I do understand, that many technophobe people do not like when
their consumer-devices (which are actually little computers with a PC
OS) behave like a computer, but that doesn't change the fact, that
this machines are computers and do the same stuff.

Maybe I'm just not comfortable with the term reset, because private,
this is the tiny button I press with a needle when nothing works, and
professional, this is the point in time, where I switch a bunch of
circuit breakers to off, because nothing works :)

On Wed, Jan 28, 2009 at 10:43 PM, The Rasterman Carsten Haitzler
ras...@rasterman.com wrote:
 On Wed, 28 Jan 2009 21:33:15 +0100 thomasg tho...@gstaedtner.net said:

 Hi raster,

 may I ask, why you replaced reboot by reset?

 i chose something more generic - why? reboot is a very computerish term. what
 if you have... a phone - or a media player. do you reboot it?  :)

 In my understanding, reset is the action you take when nothing works
 and you just power off without a proper shutdown procedure.
 Not only all other DE's/OS's use reboot, but also the shutdown tool
 from the widely used sysvinit (not only in most linux distros, but
 also in many other unix variants like FreeBSD) package uses reboot
 for shutdown -r in the help and manpage.
 It only saves 1 char to use reset and imho it's incorrect.

 Also I think shutdown hits the point more than power off does. The
 action shuts the system down, but if it's powered off depends on the
 system (bios/acpi/...). But however, that's not that important. :)

 same as above. choosing more neutral terms :)

 Thanks,

 thomasg

 On Thu, Jan 22, 2009 at 9:54 PM, Enlightenment SVN
 no-re...@enlightenment.org wrote:
  Log:
   shorten system action text - simpler. also fix actiosn to be system.
 
 
  Author:   raster
  Date: 2009-01-22 12:54:26 -0800 (Thu, 22 Jan 2009)
  New Revision: 38698
 
  Modified:
   trunk/e/src/bin/e_actions.c trunk/e/src/bin/e_sys.c
 
  Modified: trunk/e/src/bin/e_actions.c
  ===
  --- trunk/e/src/bin/e_actions.c 2009-01-22 18:33:23 UTC (rev 38697)
  +++ trunk/e/src/bin/e_actions.c 2009-01-22 20:54:26 UTC (rev 38698)
  @@ -2612,7 +2612,7 @@
 
 /* exec */
 ACT_GO(exec);
  -   e_action_predef_name_set(_(Launch), _(Defined Command), exec,
  NULL,
  +   e_action_predef_name_set(_(Launch), _(Command), exec, NULL,
 syntax: CommandName, example: /usr/bin/xmms,
  1);
 
 /* app */
  @@ -2628,20 +2628,20 @@
 e_action_predef_name_set(_(Enlightenment), _(Exit), exit,
 NULL, NULL, 0);
 
  +   ACT_GO(exit_now);
  +   e_action_predef_name_set(_(Enlightenment), _(Exit Now),
  +   exit_now, NULL, NULL, 0);
  +
 ACT_GO(logout);
  -   e_action_predef_name_set(_(Enlightenment), _(Log Out), logout,
  +   e_action_predef_name_set(_(System), _(Log Out), logout,
 NULL, NULL, 0);
 
  -   ACT_GO(exit_now);
  -   e_action_predef_name_set(_(Enlightenment), _(Exit Immediately),
  -   exit_now, NULL, NULL, 0);
  -
 ACT_GO(halt_now);
  -   e_action_predef_name_set(_(Enlightenment), _(Off Now),
  +   e_action_predef_name_set(_(System), _(Power Off Now),
 halt_now, NULL, NULL, 0);
 
 ACT_GO(halt);
  -   e_action_predef_name_set(_(System), _(Off), halt,
  +   e_action_predef_name_set(_(System), _(Power Off), halt,
 NULL, NULL, 0);
 
 ACT_GO(reboot);
 
  Modified: trunk/e/src/bin/e_sys.c
  ===
  --- trunk/e/src/bin/e_sys.c 2009-01-22 18:33:23 UTC (rev 38697)
  +++ trunk/e/src/bin/e_sys.c 2009-01-22 20:54:26 UTC (rev 38698)
  @@ -363,7 +363,7 @@
  _(Logout in progress), E, _sys_logout);
 e_obj_dialog_obj_theme_set(od, base/theme/sys, e/sys/logout);
 e_obj_dialog_obj_part_text_set(od, e.textblock.message,
  - _(Logout is currently in progress.br
  + _(Logout in progress.br
 hilightPlease wait./hilight));
 e_obj_dialog_show(od);
 e_obj_dialog_icon_set(od, enlightenment/logout);
  @@ -398,7 +398,7 @@
   {
case E_SYS_LOGOUT:
 e_dialog_text_set(dia,
  - _(Enlightenment is busy logging out.br
  + _(Logging out.br
 You cannot perform other system actionsbr
 once a logout has begun.)
   );
  @@ -406,28 +406,28 @@
case E_SYS_HALT:
case E_SYS_HALT_NOW:
 e_dialog_text_set(dia,
  - _(Enlightenment is shutting the system 
  down.br
  + _(Powering off.br
 You cannot do any other system actionsbr

Re: [E-devel] E17 BUG CALL

2012-06-25 Thread thomasg
On Wed, Jun 20, 2012 at 2:49 PM, Michael Blumenkrantz
michael.blumenkra...@gmail.com wrote:
 If you have an e17 bug, reply to this mail or create a ticket for it on
 trac. This is the LAST call. Hint hint.
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

I still have a weird bug when using AMDs proprietary fglrx driver.
It very likely is just a driver bug, but everyone else seems to work
around it (or for whatever reason not affected), and there's just no
possibility to get it fixed upstream (because upstream doesn't give a
f***).

When e17s composite module is enabled, every Cairo window goes
semi-translucent, meaning that every pixel drawn uses some alpha
channel and windows/backgrounds behind bleed through.
Putting a black background behind the window makes the problem
disappear, because everything looks exactly as it should then.
I strongly assume that it only affects cairo, because all E stuff as
well as all Qt stuff is fine, while most Gtk stuff and Firefox aren't.
For Firefox this means not only the Gtk menu elements, but also the
rendered sites which should also be drawn by cairo.
Some examples of affected applications: Firefox, Gimp, LibreOffice,
Gvim, Wireshark
Not all elements of every applications are affected. Sometimes white
planes stay non-translucent, often menuelements/toolbars do. Generally
images seem not affected.

I'd be happy to provide more information or screenshots if requested.

~thomasg

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] eyesight and mupdf : build a shared lib of mupdf or link mupdf statically against eyesight ?

2012-07-30 Thread thomasg
On Mon, Jul 30, 2012 at 11:59 AM, Ralph Sennhauser
gentoo.s...@bluewin.ch wrote:
 On Mon, 30 Jul 2012 09:08:55 +0200
 Vincent Torri vincent.to...@gmail.com wrote:

 hey

 On Mon, Jul 30, 2012 at 8:45 AM, Cedric BAIL cedric.b...@free.fr
 wrote:
  Yop,
 
  On Mon, Jul 30, 2012 at 2:55 PM, Vincent Torri
  vincent.to...@gmail.com wrote:
  I plan to update mupdf from 0.9 to 1.0. So i'm writing the build
  system for that version. As mupdf is not necessarly included in the
  distros, I integrate the mupdf source in eyesight and I build it.
  I'm now wondering if I should build a shared lib of mupdf and
  install it, or if i should statically link mupdf against the pdf
  module of eyesight. Basically:
 
  1) integrate mupdf and its thirdparty package (which includes :
  libjpeg, freetype, openjpeg, jbig2dec and zlib), i build them and I
  statically link all that against the pdf module of eyesight
  2) or I ask the user to have libjpeg, freetype, openjpeg, jbig2dec
  and zlib already installed, I build mupdf and I link mupdf
  statically against the pdf module of eyesight
  3) or I ask the user to have libjpeg, freetype, openjpeg, jbig2dec
  and zlib already installed, I build mupdf as a shared lib and the
  pdf module will use the shared lib of mupdf.
 
  What is the best solution ?
 
  I think 2 will be better as it doesn't conflict at all with the
  distribution without getting insane and building 10 dependencies
  inside.

 ok, so it seems that 2) is the best. faster compilation in addition.


 Please have a configure option with-system-mupdf or similar for those
 distros which have mupdf in their repositories.

I concur.
There are distros that ship mupdf 1.0 for a while, as it has been
released months ago.
Pretty common would be to have --with-system-mupdf which, imho, should
be default.
Packagers for the distros without active support can disable this, so
they get the static version.


 Btw, i'll drop support of poppler, too much work. Mupdf is fast and
 lean, it's C. If it's missing features, i'll ask the devs to add them.

 Vincent

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond.
 Discussions will include endpoint security, mobile security and the
 latest in malware threats.
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___ enlightenment-devel
 mailing list enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Off Topic: as Envision has apparently been merged with Eyesight,
it probably should move from trunk/ to OLD/, shouldn't it?
At the very least both packages are conflicting while envision is
depending on eyesight, which basically means that separate envision is
broken as is.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] wallpaper2: implement close/apply buttons

2012-08-01 Thread thomasg
On Wed, Aug 1, 2012 at 8:02 PM, Thomas Gstädtner tho...@gstaedtner.net wrote:

 This patch adds a close and a apply button the the conf_wallpaper2
 module.
 It is implemented in an extremely simple way and does NOT have the
 advanced features brought by E_Dialog (like disabling after apply).

 This way the selector is much more usable without having to move to
 E_Dialog completely, and thus keeping its unique design which differs
 from typical dialogs.

 If the whole module should be ported to E_Dialog instead, please let me
 know.

 Signed-off-by: Thomas Gstädtner tho...@gstaedtner.net
 ---
  .../conf_wallpaper2/e_int_config_wallpaper.c   |   30 ++-
  1 files changed, 28 insertions(+), 2 deletions(-)


Whoops, of course I sent the wrong patch with the buttons still disabled...
Ignore the first one, here comes the correct one.
Sorry for the inconvenience.

~thomasg


0001-wallpaper2-implement-close-apply-buttons.patch
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] wallpaper2: implement close/apply buttons

2012-08-01 Thread thomasg
On Wed, Aug 1, 2012 at 8:34 PM, thomasg tho...@gstaedtner.net wrote:
 On Wed, Aug 1, 2012 at 8:02 PM, Thomas Gstädtner tho...@gstaedtner.net 
 wrote:

 This patch adds a close and a apply button the the conf_wallpaper2
 module.
 It is implemented in an extremely simple way and does NOT have the
 advanced features brought by E_Dialog (like disabling after apply).

 This way the selector is much more usable without having to move to
 E_Dialog completely, and thus keeping its unique design which differs
 from typical dialogs.

 If the whole module should be ported to E_Dialog instead, please let me
 know.

 Signed-off-by: Thomas Gstädtner tho...@gstaedtner.net
 ---
  .../conf_wallpaper2/e_int_config_wallpaper.c   |   30 
 ++-
  1 files changed, 28 insertions(+), 2 deletions(-)


 Whoops, of course I sent the wrong patch with the buttons still disabled...
 Ignore the first one, here comes the correct one.
 Sorry for the inconvenience.

 ~thomasg

Due to popular demand, clean up trailing whitespaces for conf_wallpaper2 :P
Patch is based on the previous one.

~thomasg


0001-wallpaper2-remove-trailing-whitespaces.patch
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: discomfitor trunk/e/src/modules/quickaccess

2012-09-29 Thread thomasg
On Tue, Sep 4, 2012 at 12:22 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 and now for something totally new: quicklaunch module now runs a 
 non-skippable tutorial on first load to run users through using it
   seriously, you can't skip it. don't even try clicking stop or pressing 
 escape. I mean it.


 Author:   discomfitor
 Date: 2012-09-04 03:22:44 -0700 (Tue, 04 Sep 2012)
 New Revision: 76121
 Trac: http://trac.enlightenment.org/e/changeset/76121

 Modified:
   trunk/e/src/modules/quickaccess/e_mod_config.c 
 trunk/e/src/modules/quickaccess/e_mod_main.h 
 trunk/e/src/modules/quickaccess/e_mod_quickaccess.c

 Modified: trunk/e/src/modules/quickaccess/e_mod_config.c
 ===
 --- trunk/e/src/modules/quickaccess/e_mod_config.c  2012-09-04 10:16:32 
 UTC (rev 76120)
 +++ trunk/e/src/modules/quickaccess/e_mod_config.c  2012-09-04 10:22:44 
 UTC (rev 76121)
 @@ -21,7 +21,9 @@
 int hide_when_behind;
 int skip_taskbar;
 int skip_pager;
 +
 int dont_bug_me;
 +   int first_run;
  };

  static E_Config_DD *conf_edd, *entry_edd;
 @@ -78,6 +80,9 @@
 cfdata-skip_taskbar = qa_config-skip_taskbar;
 cfdata-skip_pager = qa_config-skip_pager;

 +   cfdata-dont_bug_me = qa_config-dont_bug_me;
 +   cfdata-first_run = qa_config-first_run;
 +
 EINA_LIST_FOREACH(qa_config-entries, l, entry)
   cfdata-entries = eina_inlist_append(cfdata-entries, 
 EINA_INLIST_GET(_config_entry_new(entry)));

 @@ -117,6 +122,7 @@
 if (cfdata-X != qa_config-X) return 1

 CHECK(dont_bug_me);
 +   CHECK(first_run);

 EINA_INLIST_FOREACH(cfdata-entries, ce)
   if (ce-id) return 1;
 @@ -239,6 +245,8 @@
 ol = e_widget_list_add(evas, 0, 0);
 ob = e_widget_check_add(evas, _(Disable Warning Dialogs), 
 (int*)(cfdata-dont_bug_me));
 e_widget_list_object_append(ol, ob, 1, 0, 0.5);
 +   ob = e_widget_check_add(evas, _(Disable Startup Tutorial), 
 (int*)(cfdata-first_run));
 +   e_widget_list_object_append(ol, ob, 1, 0, 0.5);

 e_widget_toolbook_page_append(otb, NULL, _(Behavior), ol, 1, 1, 1, 1, 
 0.5, 0.5);

 @@ -355,6 +363,7 @@
  #define SET(X) qa_config-X = cfdata-X

 SET(dont_bug_me);
 +   SET(first_run);

 EINA_INLIST_FOREACH(cfdata-entries, ce)
   {
 @@ -464,6 +473,7 @@
 E_CONFIG_VAL(D, T, skip_taskbar, UCHAR);
 E_CONFIG_VAL(D, T, skip_pager, UCHAR);
 E_CONFIG_VAL(D, T, dont_bug_me, UCHAR);
 +   E_CONFIG_VAL(D, T, first_run, UCHAR);
 return conf_edd;
  }


 Modified: trunk/e/src/modules/quickaccess/e_mod_main.h
 ===
 --- trunk/e/src/modules/quickaccess/e_mod_main.h2012-09-04 10:16:32 
 UTC (rev 76120)
 +++ trunk/e/src/modules/quickaccess/e_mod_main.h2012-09-04 10:22:44 
 UTC (rev 76121)
 @@ -35,6 +35,7 @@
Eina_Bool jump; // don't hide window, just jump to it when activated
 } config;
 Eina_Bool transient;
 +   Eina_Bool help_watch; // tutorial is currently watching for this entry
  } E_Quick_Access_Entry;

  typedef struct Config
 @@ -48,12 +49,19 @@
 Eina_Bool skip_taskbar;
 Eina_Bool skip_pager;
 Eina_Bool dont_bug_me;
 +   Eina_Bool first_run; // set to disable help popups
  } Config;

  typedef struct Mod
  {
 E_Module *module;
 E_Config_Dialog *cfd;
 +   E_Object *help_dia;
 +   E_Dialog *demo_dia;
 +   unsigned int demo_state;
 +   Ecore_Timer *help_timer;
 +   Ecore_Timer *help_timeout;
 +   E_Menu *menu;
  } Mod;

  extern Config *qa_config;

 Modified: trunk/e/src/modules/quickaccess/e_mod_quickaccess.c
 ===
 --- trunk/e/src/modules/quickaccess/e_mod_quickaccess.c 2012-09-04 10:16:32 
 UTC (rev 76120)
 +++ trunk/e/src/modules/quickaccess/e_mod_quickaccess.c 2012-09-04 10:22:44 
 UTC (rev 76121)
 @@ -19,11 +19,14 @@

  static Eina_Bool qa_running = EINA_FALSE;

 -
  static void _e_qa_bd_menu_add(void *data, E_Menu *m, E_Menu_Item *mi);
  static void _e_qa_bd_menu_del(void *data, E_Menu *m, E_Menu_Item *mi);
  static void _e_qa_entry_transient_convert(E_Quick_Access_Entry *entry);

 +static void e_qa_help(void);
 +static Eina_Bool _e_qa_help_timer_cb(void *data);
 +static Eina_Bool _e_qa_help_timer2_cb(void *data);
 +static void _e_qa_help_activate_hook(E_Quick_Access_Entry *entry);
  /**
   * in priority order:
   *
 @@ -484,6 +487,8 @@

 if (entry-border)
   {
 +if (entry-help_watch)
 +  _e_qa_help_activate_hook(entry);
  if ((!entry-config.jump)  (entry-border-focused || 
 entry-config.hide_when_behind))
{
   _e_qa_border_deactivate(entry);
 @@ -724,6 +729,12 @@
  }

  static void
 +_e_qa_bd_menu_help(void *data __UNUSED__, E_Menu *m __UNUSED__, E_Menu_Item 
 *mi __UNUSED__)
 +{
 +   e_qa_help();
 +}
 +
 +static void
  _e_qa_bd_menu_del(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi 
 __UNUSED__)
  {
 

Re: [E-devel] dark small feedback

2012-10-28 Thread thomasg
On Sun, Oct 28, 2012 at 10:45 PM, Tom Hacohen t...@stosb.com wrote:
 On 28/10/12 19:20, David Seikel wrote:
 Is it just me, or does dark with blue highlights look very Android?

 I think it's just you, because Android is very flat and computer like,
 while the dark theme is very real life and 3d, I don't think there's
 even a slight resemblance other than the semi-similar (not really)
 colour choices.

 That's just what I think.

 --
 Tom.


I don't think it's just him, because android uses a similar tone of
blue (at least on the devices I know) and very similar blue
accent-lines under some items as well as blue shades when moving
screens and such.
But all in all, I don't see a too strong resemblance -- as you said,
android is very flat and not at all accentuated, also the use of the
blue accents is rather inconsistent and not at all stringent in the
design.
I don't see that this could lead to mix-ups, except maybe if you're an
apple lawyer :)

--
thomasg

--
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] Some trivial patches

2012-11-12 Thread thomasg
Attached you'll finde a few trivial patches which fix typos or clear things up.
Feel free to apply any number as you see fit (I hope it'll be n  0 :)

Short overview (git log):

1: border remembers: rename Using to Identifiers to be more obvious
2: border locks: deengrishify
3: wallpaper: more sane dialog title
4: physics: fix typo
5: e_fm: fix typo

-- thomasg


1-e_fm-fix-typo.diff
Description: Binary data


2-physics-fix-typo.diff
Description: Binary data


3-wallpaper-more-sane-dialog-title.diff
Description: Binary data


4-border-locks-deengrishify.diff
Description: Binary data


5-border-remembers-rename-Using-to-Identifiers-to-be-m.diff
Description: Binary data
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Several trivial patches for e17: typos, language, format

2012-11-14 Thread thomasg
Hi everyone,

another batch of trivial patches, mostly 1-liners, fixing general
language and some formatting.
These should be applied in order as one or more might be based upon each other.
I tried to be careful and not break anything, but no warranty because
at least one was generated via sed :)

Regards,

-- thomasg


01-actions-fix-cnp-error.diff
Description: Binary data


02-config-all-other-strings-here-have-punctuation.diff
Description: Binary data


03-config-deengrishify.diff
Description: Binary data


04-desklock-better-english.diff
Description: Binary data


05-eap_editor-better-english.diff
Description: Binary data


06-fm-better-english.diff
Description: Binary data


07-main-better-english.diff
Description: Binary data


08-main-add-missing-newlines-after-all-e_error_message_.diff
Description: Binary data


09-module-better-english.diff
Description: Binary data


10-screensaver-better-english.diff
Description: Binary data
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Some trivial patches

2012-11-15 Thread thomasg
On Thu, Nov 15, 2012 at 5:15 PM, David Seikel onef...@gmail.com wrote:
 On Thu, 15 Nov 2012 19:34:01 +0400 Igor Murzov e-m...@date.by wrote:

 On Thu, 15 Nov 2012 14:32:13 +0900
 Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote:

  On Tue, 13 Nov 2012 20:32:49 +0400 Igor Murzov e-m...@date.by
  said:
 
   On Mon, 12 Nov 2012 23:22:14 +0100
   thomasg tho...@gstaedtner.net wrote:
  
Attached you'll finde a few trivial patches which fix typos or
clear things up.
  
   Great. I also have a list of unclear messages like:
  
Your screen does not support OpenGL.
 
  your display doesn't support opengl - may be a driver problem. may
  be a config problem. may be a missing gl module... who knows. as
  such gl is really linked to specific screens - one may be capable
  and another not depending what gpu powers it... :)

 I think that Your system does not support OpenGL would be more
 correct.

 Raster is right on this one.  If you have two different graphics cards,
 and one of them supports OpenGL, but the other does not, then you
 should only get that message on the graphics card that does not.  So
 it's not your system that is not supporting OpenGL, just that one
 graphics card.

 On the other hand, saying your system does not support OpenGL, when the
 card you are not using supports it fine, would be wrong.  It's the
 graphics card that is at fault.

 On the gripping hand, if there's only one card, or it's the driver
 that's at fault, then saying your screen does not support OpenGL is
 still correct.  B-)

 Note that two different graphics cards is more common than you might
 think.  Motherboards these days often come with built in crappy
 graphics cards, as well as the built in crappy sound cards they have
 come with for a while now.  Lots of people would put a real graphics
 card in.  I did after trying out my motherboards crappy graphics. lol

 For the record, I have about a dozen motherboards in my kitchen with
 built in graphics cards.  I expect them all to be crappy, and I expect
 some of them don't support OpenGL.  For my clients purposes, these
 deficiencies are not a problem.

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



To clear this argument up once and for all, I propose the attached patch.
Hope that makes everyone happy :)


0001-comp-clearer-error-messages.diff
Description: Binary data
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Dark theme digital clock woes

2012-11-19 Thread thomasg
On Mon, Nov 19, 2012 at 10:50 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Mon, 19 Nov 2012 17:35:01 +0800 P Purkayastha ppu...@gmail.com said:

 On 11/19/2012 04:59 PM, Carsten Haitzler (The Rasterman) wrote:
  On Mon, 19 Nov 2012 08:42:32 + Rui Miguel Silva Seabra r...@1407.org
  said:
 
  You may be very right from an engineering point of view, but from an
  usability point of view you're quite wrong as the end result is quite
  dark and hard to read:
 
  http://files.1407.org/shot-dark-clock-on-dark-bg.png
 
  i'm reading it incredibly easily. in fact not even reading - just glancing
  at it and i can read the time just fine.

 You got good eyes, siree. It is quite hard to read (especially because
 of the underlying criss-cross grey pattern), unless you have a very dark
 background.

 there is a very dark bg - the shelf... and i have the default wallpaper too.

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


 --
 Monitor your physical, virtual and cloud infrastructure from a single
 web console. Get in-depth insight into apps, servers, databases, vmware,
 SAP, cloud infrastructure, etc. Download 30-day Free Trial.
 Pricing starts from $795 for 25 servers or applications!
 http://p.sf.net/sfu/zoho_dev2dev_nov
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

I do love Nixie Tubes and I still encounter them from time to time,
but they _are_ hard to read in general and so is the
Dark-Implementation.
Usually I can read it fine, but I can also see how the dark grey net
over the digits can make it very hard to read if the clock is a little
smaller and the lighting a little worse.

So I have a proposal: how about just having the lit-up digits always
on top and no wiring above it?
Yes, this is no correct analog Nixie Tube anymore, but we don't need
their disadvantages and can still keep the style.
If the wiring is still in the background, everyone gets the idea, it
looks just as good, and there is no more readability issue.

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster IN trunk/e/data/themes: . edc img

2012-11-20 Thread thomasg
On Tue, Nov 20, 2012 at 12:17 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 try clock with separate digit images with no overlayed tube wiring.
   and now due to the change i get to flicker the digits into life and
   fade them out. yay!

I like it!
Looks even better than before, takes away none of its charm and
resolves (I think) all issues people had with it.

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/e/data/themes/edc

2012-11-20 Thread thomasg
On Tue, Nov 20, 2012 at 3:54 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 fix long press on label to triggewr rename after mouse release IF
   held down for  0.4 sec.


Imho, triggering the rename on mouse up is counter-intuitive.
On Desktops, the most common behavior is the Windows one with rename
on mouse up _without_ timer (though it only happens on already
selected items, which is why I think most people don't even know about
it).
On Mobile, the most common behavior for item interaction (though not
renaming alone) is on mouse _down_ with timer.

The way E behaves here just seems random and magic as there is no
indicator that a rename might be triggered.

Is this really the intended behavior?

On another note: when rename happens after mouse up, if the
single-click action is set, it will still open the file.

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/e/data/themes/edc

2012-11-20 Thread thomasg
On Wed, Nov 21, 2012 at 12:37 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Tue, 20 Nov 2012 22:18:39 +0100 thomasg tho...@gstaedtner.net said:

 On Tue, Nov 20, 2012 at 3:54 PM, Enlightenment SVN
 no-re...@enlightenment.org wrote:
  Log:
  fix long press on label to triggewr rename after mouse release IF
held down for  0.4 sec.
 

 Imho, triggering the rename on mouse up is counter-intuitive.
 On Desktops, the most common behavior is the Windows one with rename
 on mouse up _without_ timer (though it only happens on already
 selected items, which is why I think most people don't even know about
 it).
 On Mobile, the most common behavior for item interaction (though not
 renaming alone) is on mouse _down_ with timer.

 The way E behaves here just seems random and magic as there is no
 indicator that a rename might be triggered.

 valid complaint before: EVERY click on the text of an icon - in icon or list
 mode entered rename mode. this was totally unusable. the other problem is if
 done purely on timeout if mouse pressed for long enough, is we have event
 problems with bits of efm/evas still thinking the mouse is pressed on 
 something
 when it is not. this is a workaround. third - u still have the click+drag 
 +drop
 and this needs to work with that. if u PRESS a second time on a selected item 
 u
 need to NOT start rename IF u start dragging - thus the timeout.


This is true, this is a problem, but I think the new behavior
introduces too many problems to be considered a fix, not only
single-click race conditions but also the weird and unexpected
behavior.

But to be honest, I can't think of anything to fix this, certainly not
without reinventing the whole feature.

 Is this really the intended behavior?

 On another note: when rename happens after mouse up, if the
 single-click action is set, it will still open the file.

 aah crap. this means in code... it needs to use a job, and the job needs to
 force signal processing and if edit mode was started- then abort single click
 activation... gar... signal/timing/async race condition issue atm.

 --
 Monitor your physical, virtual and cloud infrastructure from a single
 web console. Get in-depth insight into apps, servers, databases, vmware,
 SAP, cloud infrastructure, etc. Download 30-day Free Trial.
 Pricing starts from $795 for 25 servers or applications!
 http://p.sf.net/sfu/zoho_dev2dev_nov
 ___
 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


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E17 - enlightenment menu

2012-11-21 Thread thomasg
On Wed, Nov 21, 2012 at 12:42 PM, Gustavo Sverzut Barbieri
barbi...@profusion.mobi wrote:
 On Wed, Nov 21, 2012 at 3:12 AM, P Purkayastha ppu...@gmail.com wrote:

 On 11/21/2012 07:26 AM, Carsten Haitzler (The Rasterman) wrote:
  On Tue, 20 Nov 2012 13:30:42 -0200 Gustavo Sverzut Barbieri
  barbi...@profusion.mobi  said:
 
  Ideas:
 
  - About -  inside settings, doesn't need to be so highlighted as the
 main
  menu. I'd say rename settings so we can use it for more than just
 that,
  it's a place holder for other stuff of enlightenment.
 
  renaming it is not a good idea... where do people find settings them?
 settings
  is one of the better bits of the menu. changing it just because you wish
 to
  get rid of the enlightenment entry is overall becoming worse than better.
 
  - Restart/Exit E: again, this is just for E17 test, so bad for
 end-users.
  I've mentioned Xephyr but indeed you might forget to grab and the
 shortcut
  will go to outside E17 and problems will happen. What about doing it for
  Everything? Then you see where you'll type the action and it's clear.
 You
  can name them e-restart and e-exit commands.
 
  i'm sure not going to do all this work just to remove a menu, that to
 date has
  not caused any issues i know of. i've asked a few times now for real
 info on
  issues it's caused - real datapoints. but unless there is another viable
 and
  sane way of doing these things - they stay. doing some minor
 re-labelling is
  doable. maybe moving a menu item here and there, but now we're talking
 of work
  that REALLY doesn't need to be done - there are much more important
 things to
  do. :)
 
  In the mood of refactoring the menus... if we merge Enlightenment +
  Settings (maybe call it Enlightenment?), we can remove the Desktop
 from
 
  settings includes stuff unrelated to e at all - see the system and
 preferences
  tabs that pull in standard settings tools.
 
  main menu as it's not as useful (menu to change desktop is not that
 common,
  add/configure shelves and gadgets are more like configuration that you
 do
  once a year, show/hide windows can go under Windows main menu entry).
 
  so its in a submenu... that's why its in a submenu. its a single entry
 in the
  main menu for general desktop controls. if it was inside the main menu
 -
  i'd totally agree.
 
  please read up about the latest windows 8 criticisms. you're going the
 exact
  same direction. you're on a head-long run into trying to remove as much
 as you
  can, and in the process you hurt discoverability (and usability) and the
 people
  who don't know the key bindings etc. etc. etc. - everything even vaguely
 useful
  or used even a few times SHOULD be in a menu - even if it's not used
 much. in
  fact we currently have too FEW things in menus. we've removed way too
 much.
  people need to be able to find the thing they want without knowing magic
  gestures, invisible click regions, or obscure keybindings etc. - the
 main menu
  is just that. it's a central point of control that is very fast to find
 (start
  gadget or click anywhere on the desktop - probably one of the first
 things a
  person does when presented with a new blank wm/screen). this menu should
  provide a easy starting point for a user to discover more and access the
 things
  they need or want. preferably nothing should be more than 2 or 3
 clicks/jumps
  away (but reality is that we have so many options, features etc. that we
 just
  can't sensibly manage that without a menu-from-hell).
 
  i fully support the streamlining and improving of menus. agreed, but
 removing
  stuff is something that should be done only as a very last resort.
  re-organizing - sure, but at this stage i sure don't want to spend the
 time
  re-organizing the main menu. modules DEPEND on existing hook points to
 insert
  items - re-orgs affect all of those.
 
   As for Windows i dislike it and shouldn't be that useful... but
 the
  cleanup windows and the action to recover lost windows are indeed
  useful... but likely the DM should avoid losing the windows instead of
 add
  them to a menu? Anyway, this one i see more reasoning to keep.
 
  it happens that apps ask to place their windows off the screen - and e
 honors
  that. in the case of things like guake they legitimately want a window
 off the
  screen so they can slide it in (yes - i know. this is a hack, and should
 be
  part of the wm and quickaccess, but apps will persist in doing these
 things
  themselves). if you ignore such requests you then break such apps, so
 reality
  is... in order to not break some apps, windows can become lost - when
 apps try
  remember their position, and you changed resolution/monitors since
 (x11amp used
  to love doing this), and you had it bottom-right, and now it asks for a
  position off the screen.. and you can't get to the window. that menu item
  exists because of real world problems and we can try as we might - we
 either
  break app a or break app b. the menu is the 

Re: [E-devel] [PATCH] Several trivial patches for e17: typos, language, format

2012-11-30 Thread thomasg
On Thu, Nov 15, 2012 at 1:09 AM, thomasg tho...@gstaedtner.net wrote:

 Hi everyone,

 another batch of trivial patches, mostly 1-liners, fixing general
 language and some formatting.
 These should be applied in order as one or more might be based upon each
 other.
 I tried to be careful and not break anything, but no warranty because
 at least one was generated via sed :)

 Regards,

 -- thomasg


*bump*
no takers?
--
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] std=c99 for ecore_con dns.c got missing

2012-12-06 Thread thomasg
On Thu, Dec 6, 2012 at 12:57 PM, Vincent Torri vincent.to...@gmail.comwrote:

 so it's a problem with clang. Fix your CC, then


Is it really?
dns_rr_foreach is defined as for (struct dns_rr_i DNS_PP_XPASTE(i,
__LINE__) = *dns_rr_i_new((P), __VA_ARGS__); ... in dns.h
As this is a declaration in the loop, it seems that clang's complaining is
correct, this is a C99 feature.

So I think, a C99 compiler should be required, even if GCC does not
complain.





On Thu, Dec 6, 2012 at 11:59 AM, Stefan Schmidt s.schm...@samsung.com
 wrote:
  Hello.
 
  On 06/12/12 10:34, Vincent Torri wrote:
  On Thu, Dec 6, 2012 at 11:28 AM, Stefan Schmidt s.schm...@samsung.com
 wrote:
  Hello.
 
  Either during the merge of ecore into efl or during Gustavos changes
 the
  std=c99 passing to ecore_con got missing.
 
  adding std=c99 is a BAD idea. Better use AC_PROG_CC_C99 if a c99
  compiler is needed. But honestly, i don't know why it is needed, as
  current compiler check is working for years. So before changing, tell
  me what the error is
 
  I remember we had problems with that when Mike put in dns.c. Anyway here
  are the problems I see when building with Ubuntu clang version
  3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0):
 
  lib/ecore_con/dns.c:878:4: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:878:4: note: use option -std=c99 or -std=gnu99 to
  compile your code
  lib/ecore_con/dns.c:885:4: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:888:5: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c: In function 'dns_p_push':
  lib/ecore_con/dns.c:988:28: warning: declaration of '__v' shadows a
  previous local [-Wshadow]
  lib/ecore_con/dns.c:988:28: warning: shadowed declaration is here
 [-Wshadow]
  lib/ecore_con/dns.c:988:28: warning: declaration of '__x' shadows a
  previous local [-Wshadow]
  lib/ecore_con/dns.c:988:28: warning: shadowed declaration is here
 [-Wshadow]
  lib/ecore_con/dns.c:1006:28: warning: declaration of '__v' shadows a
  previous local [-Wshadow]
  lib/ecore_con/dns.c:1006:28: warning: shadowed declaration is here
  [-Wshadow]
  lib/ecore_con/dns.c:1006:28: warning: declaration of '__x' shadows a
  previous local [-Wshadow]
  lib/ecore_con/dns.c:1006:28: warning: shadowed declaration is here
  [-Wshadow]
  lib/ecore_con/dns.c:1022:28: warning: declaration of '__v' shadows a
  previous local [-Wshadow]
  lib/ecore_con/dns.c:1022:28: warning: shadowed declaration is here
  [-Wshadow]
  lib/ecore_con/dns.c:1022:28: warning: declaration of '__x' shadows a
  previous local [-Wshadow]
  lib/ecore_con/dns.c:1022:28: warning: shadowed declaration is here
  [-Wshadow]
  lib/ecore_con/dns.c:1033:28: warning: declaration of '__v' shadows a
  previous local [-Wshadow]
  lib/ecore_con/dns.c:1033:28: warning: shadowed declaration is here
  [-Wshadow]
  lib/ecore_con/dns.c:1033:28: warning: declaration of '__x' shadows a
  previous local [-Wshadow]
  lib/ecore_con/dns.c:1033:28: warning: shadowed declaration is here
  [-Wshadow]
  lib/ecore_con/dns.c: In function 'dns_rr_exists':
  lib/ecore_con/dns.c:1787:2: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c: In function 'dns_res_merge':
  lib/ecore_con/dns.c:5414:2: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:5421:4: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:5424:5: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c: In function 'dns_res_glue':
  lib/ecore_con/dns.c:5480:3: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:5496:3: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c: In function 'dns_res_exec':
  lib/ecore_con/dns.c:5604:3: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:5608:3: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:5806:3: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:5880:3: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:5884:3: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:5893:3: error: 'for' loop initial declarations are
  only allowed in C99 mode
  lib/ecore_con/dns.c:6027:3: error: 'for' loop initial declarations are
  only allowed in C99 mode
 
  The warnings are always there so can be ignored for this particular case.
 
  regards
  Stefan Schmidt
 
 
 --
  LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
  Remotely access PCs and mobile devices and provide instant support
  Improve your efficiency, and focus on 

[E-devel] About eina_simple_xml_parse

2012-12-18 Thread thomasg
Hi everyone,

I was just looking at Eina Simple XML which, at first sight seemed a nice
tiny XML library.
However after looking closer, it seems that it is only useful to create
basic XML files, but NOT to read/parse them.

I used the eina_simple_xml_parse function and realized, that this basically
is it, every single step of parsing has to be done manually and it
basically makes no difference if eina_simple_xml is used or not at all.
I then took a look at the example parser in eina_simple_xml_parser_01.c and
realized that, for the same reason, this is a extremely poor parser,
basically worthless (no offense intended).
Actually it is so poor, it is not even a simple XML parser because all it
does is check if the input looks somewhat similar to XML.

I realize, that this is not meant to be a full featured parser or even a
basic parser, but seeing as it is hardly a parser at all, I can't see the
point of having it (as an example).

On the other hand, simple xml does have the concept of nodes using eina
inlists and such, but they seem to be usable only for creating xml, not
reading it.

So my question is: Am I missing something here?

Here's a modified/broken chat.xml file to be parsed by the example code to
show how poorly it does: http://bpaste.net/show/65296/
If there's no better way to do it, I'd suggest to make this explicit in the
docs/examples and/or remove the example.

Regards

--
thomasg
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] About eina_simple_xml_parse

2012-12-18 Thread thomasg
On Wed, Dec 19, 2012 at 4:38 AM, Gustavo Sverzut Barbieri 
barbi...@profusion.mobi wrote:

 Hi Thomas,

 The standard way is pretty fast and lean, but it is a SAX-like parser. That
 mean you only get tokens, for the tags you need to call yet another
 function to split the tag and arguments.

 It is good enough to parse svg, as done by Esvg. Should be also enough to
 parse config files and your chat.xml

 There is also a version trust creates nodes from XML. It's useful to debug
 and for simple cases without performance worries. As very likely you will
 store your parsed data in a custom structure than a generic Dom, I
 recommend using the sax version.

 I didn't try the example with your XML, but seems to be okay. The example
 could use eina_strbuf instead of array of strings, but that's marginal.
 Also could use the size and avoid strncmp(), but also marginal for an
 example.

 What is exactly failing?


As you can see, the tags are totally wrong.
They are neither corretly aligned (a foo can be closed with /bar and
not just /foo), nor do the items correspond with the tags.
So if the input is not 100% like the parser expects it, say there's an
additional level, the parser won't fail but just receive totally wrong data.
If I want to make sure that I get the date from tag bazDATA/baz, I have
to manually compare the string and it seems that I might as well just parse
it myself alltogether.



 On Wednesday, December 19, 2012, thomasg wrote:

  Hi everyone,
 
  I was just looking at Eina Simple XML which, at first sight seemed a nice
  tiny XML library.
  However after looking closer, it seems that it is only useful to create
  basic XML files, but NOT to read/parse them.
 
  I used the eina_simple_xml_parse function and realized, that this
 basically
  is it, every single step of parsing has to be done manually and it
  basically makes no difference if eina_simple_xml is used or not at all.
  I then took a look at the example parser in eina_simple_xml_parser_01.c
 and
  realized that, for the same reason, this is a extremely poor parser,
  basically worthless (no offense intended).
  Actually it is so poor, it is not even a simple XML parser because all it
  does is check if the input looks somewhat similar to XML.
 
  I realize, that this is not meant to be a full featured parser or even a
  basic parser, but seeing as it is hardly a parser at all, I can't see the
  point of having it (as an example).
 
  On the other hand, simple xml does have the concept of nodes using eina
  inlists and such, but they seem to be usable only for creating xml, not
  reading it.
 
  So my question is: Am I missing something here?
 
  Here's a modified/broken chat.xml file to be parsed by the example code
 to
  show how poorly it does: http://bpaste.net/show/65296/
  If there's no better way to do it, I'd suggest to make this explicit in
 the
  docs/examples and/or remove the example.
 
  Regards
 
  --
  thomasg

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] About eina_simple_xml_parse

2012-12-18 Thread thomasg
On Wed, Dec 19, 2012 at 5:18 AM, Gustavo Sverzut Barbieri 
barbi...@profusion.mobi wrote:

 On Wednesday, December 19, 2012, thomasg wrote:

  On Wed, Dec 19, 2012 at 4:38 AM, Gustavo Sverzut Barbieri 
  barbi...@profusion.mobi javascript:; wrote:
 
   Hi Thomas,
  
   The standard way is pretty fast and lean, but it is a SAX-like parser.
  That
   mean you only get tokens, for the tags you need to call yet another
   function to split the tag and arguments.
  
   It is good enough to parse svg, as done by Esvg. Should be also enough
 to
   parse config files and your chat.xml
  
   There is also a version trust creates nodes from XML. It's useful to
  debug
   and for simple cases without performance worries. As very likely you
 will
   store your parsed data in a custom structure than a generic Dom, I
   recommend using the sax version.
  
   I didn't try the example with your XML, but seems to be okay. The
 example
   could use eina_strbuf instead of array of strings, but that's marginal.
   Also could use the size and avoid strncmp(), but also marginal for an
   example.
  
   What is exactly failing?
  
 
  As you can see, the tags are totally wrong.
  They are neither corretly aligned (a foo can be closed with /bar and
  not just /foo), nor do the items correspond with the tags.
  So if the input is not 100% like the parser expects it, say there's an
  additional level, the parser won't fail but just receive totally wrong
  data.
  If I want to make sure that I get the date from tag bazDATA/baz, I
 have
  to manually compare the string and it seems that I might as well just
 parse
  it myself alltogether.


 That is always the case with sax. It allows you to handle errors yourself,
 like abort, auto fix, etc. like parsing bogus HTML that is common in the
 Internet.

 I don't recall how strict I was with the tree/node version, I guess to make
 it usable by Evas textblock u can close tags with /, but not sure if you
 specify an incorrect close tag what it would do. Anyway I'd recommend a
 final version to avoid the intermediate node tree and use sax directly,
 then you get more eficient data structures.

 Also consider always using the size. The original buffer is not modified,
 then strings will not be null terminated.

 Usually the sax parser will keep a stack, and you can validate based in
 that. But just validate if data is untrusted. Same for attributes, you just
 pay the price if you expect them for such tag. IOW it can be very
 efficient.

 The added benefit of using it over manual parse is that it will handle
 whitespaces and also do minimal tag boundary match. If  is missing, etc.
 that will emit errors.


Hm, I guess I had/have some misconceptions on how a SAX parser was supposed
to work.
It just seemed like a terrible idea to just take the data as it comes while
ignoring half of it.
Then again, to me XML seems like a terrible idea in general :)

Thanks for clearing it up.



 
 
  
   On Wednesday, December 19, 2012, thomasg wrote:
  
Hi everyone,
   
I was just looking at Eina Simple XML which, at first sight seemed a
  nice
tiny XML library.
However after looking closer, it seems that it is only useful to
 create
basic XML files, but NOT to read/parse them.
   
I used the eina_simple_xml_parse function and realized, that this
   basically
is it, every single step of parsing has to be done manually and it
basically makes no difference if eina_simple_xml is used or not at
 all.
I then took a look at the example parser in
 eina_simple_xml_parser_01.c
   and
realized that, for the same reason, this is a extremely poor parser,
basically worthless (no offense intended).
Actually it is so poor, it is not even a simple XML parser because
 all
  it
does is check if the input looks somewhat similar to XML.
   
I realize, that this is not meant to be a full featured parser or
 even
  a
basic parser, but seeing as it is hardly a parser at all, I can't see
  the
point of having it (as an example).
   
On the other hand, simple xml does have the concept of nodes using
 eina
inlists and such, but they seem to be usable only for creating xml,
 not
reading it.
   
So my question is: Am I missing something here?
   
Here's a modified/broken chat.xml file to be parsed by the example
 code
   to
show how poorly it does: http://bpaste.net/show/65296/
If there's no better way to do it, I'd suggest to make this explicit
 in
   the
docs/examples and/or remove the example.
   
Regards
   
--
thomasg
  
 
 
 --
  LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
  Remotely access PCs and mobile devices and provide instant support
  Improve your efficiency, and focus on delivering more value-add services
  Discover what IT Professionals Know. Rescue delivers
  http://p.sf.net/sfu/logmein_12329d2d

Re: [E-devel] Changed /tmp size on e4 to 512mb

2012-12-20 Thread thomasg
On Thu, Dec 20, 2012 at 4:44 PM, Daneil Willmann d.willm...@samsung.comwrote:

 Tom wrote:

  And thanks to everyone for writing docs and creating a problem for gastal
 to fix.

 Right, thanks Tom for pointing that out.

 Daniel


And thanks to Daniel for informing us that Tom pointed it out.

(P.S. You should fix your name setting in the company mail client Daneil
:P)
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] etrophy: drop python configure check

2012-12-21 Thread thomasg
On Fri, Dec 21, 2012 at 4:13 PM, Leandro Dorileo dori...@profusion.mobiwrote:


 I think it used to depend on geneet.py, but looking at it it seems to not
 call
 geneet.py anywhere, if so the geneet check could be removed as well.

 Regards

 On Fri, Dec 21, 2012 at 03:16:04PM +0100, Thomas Gstädtner wrote:
  I can't see why it would depend on python.
  ---
   trunk/PROTO/etrophy/configure.ac | 5 -
   1 file changed, 5 deletions(-)
 
  diff --git a/trunk/PROTO/etrophy/configure.ac b/trunk/PROTO/etrophy/
 configure.ac
  index 3f97428..e874e6a 100644
  --- a/trunk/PROTO/etrophy/configure.ac
  +++ b/trunk/PROTO/etrophy/configure.ac
  @@ -83,11 +83,6 @@ AC_PROG_CC
 
   EFL_CHECK_DOXYGEN([build_doc=yes], [build_doc=no])
 
  -# python
  -
  -AM_PATH_PYTHON([2.5], , [:])
  -AM_CONDITIONAL([HAVE_PYTHON], [test $PYTHON != : ])
  -
   # pkg-config
 
   PKG_PROG_PKG_CONFIG
  --
  1.8.0
 
 

 --
 Leandro Dorileo
 ProFUSION embedded systems
 http://profusion.mobi



Hi Leandro,

you're right, there is no sign of geneet being used actively in etrophy.
So I redid the patch and removed both.

I also attached another patch adding the efl_path_max.m4 macro,
which was called in configure.ac but didn't exist and thus fail.
It's a copy and paste of course (from efreet in this case) :)

--
thomasg
From d6c753f7c6071c07ea91d98364b175fe934a65c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20Gst=C3=A4dtner?= tho...@gstaedtner.net
Date: Fri, 21 Dec 2012 16:33:05 +0100
Subject: [PATCH 1/2] etrophy: drop python and geneet dependencies

Both are unused in the etrophy tree.
---
 trunk/PROTO/etrophy/configure.ac | 9 -
 1 file changed, 9 deletions(-)

diff --git a/trunk/PROTO/etrophy/configure.ac b/trunk/PROTO/etrophy/configure.ac
index 3f97428..f0b21da 100644
--- a/trunk/PROTO/etrophy/configure.ac
+++ b/trunk/PROTO/etrophy/configure.ac
@@ -83,11 +83,6 @@ AC_PROG_CC
 
 EFL_CHECK_DOXYGEN([build_doc=yes], [build_doc=no])
 
-# python
-
-AM_PATH_PYTHON([2.5], , [:])
-AM_CONDITIONAL([HAVE_PYTHON], [test $PYTHON != : ])
-
 # pkg-config
 
 PKG_PROG_PKG_CONFIG
@@ -129,10 +124,6 @@ PKG_CHECK_MODULES([ELEMENTARY],
 eina = 1.7.0
])
 
-if test x$HAVE_GENEET = xfalse; then
-AC_MSG_ERROR([*** Geneet not found, make sure geneet.py is in your PATH])
-fi
-
 AC_ARG_WITH([edje-cc],
 [AC_HELP_STRING([--with-edje-cc=PATH],
 [specify a specific path to edje_cc])],
-- 
1.8.0

From dcdf9630df695e05a3be0580cc4961a830171423 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20Gst=C3=A4dtner?= tho...@gstaedtner.net
Date: Fri, 21 Dec 2012 16:35:20 +0100
Subject: [PATCH 2/2] etrophy: add efl_path_max m4 macro

The check for it in configure.ac already exists.
---
 trunk/PROTO/etrophy/m4/efl_path_max.m4 | 37 ++
 1 file changed, 37 insertions(+)
 create mode 100644 trunk/PROTO/etrophy/m4/efl_path_max.m4

diff --git a/trunk/PROTO/etrophy/m4/efl_path_max.m4 
b/trunk/PROTO/etrophy/m4/efl_path_max.m4
new file mode 100644
index 000..3ac29bd
--- /dev/null
+++ b/trunk/PROTO/etrophy/m4/efl_path_max.m4
@@ -0,0 +1,37 @@
+dnl Check for PATH_MAX in limits.h, and define a default value if not found
+dnl This is a workaround for systems not providing PATH_MAX, like GNU/Hurd
+
+dnl EFL_CHECK_PATH_MAX([DEFAULT_VALUE_IF_NOT_FOUND])
+dnl
+dnl If PATH_MAX is not defined in limits.h, defines it
+dnl to DEFAULT_VALUE_IF_NOT_FOUND if it exists, or fallback
+dnl to using 4096
+
+AC_DEFUN([EFL_CHECK_PATH_MAX],
+[
+
+default_max=m4_default([$1], 4096)
+
+AC_LANG_PUSH([C])
+
+AC_MSG_CHECKING([for PATH_MAX in limits.h])
+AC_COMPILE_IFELSE(
+   [AC_LANG_PROGRAM(
+   [[
+#include limits.h
+   ]],
+   [[
+int i = PATH_MAX;
+   ]])],
+   [AC_MSG_RESULT([yes])],
+   [
+AC_DEFINE_UNQUOTED([PATH_MAX],
+   [${default_max}],
+   [default value since PATH_MAX is not defined])
+AC_MSG_RESULT([no: using ${default_max}])
+   ])
+
+AC_LANG_POP([C])
+
+])
+dnl end of efl_path_max.m4
-- 
1.8.0

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Warning: Incoming new Stable release 1.7.5

2013-01-02 Thread thomasg
On Wed, Jan 2, 2013 at 10:28 PM, Jérémy Zurcher jer...@asynk.ch wrote:

 #0  0x7fffeac78cd0 in evas_software_xlib_x_write_mask_line
 (buf=buf@entry=
 0x7457b0, xob=0x181f610, src=0x7fffe3db0360, w=369, y=y@entry=85)
 at modules/evas/engines/software_x11/evas_xlib_buffer.c:40
 #1  0x7fffeac77be4 in evas_software_xlib_outbuf_push_updated_region
 (buf=
 0x7457b0, update=0xa1a400, x=201, y=1, w=optimized out, h=96)
 at modules/evas/engines/software_x11/evas_xlib_outbuf.c:1064
 #2  0x7fffeac75052 in eng_output_redraws_next_update_push (
 h=optimized out, w=optimized out, y=optimized out,
 x=optimized out, surface=0xa1a400, data=0x745e50,
 render_mode=optimized out)
 at modules/evas/engines/software_x11/evas_engine.c:893
 #3  eng_output_redraws_next_update_push (data=0x745e50, surface=0xa1a400,
 x=optimized out, y=optimized out, w=optimized out,
 h=optimized out, render_mode=EVAS_RENDER_MODE_ASYNC_END)
 at modules/evas/engines/software_x11/evas_engine.c:883
 #4  0x7568e46f in evas_render_wakeup (eo_e=0x739400)
 at lib/evas/canvas/evas_render.c:1827
 #5  evas_render_async_wakeup (target=optimized out, type=optimized out,
 event_info=optimized out) at lib/evas/canvas/evas_render.c:1868
 #6  0x75697325 in _evas_async_events_process_single ()
 at lib/evas/canvas/evas_async_events.c:149
 #7  _evas_async_events_process_single ()
 at lib/evas/canvas/evas_async_events.c:118
 #8  0x75697570 in evas_async_events_process ()
 at lib/evas/canvas/evas_async_events.c:179
 #9  0x7687d4b9 in _ecore_evas_async_events_fd_handler (
 data=optimized out, fd_handler=optimized out)
 at lib/ecore_evas/ecore_evas.c:2449
 #10 0x753e8531 in _ecore_call_fd_cb (data=optimized out,
 func=optimized out, fd_handler=0x648810) at
 lib/ecore/ecore_private.h:378
 #11 _ecore_main_fd_handlers_call () at lib/ecore/ecore_main.c:1690
 #12 _ecore_main_loop_iterate_internal (once_only=once_only@entry=0)
 at lib/ecore/ecore_main.c:1937
 #13 0x753e89a7 in ecore_main_loop_begin ()
 at lib/ecore/ecore_main.c:964
 #14 0x77adae15 in elm_run () at elm_main.c:956
 #15 0x0040c581 in elm_main (argc=optimized out, argv=optimized
 out)
 at main.c:1304
 #16 0x740ffa15 in __libc_start_main () from /usr/lib/libc.so.6
 #17 0x00408889 in _start ()
 #0  0x7fffeac78cd0 in evas_software_xlib_x_write_mask_line
 (buf=buf@entry=
 0x7457b0, xob=0x181f610, src=0x7fffe3db0360, w=369, y=y@entry=85)
 at modules/evas/engines/software_x11/evas_xlib_buffer.c:40
 40   *dst_ptr =

 print dst_ptr
 $1 = (DATA8 *) 0x7fffe3d2d000 Address 0x7fffe3d2d000 out of bounds


We had that one reported already and raster actually pushed a supposed fix
today.
However, according to dh, the fix also has a bug, so it might take a while
until it is properly fixed.

--
thomasg
--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas memory consumption with async render.

2013-01-07 Thread thomasg
On Mon, Jan 7, 2013 at 8:21 PM, Gustavo Sverzut Barbieri 
barbi...@profusion.mobi wrote:

 Today acidx and pcajr investigated it heavily, we need help from people
 suffering as we can't confirm.

 As one can see, there is a peak, but then it will go back:

http://www.zytor.com/~pcacjr/misc/2013-01-07-170102_1920x1080_scrot.png

 This is terminology run with compilation inside. E17 is not showing any
 abnormal behavior either, this is with EFL SVN (single tree).

 What we found is that textgrid implementation will have to change. Right
 now it's very below what it should be, and for every cell it will issue 3
 commands: one rectangle_draw() for BG, one font_draw() and one
 rectangle_draw() for underline/strikeout. 80 x 24 x 3 = 5760 commands being
 queued to the thread! I wonder why it's not unusable slow, given that it
 will lock the mutex, append to queue, dequeue and so on :-P

 The idea is to rewrite textgrid to have its own row_draw() or similar
 exported to the engine, which can optimize the drawing. First we'll tackle
 the rewrite, but optimizations could be applied later such as collapsing
 sibling background or line rectangles if color match, doing a single
 operation.

 That's not one day task, so we'll ask you to wait a bit until it get fixed.

 As for e17 and other said leaks, please check with valgrind if it's leaking
 or what. Also please run with EINA_MEMPOOL_PASS=1 to see if it's leaking or
 still being held by mempool caches/buffers.

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


Hi gustavo,

I'm a gentoo user, using terminology as my main terminal, and as you know,
running gentoo alone is usually stressful enough for a terminal :)
In the 3 or 4 weeks I'm running the single-efl tree now, I haven't seen any
noticable mem-leaks, and my terminals are usually open for days.

Just now, I threw some 100k lines (N * 2000 lines ^= (while; do dmesg;
done)) on one terminology window for an hour, and I can not even see small
leaks.
The mem usage is between 40M and 50M and did not increase over time at all.
It will stay at 36M after this, which should be the 10k lines
scrollback-buffer.

--
thomasg
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Naviframe looses current pushed Item when creating an inner window

2013-01-29 Thread thomasg
Whenever I see what used to be a fine plain text e-mail, being
_converted_ by some terrible mail client to HTML I am frightened, too.
:P


On Tue, Jan 29, 2013 at 8:46 AM, ChunEon Park her...@naver.com wrote:

 Whenever i see the naviframe in the mailing, im frightened.

 

 -Regards, Hermet-
 -Original Message-
 From: Michael Blumenkrantzlt;michael.blumenkra...@gmail.comgt;
 To: Enlightenment developer 
 listlt;enlightenment-devel@lists.sourceforge.netgt;;
 Cc:
 Sent: 2013-01-29 (화) 16:36:49
 Subject: Re: [E-devel] Naviframe looses current pushed Item when creating an 
 inner window

 I disagree. IRC is far more fun than a mailing list.

 On Tue, Jan 29, 2013 at 7:34 AM, Jeff Hoogland 
 lt;JeffHooglandgt;@linux.comgt;wrote:

 gt; Not nearly as much fun Mike.
 gt;
 gt;
 gt; On Tue, Jan 29, 2013 at 1:31 AM, Michael Blumenkrantz lt;
 gt; michael.blumenkra...@gmail.comgt; wrote:
 gt;
 gt; gt; this is why we have irc: so you can avoid the embarrassment of 
 writing
 gt; gt; mails like this one
 gt; gt;
 gt; gt; On Tue, Jan 29, 2013 at 6:48 AM, Jeff Hoogland 
 lt;JeffHooglandgt;@linux.com
 gt; gt; gt;wrote:
 gt; gt;
 gt; gt; gt; Ignore my previous email. I'm really bad at this whole 
 programming
 gt; thing.
 gt; gt; gt;
 gt; gt; gt;
 gt; gt; gt; On Tue, Jan 29, 2013 at 12:30 AM, Jeff Hoogland lt;
 gt; jeffhoogl...@linux.com
 gt; gt; gt; gt;wrote:
 gt; gt; gt;
 gt; gt; gt; gt; I am running into an issue when creating an InnerWindow 
 inside of a
 gt; gt; gt; window
 gt; gt; gt; gt; displaying a naviframe instance. The trouble is that once 
 I
 gt; hide/delete
 gt; gt; gt; the
 gt; gt; gt; gt; inner window I've displayed the naviframe instance 
 underneath looses
 gt; gt; the
 gt; gt; gt; gt; item it was displaying.
 gt; gt; gt; gt;
 gt; gt; gt; gt; Is this intended is there a way to stop it from 
 happening? I suppose
 gt; I
 gt; gt; gt; can
 gt; gt; gt; gt; manually push the page I want displayed after I am done 
 with my inner
 gt; gt; gt; gt; window - but this seems unnecessary.
 gt; gt; gt; gt;
 gt; gt; gt; gt; Here is a small code example that illustrates the issue 
 -gt;
 gt; gt; gt; gt; 
 https://github.com/JeffHoogland/esudo/blob/master/example.py
 gt; gt; gt; gt;
 gt; gt; gt; gt; The esudo instance is simply an inner window.
 gt; gt; gt; gt;
 gt; gt; gt; gt; --
 gt; gt; gt; gt; ~Jeff Hoogland lt;http:gt;//jeffhoogland.com/gt;
 gt; gt; gt; gt; Thoughts on Technology 
 lt;http:gt;//jeffhoogland.blogspot.com/gt;, Tech
 gt; Blog
 gt; gt; gt; gt; Bodhi Linux lt;http:gt;//bodhilinux.com/gt;, 
 Enlightenment for your Desktop
 gt; gt; gt; gt;
 gt; gt; gt;
 gt; gt; gt;
 gt; gt; gt;
 gt; gt; gt; --
 gt; gt; gt; ~Jeff Hoogland lt;http:gt;//jeffhoogland.com/gt;
 gt; gt; gt; Thoughts on Technology 
 lt;http:gt;//jeffhoogland.blogspot.com/gt;, Tech Blog
 gt; gt; gt; Bodhi Linux lt;http:gt;//bodhilinux.com/gt;, Enlightenment 
 for your Desktop
 gt; gt; gt;
 gt; gt; gt;
 gt; gt;
 gt; 
 --
 gt; gt; gt; Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, 
 HTML5, CSS,
 gt; gt; gt; MVC, Windows 8 Apps, JavaScript and much more. Keep your 
 skills current
 gt; gt; gt; with LearnDevNow - 3,200 step-by-step video tutorials by 
 Microsoft
 gt; gt; gt; MVPs and experts. ON SALE this month only -- learn more at:
 gt; gt; gt; http://p.sf.net/sfu/learnnow-d2d
 gt; gt; gt; ___
 gt; gt; gt; enlightenment-devel mailing list
 gt; gt; gt; enlightenment-devel@lists.sourceforge.net
 gt; gt; gt; 
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 gt; gt; gt;
 gt; gt;
 gt; gt;
 gt; 
 --
 gt; gt; Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 gt; gt; MVC, Windows 8 Apps, JavaScript and much more. Keep your skills 
 current
 gt; gt; with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 gt; gt; MVPs and experts. ON SALE this month only -- learn more at:
 gt; gt; http://p.sf.net/sfu/learnnow-d2d
 gt; gt; ___
 gt; gt; enlightenment-devel mailing list
 gt; gt; enlightenment-devel@lists.sourceforge.net
 gt; gt; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 gt; gt;
 gt;
 gt;
 gt;
 gt; --
 gt; ~Jeff Hoogland lt;http:gt;//jeffhoogland.com/gt;
 gt; Thoughts on Technology lt;http:gt;//jeffhoogland.blogspot.com/gt;, 
 Tech Blog
 gt; Bodhi Linux lt;http:gt;//bodhilinux.com/gt;, Enlightenment for your 
 Desktop
 gt;
 gt; 
 --
 gt; Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 gt; MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 gt; with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 gt; MVPs and experts. ON SALE this month only -- learn more at:
 gt; 

Re: [E-devel] E SVN: tasn IN trunk/efl: . cmakeconfig

2013-02-05 Thread thomasg
On Tue, Feb 5, 2013 at 5:19 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 Efl: Ship cmake configs (like pkg-config).

   This should make it easier for applications to use efl with cmake.
   It seems to work with my tests. It's ugly and redundant but it's the first
   step. Not all the components are supported at the moment.

 Author:   tasn
 Date: 2013-02-05 08:19:37 -0800 (Tue, 05 Feb 2013)
 New Revision: 83637
 Trac: http://trac.enlightenment.org/e/changeset/83637


Hi Tom,

may I ask what the point of this is?
Cmake has pkgconfig-support via FindPkgConfig, and it works fine for me.
Also it seems to be simpler to use than this, e.g.:
INCLUDE(FindPkgConfig)
pkg_check_modules(EINA REQUIRED eina)
include_directories(${EINA_INCLUDE_DIRS}

Regards,
--
thomasg

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: tasn IN trunk/efl: . cmakeconfig

2013-02-07 Thread thomasg
On Wed, Feb 6, 2013 at 11:14 AM, Tom Hacohen tom.haco...@samsung.com wrote:
 On 05/02/13 20:56, thomasg wrote:

 On Tue, Feb 5, 2013 at 5:19 PM, Enlightenment SVN
 no-re...@enlightenment.org wrote:

 Log:
 Efl: Ship cmake configs (like pkg-config).

This should make it easier for applications to use efl with cmake.
It seems to work with my tests. It's ugly and redundant but it's the
 first
step. Not all the components are supported at the moment.

 Author:   tasn
 Date: 2013-02-05 08:19:37 -0800 (Tue, 05 Feb 2013)
 New Revision: 83637
 Trac: http://trac.enlightenment.org/e/changeset/83637


 Hi Tom,

 may I ask what the point of this is?
 Cmake has pkgconfig-support via FindPkgConfig, and it works fine for me.
 Also it seems to be simpler to use than this, e.g.:
 INCLUDE(FindPkgConfig)
 pkg_check_modules(EINA REQUIRED eina)
 include_directories(${EINA_INCLUDE_DIRS}


 Yes. As I've said, at the moment it's quite horrible and uses pkg config, in
 the future it may not.

 Using cmake config files is cleaner for cmake users and also will be
 available on platforms that don't have pkg-config (once I fix it
 internally). At the moment it's just a convenience that saves unneeded
 duplication.

 I don't quite understand what you meant by: Also it seems to be simpler to
 use than this, 

 --
 Tom.


This wasn't meant as an offense, I was just familiar with your
previous work and all the FindE*.cmake files that seemed necessary,
and was wondering why the complexity was needed.
I can see now, that you really overhauled all this and now the cmake
files are not copy'n'pasted per project but shipped by the upstream
library instead, and that this fully replaces pkg-config, thus my
criticism isn't valid anymore.

Thanks,
--
thomasg

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [tools/enventor] master 01/01: adjust years for copying.

2014-03-02 Thread thomasg
Hi Hermet,

The commit message seems a bit off, as this doesn't change the years,
but the whole license.
Was the migration from GPLv3 to BSD intended here?

Regards,
thomasg

On Sun, Mar 2, 2014 at 5:03 PM, ChunEon Park her...@hermet.pe.kr wrote:
 hermet pushed a commit to branch master.

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

 commit 91070a505416471c49b8dafce0cc215aca648252
 Author: ChunEon Park her...@hermet.pe.kr
 Date:   Mon Mar 3 01:02:28 2014 +0900

 adjust years for copying.
 ---
  COPYING | 699 
 +++-
  1 file changed, 25 insertions(+), 674 deletions(-)

 diff --git a/COPYING b/COPYING
 index 94a9ed0..c60279d 100644
 --- a/COPYING
 +++ b/COPYING
 @@ -1,674 +1,25 @@
 -GNU GENERAL PUBLIC LICENSE
 -   Version 3, 29 June 2007
 -
 - Copyright (C) 2007 Free Software Foundation, Inc. http://fsf.org/
 - Everyone is permitted to copy and distribute verbatim copies
 - of this license document, but changing it is not allowed.
 -
 -Preamble
 -
 -  The GNU General Public License is a free, copyleft license for
 -software and other kinds of works.
 -
 -  The licenses for most software and other practical works are designed
 -to take away your freedom to share and change the works.  By contrast,
 -the GNU General Public License is intended to guarantee your freedom to
 -share and change all versions of a program--to make sure it remains free
 -software for all its users.  We, the Free Software Foundation, use the
 -GNU General Public License for most of our software; it applies also to
 -any other work released this way by its authors.  You can apply it to
 -your programs, too.
 -
 -  When we speak of free software, we are referring to freedom, not
 -price.  Our General Public Licenses are designed to make sure that you
 -have the freedom to distribute copies of free software (and charge for
 -them if you wish), that you receive source code or can get it if you
 -want it, that you can change the software or use pieces of it in new
 -free programs, and that you know you can do these things.
 -
 -  To protect your rights, we need to prevent others from denying you
 -these rights or asking you to surrender the rights.  Therefore, you have
 -certain responsibilities if you distribute copies of the software, or if
 -you modify it: responsibilities to respect the freedom of others.
 -
 -  For example, if you distribute copies of such a program, whether
 -gratis or for a fee, you must pass on to the recipients the same
 -freedoms that you received.  You must make sure that they, too, receive
 -or can get the source code.  And you must show them these terms so they
 -know their rights.
 -
 -  Developers that use the GNU GPL protect your rights with two steps:
 -(1) assert copyright on the software, and (2) offer you this License
 -giving you legal permission to copy, distribute and/or modify it.
 -
 -  For the developers' and authors' protection, the GPL clearly explains
 -that there is no warranty for this free software.  For both users' and
 -authors' sake, the GPL requires that modified versions be marked as
 -changed, so that their problems will not be attributed erroneously to
 -authors of previous versions.
 -
 -  Some devices are designed to deny users access to install or run
 -modified versions of the software inside them, although the manufacturer
 -can do so.  This is fundamentally incompatible with the aim of
 -protecting users' freedom to change the software.  The systematic
 -pattern of such abuse occurs in the area of products for individuals to
 -use, which is precisely where it is most unacceptable.  Therefore, we
 -have designed this version of the GPL to prohibit the practice for those
 -products.  If such problems arise substantially in other domains, we
 -stand ready to extend this provision to those domains in future versions
 -of the GPL, as needed to protect the freedom of users.
 -
 -  Finally, every program is threatened constantly by software patents.
 -States should not allow patents to restrict development and use of
 -software on general-purpose computers, but in those that do, we wish to
 -avoid the special danger that patents applied to a free program could
 -make it effectively proprietary.  To prevent this, the GPL assures that
 -patents cannot be used to render the program non-free.
 -
 -  The precise terms and conditions for copying, distribution and
 -modification follow.
 -
 -   TERMS AND CONDITIONS
 -
 -  0. Definitions.
 -
 -  This License refers to version 3 of the GNU General Public License.
 -
 -  Copyright also means copyright-like laws that apply to other kinds of
 -works, such as semiconductor masks.
 -
 -  The Program refers to any copyrightable work licensed under this
 -License.  Each licensee is addressed as you.  Licensees and
 -recipients may be individuals

Re: [E-devel] HELP WANTED: Distro/platform packaging status of efl and E

2015-04-08 Thread thomasg
On Wed, Apr 8, 2015 at 11:27 AM, Tom Hacohen tom.haco...@samsung.com wrote:
 On 08/04/15 10:20, Stefan Schmidt wrote:
 Hello.

 At the EFL Dev Day US during the talk from Lars he brought up the point
 that EFL is heavily outdated in many distros and platforms. While I
 instantly agree to this I wondered how bad it really is.

 I think as a developer as well as a user it makes sense for us to know
 what versions of EFL and friends are packaged in which distros and
 platforms. Thus I started to pull together a wiki page for it.

 https://phab.enlightenment.org/w/packaging_status/

 Its a tedious work and I only started today. Feel free to jump in and
 update the links and versions for your beloved distro. Please go with
 main package repositories first. You can add a line for a overlay/ppa if
 it is well maintained. When filling a new field please add the link as
 you can already see in existing entries. That way we have a page where
 we can easily look for the latest versions and update.

 My plan is to fill in more items over time (hoping for some
 crowdsourcing here) and run a quick update of versions numbers once a
 month (already set a calendar entry for it).

 I wrote latest for every package of Arch. It's too crazy to maintain
 it for Arch, and it's always up to date anyway.

If it's too crazy to update a wiki page, no wonder the maintainers
might find it crazy to do up-to-date packaging :P

 --
 Tom.



 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Skeleton licensing

2015-06-04 Thread thomasg
On Tue, Jun 2, 2015 at 11:08 AM, Tom Hacohen t...@osg.samsung.com wrote:
 On 02/06/15 00:22, Carsten Haitzler wrote:
 On Mon, 01 Jun 2015 14:39:16 +0100 Tom Hacohen t...@osg.samsung.com said:

 On 01/06/15 14:33, Andrew Williams wrote:
 Hi guys,

 In EDI I have packaged a clone of the skeleton project (so you don't have
 to be online to use the feature) and made a few small improvements. Today
 it was pointed out to me that it is GPLv2/3 licensed which is not very
 helpful to people wanting to use it.

 https://git.enlightenment.org/tools/skeleton.git

 My intent is to move this to BSD - does anyone have objections to this
 plan? Specifically I need a response from Cedric, Jérémy and Tom who have
 contributed to this project over the last 18 months.

 I have already changed elm_code to LGPL expecting it's inclusion into EFL
 or Elementary and I will look at the license of EDI itself later.

 I'm in favour of moving it to BSD. As I said on IRC, it's crazy it was
 created as GPL in the first place.

 i might even argue that skeletons should be public domain maybe? basically
 provide zero worries on license of an app you start making with edi - license
 choice is yours totally. that'd be the right way at least for core/common
 templates. perhaps very large/complex ones might come with more involved
 licenses... but the basic stuff... public domain.


 The problem with public domain is that it doesn't hold in all jurisdictions.

This can be avoided by using CC-0 which basically is a workaround for
this issue and should be safe to use.

 Anyhow, I renounce any copyright claims over the code in that repo. I
 assign all rights to the public domain, and in jurisdictions who don't
 allow that, I freely allow anyone to use it under the terms of the BSD
 license.

 --
 Tom.

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

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


Re: [E-devel] Terminology 0.9

2015-09-07 Thread thomasg
On Mon, Sep 7, 2015 at 10:49 AM, Stefan Schmidt <ste...@osg.samsung.com> wrote:
> Hello.
>
> On 06/09/15 23:28, Boris Faure wrote:
>> After many months polishing it, Terminology 0.9 is finally here!
>>
>> The tarballs can be found at:
>> https://download.enlightenment.org/rel/apps/terminology/terminology-0.9.0.tar.gz
>> https://download.enlightenment.org/rel/apps/terminology/terminology-0.9.0.tar.xz
>>
>>
>> This release introduces the following changes:
>>
>> - Right-click on selection to be able to copy/open it
>> - Add key binding to fullscreen Terminology
>> - Add meta/hyper to key bindings
>> - Add option to always show miniview
>> - Add option to disable terminology escape codes
>> - Add -a option to tyls to display hidden files
>> - tybg without arguments restores the default wallpaper
>> - Escape closes media popup
>> - Terminology works on solaris
>> - Font selector now displays previews with current theme colors
>> - Try to get mime type when displaying URLs
>> - Do not use : as word separator but trim it from word selections
>> - Improved resizing handling
>> - Various bug fixes
>>
>
> Great! Thanks for your continuous wok on this.
>
> regards
> Stefan Schmidt
>

I can only concur.

A small anecdote: Recently lots of stuff on my shell was broken. Since
I updated terminology shortly before that, I figured it would be the
culprit.
I then tried to start one of the terminal emulators I used before
terminology, mainly urxvt and xterm, only to notice that I didn't even
have them installed anymore, and haven't used them in years.
The problem turned out to be a broken ncurses install.

TLDR; Terminology is awesome, and the idea to use another terminal
emulator or even have one installed, isn't ever on my mind.

Thanks for working on terminology and keeping it in such a great state!

--
thomasg

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


Re: [E-devel] UI syntax, letter 2

2016-03-09 Thread thomasg
On Wed, Mar 9, 2016 at 3:44 PM, Simon Lees  wrote:

> 3 just messes with the musician in me that likes everything in multiples
> of 4.
>

https://upload.wikimedia.org/wikipedia/commons/transcoded/b/b6/Waltz.oggtheora.ogv/Waltz.oggtheora.ogv.480p.webm

Sorry, I just had to do this. :P
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111=/4140
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [apps/ephoto] master 01/01: Ephoto: Save thumbnails in $HOME/.thumbnails

2016-08-22 Thread thomasg
On Mon, Aug 22, 2016 at 11:54 PM, Stephen Houston <smhousto...@gmail.com>
wrote:

> The concern here with XDG is portability. Feel free to discuss. And go.
>
I understand that concern, but I don't think it is valid.
On linux freedesktop.org (XDG) standards are widely adhered to, and for
platforms that don't follow them it is as easy as keeping the old line
behind an "else".
Breaks nothing, works everywhere, and adds interoperability with other
linux tools which could avoid keeping multiple copys of thumbnails around.
There's nothing more involved but checking for a set environment variable.
Actually ephoto already includes efreet_mime support which initializes an
XDG support library, which is far more invasive than using the
XDG_CACHE_HOME env variable would be.

Although when using the xdg thumb spec, it would also be wise to use their
actual thumbnailing scheme, which is - in my opinion - reasonable, but I
don't know if you're interested in it.

All in all, I don't care _that_ much, I just usually prefer if applications
adhere to existing standards if these are reasonable -- which can be said
about the xdg thumbnailing spec imho.

If there's interest, I'd be willing to implement the spec and send a patch
for review.


>
> On Aug 22, 2016 4:49 PM, "thomasg" <tho...@gstaedtner.net> wrote:
>
>> On Mon, Aug 22, 2016 at 10:41 PM, Stephen okra Houston <
>> smhousto...@gmail.com> wrote:
>>
>>> okra pushed a commit to branch master.
>>>
>>> http://git.enlightenment.org/apps/ephoto.git/commit/?id=8134
>>> 71f9bd6048026b372b4b55b303a311d4335e
>>>
>>> commit 813471f9bd6048026b372b4b55b303a311d4335e
>>> Author: Stephen okra Houston <smhousto...@gmail.com>
>>> Date:   Mon Aug 22 15:41:28 2016 -0500
>>>
>>> Ephoto: Save thumbnails in $HOME/.thumbnails
>>> ---
>>>  src/bin/ephoto_thumbnailer.c | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/src/bin/ephoto_thumbnailer.c b/src/bin/ephoto_thumbnailer.c
>>> index 0fe190e..3ea8709 100644
>>> --- a/src/bin/ephoto_thumbnailer.c
>>> +++ b/src/bin/ephoto_thumbnailer.c
>>> @@ -88,7 +88,7 @@ main(int argc,
>>> ecore_file_init();
>>> ecore_ipc_init();
>>>
>>> -   snprintf(_thumbdir, PATH_MAX, "%s/.config/ephoto/thumbnails",
>>> getenv("HOME"));
>>> +   snprintf(_thumbdir, PATH_MAX, "%s/.thumbnails", getenv("HOME"));
>>> ecore_file_mkpath(_thumbdir);
>>>
>>> if (_e_ipc_init()) ecore_main_loop_begin();
>>>
>>> --
>>>
>>>
>>>
>> Hi okra,
>>
>> I think it would be best here to comply to the existing XDG standard
>> regarding to thumbnail caching.
>> https://specifications.freedesktop.org/thumbnail-spec/thumbn
>> ail-spec-latest.html#DIRECTORY
>> Basically just check if XDG_CACHE_HOME exists, if so put it there, else
>> keep it like you have it now.
>>
>> Regards,
>>
>> thomasg
>>
>
--
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [apps/ephoto] master 01/01: Ephoto: Save thumbnails in $HOME/.thumbnails

2016-08-22 Thread thomasg
On Mon, Aug 22, 2016 at 10:41 PM, Stephen okra Houston <
smhousto...@gmail.com> wrote:

> okra pushed a commit to branch master.
>
> http://git.enlightenment.org/apps/ephoto.git/commit/?id=
> 813471f9bd6048026b372b4b55b303a311d4335e
>
> commit 813471f9bd6048026b372b4b55b303a311d4335e
> Author: Stephen okra Houston <smhousto...@gmail.com>
> Date:   Mon Aug 22 15:41:28 2016 -0500
>
> Ephoto: Save thumbnails in $HOME/.thumbnails
> ---
>  src/bin/ephoto_thumbnailer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/bin/ephoto_thumbnailer.c b/src/bin/ephoto_thumbnailer.c
> index 0fe190e..3ea8709 100644
> --- a/src/bin/ephoto_thumbnailer.c
> +++ b/src/bin/ephoto_thumbnailer.c
> @@ -88,7 +88,7 @@ main(int argc,
> ecore_file_init();
> ecore_ipc_init();
>
> -   snprintf(_thumbdir, PATH_MAX, "%s/.config/ephoto/thumbnails",
> getenv("HOME"));
> +   snprintf(_thumbdir, PATH_MAX, "%s/.thumbnails", getenv("HOME"));
> ecore_file_mkpath(_thumbdir);
>
> if (_e_ipc_init()) ecore_main_loop_begin();
>
> --
>
>
>
Hi okra,

I think it would be best here to comply to the existing XDG standard
regarding to thumbnail caching.
https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html#DIRECTORY
Basically just check if XDG_CACHE_HOME exists, if so put it there, else
keep it like you have it now.

Regards,

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


Re: [E-devel] eina_log and threads

2016-10-29 Thread thomasg
On Sat, Oct 29, 2016 at 4:41 PM, Felipe Magno de Almeida <
felipe.m.alme...@gmail.com> wrote:

> On Sat, Oct 29, 2016 at 3:23 AM, Carsten Haitzler 
> wrote:
> > On Sat, 29 Oct 2016 01:50:21 -0200 Gustavo Sverzut Barbieri
> >  said:
>
> [snip]
>
> >> agreed, that's why it's nice to know if it was done in a thread or not.
> >>
> >> as for long lines, we already have separate vars that disable a big
> >> part of it... maybe offer an EINA_LOG_SHORTLINE=1 that disables them
> >> all?
> >
> > that makes sense. making thread info optional but the rest all there by
> default
> > makes no sense to me. having a "short line" that maybe just reports
> filename
> > +line number would be useful (that's enough to track it down in most
> cases).
> > remove the full path from the file too- just the last file after the
> last / if
> > there are /'s. :)
> >
> > and maybe a minimal which is just "ERR: xxx" where xxx is the log string
> > content and no file/line/process etc.
> >
> > but thread info imho belongs together with pid and other such info
> anyway.:)
>
> Considering that reproducing can be very difficult sometimes, I rather
> have the maximum information possible and deal with "pollution" later.
>
> > --
> > - Codito, ergo sum - "I code, therefore I am" --
> > The Rasterman (Carsten Haitzler)ras...@rasterman.com
>
>
> Regards,
> --
> Felipe Magno de Almeida


Maybe I should explain here I'm coming from: I'm actually still using some
command line tools written in EFL (I wrote or started them before the
merge, when EFL was still a reasonable choice for that), and one of my
libraries uses eina_log.
In this case it is, albeit rare, not unlikely, that a user will see log
messages (certainly for errors).
I realize that this is a non-issue for graphical apps started in a
graphical session.

I suppose in an ideal world, the basic log messages would appear on the
command line, and all the details would be logged to journald, but we're
not there yet :)
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] eina_log and threads

2016-10-28 Thread thomasg
On Fri, Oct 28, 2016 at 4:08 AM, Carsten Haitzler <ras...@rasterman.com>
wrote:

> On Thu, 27 Oct 2016 09:16:02 -0200 Gustavo Sverzut Barbieri
> <barbi...@gmail.com> said:
>
> > Hi all,
> >
> > eina_log has a feature to print the thread that generated the log as
> > in "[T:XX]" prefix, which is handy during development or debug.
> >
> > But that is off by default and the only way to enable is using
> > eina_log_threads_enable() call.
> >
> > So:
> >
> >  1) could we make that an envvar to enable/disable it?
>
> i see no reason why not
>
> >  2) could we default to TRUE if no envvar was used?
>
> hmmm we already putr pid, process, file, line number, function... a T:0x3f
> wouldnt really hurt. of an 80 wide terminal 100 chars is just this header
> already. may as well start making this multi-line anyway. :)
>

While any extra debugging info is nice, and I like that it can be
controlled at runtime, I think it should be off by default.
Log output that contains only really necessary information is much more
readable, and most of the time, thread information will not be at all
relevant nor useful.

Logging isn't necessarily used for program debugging, it mainly is used for
error reporting, which may be any number of errors, be it user or input
errors.
Threading information is exclusively useful for debugging, and I do think
debugging should always be off by default and only activated when actually
needed.

To be honest, I think eina_log default output is already a little bit too
cluttered and it may indeed already be useful to make it a seperate line
header.

That said, I love eina_log and it is certainly one of my favorite EFL
features!

--
thomasg
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel