Commit Graph

1822 Commits

Author SHA1 Message Date
Tom Hacohen ef25a41a76 Evas object text: Make the object size big enough to show the whole text.
I.e even if advance is smaller than width, take it into account.

SVN revision: 71507
2012-05-29 14:43:21 +00:00
ChunEon Park 054360207b evas/render - they are already cleaned.
SVN revision: 71499
2012-05-29 09:09:13 +00:00
ChunEon Park b2a3f3b540 evas/render - removed duplicated call
SVN revision: 71491
2012-05-29 05:24:43 +00:00
ChunEon Park 63d97b8441 evas/rendering - Fixed to clean up when map actually changed. Now rendering updates will be correct after evas_map acutally disabled for the smart object.
SVN revision: 71490
2012-05-29 05:13:03 +00:00
Christopher Michael 1fbf92cc36 Evas: (wayland): Use Seb's strncmp statement (easier to read, cleaner,
simpler, and possibly faster).

Thanks Seb ;)



SVN revision: 71431
2012-05-25 23:51:21 +00:00
Christopher Michael 909d83bf3a Evas: Fix clipping issue for wayland engines (were drawing outside the
viewort). This fixes the Elm Map 3D test issue where the cube was
drawing onto the window border (and perhaps other tests).



SVN revision: 71426
2012-05-25 12:55:45 +00:00
Daniel Juyung Seo 2c7898e5d9 evas evas_object_smart_clipped.c: Fixed formatting.
SVN revision: 71396
2012-05-24 06:48:25 +00:00
Carsten Haitzler b249d37ce4 based on Raphael's idea of tmpdir env vars and such - but different.
still disables unlink on non-linux.



SVN revision: 71386
2012-05-24 05:07:22 +00:00
Tom Hacohen f35bbc3923 Evas grid/table: Add const to objects where needed.
SVN revision: 71312
2012-05-22 10:18:46 +00:00
Tom Hacohen 1d7cdc8348 Evas box: Add const to some getters.
Thanks to Daniel Zaoui for letting me know.

SVN revision: 71308
2012-05-22 08:48:03 +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 03995b4e98 evas/evas_render - should call the render_post since the object color can be changed without changing map
SVN revision: 71224
2012-05-18 06:51:30 +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 df0296e0b7 evas/evas_render - removed dead code
SVN revision: 71198
2012-05-17 10:34:53 +00:00
ChunEon Park a2c7fa2dcc evas/evas_render - trivial changes
changed from integers to Eina_Bool
removed white spaces and fixed indentations



SVN revision: 71170
2012-05-16 13:21:37 +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
ChunEon Park 0645d65c8a evas/evas_render - clean code more in _evas_render_phase1_object_process
SVN revision: 71106
2012-05-15 11:43:23 +00:00
ChunEon Park 5a077b9f85 evas/render - removed unnecessary parameter in _evas_render_phase1_object_process
SVN revision: 71105
2012-05-15 11:29:28 +00:00
Iván Briano c97f25128b cserve2 warnings begone
SVN revision: 70845
2012-05-07 17:22:06 +00:00
Cedric BAIL 3d04d95a1f evas: track the number of childs.
SVN revision: 70835
2012-05-07 02:11:35 +00:00
Tom Hacohen ab28901628 Evas textblock: Warnings - go away and please don't stay.
SVN revision: 70757
2012-05-04 10:10:29 +00:00
Iván Briano 15328efb85 evas/cserve2: fix typo that kept cserve2 disabled
now seriously...

Introducing Cache Serve 2.

This cache server will initially load images for clients connected to
it. It starts slave processes to load these images, and share the loaded
images through shm with the clients. All the connection done between
clients and the server goes through sockets.

The cserve2 build option is turned on by default, while the old cserve
was disabled, but in order to make clients use it, the environment
variable EVAS_CSERVE2 must be set, and a server must be running.

Clients will try to find the socket on a specified location using the
environment variable EVAS_CSERVE2_SOCKET. If it's not defined, then the
XDG_RUNTIME_DIR path should be used, and finally HOME, TMPDIR and /tmp.



SVN revision: 70699
2012-05-03 21:01:31 +00:00
Cedric BAIL b8ade6a7cf evas: try to fix another breakage by preventing the size of the bounding box to be smaller than the actual object geometry.
SVN revision: 70693
2012-05-03 10:58:12 +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
Sung Park ef0e4dcaec Cleaned up some evas_gl code and added surface cap feature.
(Trying it again since this commit broke evas build yesterday.)

Previously, evas_gl_surface_create() didn't actually do
the render buffer attach to the the FBO. It was performed when
the make_current was called for the first time.  The issue
was that even though the surface was successfully created with
the given configuration, there was a possibility of make_current
failing with the error message "FBO not complete" because of
the surface configuration.

So, I've added a piece of code that checks the FBO
capabilities beforehand to set up a available surface configurations
so that it doesn't have to fail during make_current for unsupported
surface format.

Also, I've changed the surface config in a way that once the
user calls evas_gl_surface_create(), evas gl sets the config
parameter with configuration that evas_gl is actually using.


SVN revision: 70680
2012-05-03 02:33:18 +00:00
Tom Hacohen 241bb1b7e5 Revert "Cleaned up some evas_gl code and added surface cap feature."
This reverts commit 70617.

According to stefan_schmidt, reverting this fixes compilation errors.

SVN revision: 70624
2012-05-02 11:07:29 +00:00
Sung Park d74e82f6d8 Cleaned up some evas_gl code and added surface cap feature.
Previously, evas_gl_surface_create() didn't actually do 
the render buffer attach to the the FBO. It was performed when 
the make_current was called for the first time.  The issue 
was that even though the surface was successfully created with 
the given configuration, there was a possibility of make_current 
failing with the error message "FBO not complete" because of 
the surface configuration.

So, I've added a piece of code that checks the FBO 
capabilities beforehand to set up a available surface configurations
so that it doesn't have to fail during make_current for unsupported 
surface format.

Also, I've changed the surface config in a way that once the 
user calls evas_gl_surface_create(), evas gl sets the config
parameter with configuration that evas_gl is actually using.




SVN revision: 70617
2012-05-02 08:31:15 +00:00
ChunEon Park bbe38e3499 evas/evas_object_textblock - don't be crushed up.
SVN revision: 70603
2012-05-02 06:09:45 +00:00
ChunEon Park e16f958ebd evas/evas_object_table - don't be aborted
SVN revision: 70602
2012-05-02 05:56:06 +00:00
ChunEon Park dae52add37 Evas/evas_object_table - removed white spaces and fixed indentations
SVN revision: 70601
2012-05-02 05:55:15 +00:00
ChunEon Park c3920319ee evas/box - Don't be aborted.
SVN revision: 70595
2012-05-02 05:01:34 +00:00
Cedric BAIL fae5000f2a evas: so we did have a test to check if we could reuse the same map pointer,
but instead we did a malloc, a double memcpy and a free. WTH ?


SVN revision: 70593
2012-05-02 04:37:39 +00:00
ChunEon Park 852a89f3c7 evas/evas_object_box - --whitespaces
SVN revision: 70590
2012-05-02 02:47:12 +00:00
ChunEon Park 258556cbf4 evas/evas_event - do not be crashed.
SVN revision: 70589
2012-05-02 02:40:03 +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
Tom Hacohen 580223101c Evas textblock: Fixed a bug with right shadows.
Added a missing break.

SVN revision: 70569
2012-05-01 08:50:25 +00:00
Carsten Haitzler cc87921515 missing fribidi cflags in all places that include evas_private.h ...
which includes fribidi headers from evas font bidi headers...



SVN revision: 70565
2012-05-01 07:35:35 +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
Tom Hacohen 4f29fc88b1 Evas textblock: Fixed warning.
SVN revision: 70536
2012-04-29 09:09:25 +00:00
Tom Hacohen 7985383914 Evas textblock: Fixed two textblock issues (range_delete).
Found using raster's cat-debugging skills.
** No cats were harmed during debugging. **

SVN revision: 70535
2012-04-29 09:09:14 +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 797949633a patch up another out-of-bound text problem in textblock.
SVN revision: 70459
2012-04-25 08:34:06 +00:00
Carsten Haitzler fb8f30b2ac 1 more valgrind bitch gone. i know pos shouldnt exceed string array
bounds by logic but it crept through - this protects if it does.



SVN revision: 70458
2012-04-25 08:26:05 +00:00
Carsten Haitzler fca120e8cc fix valgrind complaint in textblock.
SVN revision: 70457
2012-04-25 08:04:36 +00:00
Tom Hacohen 77112d59fd Evas image: Add const to the obj parameter.
Patch by Daniel Zaoui.

SVN revision: 70433
2012-04-24 11:01:53 +00:00
Carsten Haitzler cd5229f18d clear color multiply when rendering mapped obj
SVN revision: 70187
2012-04-15 03:55:36 +00:00
Tom Hacohen 3bfc5fe157 Evas textblock: Fixed building without liblinebreak.
Thanks to David Seikel for spotting it and suggesting the solution.

SVN revision: 70123
2012-04-12 07:20:01 +00:00
Carsten Haitzler aadce3fe47 spell complaint properly
SVN revision: 69959
2012-04-09 03:43:45 +00:00