Commit Graph

276 Commits

Author SHA1 Message Date
Stefan Schmidt 90b5d6aeb2 Revert "efl/embryo: Keep room for the terminating '\0' we may add to the path."
After consulting with cedric and Sachiel I have to agree that there is no issue.

SVN revision: 80946
2012-12-14 14:25:26 +00:00
Stefan Schmidt 6a5c0eb7cf efl/embryo: Keep room for the terminating '\0' we may add to the path.
If we go with PATH_MAX we could go out of bounds of this array. Not
going to happen that often really but better safe then sorry.

SVN revision: 80940
2012-12-14 13:35:48 +00:00
Carsten Haitzler fd90f7b882 start some work on allowing ecore_extn to double-buffer. doesn't do
anything atm about it.. just sets up infra for 2 buffers to exist and
be locked. :)



SVN revision: 80931
2012-12-14 11:19:09 +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 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
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 0258402fe8 efl: Fix building examples when coverage is enabled
When we compile with coverage CFLAGS we also need to link with
-lcov

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

SVN revision: 80770
2012-12-12 16:21:32 +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 19e600254f evas/gl - actually, this is correct.
SVN revision: 80758
2012-12-12 12:39:32 +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
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
Rui Seabra 3a27a91046 Since it's now AC_OUTPUT'ed, ecore_x_version.h does not need to be generated by sed.
SVN revision: 80626
2012-12-10 23:05:16 +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
Jihoon Kim 39bde067b8 scim-immodule: remove unnecessary code
SVN revision: 80557
2012-12-10 02:48:01 +00:00
Jihoon Kim 7de7a24644 scim-immodule: fix wrong parameter name
SVN revision: 80549
2012-12-09 12:36:35 +00:00
Jihoon Kim e13743279f scim-immodule: use ecore_x_display_get instead of XOpenDisplay
SVN revision: 80548
2012-12-09 12:34:10 +00:00
Sebastian Dransfeld 0ca3d42c6d ecore_x: right name for variable
SVN revision: 80534
2012-12-08 20:45:09 +00:00
Gustavo Sverzut Barbieri f8c480fc83 efl/ecore_x: add version and backend to header file.
instead of -DHAVE_ECORE_X_XCB in the pc, which is a super-hack, add a
proper compile-time generated ecore_x_version.h that is included by
Ecore_X.h

This file contains HAVE_ECORE_X_XLIB or HAVE_ECORE_X_XCB defined and
will also define ECORE_X_VERSION_MAJOR and ECORE_X_VERSION_MINOR as
per other EFL (Ecore), also defining the runtime version in
Ecore_X_Version.



SVN revision: 80524
2012-12-08 15:26:27 +00:00
Carsten Haitzler 05066801d3 lets have fcntl.h in eh?
SVN revision: 80521
2012-12-08 14:07:24 +00:00
Jihoon Kim bae5080e50 scim_immodule: implement slot_beep
SVN revision: 80513
2012-12-08 07:07:57 +00:00
Gustavo Sverzut Barbieri 2abb5474c4 efl/evas: make egl stuff compile with xcb
SVN revision: 80503
2012-12-07 22:50:47 +00:00
Gustavo Sverzut Barbieri ecadf8759c efl: generate keysym table for xcb
SVN revision: 80502
2012-12-07 22:50:06 +00:00
Gustavo Sverzut Barbieri aaf18a71a4 efl: baby steps to get sharing of options between evas and ecore-evas.
SVN revision: 80482
2012-12-07 18:24:49 +00:00
Alex Wu 4c534eb0e0 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: 80476
2012-12-07 17:38:21 +00:00
Gustavo Sverzut Barbieri 892c64297e efl: begin (still partial!) to make an uniform choice of engines ecore/evas
still lots to do, but some improvements:

 - ecore_evas does not inherit pkg-config from modules since modules are SO

 - renamed internal ecore evas define from SOFTWARE_BUFFER to BUFFER,
   to make consistent.



SVN revision: 80473
2012-12-07 17:18:17 +00:00
Gustavo Sverzut Barbieri 7d41d6ace2 efl: valgrind is also in evas
SVN revision: 80463
2012-12-07 14:17:09 +00:00
Gustavo Sverzut Barbieri e674ea6706 efl: simplify valgrind handling
SVN revision: 80460
2012-12-07 14:10:55 +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
Cedric BAIL 21bb5db3e2 efl: fix build with debug profile.
SVN revision: 80406
2012-12-07 02:32:11 +00:00
Gustavo Sverzut Barbieri 81bd007e5b efl: share HAVE_ATFILE_SOURCE between eina_file, ecore_file...
SVN revision: 80391
2012-12-06 21:15:30 +00:00
Flavio Vinicius Alvares Ceolin 186156afbc ecore_evas: Removing warning about unused function
Now the engines are modules, the checking for the engine is not done
in the compile time anymore, so we're removing these checks.



SVN revision: 80389
2012-12-06 20:39:20 +00:00
Gustavo Sverzut Barbieri bdbf2171fe efl/evas: simplify dither mask handling.
* a single option --with-evas-dither-mask=TYPE (big, small, line or none).

 * make a wise decision to fallback to small dither mask for
   conversions that do not support "no-dither" or "line". Before if
   you did not specify it would fallback to big (128x128).



SVN revision: 80383
2012-12-06 19:44:11 +00:00
Gustavo Sverzut Barbieri 62bb4646c9 efl/ecore_file: refactor to be more like eio in providing backends.
instead of the previous mess, just define the functions with common
names and call the backend that was compiled in, similar to what eio
does.

also do not be silent on errors, use eina_safety_checks to issue warnings.



SVN revision: 80360
2012-12-06 13:38:34 +00:00
Gustavo Sverzut Barbieri 6a5eaacc6a efl: common inotify checks, simplified.
Another try to make inotify checks more common.

This time uses AC_CHECK_HEADERS() as for others, that already define
HAVE_SYS_INOTIFY_H, then uses that.

I still kept AM_CONDITIONAL([HAVE_INOTIFY]) because I plan to convert
ecore_file to the same, smarter, method that is used in eio (compiling
the file depending on the backend.



SVN revision: 80358
2012-12-06 13:02:59 +00:00
Gustavo Sverzut Barbieri f8dd49ded4 efl: ecore thread safety (remove option, keep code, add instructions).
* remove the option, as it shouldn't really exist.

 * keep code, as requested by Cedric, someone may fix it someday. And
   the default is the DISABLED, as the enable was broken.

 * Add instructions on how to solve the problem, if a brave folk is up
   to it.



SVN revision: 80352
2012-12-06 12:18:24 +00:00
Vincent Torri 8e1879ade9 inotify: revert : i want to keep autotools **modularized**. Instead, use in Eio what has been detected in Ecore_File.
SVN revision: 80298
2012-12-06 07:23:50 +00:00
Cedric BAIL 1a3bb9f009 efl: revert r80290 as it bork the world.
SVN revision: 80296
2012-12-06 03:02:47 +00:00