[e-users] Patch: prevent segv if pulseaudio crashes

2014-05-10 Thread P Purkayastha

Hi Flavio,

  Here is another patch to prevent segfaults in E if pulseaudio crashes 
and we try to interact with epulse. I am not sure what causes pulseaudio 
to crash in my system, but it seems to happen once in a while. I 
installed pulseaudio only a week ago, so I am unfamiliar with how it 
works and why it might be even prone to crashes, to begin with.


  Perhaps you have a better idea of the patch:

1. if a smaller change is possible that checks whether pulseaudio is 
running, and/or
2. displays a warning to the user instead of silently ignoring the error 
and returning, as I have done in the patch.



  In case sourceforge strips the attachment, it can be accessed from here:
https://github.com/ppurka/system-patches/blob/master/x11-plugins/epulse/epulse.patch

 Regards,
  basu.
--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Strange icon display in iBox.

2014-05-10 Thread The Rasterman
On Sat, 03 May 2014 12:27:38 +0200 Pierre Couderc pie...@couderc.eu said:

 I have 2 desktop files vmware-player-XP.desktop and vmware-player-W8.desktop
 
 They appear without problem in the iBar,each one with its own icon.
 I start vmware-player-W8.desktop, iconize it, and it appears in the ibox 
 but with the icon of vmware-player-XP.desktop. (instead of 
 vmware-player-W8.png).
 
 I do not understand what may occur.

because icons are not provided by the app but are matched. matched by a seies
of guesses, each one getting less accurate as you fall back. the mo9st accurate
is via netwm startup id, and this is an env var set when app is launched. it is
the job of the app to set the string content pf that env var as a property on
the window. my bet is vmware doesnt do this, so e is falling back to matching
commandline executable (vmware) which is ambiguous. it may match class name
too. so... may a copy or symlink and use a different executable or complain to
vmware about netwm startup id.

to check the startup id:

$ xprop | grep ID
_NET_STARTUP_ID(UTF8_STRING) = E_START|133

(and click on the window you want to check - notice efl apps do this).

 Here is significant data :
 
 
 
 root@pcouderc:/usr/share/applications# cat vmware-player-XP.desktop
 [Desktop Entry]
 Encoding=UTF-8
 Name=VMware XP
 Comment=Run XP
 Exec=/usr/bin/vmplayer /var/vm/TOLL-XPVM/TOLL-XPVM.vmx
 Terminal=false
 Type=Application
 Icon=vmware-player-XP
 StartupNotify=true
 Categories=System;
 MimeType=application/x-vmware-vm;application/x-vmware-enc-vm;
 
 root@pcouderc:/usr/share/applications# cat vmware-player-W8.desktop
 [Desktop Entry]
 Encoding=UTF-8
 Name=VMware W8
 Comment=Run W8
 Exec=/usr/bin/vmplayer /var/vm/TOLL-W8VM/TOLL-XPVM.vmx
 Terminal=false
 Type=Application
 Icon=vmware-player-W8.png
 StartupNotify=true
 Categories=System;
 MimeType=application/x-vmware-vm;application/x-vmware-enc-vm;
 
 root@pcouderc:/usr/share/icons/hicolor/32x32/apps# locate vmware-player- 
 | grep
 png
 /usr/share/icons/hicolor/48x48/apps/vmware-player-W8.png
 /usr/share/icons/hicolor/48x48/apps/vmware-player-XP.png
 
 
 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
 unparalleled scalability from the best Selenium testing platform available.
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 enlightenment-users mailing list
 enlightenment-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-users
 


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


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] IBar e 0.18.5 not showing icons

2014-05-10 Thread The Rasterman
On Sat, 3 May 2014 22:00:41 +0200 meine trial...@gmx.com said:

 @Carsten, Jérémy,
 
 TNX for your replies!
 
 have to verify on the other account on my box, but on my own login there are
 some icons missing too, although not in the IBar.
 
 meanwhile on the 'missing icons account' I hard-setted the icons in the IBar
 by choosing the right icon in /usr/share/icons/hicolor/48x48/apps/. this
 works for the IBar but not for the IBox.
 
  are the icons in the Applications menu OK ?
 
 not in all instances, some are OK, some icons are missing
 
  have you configured an icon theme?
  
  settings - look - application theme - [Icons]
 
 didn't set an icon theme. setting one seems to give icons in the Applications
 menu when Enable icon theme for Enlightenment is checked where previously
 there was none. 
 
 I noticed that the icons on the desktop change to the Gnome, Mist etc
 theme when checked. there seems to be no Enlightenment theme though and I
 like the Enlightenment desktop icons for external drives, home, root. 
 
 is there an icon theme dedicated to Enlightenment?
 
 have to figure out both your suggestions on the second user account. I'll be
 back to report!

trust me - it'll work. and don't enable enable icon theme for enlightenment
if you want to keep e's icons for files as you like above. just choose an cion
theme that gets you all the icons and you'll be fine.

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


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] What's the right way to input text in edje application?

2014-05-10 Thread The Rasterman
On Tue, 6 May 2014 02:47:46 +0800 Jacky Lau i900...@gmail.com said:

 Hi, all. I'm writing an application base on library edje. In my
 application, the program need to get some input from user, for example, IP
 address, URL, Password. I'm new to library edje, so I want to know what's
 the right way to input text in edje application. Are there any examples out
 there?

that's why we made elementary for you... to make this easy. :)

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


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL based IDE project

2014-05-10 Thread The Rasterman
On Tue, 6 May 2014 23:40:48 -0300 Wido wido...@gmail.com said:

 I liked the milestones. I think this is a great idea for lowering the entry
 barrier.
 
 I think 'Cross reference for c, c++ and some scripting language' should be
 explicit with python, since is the most supported efl language. Also, I

unless the python bindings start using eloian, that will not remain the case
for long. eolian currently has code for generating c++ bindings (it's being
reviewed and merged over the past weeks and will come in fulling in the coming
weeks). soon we'll have a full luajit runtime with complete bindings (well
anything that is an eo class/method/property etc.). so soon lua will be far
better supported.

the hint here is... use eolian and make a bindings generator. then it can be
complete and keep up automatically as interfaces etc. are added.

 think that 'search' should be expanded into 'search' (for current
 directory), 'search and replace' (plain text or regex) and 'find in files'
 (like a grep).
 
 my 2 cents =)
 
 
 2014-05-02 10:48 GMT-03:00 Carsten Haitzler ras...@rasterman.com:
 
  On Sun, 27 Apr 2014 19:21:28 +0100 Andy Williams a...@andywilliams.me
  said:
 
  awesome. how... organized! :) i think i'll just add emacs mode to the mode
  line... :)
 
   Hi,
  
   So I thought it was about time I posted about the EDI project that I'm
   working on. The Dev list has seen this before but I thought it was a
   good time to post on this list too.
   In an attempt to learn EFL whilst reducing barriers to new devs I wanted
   to create an IDE for / using EFL.
  
   And i've just started phase 2 - a code aware editor.
   What this means is we have basic editing but also integrated build
   functionality too.
   You can see / contribute to the TODO list / plan
   here:https://phab.enlightenment.org/w/edi/.
  
   I'd be delighted to get feedback or suggestions on what's there or
   what's planned.
   You can grab the code
   here:http://git.enlightenment.org/devs/ajwillia-ms/edi.git
  
   Cheers,
   Andy
  
   -
   Andy Williams
   blog:http://ajwillia.ms http://ajwillia.ms/
   web:http://andywilliams.me http://andywilliams.me/
  
  
  --
   Start Your Social Network Today - Download eXo Platform
   Build your Enterprise Intranet with eXo Platform Software
   Java Based Open Source Intranet - Social, Extensible, Cloud Ready
   Get Started Now And Turn Your Intranet Into A Collaboration Platform
   http://p.sf.net/sfu/ExoPlatform
   ___
   enlightenment-users mailing list
   enlightenment-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-users
  
 
 
  --
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com
 
 
 
  --
  Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
  Instantly run your Selenium tests across 300+ browser/OS combos.  Get
  unparalleled scalability from the best Selenium testing platform available.
  Simple to use. Nothing to install. Get started now for free.
  http://p.sf.net/sfu/SauceLabs
  ___
  enlightenment-users mailing list
  enlightenment-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-users
 
 
 
 
 -- 
 Wido
 --
 Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
 #149; 3 signs your SCM is hindering your productivity
 #149; Requirements for releasing software faster
 #149; Expert tips and advice for migrating your SCM now
 http://p.sf.net/sfu/perforce
 ___
 enlightenment-users mailing list
 enlightenment-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-users
 


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


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Adapt canvas content when the canvas is resized

2014-05-10 Thread The Rasterman
On Mon, 05 May 2014 09:06:34 +0200 jcaz...@sirlan.com said:

 Hello,
 
 Thank you for your response.
 
 However with the callback way, content of the canvas will not be resized  
 automatically.

that's your job in the callback - to resize it accordingly.  elm provides
widgets and infra that does this for you (how do you thing resizing of a window
magically adjust content properly?)

 When the canvas is resized (according to the TV resolution), I would like  
 that its content be resized automatically.
 
 Is there a way in Evas/Evas-Core to intercept the content (pixels) of a  
 canvas before it's send to the framebuffer (in order to apply an alpha to  
 it) ?

no. alpha is added based on content if you enable alpha and the engine supports
an alpha destination (gl-x11, software-x11, wayland_egl and wayland_shm all
support shm destinations). ie withe these, where there is no content, it is
transparent.

 Thank you,
 Best regards
 
 Le Fri, 02 May 2014 15:41:58 +0200, Carsten Haitzler  
 ras...@rasterman.com a écrit:
 
  On Tue, 29 Apr 2014 09:56:00 +0200 jcaz...@sirlan.com said:
 
  Hello,
 
  Is there a way in Evas/Ecore to automatically adapt the canvas content
  (size of each Evas object, font size, ...) when the canvas is resized ?
  Does this feature is supported in Evas/Ecore ? How to achieve that?
 
  Typical use case: the user change the resolution of the screen.
 
  Thank you for your help,
 
  if using ecore_evas - there is a resize callback on the ecore_evas./ if  
  using
  elementary - see the docs for elm_win - there is a resize event callback  
  on the
  window object.
 
  ecore_evas:
 
ecore_evas_callback_resize_set(ee, callback_resize);
 
  elm:
 
evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE,  
  callback_resize,
  NULL);
 
 
 


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


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Terminology and EFL 1.10.0 beta 1

2014-05-10 Thread The Rasterman
On Thu, 08 May 2014 19:11:40 +0200 ADA ada...@gmail.com said:

 
 Hi,
 
  I've been playing around with the upcoming EFL/Elementary v1.10.0 beta
 1 and e19 release and it seems to be promising. It's definitely faster
 than the current stable version (probably due to the compositing
 rewrite) on my machine. :-)
  Unfortunately, Terminology doesn't compile with this version. (I tried
 the released v0.5.0 and GIT HEAD too.) I was able to patch it, so my
 terminal emulator is usable again. It works for me, but your mileage may
 vary. :-)
 
  If I screwed up something, corrections are welcomed from devs more
 familiar with the changes, than me.

it should build with 1.10 - what did you change? why didn't it build?

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


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] E CPU usage while an application is not responsive

2014-05-10 Thread The Rasterman
On Thu, 8 May 2014 12:34:33 +1000 Daniel Kasak d.j.kasak...@gmail.com said:

 Hi all.
 
 I've noticed that when any application goes 'non responsive', and E
 displays the little spinning ( whatever it is ) to indicate the app is non
 responsive ... E's CPU usage goes to 100% on one core.
 
 As soon as the app becomes responsive again, CPU usage returns to normal.
 
 Surely this isn't all being used to animate the little spinning thing? Is
 something else going on in there?

sudo perf top

find out... i bet you will find the time is being spend inside kernel and/or gl
driver somewhere (mesa?). i've seen this before once on nvidia drivers - they
would spinlock waiting for buffer objects to map them. this wait would consume3
100% cpu while waiting inside the driver.

i have seen the mesa intel drivers consume a fair bit of cpu copying data
around interally.

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


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users