Gustavo Sverzut Barbieri
f36a20850c
efl/ecore_imf: fix doxygen hierarchy.
...
someone should move the docs to header, too much for me to do right now.
SVN revision: 81838
2012-12-28 19:50:06 +00:00
Gustavo Sverzut Barbieri
eb362c18e4
efl/ecore_ipc: fix doxygen hierarchy.
...
SVN revision: 81837
2012-12-28 19:49:35 +00:00
Gustavo Sverzut Barbieri
2d3da46379
efl/ecore_fb: fix doxygen hierarchy.
...
SVN revision: 81836
2012-12-28 19:49:12 +00:00
Gustavo Sverzut Barbieri
caa2004b4c
efl/ecore_evas: fix doxygen hierarchy.
...
SVN revision: 81835
2012-12-28 19:48:40 +00:00
Gustavo Sverzut Barbieri
f29be8f793
efl/ecore_con: fix doxygen hierarchy.
...
SVN revision: 81834
2012-12-28 19:48:12 +00:00
Gustavo Sverzut Barbieri
0cfc04ae7d
efl/ecore_audio: fix doxygen hierarchy.
...
SVN revision: 81833
2012-12-28 19:47:31 +00:00
Gustavo Sverzut Barbieri
05212a3d0e
efl/ecore_wayland: move docs to header.
...
SVN revision: 81832
2012-12-28 19:36:01 +00:00
Gustavo Sverzut Barbieri
e86d9e0dd9
efl/eina: fix doc for content access
...
SVN revision: 81831
2012-12-28 19:08:42 +00:00
Gustavo Sverzut Barbieri
9b94a00e1f
efl/docs: fix Evil x Escape conflicts
...
SVN revision: 81828
2012-12-28 18:42:57 +00:00
Gustavo Sverzut Barbieri
6104a51efe
efl/docs: fix evil x escape conflicts
...
SVN revision: 81827
2012-12-28 18:42:35 +00:00
Gustavo Sverzut Barbieri
331488d1ce
efl: merge edbus (v2).
...
SVN revision: 81825
2012-12-28 17:53:25 +00:00
Ulisses Furquim
5f493f2c38
evas/evas_render: use rendering flag only when async rendering
...
Also postpone marking the rendering flag until we know we will have
the draw thread do its work. This way we avoid waiting forever at
evas_render_rendering_wait() when the draw thread is also blocked.
Patch by: Ulisses Furquim <ulisses@profusion.mobi>
SVN revision: 81798
2012-12-28 13:00:37 +00:00
ChunEon Park
4079b164b7
evas/image - return as possible as soon.
...
SVN revision: 81794
2012-12-28 11:41:29 +00:00
Cedric BAIL
f9ebc7bdcd
evas: simplify logic for ellipsis.
...
SVN revision: 81773
2012-12-28 00:58:10 +00:00
Mike McCormack
7b2b9da7cb
efl: Remove unused label
...
Signed-off-by: Mike McCormack <mikem@atratus.org>
SVN revision: 81736
2012-12-27 08:58:40 +00:00
Carsten Haitzler
4cd65475d4
this is small but critical - failure to connect isnt something to
...
ERR() log about... it's simply a matter of the other end not being
there... it can be a perfectly normal condition.
SVN revision: 81734
2012-12-27 08:16:05 +00:00
Cedric BAIL
0d86917bbe
efl: when you remove option at least make the default sane or don't do it.
...
SVN revision: 81731
2012-12-27 06:46:29 +00:00
Carsten Haitzler
ebaf0ce575
xi2 leak--
...
SVN revision: 81724
2012-12-27 05:26:14 +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
Boris Faure
d7b55afca2
eina: fix code indentation
...
SVN revision: 81660
2012-12-23 17:30:56 +00:00
Carsten Haitzler
ff3a370b9b
font draw - dont alloc font props for 32 chrs.. if we are only ever
...
going to have less than 32.. eg textgrid. 1 per prop.
SVN revision: 81654
2012-12-23 11:02:50 +00:00
Hannes Janetzek
55f2e87201
fix crash in eio_monitor_del
...
SVN revision: 81630
2012-12-22 01:56:10 +00:00
Paulo Alcantara
0809c7de3f
efl/cserve2: Fix ref/unef of image entries for threads
...
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 81584
2012-12-21 21:13:06 +00:00
Paulo Alcantara
fb97c82882
efl/cserve2: Fix some bugs regarding fonts
...
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 81582
2012-12-21 21:11:23 +00:00
Leandro Pereira
6516727164
evas/canvas: Make sure rendering finishes before image_data_set() and image_native_set()
...
SVN revision: 81563
2012-12-21 17:30:44 +00:00
Tomas Cech
cafaecfce1
efl: Fix typo in evas_object_textblock
...
Patch by: Tomas Cech <tcech@suse.cz>
SVN revision: 81559
2012-12-21 15:56:26 +00:00
Jonas M. Gastal
55845c5a3e
efl: Adding much improved textblock style documentation.
...
SVN revision: 81485
2012-12-20 20:42:45 +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
Paulo Alcantara
19a52f4efd
efl/evas: Fix XCB/Xlib crash when closing applications
...
We need to wait draw threads finishing their stuff before freeing canvas.
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 81395
2012-12-19 18:03:38 +00:00
Paulo Alcantara
76932dcc9f
evas/engines: Introduce render mode
...
The render mode should be useful for engines other than software one.
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 81384
2012-12-19 16:15:58 +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
Christopher Michael
9f0e2fc7e8
Fix some minor formatting in Alex Wu's cpu patch.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81361
2012-12-19 13:58:52 +00:00
Christopher Michael
58304e01ab
ecore-wayland: (version 2)Fix monitoring ECORE_FD_WRITE defaultly on wayland display fd lead to 100% cpu usage
...
In ecore_wl_init(), adding wayland display fd with ECORE_FD_WRITE
flag make CPU usage 100%. The proper way to monitor the ECORE_FD_WRITE
is when the wl_display_flush() return value < 0 and errno == EAGAIN.
And if wl_display_flush() return, we remove ECORE_FD_WRITE flag from
the display fd.
Change from v1:
Add idle enterer destroy code into _ecore_wl_shutdown() to avoid
using freed wl_display.
SVN revision: 81360
2012-12-19 13:58:48 +00:00
Stefan Schmidt
8d956c8e99
efl/evas_bidi: Fix memleak.
...
Make sure we also free udelmin when we retrun from from the for loop early.
SVN revision: 81334
2012-12-19 09:28:02 +00:00
Vincent Torri
a4f4aa00b3
fix returned value
...
SVN revision: 81323
2012-12-19 07:06:22 +00:00
Carsten Haitzler
076204d166
oops-- -> call c func not mmx funf .. in the c only render path!
...
SVN revision: 81315
2012-12-19 00:55:32 +00:00
Paulo Alcantara
6483c8d1e6
evas/render: Avoid race when sending render data and updates_cb
...
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 81303
2012-12-18 20:20:45 +00:00
Gustavo Sverzut Barbieri
b5197eb128
efl/ecore_evas: be loud on errors.
...
SVN revision: 81302
2012-12-18 20:14:11 +00:00
Gustavo Sverzut Barbieri
b6724ed9ce
efl/ecore_evas: abort when object does not contain Ecore_Evas.
...
SVN revision: 81301
2012-12-18 20:10:48 +00:00
Gustavo Sverzut Barbieri
be79115198
efl/ecore_evas: do not silently fail on incorrect interface.
...
SVN revision: 81300
2012-12-18 20:09:51 +00:00
Jonas M. Gastal
e3ae81e65f
efl: Created Ecore group and added existing Ecore groups to it.
...
SVN revision: 81293
2012-12-18 18:38:44 +00:00
Jonas M. Gastal
d487f9d744
efl: Created Evil group and added existing Evil groups to it.
...
SVN revision: 81292
2012-12-18 18:38:35 +00:00
Jonas M. Gastal
42cf8df080
efl: Created Embryo group and added existing Embryo groups to it.
...
SVN revision: 81291
2012-12-18 18:38:30 +00:00
Jonas M. Gastal
a6b491fc01
efl: Created Eina group and added existing Eina groups to it.
...
SVN revision: 81290
2012-12-18 18:38:25 +00:00
Jonas M. Gastal
22a6966653
efl: Created Eet group and added existing Eet groups to it.
...
SVN revision: 81289
2012-12-18 18:38:19 +00:00
Jonas M. Gastal
b23fb8a16b
efl: Created Evas group and added all existing evas groups to it.
...
SVN revision: 81288
2012-12-18 18:25:12 +00:00
Leandro Pereira
cb10c7d019
evas: Modify software_generic and gl_x11 to with with threaded renderer
...
SVN revision: 81284
2012-12-18 16:28:55 +00:00
Leandro Pereira
613659b1d8
ecore-evas: Async render
...
SVN revision: 81283
2012-12-18 16:27:26 +00:00
Leandro Pereira
a7b4a3c12d
evas: Async render
...
SVN revision: 81282
2012-12-18 16:26:44 +00:00
Leandro Pereira
645dcff9d2
evas: Add function to ref an Image_Entry
...
SVN revision: 81281
2012-12-18 16:22:47 +00:00
Leandro Pereira
9b2b121e6f
evas: Add thread threaded render queue
...
SVN revision: 81280
2012-12-18 16:21:03 +00:00
Jonas M. Gastal
d41d76ca38
efl: Modified section names as doxygen reuses titles for same named sections in different pages.
...
SVN revision: 81279
2012-12-18 16:18:28 +00:00
Jonas M. Gastal
93cdccf144
efl: Give different names for example pages in different libs.
...
SVN revision: 81278
2012-12-18 16:18:24 +00:00
Jonas M. Gastal
65a7188905
efl: Unifying authors page.
...
SVN revision: 81277
2012-12-18 16:18:19 +00:00
Jonas M. Gastal
6ecaa33f22
efl: Adding a unified main page that links to the "mainpage" of libs.
...
SVN revision: 81273
2012-12-18 16:12:56 +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
Cedric BAIL
9cbe37a36a
efl: another leak-- in Evas_Object_Text.
...
SVN revision: 81198
2012-12-18 01:31:52 +00:00
Leandro Pereira
aa03e70141
evas/common: Prepare soil to land map code for threaded render
...
SVN revision: 81189
2012-12-17 21:30:07 +00:00
Leandro Pereira
b4ceb3f2ba
evas/common: Prepare soil to land scaling code for threaded render
...
SVN revision: 81188
2012-12-17 21:29:33 +00:00
Leandro Pereira
6ea2723322
evas/common: Prepare soil to land polygon drawing code for threaded render
...
SVN revision: 81187
2012-12-17 21:29:01 +00:00
Leandro Pereira
b51ab5fc02
evas/common: Prepare soil to land rect drawing code for threaded render
...
SVN revision: 81186
2012-12-17 21:28:32 +00:00
Leandro Pereira
52104d26c8
evas/common: Prepare soil to land line drawing code for threaded render
...
SVN revision: 81185
2012-12-17 21:28:08 +00:00
Leandro Pereira
bfe46f54ff
evas: Do not unload pixels from RGBA_Image if cache refcount > 0
...
SVN revision: 81184
2012-12-17 21:27:40 +00:00
Leandro Pereira
274c9159c9
evas: Use refcounted glyph arrays
...
This is in preparation for threaded render landing: the render thread will
hold a reference to a text object's glyphs while it hasn't been rendered
yet (and will drop that reference after drawing). This changes the internal
API a little bit (evas_common_font_rgba_draw() now takes an Evas_Glyph_Array
instead of an Evas_Text_Props).
SVN revision: 81183
2012-12-17 21:27:07 +00:00
Leandro Pereira
f96a5aac5c
evas: Get rid of RGBA_Image ref member
...
(It's not by anything in the code.)
SVN revision: 81182
2012-12-17 21:26:15 +00:00
Cedric BAIL
6adce01faa
efl: fix some of the memory leak.
...
SVN revision: 81136
2012-12-17 13:04:35 +00:00
Daniel Zaoui
e57e9ee684
Fix docs
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 81130
2012-12-17 12:43:35 +00:00
Cedric BAIL
dbc5d63555
efl: detect all text change properly and don't destroy text if we don't relayout it.
...
SVN revision: 81061
2012-12-17 03:34:08 +00:00
Carsten Haitzler
dd00dba75e
small change - dont let update rect list for image object become a
...
runaway endless list if evas doenst come around and render (pick it
up) any time soon - limit to 512 update rects.
SVN revision: 81039
2012-12-16 02:01:11 +00:00
Carsten Haitzler
fc5c62500d
warn-- .. but this is suspicios as we goto the end where is_v and
...
was_v are used... and never do set them.
SVN revision: 81038
2012-12-16 01:49:36 +00:00
Cedric BAIL
24e8207971
efl: should fix some issue related to scale.
...
SVN revision: 81020
2012-12-15 14:16:08 +00:00
Daniel Willmann
29931c273f
efl: Add build system support for ecore_audio
...
Disabled by default, enable with --enable-audio
ALSA support is disabled as it is not there yet. Pulseaudio should work
though.
Support for .ogg and .wav is there as well (.mp3 is not)
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 81000
2012-12-14 23:38:25 +00:00
Daniel Willmann
eb15fa9e9c
ecore_audio: Add rudimentary ALSA support
...
By rudimentary I mean I barely got it to work. For my particular test
case. It will not work for you and needs lots of love until it can be
used.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80999
2012-12-14 23:38:21 +00:00
Daniel Willmann
d49fe90b18
ecore_audio: Add support for adding a custom callback
...
Very hackish implementation and probably not needed as libsndfile
virtual IO can be used instead, though it's a little more complicated
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80998
2012-12-14 23:38:18 +00:00
Daniel Willmann
94ccfd45e8
ecore_audio: Add support for simple tone output
...
Just plays a sine wave of set frequency and duration
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80997
2012-12-14 23:38:14 +00:00
Daniel Willmann
8c96a841e4
ecore_audio: Add support for libsndfile
...
Allows reading from and writing to wav, ogg, etc. files. Support for
virtual IO as well to allow playing sounds from eet, which will be
needed in edje multisense.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80996
2012-12-14 23:38:11 +00:00
Daniel Willmann
9293581c62
ecore_audio: Add support for PulseAudio
...
Only outputs are supported at the moment
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80995
2012-12-14 23:38:08 +00:00
Daniel Willmann
318a88b61f
efl: Introducing ecore_audio - the audio API for efl
...
This is still very much a work in progress, so expect some issues. The
signalling is using ecore events for now - that will change to callbacks
you can register callbacks for events on specific Ecore_Audio_Objects.
EO wasn't there when Ecore_Audio started, but it will probably move to
that in the future.
Otherwise have fun, don't break it (too much) and please send bug
reports and feedback to me.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80994
2012-12-14 23:38:01 +00:00
Leandro Dorileo
35a3326371
evas: fix a memory leak introduced on rev 78644
...
_nodes_clear() is called on object removal and it's not supposed
alloc anything at that stage.
SVN revision: 80984
2012-12-14 20:03:31 +00:00
Leandro Dorileo
99a56aa411
eo: fix memory leak on _eo_class_mro_add
...
SVN revision: 80983
2012-12-14 20:03:25 +00:00
Alex Wu
a3f102f742
Reverting 80476 and 80479. This solution is flawed and causes some weird
...
collateral damages that need further investigation. All programs running with
wayland engines are consuming 100% CPU.
ecore-wayland: Fix monitoring ECORE_FD_WRITE defaultly on
wayland display fd lead to 100% cpu usage
In ecore_wl_init(), adding wayland display fd with ECORE_FD_WRITE
flag make CPU usage 100%. The proper way to monitor the ECORE_FD_WRITE
is when the wl_display_flush() return value < 0 and errno == EAGAIN.
And if wl_display_flush() return, we remove ECORE_FD_WRITE flag from
the display fd.
Patch by: Alex Wu <zhiwen.wu@linux.intel.com>
SVN revision: 80981
2012-12-14 19:00:53 +00:00
Cedric BAIL
c4c7fe5d2d
efl: don't skip redraw when needed.
...
SVN revision: 80921
2012-12-14 09:07:38 +00:00
Cedric BAIL
498b46802c
eina: fix Eina_Barrier when pthread doesn't provide one.
...
Patch by Ulisses Furquim <ulisses@profusion.mobi>
SVN revision: 80907
2012-12-14 02:18:02 +00:00
Stefan Schmidt
2dc790bf47
evas/bidi: Make sure we access the correct memory here.
...
Without that it would crash as we just freed it and assigned the realloc
code to tmp_ret.
SVN revision: 80863
2012-12-13 14:17:33 +00:00
Cedric BAIL
2ade3fa902
evas: fix case when we were in the middle of a charactere.
...
SVN revision: 80811
2012-12-13 10:36:00 +00:00
Cedric BAIL
5828c04123
evas: preserve ellipsis.
...
SVN revision: 80797
2012-12-13 06:50:08 +00:00
Cedric BAIL
a3f52650b9
evas: make Evas_Object_Text ellipsis handle faster by not recalculating what was already calculated.
...
SVN revision: 80790
2012-12-13 05:12:14 +00:00
Carsten Haitzler
5898909947
ecore-evas moduels broke listing of modules... names all changed!
...
fix... the long ugly way! :(
SVN revision: 80788
2012-12-13 00:55:53 +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
Cedric BAIL
ebd83134a4
efl: check that the object is not deleted or NULL before accessing it.
...
SVN revision: 80744
2012-12-12 09:45:49 +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
Carsten Haitzler
fab2f4b8a2
poolers typo--
...
SVN revision: 80560
2012-12-10 03:28:05 +00:00
Igor Murzov
d2062a0d27
From: Igor Murzov <e-mail@date.by>
...
Subject: [E-devel] [PATCH][Ecore] Fixes for invalid memory read issues
discovered by cppcheck
One more patch to fix issues discovered by cppcheck.
SVN revision: 80559
2012-12-10 03:19:38 +00:00
Sebastian Dransfeld
0ca3d42c6d
ecore_x: right name for variable
...
SVN revision: 80534
2012-12-08 20:45:09 +00:00