Yakov Goldberg
d33b0e03b7
evas: fix doxygen
2013-10-16 12:05:43 +03:00
Cedric Bail
3abf3a19f4
evas: request ellipsis from the right font.
2013-10-16 17:57:54 +09:00
Yakov Goldberg
cf320aa2b2
evas: fix doxygen
2013-10-16 11:53:04 +03:00
Cedric Bail
46447c95aa
eina: just for a little bit of better portability.
2013-10-16 16:54:36 +09:00
Sebastian Dransfeld
0b26b1bd89
eina: And guard the right function with umask
...
Thanks Cedric.
2013-10-16 04:56:51 +02:00
Sebastian Dransfeld
7576ff00f3
Set secure file permissions for temporary file
...
From glibc mkstemp man page:
In glibc versions 2.06 and earlier, the file is created with
permissions 0666, that is, read and write for all users. This old
behavior may be a security risk, especially since other UNIX flavors
use 0600, and somebody might overlook this detail when porting
programs. POSIX.1-2008 adds a requirement that the file be created
with mode 0600.
More generally, the POSIX specification of mkstemp() does not say
anything about file modes, so the application should make sure its
file mode creation mask (see umask(2)) is set appropriately before
calling mkstemp() (and mkostemp()).
And:
http://cwe.mitre.org/data/definitions/377.html
2013-10-16 04:28:53 +02:00
ChunEon Park
eea1b83cf6
evas/map - Fixed the map surface to be updated properly.
...
By tranversing the whole of the map target's tree,
it decides to update the map surface to be redrawn if one of the objects is changed except the clipper itself.
2013-10-15 22:24:27 +09:00
Chris Michael
cf859cfacc
Fix horrid formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-15 13:40:50 +01:00
Chris Michael
7c6e4a2339
Fix doxy typo
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-15 13:38:44 +01:00
Chris Michael
961c8c8684
Remove blank line
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-15 13:38:44 +01:00
Carsten Haitzler
aba7e9892e
evas - fix textblock handling of effects for shadows and so on in some cases
2013-10-15 16:05:11 +09:00
ChunEon Park
0daa2d02c7
Edje - Fixed memory leak in the edje map color transition.
...
Some cases, It doesn't free the interpolated colors.
Now it has guaranteed to free them always.
2013-10-15 15:00:13 +09:00
Carsten Haitzler
f93329d119
Revert "eina: fix CID 1106340: Logically dead code (DEADCODE) reported by coverity."
...
This reverts commit 1c1b48ca64
.
this commit is causing all sorts of hell and crashes, hangs and what
not. like:
Thread 1 (Thread 0x7feb7389e780 (LWP 7149)):
No symbol table info available.
No symbol table info available.
at lib/eina/eina_inlist.c:422
l = 0xf38a50
__FUNCTION__ = "eina_inlist_demote"
#3 0x00007feb6a809867 in
_eina_chained_mempool_alloc_in (
pool=pool@entry=0x8650a0, p=p@entry=0xf38a50)
at modules/eina/mp/chained_pool/eina_chained_mempool.c:197
mem = 0xf3a690
#4 0x00007feb6a809dff in eina_chained_mempool_malloc
(data=0x8650a0,
size=<optimized out>)
at modules/eina/mp/chained_pool/eina_chained_mempool.c:300
pool = 0x8650a0
p = 0xf38a50
mem = <optimized out>
#5 0x00007feb6a7e451f in
eina_mempool_malloc (size=40, mp=<optimized out>)
at lib/eina/eina_inline_mempool.x:103
No locals.
#6 _eina_list_mempool_list_new (list=0x7feb5402a510)
at lib/eina/eina_list.c:199
No locals.
#7 eina_list_append (list=0x7feb5402a510, data=0xf41720)
at lib/eina/eina_list.c:534
l = <optimized out>
__FUNCTION__ = "eina_list_append"
#8 0x0000000000445d1a in
e_bindings_signal_add (ctxt=<optimized out>,
sig=0x947e6c "mouse,clicked,[12]", src=0x92248c "e.event.close",
mod=E_BINDING_MODIFIER_NONE, any_mod=1, action=0x93479c
"window_close",
params=0x0) at e_bindings.c:1036
binding = 0xf41720
#9 0x00000000004469d4 in e_bindings_init () at
e_bindings.c:68
ebs = 0x947df0
ebm = <optimized out>
ebw = <optimized out>
ebe = <optimized out>
ebk = <optimized out>
eba = <optimized out>
l = 0x9532e0
#10
0x0000000000437516 in main (argc=<optimized out>, argv=<optimized out>)
at e_main.c:941
safe_mode = 0 '\000'
after_restart = 1 '\001'
waslocked = 0 '\000'
t = <optimized out>
tstart = <optimized out>
s = <optimized out>
buff =
"1381800872.3", '\000' <repeats 19 times>
action = {__sigaction_handler = {
sa_handler = 0x4fca00 <e_sigabrt_act>,
sa_sigaction = 0x4fca00
<e_sigabrt_act>}, sa_mask = {__val = {
0 <repeats 16 times>}}, sa_flags = -1073741820,
sa_restorer = 0x0}
__FUNCTION__ = "main"
Detaching from program:
/usr/local/bin/enlightenment, process 7149
2013-10-15 10:42:26 +09:00
Cedric Bail
48b0f8515a
ecore_file: fix left over borking.
...
I think I teached raster well, my job here is done !
2013-10-15 10:21:03 +09:00
Carsten Haitzler
ea9963f469
ecore-file - remove ifdefs for HAVE_CULR since ecore-con "always" has it
...
now that it's runtime dlopen'ed etc. ecore-con "always" has url
support via curl so ecore-file needs to assume that this can always
work and this just use ecore-con-url anyway.
2013-10-15 09:16:26 +09:00
Yakov Goldberg
ed8301b8bf
eo: fix doxygen description, which is needed for parser
2013-10-14 18:12:28 +03:00
Cedric BAIL
15b9a640ac
evas: fix CID 1102547 - Resource leak
...
If all rectangle are clipped out, it is perfectly possible to return
no rectangle, this would lead to a possible leak.
2013-10-14 13:37:50 +02:00
Cedric BAIL
1c1b48ca64
eina: fix CID 1106340: Logically dead code (DEADCODE) reported by coverity.
2013-10-14 13:32:46 +02:00
Sebastian Dransfeld
76721f4153
efreet: Check buffer size
...
CID 1039582, 1039583
2013-10-14 13:21:48 +02:00
Sebastian Dransfeld
7f30306031
efreet: Always '\0' terminate buf
...
CID 1039721
2013-10-14 11:54:51 +02:00
Carsten Haitzler
a01ba5718d
evas - small buglet. image size of up to but NOT including 32768 are valid
2013-10-14 12:41:28 +09:00
m.biliavskyi
806c81876b
edje: add getters and setter for interpolation variables 1 and 2 in transition block of program.
...
Reviewers: cedric
Differential Revision: https://phab.enlightenment.org/D253
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-10-14 12:10:19 +09:00
Jean Guyomarc'h
dd2f6b1370
evas: fix build for Mac OS X.
...
Reviewers: cedric, michael.bouchaud
CC: cedric
Differential Revision: https://phab.enlightenment.org/D242
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-10-14 12:10:19 +09:00
Jérémy Zurcher
59a73bdcad
eo: enable doc generation
2013-10-13 00:00:13 +02:00
Jérémy Zurcher
1648b67c5b
eo: add EO_CLASS_CLASS
...
it's an empty class without operations,
used as a return value for eo_class_get() when the caller is a class
2013-10-13 00:00:13 +02:00
Rafael Antognolli
c4f1e67686
ecore/wayland: Do not generate subsurface source files.
...
Add them to the tree, so they don't need to be generated again on each
build. Also remove the autofoo code used for generating them.
2013-10-11 14:26:34 -03:00
Stefan Schmidt
ab0f7ca625
Revert "Revert "Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool."""
...
Is there a title for the commiter with the longest revert of a revert list?
I screwed this one up. Had other local changes that sneaked in.
Resetting and doing it right now.
This reverts commit ee155b771d
.
2013-10-11 09:41:22 +01:00
Stefan Schmidt
ee155b771d
Revert "Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool.""
...
You can bet on reverting makes people speed up the process in fixing it.
Revert the revert here now that Cedric fixed it in eina.
This reverts commit 875e7cf74d
.
2013-10-11 09:36:35 +01:00
Cedric Bail
68a4e85483
eina: that stuff was just for adding a bug in fact.
2013-10-11 17:30:35 +09:00
Carsten Haitzler
69e27abdc3
eina - and e3fl in general - stop using eina_error_get/set - useless really
2013-10-11 16:50:40 +09:00
Cedric Bail
725237df0a
edje: It should never happen, but apparently it does, so assert to get a proper bt.
2013-10-11 15:15:54 +09:00
Cedric Bail
64b2b9c2b2
edje: fix a memory leak of Edje_Part_Element for any .edj using them.
2013-10-11 14:47:44 +09:00
Cedric Bail
c718a41728
eet: log size of subtype added to an Eet_Data_Descriptor.
...
This is really useful to track down a leak of a memory piece allocated by an
eet_data function. If you know the size of the leaked structure (valgrind
give you the total allocated size and the number of structure in it, so you
need to divide before having the right number), you just need to do :
EINA_LOG_LEVELS=eet:3 my_app 2>&1 | grep the_size
And there will be very few line matching reducing what you should be looking at.
2013-10-11 14:43:35 +09:00
Cedric Bail
7caef271dc
ecore: Use Eina_Spinlock for Ecore_Thread.
2013-10-11 11:08:17 +09:00
Cedric Bail
6dcffec491
evas: Use Eina_Spinlock for Evas_Scalecache, Evas_Async_Events and Image_Entry.
2013-10-11 11:08:17 +09:00
Cedric Bail
b9d8a7af3a
eet: use Eina_Spinlock instead of Eina_Lock for Eet_Dictionary.
2013-10-11 11:08:17 +09:00
Cedric Bail
435caae51a
eo: use Eina_Spinlock instead of Eina_Lock.
...
This is an ABI/API break for Eo, you will need to rebuild everything that use Eo.
2013-10-11 11:08:17 +09:00
Cedric Bail
0aa77d7dde
eina: use Eina_Spinlock in Eina_Stringshare instead of Eina_Lock.
2013-10-11 11:08:17 +09:00
Cedric Bail
82d86ea42d
eina: use Eina_Spinlock for Eina_Log.
2013-10-11 11:08:17 +09:00
Cedric Bail
1b07350a46
eina: add Eina_Spinlock API.
2013-10-11 11:08:17 +09:00
Carsten Haitzler
8ed6324a31
ecore-con - followup commit to curl dynamic load - support win and osx names
2013-10-11 08:13:35 +09:00
Rafael Antognolli
f2d1a21147
ecore/wayland: Add subsurface handling APIs.
2013-10-10 13:24:22 -03:00
Rafael Antognolli
1cef77bfd7
ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland.
2013-10-10 13:24:22 -03:00
Rafael Antognolli
f26f2da5ea
adding wayland subsurfaces protocol file.
2013-10-10 13:21:40 -03:00
Carsten Haitzler
2c1c6b9335
ecore-con: make curl support entirely runtime loaded via eina_module
...
this makes curl support a pure runtime-only thing. libcurl is loaded by
eina_module (dlopen/dlsym) when curl is actually first needed (when a
url connection/object is created). this means that ecore-con has no
link or compile dependencies on curl, only runtime, AND this saves
memory (due to curl inits using apparently a chunk of private pages).
so this saves memory and moves the dependency to runtime (though still
consider libcurl a dependency of efl - but like a binary executed,
it's at runtime).
2013-10-10 22:31:18 +09:00
Michaël Bouchaud (yoz)
4ce3e1e72f
emotion: add two events to trigger when a webcam is plugged or unplugged
2013-10-09 12:29:04 +02:00
discomfitor
80bcfac650
also unbreak ecore-wl header with previous reverts...
2013-10-05 16:38:55 +01:00
discomfitor
8f493ab6c5
Revert "ecore/wayland: Add subsurface handling APIs."
...
This reverts commit 65b960f4a6
.
Conflicts:
src/lib/ecore_wayland/ecore_wl.c
2013-10-05 16:26:24 +01:00
discomfitor
f66eceed10
Revert "ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland."
...
This reverts commit 7994b62c6b
.
2013-10-05 16:23:38 +01:00
discomfitor
06a5ba2118
Revert "adding wayland subsurfaces protocol file."
...
This reverts commit ad27efcb39
.
2013-10-05 16:22:15 +01:00
Rafael Antognolli
9506fd5db7
evas/image: Add video surface caps.
...
Wayland subsurfaces can be used as video surfaces too, similarly to
Ecore_X windows. However, they support a different set of features. Some
of them, like subsurface clipping and scaling, might be added in the
future, but so far we must work with what we have.
This commit allows to set an enum bitfield to the Video_Surface, with
the default value being one that will keep the same behavior as before,
for Ecore_X window. Thus, backward compatibility should not be broken.
It's possible to inform Evas that the surface in question is not able to
resize or scale, or that it's above or below the original canvas
surface. This allows Evas to show the surface itself, or use a buffer of
pixels instead, when the capabilities are not available.
2013-10-04 18:28:51 -03:00
Rafael Antognolli
d1c6266c45
evas/image: Delay some video overlay operations.
...
If we are running on async render, some operations must be delayed, so
they will happen at the same time that the canvas rendering result gets
updated on the window/surface.
2013-10-04 18:26:57 -03:00
Rafael Antognolli
22f9a6e8f0
evas/image: Take framespace into account when moving video surface.
2013-10-04 18:23:58 -03:00
Rafael Antognolli
65b960f4a6
ecore/wayland: Add subsurface handling APIs.
2013-10-04 18:23:58 -03:00
Rafael Antognolli
7994b62c6b
ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland.
2013-10-04 18:23:58 -03:00
Rafael Antognolli
ad27efcb39
adding wayland subsurfaces protocol file.
2013-10-04 18:23:57 -03:00
Cedric Bail
fe25608edd
eina: handle more compiler strangeness for bswap.
...
So current order is :
- __builtin_bswap*() for compiler that provide it
- _byteswap_*() for MSVC
- bswap_*() for older Linux and some BSD
- own C code when everything else fall appart.
The reason for this order is that the builtin will always generate
the best assembly possible. On my system bswap_*() are not changing
in all version to the best solution as they are almost equivalent to
the C macro.
2013-10-04 12:49:02 +09:00
Cedric Bail
d52f825de6
eina: in case of an error we should exit not continue and manipulate dead data.
...
This should fix a warning catched by LLVM/Clang.
2013-10-04 10:56:05 +09:00
Tom Hacohen
82f5f78dac
Revert "evas/textblock - null check."
...
I'm sorry, but those kind of commit messages are unacceptable for code
I'm the only maintainer of. It's bad enough that to have them in the
project in general, but this I won't accept.
I wanted to review this commit, but the lack of explanation about what
you are trying to fix and why you think this is the good fix prevents me
from doing my job. However, without really looking too much into it,
this commit looks wrong. evas_textblock_cursor_format_is_visible_get
should verify there's a format node...
Please come up with a better commit message and re-commit.
This reverts commit fe33aa7408
.
2013-10-03 18:45:07 +01:00
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
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
Carsten Haitzler
32514b7271
evas - clean up tiler code a lot and remove old commented out stuff
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
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
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
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
Tom Hacohen
8dbbc16731
Eo: Class_Id and Object_Id are now the same type.
2013-09-27 14:01:47 +01:00
Tom Hacohen
2a82ff95e4
Eo: unify the class func and normal func prototypes.
...
Conflicts:
src/lib/eo/eo.c
2013-09-27 14:01:47 +01:00
Tom Hacohen
298527191e
Eo: Fixed unused warnings when have EO_ID.
2013-09-27 14:01:47 +01:00
Jérémy Zurcher
9fa35820ca
eo: ojb_ref -> class_ref
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
f4c1bff0f3
eo: eo_do_super_internal() supports objects and classes
...
eo_class_do_super() macro calls eo_do_super()
eo_class_do_super_internal() and _eo_class_op_internal() are removed
Conflicts:
src/lib/eo/eo.c
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
c4b40aae0d
eo: eo_class_get() supports objects and classes
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
8855024e16
eo: eo_class_name_get() supports objects and classes
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
ef62885c93
eo: eo_vdo_internal() supports objects and classes
...
Conflicts:
src/lib/eo/Eo.h
src/lib/eo/eo.c
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
12bfc76483
eo: eo_do_internal() supports objects and classes
...
eo_class_do() macro calls eo_do()
eo_class_do_internal() is removed
op_type argument is remove from eo_do, eo_vdo_internal
Conflicts:
src/lib/eo/eo.c
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
c24775c58d
eo: add union _Eo to unify objects and classes internal pointers
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
f43287a261
eo: add _eo_is_a_class(const Eo *obj_id)
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
41bd91379e
eo: _Eo -> _Eo_Object
...
Conflicts:
src/lib/eo/eo.c
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
1714fe93f4
eo: libs,test,benchmarks Eo_Class -> Eo
...
Conflicts:
src/tests/eo/suite/eo_test_general.c
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
ee1b0833ed
eo: replace Eo_Class with Eo
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
a246e581a6
eo: if HAVE_EO_ID use MBS to tag Eo_Id
...
a bit is taken from generation bits to tag objects references so that we
know if a Eo* is a class or an object
2013-09-27 14:01:46 +01:00
Jérémy Zurcher
5913f78b4f
eo: if !HAVE_EO_ID front-pad _Eo_Class and _Eo_Object with _Eo_Handle
...
this is the first step on the road to remove class specific EAPI from Eo.h
using this handle we will know if a Eo* is a class or an object pointer
Conflicts:
src/lib/eo/eo.c
2013-09-27 14:01:46 +01:00
Tom Hacohen
933998b93d
Evas image: Moved a variable decl into the ifdef.
...
This variable is only ever used in the ifdef so there it should
reside.
2013-09-26 16:57:37 +01:00
Tom Hacohen
1845ffe5b0
Eo: remove the classe's EINA_MAGIC when using eo_id.
2013-09-26 16:26:55 +01:00
Chris Michael
3cc4efaf50
Fix doxy typo/grammar
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-26 12:16:10 +01:00
Mike Blumenkrantz
dfb0e32bb6
edje swallowing on the currently-swallowed part, which is a noop, now once again returns true
2013-09-26 09:02:54 +01:00
Cedric Bail
295babadb1
eina: check if the complete hash match before checking if the key match during children walk.
...
This give an interesting +15% for all Eina_Hash user whatever hash function they use. The inlined
djb2 is still the fastest one and all other give very close result.
This idea was given by Lucas De Marchi's blog :
http://www.politreco.com/2013/09/optimizing-hash-table-with-kmod-as-testbed/
I do believe that rolling a crc32 implementation as a hash function should give interesting result
in our test.
2013-09-26 15:51:25 +09:00
Lucas De Marchi
ad76ce025c
Revert "eina: add functions to alloc strings from a printf fmt"
...
This reverts commit b5fce696c7
and fixes
to NEWS and @since that came later.
These functions are pretty trivial and their functionality can be
obtained with asprintf() and snprintf. The first is not available only
on windows, but there's an implementation for that one on Evil, that
should be used instead.
2013-09-25 22:51:03 -03:00
Tom Hacohen
f03148f9e3
Evas font: Fixed evas_font_path_* functions to apply to fontconfig.
...
Until now those were only used for custom fonts, and not for fontconfig
searches. With this commit, fontconfig will also start looking in those
dirs.
2013-09-25 15:07:39 +01:00
Tom Hacohen
baf018d659
Evas font: Use our own custom fontconfig config.
...
This will make sure people that change the default config don't affect us.
2013-09-25 15:07:38 +01:00
Tae-Hwan Kim
54551defa6
eina: add EINA_INLIST_REVERSE_FOREACH_FROM.
2013-09-25 18:29:23 +09:00
Vorobiov Vitalii
4033943a0d
edje: add text min and max getters/setter to edje_edit.
2013-09-25 16:18:05 +09:00
Cedric Bail
b37494503f
evas: update to new eo_parent_get/set API.
2013-09-25 13:34:18 +09:00
Cedric Bail
5166bab675
ecore: update to new eo_parent_get/set API.
2013-09-25 13:34:18 +09:00
Cedric Bail
936a8072f2
eo: make eo_parent_get/set part of eo_base_class.
2013-09-25 13:34:18 +09:00
Carsten Haitzler
b5472db51d
fix if obj->layer is null during shutdown
2013-09-25 13:05:41 +09:00
Jérémy Zurcher
3ea1f7ae7c
eo: rename _Eo_Internal -> _Eo_Object
2013-09-24 14:53:49 +01:00
Jérémy Zurcher
dc63739a9d
eo: typedef uintptr_t Eo_Id; as Eo_Class_Id
2013-09-24 14:53:05 +01:00
Chris Michael
eeb6f1e59f
Do not call actual wl_surface_commit unless we have a buffer attached.
...
NB: Fixes zmike multi-client problem
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-24 11:34:10 +01:00
Chris Michael
deedad61b9
Add structure member to mark if window has an actual buffer
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-24 11:34:10 +01:00
Mike Blumenkrantz
21daab2c62
evas render bug--
...
objects that were visible and marked as "render del" rects during render are now detected when they magically change visibility during the same render loop, fixing a very hard to reproduce E19 corner case related to fullscreen client rendering with nocomp disabled
<raster> for now all i can say is "put the patch in and lets see if things break"
2013-09-24 11:34:21 +01:00
Christophe Sadoine
87b17f1ce9
eet: added EET_DATA_DESCRIPTOR_ADD_SUB_NESTED().
2013-09-24 15:10:44 +09:00
Cedric Bail
a7fe49139d
eina: fix @since to be a proper revision number.
2013-09-24 15:03:24 +09:00
Jorge Zapata
b5fce696c7
eina: add functions to alloc strings from a printf fmt
2013-09-24 12:20:27 +09:00
Jorge Zapata
b98ee971f3
eina: add a substraction in rectangles and more helpers
...
Also add functions to cut a rectangle in the different
lengths/coordinates.
Add helper macros to printf a rectangle
2013-09-24 12:20:27 +09:00
Jorge Zapata
538821f09d
eina: add double_from/to and helper defines in f16p16
2013-09-24 12:20:27 +09:00
Tom Hacohen
2ab088aeea
Evas textblock: Fixed native size calculation.
2013-09-23 14:37:18 +01:00
Tom Hacohen
2173652b4d
Evas textblock: Fix format based line size calculation.
...
Format based line size modifiers were not applied.
2013-09-23 14:37:18 +01:00
Tom Hacohen
cbde2bef69
Evas textblock: Fixed max descent adjustment and a related bug.
...
The bug caused wrong line sizing in some situations (appending new
paragraphs to a textblock).
2013-09-23 14:37:18 +01:00
Tom Hacohen
72167b9cc3
Evas textblock: Fixed ascent/descent calculation a bit more.
...
Separated maxascent/descent from ascent/descent even further.
Fix calculation to be based on font instance and not the font group.
2013-09-23 14:37:18 +01:00
Tom Hacohen
5adffd54e5
Evas textblock: rename maxascent/descent->ascent/descent.
...
Although we kinda use them as max in some situations, they are actually
just the regular ascent and descent. Following commits will make this
separation even stronger.
2013-09-23 14:37:18 +01:00
Jérémy Zurcher
2041e995fc
eo: fix EO_DEBUG compilation
2013-09-23 11:07:07 +02:00
Tom Hacohen
94e6f6a5bc
Evas textblock: Fix wrong line spacing when appending lines.
...
This fixes T397 which was introduced by commit: 4bcf4991eb
.
This also fixes the issues with enventor.
2013-09-20 13:52:48 +01:00
José Roberto de Souza
2266bf8904
eldbus: Use FDO error message to timeout
2013-09-19 15:47:22 -03:00