Commit Graph

27205 Commits

Author SHA1 Message Date
Stefan Schmidt 153b9d396b release: Update NEWS and bump version for 1.11.0 release 2014-08-20 16:55:43 +02:00
Tom Hacohen 841191d907 Evas textblock: Fix BiDi text cut-off at the edges.
This patch fixes an issue causing text to be cut off in some cases.
The problem was that we were calculating line width and alignment before
we did any bidi calculations, which in turn caused us to use the wrong
text items for those calculations.

Many thanks to Daniel Hirt for investigating this deeply, finding all
the nitty-gritty and generally pointing me to where the problem is.
Daniel also provided the test case.
His patch (D1291) was close, but not enough.

Fixes T1496

@Fix
2014-08-20 15:10:23 +01:00
Andrii Kroitor c8814e49ac ecore_imf_context: fixing default id getter
Summary:
If none of ECORE_IMF_MODULE and WAYLAND_DISPLAY variables are setted
best of available moduls should be found. Removed odd return statement.

Reviewers: cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1344

@fix
2014-08-20 22:41:10 +09:00
Carsten Haitzler 9a91261a4e Revert "evas textblock: fixed ellipsis character cut off issue with complex markup text."
This reverts commit d408408283.

this breaks mult-line "long" filenames in efm. 2nd line is just ...
for almost all of them (ones that are actually in need of 3 or more
lines). break break! REVERT!
2014-08-20 12:03:14 +09:00
Carsten Haitzler c77accc0b9 eolain impl generator - fix possible null access
fix CID 1231994
2014-08-20 09:05:58 +09:00
Wonguk Jeong e79f88f8e9 Revert "emotion: add more audio formats in supporting extension list"
revert since 1.11 is not yet released.

This reverts commit 154d534852.
2014-08-20 01:58:02 +02:00
Wonguk Jeong 154d534852 emotion: add more audio formats in supporting extension list 2014-08-20 01:18:22 +02:00
Chris Michael 37b4bcdbd9 evas-gl-generic: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-19 13:47:22 -04:00
Chris Michael e8023b06e0 evas-gl-generic: Remove useless returns
There is really No point in having the 'return' here as we fall out of
the function anyway.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-19 13:47:10 -04:00
Chris Michael 1fc4ccf67a software-generic: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-19 13:47:10 -04:00
Youngbok Shin d408408283 evas textblock: fixed ellipsis character cut off issue with complex markup text.
Summary:
Evas Textblock ellipsis is handled in a item.
When the ellipsis item is added in the text, some characters are cut off
considering width of ellipsis character.
But, it is handled in only one text item.
If there are many short text item, the ellipsis item can be cut off visually.

Fixes Phab ticket T1213

@fix

Test Plan: This commit includes test case.

Reviewers: woohyun, seoz, sohyun, tasn

Subscribers: herdsman, cedric

Differential Revision: https://phab.enlightenment.org/D1311
2014-08-19 15:20:35 +01:00
Cedric BAIL 66966c8df1 Revert "efl: Fixed unwanted configure.ac warning."
This reverts commit bf8aba5f9f.

This warning is actually wanted. We do want to know when things get deprecated and
not discover that to late. This warning come from the use of gettext 0.17. Once we
move out of it, we will be fine. As a reminder and for keeping track of other
future deprecated macro, we should never use that flag !

Note: This is the second time I revert such a patch, I would really like people
stop disabling warning with this nasty work around.
2014-08-19 15:33:05 +02:00
Srivardhan Hebbar bf8aba5f9f efl: Fixed unwanted configure.ac warning.
Summary:
Below was the warning:
configure.ac:247: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:247: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:247: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.

@fix

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1341
2014-08-19 09:25:30 -04:00
Manuel Bachmann 1b6616cb3a autotools: do not link with libGL if we have "wayland-egl" without "gl"
If we have "wayland-egl" and choose to use another engine than "gl"
("glesv2" with "--with-opengl=es" e.g.), then we are in a case where
linking with libGL is not necessary. This is especially useful on a
pure Wayland system.

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-19 08:22:50 -04:00
Carsten Haitzler 45ccffa837 evas - fix access of NULL evas in layer for change.. on shutdown 2014-08-19 18:00:42 +09:00
Carsten Haitzler 2bfc9190d9 Revert "evas scalecache - fix thread deadlock posssibility"
This reverts commit 24a1c444b0.
2014-08-19 08:02:36 +09:00
Chris Michael b44a068b4b evas-wayland-egl: Fix wayland egl engine not rendering
Reset the Outbuf's Engine information pointer.
We also don't need to do an eng_window_free during reconfigure because the
software_generic_update function will free it anyway.
We should also re-setup the tilebuffer during eng_setup.
Fix gl_context resize to work even if there is no wl_egl window setup
yet.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-18 16:11:15 -04:00
Chris Michael 958a14e416 evas-wayland-egl: Don't resize gl_context during first_rect
This is the first part of the wayland-egl engine fix. Don't resize the
gl_context during the first_rectangle function, and don't set any
preserve bits on the gl_context

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-18 16:09:57 -04:00
Chris Michael facec1852f evas-wayland-egl: Increment frame count after flush
When we flush the Outbuf, we should be incrementing frame count

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-18 10:44:55 -04:00
Chris Michael 89fb7bf249 evas-wayland-egl: Check for valid tilebuffer before setting tile size
We should check for a valid Tilebuffer before calling tile_strict_set

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-18 10:43:38 -04:00
Chris Michael db31d0ba97 evas-wayland-egl: Free Outbuf if gl_generic_init fails
If we fail to init gl_generic then we should cleanup properly and free
the recently created Outbuf.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-18 10:42:07 -04:00
Carsten Haitzler faaaf55f7a evas images - animated gifs
there are deep down bugs in evas with animated gifs. espeically if you
have multiple instances of the same gif, but for now let's just
address the problem where we have entire frames of animation
vanishing. this is because the animation frame set failed and thus
didnt notify the rest of evas. have it ignore this fail for now so
things work out.
2014-08-18 18:01:51 +09:00
Carsten Haitzler 2574f1578a eolian - warning-- for eolian impl generator 2014-08-18 14:56:53 +09:00
Daniel Juyung Seo 2624ce20fa list example: revert unwanted local change push. 2014-08-18 03:18:07 +09:00
Daniel Juyung Seo 8ba2cc6fe9 doc: fixed typo. 2014-08-18 01:10:39 +09:00
Carsten Haitzler 0987f06e6b evas text - fix text object expanding when it gets some unicode in it
the text object walked all text items and took the biggest. when that
big item used some fallback font that didnt match the primary font in
ascent/descent etc. things went wrong - text expanded when not
expected to. this makes text objects just use the primary font
ascent/descent metrics and fixes e titlebar magically expanding thus
compressing window content when not expected.
2014-08-17 22:22:44 +09:00
Cedric Bail 396433bbc2 evas: handle GL_LUMINANCE_ALPHA.
This fix T1459. I have added an ERR to catch this kind of issue earlier.
I am wondering if that should not be even a CRI.

The reason why we do see the problem only after the introduction of the
use of Eina_Rectangle_Pool is due to how efficiently they pack data, resulting
in ressource ending up in the wrong format bucket. Nothing wrong with the
patch itself.
2014-08-16 15:15:07 +02:00
Cedric Bail dde9a1e977 evas: allocate enougth atlas for all supported format. 2014-08-16 15:15:07 +02:00
Carsten Haitzler d444e8f5f3 eolain_gen - fix implementation generation - it didn't even compile
so the test suites were useless because they didn't ecompile what was
generated. it was missing a ) at the end of calling eo_do_super to
start with. it was missing a call to do_uper fo destructors too. also
it didnt deal with the #include "blah.eo.c" at the file end either so
it produced uncompilable src at the start. again - also fix. this also
fixes test case comparisons to match the now correct generation that
compiles.
2014-08-16 13:09:17 +09:00
Carsten Haitzler 401d788bd6 evas gl - fix undefined return added from coverity fixing 2014-08-16 12:40:42 +09:00
Mun Gwan-gyeong ac4074c4fa evas-wayland-egl: Fix segmentation fault on dynamic loaded gl related functions.
Summary:
@fix
Segfault in wayland_egl engine is casused by illegal library linking.
Fix this by linking to GLESv2 and EGL libraries.

Test Plan: N/A

Reviewers: devilhorns, raster, cedric, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1332
2014-08-15 09:24:20 -04:00
Mike Blumenkrantz e2b543e0ab tweak NEWS for my 1.11 commits 2014-08-15 08:27:33 -04:00
Carsten Haitzler 43a932ab3c evas image loaders - silence noisy warnings that are just not needed
several loaders make too much noise when a file fails to load - almost
all of this is because the file isnt actually an image format file at
all, and an ap is just asking evas to try do a load to see if it is a
loadable image at all. this results in noisy strerr output that simply
shouldnt be there. so silence for loaders. @fix
2014-08-15 12:45:01 +09:00
Carsten Haitzler 2098e8c856 evas gl - fix yuv smooth rendering
i found that we are not setting u and v to be smooth (linear
interpolate) for yuv reendering, even when asked. they remain at a
default "nearest". this enables linear for u and v always, meaning
even when smooth is off, we still interpolate u and v (not y), and
even when at 1:1 with no scaling u and v get interpolation for better
quality.

@fix!
2014-08-15 12:11:33 +09:00
zmike 0ece308bb1 edje text should actually call ellipsis functions instead of attempting to call -1(obj) 2014-08-14 14:19:04 -04:00
Carsten Haitzler 0823a2159f edje - and make logic right for no elipsis with min.x too 2014-08-15 01:36:14 +09:00
Carsten Haitzler 0a457c3f8b elipsis fix - use -1 not 0 to turn off - unusual value for off 2014-08-15 01:26:38 +09:00
Carsten Haitzler 47f22cc997 edje - fix elipsis complaints/bugs with "old" themes
this fixes the elipsis changes xmike made by assuming elipsis of 0
whenn text min x is set (which is what we want anyway). this is a
complaint that is all through phab and other places where people
complain about "x..." or something now replacing formerly perfectly
find labels
2014-08-15 00:45:14 +09:00
Carsten Haitzler 3539afeaf0 make indenting consistent
this doesnt mean its right - it just matches. efreet needs some indent
love.
2014-08-14 20:56:55 +09:00
Adrien Nader a2d8c1651b efreet: replace 4096 with sizeof(buf) in snprintf(buf, 4096, ...).
buf is a local variable defined as:
  char buf[4096];
The current code is correct; this change only makes sure the value won't
get out-of-sync later on.
2014-08-14 20:55:58 +09:00
Adrien Nader 3778036926 efreet: reverse if's condition and swap then/else blocks for readability
The reversal makes it possible to merge two #if and unspaghetti the code
a bit.

Since the diff is not very readable, here is the before/after to show
the spirit:

  before:

    #if cond
      if (...)
    #endif
        do_foo();
    #if cond
      else
        do_bar();
    #endif

  after:

    #if cond
      if ( ! ...)
        do_bar();
      else
    #endif
        do_foo();
2014-08-14 20:55:58 +09:00
Adrien Nader 0fb9f5d516 efreet: remove #ifdef GETUID inside #ifdef _WIN32 (it's always false). 2014-08-14 20:55:58 +09:00
Sebastian Dransfeld e7198621c5 efreet: use eina_file_mkstemp to create filename 2014-08-14 13:30:48 +02:00
Sebastian Dransfeld b9c2a08105 benchmarks: close mkstemp file
eina_file_mkstemp returns an open filedescriptor, so we need to close
it.
2014-08-14 13:30:48 +02:00
Carsten Haitzler 5a722ca6fe fix structurally dead code warning
CID 1039494
2014-08-14 20:21:19 +09:00
Carsten Haitzler 111fd9339c evas gl - fix structurally dead code
unused var protection in ifdef - use unused macro instead. fixes
CID 1039495
2014-08-14 20:18:56 +09:00
Carsten Haitzler 029c6847d7 evas render i386 - comment out structurally dead code
this code has bugs, so comment it out rather than just have a return
get rid of it - CID 1039499
2014-08-14 20:17:16 +09:00
Carsten Haitzler d399921724 fix structurally dead code
this cleans up fixing of unused param warnings - fix

CID 1039524 1039504 1039523 1039503 1039522 1039502 1039521 1039501
1039540 1039520 1039539 1039519 1039538 1039537 1039517 1039536
1039516 1039535 1039515 1039534 1039514 1039533 1039513 1039532
1039512 1039531 1039511 1039530 1039510 1039529 1039509 1039528
1039508 1039527 1039507 1039526 1039506 1039525 1039505
2014-08-14 20:17:16 +09:00
Carsten Haitzler 2bd42962e3 eet init - fix structurally dead code
CID 1039542
2014-08-14 20:17:16 +09:00
Carsten Haitzler 9d40475b22 edje - edje load - remove structurally dead code
CID 1039543
2014-08-14 20:17:16 +09:00