Commit Graph

5100 Commits

Author SHA1 Message Date
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
Jonas M. Gastal 9cf9e95eff Compile fixes for evas examples.
SVN revision: 69113
2012-03-09 18:05:56 +00:00
Christopher Michael ec001b86a2 Evas (wayland_shm): Support setting destination alpha.
SVN revision: 69072
2012-03-09 02:33:37 +00:00
Christopher Michael 531668d2ca Evas (wayland_egl): Cleanup compiler warnings.
SVN revision: 69065
2012-03-08 16:55:42 +00:00
Carsten Haitzler f853b3613b remove umask. mkstemp does it. :)
SVN revision: 69012
2012-03-07 18:22:52 +00:00
Tom Hacohen 45993d284f Evas textblock: Replaced style_user_set/get with push/pop/peek.
SVN revision: 68952
2012-03-07 14:02:35 +00:00
Carsten Haitzler d38630875c to be paranoid - ensure umask for mkstemp allows no other uids oir
grps access.



SVN revision: 68910
2012-03-07 09:05:47 +00:00
Tom Hacohen 4a091a072c Evas textblock: Fixed bug in style tags parsing.
Thanks a lot to cedric for letting me know about it.

SVN revision: 68831
2012-03-06 13:54:37 +00:00
Jiyoun Park 30b53c7d2c fix BS related with jpeg rotation.
during decoding, ie's w and h should not change it's value
because several objects use same cache entry  


SVN revision: 68809
2012-03-06 11:52:03 +00:00
Samuel F. Baggen df4c97af21 removed useless information about libm dependency which is shipped with libc
SVN revision: 68718
2012-03-05 13:26:41 +00:00
Tom Hacohen bdaa2c201d Evas textblock: Fixed wrong parsing of style tags. Support escaped '.
Thanks to cippp for the report.

SVN revision: 68573
2012-03-01 13:08:53 +00:00
Jonas M. Gastal db7f5d6c5f Evas event freezing code sample.
SVN revision: 68555
2012-02-29 13:49:04 +00:00
Jonas M. Gastal a64769e15f Add warning that people should probably use ecore evas instead of evas
event feeding.

SVN revision: 68554
2012-02-29 13:49:00 +00:00
Christopher Michael 720f7996ae Evas (wayland): Comment out eglTerminate (is causing hangs when
running under the current weston compositor).



SVN revision: 68518
2012-02-28 21:57:59 +00:00
om101.woo cf569fb2bf From: <om101.woo@samsung.com>
Subject: image data get/set pairing issue

I found a bug about pairing
evas_object_image_data_get/set(eng_image_data_get/put).

It was added to count checked_out for paring
eglMapImageSEC/eglUnmapImageSEC.
 
In case of calling evas_object_image_data_set() twice after calling
evas_object_image_data_get(), dyn.checked_out has -1.

Then, if evas_object_image_data_get() and evas_object_image_data_set()
is call, it can't call eglUnmapImageSEC().
 
If dyn.checked_out has minus, it can make some problem.

So, I fixed this problem.
 
Please find enclosed patch file and let me know if I misunderstood.



SVN revision: 68504
2012-02-28 11:55:14 +00:00
Carsten Haitzler 45bd2a60cd warning--
SVN revision: 68467
2012-02-27 05:52:25 +00:00
Thanatermesis 4776bcfbd7 Fix linking complaints brought out by:
From: Thanatermesis <thanatermesis.ecvs@gmail.com>
Subject: [E-devel] LDFLAGS with -Wl,-z,defs

Aparently if you add the option "-Wl,-z,defs" to your LDFLAGS, there's some
libs that doesn't compile, like evas and e_dbus, there's some logs:



SVN revision: 68464
2012-02-27 05:20:17 +00:00
Jiyoun Park b59b60032a fix gif cannot deal with transparent color.
when make first frame, it didn't consider alpha value.
change code to deal with alpha value



SVN revision: 68450
2012-02-26 10:46:56 +00:00
Vincent Torri 99c074f23f Evas: check static inline functions, not just inline ones
SVN revision: 68448
2012-02-26 07:09:07 +00:00
Jonas M. Gastal 058d798bb8 Evas generic object group documentation improvement.
SVN revision: 68425
2012-02-24 17:05:44 +00:00
Cedric BAIL 37a231afae ecore,embryo,evas: fix copy & paste issue.
SVN revision: 68417
2012-02-24 14:07:57 +00:00
Cedric BAIL cd9cb6abb5 evas: add Exotic support.
SVN revision: 68404
2012-02-24 11:21:57 +00:00
Sung Park ac0d52f04d Fixed glBindFramebuffer(0) issue for Direct Rendering
optimization.  current_fbo wasn't being set to 0 
so the above case wasn't being handled properly. 



SVN revision: 68392
2012-02-24 08:13:48 +00:00
Seungsoo Woo cf926fda0b From: Seungsoo Woo <om101.woo@samsung.com>
subject: [E-devel] [Patch] Add override gl apis for osmesa

When an application use glBindFramebuffer or glBindRenderbuffer via 
evas_gl after loding libosmesa.so,it shows segment fault.

Because glBindFramebuffer and glBindRenderbuffer are not overrided.
So, I fixed it.



SVN revision: 68391
2012-02-24 07:55:04 +00:00
Carsten Haitzler 354ccb36b4 yes - inow. this managed to get out in 1.1 being deprecated. lets not
mark the func as deprecated tho - keep in docs.



SVN revision: 68370
2012-02-24 00:52:29 +00:00
Jonas M. Gastal cbff250f77 Better evas rectangle docs.
SVN revision: 68356
2012-02-23 18:14:30 +00:00
Cedric BAIL 0dbc99f33a evas: remove software SDL engine, use buffer engine directly.
NOTE: I would like to do the same with software SDL 16bits engine.
But as we don't have a buffer_16 backend, I am likely to just remove
it and use buffer conversion code to match a 16bits target. This
will come with a performance impact, that will make it useless. So
I am just tempted to completly remove it.


SVN revision: 68352
2012-02-23 16:25:07 +00:00
Carsten Haitzler c29416e0d8 fix update region handling with scaling.
SVN revision: 68303
2012-02-23 06:07:37 +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
Mike Blumenkrantz c7297f530f silence annoying xpm header not found error message; this is frequently caused (erroneously) when reading images of unknown format
SVN revision: 68289
2012-02-22 23:58:46 +00:00
Carsten Haitzler 396572a355 fix regression during 1.1 dev (towards 1.2) that made evas over-render
way too much! FIXED



SVN revision: 68204
2012-02-21 07:01:39 +00:00
Carsten Haitzler ad09d3dcb8 shut gcc warning up - pointless but hey - 1 warn less.
SVN revision: 68102
2012-02-18 08:56:00 +00:00
Vincent Torri 189ee16538 missed this file
SVN revision: 68101
2012-02-18 08:33:36 +00:00
Vincent Torri 4060b7d96e Evas: remove WIN32_CPPFLAGS and WIN32_CFLAGS are there are not used anymore. Move some headers in evas_common.h
SVN revision: 68100
2012-02-18 08:33:00 +00:00
Vincent Torri 937eb5a4a6 Evas: use evil_path_is_absolute()
SVN revision: 68092
2012-02-17 21:35:57 +00:00
Gustavo Lima Chaves c0e58279f5 [Evas] Use the right size for parent smart class on
inheritance.



SVN revision: 68029
2012-02-16 16:27:21 +00:00
Carsten Haitzler 6ead226a93 while looking into the infintie loop issue - update regions can become
a lot in these pathological cases, so limit them to 24 and if > use
bounding box as a single region.



SVN revision: 67917
2012-02-14 11:45:23 +00:00
Carsten Haitzler e669719714 make rect_t use int's... no overflow. yay!
SVN revision: 67884
2012-02-13 14:37:41 +00:00
Hyoyoung Chang 0c74d1c82d From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] evas - preventing retard mouse event
process in evas_object_event_callback_call

I made a small patch to prevent retard mouse event process.
At certain circumstance (like as genlist select callback + naviframe
item push),
some events are repeat processed.

If some evas_objects're iterating in evas_event_feed_mouse_up and
mouse_out event's emitted by other interrupt(such as naviframe item
push),
then some evas_objects events are multiple processed by
evas_object_event_callback_call.

More elaborating it with a example.
There are a genlist and a multibuttonentry on genlist item.
When a user clicks multibuttonentry then evas will process mouse down
and up.
in evas_event_feed_mouse_up, it gets evas object list to process mouse
events.
Then in the evas object list, there are two evas objects - rect and
textblock.
Two objects have its own parents.

the rect has below parents.
----------------------------------------
edje  - genlist item
elm_genlist_pan
edje
multibuttonentry
box
entry
els_scroller  (0x2a601788)
rect                                      <== the rect

the textblock has below parents.
----------------------------------------------
edje - genlist item
elm_genlist_pan
edje
multibuttonentry
box
entry
els_scroller(0x2a601788)
edje
elm_pan
edje
textblock                           <== the textblock

(note : two evas object have same parent (els_scroller))

So normally mouse up callbacks event propagates to its own parent.
the rect is processed to genlist item. and the textblock is processed
to genlist item.
but when els_scroller is processed, it's blocked by checking event
type and event id checking.

Mouse Up(rect) ->  Mouse Up(textblock)
event_id (3)      ->   event_id (3)

evas_object_event_callback_call(Evas_Object *obj, Evas_Callback_Type
type, void *event_info, int event_id)
{
   ...
      if ((obj->delete_me) || (!obj->layer)) return;
         if ((obj->last_event == event_id) &&
                (obj->last_event_type == type)) return;
                     <=== blocked
                     
                     However if naviframe item is pushed in the middle
of mouse up processing.
It can break into mouse up. So it's processed like below.

Mouse Up(rect) -> Mouse Out(rect) -> Mouse Out(textblock) -> Mouse
Up(textblock)
event_id (3)      -> event_id(4)         -> event_id(4)
-> event_id(3)
(note Mouse_Out is made by naviframe item push for event freezing)

If that, there's no mechanism to block that repeat processing same
event.
So I suggest this patch.
This patch blocks old events if there's no reason to process.
(It blocks old mouse_up event because mouse_out is processed.)

And I think it also clear the bug in
"[E-devel] event repetition with elm_naviframe/elm_genlist"



SVN revision: 67879
2012-02-13 11:25:23 +00:00
ChunEon Park 839b56769a evas/gl_common - set line color with draw context.
SVN revision: 67870
2012-02-13 05:05:59 +00:00
ChunEon Park f6db68d6f5 evas/evas_events - do not call the up event when obj is freezed and removed useless codes.
SVN revision: 67828
2012-02-10 13:39:15 +00:00
Tom Hacohen 8a1351b5f0 Evas textblock: Better handle visible formats.
Fixed a crash. Thanks WooHyun for making me fix it now. :)

SVN revision: 67790
2012-02-09 12:21:18 +00:00
Tom Hacohen edbdd6a1ad Evas jpeg loader: Fixed a couple of compilation warnings.
There are a couple more *important* warnings. The switch case at line 564
does not cover all options.

SVN revision: 67784
2012-02-09 10:21:17 +00:00
Carsten Haitzler 3c9c59c5a5 hmm no - we shouldnt delete here.. we just find it in the active image
hash. as such the image is dirtied and thus removed from this hash
anyway so it doesnt need deleting.



SVN revision: 67778
2012-02-09 03:50:10 +00:00
Carsten Haitzler b7efefd294 some more debug for surfs
SVN revision: 67758
2012-02-08 12:25:50 +00:00
Carsten Haitzler d279c4e97c add some definable surf debug code... and STORE allocated size on
alloc so cache doesnt overfill!!!!!!!!!!!!!!!



SVN revision: 67757
2012-02-08 12:08:41 +00:00
Carsten Haitzler 767e40227c revert cedricism's. this just creates an infintie evas_image_entry leak.
SVN revision: 67755
2012-02-08 11:22:09 +00:00
Carsten Haitzler a3672c0048 let's link to the right libs for wayland shm eh?
SVN revision: 67754
2012-02-08 11:21:05 +00:00
Jihoon Kim 36c2029d0a fix @dates in each header file
SVN revision: 67705
2012-02-05 23:37:45 +00:00
WooHyun Jung 768b9af1fb [evas/evas_object_textblock] When markup_to_utf8 is tried with an invalid
escape tag, escape will be NULL. "eina_strbuf_append" should not be
called with NULL string.


SVN revision: 67696
2012-02-03 11:24:44 +00:00