Cedric Bail
e11df0e085
evas: sorry for the last broken commit.
2013-11-21 15:33:21 +09:00
Cedric Bail
c113bdcfcf
evas: header order are important.
...
First system, then EFL public, then EFL internal. If not, you break windows
build.
2013-11-21 15:18:42 +09:00
Cedric Bail
c9f6889bf6
evas: actually include the header.
2013-11-21 14:49:08 +09:00
Cedric Bail
62b469749a
eina: fix the crash seen by some during rebuild.
...
Before this patch, we were unconditionnaly destroying the Eina_File if that one
did change on disk. We also make sure that we remove the right entry from the cache
if the file did change there.
2013-11-21 14:49:08 +09:00
ChunEon Park
eea338764a
edje - actually we don't need extra variable.
2013-11-21 13:50:19 +09:00
ChunEon Park
12aba0db5a
edje - Fix to update map enabled part when edje object is moved.
2013-11-21 13:26:37 +09:00
ChunEon Park
035d573571
edje - cleaning the code.
...
keep our code convention.
2013-11-21 13:12:34 +09:00
ChunEon Park
c28f08a477
edje - use Eina_Bool.
2013-11-21 13:00:55 +09:00
Cedric Bail
63c01cbb2a
evas: reduce numbers of call to eet_init/eet_shutdown.
2013-11-21 10:50:48 +09:00
ChunEon Park
3c9059e3e4
edje - more elaborated compare to reduce compare count.
2013-11-21 10:25:35 +09:00
Tom Hacohen
46a3f01465
Eo tests: Added a parent_set parameter validity test.
2013-11-20 12:23:18 +00:00
Tom Hacohen
cad3cf30a4
Eo: Check parent is valid in eo_parent_set.
...
This is an extension to raster's 0355a6a296
(eo - fix _parent_set in base clase when old_parent_pd is NULL).
I also added an error message in case this check fails.
2013-11-20 12:23:18 +00:00
Carsten Haitzler
0355a6a296
eo - fix _parent_set in base clase when old_parent_pd is NULL
...
this should fix T538
2013-11-20 20:25:33 +09:00
Cedric Bail
0cfb40b7fb
eina: cleanup file destruction and reintroduce EINA_MAGIC use.
2013-11-20 20:08:44 +09:00
Cedric Bail
4096a18523
edje: fix use of eina_hash_pointer_new to actually look at the right value.
2013-11-20 20:05:32 +09:00
ChunEon Park
21b8212902
edje - removed unused function.
2013-11-20 18:52:41 +09:00
Jérémy Zurcher
58b578c9b0
eina: fix a possible race condition during eina_file_close.
...
replay 7e8fb93
without the breakage
2013-11-20 10:22:00 +01:00
Jérémy Zurcher
8a3e021298
Revert "eina: fix a possible race condition during eina_file_close."
...
it breaks everything
This reverts commit 7e8fb93206
.
2013-11-20 10:22:00 +01:00
Carsten Haitzler
4eb4307aa2
evas - table - protect against invalid cell/row values (16bit overflow)
2013-11-20 18:07:17 +09:00
Cedric Bail
7e8fb93206
eina: fix a possible race condition during eina_file_close.
...
The lock on the main hash was taken to late (after we took the decision
to remove the targeted Eina_File from the cache), this means it was possible
to get an Eina_File from the cache that was going to be removed. This patch
attempt to fix that potential race condition.
Hopefully should fix T461.
2013-11-20 13:02:37 +09:00
Carsten Haitzler
0146e3dacc
Docs fix for ecore_animator_add fixed
...
Summary:
Function returns boolean value, docs said it can return int.
I had fixed that.
Reviewers: cedric, raster
Reviewed By: raster
CC: cedric
Differential Revision: https://phab.enlightenment.org/D342
2013-11-20 08:42:27 +09:00
Tom Hacohen
7bba64d7ee
Evas textblock: Fixed order of tags inserted with markup_app/prepend.
...
The order was messed up when inserting a few formats in the
markup_append/prepend functions without any characters between them.
For example, inserting "<b><i>" would result in "<i><b>" being inserted.
Thanks to YoungBok Shin for reporting this.
2013-11-19 16:05:34 +00:00
Tom Hacohen
0e363f54b4
Evas textblock tests: Added tests for correct tag ordering.
...
Check that tags entered are correctly ordered.
2013-11-19 15:56:49 +00:00
Tom Hacohen
61264aebe3
Evas textblock tests: Added a complex markup set/get test.
...
This should make things more robust as thing tests a lot.
2013-11-19 15:56:49 +00:00
Daniel Zaoui
086c5ae901
Evas Smart: print Eo id instead of pointer to internal data.
2013-11-19 16:32:43 +02:00
Chris Michael
0a32212a79
Add support for storing mulitple touch points.
...
Send events to properly focused surface.
Fill in missing parts of the event structures (ev->root, ev->multi).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-19 10:38:23 +00:00
Chris Michael
e1dc4579fd
Add list of touch points to input structure, and a pointer to the
...
"touch" focused surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-19 10:38:23 +00:00
Chris Michael
125576d6a1
Remove unused variable
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-19 10:38:23 +00:00
Carsten Haitzler
00598ee768
distcheck - solve missing ecore_evas_drm.h
2013-11-19 17:07:49 +09:00
Chris Michael
d96339e9bb
Don't send pointer_enter events on touch_down.
...
Fix touch_down and touch_up to send proper button ID (ecore_x sends 0).
Fixes Phab Ticket T468
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-18 12:58:54 +00:00
Chris Michael
1f8789644b
Remove read code.
...
Fixes Coverity CID1039498
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-18 12:52:38 +00:00
Chris Michael
7575883a56
ftell can return -1 to indicate error, so trap for that
...
Fixes Coverity CID1039358
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-18 12:37:38 +00:00
Chris Michael
41a700b2d5
ftell can return -1 to indicate error, so trap for that.
...
Fixes Coverity CID1039356
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-18 11:58:39 +00:00
Chris Michael
164269a2da
Malloc cannot accept a negative number so check 'num' parameter before
...
calling malloc.
Fixes Coverity CID1039352
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-18 11:50:42 +00:00
Cedric Bail
de13560056
evas: those if (re) are useless indeed.
...
Should fix CID 1129611 and CID 1129612 from this week coverity scan.
2013-11-18 19:21:06 +09:00
Cedric Bail
30fa53c13d
eina: try to handle all possible 64bits pointers environment.
2013-11-18 19:21:06 +09:00
Cedric Bail
ba30060ff9
evas: try to clarify licensing for people that are going to make their own Evas loader.
2013-11-18 19:21:06 +09:00
Chris Michael
a490019b52
Remove dead assignments reported by nightly build
...
cw/cy are never used inside the "dosel" block, so no need to fetch
geometry and calculate difference here (already fetched below when
needed anyway).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-18 10:15:54 +00:00
Chris Michael
0800b2ec1e
Partial revert of eb84475503
...
Actually, we don't need to free this data here.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-18 08:04:07 +00:00
Chris Michael
eb84475503
Check for valid drag type before trying to strdup.
...
When deleting the drag, free any dupped strings.
Hopefully this fixes Phab Ticket T471. Don't know for sure as I cannot
reproduce the crash here :/
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-18 07:56:13 +00:00
ChunEon Park
5cefa00d0a
evas/render - optimize proxy rendering.
...
redraw proxy if the source is smart object and it's changed visually.
2013-11-18 16:12:30 +09:00
Daniel Juyung Seo
1500338a8d
evas_object_main.c: fixed formatting while reading the code.
2013-11-18 13:08:37 +09:00
Cedric BAIL
425b399172
eina: remove the value from the hash before changing it !
...
This should fix bug T439.
2013-11-17 12:20:02 +01:00
Carsten Haitzler
a1b503d0ad
ecore-evas - example - fix lack of bg object in sub buffer
...
this fixes T229
2013-11-17 14:04:40 +09:00
Cedric BAIL
239c326b96
evas: fix build without FontConfig.
...
Note that we still support building without FontConfig, so please
guard access to it.
2013-11-17 04:48:43 +01:00
Carsten Haitzler
753c359e61
ecore_fb - fix fb size get to use evas env vars for fb device
...
this makes evas ane ecore_fb agree on how to address the fb device.
this fixes terminology in fb on optimus (dual gpu) setups where you may
have to declare the exact fb to use (there are 2 of them, not just
fb0) and makes things consistent at least. this also should fix T253
2013-11-17 12:07:46 +09:00
Carsten Haitzler
80d666e7a4
ecore-audio - protect against more list-walking while list is modified
2013-11-17 11:03:20 +09:00
Carsten Haitzler
294b05c874
oops - remove printf debug.
2013-11-17 10:24:59 +09:00
Carsten Haitzler
b676a97960
evas - evasgl ... make osmesa sw render support work again
2013-11-17 10:23:25 +09:00
Carsten Haitzler
3411fccc1e
evas - gl - osmesa also try older osmesa major versions
2013-11-16 18:46:36 +09:00