Re: [E-devel] [Patch] check evas jpeg loader's map end buffer

2011-08-16 Thread The Rasterman
On Wed, 17 Aug 2011 14:35:30 +0900 Jiyoun Park said: or even this :) (better) :) http://yourpaste.net/8977/ > > > Hi. > > In jpeg loader's _evas_jpeg_membuf_src_skip function, > > there is some possibility buffer exceed real memory address if file was > damaged. > > > > how about che

Re: [E-devel] [Patch] check evas jpeg loader's map end buffer

2011-08-16 Thread The Rasterman
On Wed, 17 Aug 2011 14:35:30 +0900 Jiyoun Park said: how about this instead? http://yourpaste.net/8976/ :) > > > Hi. > > In jpeg loader's _evas_jpeg_membuf_src_skip function, > > there is some possibility buffer exceed real memory address if file was > damaged. > > > > how about ch

Re: [E-devel] Evas text problem

2011-08-16 Thread Christopher Michael
On 08/17/2011 01:14 AM, Carsten Haitzler (The Rasterman) wrote: > On Wed, 17 Aug 2011 02:27:30 +0300 Teodor Petrov said: > > the problem is related to the fact that the string length/size calculation > thinks its "100" pixels wide, but when it actually renders the last char > spills > over to 102

[E-devel] [Patch] check evas jpeg loader's map end buffer

2011-08-16 Thread Jiyoun Park
Hi. In jpeg loader's _evas_jpeg_membuf_src_skip function, there is some possibility buffer exceed real memory address if file was damaged. how about check end buffer address of next_input_byte like my patch? -- Jiyoun Park Mobile S/W

Re: [E-devel] Evas text problem

2011-08-16 Thread The Rasterman
On Wed, 17 Aug 2011 02:27:30 +0300 Teodor Petrov said: the problem is related to the fact that the string length/size calculation thinks its "100" pixels wide, but when it actually renders the last char spills over to 102 or 103 pixels. it didnt calculate this at initial string geometry calc. the

Re: [E-devel] Cross-Compiling Elementary

2011-08-16 Thread The Rasterman
On Tue, 16 Aug 2011 10:35:30 -0300 Paulo Benatto said: so... are you using jffs2? jffs2 doesnt support mmap properly (map shared wont work). as such efl is simply incompatible with such primitive filesystems. we could make it map private but then it is impossible to share writes. try a better fil

Re: [E-devel] E SVN: jeffdameth trunk/E-MODULES-EXTRA/comp-scale/src

2011-08-16 Thread Christopher Michael
On 08/16/2011 10:03 PM, Enlightenment SVN wrote: > Log: > e-modules/comp-scale: >- ignore illume windows, fade keyboard and home >- make gadget scale all applications > > > Author: jeffdameth > Date: 2011-08-16 19:03:24 -0700 (Tue, 16 Aug 2011) > New Revision: 62525 > Trac:

Re: [E-devel] Evas text problem

2011-08-16 Thread Teodor Petrov
On 08/16/2011 10:26 AM, Tom Hacohen wrote: > Would you mind running the attached test.edj with edje_player? > > The red rectangle should be the size of the text object, so it's very > easy to see if something bad is going on wrt to sizing. > > Also, you can decompile it and try different fonts on

Re: [E-devel] E SVN: cedric trunk/eio/src/lib

2011-08-16 Thread Gustavo Barbieri
I don't know eio semantics, but it should incref the stringshared handle and this code will leak reference. There is a bug for sure, either in this code or in eio API. Sent from my iPhone On 16/08/2011, at 18:14, "Enlightenment SVN" wrote: > Log: > eio: obvious typo ! > > > Author: cedri

Re: [E-devel] Evas text problem

2011-08-16 Thread Christopher Michael
On 08/16/2011 03:26 AM, Tom Hacohen wrote: > On 16/08/11 10:20, Christopher Michael wrote: >> Ok, thanks for looking into it. It could be a fontconfig issue (or >> something w/ evas that is only getting triggered w/ this fontconfig >> version). I'll have to dig into it more when I have more availab

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

2011-08-16 Thread Tom Hacohen
On 16/08/11 17:37, Vincent Torri wrote: > > @since pour les type aussi French invasion! -- Tom -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration

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

2011-08-16 Thread Cedric BAIL
On Tue, Aug 16, 2011 at 4:37 PM, Vincent Torri wrote: > @since pour les type aussi They are not new ! > On Tue, 16 Aug 2011, Enlightenment SVN wrote: >> Log: >> ecore: add ecore_main_loop_thread_safe_call_sync and rename >> ecore_main_loop_thread_safe_call. >> >> >> Author:       cedric >> Date

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

2011-08-16 Thread Vincent Torri
@since pour les type aussi Vincent On Tue, 16 Aug 2011, Enlightenment SVN wrote: > Log: > ecore: add ecore_main_loop_thread_safe_call_sync and rename > ecore_main_loop_thread_safe_call. > > > Author: cedric > Date: 2011-08-16 07:35:00 -0700 (Tue, 16 Aug 2011) > New Revision: 6251

Re: [E-devel] Cross-Compiling Elementary

2011-08-16 Thread Paulo Benatto
I did two simple programs to test mmap: 1 - Using MAP_SHARED - Doesn't work 2 - Using MAP_PRIVATE - Works Thanks Carsten for the help! 2011/8/13 Carsten Haitzler > On Sat, 13 Aug 2011 14:58:10 -0300 Paulo Benatto said: > > > 2011/8/12 Carsten Haitzler > > > > > On Fri, 12 Aug 2011 17:13:39 -

Re: [E-devel] ecore_main_loop_thread_safe_call <-api problem.

2011-08-16 Thread The Rasterman
On Tue, 16 Aug 2011 14:04:41 +0200 Cedric BAIL said: > On Tue, Aug 16, 2011 at 11:46 AM, Carsten Haitzler > wrote: > > On Fri, 12 Aug 2011 12:28:51 +0200 Cedric BAIL said: > >> On Fri, Aug 12, 2011 at 11:05 AM, Carsten Haitzler > >> wrote: > >> > this really should return a handle so you can c

Re: [E-devel] ecore_main_loop_thread_safe_call <-api problem.

2011-08-16 Thread Cedric BAIL
On Tue, Aug 16, 2011 at 11:46 AM, Carsten Haitzler wrote: > On Fri, 12 Aug 2011 12:28:51 +0200 Cedric BAIL said: >> On Fri, Aug 12, 2011 at 11:05 AM, Carsten Haitzler >> wrote: >> > this really should return a handle so you can cancel the call from the >> > thread that queued it. the cancel need

Re: [E-devel] Evas text problem

2011-08-16 Thread The Rasterman
On Tue, 16 Aug 2011 03:24:56 -0400 Christopher Michael said: > On 08/16/2011 03:22 AM, Tom Hacohen wrote: > > On 16/08/11 10:20, Christopher Michael wrote: > >> Ok, thanks for looking into it. It could be a fontconfig issue (or > >> something w/ evas that is only getting triggered w/ this fontcon

Re: [E-devel] ecore_main_loop_thread_safe_call <-api problem.

2011-08-16 Thread The Rasterman
On Fri, 12 Aug 2011 12:28:51 +0200 Cedric BAIL said: > Yop, > > On Fri, Aug 12, 2011 at 11:05 AM, Carsten Haitzler > wrote: > > this really should return a handle so you can cancel the call from the > > thread that queued it. the cancel needs to block if the callback is > > currently in progres

Re: [E-devel] elm_patch for mac

2011-08-16 Thread The Rasterman
On Sun, 14 Aug 2011 09:13:21 +0200 (CEST) Vincent Torri said: dave - any problems with vincent's patch? > > hey > > i've reworked a bit the patch for gettext on mac (setlocale is a wrapper > around libintl_setlocale for example). > > Please review it (i can't test it) and apply it. > > Dave

Re: [E-devel] Old commit r56332

2011-08-16 Thread The Rasterman
On Fri, 12 Aug 2011 00:58:25 +0200 Cedric BAIL said: > On Thu, Aug 11, 2011 at 9:08 PM, Sebastian Dransfeld > wrote: > > On 08/11/2011 02:12 PM, Cedric BAIL wrote: > >>     With that commit, it is now required that E17 wait for Efreet to > >> spawn a process before starting. Couldn't it be possi

Re: [E-devel] [Patch] new APIs about page

2011-08-16 Thread The Rasterman
On Fri, 12 Aug 2011 06:38:29 + (GMT) Jaehwan Kim said: in svn - thought i added some minor formatting improvements. specifically the if nesting in elm_smart_scroller_last_page_get() > > Thank you for your advice. > I added more docs and @see. > and I added the example code in Elementary.h.i

Re: [E-devel] [Patch] Map/Unmap image for zero-copy texture

2011-08-16 Thread The Rasterman
On Fri, 12 Aug 2011 04:36:28 + (GMT) 우승수 said: aaah yes - to make sure gpu caches are flushed on put. yes. in svn! :) > >Dear all, > >It is modified for zero-copy texture. > >When zero-copytextureisused,eglMapImageSec()in >evas_object_image_data_get

Re: [E-devel] Evas text problem

2011-08-16 Thread Christopher Michael
On 08/16/2011 03:22 AM, Tom Hacohen wrote: > On 16/08/11 10:20, Christopher Michael wrote: >> Ok, thanks for looking into it. It could be a fontconfig issue (or >> something w/ evas that is only getting triggered w/ this fontconfig >> version). I'll have to dig into it more when I have more availab

Re: [E-devel] Evas text problem

2011-08-16 Thread Tom Hacohen
On 16/08/11 10:20, Christopher Michael wrote: > Ok, thanks for looking into it. It could be a fontconfig issue (or > something w/ evas that is only getting triggered w/ this fontconfig > version). I'll have to dig into it more when I have more available time. Fontconfig is really only about choosi

Re: [E-devel] Evas text problem

2011-08-16 Thread Christopher Michael
On 08/16/2011 03:17 AM, Tom Hacohen wrote: > On 16/08/11 09:54, Christopher Michael wrote: >> Well, it could possibly be something w/ fontconfig..not sure, but I've >> attached the font anyway (it's just bitstream vera). > > I can't reproduce, even with this font. > > -- > Tom. > Ok, thanks for loo

Re: [E-devel] Evas text problem

2011-08-16 Thread Tom Hacohen
On 16/08/11 09:54, Christopher Michael wrote: > Well, it could possibly be something w/ fontconfig..not sure, but I've > attached the font anyway (it's just bitstream vera). I can't reproduce, even with this font. -- Tom. --

Re: [E-devel] Evas text problem

2011-08-16 Thread Christopher Michael
On 08/16/2011 02:56 AM, Tom Hacohen wrote: > On 16/08/11 01:21, David Seikel wrote: >> On Mon, 15 Aug 2011 16:56:38 -0400 Christopher Michael >>wrote: >> >>> Wanted to report an issue wrt evas text drawing (for Tom)... >>> >>> Apparently, evas does not like the letter 's' here ;) As per the >>>

Re: [E-devel] Evas text problem

2011-08-16 Thread Tom Hacohen
On 16/08/11 09:54, Christopher Michael wrote: > Well, it could possibly be something w/ fontconfig..not sure, but I've > attached the font anyway (it's just bitstream vera). I fixed (at least to my knowledge) font choosing two weeks ago. Try printing "fs->file" at evas/src/lib/engines/common/evas

Re: [E-devel] Evas text problem

2011-08-16 Thread Tom Hacohen
On 15/08/11 23:56, Christopher Michael wrote: > Hi All, > > Wanted to report an issue wrt evas text drawing (for Tom)... > > Apparently, evas does not like the letter 's' here ;) As per the > attached screenshot, if you notice, every word that ends in 's' has the > 's' only drawn half way... :( > >