Commit Graph

5398 Commits

Author SHA1 Message Date
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