ChunEon Park
fe33aa7408
evas/textblock - null check.
2013-10-04 02:43:20 +09:00
ChunEon Park
18be4c50d9
eina/eina_file - fix eina_file_map_lines() to not drop of one character in the last line.
2013-10-04 01:58:35 +09:00
Cedric Bail
44988e4798
evas: more fix for ellipsis.
...
This one fix size of the object that didn't take into account the style
of the text since we added the support of ellipsis in Evas. It also
correctly detect when we insert an ellipsis in the text to relayout
properly on resize.
2013-10-02 20:57:29 +09:00
Cedric Bail
4c572c827a
evas: we actually need to take those additional value into account.
2013-10-02 20:57:29 +09:00
Cedric Bail
fa6523929d
eina: update the ChangeLog and NEWS.
2013-10-02 20:57:29 +09:00
Cedric Bail
672bd97cea
ecore_ipc: use the new eina_swap*().
2013-10-02 20:54:50 +09:00
Cedric Bail
ff3d2a68d5
eina: add infrastructure to handle more CPU and compiler builtin information.
2013-10-02 20:54:50 +09:00
Tom Hacohen
04b28686af
Evas Textblock: Use font underline properties.
...
This change causes textblock to use the font properties when drawing
underline.
2013-10-02 11:46:25 +01:00
Tom Hacohen
fca131d6fa
Evas font: Added functions to query the underline properties.
...
This will let us query the position and thickness as requested by the font.
2013-10-02 11:46:25 +01:00
Carsten Haitzler
6a2aafeac3
evas - more deadlocks found. fixed.
2013-10-02 17:06:26 +09:00
Carsten Haitzler
48a3f299b0
evas - fix deadlock in preload that we seemm to never have hit before...
2013-10-02 16:32:33 +09:00
Cedric Bail
3b93896e54
evas: fix Evas_Object_Text alignment with ellipsis.
2013-10-02 11:02:05 +09:00
U. Artie Eoff
4606c0b95e
examples/ecore: don't use ECORE_CON_LIBS
...
We can't use ECORE_CON_LIBS at the examples/ "make" context
since it defines libraries relative to the src/ directory
(e.g. lib/ecore/libecore.la). Use ECORE_CON_COMMON_LDADD instead.
This fixes the following link error with ecore_fd_handler_gnutls_example
when the project is configured with --with-crypto=gnutls:
libtool: link: cannot find the library `lib/ecore/libecore.la'
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-10-01 13:53:29 -07:00
U. Artie Eoff
65b11e98c8
examples/ecore: ecore_pipe_gstreamer_example must go in HAVE_GSTREAMER guard
...
Only specify ecore_pipe_gstreamer_example in EXTRA_PROGRAMS inside the
HAVE_GSTREAMER makefile guard.
Fixes: https://phab.enlightenment.org/T423
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-10-01 13:46:57 -07:00
Carsten Haitzler
32514b7271
evas - clean up tiler code a lot and remove old commented out stuff
2013-10-01 20:57:39 +09:00
Carsten Haitzler
e383e3096d
evas - try cleanup pipe_region_intersects again.. this time without bugs.
2013-10-01 20:57:39 +09:00
Cedric Bail
5487b75635
evas: fix some ellipsis case.
2013-10-01 20:45:21 +09:00
Cedric Bail
fdea402d32
evas: try to set EAPI correctly.
2013-10-01 17:24:37 +09:00
Cedric Bail
2e5a0215e6
evas: reduce number of relayout of text object to the strict minimum.
2013-10-01 16:38:47 +09:00
Vincent Torri
3b8b2ac66c
evas: add JPEG 2000 loader.
...
This add finally support for JPEG 2000, but be aware that libopenjpeg
is very badly managed. There is currently only version 1.5.x that does
provide the right files, is usable by a third party and portable. You
can seriously forget any other version.
2013-10-01 16:38:44 +09:00
Cedric Bail
83eaf14f32
evas: make Evas_Loader.h a real public API.
2013-10-01 16:38:44 +09:00
Tom Hacohen
bb84a01f7c
Evas textblock: Moved relayout checks to a function.
...
This cleans up the code a bit and makes it a bit simpler.
2013-09-30 16:15:16 +01:00
Carsten Haitzler
ad89985d41
update po's
2013-09-30 23:31:48 +09:00
Carsten Haitzler
a4a285089f
evas - improve textblock logic to reduce num of layouts when used - faster
...
when using genlist and the edje item objects, there seem to be a lot
of excess textblock layouts happening. i was seeing about 12 layouts per tb
part in the edje before this patch. with this it's down to about 3.
2013-09-30 23:31:48 +09:00
Tom Hacohen
baf0fc4268
Eo: Don't compare desc to NULL as it can never be NULL at that stage.
...
Fixes coverity CID1039420.
2013-09-30 14:32:47 +01:00
Tom Hacohen
de6f57fac0
Eina inlist: Removed redundant if in EINA_INLIST_FOREACH_SAFE.
...
If it is not NULL, so will EINA_INLIST_GET. As that returns a pointer to an
area after it.
2013-09-30 14:28:38 +01:00
Tom Hacohen
104a57b58a
Eo callbacks: Fix a possible issue of corrupted callback list.
...
This happens when we delete more than one callback at the beginning
of the list (i.e 2 or more) in one go.
2013-09-30 14:16:46 +01:00
Tom Hacohen
f5d4a807c8
Eo: Don't write to pointer after free.
...
Fixes coverity: CID 1039898.
2013-09-30 14:15:37 +01:00
Tom Hacohen
42d29b55e5
Eo: don't va_start without a matching va_end.
...
Fixes coverity CID1099707.
2013-09-30 14:10:21 +01:00
Tom Hacohen
8ca320a1fc
Eo: don't va_start without a matching va_end.
...
Fixes coverity CID1099708.
2013-09-30 14:07:20 +01:00
Stefan Schmidt
642e4293ff
evas/textblock: Remove null statement.
2013-09-30 09:48:34 +01:00
Cedric BAIL
5f630e8653
evas: let's inline data to get a little speedup when matching kerning.
2013-09-29 13:43:46 +02:00
Cedric BAIL
5d37215d26
evas: let's micro optimize the parsing of format.
...
Only the key is worth being a stringshare as it is used to do an efficient
binary comparison instead of iterating over all possibility. Also reused
some already known value and a few other speedup.
2013-09-29 13:43:46 +02:00
ChunEon Park
3b6961e175
evas/canvas - code refactoring. more clean code.
2013-09-29 17:31:56 +09:00
Daniel Zaoui
203b6295e9
Reduce the number of deleted objects to reduce the number of expected error prints
2013-09-29 09:34:03 +03:00
Daniel Zaoui
334ac705f3
Eo: fix when detaching the composite of its parent ... that has to exist
2013-09-29 08:50:32 +03:00
Tom Hacohen
cb92a60a61
Eo: merge _eo_obj_dov_internal and _eo_class_dov_internal.
...
They are the same except for really minor differences.
2013-09-27 17:21:08 +01:00
Tom Hacohen
e6886e05b1
Eo: get rid of eo_class_do(_super) which we don't need anymore.
...
We now completely use eo_do(_super), so those are not needed.
2013-09-27 17:01:51 +01:00
Tom Hacohen
7ed7d7da8b
Eo: class_get on a class should not return itself.
...
This is there until we create a Class class of which all classes are
instances.
2013-09-27 16:50:34 +01:00
Tom Hacohen
c1e5fb7cf8
Eo tests: Fixed wrong prototype in one of the tests in the suite.
2013-09-27 16:44:00 +01:00
Tom Hacohen
682c69764d
Revert "eo: libs,test,benchmarks Eo_Class -> Eo"
...
This reverts commit 1714fe93f4
.
We actually want this type, it makes things clearer.
Conflicts:
src/tests/eo/function_overrides/function_overrides_inherit2.c
src/tests/eo/function_overrides/function_overrides_simple.c
src/tests/eo/suite/eo_test_class_simple.c
2013-09-27 16:40:32 +01:00
Tom Hacohen
832fc5b5ce
Manually revert "eo: replace Eo_Class with Eo"
...
This reverts commit ee1b0833ed
I did it manually because the code changed too much.
We actually want this type, it makes things more clear and easier to
understand.
2013-09-27 16:40:32 +01:00
Tom Hacohen
ba5af54f6d
Eo: Fixed the type _eo_id_get accepts.
2013-09-27 14:01:47 +01:00
Tom Hacohen
e3cb9195c2
Eo: Explicitly include Eina.h in eo_private.h.
...
It's uses eina stuff, we can't just assume eina is already included.
2013-09-27 14:01:47 +01:00
Tom Hacohen
01effff86f
Eo: Get rid of the _Eo type, it's not needed.
...
We have Eo_Base for that.
2013-09-27 14:01:47 +01:00
Tom Hacohen
c64637e500
Eo: Use __FILE__ and __LINE__ instead of random values.
2013-09-27 14:01:47 +01:00
Tom Hacohen
1059f802bf
Eo: Rename Eo_Header to Eo_Base.
2013-09-27 14:01:47 +01:00
Tom Hacohen
828928601e
Eo: Added an Eo_Class type just for compat. Should be removed.
2013-09-27 14:01:47 +01:00
Tom Hacohen
e17e66db8c
Eo: Get rid of handle. Use the shared header for detection.
2013-09-27 14:01:47 +01:00
Tom Hacohen
5e90d51013
Eo: Merge common part of class and object.
...
First step toward getting rid of "handle".
2013-09-27 14:01:47 +01:00