Commit Graph

203 Commits

Author SHA1 Message Date
Daniel Zaoui 8b3a7b6167 Add @since 1.8 to all the defines added for Eo in Evas.h + fixes after
make doc.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78358
2012-10-23 06:26:40 +00:00
Daniel Zaoui 9cc4d3c3c0 Fix for Clouseau. Seems that some bugs remain on Evas.
Sorry for the inconvenience.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78323
2012-10-22 08:57:08 +00:00
ChunEon Park 533cb57962 evas/events - use Eina_Bool
SVN revision: 78314
2012-10-22 05:02:53 +00:00
ChunEon Park 916f9ce50c evas/proxy - skip the events on invisible source obj.
SVN revision: 78313
2012-10-22 04:57:32 +00:00
ChunEon Park 5f8b84063f evas/proxy - update rendering when source visibility is switching.
SVN revision: 78249
2012-10-19 12:22:16 +00:00
Cedric BAIL e0af0dca6d evas: remove as many call as easily possible to eo_data_get.
SVN revision: 77702
2012-10-10 07:23:00 +00:00
Daniel Zaoui a01418aff8 eo: changes made for the support of the Eo concept
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 77604
2012-10-09 01:58:41 +00:00
Mike Blumenkrantz 8501f2111a probably the best commit I'll ever make: evas_object_del() now takes NULL parameter without bitching
SVN revision: 77344
2012-10-03 06:59:20 +00:00
Jiyoun Park 7d2ced81f6 add evas object display mode hint
this hint can be used when user want to notify
and change object size hint(display mode)
like compress(example, keyboard show and object need to be compressed)
and etc.


SVN revision: 77136
2012-09-27 08:54:54 +00:00
Rafael Antognolli ce85aa2b48 evas/render2: Fix check to drop previous map from cache.
SVN revision: 76551
2012-09-12 18:36:15 +00:00
Carsten Haitzler 921b861f6f fix evas map leak.
SVN revision: 76286
2012-09-07 08:02:32 +00:00
Christopher Michael 90a436ca0c Evas: When doing a move or geometry_get, we need to make sure that we
don't try to do these on the framespace clip object. Also, since we
need the evas to get the framespace clip object, just directly use the
framespace values from the canvas, rather than function call to get
those values.



SVN revision: 75989
2012-09-03 09:41:01 +00:00
Tom Hacohen 77997affda Evas: Revert "Evas: tabs --> spaces"
Lets wait until after the code freeze is over and people apply their
patches, otherwise it'll be hellish.
This reverts commit 75632

SVN revision: 75704
2012-08-26 07:04:46 +00:00
Rafael Antognolli be7953b243 evas/render: Add a flag for dropping the map cache if needed.
The map cache must be dropped if the content of the surface is rendered again.
The example evas-smart-object.c has a valid test case for this bug.



SVN revision: 75636
2012-08-23 19:58:02 +00:00
Vincent Torri 681fdbc351 Evas: tabs --> spaces
SVN revision: 75632
2012-08-23 15:48:37 +00:00
Christopher Michael 5c5c1da5fb Evas: Integrate patch from Robert Bradford which makes the framespace
adding and subtracting consistent. Fixes ticket #1295.



SVN revision: 75545
2012-08-22 12:41:44 +00:00
Carsten Haitzler 6d02ebcf28 leaks--!
SVN revision: 74868
2012-08-04 04:14:38 +00:00
Christopher Michael 72aad68b27 Evas: Fix bugs in Wayland Engine(s) with regard to object geometry &
position. Fix bug when clipping to viewport/framespace. These changes
fix Several buggers on Trac which related to the Wayland Engine(s).

Fix minor bug in evas_render where clipping for framespace would
not take into account the frame height and also move the frame clip to
the values specified in framespace (not viewport).

Fix buggers in evas_object_main which was causing objects (when created using 
the wayland engines) to be an incorrect size & position (objects will now
be the same size/position in EFL Wayland as they are in X11).

Fix evas_object_geometry_get to return values based on where they were
moved (in relation to framespace). (These fixes are for the Wayland
Engines and do not affect X11).

Remove nw/nh from evas_object_resize (not needed variables anymore).



SVN revision: 74565
2012-07-30 09:52:33 +00:00
Cedric BAIL 7f1e95afc8 evas: fix evas map life cycle.
SVN revision: 73963
2012-07-17 09:09:45 +00:00
Cedric BAIL 64fd2b487a evas: fix garbage with left over mapped smart object.
This fix the bug reported by Bruno Dilly.


SVN revision: 73944
2012-07-17 03:35:53 +00:00
Carsten Haitzler fc9218087d adjust default memprool alloc sizes. too big imho.
SVN revision: 72249
2012-06-17 01:32:10 +00:00
Cedric BAIL 3333544ed6 evas: delay O(n) update of the bounding box until we really need it.
SVN revision: 71773
2012-06-07 07:10:36 +00:00
ChunEon Park 2a9f42c47e evas/evas_render - and should update the mapped objects when their color is changed since color should be multiplied again.
SVN revision: 71226
2012-05-18 07:17:34 +00:00
ChunEon Park c21bfb49c2 evas - removed unnecessary fields, changed_nomove and changed_move_only.
These are actually not necessary right now.



SVN revision: 71199
2012-05-17 10:51:54 +00:00
ChunEon Park 14e43d84fd evas/evas_render - added evas_object_change_reset internal function to remove much duplicated code
SVN revision: 71169
2012-05-16 12:59:33 +00:00
Cedric BAIL 3438ce3f68 evas: a little bit faste.
SVN revision: 70684
2012-05-03 04:40:09 +00:00
Cedric BAIL 9d405225fe evas: let's try to determine the smallest possible size
for the bounding box. This vastly improve the time spent
during event propagation when playing with elm_genlist.


SVN revision: 70683
2012-05-03 03:58:27 +00:00
Cedric BAIL 096aa3f1d4 evas: reduce complexity and update needed for smart object bounding box.
SVN revision: 70588
2012-05-02 02:17:33 +00:00
Cedric BAIL 0f424acb6e evas: and for this nice international hollyday let me introduce a dynamic bounding box for smart object.
This make it possible to use the object tree to reduce the number of object, we need to explore to know
what is under a specific position. First used by propagation event code. That code is now 4 times faster, enjoy !
As a side cost evas_object_move goes from 925 to 980 valgrind cycle on my computer, so not something you
will notice.

NOTE: if you notice any breakage regarding event propagation, map, cats, minor or major, please report to
me ! I hope I didn't loose my mojo, with such a scary change, I have a big chance to get it back !


SVN revision: 70564
2012-05-01 07:31:42 +00:00
Gustavo Lima Chaves 4bac402899 [evas] When deleting map, resize/move informs will occur, that may want to access smart data.
So, don't delete them before that, eh?



SVN revision: 70560
2012-04-30 20:47:54 +00:00
Cedric BAIL 377cc2368a evas: remove EVAS_FRAME_QUEUING.
NOTE: This should be part of evas_render itself and not
delegated to the engine. So cleaning things to make it easier
during evas_render rewrite.


SVN revision: 70503
2012-04-26 09:53:03 +00:00
Carsten Haitzler aadce3fe47 spell complaint properly
SVN revision: 69959
2012-04-09 03:43:45 +00:00
Carsten Haitzler 6a2b539682 add reg_get api for evas objects in order to help fix elm bug.
SVN revision: 69722
2012-03-29 07:46:30 +00:00
Daniel Juyung Seo a49528f7ff evas evas_object_main.c: Revised code. Use EINA_TRUE/EINA_FALSE for Eina_Bool type variable.
SVN revision: 69693
2012-03-28 07:17:39 +00:00
Cedric BAIL d350177475 evas: print error instead of only silently preventing bad things to happen.
SVN revision: 69460
2012-03-16 15:02:01 +00:00
Carsten Haitzler 978448d656 since too many people make this mistake of not reading evas's docs and
seeing color is PREMULTIPLIED ARGB... evas_object_color_set is just
going to enforce it and limit r, g and b to a.



SVN revision: 68299
2012-02-23 04:53:19 +00:00
Gustavo Sverzut Barbieri 9a47bffc98 fix gcc warnings about set-but-unused and shadows of y1.
NOTE: did not touch mess that is jpeg, someone else can deal with it :-P



SVN revision: 67353
2012-01-19 16:49:47 +00:00
Christopher Michael 8e2de5ae3d Evas: Fix move/resize of smart objects when using a frame (fixes elm
borders in wayland).



SVN revision: 66761
2012-01-02 21:27:46 +00:00
Christopher Michael 6dd4ff46ba Evas: Send proper intercept size based on 'is_frame' or not.
SVN revision: 66637
2011-12-29 18:02:23 +00:00
Christopher Michael c4aa1944f9 Evas: Default 'is_frame' to false for new objects.
Handle 'moving' nad 'resizing' of objects if they are not 'frame objects'
Add code for frame_object_get/set functions.
Fix some formatting.



SVN revision: 66536
2011-12-26 23:09:45 +00:00
ChunEon Park bf8ddb5ecb evas - one more line duplicated.
SVN revision: 66470
2011-12-23 02:24:19 +00:00
ChunEon Park ad007a72d6 evas - removed duplicated lines
SVN revision: 66469
2011-12-23 02:20:56 +00:00
ChunEon Park 2dd552f003 evas/main - removed unnecessary casting.
SVN revision: 66272
2011-12-16 07:22:09 +00:00
Jiyoun Park 36e658e20a bug fix related with evas event counter
currently evas_object_event_callback_call checks _evas_event_counter 
for preventing object's callback called several times in one evas event.

but it use global variable(_evas_event_counter), it can be changed while
procssing same event. 

for example , evas_event_feed_mouse_up. 
If there are several object in e->pointer.object.in and object 1's callback
create new evas event, object 2 cannot now event id.
so I change callback call api, and object callbacks can decide wheather it deal with that event.


SVN revision: 66234
2011-12-15 06:23:53 +00:00
ChunEon Park 61655ba055 evas/events - removed events_frozen check in evas_event_passes_through()
in most cases, it is performed twice inside and outside of the function in inefficient way.

and calling of events_frozen in the passes_through() is not understable in the view of functional consistency.

Check is separately would be better.




SVN revision: 65269
2011-11-15 15:10:19 +00:00
ChunEon Park 9db17a253c evas - supplemented more cases for object_freeze_events completion.
SVN revision: 64564
2011-10-31 14:50:00 +00:00
Cedric BAIL d724205a6e evas: add basic support for video support.
SVN revision: 63758
2011-10-03 03:28:52 +00:00
Carsten Haitzler 7be30a23bf and another commit in an attempt to fix mouse grabs + event callbacks
to be consistent



SVN revision: 63607
2011-09-26 02:45:06 +00:00
Carsten Haitzler 0088ea3d8b new attempt to fix the hidden object event thing without breaking
dnd... this makes for consistent behavior. :)



SVN revision: 63599
2011-09-25 04:43:02 +00:00
Carsten Haitzler 64940b1bf4 oops - and dont need to sub the rgabbed count - i missed that it was
already done above. no bug there. move on.



SVN revision: 63586
2011-09-24 07:46:37 +00:00