Commit Graph

23957 Commits

Author SHA1 Message Date
Cedric BAIL 5da08f61c9 edje: check font change in edje text part cache infra.
@fix
2014-03-17 19:17:23 +09:00
Youngbok Shin 66259d09e3 edje/entry: fix to not emit "changed" signal in unnecessary cases of password mode.
Summary:
When text is hidden by password character, "changed" signal should be emitted.
But, even if there is no visible text, the signal was emitted.

@fix

Reviewers: woohyun, tasn, cedric

Reviewed By: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-03-07 14:45:33 +09:00
Stefan Schmidt d9d97cf7f5 release: Update NEWS and bump version for 1.8.6 release 2014-03-03 13:02:38 +01:00
Stefan Schmidt 1b251dc707 Revert "evas: replace EINA_LIST_FREE to EINA_LIST_FOREACH_SAFE."
This reverts commit eb022cba1d.

This does not even compile. Blindly backported without any testing.
2014-03-03 10:19:48 +01:00
WooHyun Jung eb022cba1d evas: replace EINA_LIST_FREE to EINA_LIST_FOREACH_SAFE.
EINA_LIST_FREE does eina_list_remove_list, and clip_unset does
the same thing to the same list pointer. So, EINA_LIST_FOREACH_SAFE
is proper for this case.
2014-03-03 09:23:05 +09:00
Stefan Schmidt eb276bd81b examples/evas: Set a proper format string for fprintf
Instead of abusing the format string we should set it.
Was made aware of this problme by chinmaya061 in
https://phab.enlightenment.org/D585

@fix
2014-02-28 12:16:59 +01:00
Cedric Bail ed96f196eb ecore: @fix race condition when using ecore_main_loop_thread_safe_call_sync. 2014-02-27 12:25:52 -03:00
Tom Hacohen 69e47a5407 Evas text utils: Fixed walking compound clusters.
In some scripts, like Devanagari, clusters can be split across more
than just one glyph. This is now fixed.

Thanks to YoungBok Shin for reporting.
2014-02-19 12:10:36 +00:00
Tom Hacohen ebae5d5f00 Evas textblock tests: Add a wrapping test for complex cluster wrapping.
This test uses some Devanagari text that should have more complex
clusters than what latin text can provide. This is a more complex
wrapping case that should be tested and haven't been tested until now.
2014-02-19 12:10:34 +00:00
Albin Tonnerre 5ff5f509fc eina: allow eina_time_get to fall back to other clocks if the first one fails
Summary:
eina_time_get tries to use only one clock which is defined at compile-time and
returns the result of that one. This causes problems on platforms where eg.
CLOCK_PROCESS_CPUTIME_ID is defined but the clock is actually not implemented
(ie. clock_gettime returns EINVAL), as we simply don't get any time at all.

Instead, make sure we include the code for all defined clocks and simply fall
back to other clocks if the previous ones aren't implemented.

Reviewers: cedric, raster

Reviewed By: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-02-12 16:33:58 +09:00
Tom Hacohen 5464441979 Evas textblock: Fix rendering of spaces in some cases.
The issue was with a textblock that's being resized and a space between formats.
The problem is, that the text would get trimmed when wrapping, and then not
restored, because it had nothing to merge to.

This fixes T924.
2014-02-10 14:19:34 +00:00
Tom Hacohen 3cbde91cad Evas textblock: Added a test for rendering of spaces in some cases.
This checks that spaces are one again used, in a specific case
with wrapping.
2014-02-10 14:19:34 +00:00
Tom Hacohen a4287e8703 Evas textblock: Fixed *_cursor_char_coord_set with some y values.
Specifically y values that are between par->y and the first ln->y.

This should fix some selection issues with elm.
2014-02-07 13:19:19 +00:00
Tom Hacohen b0f9e9ee66 Evas textblock: Added tests for *_cursor_char_coord_set.
There are issues with values between the beginning of the first par and
the beginning of the first line.
2014-02-07 13:19:18 +00:00
Cedric BAIL 329433f10d eina: restore magic debug option for ABI compatibility purpose.
We can't remove that option as it break ABI for people who did turn
it off in 1.7.

- cherry-pick me -
2014-02-05 11:12:55 +09:00
Mike Blumenkrantz 5809234c08 edje freeze count can no longer become negative 2014-02-03 11:55:37 -05:00
Daniel Kolesa b545aaa58e evas: fix tiler bug (makes evas get stuck in an infinite loop there in certain scenarios)
backport of master commit 871597f8c2.
2014-01-30 12:26:22 +00:00
Jean-Philippe Andre 0cfd1eb64a evas: textgrid - fix crash in terminology with rare characters.
So I have a weird crash in terminology.
Reproduction path:
eet -x /path/to/elm/theme/default.edj edje/images/537

Scroll back in the terminal buffer, to show the entire file: CRASH.

Reviewers: cedric, tasn

CC: cedric, raster

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

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-29 22:37:41 +01:00
Tom Hacohen baede38db9 Evas textblock: Fix selection with bidi text.
This is a regression introduced in
548e548632.

This is really bad, and essentially broke selection geometry for bidi
text. Very serious.

The problematic code assumed that the range comparison for the items
assumed the item marked with 1 is always logically before the item marked
with 2, which is just not true.
2014-01-29 13:28:30 +00:00
Tom Hacohen 84e644f9e5 Evas textblock: Added a test for range geometry with bidi text. 2014-01-29 13:28:30 +00:00
Tom Hacohen b3c678c14a Edje entry: Fix memory corruption (of by one in allocation).
This fixes T867.
2014-01-28 10:10:29 +00:00
Tom Hacohen a2d42191c1 Edje entry: Fix anchor href parsing.
It should now correctly work with arguments surrounded with either
quotes or spaces.
2014-01-27 15:18:59 +00:00
Stefan Schmidt ae554e3f3d release: Update NEWS and bump version for 1.8.5 release 2014-01-27 12:28:43 +01:00
Cedric BAIL 8a850aad44 embryo: force the insertion of a '/' in the path to be sure that file path make sense. 2014-01-24 08:20:52 +09:00
Gustavo Sverzut Barbieri 868597f42d eet_data: guarantee double-word alignment for temporary stack buffer.
The code was giving enough memory to store doubles and longs, but they
could be unaligned as "unsigned char" allows 1-byte alignment, while
double may require 8 bytes.

By specifying the array as "long long" we force certain alignment in a
platform independent way. As this array is small enough and
short-lived, the number of items were not changed, this results in
more bytes on the stack but it shouldn't matter.
2014-01-20 21:43:07 -02:00
Gustavo Sverzut Barbieri 08115e92dd eina/mp/one_big: fix alignment issues.
When over-allocating (past "pool->max" items) a memory slice will be
allocated to the new item as a linked list using Eina_Inlist.

The original code was placing the Eina_Inlist structure (3 pointers)
at the beginning of the allocated memory. However the item must have
proper alignment based on "pool->item_size", otherwise a structure may
end with unaligned members. Take for example MIPS 32 bits, it uses 4
bytes pointers with 8 bytes double. A structure containing a double
could have it unaligned as 12 % 8 = 4 (12 is the size of Eina_Inlist,
that contains 3 pointers), and MIPS doesn't allow unaligned access.

Albin Tonnerre (Lutin) spotted this in his Debian MIPS test machine,
it was breaking at eet_data_get_double() that was storing an unaligned
double. This was being called from within edje test suite.

The current code will place the list node after the requested
"pool->item_size", of course guaranteeing the pointer inside the node
is aligned (otherwise a "char" or "short" would break its alignment).
2014-01-20 21:42:52 -02:00
Gustavo Sverzut Barbieri 8aa17f3f26 configure: include required NEON build flags.
It is required to use "-mfpu=neon" to build NEON.

Patch-by: Albin Tonnerre <lutin@debian.org>
2014-01-20 12:18:19 -02:00
Carsten Haitzler b1de86ed52 eina-inlist - handle prepend/append relative if list is null (empty)
stable release - cherry-pick me!
2014-01-20 15:18:21 +09:00
Cedric Bail cad0db5163 eina: fix memory leak of inserting the wrong value in the hash.
We where inserting the pointer data instead of the pointer, leading to
unaligned access on Sparc (Thanks Lutin to report it and Debian tools/infra
to help us catch it) and also a memory leak.
2014-01-11 21:41:22 +09:00
Jean-Philippe Andre b63675a809 Evas/cserve2: Fix valgrind warning about uninitialized memory
In cserve2, a shortcut was taken to check if two images were the
same, using memcmp() on the Evas_Image_Load_Opts struct. But it
seems some empty areas in the struct are uninitialized, potentially
making memcmp() fail when the images were actually the same.

This is a minor issue since this function is called only when
bypassing the socket wait.

Also, memset load_opts to 0 and copy all the fields to avoid
the same warning in socket send().

I'm just wondering about the performance impact vs. memcpy/memcmp.
2014-01-09 17:37:43 +09:00
Jean-Philippe Andre 7d4209d0ed Evas cserve2: Fix crash in cserve2 when slaves die
If a slave dies (eg. killed) when it's idle, then cserve2 will crash
miserably at the next request. Indeed, the dead slave's corpse was
removed from the working slaves' list but not from the lazy idle
slaves list.

Also, set read buffer to NULL after free. Just in case. We never know :)
2014-01-09 17:37:41 +09:00
Stefan Schmidt e99ba01205 release: Update NEWS and bump version for efl 1.8.4 release 2014-01-07 15:26:48 +01:00
Carsten Haitzler aa5d996d3c eio - protect against posible segv on rename with eio
this MIGHT fix T45 but i can't reproduce to confirm, but reading a
backtrace indicates this could have been the issue. it looks like
there is room for a dangling pointer anyway, so fix.

stable release - cherry-pick me!
2014-01-07 20:46:24 +09:00
Carsten Haitzler eb23cc28bb evas - gl-x11 engine - put in guessed blacklist of yinvert extn for intel mesa
Conflicts:
	src/modules/evas/engines/gl_x11/evas_engine.c
2014-01-07 20:46:24 +09:00
Carsten Haitzler 9f6fd5df1d efl - build - add warning about gnutls to configure and dropping privs
stable release - cherry-pick me!
2014-01-07 20:46:24 +09:00
Carsten Haitzler 0f2c8b5dd9 configure - add warning when enabling xcb
Conflicts:
	configure.ac
2014-01-07 20:46:24 +09:00
Jihoon Kim 30bee2208a fix typos in EFL documents 2014-01-07 14:29:42 +09:00
Jihoon Kim cbee8a19ea fix warning related to argument in generating doxygen 2014-01-07 14:29:33 +09:00
Stefan Schmidt e2c19f4060 doc/images.mk: Fix order of included files.
Now that we have a local independent sort order in the Makefile.am rule update
the generated file accordingly.

Master was already changed so this only applies to the efl-1.8 branch.
2014-01-06 18:11:29 +01:00
Carsten Haitzler 751893fd92 doc build - finally fix images.mk to stop changing order every make
sort changes output based on locale. even between C and en_US etc.
letalone all the other interesting ones. this causes the sorted order
to keep changing of the images. this forces locale to C to make it
always the same order.
2014-01-06 16:30:55 +01:00
Jihoon Kim 3801c0d3e1 fix 'found unknown command' warning in generating doxygen 2014-01-06 14:02:08 +09:00
Cedric BAIL af91a9d081 evas: fix build on windows. 2014-01-06 10:41:57 +09:00
Jihoon Kim 0a4b6ee34d ecore_imf: fix doxygen warning in ecore_imf_context_input_panel_enabled_set () 2014-01-06 09:33:50 +09:00
Jihoon Kim 1ced2cf4a6 evas: fix doxygen warning 2014-01-06 09:33:11 +09:00
Jihoon Kim 9171c62cbe ecore_imf: Add description about Ecore_IMF_Lib_Group 2014-01-06 09:32:40 +09:00
maxerba 19975bcd87 Updating serbian translation 2014-01-05 16:00:09 +01:00
Cedric Bail 79b5b8ec76 evas: let's use HUGETLB when it makes sense. 2014-01-05 23:34:39 +09:00
Cedric Bail ce3817c703 eina: Eina_File - don't leak memory when file is not found. 2014-01-05 11:02:00 +09:00
Jihoon Kim 989c862f63 ecore_imf_example: remove wrong implementation code.
Enter or Escape key should be processed by input method framework.
Editor should not call ecore_imf_context_reset by itself.
2014-01-04 14:25:39 +09:00
Jihoon Kim 3457940b5c Use key instead of keyname for considering setxkbmap 2014-01-04 13:32:46 +09:00