Commit Graph

5814 Commits

Author SHA1 Message Date
Cedric BAIL bffbe552fc evas: don't change the value of event. That break ABI !
SVN revision: 76186
2012-09-05 09:56:24 +00:00
ChunEon Park f7f9341419 evas/evas_object_image - added EVAS_CALLBACK_IMAGE_RESIZE.
SVN revision: 76161
2012-09-05 04:20:42 +00:00
Eduardo de Barros Lima e44d6633a3 Formatting
SVN revision: 76144
2012-09-04 20:38:09 +00:00
Eduardo de Barros Lima 904e2096f4 Wayland_egl: NULL checks to avoid crash with invalid re->win
SVN revision: 76135
2012-09-04 18:27:29 +00:00
ChunEon Park 36df225438 evas/image - my fault. this shouldn't be commented.
SVN revision: 76126
2012-09-04 11:24:40 +00:00
ChunEon Park afc8644e36 evas/evas_object_image - use Eina_Bool
SVN revision: 76115
2012-09-04 08:56:46 +00:00
ChunEon Park c368c8c27b evas/evas_object_image - clean the code
SVN revision: 76114
2012-09-04 08:42:38 +00:00
Christopher Michael 5f704dd0bc Evas: Update ChangeLog for Vince ;)
SVN revision: 75995
2012-09-03 10:22:19 +00:00
Carsten Haitzler 0e77364887 update header #defined versions to 1.8 to make sure new apis are used
in e17 only with ifdefs.



SVN revision: 75994
2012-09-03 09:55:34 +00:00
Christopher Michael 90a436ca0c Evas: When doing a move or geometry_get, we need to make sure that we
don't try to do these on the framespace clip object. Also, since we
need the evas to get the framespace clip object, just directly use the
framespace values from the canvas, rather than function call to get
those values.



SVN revision: 75989
2012-09-03 09:41:01 +00:00
Christopher Michael cbedd76a1f Evas: In the render stage, check obj->is_frame directly. No need for
another function call here. We have to object already available, just
check the property directly.



SVN revision: 75980
2012-09-03 08:50:40 +00:00
Igor Murzov e42648154f From: Igor Murzov <e-mail@date.by>
Subject: [E-devel] [PATCH][RESEND][Evas] WebP image loader

This patch adds a WebP image loader to Evas. No saver,
no animation support for now, just loader. Tested with
the libwebp-0.2.0 only, but should work fine with older
versions.



SVN revision: 75951
2012-09-03 06:22:59 +00:00
Vincent Torri 0854fe7aba Evas: Fix seg fault in the esvg loader, latest code is required, and enable it on Windows.
SVN revision: 75942
2012-09-02 18:20:35 +00:00
Gustavo Lima Chaves 388a888eeb [evas] Document weight hints' defaults.
SVN revision: 75926
2012-08-31 21:48:27 +00:00
Gustavo Lima Chaves ca29c68dc2 [evas] Document alignment hints' defaults.
SVN revision: 75925
2012-08-31 21:41:49 +00:00
Christophe Sadoine 0c2ecd5c1b From: Christophe Sadoine <chris@indefini.org>
Subject: [E-devel] [patch] A function to rotate an evas map with a
quaternion

So this is a patch to rotate an evas map with a quaternion.
You can use this to avoid gimbal lock... for example in the elementary
evas map 3d test, if you put the Rot y angle to 90 then Rot x and Rot
z will do the same rotation...



SVN revision: 75920
2012-08-31 07:05:48 +00:00
Cedric BAIL 0008f2362f ChangeLog: back in time.
SVN revision: 75875
2012-08-30 11:26:00 +00:00
Cedric BAIL 5e33eaa6c4 ChangeLog: state we did a release.
SVN revision: 75873
2012-08-30 10:55:40 +00:00
Carsten Haitzler d22ca53faa and up ver to 1.7.99 now in svn. nack to svnrev num at end.
SVN revision: 75869
2012-08-30 10:34:01 +00:00
Christopher Michael d8d45e5808 Evas: Update ChangeLog.
SVN revision: 75827
2012-08-29 12:58:33 +00:00
Christopher Michael 871a47258d Evas (wayland_egl): Add support for Multi-Sample Anti-Aliasing and GL
Direct Images. Add support for using native image binding. Add support
for setting GL surface capabilities. Fix up some overrides to be in
the proper place (glsym vs evgl).

NB: Yes, it is a bit large of a change during freeze, but there are no
API changes here, and it is well tested. Nothing broken (beyond what
was already broken).



SVN revision: 75826
2012-08-29 12:55:51 +00:00
ChunEon Park 7322487bd2 evas/gl - don't crushed up when failed to allocate surface.
SVN revision: 75748
2012-08-28 05:59:27 +00:00
Carsten Haitzler 6335870b45 no this isnt release - this is simply me removing the beta tag so when
we release it's ready.



SVN revision: 75740
2012-08-27 10:24:41 +00:00
Carsten Haitzler 1475fb3586 update @version's
SVN revision: 75739
2012-08-27 09:51:57 +00:00
Tom Hacohen e230b6f9a2 Evas textblock: Make sure scale changes causes a complete recalc.
SVN revision: 75733
2012-08-27 09:05:29 +00:00
Jiyoun Park 4c7a23d21e fix jpeg loader to decode JFIF format.
before, if the jpeg format is JFIF, we cannot get orientation. 
currently jpeg loader get orientation from file


SVN revision: 75707
2012-08-26 11:22:55 +00:00
Tom Hacohen 77997affda Evas: Revert "Evas: tabs --> spaces"
Lets wait until after the code freeze is over and people apply their
patches, otherwise it'll be hellish.
This reverts commit 75632

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



SVN revision: 75636
2012-08-23 19:58:02 +00:00
Rafael Antognolli cc2ec4105b evas/examples: Add map to the smart object example.
Rotating the smart object with map, adding a rectangle as child, and then
rotating it again will expose a bug on mapped smart objects: it's mapped
surface will be reused from cache, instead of flagged as dirty and discarded.



SVN revision: 75635
2012-08-23 19:49:48 +00:00
Vincent Torri 681fdbc351 Evas: tabs --> spaces
SVN revision: 75632
2012-08-23 15:48:37 +00:00
Tom Hacohen a1687ca4b9 Evas: Started using EVAS_GENERAL_CFLAGS/LIBS 2 vars to rule them all.
Instead of going all over the place and adding cflags to many different
Makefiles, now you just need to update these 2 vars.

SVN revision: 75619
2012-08-23 11:32:38 +00:00
Tom Hacohen 9848db657a Evas textblock: Fixed bug in evas_textblock_cursor_word_start.
Fixed bug with 1 char word separators at the start of the
text when going to the start of the word (e.g: =test).

Reported by Thiep Ha. Thanks a lot.

SVN revision: 75595
2012-08-23 07:03:18 +00:00
Eduardo de Barros Lima bacdd1ae11 canvas: Fix event framespace adjustment
Complements fix in r75545



SVN revision: 75555
2012-08-22 14:53:45 +00:00
Christopher Michael 5c5c1da5fb Evas: Integrate patch from Robert Bradford which makes the framespace
adding and subtracting consistent. Fixes ticket #1295.



SVN revision: 75545
2012-08-22 12:41:44 +00:00
ChunEon Park 25255b9409 evas/gl_x11 - one is enough
SVN revision: 75503
2012-08-21 11:57:48 +00:00
ChunEon Park e99f70901f evas/gl_x11 - more simple code
SVN revision: 75502
2012-08-21 11:37:02 +00:00
ChunEon Park 38fa83ebf4 evas/gl_x11 - trivial changes
fix indent, remove white spaces



SVN revision: 75501
2012-08-21 11:32:18 +00:00
Cedric BAIL 3ec12202f9 evas: put back the test on dead object in the right way.
SVN revision: 75492
2012-08-21 08:41:02 +00:00
Sung Park d1eea33285 Fix evas_gl current_context update issue when evas_gl context is deleted.
SVN revision: 75490
2012-08-21 07:42:08 +00:00
Sung Park f4d20be0c2 Fixed compiler warning messages in gl_x11 evas_engine for evas_gl.
SVN revision: 75488
2012-08-21 07:28:39 +00:00
ChunEon Park a9593bd3fa evas/gl - removed unnecessary lines which causes the resource leak and corruption
SVN revision: 75463
2012-08-20 12:37:22 +00:00
Tom Hacohen 05136cc824 Evas textblock: Reverted my last commit and added WooHyun's instead.
They were pretty similar, but I think WooHyun's was better.
Thanks to WooHyun for the patch.

SVN revision: 75461
2012-08-20 11:05:48 +00:00
Tom Hacohen ba506122e1 Evas textblock: Fixed range geometry with 1 format at the eol.
Fixed an issue with range geometry when we are getting the geometry of only
the last format of a line.

SVN revision: 75460
2012-08-20 11:00:16 +00:00
Carsten Haitzler df46cb5bd2 dont skip objects mark with elete_me flags. inf loop.
SVN revision: 75413
2012-08-18 12:44:01 +00:00
Rui Seabra 5daa1a432a Update rpm specs
SVN revision: 75404
2012-08-18 08:22:34 +00:00
Carsten Haitzler 991377f05a imgs src set as null is ok - unset proxy.
SVN revision: 75403
2012-08-18 07:28:26 +00:00
Carsten Haitzler 5a27065b81 long standing patch/bug for \r systems text conversion to markup.
http://trac.enlightenment.org/e/ticket/293



SVN revision: 75402
2012-08-18 07:02:16 +00:00
Carsten Haitzler 38c85ab9ab actually imho these 2 are warning ones only.
SVN revision: 75395
2012-08-18 00:37:54 +00:00
ChunEon Park 63b7df8111 evas - updated changelog
SVN revision: 75383
2012-08-17 11:30:20 +00:00
ChunEon Park 3b66084b1b evas/image - I removed them to prevent going along with release.
please add them locally.



SVN revision: 75382
2012-08-17 11:06:23 +00:00
Mike Blumenkrantz 490fe3771a put aborts back, they were added for a reason.
SVN revision: 75379
2012-08-17 09:49:52 +00:00
ChunEon Park 14d7f1cce7 evas/render - code refactoring.
removed duplicated



SVN revision: 75351
2012-08-17 06:16:04 +00:00
ChunEon Park 225630552e evas/render - let clip the child even if it's the mapped obj and do it only when clipper exists.
SVN revision: 75350
2012-08-17 06:02:49 +00:00
ChunEon Park 8f54340beb evas/evas_object_image - removed aborts
SVN revision: 75348
2012-08-17 05:46:38 +00:00
ChunEon Park dc99ca8987 evas/gl_common - less pointer access
SVN revision: 75346
2012-08-17 04:43:23 +00:00
Carsten Haitzler 497af2e1e4 tag as beta...
SVN revision: 75344
2012-08-17 03:57:49 +00:00
Christopher Michael d5eb01a904 Evas: Since we munge the framespace values in evas_object_geometry_get
function, we should do the same for events. This fixes the cursor
position in elm widgets.

NB: I have been running this patch for 2 days and see not bad side
effects in either wayland engines, or X11 engines. Patch from Robert
Bradford @ Intel, slightly modified by myself to avoid the overhead of
another function call.



SVN revision: 75309
2012-08-16 08:08:44 +00:00
Carsten Haitzler d91c5bc76f update README
SVN revision: 75299
2012-08-16 00:53:31 +00:00
Carsten Haitzler c27e15df0b update readme on svg change.
SVN revision: 75298
2012-08-16 00:40:17 +00:00
Carsten Haitzler 0f67b6e905 indeed spec file out of date.
SVN revision: 75297
2012-08-16 00:38:58 +00:00
Christopher Michael bdb2beb69a Evas (wayland): We should also check for framespace changes here and
adjust the clip size and position if something changed.

NB: Found this during final fullscreen testing where, when fullscreen,
the clip was not getting moved or resized.



SVN revision: 75291
2012-08-15 10:00:09 +00:00
Tom Hacohen fc94d7b168 Evas textblock: Fixed range geometry when the last item is a format.
SVN revision: 75257
2012-08-14 12:40:41 +00:00
Carsten Haitzler 54650e7e56 fix font glyph issue when gl enignes shut down leaving font glyph data
for textures in the font core.



SVN revision: 75243
2012-08-14 08:31:59 +00:00
Mike Blumenkrantz 4d56b9f19d add docs to some evas event structs
SVN revision: 75236
2012-08-14 07:06:30 +00:00
Christopher Michael 419c817815 Evas (wayland_egl): More bug fixes & cleanups ! :)
When we create the egl window we should take rotation into
consideration, so account for that. Add an 'edges' variable to the
engine info structure. This is needed so we can implement resizing
windows from the top also. Make sure to use
wl_egl_window_get_attached_size and determine the edge we are resizing
from, so we can calculate the difference in sizes to send to
wl_egl_window_resize.

Add __UNUSED__ to function paramaters where it was missing, and fix
some compiler warnings.



SVN revision: 75215
2012-08-13 14:36:25 +00:00
Carsten Haitzler b51f30b082 fix async event fd after fork. pipe re-create
SVN revision: 75193
2012-08-13 08:52:23 +00:00
Eduardo de Barros Lima a9b622c534 Fix documentation typos
SVN revision: 75179
2012-08-12 23:34:54 +00:00
Carsten Haitzler 42860b89ad cleaning formats.
SVN revision: 75160
2012-08-12 04:18:44 +00:00
Carsten Haitzler bd1860ffcc finally found evas_map weirdness bug. CEDRIC code...! commit #74180.
now here's the rub. from the glibc manual page:

...
       int memcmp(const void *s1, const void *s2, size_t n);

DESCRIPTION
       The  memcmp()  function compares the first n bytes (each interpreted as
       unsigned char) of the memory areas s1 and s2.  It  returns  an integer
       less than, equal to, or greater than zero if s1 is found, respectively,
       to be less than, to match, or be greater than s2.
       
RETURN VALUE
       The memcmp() function returns  an  integer  less  than, equal  to,  or
       greater than zero if the first n bytes of s1 is found, respectively, to
       be less than, to match, or be greater than the first n bytes of s2.

...

this explicitly says that s1 and s2 have their BYTES compared... and
then returns just some value < 0, 0 or > 0 based on the difference. what
that value is and means is not defined, as long as it is < 0, 0 or > 0.

so the C standard has this to say:

6.3.1.3 Signed and unsigned integers

2. Otherwise, if the new type is unsigned, the value is converted by
repeatedly adding or subtracting one more than the maximum value that
can be represented in the new type until the value is in the range of
the new type.

so a result of -255 (possible) is converted by REPEATEDLY adding the
max size of the new type (255) until within range... so ...
-255 + 255 = 0 ... within range.. BUT FALSE!

so why do we see this now? something changed in memcpy behavior.
before we ONLY saw values of -1, 0 or 1 - nothing else, NOW we see
thins like:

-12288
49152
4096
16384
61440
-53248

so memcpy changed behavior, though within specs of the manual page
anyway, but now the values can be ones that break the simple assignment.



SVN revision: 75159
2012-08-12 04:17:42 +00:00
Jihoon Kim 7d5113b09f evas: fix version in NEWS
SVN revision: 75105
2012-08-10 14:00:21 +00:00
Christopher Michael e64e0a4534 Evas: When we render using the wayland engine(s), if the object we are
rendering is in fact the framespace clip, then do not allow it to be
clipped to itself, just skip the clip set for it.



SVN revision: 75100
2012-08-10 13:08:22 +00:00
Carsten Haitzler aef32ed6d3 more updates for 1.7.0 alpha.
SVN revision: 75095
2012-08-10 10:51:17 +00:00
Carsten Haitzler 1e2cbe8e7d alpha release of 1.7 - let's roll. ALPHA!
SVN revision: 75091
2012-08-10 10:37:05 +00:00
Carsten Haitzler d101c4eddc theoretically this should fix alpha dest stuff in egl-x11... it
always worked oddly enough :)



SVN revision: 75086
2012-08-10 10:32:49 +00:00
Christopher Michael e2957462c8 Evas (wayland_egl): We don't have a visualinfo structure for the
window at this point, so we cannot use it for comparison. Instead,
check the requested depth. Also fix best_depth_get function to not
return a hard-coded depth if a depth has been set already.



SVN revision: 75082
2012-08-10 10:08:22 +00:00
Carsten Haitzler 27cd00c7f7 fix distcheck issue.
SVN revision: 75080
2012-08-10 10:05:48 +00:00
Daniel Juyung Seo ee1517b58a evas Evas.h: Added more documentation.
SVN revision: 75028
2012-08-09 05:54:22 +00:00
Youness Alaoui 60800876c3 Evas: Use proper variable (gc->shared is set later on)
SVN revision: 75022
2012-08-08 23:35:58 +00:00
Carsten Haitzler 6cfcf9ef49 can't reproduce but try avoid possible alloc bug in native surface
handling.



SVN revision: 74993
2012-08-08 06:25:59 +00:00
Carsten Haitzler 20f5fcaa3e move comment to right bit.
SVN revision: 74981
2012-08-07 11:17:35 +00:00
Cedric BAIL 49510f9f7f evas: forgotten ChangeLog and NEWS.
Missing Vincent so much !


SVN revision: 74979
2012-08-07 11:03:32 +00:00
Carsten Haitzler 6e0f9db089 lets not segv if src is null :)
SVN revision: 74978
2012-08-07 10:59:44 +00:00
Cedric BAIL 1284e077ad evas: don't clip the clipper.
SVN revision: 74974
2012-08-07 10:44:15 +00:00
Carsten Haitzler ce676a703d compile test... ceeeeedric!
SVN revision: 74972
2012-08-07 10:26:36 +00:00
Cedric BAIL 61c2345c55 evas: properly warn when linking object from different canvas.
SVN revision: 74968
2012-08-07 09:43:22 +00:00
Cedric BAIL a85e67559e evas: remove left over options.
SVN revision: 74954
2012-08-07 03:48:51 +00:00
Daniel Juyung Seo 2cefdbcec6 evas evas_object_smart.c: evas_object_smart_smart_get() does the exactly same check.
SVN revision: 74952
2012-08-07 00:57:09 +00:00
Gustavo Lima Chaves c343725133 [evas] Add forgotten magic checks on those iface functions.
SVN revision: 74948
2012-08-06 16:19:25 +00:00
Carsten Haitzler c601c066af move thinfo struct inot evas_pipe.c as its not needed elsewhere.
SVN revision: 74891
2012-08-06 00:22:31 +00:00
Carsten Haitzler c9f5e9d978 add missing fribidi flags to all engine modules.
SVN revision: 74889
2012-08-05 23:59:02 +00:00
Carsten Haitzler 38da638442 missing fribidi cflags in cache2.
SVN revision: 74872
2012-08-04 08:03:15 +00:00
Carsten Haitzler 4674438654 do fcfini now - it seesm to not be a problem with fc anymore
SVN revision: 74870
2012-08-04 04:34:49 +00:00
Carsten Haitzler 6d02ebcf28 leaks--!
SVN revision: 74868
2012-08-04 04:14:38 +00:00
Carsten Haitzler 6c079bcba6 dynamic texture path may have a segv issue... right jy? :) this should
fix it. try this patch. yay!



SVN revision: 74840
2012-08-03 10:42:24 +00:00
Stefan Schmidt 49caa43011 evas/canvas: Remove set but unused variable.
SVN revision: 74808
2012-08-02 16:05:49 +00:00
Sung Park d0b5d1e13e Fix evas_gl's internal resource surface bug. For optimzation evas_gl
was using evas' window surface to do its resource creation and it 
wans't properly updated when a window is destroyed and recreated.

Also, deleted some whitespaces. 


SVN revision: 74771
2012-08-02 01:15:38 +00:00
Christopher Michael 15a9aa0950 Evas: Fix evas build from botched copy/paste.
Apologies, I pasted the code in the wrong position :(



SVN revision: 74740
2012-08-01 14:32:26 +00:00
Christopher Michael 2a32afd20b Evas: Fix trying to clip objects to the framespace clip if the object
is going to be deleted. Patch from eduardo.de.barros.lime@intel.com.



SVN revision: 74739
2012-08-01 14:14:34 +00:00
Carsten Haitzler 951a9d2327 and chlog++
SVN revision: 74711
2012-08-01 06:30:16 +00:00
Carsten Haitzler debbdfe022 use eina_prefix for module finding as well as generic util bins... and
fix to proviude data file to prefix finding works right with debina
multiarch.



SVN revision: 74710
2012-08-01 06:29:26 +00:00
Jiyoun Park 102a85cc6e Fix evas pointer count problem, if press/release events occurs not pair,
it screws up the evas event process. We are not deal with release event if
there is no pressed pointer


SVN revision: 74705
2012-08-01 05:43:50 +00:00
Jiyoun Park d507bebc92 Gif loader didn't initialize frame buffer of first frame.
fix gif loader to initialize first frame's image data area


SVN revision: 74704
2012-08-01 04:33:12 +00:00
Tom Hacohen 6dd9396d6f Evas font: Fixed compilation without fontconfig.
Thanks a lot to JaMa for reporting this.

SVN revision: 74640
2012-07-31 10:51:11 +00:00
Christopher Michael 2aa4cd4bd5 Evas (wayland_egl): Add traps for a NULL rendering engine.
This can happen when rapidly opening & closing windows and when
engines are swapped between shm & egl programmatically.



SVN revision: 74616
2012-07-31 06:59:35 +00:00
Christopher Michael 72aad68b27 Evas: Fix bugs in Wayland Engine(s) with regard to object geometry &
position. Fix bug when clipping to viewport/framespace. These changes
fix Several buggers on Trac which related to the Wayland Engine(s).

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

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

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

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



SVN revision: 74565
2012-07-30 09:52:33 +00:00
Christopher Michael 4716f7f7ca Evas: We can include evas_pipe.h in common even without
BUILD_PIPE_RENDER. Fixes an implicit declaration warning when building
the software_generic engine.



SVN revision: 74481
2012-07-27 09:49:51 +00:00
Cedric BAIL 65f245cb08 evas: small doc improvement.
SVN revision: 74468
2012-07-27 02:59:24 +00:00
Tom Hacohen 6c9804fba9 Evas font: Fixed font cache to correctly handle different font sizes.
Used to just go for the first match in the cache which means it would always
think we only have the wrong size in the cache, and it would just add
new entries all the time.

SVN revision: 74435
2012-07-26 11:31:36 +00:00
Cedric BAIL b3e1d00b2f evas: force proxyed objects to stay active so we don't loose update.
SVN revision: 74427
2012-07-26 08:44:54 +00:00
ChunEon Park a3e8b5736d evas/gl - more clean code
SVN revision: 74420
2012-07-26 07:43:47 +00:00
Christopher Michael c652ba9071 Evas: Fix uninitialized variable warning.
SVN revision: 74353
2012-07-24 11:36:31 +00:00
Christopher Michael 4b5e15a133 Evas (wayland_egl): Set resource_list to NULL after we free it. Fix
minor formatting issue.



SVN revision: 74348
2012-07-24 09:19:23 +00:00
Carsten Haitzler c08110c00c conflict--
SVN revision: 74344
2012-07-24 06:33:56 +00:00
Carsten Haitzler a3d66cfed3 fix long standing layer set bug
SVN revision: 74342
2012-07-24 04:59:22 +00:00
Cedric BAIL 58827ba3b6 evas: handle proxy with the right context.
SVN revision: 74340
2012-07-24 04:27:17 +00:00
ChunEon Park 843255a175 evas/gl - +null & less code
This fixes the incorrect operations when evas gl is re-initialized in one same process



SVN revision: 74339
2012-07-24 03:57:27 +00:00
Ingvaldur Sigurjonsson 5410726016 From: Ingvaldur Sigurjonsson <rocketiii.scientist@gmail.com>
Subject: [E-devel] [PATCH]Evas.h comments patch

When reading the comments of 'evas_object_textgrid_update_add' I
noticed 
a little cnp err. The enclosed patch is just a suggestion, but the 
misleading comment was driving me nuts...



SVN revision: 74331
2012-07-24 01:31:50 +00:00
Rob Bradford 1e42e445c5 Evas (wayland_egl): Fix a series of various segfaults with the
wayland_egl engine caused by windows being hidden:

From: Rob Bradford <rob@linux.intel.com>
Date: Fri, 13 Jul 2012 19:13:12 +0100
Subject: [PATCH] evas(wayland_egl): Resolve a series of segfaults on
clean-up

The first was that when a window was being hidden the render engine
(e->engine.data.output) was being assigned to NULL (like on an error
path). I
checked other backends and they only free and nullify this pointer on
error
paths. By doing it on a hide it was interfering with cleanup process
for the
object.

This then highlighted a second crash from the derefence of the window
to NULL
when flushing the cache. If the window was hidden this window pointer
would
be NULL.

The third it highlighted was a duplicate call into
evas_gl_common_image_free
and the freeing of the image cache twice. By the time eng_image_free
has been
called the cache has already been freed so we can remove the duplicate
free.



SVN revision: 74330
2012-07-23 14:33:31 +00:00
Alex Wu 0f50ef36b9 Evas (wayland_egl): Fix crashes when flipping window alpha state.
From: Alex Wu <zhiwen.wu@linux.intel.com>

When calling elm_win_alpha_set(), the global EGLContext object keep
unchanged, but the new EGLSurface object subjects to the new EGLConfig
with changed alpha_size. This makes eng_window_new() failed and hence
free the  Render_Engine object (e->engine.data.output) and nullize it.
Next time other objects reference the output, segfault occurs.

In this patch, I give every Evas_GL_Wl_Window object a EGLContext object
and all these EGLContext objects share the same shader program objects.

A new global EGLContext object "share_context" added, which is
responsible for keeping the shared objects alive. e.g. shader program
objects.At the first time succeeded to create a EGLContext, assign it to
the "share_context", and should not destory it in eng_window_free.

The "share_context" will be taken as the 3rd argument when calling
eglCreateContext(), and then updated to the new created EGLContext to
keep the shared gl objects available.

Thanks for devilhorns' review and suggestion.



SVN revision: 74328
2012-07-23 14:16:50 +00:00
Youness Alaoui 8381ac5f55 Evas: Implement scale_hint_get/set for gl_sdl
SVN revision: 74323
2012-07-23 11:59:18 +00:00
Youness Alaoui cedbafac14 Evas: Update gl_sdl, gl_cocoa, directfb and software_16_sdl engines to use the new function prototype of image_map_draw
The arguments for image_map_draw changed, and these engines were receiving
the wrong data. In the case of gl_cocoa and gl_sdl, the gl_common would
receive a pointer for 'npoints' and would call abort() because npoints
is not 4.

SVN revision: 74321
2012-07-23 11:58:37 +00:00
Cedric BAIL 733338509e evas: make evas_object_smart_type_check more resilient.
Issue reported by JPeg.


SVN revision: 74295
2012-07-22 07:03:29 +00:00
Vincent Torri 15d902f502 remove workaround
SVN revision: 74288
2012-07-21 18:35:46 +00:00
Vincent Torri d8745ead0d libtool authors must be impaled (#3)
SVN revision: 74238
2012-07-20 11:04:22 +00:00
ChunEon Park d8a799003c evas/image - trivial changes
SVN revision: 74204
2012-07-20 05:41:25 +00:00
Cedric BAIL 4107be8da7 evas: little cosmetic fix.
SVN revision: 74181
2012-07-19 11:07:54 +00:00
Cedric BAIL f7d8ab31ed evas: try to unbork previous map fix.
NOTE: That one is nasty and I do admit that this doesn't
sounds like the proper fix, but as it doesn't trigger other
issue and is simple/reasonable I took to defeat that damn
beast.


SVN revision: 74180
2012-07-19 11:07:14 +00:00
Tom Hacohen 322a84e8f9 Evas tests: Fixed warnings.
SVN revision: 74166
2012-07-19 08:17:20 +00:00
Tom Hacohen df9ee73e48 Evas textblock: Fixed memory leak on tb deletion.
Thanks to k-s for reporting this.

SVN revision: 74165
2012-07-19 08:17:17 +00:00
Tom Hacohen d657328c80 Evas font: Add missing include.
Seriously, I don't know why or how, but it got removed from my previous
commit. Anyhow, it's fixed now.

SVN revision: 74159
2012-07-19 06:43:21 +00:00
Jiyoun Park d34502b33f fix bug in jpeg saver.
it override error handler before creation.
modify override error hanler after creation


SVN revision: 74153
2012-07-19 03:04:47 +00:00
Tom Hacohen b22564a2e5 Evas image: reset error after setting a proxy.
evas_object_image_file_set tries to load the file even if the file is NULL,
this in turn makes proxies always report about an error, although there
isn't really one.
I'm not sure whether evas_object_image_file_set should behave the way it
does, but I'm sure the proxy needs to reset the error anyway (because of
potential previous errors).

SVN revision: 74073
2012-07-18 14:09:53 +00:00
Carsten Haitzler 8d4f8f3dc7 fix box size hint handling.
SVN revision: 74039
2012-07-18 06:57:10 +00:00
Rafael Antognolli 30cff2b5fb evas/cserve2: Don't mark as unloaded if we are not
unloading the image.



SVN revision: 74000
2012-07-17 15:15:01 +00:00
Rafael Antognolli 665cffc165 evas/cserve2: Set image->flags.loaded on loaded_handle.
The flag and pixel data will be set on this callback, avoiding new
image_load_data() to create a new request or wait for the LOADED
message.



SVN revision: 73999
2012-07-17 15:14:54 +00:00
Rafael Antognolli 0efde61fef evas/cserve2: Don't set image loaded if we didn't get
pixel data yet.



SVN revision: 73998
2012-07-17 15:14:01 +00:00
Gustavo Lima Chaves fb2a822637 [evas] Interfaces improvement.
iface add() before smart add() is better.



SVN revision: 73991
2012-07-17 14:50:25 +00:00
Iván Briano 39040ba07a Set load options in the SETOPTS message
SVN revision: 73990
2012-07-17 14:24:08 +00:00
Iván Briano 4b1e5871aa Avoid calling the requets callbacks if the entry was
freed



SVN revision: 73989
2012-07-17 14:23:54 +00:00
Iván Briano 69f2a9154c When changing request type, it helps to let the request
know what its new type is



SVN revision: 73988
2012-07-17 14:23:43 +00:00
Iván Briano 667b42fbf2 No need for a separate Slave_Request pointer with font
entries



SVN revision: 73987
2012-07-17 14:23:36 +00:00
Iván Briano 073da7dfb2 Add Speculative Load type to requests and a way to
change requests from one type to another



SVN revision: 73986
2012-07-17 14:23:26 +00:00
Iván Briano 558e2eb267 Rename Font_Request so I stop being stupidly confused
by it.



SVN revision: 73985
2012-07-17 14:23:19 +00:00
Iván Briano 0e2294db55 Move image opening/loading to the new requests system
A lot going on here:
 - Request callbacks were adapted to fit the new scheme
 - The old requests systems in the cache was wiped out
 - Old slave handling in evas_cserve2_main.c is dead too
 - PRELOAD commands are responded with LOADED now



SVN revision: 73984
2012-07-17 14:23:09 +00:00
Iván Briano 0022544c8b Allow creating requets without a client waiting on it
SVN revision: 73983
2012-07-17 14:22:57 +00:00
Iván Briano 1f601af021 Cancel dependents only when the request itself is
cancelled



SVN revision: 73982
2012-07-17 14:22:52 +00:00
Iván Briano 30dd288a01 Call the requests callbacks only once per request
Message creation was like that already, but now we call the response or
error callback for the request only once. The cache does what it needs
there and returns, in the case of a successful response, the message
that will be sent to the client.



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


SVN revision: 73944
2012-07-17 03:35:53 +00:00
ChunEon Park 7f56d9a4da evas/render - ++ChangeLog
SVN revision: 73931
2012-07-16 11:34:52 +00:00
ChunEon Park 3f3314725c evas/render - fixed to do pre render for the children of mapped object.
Now textblock can calc it's texts geom correctly when it is a child of the mapped obj.



SVN revision: 73930
2012-07-16 11:33:12 +00:00
ChunEon Park 37af49d771 evas/render - removed duplicated recalc.
SVN revision: 73927
2012-07-16 11:19:08 +00:00
Carsten Haitzler 2c1b533d13 fix minor version defines to be at 1.6 (in sync now) ready for going
to 7 on release.



SVN revision: 73906
2012-07-16 06:36:02 +00:00
ChunEon Park a7a4fbbe74 evas/render - removed uselss compare and fix indent
SVN revision: 73903
2012-07-16 03:12:39 +00:00
Vincent Torri 1790fc0bd6 evas: cleanup autotools a bit
SVN revision: 73843
2012-07-14 09:28:01 +00:00
Tom Hacohen 049b0a349d Evas font: Fixed runtime emboldenment of bitmap fonts.
SVN revision: 73578
2012-07-11 14:05:36 +00:00
ChunEon Park 7674239482 evas/text - Let Draw Text with it's viewport size instead of window size.
When map is enabled then text should be rendered completely for it's surface.



SVN revision: 73514
2012-07-10 05:56:13 +00:00
Vincent Torri abc58b7d0f add note
SVN revision: 73512
2012-07-10 05:18:00 +00:00
Carsten Haitzler 9d4a352a45 use extra fcntl() instead of accept4 for portability.
SVN revision: 73509
2012-07-10 02:35:00 +00:00
Carsten Haitzler 5c9c0852bb update all versions in @sincs, README's and configure.ac's etc. to
reflect a unified release version, for now 1.6.99.



SVN revision: 73498
2012-07-09 10:20:21 +00:00
Carsten Haitzler 6238ca9806 warn--
SVN revision: 73429
2012-07-07 01:05:50 +00:00
Rafael Antognolli 99621b948a evas/cserve2: There's no need to disable this anymore.
We don't use this cache with cserve2, so it makes no sense to keep async
preload disabled. When not using the cserve2, even if built with that
option, it will support preload with no side effects.



SVN revision: 73422
2012-07-06 16:58:56 +00:00
Cedric BAIL d059c8ccf8 evas: update map when they are not defined yet.
SVN revision: 73420
2012-07-06 14:56:42 +00:00
Cedric BAIL 401d68ada6 evas: catch bad map early on.
SVN revision: 73416
2012-07-06 14:03:38 +00:00
Carsten Haitzler 3cc270844b fix binary search for "bitmap font drawing chars" to actually work all
the time! :) (this went in since last release so no chlog)



SVN revision: 73405
2012-07-06 09:53:58 +00:00
Cedric BAIL e468bdd391 evas, ecore: fix crash when sdl doesn't init properly.
SVN revision: 73400
2012-07-06 08:16:03 +00:00
Rafael Antognolli 56eeac8fbd evas/cserve2: Always return FALSE to can_do_region when
using cserve2.
Return always FALSE since we are not implementing this load option yet.



SVN revision: 73374
2012-07-05 18:42:30 +00:00
Rafael Antognolli 8ef623d3b5 evas/cserve2: The slave should measure the time spent
loading glyphs.
Instead of measuring the time spent by the server between asking and
receiving the glyphs rendered, we measure now the time spent by the
slave to load the glyph, and then to render it, and then we report this
time to the server.



SVN revision: 73373
2012-07-05 18:42:22 +00:00
Jonas M. Gastal 8e8a6b7425 Make old doxygen versions able to find evas example files.
The only two available versions of doxygen for e2(debian sid), where
online docs are generated, are borked. The newest version(1.8.1.1) is
extremely borked so best to just use the old one(1.7.1.1-2) which
doesn't properly parse EXAMPLE_PATTERNS.

SVN revision: 73358
2012-07-05 14:37:06 +00:00
Cedric BAIL 1c08b5899e evas: disable pipe rendering for release as it doesn't help enough.
NOTE: It will be enable again when async rendering will be in.


SVN revision: 73338
2012-07-05 12:04:47 +00:00
ChunEon Park a894f9437b evas - missed updating Changelog
SVN revision: 73332
2012-07-05 09:01:08 +00:00
ChunEon Park a7f8d70ef1 evas/gl - fixed Evas_Map NightMare.
Trvial mistake but I wasted much time to find out it.




SVN revision: 73331
2012-07-05 08:41:59 +00:00
ChunEon Park 9fbe6288df evas/gl - indentation fix
SVN revision: 73330
2012-07-05 08:37:16 +00:00
Cedric BAIL a99bf2c9b6 evas: fix clipping issue with pipe rendering.
SVN revision: 73322
2012-07-05 03:11:47 +00:00
Gustavo Lima Chaves fe013dc22e [evas] Updating changelog and news.
Thanks for pointing out, vtorri.



SVN revision: 73305
2012-07-04 21:35:32 +00:00
Gustavo Lima Chaves f00dca3b61 [evas] Example of Evas interfaces.
SVN revision: 73304
2012-07-04 21:25:57 +00:00
Gustavo Lima Chaves a82d95a8b6 [evas] Removing warnings from an example.
Patch by: Gustavo Lima Chaves <glima@profusion.mobi>



SVN revision: 73303
2012-07-04 21:23:13 +00:00
Gustavo Lima Chaves b64fa6453a Evas_Smart_Interface support.
This gives Evas simple (smart object) interfaces, to extend the object behaviorextension beyond the limits of mere sub-classing.

Patch by: Gustavo Lima Chaves <glima@profusion.mobi>



SVN revision: 73302
2012-07-04 21:23:03 +00:00
Vincent Torri a6ad134717 Evas: update README
SVN revision: 73292
2012-07-04 18:33:07 +00:00
Vincent Torri 542c5dfb7d Evas: missing decl for Windows engines
SVN revision: 73291
2012-07-04 18:32:08 +00:00
Christopher Michael afe6a61a8c Evas (xcb engine): Port cedric's changes for pipe rendering to the xcb
engine.



SVN revision: 73283
2012-07-04 12:52:31 +00:00
Christopher Michael 86293f9c4f Evas (wayland_egl): Fix image_draw_map prototype & function code to
match cedric changes.



SVN revision: 73280
2012-07-04 12:36:39 +00:00
Cedric BAIL 849caf7b54 evas: more compiler fix.
SVN revision: 73278
2012-07-04 12:29:14 +00:00
Cedric BAIL 98f5c5828c evas: remove dh compiler warning.
SVN revision: 73277
2012-07-04 12:25:53 +00:00
Christopher Michael 669689dbef Evas: Remove unused variables.
SVN revision: 73276
2012-07-04 12:23:35 +00:00
Cedric BAIL 001c11207a evas: move evas_common_pipe_init out of the #if.
SVN revision: 73274
2012-07-04 12:17:18 +00:00
Cedric BAIL 5ee62d60f2 evas: remove this from the configure as we don't have the code anymore.
SVN revision: 73268
2012-07-04 11:33:29 +00:00
Cedric BAIL b99a2e63c6 evas: remove duplication.
SVN revision: 73267
2012-07-04 11:25:18 +00:00
Cedric BAIL c8c36eae47 evas: fix back line and polygon draw with pipe rendering.
SVN revision: 73266
2012-07-04 10:32:38 +00:00
Cedric BAIL 2e0fd1d375 evas: make the code do what we expect by destroying Glyph at the right time.
This fix the leak issue that was added lately and make the code
more easy to follow.


SVN revision: 73265
2012-07-04 10:21:06 +00:00
Cedric BAIL 1d415b796b evas: add more infrastructure to the prepare stage of pipe rendering.
NOTE: this improve some test by 10 to 15% some other are down by 5%.
Their is still more tunning and improvement possible now (Particularly
with Map), but it will do for now.


SVN revision: 73264
2012-07-04 09:39:23 +00:00
Christopher Michael 43af930a16 Evas (wayland_shm): Fix regression where resizing window down would
leave artifacts.



SVN revision: 73253
2012-07-04 07:12:46 +00:00
Christopher Michael a3c5266cfa Evas: Update ChangeLog with better description(s) of changes.
NB: These are my own descriptions based on changes as they Tizen git
commit logs are useless.



SVN revision: 73217
2012-07-03 09:26:29 +00:00
Christopher Michael 21dca093d0 Evas: Update ChangeLog wrt Tizen Merge.
NB: This is the commit message inside tizen git for this commit. Don't
blame me if the message is not detailed enough for you. Complain to
the original committer about making more detailed commit messages.



SVN revision: 73213
2012-07-03 09:06:43 +00:00
Christopher Michael 478e94a71d Evas (gif loader): Merge Tizen changes to upstream EFL. (Support gif
scaling).



SVN revision: 73202
2012-07-03 07:34:35 +00:00
Christopher Michael d856a2f067 Evas (gl_common): Merge Tizen changes to upstream EFL.
SVN revision: 73201
2012-07-03 07:33:44 +00:00
Christopher Michael 0219f765be Evas (wayland_shm): Support evas cserve2.
SVN revision: 73200
2012-07-03 07:32:52 +00:00
Christopher Michael befdf76da4 Evas (gl_x11): Merge changes from Tizen to upstream EFL.
SVN revision: 73199
2012-07-03 07:31:03 +00:00
Christopher Michael 8689cb87a0 Evas: Merge evas_object_image changes from Tizen to upstream EFL.
SVN revision: 73198
2012-07-03 07:30:05 +00:00
Tom Hacohen 382c380bb2 Evas: Revert "Evas: Support harfbuzz version checking." (73196)
1. We already check in configure.ac that harfbuzz is at least 0.9.0, so
those code paths will never get triggered anyway.
2. We don't plan on supporting old harfbuzz anyway. People should just
upgrade harfbuzz (Not really an issue since it's not yet released).

SVN revision: 73197
2012-07-03 07:29:37 +00:00
Christopher Michael cf10c5d487 Evas: Support harfbuzz version checking.
NB: Merged from Tizen to upstream EFL.



SVN revision: 73196
2012-07-03 07:23:17 +00:00
Carsten Haitzler fd72d84dcc textgrid - use evas coords for cell size. more correct indeed - thanks
tom. als warning--



SVN revision: 73159
2012-07-02 12:35:53 +00:00
Iván Briano abb7d24442 Remove the right element from the list
SVN revision: 73062
2012-06-29 22:04:42 +00:00
Iván Briano c90e6ed6de Let's not fall into an infinite loop with blocked
requests



SVN revision: 73061
2012-06-29 22:04:34 +00:00
Iván Briano 8303ba5af4 THE MOST IMPORTANT COMMIT IN THE HISTORY OF HUMANITY
SVN revision: 73060
2012-06-29 22:04:23 +00:00
Iván Briano d744044de7 Don't block waiting for response to font_load before
requesting glyphs, the server can handle dependencies
 now.



SVN revision: 73059
2012-06-29 22:04:13 +00:00
Iván Briano 05e634b68a Add support for a request to depend on another
SVN revision: 73058
2012-06-29 22:03:57 +00:00
Christopher Michael 0d1c4661ab Evas: Support cserve2 for xcb engine.
SVN revision: 73033
2012-06-29 12:01:34 +00:00
Carsten Haitzler 6d605629ca fix refcounting issue with font instances.
SVN revision: 72990
2012-06-28 10:13:05 +00:00
Sung Park 06aa05c2c3 EvasGL: Adding MSAA for depth_24_stencil_8 format that was missing
from the previous commit. 


SVN revision: 72970
2012-06-28 03:37:13 +00:00
Iván Briano d48eb2a954 Mark the slave as not done when it starts a job
SVN revision: 72961
2012-06-27 19:01:40 +00:00
Iván Briano 18b94b39c1 Prevent using freed data in epoll events
SVN revision: 72960
2012-06-27 19:01:16 +00:00
Sung Park 896d489db8 EvasGL: Fixed a few minor bugs.
- Added (w,h) <=0 dimension check for evas_gl_surface_create()
- Changed evas_gl_make_current to return error when either
  surface or context is NULL.  Semantically, this was allowed 
  before but it was changed to reflect eglMakeCurrent behavior.
- evas_gl_make_current - detached any previously attached
  buffers before attaching new ones to an FBO during a make_current.
- Used dynamic memory for extension string allocation for safety. 


SVN revision: 72926
2012-06-27 08:19:25 +00:00
Stefan Schmidt 11e9c39163 evas/cserve2: Don't use var names that are used as global. Index is one of them.
SVN revision: 72863
2012-06-26 09:08:45 +00:00
Christopher Michael 1d1df179f4 Evas (wayland_egl): Patch from Alex Wu to fix NULL comparison of
engine surface.



SVN revision: 72851
2012-06-26 07:08:09 +00:00
Mike Blumenkrantz 5ad3c7b54e casting for windows
SVN revision: 72849
2012-06-26 06:57:00 +00:00
Mike Blumenkrantz 88c88c5614 cast warnings--
SVN revision: 72847
2012-06-26 06:53:00 +00:00
Mike Blumenkrantz 2a45ea31ce use correct format string
SVN revision: 72845
2012-06-26 06:50:36 +00:00
Mike Blumenkrantz bc140047b6 unused--
SVN revision: 72844
2012-06-26 06:49:28 +00:00
Carsten Haitzler 395034cb6e quick initial flag fdor double width char cells in textgrid -
important to api. does nothing special right now



SVN revision: 72835
2012-06-26 01:28:15 +00:00
Rafael Antognolli da8b023295 evas/cserve2: Don't take "used glyphs" messages into
account.
When considering glyphs loading saved time, just use the load glyphs
requests.



SVN revision: 72831
2012-06-25 20:19:28 +00:00
Rafael Antognolli a6a92632b0 evas/cserve2: Calculate average time saved on glyph
rendering.



SVN revision: 72829
2012-06-25 20:06:50 +00:00
Rafael Antognolli 2234422dab evas/cserve2: Add entries loading saved time.
Still must add glyphs loading saved time.



SVN revision: 72828
2012-06-25 20:06:44 +00:00
Iván Briano 0a1faf7af9 Don't free file entries while there are still images pending from them
SVN revision: 72826
2012-06-25 19:27:59 +00:00
Iván Briano 9a7ba8e27a Re-enable the used glyphs message now that it doesn't crash or leak
SVN revision: 72819
2012-06-25 17:42:58 +00:00
Sebastian Dransfeld e7f6b58537 ignore++
SVN revision: 72816
2012-06-25 17:12:21 +00:00
Rafael Antognolli 6a3abcaa89 evas/cserve2: Add image size and loading time stats.
SVN revision: 72812
2012-06-25 14:40:30 +00:00
Carsten Haitzler 14411517e4 minor improvbement to evas gl engine -> blacklist software rendering
on egl too.



SVN revision: 72794
2012-06-25 10:01:03 +00:00
Mike Blumenkrantz 3098c43745 int -> ptr more correctly
SVN revision: 72778
2012-06-25 06:46:57 +00:00
Carsten Haitzler 01c382407b clean up terminal char line drawing fallback to be more specific (fall
back only if 1 size and num glyphs < 513 and find failed). ALSO make
lookup a binary-search for efficiency.



SVN revision: 72710
2012-06-23 02:32:30 +00:00
Iván Briano 309e29f9ee Add simple debug client for cserve2
SVN revision: 72708
2012-06-22 22:39:16 +00:00
Iván Briano 74d8ed3c01 Fix generation of FONT_DEBUG response
SVN revision: 72707
2012-06-22 22:38:28 +00:00
Rafael Antognolli 6aace19c0d evas/cserve2: Silent some warnings (and also fix wrong
code).



SVN revision: 72705
2012-06-22 21:54:26 +00:00
Rafael Antognolli e09a542403 evas/cserve2: Rename some stats and add some more for font
loading.



SVN revision: 72704
2012-06-22 21:43:50 +00:00
Rafael Antognolli cab8802354 evas/cserve2: Only declare timeval function if debug is
enabled.



SVN revision: 72703
2012-06-22 21:22:34 +00:00
Rafael Antognolli 9ebc095a1f evas/fonts: Remove warning.
SVN revision: 72702
2012-06-22 21:19:27 +00:00
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
Tom Hacohen fe0b37b9d5 Evas: require harfbuzz >= 0.9.0 in configure.ac.
That's what we require anyway, and if mainstream finally started versioning,
I should respect it. :P

SVN revision: 72593
2012-06-21 11:14:35 +00:00
Stefan Schmidt 95fdd837b7 evas/cserve2: Enums can hold negative values fine. Still gcc complains so cast this.
evas_cserve2_requests.c:369: warning: comparison between signed and unsigned integer expressions

SVN revision: 72523
2012-06-20 07:54:14 +00:00
Stefan Schmidt 6bfeca0857 evas/cserve2: Unused parameter warnings--
SVN revision: 72522
2012-06-20 07:54:07 +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