Commit Graph

5678 Commits

Author SHA1 Message Date
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
Vincent Torri 952a6a407b forget that one
SVN revision: 72495
2012-06-19 17:11:14 +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 2256af3421 fix gl engine bitmap fonts :)
SVN revision: 72256
2012-06-17 02:23:49 +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
Daniel Juyung Seo a3e029c18e GAMES, emap, darkness, evas, evas_generic_loaders, MARKETING: Updated/Added .gitignore.
SVN revision: 72171
2012-06-15 07:58:01 +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
Vincent Torri 1888669adf Evas: add shm lib for static linking
SVN revision: 72168
2012-06-15 07:17:32 +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