Commit Graph

5229 Commits

Author SHA1 Message Date
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
Cedric BAIL 7055227957 evas: use evas_image_cache_drop instead of plain wrong call to free.
SVN revision: 67681
2012-02-01 17:28:30 +00:00
Tom Hacohen f91a385b62 Evas textblock: Fixed native size calculation - margins were not used.
SVN revision: 67631
2012-01-31 11:32:48 +00:00
Jiyoun Park 64e2d7fee5 fix memory leak of dirty image
if file was chaned by somebody, it was added to dirty list during cache request.
currently this dirty image added to cache->dirty list and never freed until image shutdown.
but dirty image of chaned file never used so add delete code for memory efficiency.
and fix bad indentation.


SVN revision: 67604
2012-01-30 14:36:15 +00:00
Sung Park 4f4a904816 Fixing my silly mistake before someone else catches it.
I was accessing a variable before it was NULL checked. 
Fixed now.



SVN revision: 67601
2012-01-30 11:21:38 +00:00
Tom Hacohen 107d92d428 Evas textblock: Fixed a possible invalid mem write.
SVN revision: 67580
2012-01-29 10:01:27 +00:00
Christopher Michael 279a7c3c91 Evas (m4): Use simpler check for wayland egl. Don't reset
'gl_flavor_gles' when checking for sgx support (if we reset
gl_flavor_gles here, then the autofoo output always returns 'NO' for
gles.



SVN revision: 67572
2012-01-28 13:47:12 +00:00
Christopher Michael f267c9f556 Evas: Fix typo in autofoo output.
SVN revision: 67571
2012-01-28 13:40:21 +00:00
Tom Hacohen a64d78e07a Evas textblock: Fixed style user memory leak.
Thanks to Hermet for spotting it.

SVN revision: 67548
2012-01-26 14:02:59 +00:00
Gustavo Sverzut Barbieri 8ca2f1bcaa The polygon drawing code for the DirectFB backend incorrectly casts a
void pointer causing a segfault. The attached patch fixes the issue
and allows an expedite run to complete.

By: Will Newton <will.newton@gmail.com>



SVN revision: 67543
2012-01-25 18:40:22 +00:00
Sung Park 14a94f1a8f Fixed a logic error for Evas GL Direct rendering override
option.

It should have been OR instead of AND operator.

When the image object alpha is on "OR" the rotation angle 
is not "0", direct rendering isn't allowed.  However,  
allow direct rendering if EVAS_GL_DIRECT_OVERRIDE=1 is set. 




SVN revision: 67521
2012-01-25 05:08:23 +00:00
Tom Hacohen 98c61bfe6c Evas textblock: Added user style support.
This should make it easier to override the style set in textblock.

SVN revision: 67473
2012-01-23 16:08:36 +00:00
Gustavo Sverzut Barbieri 022434a0bb enable coverage for evas as well.
also print out the docs, so the buildbot gets it.



SVN revision: 67460
2012-01-22 23:09:47 +00:00
Boris Faure 72165a3f49 evas: use correct format for size_t
SVN revision: 67457
2012-01-22 19:52:02 +00:00
Boris Faure 2b1c8050fb evas: fix strict prototypes
SVN revision: 67456
2012-01-22 19:51:49 +00:00
Sung Park 9afd5b3f3f Added Direct Rendering to Evas' window instead of an FBO in Evas_GL.
This optimization is significant for rendering to a large surface 
because it'l save an extra copy overhead as well as an extra rendering pass.

To enable it, you can give EVAS_GL_OPTIONS_DIRECT hint in the surface
config options_bits. The following conditions have to be met in order
for evas to render directly into the Evas' window. If they are not met, the 
engine will fallback to rendering to an FBO as it normally does. 

conditions: 
1.) All the GL calls have to be called using the pixel_get_callback function.
This is necessary for the evas object order to be maintained.
2.) Alpha must be disabled on the image ojbect that renders evas_gl.
3.) No rotation allowed.

One way to override above condition is to set EVAS_GL_DIRECT_OVERRIDE=1 but 
there is no guarantee in its behavior.

Currently, this optimization is added for gl_x11 engine only. 




SVN revision: 67388
2012-01-20 12:29:14 +00:00
Stefan Schmidt 0802e6a28d evas_blend_ops: Fix gcc complains about static used in non static inline functions.
Make the functions static as well to avoid gcc warnings like this:
warning: 'ALPHA_SSE3' is static but used in inline function 'sub4_alpha_sse3' which is not static

Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>



SVN revision: 67355
2012-01-19 16:55:17 +00:00
Gustavo Sverzut Barbieri 30a5c9e1f7 oopps!
SVN revision: 67354
2012-01-19 16:52:58 +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
Gustavo Sverzut Barbieri 883923028e fix set-but-not-used errors from newer gcc.
SVN revision: 67352
2012-01-19 16:35:47 +00:00
Cedric BAIL 54fdc48d6a evas: add double buffer support to buffer engine.
NOTE: This patch is a first step to replace and remove
Evas SDL Software backend.


SVN revision: 67347
2012-01-19 15:17:24 +00:00
Tom Hacohen 7266659814 Evas textblock: Fix a bug with ellipsis and word-wrap.
Ellipsis didn't work well with word wrapping textblocks.

SVN revision: 67333
2012-01-19 12:11:44 +00:00
Tom Hacohen 5b8302468c Evas textblock tests: Fix tests warnings.
SVN revision: 67329
2012-01-19 09:02:12 +00:00
Tom Hacohen 1941918cdd Evas textblock: Also add tab support to prev commit, oops.
SVN revision: 67328
2012-01-19 08:44:01 +00:00
Tom Hacohen c6d242426f Evas textblock: Filter out illegal chars from format.
This really just filters them out. The solution is not complete, nor is
it the best one. But this fixes the bugs for the meanwhile.

SVN revision: 67327
2012-01-19 08:41:37 +00:00
Tom Hacohen e37d4495d3 Evas textblock: Indentation adjustment for the previous commit.
(I wanted the actual changes to be clear for review, so I split the
commit to two).

SVN revision: 67321
2012-01-19 07:52:37 +00:00
Tom Hacohen ef0ac9d69a Evas textblock: Merge text and format wrapping handling.
This should add a more standard compliant line breaking for format items
as well.

SVN revision: 67320
2012-01-19 07:52:34 +00:00
Sebastian Dransfeld 7f9dc64529 evas: correct notation to indicate unused variable
SVN revision: 67305
2012-01-18 23:34:05 +00:00
Sebastian Dransfeld 45f0dcbd45 evas: only check references ifndef EVAS_CSERVE
We only check the value of references if EVAS_CSERVE isn't defined, so
no need to define it or assign it if EVAS_CSERVE isn't defined.

SVN revision: 67304
2012-01-18 23:33:54 +00:00
Sebastian Dransfeld 26de65cf2c evas: before_char is only used with BIDI_SUPPORT
SVN revision: 67303
2012-01-18 23:33:43 +00:00
Sebastian Dransfeld c9abcf691d evas: Remove unused variables
SVN revision: 67302
2012-01-18 23:33:33 +00:00
Sebastian Dransfeld ccfb163282 evas: par_len is only used with BIDI_SUPPORT
SVN revision: 67301
2012-01-18 23:33:21 +00:00
Sebastian Dransfeld 28dff90eff evas: Fix shadow warnings
SVN revision: 67300
2012-01-18 23:33:07 +00:00
Carsten Haitzler 0e9a475092 update all minor versions to 2 (or 6) - and yes. i missed making most
be 1.1 (or 1.5) for the last release. too late. THIS is why i'm sick
and tired of all the bloody separate libs that have to be versiioned
and build and released separately. :( too many places to go fix up per
release.



SVN revision: 67284
2012-01-18 02:32:36 +00:00
Tom Hacohen 47d0c9c67b Evas tests: use unitptr_t in callback test.
SVN revision: 67277
2012-01-17 15:08:38 +00:00
Carsten Haitzler a70fc50208 we can optimize matching by breaking loop when match becomes 0 :)
SVN revision: 67267
2012-01-17 09:15:31 +00:00
Carsten Haitzler ad3aca617f and in a fit of rage... i'm removing those EINA_PURE's - one of them i
found was causing compiler optimizations to, in some compielr versions
and optimization levels, to skip a func in the eva stest suites...
which is wrong. no more pure mumbo. gone entirely.
evas_textblock_string_escape_get() was the one.



SVN revision: 67266
2012-01-17 09:15:05 +00:00
Carsten Haitzler 4ae6816486 add EVAS_OBJECT_POINTER_MODE_NOGRAB_NO_REPEAT_UPDOWN for accessibility
:)



SVN revision: 67264
2012-01-17 08:35:32 +00:00
Iván Briano 11d67f493d Add evas_object_smart_callback_del_full API
Patch by Raphael Kubo Costas (rakuco)


SVN revision: 67246
2012-01-16 17:25:40 +00:00
Christopher Michael 1a34b86f34 Evas (wayland_egl): Fix 'close' of windows. Basically, we will check
if the eng setup has a NULL surface, and if the RenderEngine has an
existing surface, that means we are hiding/closing the window, and
thus should free the existing RenderEngine Window.



SVN revision: 67160
2012-01-12 23:58:17 +00:00
Sung Park 20b3d52669 Added new Evas GL api called evas_gl_config_new/free()
to ensure backward compatibility.  Previously, the user
simply declared a Evas_GL_Config object but this can
cause problems if more config options are added.  So,
we have Evas allocate the config object for the user
so it can handle addition in the future.

Also, added some safety code around _extensions_init


SVN revision: 67141
2012-01-12 13:54:06 +00:00
Christopher Michael 71e63d268f Evas (wayland_egl): Remove printfs (done debugging that).
SVN revision: 67140
2012-01-12 13:10:53 +00:00
Christopher Michael a75b3126b2 Evas (gl_x11): Move make current so we only have one if.
SVN revision: 67137
2012-01-12 12:25:21 +00:00
Christopher Michael c0dd6f7975 Evas (wayland_egl): Fix egl detection in check_engine. (In theory, the
old version of this w/ the 3 includes Should be working, but I've
tested it on 2 machines now, and it fails on both with those lines in
there, so I am removing them).

Make wayland_egl engine Actually work and draw stuff now (too many
code changes to list them all separately). See http://i.imgur.com/i2eBE.png.




SVN revision: 67128
2012-01-12 09:01:37 +00:00
Christopher Michael dd7d556916 Evas (gl_x11): We cannot call eglMakeCurrent if we have already called
eglTerminate prior (eg: eglTerminate was in the wrong place here).



SVN revision: 67119
2012-01-12 06:06:07 +00:00
Christopher Michael f33a71339c Evas (wayland_egl): Oops, missed one rename on the engine info
structure.



SVN revision: 67102
2012-01-11 23:32:58 +00:00
Christopher Michael 42e82f9092 Evas (wayland_egl): Update code to use more descriptive name for
engine_info_structure.



SVN revision: 67100
2012-01-11 23:28:39 +00:00
Christopher Michael 17b8c59425 Evas (wayland_egl): Use a more descriptive name for the engine info
structure.



SVN revision: 67099
2012-01-11 23:28:01 +00:00
Christopher Michael b6b56af57e Evas: Also enable gl_common if we are building wayland_egl engine.
SVN revision: 67098
2012-01-11 23:17:54 +00:00
Christopher Michael 34ab2ff6cd Evas (wayland_egl): Destroy the wl_egl_window also when we free.
SVN revision: 67075
2012-01-11 12:58:59 +00:00
Christopher Michael e89e7d8ef5 Evas (wayland_egl): Use proper header name. Remove commented line.
SVN revision: 67074
2012-01-11 12:41:08 +00:00
Christopher Michael ad8ca8457c Evas (wayland_egl): Redo wayland egl engine code to more closely match
gl_x11.

NB: Not fully functional yet, but does build.



SVN revision: 67073
2012-01-11 12:23:44 +00:00
Christopher Michael 98f19e05fe Evas (wayland_egl): Remove obsolete file (replacing in a minute).
SVN revision: 67072
2012-01-11 12:22:36 +00:00
Christopher Michael 0b6f56aa34 Evas (software_generic): Add UNUSED for params that are not used
(where missing).
Remove unused variables.
Comment out functions that were defined but not used.



SVN revision: 67066
2012-01-11 10:40:17 +00:00
Christopher Michael dec27dd7de Evas (gl_common): Remove unused variable.
SVN revision: 67064
2012-01-11 10:35:52 +00:00
Christopher Michael 4e103ad78c Evas (gl_x11): Fix no return value in function that is supposed to
have Something returned.



SVN revision: 67063
2012-01-11 10:34:03 +00:00
Christopher Michael 2e70a02465 Evas (gl_x11 engine): Fix compiler warning about get_time function.
SVN revision: 67058
2012-01-11 09:48:47 +00:00
Daniel Juyung Seo d6c052a65a evas: applied eina_array_count_get -> eina_array_count change.
SVN revision: 67020
2012-01-10 15:34:39 +00:00
Youness Alaoui 8c91b5b493 Evas: Do not build altivec feature if disabled in configure
On macosx i386, that code fails because even though __VEC__ is defined,
the compiler doesn't understand the 'vector' keyword (that macro is
irrelevent here). So there was no way to make evas compile for ppc if
altivec was not supported by the compiler.

SVN revision: 66966
2012-01-08 07:22:01 +00:00
Youness Alaoui 3cbe46ccc9 Evas: engine for Mac is GL_COCOA not GL_QUARTZ
SVN revision: 66964
2012-01-08 07:21:35 +00:00
Cedric BAIL 8a4dfb08c1 evas: just disable Evas_GL support in software engine when we don't have dlopen.
NOTE: there is many system without dlopen and we do support them. Please keep it
this way in the future.


SVN revision: 66901
2012-01-05 12:59:08 +00:00
Carsten Haitzler c3a3eb0583 someone added an awesome bug to bmp loader some time recently. fix!
SVN revision: 66897
2012-01-05 10:06:49 +00:00
Sung Park 2f6b837c7c Added EvasGL support for software backend finally.
* This feature requires libOSMesa to be installed.   

One caveat with OSMesa is that a surface config (ie. Depth Buffer and etc)
is associated with a context rather than a surface, which is the case 
in EvasGL.  So for now, when a user specifies a surface config, it gets 
associated with the first context that the surface does a make current to.
For typical usage case, this shouldn't be a prolem. Will need to fix it 
eventually.




SVN revision: 66896
2012-01-05 07:55:23 +00:00
Daniel Juyung Seo 6bdf286cdb evas Evas.h: Fixed documentation.
SVN revision: 66888
2012-01-05 02:07:50 +00:00
Cedric BAIL b39ff33ff7 evas: disable dead code.
SVN revision: 66867
2012-01-04 11:46:39 +00:00
Cedric BAIL 1400dc9892 evas: forgotten inclusion of config.h.
SVN revision: 66866
2012-01-04 11:45:22 +00:00
Tom Hacohen 2d1166d846 Evas textblock: Fixed a possible bug with generic poppers removal.
Patch by Hyoyoung Chang.

SVN revision: 66798
2012-01-03 14:33:35 +00:00
Cedric BAIL 5438cc6844 evas: use Eina_File for PSD loader.
SVN revision: 66787
2012-01-03 10:26:53 +00:00
Christopher Michael e98c22f96c Evas: Framespace width & height Could be zero (it is possible), so
remove checks.



SVN revision: 66762
2012-01-03 01:01:58 +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
Cedric BAIL 41ba3a77d4 evas: use Eina_File when openning XPM files.
SVN revision: 66756
2012-01-02 14:32:21 +00:00
Cedric BAIL 77f3401054 evas: fix unitialized data with generic loader.
SVN revision: 66754
2012-01-02 14:18:14 +00:00
Carsten Haitzler a5638a0a65 clarify docs that you must free when done.
SVN revision: 66744
2012-01-02 11:29:51 +00:00
Carsten Haitzler 3f915e1e3f oops dont enable copy path!
SVN revision: 66727
2012-01-02 03:32:57 +00:00
Carsten Haitzler 8e4391d38b make some more notes for partial swap (copy gabk to front) but still
doesnt work.. just sits there and does nothing. wtf.



SVN revision: 66726
2012-01-02 03:30:23 +00:00
Carsten Haitzler 4273f5846c found nvidia eat-cpu-bug. glXWaitGL() spins using all cpu it can find,
though nvidia fixed the spinning on glXSwapBuffers() long ago, they
didn't fix this one.



SVN revision: 66710
2012-01-01 06:47:16 +00:00
Mike McCormack 2489fd44bf evas: Avoid crash when there's no GL implementation
Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 66708
2011-12-31 23:07:22 +00:00
Carsten Haitzler 36ef335ae9 fix mouse out handler to out all objects mouse is in - right thing to
do.



SVN revision: 66699
2011-12-30 15:20:15 +00:00
Carsten Haitzler e3c2428b9b notes.
SVN revision: 66698
2011-12-30 15:17:13 +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
ChunEon Park e735350d91 evas - removed white spaces
SVN revision: 66624
2011-12-29 11:18:44 +00:00
Daniel Juyung Seo 0c167d3052 evas Evas.h: Fixed typo.
SVN revision: 66618
2011-12-29 04:45:30 +00:00
Iván Briano e421ac90b7 Don't override standard variables, it looks weird. In turn, fix building with automake 1.11.2
SVN revision: 66599
2011-12-28 14:13:30 +00:00
Carsten Haitzler 295e53e24b warn--
SVN revision: 66592
2011-12-28 06:02:53 +00:00
Carsten Haitzler 2e250ed50e actually allow cursion levels to be set/limited.
SVN revision: 66590
2011-12-28 06:00:37 +00:00
Carsten Haitzler d72c60d269 add recursive name fund func evas_object_name_child_find()
SVN revision: 66587
2011-12-28 05:07:31 +00:00
Carsten Haitzler 6f5a4382d0 fix some formatting i spotted.
SVN revision: 66570
2011-12-27 12:03:03 +00:00
Carsten Haitzler d832fca15c add feature to help fix bug in ecore-evas
SVN revision: 66567
2011-12-27 12:01:17 +00:00
Christopher Michael aa389de3cc Evas: Add missing evas-wayland-egl.pc file. Thanks for the report Seoz
:)



SVN revision: 66549
2011-12-27 00:45:52 +00:00
Christopher Michael f46b196355 Evas: Update news file.
SVN revision: 66546
2011-12-26 23:43:42 +00:00
Christopher Michael 27378c7ad3 Evas: Update ChangeLog.
SVN revision: 66545
2011-12-26 23:42:33 +00:00
Christopher Michael e696f0d43f Evas: Add 'since' on new functions.
SVN revision: 66544
2011-12-26 23:41:24 +00:00
Christopher Michael 26fcca18b7 Evas: Add Wayland EGL engine (still experimental).
SVN revision: 66541
2011-12-26 23:13:52 +00:00
Christopher Michael b6b9744f19 Evas (Wayland Shm Engine): Cleanup of commented out code. Fix
calculation of update region.



SVN revision: 66540
2011-12-26 23:12:50 +00:00
Christopher Michael b560f1fc1a Evas (Wayland_Shm Engine): Check for valid RGBA_Image before trying to
use it. Use correct stride calculation for bytes.



SVN revision: 66539
2011-12-26 23:12:05 +00:00
Christopher Michael 810cf11241 Evas: Default framespace to zero on new canvas creation.
Some cleanup of commented out code.
Fix some formatting.



SVN revision: 66538
2011-12-26 23:11:07 +00:00
Christopher Michael f1e9715711 Evas: Fix calculations for framespce when changed.
SVN revision: 66537
2011-12-26 23:10:27 +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
Christopher Michael 1e7bfab5ee Evas: Add functions to get/set if an object is a 'frame object'.
SVN revision: 66535
2011-12-26 23:08:17 +00:00
Christopher Michael 0740555698 Evas: Add 'is_frame' property for objects (used in wayland engines).
SVN revision: 66534
2011-12-26 23:07:52 +00:00
Cedric BAIL 638e61f314 evas: check the availability of the generic loader before execing it.
Patch requested by Guillaume Friloux.


SVN revision: 66532
2011-12-26 15:23:30 +00:00
Carsten Haitzler e13221170d shit - seb - u're right! typo. :)
SVN revision: 66487
2011-12-24 02:42:27 +00:00
Michael BOUCHAUD aec13b5d41 evas: forget to overide this in gl, fix evas_object_image_region_support_get
SVN revision: 66480
2011-12-23 12:00:52 +00:00
Carsten Haitzler d2e760f1be actually no chglog - that was a bug aded to ico loader during 1.1 by
someone who moved to eina_file too...



SVN revision: 66479
2011-12-23 12:00:31 +00:00
Sanghee Park 550b8417c7 From: Sanghee Park <sh15.park@samsung.com>
Subject: Drawing objects by pixman

        * Extend pixman support to allow other operations to use
          pixman when doing software rendering. On x86 this isn't useful
          but on ARMv7 with NEON pixman happens to do better with image
          blending and nearest scale blending.
        * Add tiled rotator for 32bit display as an option.



SVN revision: 66478
2011-12-23 11:50:29 +00:00
Carsten Haitzler d5057aebd8 fix ico loader bug.
SVN revision: 66476
2011-12-23 11:31:33 +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
Cedric BAIL e94feaf21b evas: now that we use eina_lock, we don't need this #ifdef.
SVN revision: 66466
2011-12-22 16:54:44 +00:00
Mike Blumenkrantz 4dde203f06 fix textblock parsing of tags with stupid trailing spaces like <br /> which people use for some stupid reason
SVN revision: 66444
2011-12-22 03:32:23 +00:00
ChunEon Park 0d3a9bd25c evas/evas_events - repeat events should not be affected by children.
Fixed to object passes events to the next object in the same layer if the repeat_events is enabled



SVN revision: 66416
2011-12-21 07:55:22 +00:00
ChunEon Park 9674e97ef5 evas - proper coding convention.
SVN revision: 66364
2011-12-20 07:06:53 +00:00
Carsten Haitzler bf9467a712 missing chlog for sse3 fix.
SVN revision: 66354
2011-12-20 04:44:28 +00:00
Carsten Haitzler b7ea52dc73 missing chlog for clip fix.
SVN revision: 66353
2011-12-20 04:42:54 +00:00
Carsten Haitzler 8a25dfd96b add @since on single liners.
SVN revision: 66324
2011-12-19 07:26:34 +00:00
Carsten Haitzler 885c618f20 add new events for pre/post rendering
SVN revision: 66318
2011-12-19 05:50:06 +00:00
Carsten Haitzler 6de81aa0e5 and remove changelog accordingly.
SVN revision: 66309
2011-12-18 05:04:33 +00:00
Carsten Haitzler dbc5afdee2 sorry sungwoo - going to have to back this dlopen/dlsym styuff out.
intel drivers don;'t like it for some odd reason - i'm trying to track
it down but i can't sanely try middlegrounds right now (eg dont
dlopen/dlsym but actually directly assign symbols etc.), so back out
and let's figure this out before it goes back in :(



SVN revision: 66308
2011-12-18 05:03:24 +00:00
Christopher Michael ac49da31df Evas: Handle framespace changes also during 'render'.
SVN revision: 66306
2011-12-17 18:45:09 +00:00
Carsten Haitzler 34581d0300 Add new api to set and get default event flags.
SVN revision: 66275
2011-12-16 09:24:18 +00:00
Carsten Haitzler 7e8ff5311b fix buggy sse3 solid color + text bak blend when dest alpha exists.
SVN revision: 66273
2011-12-16 07:47:07 +00:00
ChunEon Park 2dd552f003 evas/main - removed unnecessary casting.
SVN revision: 66272
2011-12-16 07:22:09 +00:00
Carsten Haitzler 3306dce0c7 useless clip setting in ctx as it's reset a few lines later.
SVN revision: 66271
2011-12-16 07:20:12 +00:00
Carsten Haitzler 6fd0ee9262 fix map clip issue that shows up in buffer engine.
SVN revision: 66270
2011-12-16 07:04:00 +00:00
Tom Hacohen f51c8f7fc3 Evas liblineabreak: Include the wordbreak headers.
SVN revision: 66264
2011-12-15 22:27:59 +00:00
Tom Hacohen 3e2f474ef8 Evas textblock: Use macros for the unicode chars/strings.
1. Make Obj replacement and Par Sep less confusing.
2. We'll may, at some point, use the Unicode NewLine char instead of \n.
so it's now easily replaceable.

SVN revision: 66255
2011-12-15 13:03:43 +00:00
Tom Hacohen 0e0a275762 Evas textblock: Improved the implementation of *_text_markup_to_utf8.
Also support passing NULL instead of a real textblock object.
Added appropriate tests + improved previous tests.

SVN revision: 66254
2011-12-15 12:40:29 +00:00
ChunEon Park 0c0a34fbd9 evas - simplified instructions
SVN revision: 66248
2011-12-15 09:56:25 +00:00
ChunEon Park 5db2c421b8 evas - removed unnecessary comments
SVN revision: 66246
2011-12-15 09:40:07 +00:00
ChunEon Park 6503e28812 evas - use EINA_TRUE/FALSE
SVN revision: 66244
2011-12-15 09:36:51 +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
Jiyoun Park 69a659fbb8 remove white space
SVN revision: 66233
2011-12-15 05:56:19 +00:00
Jiyoun Park c86d47ae59 remove white space
SVN revision: 66232
2011-12-15 05:25:37 +00:00
Christopher Michael cbbe439629 Evas: Gl_X11: Fix typo? for __UNUSED__ param.
SVN revision: 66224
2011-12-14 18:52:42 +00:00
Christopher Michael 0fccea0dee Evas: Add a Wayland Shared Memory engine (similar to the buffer &
framebuffer engines). Add Evas framespace set/get functions.



SVN revision: 66223
2011-12-14 18:44:20 +00:00
Christopher Michael b3d6859de5 Evas: Software_Generic: Fix typo? for __UNUSED__.
SVN revision: 66222
2011-12-14 18:27:29 +00:00
Tom Hacohen bdab64acae Evas textblock: Added evas_textblock_text_utf8_to_markup.
SVN revision: 66197
2011-12-14 15:04:03 +00:00
Tom Hacohen 4d61bb8329 Evas textblock: Fixed a couple of issues caused by previous commits.
SVN revision: 66194
2011-12-14 13:43:13 +00:00
Tom Hacohen 285aa1b323 Evas textblock: Updated changelog.
SVN revision: 66192
2011-12-14 13:27:18 +00:00
Tom Hacohen c856f86a1f Evas textblock: Made 'br' and 'tab' default tags.
SVN revision: 66191
2011-12-14 13:27:15 +00:00
Tom Hacohen b794e7ff8e Evas textblock: Added support for default tags.
This is useful for defining default tags that can be overridden by style.
For example <b> and <i>.

SVN revision: 66190
2011-12-14 13:27:12 +00:00
Tom Hacohen db2c0ee7e9 Evas tests: Fix textblock text according to function change.
SVN revision: 66189
2011-12-14 13:27:08 +00:00
Cedric BAIL f86908dc15 evas: use Eina_File for wbmp code and fix a potential race condition at the same time.
SVN revision: 66187
2011-12-14 11:17:09 +00:00
Cedric BAIL 54d52f9c43 evas: move space around.
SVN revision: 66185
2011-12-14 10:15:57 +00:00
Cedric BAIL b2c5fede71 evas: update ChangeLog and NEWS.
SVN revision: 66184
2011-12-14 10:03:45 +00:00
Cedric BAIL 565152cee8 evas: use Eina_File for pmaps.
SVN revision: 66183
2011-12-14 09:53:25 +00:00
Tom Hacohen ba3094581d Evas textblock: Renamed *markup_to_plain to *text_markup_to_utf8.
This should conform better to evas and what the function does.

SVN revision: 66182
2011-12-14 09:52:02 +00:00
Cedric BAIL 185ae85db4 evas: fix ico loader use of Eina_File.
SVN revision: 66181
2011-12-14 09:14:27 +00:00
Michael BOUCHAUD f3d4c1b249 evas: ooops
SVN revision: 66171
2011-12-13 17:00:43 +00:00
Michael BOUCHAUD 33eb1e5e79 evas: Add api to know if an evas_object_image could support region
SVN revision: 66170
2011-12-13 16:58:20 +00:00
Tom Hacohen c110802aa6 evas: Fixed svn detection for svn1.7
SVN revision: 66147
2011-12-13 08:53:37 +00:00
Tom Hacohen e34b9dd93c Evas linebreak: Fix wordbreak bug when there are chars < 0x0A.
The binary search used unsigned indexes which didn't work well in
that scenario (would have gotten to -1).

SVN revision: 66137
2011-12-13 07:32:56 +00:00
Carsten Haitzler 0434ce6574 * Fix grab count negative values if you do weird combinations of
press and release with multiple fingers or multiple mouse
        buttons.
        


SVN revision: 66134
2011-12-13 05:59:36 +00:00
Cedric BAIL 8b22f52e80 evas: use Eina_File for ico loader.
SVN revision: 66120
2011-12-12 17:48:53 +00:00
Tom Hacohen 4e29867a30 Evas textblock: Implemented cursor_word_start/end
SVN revision: 66119
2011-12-12 15:25:46 +00:00
Tom Hacohen f147928c84 Evas liblinebreak: Added the wordbreak support.
Will send it upstream soon. My tests worked, but they are far from
complete. Probably needs more complete testing.

SVN revision: 66118
2011-12-12 15:25:39 +00:00
Cedric BAIL f4ea278a71 evas: less warning.
SVN revision: 66115
2011-12-12 13:42:24 +00:00
Cedric BAIL 793caf7faa evas: use Eina_File for accessing BMP file.
SVN revision: 66114
2011-12-12 13:39:35 +00:00
Carsten Haitzler 3e4e9b76ab Fix rounding error in map clip bounds calculation
SVN revision: 66111
2011-12-12 08:23:24 +00:00
Carsten Haitzler b0ddea7508 only lround 2 times instead of 4 for map - minor bit of cleaner code.
SVN revision: 66108
2011-12-12 06:25:14 +00:00
Mike Blumenkrantz 5eeae75b21 fix annoying spankies
SVN revision: 66077
2011-12-10 07:21:53 +00:00
Jaehwan Kim e8a3c54734 add EAPI. Maybe it is missed.
SVN revision: 66061
2011-12-09 07:55:31 +00:00
Tom Hacohen 346e25b031 Evas textblock: Added evas_textblock_markup_to_plain.
This function converts a textblock markup to plain text.
It converts for example <br/> to \n and a lot more.

SVN revision: 66034
2011-12-08 15:12:25 +00:00
Tom Hacohen a0fa810e82 Evas: Updated NEWS file.
SVN revision: 66032
2011-12-08 13:45:09 +00:00
Tom Hacohen 4fc5a77e1d Evas: Updated changelog to include latest textblock changes.
SVN revision: 66031
2011-12-08 13:39:31 +00:00
Cedric BAIL c05f9ebabc evas: use the right message command when usefull.
SVN revision: 66030
2011-12-08 13:29:02 +00:00
Tom Hacohen 0ec467892d Evas textblock: Support self-closing formats, i.e <br/>.
Also updated tests to follow this. Using <br>, although will work, is
discouraged, please use <br/> instead.

SVN revision: 66023
2011-12-08 12:05:56 +00:00
Tom Hacohen 7f8dca2fda Evas textblock: Improve internal handling of formats.
SVN revision: 66022
2011-12-08 12:05:47 +00:00
Carsten Haitzler 70b6239ec3 disable sse3 if immintrin.h not found.
SVN revision: 65980
2011-12-07 00:10:36 +00:00
Cedric BAIL b7a86e79e0 evas: less unused warning.
SVN revision: 65963
2011-12-06 16:08:30 +00:00
Cedric BAIL dfe1ef0fc6 evas: include stdlib.h as required.
SVN revision: 65962
2011-12-06 16:07:59 +00:00
Christopher Michael 9935288eaa Evas (gl engine): Remove incorrect __UNUSED__ on paramaters that are
actually used.



SVN revision: 65928
2011-12-06 00:44:25 +00:00