Commit Graph

3468 Commits

Author SHA1 Message Date
Rafael Antognolli 0b675aae17 evas/cserve2: Change our fash implemenation name.
So the names won't clash.



SVN revision: 72701
2012-06-22 20:56:53 +00:00
Rafael Antognolli 2f3426b67c evas/cserve2: CServe2 client side lib modifications.
Add the calls to request font loading and glyphs on the client lib.



SVN revision: 72700
2012-06-22 20:31:31 +00:00
Rafael Antognolli 64fecc2fab evas/cserve2: Add font and glyphs loading implementation
to cserve2.
Big commit that implements the entire functionality. Besides loading
fonts and glyphs, and sharing the glyph bitmaps with clients, it also
adds:
- new request system, with a much better abstraction;
- new working slaves management;
- slaves can be threads or process now;
- started a debugging and statistics implementation on server.

The image caching part still uses the old request and slaves system, but
should be changed to use the new one soon and get more easily
maintainable.



SVN revision: 72699
2012-06-22 20:31:17 +00:00
Rafael Antognolli de28f1ed31 evas/cserve2: Add common fash for glyphs.
Fash was made available on a common file, so its implementation is
shared between server and client.



SVN revision: 72698
2012-06-22 20:31:09 +00:00
Carsten Haitzler e15ba8bba1 tenative font glyph workaround for fonts not containing gfx drawing
chars.



SVN revision: 72604
2012-06-21 13:48:59 +00:00
Cedric BAIL 1cf893a99d evas: don't forget to destroy all the cached Evas_Text_Props on font change.
SVN revision: 72516
2012-06-20 05:02:57 +00:00
Cedric BAIL a95bf1e226 evas: fix working with utf8.
SVN revision: 72515
2012-06-20 04:58:47 +00:00
Carsten Haitzler 3a03502bb8 printf-- and keep inset line in case for later
SVN revision: 72514
2012-06-20 04:54:23 +00:00
Carsten Haitzler 9a56eec38c woooow line advance broken for bitmap fonts!
SVN revision: 72513
2012-06-20 04:53:21 +00:00
Carsten Haitzler 3c2fbc3e9a fix grid sizing for textgrid with some mono ttf fonts!
SVN revision: 72511
2012-06-20 04:45:05 +00:00
Cedric BAIL 1d58c6dee0 evas: small 25% speed up of textgrid (we are still on average 10ms slower than urxvt).
This patch reuse the same Evas_Text_Props across the textgrid (Later we could do that
across the canvas itself, but no test case yet, so not yet). It delay the real destruction
of Evas_Text_Props after the rendering cycle, so they will really die only if they are
not used during the latest frame. We could delay it a little bit more, but that does
the job at the moment.


SVN revision: 72510
2012-06-20 04:09:05 +00:00
Vincent Torri e68d4430d9 Evas: remove software DirectDraw 16 bits engine
Nowadays, this engine is completely useless. Windows users (>= XP) use
only 32 bits depth color, so let's kill that engine. Less code to
maintain for me.


SVN revision: 72494
2012-06-19 17:06:44 +00:00
Tom Hacohen 3e5a5aac7b Evas textblock: Fixed rendering issues with small fonts.
GRIDFIT when we HINT, get the UNSCALED sizes otherwise.

SVN revision: 72409
2012-06-18 15:43:49 +00:00
Carsten Haitzler bc7c4664c4 fix underline and strikethrough drawing in textgrid.
SVN revision: 72405
2012-06-18 13:54:18 +00:00
Tom Hacohen abd7d01a98 Evas textblock: Fixed issue with _textblock_clear and cursors.
Now it properly sets the remaining cursors.

SVN revision: 72403
2012-06-18 13:44:26 +00:00
Carsten Haitzler 282783c949 dotn segv if color vals beyond palette size in tg.
SVN revision: 72401
2012-06-18 13:36:19 +00:00
Tom Hacohen b20190232c Evas textblock: Fixed issues with deleting paragraphs using range_del.
Also added test cases for that.

SVN revision: 72398
2012-06-18 13:31:20 +00:00
Tom Hacohen eefaa4c0fe Evas font: Revert "This makes build break when harfbuz already installed ."
This reverts commit 72372.

I just don't get this commit, you just disabled the define that's
responsible of turning harfbuzz on. If you have a too old harfbuzz,
update, I don't plan on supporting old versions of an unreleased always
changing piece of sw.

SVN revision: 72393
2012-06-18 12:50:19 +00:00
Carsten Haitzler 00eea12d83 fix off-by-1 in textgrid!
SVN revision: 72380
2012-06-18 10:25:12 +00:00
Jiyoun Park bd102bf741 This makes build break when harfbuz already installed .
for example , hb_shape_full function is supported only harfbuzz-20120607 version.
(harfbuzz 0.6 or 0.7 does not support this function)
but OT_SUPPORT define always turned on if harfbuzz installed.
 


SVN revision: 72372
2012-06-18 08:30:32 +00:00
Cedric BAIL b3c50c2407 evas: destroy the mutex after we use it for the last time.
SVN revision: 72329
2012-06-18 01:05:30 +00:00
Carsten Haitzler d09c4f4a4b remove workaround thanks to tasn font fix.
SVN revision: 72280
2012-06-17 07:27:44 +00:00
Tom Hacohen 6e3ddcd6a0 Evas font: Fix the font engine to work with Bitmap fonts.
Oops, I used the Outline CBox function instead of the Glyph one. Fixed.

SVN revision: 72278
2012-06-17 07:18:50 +00:00
Cedric BAIL 67a8db57b1 evas: let's have an O(1) check instead of O(N).
SVN revision: 72266
2012-06-17 04:32:54 +00:00
Carsten Haitzler 873d5ed76a add ()'s
SVN revision: 72259
2012-06-17 02:42:15 +00:00
Carsten Haitzler 1e043ecd3b wanrn--
SVN revision: 72250
2012-06-17 01:33:23 +00:00
Carsten Haitzler fc9218087d adjust default memprool alloc sizes. too big imho.
SVN revision: 72249
2012-06-17 01:32:10 +00:00
Carsten Haitzler 23c6ea5b97 printf--
SVN revision: 72217
2012-06-16 06:29:36 +00:00
Carsten Haitzler 2c1b13a9b3 font changes update correctly now in tg.
SVN revision: 72215
2012-06-16 06:28:11 +00:00
Carsten Haitzler 8f998d85f9 wrong logic check. fix!
SVN revision: 72211
2012-06-16 05:27:12 +00:00
Carsten Haitzler ea2d9df312 completing more work on textgrid. well optimized now in terms of
tracking updates and minimizing rendering etc.



SVN revision: 72208
2012-06-16 05:06:29 +00:00
Carsten Haitzler 8156f2f103 workaround text issue not getting widht of stirng right with bimtap
fonts - use advance+inset as workaround.



SVN revision: 72195
2012-06-15 14:24:01 +00:00
Carsten Haitzler 824f7172da fix new textgrid to actually handle updates right.. well for now.
SVN revision: 72191
2012-06-15 13:59:10 +00:00
ChunEon Park 02ededc16a evas/render - clean up when map is enabled. In this case, it's children should be cleaned up in the list.
SVN revision: 72190
2012-06-15 13:29:24 +00:00
ChunEon Park a8c0af3015 evas/render - no. my fault.
SVN revision: 72188
2012-06-15 11:42:56 +00:00
ChunEon Park fa927a68cd evas/render - removed useless param
SVN revision: 72187
2012-06-15 11:40:08 +00:00
ChunEon Park b79f60974b evas/render - fix indent.
SVN revision: 72186
2012-06-15 11:16:11 +00:00
ChunEon Park 2c601fc25b evas/event - simpler route
SVN revision: 72185
2012-06-15 10:34:22 +00:00
Mike Blumenkrantz c10b10fad0 changelog + documentation for evas_object_smart_members_get() commit
SVN revision: 72179
2012-06-15 09:49:46 +00:00
Mike Blumenkrantz 214f736fb0 make evas_object_smart_members*get return NULL for non-smart objs...not sure I need to changelog this?
SVN revision: 72178
2012-06-15 09:36:39 +00:00
Vincent Torri a95cf57438 Evas: add textgrid object (not finished, nor optimized :-) ) Go raster, go !
SVN revision: 72169
2012-06-15 07:19:04 +00:00
Mike Blumenkrantz 4383a1f409 hey how about we stop breaking evas and edje with EVERY DAMN COMMIT???
SVN revision: 72162
2012-06-15 06:36:49 +00:00
Cedric BAIL d636db3c66 evas: cache conversion from Evas_Map to RGBA_Map.
SVN revision: 72119
2012-06-14 09:58:16 +00:00
Tom Hacohen 77e0f02f72 Revert "evas/event - Fixed incorrect events passing. Now child's repeat events does not affect to the parent's level."
This reverts commit 72080.

It broke everything. EFM stopped responding to mouse clicks, same with
clouseau. Seriously, completely broken.

SVN revision: 72093
2012-06-13 17:37:19 +00:00
ChunEon Park c513f84aa8 evas/event - Fixed incorrect events passing. Now child's repeat events does not affect to the parent's level.
SVN revision: 72080
2012-06-13 10:19:19 +00:00
Mike Blumenkrantz a82974536d fix crash when adding an image to an engineless canvas
SVN revision: 72071
2012-06-13 08:20:28 +00:00
Mike Blumenkrantz 04f2f44d6a bring some sanity back to Evas.h formatting
SVN revision: 72069
2012-06-13 08:12:36 +00:00
Tom Hacohen c4d284c1fe Evas smart: Fixed issue with eyelight.
Thanks a lot to Daniel for reporting.

SVN revision: 72068
2012-06-13 07:55:24 +00:00
ChunEon Park 8414915d9b evas/event - trivial changes
SVN revision: 72060
2012-06-13 06:08:01 +00:00
Carsten Haitzler 6746b071d1 and in my continuing foxes for bitmap font loading... correctly chose
the closest of N sizes.



SVN revision: 72055
2012-06-13 00:54:27 +00:00
Carsten Haitzler f3c3450dd8 actually getting smart data should safely retunr NULL if not a smart
object type without bitching. this is a quick "is it a alid smart
object" check.



SVN revision: 72041
2012-06-12 16:26:47 +00:00
Tom Hacohen c3fe7b3aa8 Evas: Unbreak evas. Apparently it doesn't compile in some cases.
Thanks to mekius for reporting.

SVN revision: 72036
2012-06-12 15:25:27 +00:00
Tom Hacohen 1ef99594d8 Evas smart: Verify it's a smart object before returning the data.
SVN revision: 72034
2012-06-12 14:24:07 +00:00
Tom Hacohen a9709c792e Evas font: Support no bidi no shaping mode in font rendering.
For no bidi: just don't set the bidi stuff. I.e paragraph props and the
other stuff (including text_props_direction_set). If you disable BiDi you most
likely want to disable shaping as well.
For no shaping: Disable bidi (i.e don't set direction) and pass
EVAS_TEXT_PROPS_MODE_NONE to info create.

This will prove especially useful for textgrid, but not only.

SVN revision: 72032
2012-06-12 14:14:52 +00:00
ChunEon Park b726de235a evas/map - removed empty evas_object_map_source_set/get APIs.
They does nothing and discarded since the evas_object_image_source_set/get is providing.



SVN revision: 71984
2012-06-12 07:23:46 +00:00
ChunEon Park 3a0f535a40 evas/line - Fixed simple line drawing on s/w backened. Unmatched loop scope caused the destination buffer pointer march in place.
SVN revision: 71977
2012-06-12 02:52:51 +00:00
ChunEon Park ea43e9004f evas/line - fixed indentation
SVN revision: 71976
2012-06-12 02:47:34 +00:00
Daniel Juyung Seo 06c4fa8cac evas Evas.h: Fixed typo.
SVN revision: 71971
2012-06-12 01:50:06 +00:00
Tom Hacohen 39f75a3524 Evas smart: Remove from the list, don't assume we have not other refcounts.
Without it, it just assumes the object has no refcounts and deletes the
object by force. It's very bad if you use refcounts, because your refcounts
are gone.

SVN revision: 71936
2012-06-11 08:35:07 +00:00
Tom Hacohen 13669e9e19 Evas magic checks: Print magic errors by default.
We still don't print on NULL because there are two many such errors in
evas, but at least we print on magic errors which are even worse.

SVN revision: 71894
2012-06-10 08:43:49 +00:00
Cedric BAIL c9cd50983f evas: make pipe rendering faster by forcing it to update region that fit in CPU cache.
NOTE: for people using Evas pipe rendering infrastructure. I am interested in reporting
expedite test before and after this patch with the associated type of CPU (number, thread,
cache). Thanks.


SVN revision: 71887
2012-06-10 04:58:24 +00:00
Carsten Haitzler 9d96a8ec62 fix bvitmap font handling. woot. can use pcf's and bitmap ttf's well n
ow. :)



SVN revision: 71886
2012-06-10 03:23:57 +00:00
Cedric BAIL 3b9b38c619 evas: don't include clip object.
SVN revision: 71829
2012-06-08 03:45:40 +00:00
Cedric BAIL e1578910bd evas: this function call are internal no need for expensive check.
SVN revision: 71789
2012-06-07 10:06:50 +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
Cedric BAIL dd84715cc8 evas: fix YUV video prepare issue with pipe rendering.
SVN revision: 71771
2012-06-07 04:01:46 +00:00
Tom Hacohen 01c10de3f5 Evas textblock: Added some NULL checks that shouldn't happen.
SVN revision: 71708
2012-06-05 11:35:58 +00:00
Tom Hacohen 06bce244aa Evas textblock: Fixed cursor position empty right aligned textblocks.
Thanks to WooHyun for reporting this.

SVN revision: 71704
2012-06-05 10:27:54 +00:00
Jihoon Kim bb56b0b09c fix @version in each EFL header doxygen
SVN revision: 71691
2012-06-04 23:27:02 +00:00
ChunEon Park 32e15bb3eb evas/line - code refactoring.
SVN revision: 71685
2012-06-04 11:39:43 +00:00
ChunEon Park 12602756c3 evas/line - trivial changes
SVN revision: 71684
2012-06-04 11:21:05 +00:00
ChunEon Park cdbff9552d evas/line - identation fix
SVN revision: 71683
2012-06-04 11:16:29 +00:00
Carsten Haitzler 0ccd4cdf2a FRom daniel zaoui -> spotted issues with callback deletionon evas_free
that may cause evas's to not be freed. fixxxxors!



SVN revision: 71552
2012-05-30 10:41:19 +00:00
ChunEon Park 88c5f1df74 evas/map - fixed afterimage problem. now we don't need work-around code anymore.
SVN revision: 71549
2012-05-30 10:12:10 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
ChunEon Park 6473f0316c evas/map - simplify code
SVN revision: 71545
2012-05-30 08:40:21 +00:00
Cedric BAIL 7909cb7bd6 evas: finally got rid of that nasty dancing font issue with pipe rendering.
SVN revision: 71544
2012-05-30 08:29:29 +00:00
Cedric BAIL ef3e42033b evas: Don't wake up prepare thread when there is nothing to do.
SVN revision: 71543
2012-05-30 08:15:42 +00:00
ChunEon Park ba47683a9b evas/render - pre render will be always. don't need if and else if which will be never reached.
SVN revision: 71540
2012-05-30 07:32:27 +00:00
ChunEon Park 84f38fea16 evas/evas_object_smart - simpler code.
SVN revision: 71531
2012-05-30 06:29:14 +00:00
ChunEon Park 140e97171b evas/map - fixed to update the rendering when map is enabled.
Now children objects of the mapped object should be cleaned from the internal cache lists.



SVN revision: 71519
2012-05-30 00:51:11 +00:00
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
Tom Hacohen af55fb6217 Evas text: apply italic correction for run-time slanted texts (disabled).
Also, put the slant angle calculations in a macro for easier future changes.
Just have it there so people who want it can turn it on.

SVN revision: 71506
2012-05-29 14:43:17 +00:00
Tom Hacohen d7f811fe8f Evas font-draw: Use bitmap offset in the glyph when drawing.
SVN revision: 71505
2012-05-29 14:43:10 +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
Christopher Michael ba863e5a41 Evas: Add framespace clip object (for efl wayland clipping issue).
SVN revision: 71425
2012-05-25 12:54:38 +00:00
ChunEon Park c3ace0d8e3 evas - trivial code refactoring for evas_object_clip_recalc
SVN revision: 71418
2012-05-25 08:13:40 +00:00
Daniel Juyung Seo 51c2d442f5 e, evas, elementary: Synced @author with AUTHORS.
SVN revision: 71399
2012-05-24 07:17:05 +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
Daniel Juyung Seo 2ff06b9333 evas Evas.h: Fixed typo.
SVN revision: 71395
2012-05-24 06:48:21 +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
Rafael Antognolli 9398a60c22 evas/cserve2: Adding message structs for font rendering
communication.



SVN revision: 71360
2012-05-23 18:09:57 +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
Carsten Haitzler 69bd9ce72e let's make server work out of the box if u set:
export EVAS_CSERVE2=1

(and run cserve2)



SVN revision: 71274
2012-05-21 08:44:55 +00:00
Sung Park 8250180aec Separated checks for gl2.h defines and gl2ext.h defines in Evas_GL.h.
SVN revision: 71270
2012-05-21 08:01:28 +00:00
Cedric BAIL d30a9bf8be evas: this should fix the last remaining bug with my lockless font rendering.
SVN revision: 71236
2012-05-19 07:43:37 +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
Cedric BAIL 495addd041 evas: don't try to walk if we don't have anything to walk on.
SVN revision: 71221
2012-05-18 03:16:22 +00:00
Cedric BAIL b0d3526d89 evas: another improvement part of the previous lock less font rendering patch.
Now evas will in all case do the layout during the prepare stage. It will do that
once and as long as the text didn't change. This does improve by a factor of at
least 2.3 in all expedite test case except the text change that only get a 30%
increase (I expect a drop in performance on non pipe rendering for text change
expedite test only, but this case is not common in real life).

This also fix the issue that show random size glyph when using pipe rendering.


SVN revision: 71220
2012-05-18 02:16:54 +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
Sung Park 38f87ea80b Updating documentation and NEWS for EvasGL Multisample Surface
bits along with general doc update. 



SVN revision: 71191
2012-05-17 06:54:06 +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
Gustavo Lima Chaves a79ac2aba1 [evas] Just some tweaks on Evas_Smart_Class' docs.
SVN revision: 71137
2012-05-16 01:39:53 +00:00
Rafael Antognolli ad37a5e7bf evas/cserve2: Use width and horizontal bearing from
glyph metrics.
Instead of having to render the glyph to get the width and horizontal
bearing of it, it's possible to get this information from the glyph
metrics (which are available on the glyph slot).

This change now allows Evas to only render the glyph at the rendering
phase, instead of having to render it during layout phase.



SVN revision: 71132
2012-05-15 21:15:20 +00:00
Rafael Antognolli d94025ca29 evas/cserve2: Split out the glyph rendering code from
glyph_get().
Now it's possible to get a font glyph without needing to render it
(although Evas is not doing so).



SVN revision: 71131
2012-05-15 21:15:08 +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
Cedric BAIL f9650433ed evas: apparently i am not the only user of the pipeline rendering.
SVN revision: 71104
2012-05-15 11:11:33 +00:00
ChunEon Park fb934425e9 evas - reverted 71099. my mistake
SVN revision: 71101
2012-05-15 08:22:06 +00:00
ChunEon Park b838e41bab evas - removed unnecessary compares
SVN revision: 71099
2012-05-15 07:30:15 +00:00
Sung Park b0f7d91c32 Adding MSAA (Multisample Anti-Aliased) Surface Option to Evas GL.
Currently, this feature is only supported in EGL/GLESv2 environment
with GL_IMG_multisampled_render_to_texture extension supported.

_____________________

from:    (sanghee park) sh15.park@samsung.com

Dear all,

     I compose this mail to ask reviewal this patch about multisampling on the evasgl.
     I want to make multisampling capacity to enhance rendering quality of the evasgl.
     But if MSAA is applied always, this have possibility lowering rendering performance,
     I separated user's input level to high, mid, low, none.
     If you want to test this patch, try to examine rendering qulity on EGL circumstance with multisampling level.
     Plaese review it, and any suggestion will be appreciated.

     Best Regards,
     SangHee






SVN revision: 70992
2012-05-14 08:52:56 +00:00
Carsten Haitzler ce4a431e4d Fix pixman rendering support if you set alpha flag AFTER
setting image size for custom image data.
                


SVN revision: 70987
2012-05-14 06:56:22 +00:00
Iván Briano b0907e89b8 LEAKS! GONE!
- Cleanup cache2 things on shutdown
 - Use Eina_File instead of straight shm_open + mmap when loading things from cserve2
 - Do free the mapped images when we don't need them


SVN revision: 70936
2012-05-11 20:12:56 +00:00
Cedric BAIL 4494035fa7 evas: detect properly when we wippe out font information.
SVN revision: 70923
2012-05-11 01:50:40 +00:00
Daniel Juyung Seo 123185958e evas Evas.h: Fixed formatting while reading the code.
SVN revision: 70877
2012-05-08 23:05:49 +00:00
Iván Briano a033707137 And make map work with cserve2
SVN revision: 70858
2012-05-07 19:58:34 +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
Jonas M. Gastal faed16346b Small improvement to evas_object_rectangle_add docs.
SVN revision: 70763
2012-05-04 19:25:33 +00:00
Jonas M. Gastal 14bd718aee Fixing typo.
SVN revision: 70762
2012-05-04 19:25:30 +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 f644afebf0 evas: \o/ My mojo is back, unbork pipeline font rendering.
SVN revision: 70687
2012-05-03 07:31:04 +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 9f4da8f68c evas/evas_key_grab - +warning for exceptional case.
SVN revision: 70610
2012-05-02 06:58:08 +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 dbac507018 evas/doc - more information for exceptional cases.
SVN revision: 70600
2012-05-02 05:38:51 +00:00
ChunEon Park 3356a62dcd Evas/Doc - --missed commit.
SVN revision: 70599
2012-05-02 05:32:53 +00:00
ChunEon Park e0b84dd23d evas/doc - added warnings to not make users embarrass when they see segfaults.
SVN revision: 70598
2012-05-02 05:30:33 +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 6841959b14 Evas font: Fix a compiler warning.
SVN revision: 70555
2012-04-30 11:15:18 +00:00
Cedric BAIL f046fa4c46 evas: remove unused parameter.
SVN revision: 70550
2012-04-30 09:42:42 +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
Daniel Juyung Seo 1dfc652a9b evas, ecore, elementary: Updated AUTHORS and synced author documentation.
SVN revision: 70529
2012-04-28 01:37:07 +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
Cedric BAIL 9dbaea6dd1 evas: remove WORD_CACHE and METRIC_CACHE.
Note: this two were broken. Current plan to bring
that feature back in, is to attach this information
to Evas_Text_Prop during the prepare stage. This
would improve both single and multiple core rendering
without increasing the number of lock and the complexity
of the code.


SVN revision: 70501
2012-04-26 09:04:08 +00:00
Cedric BAIL 5965fb4282 evas: remove EVAS_SLI code path, it was to slow and unused for years.
NOTE: other things that may join it in the near futur EVAS_FRAME_QUEUE,
EVAS_METRIC_CACHE and maybe EVAS_WORD_CACHE also. This is all part of
cleaning up our rendering path so we can actually improve it more easily.


SVN revision: 70499
2012-04-26 08:41:39 +00:00
Cedric BAIL 0a5c840c48 evas: lock less font rendering.
SVN revision: 70497
2012-04-26 08:18:51 +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 0037f3bf30 minor fix to convert-tiled.
SVN revision: 70363
2012-04-20 13:31:53 +00:00
Jonas M. Gastal b2e8a1768c Fixing doc for out of tree builds and removing broken references.
SVN revision: 70276
2012-04-17 16:36:28 +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
Mike Blumenkrantz 61dc86ec9d 70000 GET
SVN revision: 70000
2012-04-11 01:34:12 +00:00
Carsten Haitzler aadce3fe47 spell complaint properly
SVN revision: 69959
2012-04-09 03:43:45 +00:00
Jihoon Kim 170f218f58 evas doxygen warnings from Jérôme Pinot
Attached patch fixes a bunch of warnings in evas doc:
- Make remaining EINA_{TRUE,FALSE} @c, removing some undef link in same
 time
- Make remaining NULL @c
- Fix the color space list
- small random fix


SVN revision: 69956
2012-04-07 14:01:55 +00:00
Gustavo Sverzut Barbieri 2757e05a59 evas box layout bugfix.
Due typo the weight was being handled as an integer, not floating
point. It worked with examples since they were usually being round to
int after being sum (0.3 + 0.7 -> 1.0, 3 + 7 -> 10).



SVN revision: 69910
2012-04-03 17:03:47 +00:00
Jihoon Kim 25e8dfaaff Evas.h: remove ingroup of Evas_Callback_Type. it's revert of 69885
SVN revision: 69900
2012-04-03 14:21:05 +00:00
Mike Blumenkrantz bf44f22f33 this variable was unused and confusing
SVN revision: 69886
2012-04-03 05:30:35 +00:00
Jihoon Kim 52bb5189df Evas.h: fix doxygen
SVN revision: 69885
2012-04-03 04:15:44 +00:00
Jihoon Kim 65e1091a32 Evas.h: fix doxygen
SVN revision: 69774
2012-03-29 23:59:03 +00:00
Jérôme Pinot 8adb24c24a Patch by: Jérôme Pinot <ngc891@gmail.com>
There is a reference to evas-load-error-str.c in
the evas_load_error_str doc, but this file doesn't exist
anymore so I made the doc link to evas-images.c which use
several times this function.

SVN revision: 69754
2012-03-29 13:51:05 +00:00
Jérôme Pinot 51e5cfe685 From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] evas doxygen doc (1)

There are a lot of small things to fix in the evas doc. Here is a first
batch. Fixes are trivial and obvious. Just a question about the first
hunk, I removed the <tdb> that replaced valid email for companies
because it makes doxygen complain about the unknown tag and, well, it
doesn't give any information either. Was there an explanation about
adding this ?

Joined is the patch along with the doc build log diff.



SVN revision: 69749
2012-03-29 11:41:22 +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
Carsten Haitzler 6c4d8abb01 someone somewhere along the way broke evas_render_method_list(). FIX!
SVN revision: 69634
2012-03-26 10:56:55 +00:00
Vincent Torri 5422bf5b85 Evas: fix shm_open() check (can be in libc or librt)
This works in linux and windows, and should fix shm_detection on BSD (including Mac)

 BSD, Mac and solaris users : please check that it compiles and shm_open is detected


SVN revision: 69612
2012-03-25 16:39:04 +00:00
Vincent Torri d1ba8d6035 whitespaces--
SVN revision: 69611
2012-03-25 12:08:23 +00:00
Jonas M. Gastal dc6c19e47e Those are not currently implemented, so documenting them is confusing to
users.

SVN revision: 69568
2012-03-22 16:57:16 +00:00
Jihoon Kim 44a3dae112 Evas.h: fix other typos
SVN revision: 69567
2012-03-22 14:47:18 +00:00
Jihoon Kim 0ec5df8a64 Evas.h: fix some typos
SVN revision: 69566
2012-03-22 13:32:34 +00:00
Jérôme Pinot 5900e0c953 From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] evas doc typos

3 typos in evas doc.



SVN revision: 69539
2012-03-21 11:54:28 +00:00
Carsten Haitzler e92d5fb2eb fix map overdraw issue that has snuck in during development
SVN revision: 69534
2012-03-21 04:04:03 +00:00
Carsten Haitzler 8143b3969a make sure we clean temporary objects - make some notes too.
SVN revision: 69522
2012-03-20 08:08:42 +00:00
Carsten Haitzler b56d2a710b fix up missing LKI/LKD which was still pthread. hurts windows port due
to using eina_lock there.



SVN revision: 69498
2012-03-19 06:18:44 +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 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
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