Commit Graph

73 Commits

Author SHA1 Message Date
Tom Hacohen e84686d76d Evas: Fixed a bug with breaking after format items.
SVN revision: 82653
2013-01-11 18:16:24 +00:00
Tom Hacohen 88ab486e63 Efl static_libs: Updated liblinebreak -> libunibreak.
SVN revision: 82652
2013-01-11 18:16:09 +00:00
Cedric BAIL 4395e416f1 efl: force update of Evas_Object_Text clip cache when geometry change.
SVN revision: 82612
2013-01-11 05:27:17 +00:00
Jiyoun Park aad1b1ed4e Fix evas bmp loader code which deal with image size.
if image file's image size not apply padding size, decoding cannot work correctly



SVN revision: 82532
2013-01-10 08:53:11 +00:00
Gustavo Sverzut Barbieri 65aae8f181 efl/eina: fix debian multilib detection without magic file.
The algorithm will now consider valid bin, data orlocale as well if
magic file was not provided.



SVN revision: 82429
2013-01-08 23:57:14 +00:00
Mike Blumenkrantz 63eeace6d6 forwardport previous efreet desktop command commit
ticket #2174


SVN revision: 82390
2013-01-08 08:34:30 +00:00
Sung Park edcb4cf295 Pulled out evas gl backend binary shader file caching code from
evas_gl_shader.c file and made an internal generic caching api in 
evas_gl_common.h for use in other places ie. evas_gl.

Then implemented evas_gl surface cap. caching code in gl backend to
accelerate the engine creation. 



SVN revision: 82321
2013-01-07 06:16:18 +00:00
Cedric BAIL fb1225caa7 efl: fix build of Evas XCB backend.
Patch by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>


SVN revision: 82310
2013-01-07 01:07:21 +00:00
Jérémy Zurcher 1424ac7d4d From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] 2 steps eina_share_common_del speed up

builtin node is never unlinked even if empty, always is the last of the queue,
so that it can be used to get a pointer to head.
      
cost: never unlink or promote builtin node.
benefit: no need to hash and search rbtree to unlink an empty node,
only to remove an empty head.

store full hash in Eina_Share_Common_Head, so we only hash once
use 8 lower bits as node hash, use next 8 bits as bucket index.
    
cost: have to apply 0xFF mask on hash in rbtree callbacks.
benefit: no need to hash when removing an empty head.
        


SVN revision: 82161
2013-01-04 08:41:47 +00:00
Gustavo Sverzut Barbieri 68188ac0c8 efl: merge eeze.
Changes also in this commit:
 * fix missing EAPI in symbols used by modules
 * removed old libudev and libmount support as agreed by discomfitor/zmike
 * replaced __UNUSED__ with EINA_UNUSED
 * fixed docs hierarchy



SVN revision: 82100
2013-01-03 20:37:42 +00:00
Gustavo Sverzut Barbieri 0a2d116119 efl: eina_alloca.h to simplify alloca() usage.
having to replicate 18 lines per file just to access alloca() is
insane. Let's do that in Eina.h and avoid that crap :-/



SVN revision: 82082
2013-01-03 15:10:34 +00:00
Cedric BAIL 59ebafcb85 efl: rename eet_map to eet_mmap.
SVN revision: 82051
2013-01-03 09:18:05 +00:00
Cedric BAIL 1e8b9a90bf efl: use Eina_File for PNG to.
SVN revision: 82047
2013-01-03 07:57:18 +00:00
Carsten Haitzler 90bc1aa27c fix ecore-con client double-free case
SVN revision: 82042
2013-01-03 06:56:42 +00:00
Cedric BAIL ef9ad2032b efl: add eio_eet_sync symbols
Patch by Jérémy Zurcher <jeremy@asynk.ch>.


SVN revision: 82025
2013-01-03 00:39:18 +00:00
Carsten Haitzler a34941c17f fix mask write line stuff.
SVN revision: 81998
2013-01-02 15:01:27 +00:00
Cedric BAIL 49b2bfea5a efl: and now tiff also use Eina_File.
SVN revision: 81973
2013-01-02 06:44:26 +00:00
Cedric BAIL 23e6e67ac8 efl: evas gif loader now use Eina_File.
SVN revision: 81971
2013-01-02 05:30:06 +00:00
Cedric BAIL 663d56e498 efl: add eet_map and use it.
SVN revision: 81970
2013-01-02 02:46:05 +00:00
Cedric BAIL 311fe62f75 efl: use Eina_File for evas webp loader.
SVN revision: 81969
2013-01-02 01:50:50 +00:00
Gustavo Sverzut Barbieri 6ae6f925a4 efl: add eina_file_copy()
it's useful to copy file from one place to another and this will be
used in eio' s implementation.

NOTE: did not use mmap here as mmap faults may be cumbersome to handle
(Eina_File itself does that, but in a nasty way) and the
implementation would be severely different as there is no Eina_File
from FD, and there is no way to inject custom memory/fd into the
Eina_File's fault handling. The performance would not be that
different anyways and the splice() is already in there for systems
with good performance (read: Linux).



SVN revision: 81942
2012-12-31 23:17:18 +00:00
Gustavo Sverzut Barbieri 678727aae4 efl: missing api for xattr.
SVN revision: 81941
2012-12-31 21:05:58 +00:00
Mike Blumenkrantz 300ee59f38 eio functions no longer crash when passed NULL and throw errors accordingly
SVN revision: 81668
2012-12-24 09:44:21 +00:00
Mike Blumenkrantz b2de05f49a all efl object deletion functions now take NULL without crashing or erroring
SVN revision: 81667
2012-12-24 09:35:56 +00:00
Mike Blumenkrantz f5a98df8de eina_magic_fail now only ERRs on NULL instead of CRI, making debugging much easier
SVN revision: 81666
2012-12-24 09:16:56 +00:00
Gustavo Sverzut Barbieri 3f5fa6170c efl/evas_object_image_is_inside: fixed implementation.
This function was basically never working correctly. Everything was
fixed by simulating the evas_object_image_render() workflow, but
instead of actually draw we just check the pixel transparency.

Bugs fixed:

 * fails when image is scaled up (could segv) or down (incorrect values);
 * fails when image is moved to negative x,y;
 * fails when border was being used.

Now everything is fixed and seems to work properly, except I'm not
handling the map and get_pixels() cases, these are marked with ERR()
so we can fix them if someone needs.




SVN revision: 81410
2012-12-19 22:41:12 +00:00
Gustavo Sverzut Barbieri 7c19e1b34d efl/evas_cache: copied images should be considered loaded.
Whenever we copy an image, making it write-able
(evas_object_image_data_get(o, 1)) or just start painting a pristine
buffer (evas_object_image_size_set(o, w, h)), we must mark the image
as loaded to avoid trying to load it (and failing, marking the whole
thing as EVAS_LOAD_ERROR_GENERIC).



SVN revision: 81409
2012-12-19 22:36:13 +00:00
Carsten Haitzler 9e5266109d fix 24bpp rendering problem and pixel fetch problem found in qemu/kvm.
SVN revision: 81378
2012-12-19 15:40:52 +00:00
Gustavo Sverzut Barbieri 00357612f7 efl/ecore_evas_extn: add release notes about fixed memory bugs
SVN revision: 81314
2012-12-18 22:16:10 +00:00
Leandro Pereira af460b4573 evas: Update ChangeLog
SVN revision: 81285
2012-12-18 16:30:00 +00:00
Daniel Willmann 15ec12fabc efl: Add ChangeLog, NEWS and @since for ecore_audio
Vtorri is right of course.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81268
2012-12-18 15:51:47 +00:00
Leandro Pereira 221f81aa5f evas: Update ChangeLog
SVN revision: 81190
2012-12-17 21:32:25 +00:00
ChunEon Park e0ab18ecf1 evas - reverted changelog that was not inteded.
SVN revision: 81026
2012-12-15 17:51:39 +00:00
ChunEon Park a949b185e6 evas/gl - fix the line incorrect position in arm.
line position is slightly different between gl drivers.

I have no idea why it is. So added to work differently based on the manufacturers.

This work may be based on the renderer. If you can test it with much drivers then please test and fix.

Also changed the ENV name from EVAS_GL_LINE_NO_OFFSET_HACK  to EVAS_GL_LINE_OFFSET_HACK_DISABLE.



SVN revision: 81016
2012-12-15 09:40:47 +00:00
Cedric BAIL 981b5f7d40 efl: fix an uninitialized data path in OpenGL engine.
SVN revision: 80808
2012-12-13 10:26:02 +00:00
Cedric BAIL b8ffd432b1 efl: fix potential segv in Evas software engine native_set code.
SVN revision: 80805
2012-12-13 09:46:32 +00:00
Daniel Willmann 9772e3b5dc efl: Fix possible memory corruption in ecore xrandr EDID functions
Report from Klocwork. I checked that the actual max size of the name is
13 bytes. Now we allocate one more to hold the terminating NULL byte and
not write into unallocated memory.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 80773
2012-12-12 17:23:09 +00:00
Daniel Willmann e9bd0b7a27 eet: Fix possible buffer overflow in functions relying on EET_T_LAST.
Issue reported by Klocwork. Backport, ChangeLog, NEWS included

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 80767
2012-12-12 14:49:49 +00:00
Cedric BAIL a16f6e2330 evas: add ellipsis support in evas.
Patch done with help from Tom Hacohen.



SVN revision: 80763
2012-12-12 14:05:29 +00:00
ChunEon Park 7d98f2be38 evas - fix the gl line inccorect position problem.
I tested gl line drawing on a few devices and found the x line start position was 1.

On the other hand, our evas draws the line on start position 0.

So it needs to shift by 1 pixel if evas is working on gl backcned.



SVN revision: 80734
2012-12-12 08:03:46 +00:00
Cedric BAIL 0d1b29e5e1 eet: fix memory leak with OpenSSL.
Reported by Leandro Santiago <leandrosansilva@gmail.com>.


SVN revision: 80648
2012-12-11 11:52:53 +00:00
Gustavo Sverzut Barbieri c5667e3802 efl/ecore_getopt: add ECORE_GETOPT_ACTION_BREAK.
Thanks to PrinceAMD (Deon Thomas) for bugging me to implement this,
then test and add a fix, now we can implement something similar to
"xterm -e" in terminology.

ECORE_GETOPT_ACTION_BREAK will allow generic options to behave the
same as GNU's --, breaking out of argument parsing logic.



SVN revision: 80619
2012-12-10 18:43:36 +00:00
Cedric BAIL 88ba56d9d5 efl: don't leak fd on exec.
SVN revision: 80434
2012-12-07 11:01:41 +00:00
Sung Park 931e4f9325 Fixed polygon rendering bug in GL backend when there are cutouts.
It was clipping everything to (0,0,0,0) so it was all clipped out.


SVN revision: 80427
2012-12-07 10:02:26 +00:00
Sung Park dbcdaa6b68 Added EVAS_GL_LINE_NO_OFFSET_HACK evn var control to handle
line coordinate fiddling in gl line drawing code.  This fiddling
caused issues on some GPU drivers on ARM target.



SVN revision: 80417
2012-12-07 08:28:42 +00:00
Gustavo Sverzut Barbieri 9755ed62d5 efl: note libc 2.4 is required to provide sys/inotify.h
SVN revision: 80365
2012-12-06 14:16:41 +00:00
Gustavo Sverzut Barbieri 511d8e8672 efl/eet: bumped requirement for gnutls >= 2.11 thus remove legacy code.
SVN revision: 80287
2012-12-05 23:44:45 +00:00
Gustavo Sverzut Barbieri bb0e4d65ed efl/ecore_evas: move more removed/deprecated stuff to own file and mark.
x11-16, x11-8, xrender were also removed but not marked as EINA_DEPRECATED.

move those to ecore_evas_deprecated.c file.



SVN revision: 80255
2012-12-05 14:09:49 +00:00
Gustavo Sverzut Barbieri dfe93a7f0a directfb says bye...
After agreement in the mail list, core developers agree to remove this
engine that was not being supported for a long time.

Given that most operations Evas uses are not accelerated in DirectFB,
or at least hardware that exclusively supports DirectFB, it's better
for those people to just use Evas/Ecore software (buffer) rendering
and expose DirectFB's framebuffer as destination surface.



SVN revision: 80232
2012-12-05 12:24:01 +00:00
Gwanglim Lee 74cdf85ea9 From: Gwanglim Lee <gl77.lee@samsung.com>
Subject: Re: Re: Re: [E-devel] [RFC] Virtual desktop window profile

I've attached 4th patch. May the 4th be with you.

ecore patch has been merged with efl and all files are based on r80123.

Thanks & Regards,
Gwanglim

------- Original Message -------
Sender : Daniel Juyung Seo<seojuyung2@gmail.com>
Date : 2012-12-04 01:55 (GMT+09:00)
Title : Re: Re: [E-devel] [RFC] Virtual desktop window profile

It looks ok to me.
Sorry but can you re-generate the patch according to the recent ecore
merge to efl single tree?

Daniel Juyung Seo (SeoZ)


On Thu, Nov 29, 2012 at 12:29 AM, Gwanglim Lee <gl77.lee@samsung.com>
wrote:

Dear Raster and Daniel Juyung Seo,

I've attached 3rd patches and test_config according to your reviews.
These are based on r79782.

[elementary & ecore]
1. "profile,set" -> "profile,changed" - done
2. spaces after EINA_LIST_FOREACH - done
3. variable type - keep
4. author - done
5. removing deprecated marking in patch - done
6. add elm_win_available_profiles_get to test_config for the debugging
purpose - done

7. check whether a given profile is present in an available profiles.
otherwise window profile will be one of the item
    in available profiles. - newly added thing to the elm_win
    8. merge with EO - done. :(
    
    
    Any comments would be appreciated.
    


SVN revision: 80214
2012-12-05 06:48:46 +00:00