Re: [E-devel] E SVN: ngc891 IN trunk/packaging/slackware: . enlightenment eyesight

2012-07-25 Thread David Seikel
On Tue, 24 Jul 2012 21:53:07 -0700 Enlightenment SVN
no-re...@enlightenment.org wrote:

 Log:
 packaging/slackware:
   
   - eeze mount doesn't fit well anymore with Slackware current and
 udisks backend seems to work pretty well now, so enable it by default.
   - eyesight doesn't build anymore without poppler and mupdf needs
 extra dependency, so disable it for now.
   - makes thing compile fater with make -j5.

Um, is this for general use, or specific to your build machine?  -j5
might actually slow things down for people with less than 4 cores.
It's generally better to actually detect the number of cores.

Make's -j option can also be memory bound, but in my experience EFL
does not have that problem.  In another unrelated project, using the
number of free GB instead of the number of cores plus one for the -j
option is better, as otherwise it slows down a lot when it starts
thrashing swap.

On the other hand, last time I experimented with make -j on EFL, it did
not make any measurable difference beyond 2 cores and 2GB.  Make -j3 to
make -j12 ran at about the same speeds.  Everything is so small it
barely gets a chance to do much good before it's already finished with
any one source file, plus the bulk of the time is spent doing non make
things.

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


signature.asc
Description: PGP signature
--
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] [Patch] [Ejde] make cursor follow mouse movement in mouse_move_cb function

2012-07-25 Thread Myung-Jae Lee
Dear all,

In an EXPLICIT mode entry, when we press button 1 and move mouse over the entry 
the cursor doesn't follow the mouse until we release the button.
When we release mouse button (in the mouse_up_cb function) entry cursor is 
moved to the mouse point by calling evas_textblock_cursor_char_coord_set 
function and there is no way to cancel moving cursor while we move mouse.
So I think, when the button 1 is pressed and event_flags is not ON_HOLD, it 
would be better the cursor follows the mouse point in the mouse_move_cb 
function.
(Actually this would make sense more with the entry magnifier feature.)

I attached patch files for above operation, but there are problems in the 
current entry to test it.
 - in an EXPLICIT mode entry, EVAS_EVENT_FLAG_ON_HOLD event flag is not set 
while entry is scrolled unlike the DEFAULT mode desktop entry.
 - in a DEFAULT mode desktop entry, even ON_HOLD event flag is set, scrolling 
is conflicted with entry selecting operation, that makes entry in a scroller 
bounce so many times.

I checked these bugs in the latest svn and they are not related to this patch.
So, Please review this and apply it if it's acceptable.

Regards,
--
Myungjae Lee

edje_entry.movingcursor.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: ngc891 IN trunk/packaging/slackware: . enlightenment eyesight

2012-07-25 Thread Jérôme Pinot
On 07/25/12 00:03, Nick Hughart wrote:
 On Tue, 24 Jul 2012 21:53:07 -0700
 Enlightenment SVN no-re...@enlightenment.org wrote:
 
  Log:
  packaging/slackware:

- eeze mount doesn't fit well anymore with Slackware current and
  udisks backend seems to work pretty well now, so enable it by default.
 
 As a note about using udisks.  If policykit isn't setup to allow disks
 to be mounted by everyone without authentication, the mount will fail.

It works out of the box with the latest Slackware -current

 I'm working on an auth agent for policykit now so this won't be an
 issue soon enough.
 

-- 
Jérôme Pinot
http://ngc891.blogdns.net/


signature.asc
Description: Digital signature
--
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: ngc891 IN trunk/packaging/slackware: . enlightenment eyesight

2012-07-25 Thread Jérôme Pinot
On 07/25/12 18:04, David Seikel wrote:
 On Tue, 24 Jul 2012 21:53:07 -0700 Enlightenment SVN
 no-re...@enlightenment.org wrote:
 
  Log:
  packaging/slackware:

- eeze mount doesn't fit well anymore with Slackware current and
  udisks backend seems to work pretty well now, so enable it by default.
- eyesight doesn't build anymore without poppler and mupdf needs
  extra dependency, so disable it for now.
- makes thing compile fater with make -j5.
 
 Um, is this for general use, or specific to your build machine?  -j5
 might actually slow things down for people with less than 4 cores.
 It's generally better to actually detect the number of cores.

Well, this is svn, we can not talk about general use. It speeds up
compilation for me, which matters because I build everyday and make the
integration/test for SlackE17. Released script are different.

Anyway, Patrick Volkerding builds most of Slackware with a default of
make -j7 and that is what a common Slacker will find in an official
SlackBuild. They use to read the script before launching it :-)
I could have made it tunable, though, but it's actually faster and less
error prone to change a single digit in the functions file than passing
an env variable on the command line.

 Make's -j option can also be memory bound, but in my experience EFL
 does not have that problem.  In another unrelated project, using the
 number of free GB instead of the number of cores plus one for the -j
 option is better, as otherwise it slows down a lot when it starts
 thrashing swap.
 
 On the other hand, last time I experimented with make -j on EFL, it did
 not make any measurable difference beyond 2 cores and 2GB.  Make -j3 to
 make -j12 ran at about the same speeds.  Everything is so small it
 barely gets a chance to do much good before it's already finished with
 any one source file, plus the bulk of the time is spent doing non make
 things.
 
 -- 
 A big old stinking pile of genius that no one wants
 coz there are too many silver coated monkeys in the world.


-- 
Jérôme Pinot
http://ngc891.blogdns.net/


signature.asc
Description: Digital signature
--
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] bugs to clear up before release

2012-07-25 Thread Daniel Juyung Seo
weird..
elm - genlist decorate all mode on and scroll - garbage items left around
This issue is reproduced even with elementary 1.0.
We released 1.0 with this bug? Or is it affected by other libraries?

Daniel Juyung Seo (SeoZ)

On Sat, Jul 21, 2012 at 10:01 AM, Daniel Juyung Seo
seojuyu...@gmail.com wrote:
 I will take care of genlist parts and + more if I can.

 Daniel Juyung Seo (SeoZ)

 On Sat, Jul 21, 2012 at 2:02 AM, Leandro Pereira lean...@profusion.mobi 
 wrote:
 On 07/20/2012 06:29 AM, Carsten Haitzler (The Rasterman) wrote:
 i have just gone through elementary test and elm has a LOAD of bugs - almost
 all of them new since last release. here is my current efl buglist in 
 short:
 can people when they get time look at these and work on fixing them? :)

 bugs:

 elm - popup with items crashes




 Leandro

 --
 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


Re: [E-devel] E SVN: lucas IN trunk/e_dbus: . src/bin

2012-07-25 Thread Vincent Torri
is it really necessary to have it as an option, and not force its build ?

Vincent

On Wed, Jul 25, 2012 at 4:37 AM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 e_dbus: Add performance application



   Patch by: Jos?\195?\169 Roberto de Souza  zehortig...@profusion.mobi



 Author:   lucas
 Date: 2012-07-24 19:37:35 -0700 (Tue, 24 Jul 2012)
 New Revision: 74364
 Trac: http://trac.enlightenment.org/e/changeset/74364

 Added:
   trunk/e_dbus/src/bin/performance.c
 Modified:
   trunk/e_dbus/configure.ac trunk/e_dbus/src/bin/Makefile.am

 Modified: trunk/e_dbus/configure.ac
 ===
 --- trunk/e_dbus/configure.ac   2012-07-25 02:25:35 UTC (rev 74363)
 +++ trunk/e_dbus/configure.ac   2012-07-25 02:37:35 UTC (rev 74364)
 @@ -124,7 +124,12 @@
 [enable_eukit=$enableval],
 [enable_eukit=${want_eukit}])

 +AC_ARG_ENABLE([performance_test],
 +   [AC_HELP_STRING([--disable-performance_test], [Disable performance 
 build])],
 +   [enable_performance_test=$enableval],
 +   [enable_performance_test=${want_eukit}])

 +
  ### Checks for programs

  AC_PROG_CC
 @@ -191,6 +196,7 @@
  AM_CONDITIONAL([BUILD_ENOTIFY],  [test x${enable_enotify}  = xyes])
  AM_CONDITIONAL([BUILD_EOFONO],   [test x${enable_eofono}   = xyes])
  AM_CONDITIONAL([BUILD_EUKIT],[test x${enable_eukit}= xyes])
 +AM_CONDITIONAL([BUILD_PERFORMANCE_TEST],[test 
 x${enable_performance_test}= xyes])

  # Dependencies for the binaries

 @@ -203,6 +209,7 @@
  EFL_ENABLE_BIN([edbus-notify-test], [${enable_enotify}])
  EFL_ENABLE_BIN([edbus-ofono-test], [${enable_eofono}])
  EFL_ENABLE_BIN([edbus-ukit-test], [${enable_eukit}])
 +EFL_ENABLE_BIN([edbus-performance-test], [${enable_performance_test}])

  if test x${have_edbus_test} = xyes ; then
 PKG_CHECK_MODULES([EDBUS_TEST],
 @@ -267,7 +274,14 @@
[have_edbus_ukit_test=no])
  fi

 +if test x${have_edbus_performance_test} = xyes ; then
 +   PKG_CHECK_MODULES([EDBUS_PERFORMANCE_TEST],
 +  [ecore = 1.2.0 eina = 1.2.0 dbus-1 = 0.62 ecore-evas = 1.2.0 
 elementary],
 +  [have_edbus_performance_test=yes],
 +  [have_edbus_performance_test=no])
 +fi

 +
  ### Checks for header files


 @@ -373,6 +387,7 @@
  echo
  echo EDbus test.: $have_edbus_test
  echo EDbus client test..: $have_edbus_test_client
 +echo EDbus performance..: $have_edbus_performance_test
  echo EBluez test: $have_edbus_bluez_test
  echo EConnman (0.7x)test: $have_edbus_connman0_7x_test
  echo ENotify Daemon test: $have_edbus_notification_daemon_test

 Modified: trunk/e_dbus/src/bin/Makefile.am
 ===
 --- trunk/e_dbus/src/bin/Makefile.am2012-07-25 02:25:35 UTC (rev 74363)
 +++ trunk/e_dbus/src/bin/Makefile.am2012-07-25 02:37:35 UTC (rev 74364)
 @@ -43,6 +43,10 @@
  bin_PROGRAMS += e_dbus_ukit_test
  endif

 +if BUILD_EDBUS_PERFORMANCE_TEST
 +bin_PROGRAMS += e_dbus_performance
 +endif
 +
  noinst_PROGRAMS =

  if BUILD_EDBUS_CONNMAN0_7X_TEST
 @@ -167,3 +171,14 @@
  $(top_builddir)/src/lib/ukit/libeukit.la \
  @EDBUS_UKIT_TEST_LIBS@
  endif
 +
 +if BUILD_EDBUS_PERFORMANCE_TEST
 +e_dbus_performance_SOURCES = performance.c
 +e_dbus_performance_CFLAGS = \
 +-I$(top_srcdir)/src/lib/dbus \
 +@EDBUS_PERFORMANCE_TEST_CFLAGS@
 +e_dbus_performance_LDADD = \
 +$(top_builddir)/src/lib/dbus/libedbus.la \
 +@EDBUS_PERFORMANCE_TEST_LIBS@
 +endif
 +


 --
 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-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

--
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 for endianness conversion

2012-07-25 Thread The Rasterman
On Tue, 24 Jul 2012 07:31:28 -0400 (EDT) david.obo...@aliceadsl.fr said:

if you can find out why evas is using the wrong format - that'll be useful. i
dont know what fbset output means. :)

 The color format is wrong, but now, I don't know if it's our framebuffer or
 evas the problem. Except for this point, all runs fine (I run Enna on my
 STB). I'm right to make this patch, I will work this afternoon on this
 
 - Mail original -
 De: Carsten Haitzler ras...@rasterman.com
 À: david oboeuf david.obo...@aliceadsl.fr
 Cc: Enlightenment developer list enlightenment-devel@lists.sourceforge.net
 Envoyé: Mardi 24 Juillet 2012 11:39:42
 Objet: Re: [E-devel] Patch for endianness conversion
 
 On Tue, 24 Jul 2012 05:34:06 -0400 (EDT) david.obo...@aliceadsl.fr said:
 
  Mea Culpa, I haven't see it's already make in evas_common.h with the macros.
  It's a problem with my platform.
 
 no worries - happy to help out. if evas's color format choosing is wrong -
 please let us know - or ecore-evas. check there. the 24bpp support is almost
 never used so its never tested in real life.
 
 nb - the converter COULD be faster by handling 4 pixels at once packing them
 into 32bit registers (well just vars - registers will be handled by the
 compiler) and writing out whole ints at a time (read 4 pixels, write 3 ints
 which contain 4 pixels). THEN endianess WOULD matter. :) you'd be right to
 want to patch. :) also if we had mmx/sse asm to do this too.
 
  Thanks
  
  - Mail original -
  De: Carsten Haitzler ras...@rasterman.com
  À: Enlightenment developer list
  enlightenment-devel@lists.sourceforge.net Cc: david oboeuf
  david.obo...@aliceadsl.fr Envoyé: Mardi 24 Juillet 2012 11:27:50
  Objet: Re: [E-devel] Patch for endianness conversion
  
  On Tue, 24 Jul 2012 05:21:08 -0400 (EDT) david.obo...@aliceadsl.fr said:
  
   I don't think so, the source is 32bit, so we advance 4 bytes (for the
   source) and we choose 1 bytes for each color (and write it in the
   destination), the endianness make sens when we write from source to
   destination.
  
  those R_VAL etc. macros handle edianess already - evas's rgb vormat is fixed
  in memory. per pixel its an int (4 bytes) with MSB being A, LSB being B. if
  you address it as an int and bitshift u never have to care about endianness.
  if u access byte by byte you do. the output is byte-based. you swapped the
  output in your patch and as such there are 2 diferent routines to deal with
  the 2 orderings for output - RGB or BGR (byte-by-byte order).
  
   here is the RGBA result of fbset:
  rgba 8/16,8/8,8/0,0/0
   
   and evas detect a RGB format
   
   - Mail original -
   De: Carsten Haitzler ras...@rasterman.com
   À: Enlightenment developer list
   enlightenment-devel@lists.sourceforge.net Cc: david oboeuf
   david.obo...@aliceadsl.fr Envoyé: Mardi 24 Juillet 2012 10:27:44
   Objet: Re: [E-devel] Patch for endianness conversion
   
   On Tue, 24 Jul 2012 03:32:25 -0400 (EDT) david.obo...@aliceadsl.fr said:
   
Hi everybody,

  I work actually on a set-top-box little endian with a 24-bit depth
framebuffer (evas version 1.2.1). I noticed there are no conversion
between little endian and big endian (my color was inverted). I propose
a patch to handle the endianness for this depth (I test only the
evas_common_convert_rgba_to_24bpp_rgb_888 fonction).
   
   hmm this is wrong. as its writing 1 byte at a time and advancing 3 bytes
   a time this has nothing to do with endianess. your 24bit framebuffer
   (unusual these days) is literally BGR nor RGB. not an endianess matter
   (it would be if we were writing int's (32bits) at a time). :)  ie uw ant
   to be using
   
   evas_common_convert_rgba_to_24bpp_rgb_888()
   
   instead of
   
   evas_common_convert_rgba_to_24bpp_bgr_888()...
   
   or the other way around - i have no idea which one is being used in your
   case
   - but something is telling the evas convert subsystem to use  the wrong
   24bpp format for your hardware. :)
   
   -- 
   - Codito, ergo sum - I code, therefore I am --
   The Rasterman (Carsten Haitzler)ras...@rasterman.com
   
   
   --
   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
  
  
  -- 
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com
  
 
 
 -- 
 - Codito, ergo sum - I code, 

Re: [E-devel] Patch for endianness conversion

2012-07-25 Thread david . oboeuf
Hi,

  Ok, I try to find out the root of the problem. I've also made a patch to 
speed up the conversion from rgba to rgb in 24bpp.  

- Mail original -
De: Carsten Haitzler ras...@rasterman.com
À: david oboeuf david.obo...@aliceadsl.fr
Cc: Enlightenment developer list enlightenment-devel@lists.sourceforge.net
Envoyé: Mercredi 25 Juillet 2012 12:07:40
Objet: Re: [E-devel] Patch for endianness conversion

On Tue, 24 Jul 2012 07:31:28 -0400 (EDT) david.obo...@aliceadsl.fr said:

if you can find out why evas is using the wrong format - that'll be useful. i
dont know what fbset output means. :)

 The color format is wrong, but now, I don't know if it's our framebuffer or
 evas the problem. Except for this point, all runs fine (I run Enna on my
 STB). I'm right to make this patch, I will work this afternoon on this
 
 - Mail original -
 De: Carsten Haitzler ras...@rasterman.com
 À: david oboeuf david.obo...@aliceadsl.fr
 Cc: Enlightenment developer list enlightenment-devel@lists.sourceforge.net
 Envoyé: Mardi 24 Juillet 2012 11:39:42
 Objet: Re: [E-devel] Patch for endianness conversion
 
 On Tue, 24 Jul 2012 05:34:06 -0400 (EDT) david.obo...@aliceadsl.fr said:
 
  Mea Culpa, I haven't see it's already make in evas_common.h with the macros.
  It's a problem with my platform.
 
 no worries - happy to help out. if evas's color format choosing is wrong -
 please let us know - or ecore-evas. check there. the 24bpp support is almost
 never used so its never tested in real life.
 
 nb - the converter COULD be faster by handling 4 pixels at once packing them
 into 32bit registers (well just vars - registers will be handled by the
 compiler) and writing out whole ints at a time (read 4 pixels, write 3 ints
 which contain 4 pixels). THEN endianess WOULD matter. :) you'd be right to
 want to patch. :) also if we had mmx/sse asm to do this too.
 
  Thanks
  
  - Mail original -
  De: Carsten Haitzler ras...@rasterman.com
  À: Enlightenment developer list
  enlightenment-devel@lists.sourceforge.net Cc: david oboeuf
  david.obo...@aliceadsl.fr Envoyé: Mardi 24 Juillet 2012 11:27:50
  Objet: Re: [E-devel] Patch for endianness conversion
  
  On Tue, 24 Jul 2012 05:21:08 -0400 (EDT) david.obo...@aliceadsl.fr said:
  
   I don't think so, the source is 32bit, so we advance 4 bytes (for the
   source) and we choose 1 bytes for each color (and write it in the
   destination), the endianness make sens when we write from source to
   destination.
  
  those R_VAL etc. macros handle edianess already - evas's rgb vormat is fixed
  in memory. per pixel its an int (4 bytes) with MSB being A, LSB being B. if
  you address it as an int and bitshift u never have to care about endianness.
  if u access byte by byte you do. the output is byte-based. you swapped the
  output in your patch and as such there are 2 diferent routines to deal with
  the 2 orderings for output - RGB or BGR (byte-by-byte order).
  
   here is the RGBA result of fbset:
  rgba 8/16,8/8,8/0,0/0
   
   and evas detect a RGB format
   
   - Mail original -
   De: Carsten Haitzler ras...@rasterman.com
   À: Enlightenment developer list
   enlightenment-devel@lists.sourceforge.net Cc: david oboeuf
   david.obo...@aliceadsl.fr Envoyé: Mardi 24 Juillet 2012 10:27:44
   Objet: Re: [E-devel] Patch for endianness conversion
   
   On Tue, 24 Jul 2012 03:32:25 -0400 (EDT) david.obo...@aliceadsl.fr said:
   
Hi everybody,

  I work actually on a set-top-box little endian with a 24-bit depth
framebuffer (evas version 1.2.1). I noticed there are no conversion
between little endian and big endian (my color was inverted). I propose
a patch to handle the endianness for this depth (I test only the
evas_common_convert_rgba_to_24bpp_rgb_888 fonction).
   
   hmm this is wrong. as its writing 1 byte at a time and advancing 3 bytes
   a time this has nothing to do with endianess. your 24bit framebuffer
   (unusual these days) is literally BGR nor RGB. not an endianess matter
   (it would be if we were writing int's (32bits) at a time). :)  ie uw ant
   to be using
   
   evas_common_convert_rgba_to_24bpp_rgb_888()
   
   instead of
   
   evas_common_convert_rgba_to_24bpp_bgr_888()...
   
   or the other way around - i have no idea which one is being used in your
   case
   - but something is telling the evas convert subsystem to use  the wrong
   24bpp format for your hardware. :)
   
   -- 
   - Codito, ergo sum - I code, therefore I am --
   The Rasterman (Carsten Haitzler)ras...@rasterman.com
   
   
   --
   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. 

[E-devel] question about genlist

2012-07-25 Thread Vincent Torri
hey

i tried to use genlist, based on the test (test_genlist3 function). I
created a specific structure, like Testitem. I filled it like in the
function. I have 3 items like in the function (i copy/pasted lines 718
to 735).

what i do not understand is that gl2_content_get() is called 7th times
(i put a printf in that function), the 7th one, it seg fault because
the item data is just garbage. Why is it called so many times, and not
3 times ? (maybe i missed to init something ?)

thanks

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


Re: [E-devel] question about genlist

2012-07-25 Thread Michael Blumenkrantz
the content get functions are not called once per item, but once per
realize. so these functions can be called an infinite number of times with
correct behavior.

more likely you did not export USER=raster

On Wed, Jul 25, 2012 at 1:36 PM, Vincent Torri vincent.to...@gmail.comwrote:

 hey

 i tried to use genlist, based on the test (test_genlist3 function). I
 created a specific structure, like Testitem. I filled it like in the
 function. I have 3 items like in the function (i copy/pasted lines 718
 to 735).

 what i do not understand is that gl2_content_get() is called 7th times
 (i put a printf in that function), the 7th one, it seg fault because
 the item data is just garbage. Why is it called so many times, and not
 3 times ? (maybe i missed to init something ?)

 thanks

 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


Re: [E-devel] question about genlist

2012-07-25 Thread Vincent Torri
so why is data becoming garbage at the 7th call ?

btw, that's a lot of 'realize' calls, imho :)

On Wed, Jul 25, 2012 at 3:07 PM, Michael Blumenkrantz
michael.blumenkra...@gmail.com wrote:
 the content get functions are not called once per item, but once per
 realize. so these functions can be called an infinite number of times with
 correct behavior.

 more likely you did not export USER=raster

 On Wed, Jul 25, 2012 at 1:36 PM, Vincent Torri vincent.to...@gmail.comwrote:

 hey

 i tried to use genlist, based on the test (test_genlist3 function). I
 created a specific structure, like Testitem. I filled it like in the
 function. I have 3 items like in the function (i copy/pasted lines 718
 to 735).

 what i do not understand is that gl2_content_get() is called 7th times
 (i put a printf in that function), the 7th one, it seg fault because
 the item data is just garbage. Why is it called so many times, and not
 3 times ? (maybe i missed to init something ?)

 thanks

 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

--
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] question about genlist

2012-07-25 Thread Michael Blumenkrantz
I suppose you'd have to check valgrind for that.

and yes, it is a lot of calls.

On Wed, Jul 25, 2012 at 2:17 PM, Vincent Torri vincent.to...@gmail.comwrote:

 so why is data becoming garbage at the 7th call ?

 btw, that's a lot of 'realize' calls, imho :)

 On Wed, Jul 25, 2012 at 3:07 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
  the content get functions are not called once per item, but once per
  realize. so these functions can be called an infinite number of times
 with
  correct behavior.
 
  more likely you did not export USER=raster
 
  On Wed, Jul 25, 2012 at 1:36 PM, Vincent Torri vincent.to...@gmail.com
 wrote:
 
  hey
 
  i tried to use genlist, based on the test (test_genlist3 function). I
  created a specific structure, like Testitem. I filled it like in the
  function. I have 3 items like in the function (i copy/pasted lines 718
  to 735).
 
  what i do not understand is that gl2_content_get() is called 7th times
  (i put a printf in that function), the 7th one, it seg fault because
  the item data is just garbage. Why is it called so many times, and not
  3 times ? (maybe i missed to init something ?)
 
  thanks
 
  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


 --
 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


Re: [E-devel] [patch][elementary] popup - getting proper geometry value

2012-07-25 Thread Rajeev Ranjan
Hi,
  Till now I didn't feel any need for getting the geometry of the popup however 
I agree that evas_object_geometry_get being a generic Evas level API, it needs 
to be supported by all Elementary widgets as well.
The flip side of the current patch is that user can get the geometry of popup 
excluding blocked area.
I too would prefer some other way of setting the geometry of an evas object 
other than by calling evas_object_resize/evas_object_move.
Regards,
Rajeev

--- Original Message ---
Sender : Kim Shinwookimcinoo@gmail.com
Date : Jul 25, 2012 07:52 (GMT+05:30)
Title : [E-devel] [patch][elementary] popup - getting proper geometry value

dear all, hello.

current popup does not give proper geometry value,
evas_object_geometry_get(popup, x, y, w, h) gives 0, 0, 0, 0.
the patch resolves it, but it would be not a good way to get geometry
value. which is the best way to set obj-cur.geometry.x(y,w,h)?
please enlighten me. thanks.

cordially,
shinwoo kim.
--
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] [Patch] [Ejde, Elementary] show magnifier while selection handlers are moved

2012-07-25 Thread Myung-Jae Lee
Dear all,

This patch is made to show magnifier when magnifier feature is enabled and 
entry selection handlers are moved.
Because the magnifier feature should be combined with the selection handlers, I 
assumed the previous patches are all applied in svn.

Therefore when you test this patch, please apply below patches in turns.
-  selection handler patch : [E-devel] [Patch] [Ejde, Elementary] added 
selection handler feature to entry
-  viewport check patch : [E-devel] [Patch] [Ejde, Elementary] added viewport 
check to entry selection handler
-  layout check patch : [E-devel]  [Patch] [Ejde, Elementary] added checking 
layout to entry selection handler
-  (NOT mandatory) [E-devel] [Patch] [Ejde, Elementary] changed how to select 
texts in an EXPLICIT mode entry
-  (NOT mandatory) [E-devel] [Patch] [Ejde] make cursor follow mouse movement 
in mouse_move_cb function
-  (Need to merge manually) magnifier patch : [E-devel] [Patch] [Elementary] 
added magnifier feature to elm_entry

Please review this patch and feel free to give me feedbacks when you have 
questions.

Regards,
--
Myungjae Lee

elm_entry.c.handlersignal.patch
Description: Binary data


edje_entry.c.handlersignal.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/conf_applications

2012-07-25 Thread Michael Blumenkrantz
users of this feature may or may not have lost their settings with this
commit

On Wed, Jul 25, 2012 at 2:54 PM, Enlightenment SVN 
no-re...@enlightenment.org wrote:

 Log:
 desk (un)lock apps - screen (un)lock apps for consistency


 Author:   discomfitor
 Date: 2012-07-25 06:54:49 -0700 (Wed, 25 Jul 2012)
 New Revision: 74391
 Trac: http://trac.enlightenment.org/e/changeset/74391

 Modified:
   trunk/e/src/modules/conf_applications/e_int_config_apps.c
 trunk/e/src/modules/conf_applications/e_mod_main.c

 Modified: trunk/e/src/modules/conf_applications/e_int_config_apps.c
 ===
 --- trunk/e/src/modules/conf_applications/e_int_config_apps.c   2012-07-25
 12:38:56 UTC (rev 74390)
 +++ trunk/e/src/modules/conf_applications/e_int_config_apps.c   2012-07-25
 13:54:49 UTC (rev 74391)
 @@ -139,11 +139,11 @@
 E_Config_Data *data;
 char buff[PATH_MAX];

 -   e_user_dir_concat_static(buff, applications/desk-lock/.order);
 +   e_user_dir_concat_static(buff, applications/screen-lock/.order);
 data = E_NEW(E_Config_Data, 1);
 -   data-title = eina_stringshare_add(_(Desk Lock Applications));
 -   data-dialog =
 eina_stringshare_add(applications/desk_lock_applications);
 -   data-icon =
 eina_stringshare_add(preferences-applications-desk-lock);
 +   data-title = eina_stringshare_add(_(Screen Lock Applications));
 +   data-dialog =
 eina_stringshare_add(applications/screen_lock_applications);
 +   data-icon =
 eina_stringshare_add(preferences-applications-screen-lock);
 data-filename = eina_stringshare_add(buff);
 return _create_dialog(con, data);
  }
 @@ -154,11 +154,11 @@
 E_Config_Data *data;
 char buff[PATH_MAX];

 -   e_user_dir_concat_static(buff, applications/desk-unlock/.order);
 +   e_user_dir_concat_static(buff, applications/screen-unlock/.order);
 data = E_NEW(E_Config_Data, 1);
 -   data-title = eina_stringshare_add(_(Desk Unlock Applications));
 -   data-dialog =
 eina_stringshare_add(applications/desk_unlock_applications);
 -   data-icon =
 eina_stringshare_add(preferences-applications-desk-unlock);
 +   data-title = eina_stringshare_add(_(Screen Unlock Applications));
 +   data-dialog =
 eina_stringshare_add(applications/screen_unlock_applications);
 +   data-icon =
 eina_stringshare_add(preferences-applications-screen-unlock);
 data-filename = eina_stringshare_add(buff);
 return _create_dialog(con, data);
  }

 Modified: trunk/e/src/modules/conf_applications/e_mod_main.c
 ===
 --- trunk/e/src/modules/conf_applications/e_mod_main.c  2012-07-25
 12:38:56 UTC (rev 74390)
 +++ trunk/e/src/modules/conf_applications/e_mod_main.c  2012-07-25
 13:54:49 UTC (rev 74391)
 @@ -33,13 +33,13 @@
   _(IBar Applications), NULL,
   preferences-applications-ibar,
   e_int_config_apps_ibar);
 -   e_configure_registry_item_add(applications/desk_lock_applications,
 45,
 - _(Desk Lock Applications), NULL,
 - preferences-applications-desk-lock,
 +   e_configure_registry_item_add(applications/screen_lock_applications,
 45,
 + _(Screen Lock Applications), NULL,
 + preferences-applications-screen-lock,
   e_int_config_apps_desk_lock);
 -   e_configure_registry_item_add(applications/desk_unlock_applications,
 46,
 - _(Desk Unlock Applications), NULL,
 - preferences-applications-desk-lock,
 +
 e_configure_registry_item_add(applications/screen_unlock_applications, 46,
 + _(Screen Unlock Applications), NULL,
 + preferences-applications-screen-lock,
   e_int_config_apps_desk_unlock);
 e_configure_registry_item_add(applications/restart_applications, 50,
   _(Restart Applications), NULL,



 --
 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-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

--
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. 

Re: [E-devel] question about genlist

2012-07-25 Thread Vincent Torri
well, i've printed the value of the item pointer and it's different
the 7th time. As, from that item, i get my structure, and the window,
hence the needed evas canvas, it seg fault.

I have no idea on how to find the bug, as i'v never looked at the
genlist code (and honestly, it's a too big beast for me)

Vincent

On Wed, Jul 25, 2012 at 3:19 PM, Michael Blumenkrantz
michael.blumenkra...@gmail.com wrote:
 I suppose you'd have to check valgrind for that.

 and yes, it is a lot of calls.

 On Wed, Jul 25, 2012 at 2:17 PM, Vincent Torri vincent.to...@gmail.comwrote:

 so why is data becoming garbage at the 7th call ?

 btw, that's a lot of 'realize' calls, imho :)

 On Wed, Jul 25, 2012 at 3:07 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
  the content get functions are not called once per item, but once per
  realize. so these functions can be called an infinite number of times
 with
  correct behavior.
 
  more likely you did not export USER=raster
 
  On Wed, Jul 25, 2012 at 1:36 PM, Vincent Torri vincent.to...@gmail.com
 wrote:
 
  hey
 
  i tried to use genlist, based on the test (test_genlist3 function). I
  created a specific structure, like Testitem. I filled it like in the
  function. I have 3 items like in the function (i copy/pasted lines 718
  to 735).
 
  what i do not understand is that gl2_content_get() is called 7th times
  (i put a printf in that function), the 7th one, it seg fault because
  the item data is just garbage. Why is it called so many times, and not
  3 times ? (maybe i missed to init something ?)
 
  thanks
 
  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


 --
 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

--
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: woohyun trunk/elementary/src/lib

2012-07-25 Thread Gustavo Lima Chaves
* Enlightenment SVN no-re...@enlightenment.org [2012-07-24 19:43:33 -0700]:

 Log:
 elementary/elm_widget : focus_region function in elm_scroller was not
   executed because of _elm_legacy_is always returned EINA_FALSE. So I removed
   it.
   
 
 Author:   woohyun
 Date: 2012-07-24 19:43:32 -0700 (Tue, 24 Jul 2012)
 New Revision: 74367
 Trac: http://trac.enlightenment.org/e/changeset/74367
 
 Modified:
   trunk/elementary/src/lib/elm_widget.c 
 
 Modified: trunk/elementary/src/lib/elm_widget.c
 ===
 --- trunk/elementary/src/lib/elm_widget.c 2012-07-25 02:39:33 UTC (rev 
 74366)
 +++ trunk/elementary/src/lib/elm_widget.c 2012-07-25 02:43:32 UTC (rev 
 74367)
 @@ -889,7 +889,7 @@
   {
  Evas_Coord px, py;
  sd2 = evas_object_smart_data_get(o);

Right, right, thanks muchly, I forgot this.  Once I rework these
hooks, we'll hopefully have something simpler.

 -if (_elm_legacy_is(o)  sd2-focus_region)
 +if (sd2-focus_region)
{
   sd2-focus_region(o, x, y, w, h);
   elm_widget_focus_region_get(o, x, y, w, h);
 
 
 --
 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-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

-- 
Gustavo Lima Chaves
Computer Engineer @ ProFUSION Embedded Systems

--
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] bugs to clear up before release

2012-07-25 Thread Gustavo Lima Chaves
* Carsten Haitzler ras...@rasterman.com [2012-07-25 19:03:19 +0900]:

 On Wed, 25 Jul 2012 18:01:05 +0900 Daniel Juyung Seo seojuyu...@gmail.com
 said:
 
  weird..
  elm - genlist decorate all mode on and scroll - garbage items left around
  This issue is reproduced even with elementary 1.0.
  We released 1.0 with this bug? Or is it affected by other libraries?
 
 i guess we did.. never saw it until now. it still needs fixing :)

I repeat: most of that list was already an issue way before I jumped
in with my changes :) I can maybe acknowledge the spinner thing --
that exact bug existed for me before the patch landed SVN, there was a
fix on Edje which corrected it and now it seems to be back. My bet
it's coming from an Edje booboo again :)

 
  Daniel Juyung Seo (SeoZ)
  
  On Sat, Jul 21, 2012 at 10:01 AM, Daniel Juyung Seo
  seojuyu...@gmail.com wrote:
   I will take care of genlist parts and + more if I can.
  
   Daniel Juyung Seo (SeoZ)
  
   On Sat, Jul 21, 2012 at 2:02 AM, Leandro Pereira lean...@profusion.mobi
   wrote:
   On 07/20/2012 06:29 AM, Carsten Haitzler (The Rasterman) wrote:
   i have just gone through elementary test and elm has a LOAD of bugs -
   almost all of them new since last release. here is my current efl 
   buglist
   in short: can people when they get time look at these and work on
   fixing them? :)
  
   bugs:
  
   elm - popup with items crashes
  
  
  
  
   Leandro
  
   --
   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
  
 
 
 -- 
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com
 
 
 --
 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 Lima Chaves
Computer Engineer @ ProFUSION Embedded Systems

--
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: woohyun trunk/elementary/src/lib

2012-07-25 Thread Gustavo Lima Chaves
* woohyun woo_hyun0...@naver.com [2012-07-25 11:56:43 +0900]:

 Hello. glima :)
 
 I wanna get review about this commit.
 Because of _elm_legacy_is returned EINA_FALSE, elm_scroller's focus_region 
 was not called.
 Can I know the intention of _elm_legacy_is at this line ?
 
 Thanks :)

Hi, Woohyun :)
This was answered after the commit itself, thanks for spotting that :)

Regards,

 
 -Original Message-
 From: Enlightenment SVNno-re...@enlightenment.org 
 To: enlightenment-...@lists.sourceforge.net; 
 Cc: 
 Sent: 2012-07-25 (수) 11:43:33
 Subject: E SVN: woohyun trunk/elementary/src/lib
 
 Log:
 elementary/elm_widget : focus_region function in elm_scroller was not
   executed because of _elm_legacy_is always returned EINA_FALSE. So I removed
   it.
   
 
 Author:   woohyun
 Date: 2012-07-24 19:43:32 -0700 (Tue, 24 Jul 2012)
 New Revision: 74367
 Trac: http://trac.enlightenment.org/e/changeset/74367
 
 Modified:
   trunk/elementary/src/lib/elm_widget.c 
 
 Modified: trunk/elementary/src/lib/elm_widget.c
 ===
 --- trunk/elementary/src/lib/elm_widget.c2012-07-25 02:39:33 UTC (rev 74366)
 +++ trunk/elementary/src/lib/elm_widget.c2012-07-25 02:43:32 UTC (rev 74367)
 @@ -889,7 +889,7 @@
   {
  Evas_Coord px, py;
  sd2 = evas_object_smart_data_get(o);
 -if (_elm_legacy_is(o)  sd2-focus_region)
 +if (sd2-focus_region)
{
   sd2-focus_region(o, x, y, w, h);
   elm_widget_focus_region_get(o, x, y, w, h);
 
 
 --
 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-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
 
 

-- 
Gustavo Lima Chaves
Computer Engineer @ ProFUSION Embedded Systems

--
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: woohyun trunk/elementary/src/lib

2012-07-25 Thread Daniel Juyung Seo
Great job Woohyun!

Daniel Juyung Seo (SeoZ)

On Wed, Jul 25, 2012 at 11:08 PM, Gustavo Lima Chaves
gl...@profusion.mobi wrote:
 * Enlightenment SVN no-re...@enlightenment.org [2012-07-24 19:43:33 -0700]:

 Log:
 elementary/elm_widget : focus_region function in elm_scroller was not
   executed because of _elm_legacy_is always returned EINA_FALSE. So I removed
   it.


 Author:   woohyun
 Date: 2012-07-24 19:43:32 -0700 (Tue, 24 Jul 2012)
 New Revision: 74367
 Trac: http://trac.enlightenment.org/e/changeset/74367

 Modified:
   trunk/elementary/src/lib/elm_widget.c

 Modified: trunk/elementary/src/lib/elm_widget.c
 ===
 --- trunk/elementary/src/lib/elm_widget.c 2012-07-25 02:39:33 UTC (rev 
 74366)
 +++ trunk/elementary/src/lib/elm_widget.c 2012-07-25 02:43:32 UTC (rev 
 74367)
 @@ -889,7 +889,7 @@
   {
  Evas_Coord px, py;
  sd2 = evas_object_smart_data_get(o);

 Right, right, thanks muchly, I forgot this.  Once I rework these
 hooks, we'll hopefully have something simpler.

 -if (_elm_legacy_is(o)  sd2-focus_region)
 +if (sd2-focus_region)
{
   sd2-focus_region(o, x, y, w, h);
   elm_widget_focus_region_get(o, x, y, w, h);


 --
 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-svn mailing list
 enlightenment-...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

 --
 Gustavo Lima Chaves
 Computer Engineer @ ProFUSION Embedded Systems

 --
 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


Re: [E-devel] question about genlist

2012-07-25 Thread Daniel Juyung Seo
Can you attach the test code here? I can help you.

The reason why genlist calls item callback functions is:
A. Genlist realizes(creates) all the items at least once to calculate
its size(width, height).
B. Genlist realizes items which are staying inside the viewport.
C. Content callback are called per each swallow part in items.
Because of (A+B)*C, genlist calls item content get callback many times.

If all your genlist items have the same height, you can skip A by
calling this API.
elm_genlist_homogeneous_set.
http://docs.enlightenment.org/auto/elementary/group__Genlist.html#ga0fc1e934814587a939ec437494eea0dc

Thanks.

Daniel Juyung Seo (SeoZ)



On Wed, Jul 25, 2012 at 11:04 PM, Vincent Torri vincent.to...@gmail.com wrote:
 well, i've printed the value of the item pointer and it's different
 the 7th time. As, from that item, i get my structure, and the window,
 hence the needed evas canvas, it seg fault.

 I have no idea on how to find the bug, as i'v never looked at the
 genlist code (and honestly, it's a too big beast for me)

 Vincent

 On Wed, Jul 25, 2012 at 3:19 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
 I suppose you'd have to check valgrind for that.

 and yes, it is a lot of calls.

 On Wed, Jul 25, 2012 at 2:17 PM, Vincent Torri 
 vincent.to...@gmail.comwrote:

 so why is data becoming garbage at the 7th call ?

 btw, that's a lot of 'realize' calls, imho :)

 On Wed, Jul 25, 2012 at 3:07 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
  the content get functions are not called once per item, but once per
  realize. so these functions can be called an infinite number of times
 with
  correct behavior.
 
  more likely you did not export USER=raster
 
  On Wed, Jul 25, 2012 at 1:36 PM, Vincent Torri vincent.to...@gmail.com
 wrote:
 
  hey
 
  i tried to use genlist, based on the test (test_genlist3 function). I
  created a specific structure, like Testitem. I filled it like in the
  function. I have 3 items like in the function (i copy/pasted lines 718
  to 735).
 
  what i do not understand is that gl2_content_get() is called 7th times
  (i put a printf in that function), the 7th one, it seg fault because
  the item data is just garbage. Why is it called so many times, and not
  3 times ? (maybe i missed to init something ?)
 
  thanks
 
  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


 --
 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

 --
 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 

Re: [E-devel] question about genlist

2012-07-25 Thread Vincent Torri
On Wed, Jul 25, 2012 at 4:34 PM, Daniel Juyung Seo seojuyu...@gmail.com wrote:
 Can you attach the test code here? I can help you.

 The reason why genlist calls item callback functions is:
 A. Genlist realizes(creates) all the items at least once to calculate
 its size(width, height).
 B. Genlist realizes items which are staying inside the viewport.
 C. Content callback are called per each swallow part in items.
 Because of (A+B)*C, genlist calls item content get callback many times.

 If all your genlist items have the same height, you can skip A by
 calling this API.
 elm_genlist_homogeneous_set.
 http://docs.enlightenment.org/auto/elementary/group__Genlist.html#ga0fc1e934814587a939ec437494eea0dc

i've finally fixed my problem, i did a mistake.

sorry for the noise

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


Re: [E-devel] question about genlist

2012-07-25 Thread Rafael Antognolli
Hello SeoZ,

On Wed, Jul 25, 2012 at 11:34 AM, Daniel Juyung Seo
seojuyu...@gmail.com wrote:
 Can you attach the test code here? I can help you.

 The reason why genlist calls item callback functions is:
 A. Genlist realizes(creates) all the items at least once to calculate
 its size(width, height).
 B. Genlist realizes items which are staying inside the viewport.
 C. Content callback are called per each swallow part in items.
 Because of (A+B)*C, genlist calls item content get callback many times.

 If all your genlist items have the same height, you can skip A by
 calling this API.
 elm_genlist_homogeneous_set.
 http://docs.enlightenment.org/auto/elementary/group__Genlist.html#ga0fc1e934814587a939ec437494eea0dc

What about adding this information to the documentation of the
function itself? It already tells that the list will do lazy loading,
but I guess that talking about the number of realizes would be good
too.

 Thanks.

 Daniel Juyung Seo (SeoZ)



 On Wed, Jul 25, 2012 at 11:04 PM, Vincent Torri vincent.to...@gmail.com 
 wrote:
 well, i've printed the value of the item pointer and it's different
 the 7th time. As, from that item, i get my structure, and the window,
 hence the needed evas canvas, it seg fault.

 I have no idea on how to find the bug, as i'v never looked at the
 genlist code (and honestly, it's a too big beast for me)

 Vincent

 On Wed, Jul 25, 2012 at 3:19 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
 I suppose you'd have to check valgrind for that.

 and yes, it is a lot of calls.

 On Wed, Jul 25, 2012 at 2:17 PM, Vincent Torri 
 vincent.to...@gmail.comwrote:

 so why is data becoming garbage at the 7th call ?

 btw, that's a lot of 'realize' calls, imho :)

 On Wed, Jul 25, 2012 at 3:07 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
  the content get functions are not called once per item, but once per
  realize. so these functions can be called an infinite number of times
 with
  correct behavior.
 
  more likely you did not export USER=raster
 
  On Wed, Jul 25, 2012 at 1:36 PM, Vincent Torri vincent.to...@gmail.com
 wrote:
 
  hey
 
  i tried to use genlist, based on the test (test_genlist3 function). I
  created a specific structure, like Testitem. I filled it like in the
  function. I have 3 items like in the function (i copy/pasted lines 718
  to 735).
 
  what i do not understand is that gl2_content_get() is called 7th times
  (i put a printf in that function), the 7th one, it seg fault because
  the item data is just garbage. Why is it called so many times, and not
  3 times ? (maybe i missed to init something ?)
 
  thanks
 
  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


 --
 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
 

Re: [E-devel] Places module, mount volumes on insert

2012-07-25 Thread Davide Andreoli
2012/7/24 Nikolas Arend nikolas.ar...@gmx.net:
 Hello,

 For me the places module does not mount volumes on insert, just on click
 (no problems there). I tried with different media types (thumbdrive, USB
 hd, cd rom). I'm on Fedora 17 i686.

urgh, you are right. :(
I'm looking at the bug, not really simple to fix, I will fix asap.

thanks for reporting
davemds



 Thanks,   Nick

 --
 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


Re: [E-devel] question about genlist

2012-07-25 Thread Daniel Juyung Seo
I just added that in r74402.

Thanks for reminding me of that!

Daniel Juyung Seo (SeoZ)

On Thu, Jul 26, 2012 at 1:54 AM, Rafael Antognolli
antogno...@profusion.mobi wrote:
 Hello SeoZ,

 On Wed, Jul 25, 2012 at 11:34 AM, Daniel Juyung Seo
 seojuyu...@gmail.com wrote:
 Can you attach the test code here? I can help you.

 The reason why genlist calls item callback functions is:
 A. Genlist realizes(creates) all the items at least once to calculate
 its size(width, height).
 B. Genlist realizes items which are staying inside the viewport.
 C. Content callback are called per each swallow part in items.
 Because of (A+B)*C, genlist calls item content get callback many times.

 If all your genlist items have the same height, you can skip A by
 calling this API.
 elm_genlist_homogeneous_set.
 http://docs.enlightenment.org/auto/elementary/group__Genlist.html#ga0fc1e934814587a939ec437494eea0dc

 What about adding this information to the documentation of the
 function itself? It already tells that the list will do lazy loading,
 but I guess that talking about the number of realizes would be good
 too.

 Thanks.

 Daniel Juyung Seo (SeoZ)



 On Wed, Jul 25, 2012 at 11:04 PM, Vincent Torri vincent.to...@gmail.com 
 wrote:
 well, i've printed the value of the item pointer and it's different
 the 7th time. As, from that item, i get my structure, and the window,
 hence the needed evas canvas, it seg fault.

 I have no idea on how to find the bug, as i'v never looked at the
 genlist code (and honestly, it's a too big beast for me)

 Vincent

 On Wed, Jul 25, 2012 at 3:19 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
 I suppose you'd have to check valgrind for that.

 and yes, it is a lot of calls.

 On Wed, Jul 25, 2012 at 2:17 PM, Vincent Torri 
 vincent.to...@gmail.comwrote:

 so why is data becoming garbage at the 7th call ?

 btw, that's a lot of 'realize' calls, imho :)

 On Wed, Jul 25, 2012 at 3:07 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
  the content get functions are not called once per item, but once per
  realize. so these functions can be called an infinite number of times
 with
  correct behavior.
 
  more likely you did not export USER=raster
 
  On Wed, Jul 25, 2012 at 1:36 PM, Vincent Torri vincent.to...@gmail.com
 wrote:
 
  hey
 
  i tried to use genlist, based on the test (test_genlist3 function). I
  created a specific structure, like Testitem. I filled it like in the
  function. I have 3 items like in the function (i copy/pasted lines 718
  to 735).
 
  what i do not understand is that gl2_content_get() is called 7th times
  (i put a printf in that function), the 7th one, it seg fault because
  the item data is just garbage. Why is it called so many times, and not
  3 times ? (maybe i missed to init something ?)
 
  thanks
 
  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


 --
 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. 

Re: [E-devel] E SVN: barbieri IN trunk/elementary: data/themes data/themes/widgets src/bin src/lib

2012-07-25 Thread Gustavo Sverzut Barbieri
On Wed, Jul 25, 2012 at 6:08 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 naviframe improvements:

- fixed theme to look less like an arse:
   - overlap theme is translucent
   - naviframe title visibility toggle is now animated
   - item pop/push animation now applies to title area as well
   - icon without title label is now centered (see Naviframe 2 test)
   - title label and subtitle are now centered among the free space, 
 should not overlap buttons anymore.
   - title will use a font-size range, trying to not overlap buttons 
 anymore.
   - title will use ellipsis, trying to not overlap buttons anymore.
   - prev/next buttons do not have a fixed min/max size anymore
- emit signals elm,state,title_label,show and elm,state,title_label,hide
- by default the previous button label is the title of the previous page

   however by using a regular elm_button with an icon and long label
   exposes a bug with button theme. And there is a conceptual issue: if
   the previous button label is too big, it will look horrible. We should
   have a maximum size that, if reached, should have ellipsis. This
   should be a different elm_button style, with
   elm/button/base/naviframe/back_btn/default being an alias to it.

Raster, would you mind looking at this issue? It is likely to happen
once a button label gets too big in a constrained space (can happen
with translations).

-- 
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


Re: [E-devel] E SVN: lucas IN trunk/e_dbus: . src/bin

2012-07-25 Thread Lucas De Marchi
On Wed, Jul 25, 2012 at 6:11 AM, Vincent Torri vincent.to...@gmail.com wrote:
 is it really necessary to have it as an option, and not force its build ?

He followed what was already there. We probably want a single
--enable-tests switch to turn on all of them

Lucas De Marchi

--
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: barbieri IN trunk/elementary: data/objects src/bin

2012-07-25 Thread Gustavo Sverzut Barbieri
On Wed, Jul 25, 2012 at 7:42 PM, Enlightenment SVN
no-re...@enlightenment.org wrote:
 Log:
 segment control: improve test, show broken theme.

   segment control theme is broken and non-standard. It should be like a
   button in internals.

actually segment control is an incredible mess. Instead of using a
box, it calculates the positions manually. It also manages the click
itself based on mouse up/down from evas, not events from theme.

to fix segment control I'd propose rewrite it, but it would break
theme API to be done properly. What do you say?

If I cannot change its theme API, very likely I won't touch its C
internals. Anyone willing to do the hack? I'm not wasting my time
doing a hack, either I fix or I give up.

-- 
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


[E-devel] Simplifying theme (BW)

2012-07-25 Thread Gustavo Sverzut Barbieri
Hi all, particularly Raster

I'm officially querying people whether or not we should simplify
E17/Elementary's default theme (aka Black  White). Right now the
theme is super-complex for no actual benefit other than inhibiting
others to hack on it.

While most people forget or just don't care about problems, today I
looked into making the Segment Control theme more uniform. All in all
it should be just like a button, segmented into multiple parts:
http://docs.enlightenment.org/auto/elementary/group__SegmentControl.html

It looks almost similar to a button, but slightly different. Then you
look at the source code and you see why: To achieve elm_button look,
we have 7 (SEVEN!) images, 7 (SEVEN!) parts and 15 programs.
   On the other hand, who submitted segment control did a hack and
collapsed the images into 3 (pressed, selected and normal). But due
the borders of segment control items (left, center, right) the person
did it using 4 sets of images (12 images total). The segment control
could be simplified to have only 3 sets of images. But even though if
we're coping with elm_button look and feel we still have to do 7 x 3 =
21, plus managing all the states.

If you look around, scroller is also way more complex than one would expect.

This is very complex. Gosh, it scared me and I consider my knowledge
of Edje above-average... I wonder how it do to the average developer
that still struggles to get the basics right (we have many with svn
commit), or the newbie that is trying to change our themes to do
something different on its own.

That said, I'd say we should simplify the theme for our own sanity.

What do you think?

-- 
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


Re: [E-devel] question about genlist

2012-07-25 Thread The Rasterman
On Wed, 25 Jul 2012 18:10:26 +0200 Vincent Torri vincent.to...@gmail.com said:

 On Wed, Jul 25, 2012 at 4:34 PM, Daniel Juyung Seo seojuyu...@gmail.com
 wrote:
  Can you attach the test code here? I can help you.
 
  The reason why genlist calls item callback functions is:
  A. Genlist realizes(creates) all the items at least once to calculate
  its size(width, height).
  B. Genlist realizes items which are staying inside the viewport.
  C. Content callback are called per each swallow part in items.
  Because of (A+B)*C, genlist calls item content get callback many times.
 
  If all your genlist items have the same height, you can skip A by
  calling this API.
  elm_genlist_homogeneous_set.
  http://docs.enlightenment.org/auto/elementary/group__Genlist.html#ga0fc1e934814587a939ec437494eea0dc
 
 i've finally fixed my problem, i did a mistake.
 
 sorry for the noise

at least you know why it's called more often than u think :)

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


--
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] Simplifying theme (BW)

2012-07-25 Thread Daniel Juyung Seo
+1 many widgets are designed way too complex.
But we need to support backward compatibility in terms of part names,
programs, ...
That's the problem.

Daniel Juyung Seo (SeoZ)

On Thu, Jul 26, 2012 at 8:12 AM, Gustavo Sverzut Barbieri
barbi...@profusion.mobi wrote:
 Hi all, particularly Raster

 I'm officially querying people whether or not we should simplify
 E17/Elementary's default theme (aka Black  White). Right now the
 theme is super-complex for no actual benefit other than inhibiting
 others to hack on it.

 While most people forget or just don't care about problems, today I
 looked into making the Segment Control theme more uniform. All in all
 it should be just like a button, segmented into multiple parts:
 http://docs.enlightenment.org/auto/elementary/group__SegmentControl.html

 It looks almost similar to a button, but slightly different. Then you
 look at the source code and you see why: To achieve elm_button look,
 we have 7 (SEVEN!) images, 7 (SEVEN!) parts and 15 programs.
On the other hand, who submitted segment control did a hack and
 collapsed the images into 3 (pressed, selected and normal). But due
 the borders of segment control items (left, center, right) the person
 did it using 4 sets of images (12 images total). The segment control
 could be simplified to have only 3 sets of images. But even though if
 we're coping with elm_button look and feel we still have to do 7 x 3 =
 21, plus managing all the states.

 If you look around, scroller is also way more complex than one would expect.

 This is very complex. Gosh, it scared me and I consider my knowledge
 of Edje above-average... I wonder how it do to the average developer
 that still struggles to get the basics right (we have many with svn
 commit), or the newbie that is trying to change our themes to do
 something different on its own.

 That said, I'd say we should simplify the theme for our own sanity.

 What do you think?

 --
 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


Re: [E-devel] Simplifying theme (BW)

2012-07-25 Thread The Rasterman
On Thu, 26 Jul 2012 11:11:04 +0900 Daniel Juyung Seo seojuyu...@gmail.com
said:

simplifying it is almost tantamount to doing a new theme too, and there is a
limti to how much simpler it can get.

using inheritance (group, part etc.) that we didn't have until recently we can
simplify it more, but its a lot of work. also it could have used a lot more
macros.

at least my assessment is about the same work to do new as to simplify. :)

 +1 many widgets are designed way too complex.
 But we need to support backward compatibility in terms of part names,
 programs, ...
 That's the problem.
 
 Daniel Juyung Seo (SeoZ)
 
 On Thu, Jul 26, 2012 at 8:12 AM, Gustavo Sverzut Barbieri
 barbi...@profusion.mobi wrote:
  Hi all, particularly Raster
 
  I'm officially querying people whether or not we should simplify
  E17/Elementary's default theme (aka Black  White). Right now the
  theme is super-complex for no actual benefit other than inhibiting
  others to hack on it.
 
  While most people forget or just don't care about problems, today I
  looked into making the Segment Control theme more uniform. All in all
  it should be just like a button, segmented into multiple parts:
  http://docs.enlightenment.org/auto/elementary/group__SegmentControl.html
 
  It looks almost similar to a button, but slightly different. Then you
  look at the source code and you see why: To achieve elm_button look,
  we have 7 (SEVEN!) images, 7 (SEVEN!) parts and 15 programs.
 On the other hand, who submitted segment control did a hack and
  collapsed the images into 3 (pressed, selected and normal). But due
  the borders of segment control items (left, center, right) the person
  did it using 4 sets of images (12 images total). The segment control
  could be simplified to have only 3 sets of images. But even though if
  we're coping with elm_button look and feel we still have to do 7 x 3 =
  21, plus managing all the states.
 
  If you look around, scroller is also way more complex than one would expect.
 
  This is very complex. Gosh, it scared me and I consider my knowledge
  of Edje above-average... I wonder how it do to the average developer
  that still struggles to get the basics right (we have many with svn
  commit), or the newbie that is trying to change our themes to do
  something different on its own.
 
  That said, I'd say we should simplify the theme for our own sanity.
 
  What do you think?
 
  --
  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
 


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


--
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: barbieri IN trunk/elementary: data/themes data/themes/widgets src/bin src/lib

2012-07-25 Thread The Rasterman
On Wed, 25 Jul 2012 18:10:57 -0300 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

 On Wed, Jul 25, 2012 at 6:08 PM, Enlightenment SVN
 no-re...@enlightenment.org wrote:
  Log:
  naviframe improvements:
 
 - fixed theme to look less like an arse:
- overlap theme is translucent
- naviframe title visibility toggle is now animated
- item pop/push animation now applies to title area as well
- icon without title label is now centered (see Naviframe 2 test)
- title label and subtitle are now centered among the free space,
  should not overlap buttons anymore.
- title will use a font-size range, trying to not overlap buttons
  anymore.
- title will use ellipsis, trying to not overlap buttons anymore.
- prev/next buttons do not have a fixed min/max size anymore
 - emit signals elm,state,title_label,show and elm,state,title_label,hide
 - by default the previous button label is the title of the previous page
 
however by using a regular elm_button with an icon and long label
exposes a bug with button theme. And there is a conceptual issue: if
the previous button label is too big, it will look horrible. We should
have a maximum size that, if reached, should have ellipsis. This
should be a different elm_button style, with
elm/button/base/naviframe/back_btn/default being an alias to it.
 
 Raster, would you mind looking at this issue? It is likely to happen
 once a button label gets too big in a constrained space (can happen
 with translations).

i can add this to the list. :) there's even a trac ticket for it!

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


--
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: barbieri IN trunk/elementary: data/objects src/bin

2012-07-25 Thread The Rasterman
On Wed, 25 Jul 2012 20:00:38 -0300 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

 On Wed, Jul 25, 2012 at 7:42 PM, Enlightenment SVN
 no-re...@enlightenment.org wrote:
  Log:
  segment control: improve test, show broken theme.
 
segment control theme is broken and non-standard. It should be like a
button in internals.
 
 actually segment control is an incredible mess. Instead of using a
 box, it calculates the positions manually. It also manages the click
 itself based on mouse up/down from evas, not events from theme.

it also looks ugly - doesn't fit in at all. popup also has issues in internal
layout/setup.

 to fix segment control I'd propose rewrite it, but it would break
 theme API to be done properly. What do you say?

we can't break theme api. we at LEAST have to support the current theme api and
add a new theme api in addition. this means its not pretty, but thus comes the
price of 1.0 and api stability :)

 If I cannot change its theme API, very likely I won't touch its C
 internals. Anyone willing to do the hack? I'm not wasting my time
 doing a hack, either I fix or I give up.

we can't break. sorry :( sucky though it is.

reality is that segmentcontrol CAN be done with:

1. box (horizontal, hommogenous)
2. radios (with different style for first/last item or for a single stand-along
item)

i'd rather just let segmentcontrol stay and then fix up theme to recycle the
elements into radio styles and make an elc thing to replace it and let the old
segmentcontrol stay but be shunned (maybe remove all documentation?).
alternative is to do this internally in segment control and try find new theme
elements firs,t for the redesign - if this fails fallback to the current stuff.

 -- 
 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
 


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


--
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] bugs to clear up before release

2012-07-25 Thread The Rasterman
On Wed, 25 Jul 2012 11:16:22 -0300 Gustavo Lima Chaves gl...@profusion.mobi
said:

 * Carsten Haitzler ras...@rasterman.com [2012-07-25 19:03:19 +0900]:
 
  On Wed, 25 Jul 2012 18:01:05 +0900 Daniel Juyung Seo seojuyu...@gmail.com
  said:
  
   weird..
   elm - genlist decorate all mode on and scroll - garbage items left
   around This issue is reproduced even with elementary 1.0.
   We released 1.0 with this bug? Or is it affected by other libraries?
  
  i guess we did.. never saw it until now. it still needs fixing :)
 
 I repeat: most of that list was already an issue way before I jumped

still doesn't mean they don't need fixing. :)

 in with my changes :) I can maybe acknowledge the spinner thing --
 that exact bug existed for me before the patch landed SVN, there was a
 fix on Edje which corrected it and now it seems to be back. My bet
 it's coming from an Edje booboo again :)

which one? genlsit one or spinner? getting confused. :) actually it doesn't
much matter - we need to fix these things anyway.

   Daniel Juyung Seo (SeoZ)
   
   On Sat, Jul 21, 2012 at 10:01 AM, Daniel Juyung Seo
   seojuyu...@gmail.com wrote:
I will take care of genlist parts and + more if I can.
   
Daniel Juyung Seo (SeoZ)
   
On Sat, Jul 21, 2012 at 2:02 AM, Leandro Pereira
lean...@profusion.mobi wrote:
On 07/20/2012 06:29 AM, Carsten Haitzler (The Rasterman) wrote:
i have just gone through elementary test and elm has a LOAD of bugs -
almost all of them new since last release. here is my current efl
buglist in short: can people when they get time look at these and
work on fixing them? :)
   
bugs:
   
elm - popup with items crashes
   
   
   
   
Leandro
   
--
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
   
  
  
  -- 
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com
  
  
  --
  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 Lima Chaves
 Computer Engineer @ ProFUSION Embedded Systems
 
 --
 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
 


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


--
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] Simplifying theme (BW)

2012-07-25 Thread Gustavo Sverzut Barbieri
 On Wednesday, July 25, 2012, Carsten Haitzler wrote:

 On Thu, 26 Jul 2012 11:11:04 +0900 Daniel Juyung Seo 
 seojuyu...@gmail.comjavascript:;
 
 said:

 simplifying it is almost tantamount to doing a new theme too, and there is
 a
 limti to how much simpler it can get.

 using inheritance (group, part etc.) that we didn't have until recently we
 can
 simplify it more, but its a lot of work. also it could have used a lot more
 macros.

 at least my assessment is about the same work to do new as to simplify.
 :)


You know my idea was to have a new, simpler theme. But at least simplify,
removing high contrast (difficult to design and match) and number of
elements for scroller (just one image per bar) and buttons (1-2 images
only). Then things like segment control will be simpler.




  +1 many widgets are designed way too complex.
  But we need to support backward compatibility in terms of part names,
  programs, ...
  That's the problem.
 
  Daniel Juyung Seo (SeoZ)
 
  On Thu, Jul 26, 2012 at 8:12 AM, Gustavo Sverzut Barbieri
  barbi...@profusion.mobi wrote:
   Hi all, particularly Raster
  
   I'm officially querying people whether or not we should simplify
   E17/Elementary's default theme (aka Black  White). Right now the
   theme is super-complex for no actual benefit other than inhibiting
   others to hack on it.
  
   While most people forget or just don't care about problems, today I
   looked into making the Segment Control theme more uniform. All in all
   it should be just like a button, segmented into multiple parts:
  
 http://docs.enlightenment.org/auto/elementary/group__SegmentControl.html
  
   It looks almost similar to a button, but slightly different. Then you
   look at the source code and you see why: To achieve elm_button look,
   we have 7 (SEVEN!) images, 7 (SEVEN!) parts and 15 programs.
  On the other hand, who submitted segment control did a hack and
   collapsed the images into 3 (pressed, selected and normal). But due
   the borders of segment control items (left, center, right) the person
   did it using 4 sets of images (12 images total). The segment control
   could be simplified to have only 3 sets of images. But even though if
   we're coping with elm_button look and feel we still have to do 7 x 3 =
   21, plus managing all the states.
  
   If you look around, scroller is also way more complex than one would
 expect.
  
   This is very complex. Gosh, it scared me and I consider my knowledge
   of Edje above-average... I wonder how it do to the average developer
   that still struggles to get the basics right (we have many with svn
   commit), or the newbie that is trying to change our themes to do
   something different on its own.
  
   That said, I'd say we should simplify the theme for our own sanity.
  
   What do you think?
  
   --
   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.sourcefor--
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com javascript:;



 --
 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 javascript:;
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems

Re: [E-devel] E SVN: barbieri IN trunk/elementary: data/objects src/bin

2012-07-25 Thread Gustavo Sverzut Barbieri
On Wednesday, July 25, 2012, Carsten Haitzler wrote:

 On Wed, 25 Jul 2012 20:00:38 -0300 Gustavo Sverzut Barbieri
 barbi...@profusion.mobi javascript:; said:

  On Wed, Jul 25, 2012 at 7:42 PM, Enlightenment SVN
  no-re...@enlightenment.org javascript:; wrote:
   Log:
   segment control: improve test, show broken theme.
  
 segment control theme is broken and non-standard. It should be like a
 button in internals.
 
  actually segment control is an incredible mess. Instead of using a
  box, it calculates the positions manually. It also manages the click
  itself based on mouse up/down from evas, not events from theme.

 it also looks ugly - doesn't fit in at all. popup also has issues in
 internal
 layout/setup.

  to fix segment control I'd propose rewrite it, but it would break
  theme API to be done properly. What do you say?

 we can't break theme api. we at LEAST have to support the current theme
 api and
 add a new theme api in addition. this means its not pretty, but thus comes
 the
 price of 1.0 and api stability :)

  If I cannot change its theme API, very likely I won't touch its C
  internals. Anyone willing to do the hack? I'm not wasting my time
  doing a hack, either I fix or I give up.

 we can't break. sorry :( sucky though it is.

 reality is that segmentcontrol CAN be done with:

 1. box (horizontal, hommogenous)
 2. radios (with different style for first/last item or for a single
 stand-along
 item)

 i'd rather just let segmentcontrol stay and then fix up theme to recycle
 the
 elements into radio styles and make an elc thing to replace it and let the
 old
 segmentcontrol stay but be shunned (maybe remove all documentation?).
 alternative is to do this internally in segment control and try find new
 theme
 elements firs,t for the redesign - if this fails fallback to the current
 stuff.


Concept and public API of segment control are okay. The internal code is
not. The theme is not.

Problems with theme:
 - base does not provide a swallow or box.
 - item does not emit a signal to notify clicked.
 - pressed is emitted by application.

I'm not sure how to support these, it's a bug and it's better fixed. Sorry,
people do mistakes, we accepted the buggy code and now we fix it. The more
we delay to fix, the more people will use and more problems will have.

As I said, public API is fine. I'd not consider theme stable at this point,
ctxpopup and others are also bad enough. Also I expected Tizen to be a
valid user, but it's not official and it's patches, theme and usage are
complete garbage. No reason why bother about it.



  --
  Gustavo Sverzut Barbieri
  http://profusion.mobi embedded systems
  --
  MSN: barbi...@gmail.com javascript:;
  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 javascript:;
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


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



-- 
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


Re: [E-devel] Simplifying theme (BW)

2012-07-25 Thread The Rasterman
On Wed, 25 Jul 2012 23:53:18 -0300 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

  On Wednesday, July 25, 2012, Carsten Haitzler wrote:
 
  On Thu, 26 Jul 2012 11:11:04 +0900 Daniel Juyung Seo
  seojuyu...@gmail.comjavascript:;
  
  said:
 
  simplifying it is almost tantamount to doing a new theme too, and there is
  a
  limti to how much simpler it can get.
 
  using inheritance (group, part etc.) that we didn't have until recently we
  can
  simplify it more, but its a lot of work. also it could have used a lot more
  macros.
 
  at least my assessment is about the same work to do new as to simplify.
  :)
 
 
 You know my idea was to have a new, simpler theme. But at least simplify,
 removing high contrast (difficult to design and match) and number of
 elements for scroller (just one image per bar) and buttons (1-2 images
 only). Then things like segment control will be simpler.

so that is a new theme. :)

   +1 many widgets are designed way too complex.
   But we need to support backward compatibility in terms of part names,
   programs, ...
   That's the problem.
  
   Daniel Juyung Seo (SeoZ)
  
   On Thu, Jul 26, 2012 at 8:12 AM, Gustavo Sverzut Barbieri
   barbi...@profusion.mobi wrote:
Hi all, particularly Raster
   
I'm officially querying people whether or not we should simplify
E17/Elementary's default theme (aka Black  White). Right now the
theme is super-complex for no actual benefit other than inhibiting
others to hack on it.
   
While most people forget or just don't care about problems, today I
looked into making the Segment Control theme more uniform. All in all
it should be just like a button, segmented into multiple parts:
   
  http://docs.enlightenment.org/auto/elementary/group__SegmentControl.html
   
It looks almost similar to a button, but slightly different. Then you
look at the source code and you see why: To achieve elm_button look,
we have 7 (SEVEN!) images, 7 (SEVEN!) parts and 15 programs.
   On the other hand, who submitted segment control did a hack and
collapsed the images into 3 (pressed, selected and normal). But due
the borders of segment control items (left, center, right) the person
did it using 4 sets of images (12 images total). The segment control
could be simplified to have only 3 sets of images. But even though if
we're coping with elm_button look and feel we still have to do 7 x 3 =
21, plus managing all the states.
   
If you look around, scroller is also way more complex than one would
  expect.
   
This is very complex. Gosh, it scared me and I consider my knowledge
of Edje above-average... I wonder how it do to the average developer
that still struggles to get the basics right (we have many with svn
commit), or the newbie that is trying to change our themes to do
something different on its own.
   
That said, I'd say we should simplify the theme for our own sanity.
   
What do you think?
   
--
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.sourcefor--
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com javascript:;
 
 
 
  --
  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/
  ___
  

Re: [E-devel] E SVN: barbieri IN trunk/elementary: data/objects src/bin

2012-07-25 Thread The Rasterman
On Thu, 26 Jul 2012 00:00:05 -0300 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

 On Wednesday, July 25, 2012, Carsten Haitzler wrote:
 
  On Wed, 25 Jul 2012 20:00:38 -0300 Gustavo Sverzut Barbieri
  barbi...@profusion.mobi javascript:; said:
 
   On Wed, Jul 25, 2012 at 7:42 PM, Enlightenment SVN
   no-re...@enlightenment.org javascript:; wrote:
Log:
segment control: improve test, show broken theme.
   
  segment control theme is broken and non-standard. It should be like a
  button in internals.
  
   actually segment control is an incredible mess. Instead of using a
   box, it calculates the positions manually. It also manages the click
   itself based on mouse up/down from evas, not events from theme.
 
  it also looks ugly - doesn't fit in at all. popup also has issues in
  internal
  layout/setup.
 
   to fix segment control I'd propose rewrite it, but it would break
   theme API to be done properly. What do you say?
 
  we can't break theme api. we at LEAST have to support the current theme
  api and
  add a new theme api in addition. this means its not pretty, but thus comes
  the
  price of 1.0 and api stability :)
 
   If I cannot change its theme API, very likely I won't touch its C
   internals. Anyone willing to do the hack? I'm not wasting my time
   doing a hack, either I fix or I give up.
 
  we can't break. sorry :( sucky though it is.
 
  reality is that segmentcontrol CAN be done with:
 
  1. box (horizontal, hommogenous)
  2. radios (with different style for first/last item or for a single
  stand-along
  item)
 
  i'd rather just let segmentcontrol stay and then fix up theme to recycle
  the
  elements into radio styles and make an elc thing to replace it and let the
  old
  segmentcontrol stay but be shunned (maybe remove all documentation?).
  alternative is to do this internally in segment control and try find new
  theme
  elements firs,t for the redesign - if this fails fallback to the current
  stuff.
 
 
 Concept and public API of segment control are okay. The internal code is
 not. The theme is not.

thats my point behind making the internal code use box+radio... etc.  - do
that internally as its simpler and much more mature, but we need to keep the
current THEME support there - and easiest way is via keeping the same code and
just having the widget switch early on creation based on if the theme
supports the new namespace or not.

 Problems with theme:
  - base does not provide a swallow or box.
  - item does not emit a signal to notify clicked.
  - pressed is emitted by application.
 
 I'm not sure how to support these, it's a bug and it's better fixed. Sorry,
 people do mistakes, we accepted the buggy code and now we fix it. The more
 we delay to fix, the more people will use and more problems will have.
 
 As I said, public API is fine. I'd not consider theme stable at this point,
 ctxpopup and others are also bad enough. Also I expected Tizen to be a
 valid user, but it's not official and it's patches, theme and usage are
 complete garbage. No reason why bother about it.

it still is a break in api. the best way is to simply make a new segmentcontrol
bit of code as u sau - new widget, but its internal to the current api and it
switches at runtime based on what the theme provides.

   --
   Gustavo Sverzut Barbieri
   http://profusion.mobi embedded systems
   --
   MSN: barbi...@gmail.com javascript:;
   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 javascript:;
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
 
 
  --
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com javascript:;
 
 
 
 -- 
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: barbi...@gmail.com
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202


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


--
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. 

Re: [E-devel] E SVN: barbieri IN trunk/elementary: data/objects src/bin

2012-07-25 Thread Gustavo Sverzut Barbieri
On Thursday, July 26, 2012, Carsten Haitzler wrote:

 On Thu, 26 Jul 2012 00:00:05 -0300 Gustavo Sverzut Barbieri
 barbi...@profusion.mobi javascript:; said:

  On Wednesday, July 25, 2012, Carsten Haitzler wrote:
 
   On Wed, 25 Jul 2012 20:00:38 -0300 Gustavo Sverzut Barbieri
   barbi...@profusion.mobi javascript:; javascript:; said:
  
On Wed, Jul 25, 2012 at 7:42 PM, Enlightenment SVN
no-re...@enlightenment.org javascript:; javascript:; wrote:
 Log:
 segment control: improve test, show broken theme.

   segment control theme is broken and non-standard. It should be
 like a
   button in internals.
   
actually segment control is an incredible mess. Instead of using a
box, it calculates the positions manually. It also manages the click
itself based on mouse up/down from evas, not events from theme.
  
   it also looks ugly - doesn't fit in at all. popup also has issues in
   internal
   layout/setup.
  
to fix segment control I'd propose rewrite it, but it would break
theme API to be done properly. What do you say?
  
   we can't break theme api. we at LEAST have to support the current theme
   api and
   add a new theme api in addition. this means its not pretty, but thus
 comes
   the
   price of 1.0 and api stability :)
  
If I cannot change its theme API, very likely I won't touch its C
internals. Anyone willing to do the hack? I'm not wasting my time
doing a hack, either I fix or I give up.
  
   we can't break. sorry :( sucky though it is.
  
   reality is that segmentcontrol CAN be done with:
  
   1. box (horizontal, hommogenous)
   2. radios (with different style for first/last item or for a single
   stand-along
   item)
  
   i'd rather just let segmentcontrol stay and then fix up theme to
 recycle
   the
   elements into radio styles and make an elc thing to replace it and let
 the
   old
   segmentcontrol stay but be shunned (maybe remove all documentation?).
   alternative is to do this internally in segment control and try find
 new
   theme
   elements firs,t for the redesign - if this fails fallback to the
 current
   stuff.
 
 
  Concept and public API of segment control are okay. The internal code is
  not. The theme is not.

 thats my point behind making the internal code use box+radio... etc.  -
 do
 that internally as its simpler and much more mature, but we need to keep
 the
 current THEME support there - and easiest way is via keeping the same code
 and
 just having the widget switch early on creation based on if the theme
 supports the new namespace or not.

  Problems with theme:
   - base does not provide a swallow or box.
   - item does not emit a signal to notify clicked.
   - pressed is emitted by application.
 
  I'm not sure how to support these, it's a bug and it's better fixed.
 Sorry,
  people do mistakes, we accepted the buggy code and now we fix it. The
 more
  we delay to fix, the more people will use and more problems will have.
 
  As I said, public API is fine. I'd not consider theme stable at this
 point,
  ctxpopup and others are also bad enough. Also I expected Tizen to be a
  valid user, but it's not official and it's patches, theme and usage are
  complete garbage. No reason why bother about it.

 it still is a break in api. the best way is to simply make a new
 segmentcontrol
 bit of code as u sau - new widget, but its internal to the current api
 and it
 switches at runtime based on what the theme provides.


So what to do? I won't use my scarce time to do this hack. Will someone
else do or we leave it broken?




--
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com javascript:; javascript:;
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 javascript:;javascript:;
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
   
  
  
   --
   - Codito, ergo sum - I code, therefore I am
 --
   The Rasterman (Carsten Haitzler)
   ras...@rasterman.comjavascript:;javascript:;
  
  
 
  --
  Gustavo Sverzut Barbieri
  http://profusion.mobi embedded systems
  --
  MSN: barbi...@gmail.com javascript:;
  Skype: gsbarbieri
  Mobile: +55 (19) 9225-2202


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

Re: [E-devel] Patch for endianness conversion

2012-07-25 Thread The Rasterman
On Wed, 25 Jul 2012 06:28:48 -0400 (EDT) david.obo...@aliceadsl.fr said:

umm... is this actually faster? in fact this does unaligned writes. that's
disaster on platforms without hardware-fixups (like x86). on arm this would
fall over in a stinking heap performance-wise (like be 1/1000th the speed if
kernel fixups are enabled OR simply segfault if they are not). so as such since
this would cause segv's on some platforms... cant' do this (that's why i
mentioned doing 4 pixels at a time in registers to avoid unaligned access -
you'd also need alignment checks for destination ptrs for scanline starts).

the reason the R/G/B_VAL macros use byte reads is that i've found them to
ultimately be faster or the same speed on most platforms i see (x86, arm)
compared to word access+bitshift.

if on your system this is faster - maybe try this. in evas_common.h change the
*_VAL() macros to do these things:

#define A_VAL(p) (((*((DATA32 *)p))  24))
#define R_VAL(p) (((*((DATA32 *)p))  16)  0xff)
#define G_VAL(p) (((*((DATA32 *)p))  8)  0xff)
#define B_VAL(p) (((*((DATA32 *)p)))  0xff)
#define AR_VAL(p) (((*((DATA32 *)p))  16))
#define GB_VAL(p) (((*((DATA32 *)p))  )  0x)

there's a bigendian ifdef handler there to try... the compiler should be able
to optimize these down to about the same as done more manually.

 Hi,
 
   Ok, I try to find out the root of the problem. I've also made a patch to
 speed up the conversion from rgba to rgb in 24bpp.  
 
 - Mail original -
 De: Carsten Haitzler ras...@rasterman.com
 À: david oboeuf david.obo...@aliceadsl.fr
 Cc: Enlightenment developer list enlightenment-devel@lists.sourceforge.net
 Envoyé: Mercredi 25 Juillet 2012 12:07:40
 Objet: Re: [E-devel] Patch for endianness conversion
 
 On Tue, 24 Jul 2012 07:31:28 -0400 (EDT) david.obo...@aliceadsl.fr said:
 
 if you can find out why evas is using the wrong format - that'll be useful. i
 dont know what fbset output means. :)
 
  The color format is wrong, but now, I don't know if it's our framebuffer or
  evas the problem. Except for this point, all runs fine (I run Enna on my
  STB). I'm right to make this patch, I will work this afternoon on this
  
  - Mail original -
  De: Carsten Haitzler ras...@rasterman.com
  À: david oboeuf david.obo...@aliceadsl.fr
  Cc: Enlightenment developer list
  enlightenment-devel@lists.sourceforge.net Envoyé: Mardi 24 Juillet 2012
  11:39:42 Objet: Re: [E-devel] Patch for endianness conversion
  
  On Tue, 24 Jul 2012 05:34:06 -0400 (EDT) david.obo...@aliceadsl.fr said:
  
   Mea Culpa, I haven't see it's already make in evas_common.h with the
   macros. It's a problem with my platform.
  
  no worries - happy to help out. if evas's color format choosing is wrong -
  please let us know - or ecore-evas. check there. the 24bpp support is almost
  never used so its never tested in real life.
  
  nb - the converter COULD be faster by handling 4 pixels at once packing them
  into 32bit registers (well just vars - registers will be handled by the
  compiler) and writing out whole ints at a time (read 4 pixels, write 3 ints
  which contain 4 pixels). THEN endianess WOULD matter. :) you'd be right to
  want to patch. :) also if we had mmx/sse asm to do this too.
  
   Thanks
   
   - Mail original -
   De: Carsten Haitzler ras...@rasterman.com
   À: Enlightenment developer list
   enlightenment-devel@lists.sourceforge.net Cc: david oboeuf
   david.obo...@aliceadsl.fr Envoyé: Mardi 24 Juillet 2012 11:27:50
   Objet: Re: [E-devel] Patch for endianness conversion
   
   On Tue, 24 Jul 2012 05:21:08 -0400 (EDT) david.obo...@aliceadsl.fr said:
   
I don't think so, the source is 32bit, so we advance 4 bytes (for the
source) and we choose 1 bytes for each color (and write it in the
destination), the endianness make sens when we write from source to
destination.
   
   those R_VAL etc. macros handle edianess already - evas's rgb vormat is
   fixed in memory. per pixel its an int (4 bytes) with MSB being A, LSB
   being B. if you address it as an int and bitshift u never have to care
   about endianness. if u access byte by byte you do. the output is
   byte-based. you swapped the output in your patch and as such there are 2
   diferent routines to deal with the 2 orderings for output - RGB or BGR
   (byte-by-byte order).
   
here is the RGBA result of fbset:
   rgba 8/16,8/8,8/0,0/0

and evas detect a RGB format

- Mail original -
De: Carsten Haitzler ras...@rasterman.com
À: Enlightenment developer list
enlightenment-devel@lists.sourceforge.net Cc: david oboeuf
david.obo...@aliceadsl.fr Envoyé: Mardi 24 Juillet 2012 10:27:44
Objet: Re: [E-devel] Patch for endianness conversion

On Tue, 24 Jul 2012 03:32:25 -0400 (EDT) david.obo...@aliceadsl.fr said:

 Hi everybody,
 
   I work actually on a set-top-box little endian with a 24-bit depth
 framebuffer (evas version 1.2.1). I noticed there 

Re: [E-devel] [patch][elementary] popup - getting proper geometry value

2012-07-25 Thread The Rasterman
On Wed, 25 Jul 2012 11:22:36 +0900 Kim Shinwoo kimcinoo@gmail.com said:

 dear all, hello.
 
 current popup does not give proper geometry value,
 evas_object_geometry_get(popup, x, y, w, h) gives 0, 0, 0, 0.
 the patch resolves it, but it would be not a good way to get geometry
 value. which is the best way to set obj-cur.geometry.x(y,w,h)?
 please enlighten me. thanks.

ok- this is a hack and i'll put it in for now. but as such popup should be set
as a resize object for the window and thus fill it - thus geometry will be the
window (and it uses a subset of it). this way u can place it in any parent
and it will black out that parent only. if parent is window it blacks out
everything - fine. i dont know why it just doesnt do this. or well why we dont
expect people to do this.

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


--
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] [patch][elementary] popup - focus chain, accessibility

2012-07-25 Thread Kim Shinwoo
dear all hello.

you would be in rush because of freezing.. but there is still hot. -_-;
i'd like to raise an issue about focus chain on the popup. The focus would
go around only in the popup. (IMHO)
but current popup gives a chance to get the focus to other widget which is
not in the popup.
please check the attachment which has accessibility feature also and give
your opinion. thanks.

cordially,
shinwoo kim.


elc_popup.access_focus_chain.diff
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] Some thoughts on the e17 release

2012-07-25 Thread The Rasterman
On Thu, 12 Jul 2012 21:11:23 +0930 Simon Lees si...@simotek.net said:

 I’ve been using E17 for almost a year since i tried gnome 3 and realised it
 couldn’t be configured the way i find most productive and since KDE dropped
 compiz fusion it also now can’t be setup the same way and because i like my
 window manager to look good its not the 90’s anymore, Enlightenment became
 the best choice.

you're going to hate us. for e18 will move compositing into core. u take e';s
compositor or you don't take e. that's where things are going...
:)

 With the upcoming release i have some thoughts and ideas about improving
 the users experience most of these are as much to stimulate discussion as
 much as anything else if none of them are implemented i won’t care too
 much, after all i don’t have the time to implement them.
 
 While enlightenment is a great window manager in my opinion the best, it
 has one or 2 weaknesses mostly due to its nature over the last 12 years,
 not having a stable release with most people needing to build from source.
 Moving from supporting a bunch of developers and experienced linux users to
 the point where anyone picking up Linux for the first time can use E17 is a
 essential move if E17 is to become one of the major window managers. This
 essentially means that we should expect that users don’t know how to build
 from source and we will be relying on distributions to provide everything
 needed for a good E17 experience.

yes yes - we know. every distro wants to do its own packaging and has its own
rules and methods. we can't do it all. this is what distribut6ion packagers do.
jeffdammeth keeps some nightly build ppa's for ubuntu going so the biggest
distro is covered. bodhi package e integrated with the os. gentoo has
ebuilds... its not badly covered - well other than distros OFFICIALLY
packaging e and we can't make them do it.

 Being someone who is not a packager and has no experience doing anything
 like it i think moving to a single build tree and efl lib is a great start.
 There are 2 other areas that i can see as issues the first being
 applications when i am building with easy e17 i struggle to work out what’s
 a application what’s stable and what’s worth building maybe there needs to

easy-e17 includes a lot of stuff that is half-done and not stable. so that's
why.

 be a stable and development directory for applications in svn instead of
 having them all in the root directory. Similarly with E-MODULES-EXTRA the
 poll a couple of weeks back showed that a lot of us use at least a few
 modules each but if the common ones like taskbar, cpu, net, comp scale
 don’t get moved into E17 and are left as extras they will risk being left
 out by some distro’s that only want stable packages or can’t be bothered

the modules form extras that are worth it have been moved to core. others are
either waiting on something or will never move. comp-scale for example is
waiting for compositing to go into core. my advice is don't use anything from
e-modules-extras. if you choose to ignore that advice then you accept the
consequences of bugs and problems. one of these days i'll come up with some
kind of signature thing for modules so core modules are approved/signed and
unapproved modules will taint your e and we'll be asking for e's taint logs
if u come asking about bugs/problems. :)

 figuring out what is worth packaging. Again i’d suggest a directory for
 stable modules and one for development modules so that distributions can
 easily find and produce 1 package of extra modules. Maybe it could even

e-modules-extra *IS* development modules. :)

 have a single build script as well as individual ones even a script that
 can be run that will call the individual configures makes and installs.
 From a users point of view i don’t want to install 1 package for each
 module i use its just a waste of time when you can unload them and they
 don’t use resources anyway. I do currently use daily packages on most of my
 machines and i imagine i would swap them to stable build at least until
 there’s a feature added that i want. On these machines i would also prefer
 to run E17 just from a package manager because i know the packages will be
 there and let’s face it its easier.
 
 There's 1 or 2 things that i’d also like to suggest in terms of features. I
 like the way that when you first load E17 and have no profile you go
 through a series of steps to setup your profile. I am aware that there
 shouldn’t be too many things in this configuration because we don’t want to
 overwhelm the users but i have suggestions for one or two more additions
 mostly because i’m a little selfish and it would get E17 configured the way
 i like it almost straight away but i’m guessing it will also help anyone
 coming from Gnome 2/Compiz fusion and Windows.
 
 * The first isn’t so much a request for a extra feature in this list but
 somewhere in the settings panel to reset your profile and go through the
 config from scratch.  I 

Re: [E-devel] E SVN: barbieri IN trunk/elementary: data/objects src/bin

2012-07-25 Thread The Rasterman
On Thu, 26 Jul 2012 00:34:40 -0300 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

 On Thursday, July 26, 2012, Carsten Haitzler wrote:
 
  On Thu, 26 Jul 2012 00:00:05 -0300 Gustavo Sverzut Barbieri
  barbi...@profusion.mobi javascript:; said:
 
   On Wednesday, July 25, 2012, Carsten Haitzler wrote:
  
On Wed, 25 Jul 2012 20:00:38 -0300 Gustavo Sverzut Barbieri
barbi...@profusion.mobi javascript:; javascript:; said:
   
 On Wed, Jul 25, 2012 at 7:42 PM, Enlightenment SVN
 no-re...@enlightenment.org javascript:; javascript:; wrote:
  Log:
  segment control: improve test, show broken theme.
 
segment control theme is broken and non-standard. It should be
  like a
button in internals.

 actually segment control is an incredible mess. Instead of using a
 box, it calculates the positions manually. It also manages the click
 itself based on mouse up/down from evas, not events from theme.
   
it also looks ugly - doesn't fit in at all. popup also has issues in
internal
layout/setup.
   
 to fix segment control I'd propose rewrite it, but it would break
 theme API to be done properly. What do you say?
   
we can't break theme api. we at LEAST have to support the current theme
api and
add a new theme api in addition. this means its not pretty, but thus
  comes
the
price of 1.0 and api stability :)
   
 If I cannot change its theme API, very likely I won't touch its C
 internals. Anyone willing to do the hack? I'm not wasting my time
 doing a hack, either I fix or I give up.
   
we can't break. sorry :( sucky though it is.
   
reality is that segmentcontrol CAN be done with:
   
1. box (horizontal, hommogenous)
2. radios (with different style for first/last item or for a single
stand-along
item)
   
i'd rather just let segmentcontrol stay and then fix up theme to
  recycle
the
elements into radio styles and make an elc thing to replace it and let
  the
old
segmentcontrol stay but be shunned (maybe remove all documentation?).
alternative is to do this internally in segment control and try find
  new
theme
elements firs,t for the redesign - if this fails fallback to the
  current
stuff.
  
  
   Concept and public API of segment control are okay. The internal code is
   not. The theme is not.
 
  thats my point behind making the internal code use box+radio... etc.  -
  do
  that internally as its simpler and much more mature, but we need to keep
  the
  current THEME support there - and easiest way is via keeping the same code
  and
  just having the widget switch early on creation based on if the theme
  supports the new namespace or not.
 
   Problems with theme:
- base does not provide a swallow or box.
- item does not emit a signal to notify clicked.
- pressed is emitted by application.
  
   I'm not sure how to support these, it's a bug and it's better fixed.
  Sorry,
   people do mistakes, we accepted the buggy code and now we fix it. The
  more
   we delay to fix, the more people will use and more problems will have.
  
   As I said, public API is fine. I'd not consider theme stable at this
  point,
   ctxpopup and others are also bad enough. Also I expected Tizen to be a
   valid user, but it's not official and it's patches, theme and usage are
   complete garbage. No reason why bother about it.
 
  it still is a break in api. the best way is to simply make a new
  segmentcontrol
  bit of code as u sau - new widget, but its internal to the current api
  and it
  switches at runtime based on what the theme provides.
 
 
 So what to do? I won't use my scarce time to do this hack. Will someone
 else do or we leave it broken?

depends on time available and effort, but we can't break things. right now i'm
just spending time on things actually broken - not things that are ugly/nasty :)

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


--
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: barbieri IN trunk/elementary: data/themes/widgets src/lib

2012-07-25 Thread ChunEon Park
This will cause compatibility break.

Current previous buttons in applications may not have the icon swallow part.


-Regards, Hermet-
-Original Message-
From: Enlightenment SVNno-re...@enlightenment.org 
To: enlightenment-...@lists.sourceforge.net; 
Cc: 
Sent: 2012-07-26 (목) 02:20:34
Subject: E SVN: barbieri IN trunk/elementary: data/themes/widgets src/lib

Log:
naviframe: improve default back button.
  
  back button now uses standard icon arrow_left, and provides a Back
  text that should be translated with the application.
  
  Then we can define the elm/button/base/naviframe/back_btn/default as
  an alias to the default button. If a theme wants it could still
  provide an alternative button. IOW no breaks.
  
  

Author:   barbieri
Date: 2012-07-25 10:20:34 -0700 (Wed, 25 Jul 2012)
New Revision: 74399
Trac: http://trac.enlightenment.org/e/changeset/74399

Modified:
  trunk/elementary/data/themes/widgets/button.edc 
trunk/elementary/src/lib/elc_naviframe.c 

Modified: trunk/elementary/data/themes/widgets/button.edc
===
--- trunk/elementary/data/themes/widgets/button.edc2012-07-25 16:35:13 UTC (rev 
74398)
+++ trunk/elementary/data/themes/widgets/button.edc2012-07-25 17:20:34 UTC (rev 
74399)
@@ -1,5 +1,6 @@
 group { name: elm/button/base/default;
alias: elm/button/base/popup_button/default;
+   alias: elm/button/base/naviframe/back_btn/default;
images {
   image: bt_base1.png COMP;
   image: bt_base2.png COMP;
@@ -1103,193 +1104,6 @@
   }
}
 }
-group { name: elm/button/base/naviframe/back_btn/default;
-   images {
-  image: bt_base1.png COMP;
-  image: bt_base2.png COMP;
-  image: bt_hilight.png COMP;
-  image: bt_shine.png COMP;
-  image: bt_glow.png COMP;
-  image: bt_dis_base.png COMP;
-  image: bt_dis_hilight.png COMP;
-  image: icon_left_arrow.png COMP;
-   }
-   parts {
-  part { name: button_image;
- mouse_events: 1;
- description { state: default 0.0;
-min: 12 12;
-image {
-   normal: bt_base2.png;
-   border: 7 7 7 7;
-}
-image.middle: SOLID;
- }
- description { state: clicked 0.0;
-inherit: default 0.0;
-image.normal: bt_base1.png;
- }
- description { state: disabled 0.0;
-inherit:  default 0.0;
-image {
-   normal: bt_dis_base.png;
-   border: 4 4 4 4;
-}
- }
-  }
-  part { name: prev_image;
- type: IMAGE;
- scale: 1;
- description { state: default 0.0;
-min: 15 15;
-max: 15 15;
-fixed: 1 1;
-align: 0.5 0.5;
-image.normal: icon_left_arrow.png;
- }
-  }
-  part { name: over1;
- mouse_events: 0;
- description { state: default 0.0;
-rel2.relative: 1.0 0.5;
-image {
-   normal: bt_hilight.png;
-   border: 7 7 7 0;
-}
- }
- description { state: disabled 0.0;
-inherit:  default 0.0;
-image {
-   normal: bt_dis_hilight.png;
-   border: 4 4 4 0;
-}
- }
-  }
-  part { name: over2;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: default 0.0;
-image {
-   normal: bt_shine.png;
-   border: 7 7 7 7;
-}
- }
- description { state: disabled 0.0;
-inherit:  default 0.0;
-visible: 0;
- }
-  }
-  part { name: over3;
- mouse_events: 1;
- repeat_events: 1;
- description { state: default 0.0;
-color: 255 255 255 0;
-image {
-   normal: bt_glow.png;
-   border: 12 12 12 12;
-}
-fill.smooth : 0;
- }
- description { state: clicked 0.0;
-inherit:  default 0.0;
-color: 255 255 255 255;
- }
-  }
-  part { name: disabler;
- type: RECT;
- description { state: default 0.0;
-color: 0 0 0 0;
-visible: 0;
- }
- description { state: disabled 0.0;
-inherit: default 0.0;
-visible: 1;
- }
-  }
-   }
-   programs {
-  program {
- name:   button_click;
- signal: mouse,down,1;
- source: over2;
- action: SIGNAL_EMIT elm,action,press ;
- after: button_click_anim;
-  }
-  program {
- name:   button_click_anim;
- action: STATE_SET clicked 0.0;
- target: button_image;
-  }
-  program {
- name:   button_unclick;
- signal: mouse,up,1;
- source: over3;
-  

Re: [E-devel] [patch][elementary] popup - getting proper geometry value

2012-07-25 Thread ChunEon Park
I'm worring about this patch may cause any side effects.
If popup doesn't care the geometry on dimmed area.


-Regards, Hermet-
-Original Message-
From: Carsten Haitzlerras...@rasterman.com 
To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; 
Cc: 
Sent: 2012-07-26 (목) 12:59:08
Subject: Re: [E-devel] [patch][elementary] popup - getting proper geometry value

On Wed, 25 Jul 2012 11:22:36 +0900 Kim Shinwoo kimcinoo.efl@gmail.com said:

 dear all, hello.
 
 current popup does not give proper geometry value,
 evas_object_geometry_get(popup, x, y, w, h) gives 0, 0, 0, 0.
 the patch resolves it, but it would be not a good way to get geometry
 value. which is the best way to set obj-cur.geometry.x(y,w,h)?
 please enlighten me. thanks.

ok- this is a hack and i'll put it in for now. but as such popup should be set
as a resize object for the window and thus fill it - thus geometry will be the
window (and it uses a subset of it). this way u can place it in any parent
and it will black out that parent only. if parent is window it blacks out
everything - fine. i dont know why it just doesnt do this. or well why we dont
expect people to do this.

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


--
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] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-25 Thread Bluezery
Hello,

This patch make genlist free their text parts when each item is unrealized.
Before this patch, the item is just cached when an item is unrealized
and the text part is freed and set by other text when the cached item
is realized.
This improves scrolling performance with very long text because this
can reduce needless edje size recalculation time.
 Please review this patch.

-- 
BRs,
Kim.


genlist@free_text_part.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: lucas IN trunk/e_dbus: . src/bin

2012-07-25 Thread Vincent Torri
On Thu, Jul 26, 2012 at 12:58 AM, Lucas De Marchi
lucas.demar...@profusion.mobi wrote:
 On Wed, Jul 25, 2012 at 6:11 AM, Vincent Torri vincent.to...@gmail.com 
 wrote:
 is it really necessary to have it as an option, and not force its build ?

 He followed what was already there. We probably want a single
 --enable-tests switch to turn on all of them

indeed, that would be better, though the name of the option should be
different (because of possible unit tests addition)

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


Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-25 Thread Daniel Juyung Seo
Very good enhancement!
Thanks in SVN r74413!

Daniel Juyung Seo (SeoZ)

On Thu, Jul 26, 2012 at 2:29 PM, Bluezery ohpo...@gmail.com wrote:
 Hello,

 This patch make genlist free their text parts when each item is unrealized.
 Before this patch, the item is just cached when an item is unrealized
 and the text part is freed and set by other text when the cached item
 is realized.
 This improves scrolling performance with very long text because this
 can reduce needless edje size recalculation time.
  Please review this patch.

 --
 BRs,
 Kim.

 --
 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


Re: [E-devel] bugs to clear up before release

2012-07-25 Thread Daniel Juyung Seo
I fixed this. Special thanks to Cedric.
http://trac.enlightenment.org/e/changeset/74412

Daniel Juyung Seo (SeoZ)

On Wed, Jul 25, 2012 at 7:03 PM, Carsten Haitzler ras...@rasterman.com wrote:
 On Wed, 25 Jul 2012 18:01:05 +0900 Daniel Juyung Seo seojuyu...@gmail.com
 said:

 weird..
 elm - genlist decorate all mode on and scroll - garbage items left around
 This issue is reproduced even with elementary 1.0.
 We released 1.0 with this bug? Or is it affected by other libraries?

 i guess we did.. never saw it until now. it still needs fixing :)

 Daniel Juyung Seo (SeoZ)

 On Sat, Jul 21, 2012 at 10:01 AM, Daniel Juyung Seo
 seojuyu...@gmail.com wrote:
  I will take care of genlist parts and + more if I can.
 
  Daniel Juyung Seo (SeoZ)
 
  On Sat, Jul 21, 2012 at 2:02 AM, Leandro Pereira lean...@profusion.mobi
  wrote:
  On 07/20/2012 06:29 AM, Carsten Haitzler (The Rasterman) wrote:
  i have just gone through elementary test and elm has a LOAD of bugs -
  almost all of them new since last release. here is my current efl buglist
  in short: can people when they get time look at these and work on
  fixing them? :)
 
  bugs:
 
  elm - popup with items crashes
 
 
 
 
  Leandro
 
  --
  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



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


--
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