raster [Tue, 24 Aug 2010 02:53:33 +0000 (02:53 +0000)]
i think i may have fixed a bug in mosue grabs. not sure though as
repod case eludes me - but a code review got me to clean a bit up.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51595
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 23:00:47 +0000 (23:00 +0000)]
trying to clean up ccpcheck complaints - but this one is just stupid?
makes zero sense. as such so far cppcheck has only found maybe 10% of
its grumbling and bitching as real bugs. shutting it up in some cases
is possible. in others it's possible BUT with a possible performance
penalty. that's unacceptable. wondering what to do.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51557
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 22:55:58 +0000 (22:55 +0000)]
leak--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51555
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 22:51:46 +0000 (22:51 +0000)]
lets happy-lucky-fun calloc shall we? make sure our structs are 0.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51554
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 22 Aug 2010 12:26:40 +0000 (12:26 +0000)]
Evas textblock: simplified descent calculation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51516
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 22 Aug 2010 11:00:45 +0000 (11:00 +0000)]
Evas textblock: fixed most of the cases on which a cursor was not drawn correctly.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51515
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Sat, 21 Aug 2010 13:52:25 +0000 (13:52 +0000)]
Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51487
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 21 Aug 2010 05:59:27 +0000 (05:59 +0000)]
fix free shutdown of gl common part of gl engine -> gl pipes badbess.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51485
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 20 Aug 2010 02:40:45 +0000 (02:40 +0000)]
pass distcheck -> cedric! u br0ksed it!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51458
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 19 Aug 2010 14:07:45 +0000 (14:07 +0000)]
Evas textblock: Fixed range_text_get, no works when selecting text from multiple paragraphs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51392
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 19 Aug 2010 12:02:28 +0000 (12:02 +0000)]
* eina: fix structure content to be more futur proof and reduce
risk of ABI breakage.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51390
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 19 Aug 2010 08:22:44 +0000 (08:22 +0000)]
gl-x11 enabled now by default if deps found. it's a 1st class citizen
these days. and - readme updated and up to snuff for --enable opts.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51386
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 19 Aug 2010 07:46:32 +0000 (07:46 +0000)]
Evas textblock: Improved the docs of the size get functions. It should now be clear exactly what they are about.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51385
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 19 Aug 2010 07:32:44 +0000 (07:32 +0000)]
remove transform stuff - never was implemented anyway so no effective
break.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51384
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 19 Aug 2010 05:18:17 +0000 (05:18 +0000)]
and make dynamic hint actually work when we have zero-copy texture
support. fully ok now for argb8888.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51380
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 19 Aug 2010 05:03:37 +0000 (05:03 +0000)]
fix stride and hint setting so any order works.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51379
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 19 Aug 2010 03:30:47 +0000 (03:30 +0000)]
fix 2 unimplemented bits in dynamic texture stuff.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51378
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 18 Aug 2010 23:32:15 +0000 (23:32 +0000)]
Remove dead code
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51374
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 16:22:27 +0000 (16:22 +0000)]
Oops, alpha is used.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51289
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 16:08:30 +0000 (16:08 +0000)]
Comment out some unused variables.
Fix some 'may be used uninitialized' warnings.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51288
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 16:03:22 +0000 (16:03 +0000)]
Comment out unused variable (commented out instead of removed as I am
not sure if it has a future use or not).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51287
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 16:01:18 +0000 (16:01 +0000)]
Remove/Comment out some unused variables.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51286
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 15:52:16 +0000 (15:52 +0000)]
Add some missing functions that were EAPI'd, but not included in the
main header (This fixes some compiler warnings about implicit
declarations).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51285
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 15:43:38 +0000 (15:43 +0000)]
Fix compiler warning: "declared static but never defined".
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51284
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 15:27:37 +0000 (15:27 +0000)]
Initialize var to Zero (remove compiler warning).
Remove Whitespace in cs_server.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51283
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 15:20:48 +0000 (15:20 +0000)]
Fix placement of __UNUSED__.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51282
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 18 Aug 2010 15:11:07 +0000 (15:11 +0000)]
* evas: remove some warning.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51281
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 18 Aug 2010 14:44:23 +0000 (14:44 +0000)]
Fix warnings about some unused paramaters (This does not cleanup all
the warnings, just the ones which were Obviously not used).
Evas_Object_Text.c: Fix big ole nasty oopsie in the declaration of
object_func: Was missing a NULL for can_map.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51280
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 18 Aug 2010 13:56:34 +0000 (13:56 +0000)]
Evas textblock: Fixed range_delete with multiple paragraphs + cursor position after deletion.
Switched int -> size_t in a couple of places I forgot.
Fixed all of gcc's warnings when compiling with -Wextra.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51278
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 18 Aug 2010 12:29:20 +0000 (12:29 +0000)]
Evas textblock: Fixed range_delete.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51275
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 18 Aug 2010 09:53:14 +0000 (09:53 +0000)]
fix direct egl img rgba ordering.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51273
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 18 Aug 2010 01:32:54 +0000 (01:32 +0000)]
really minor - no api break. adding struct memmebrs that should have
been there. to implement request stuff properly. nothing breaks with
this. simply missing members we needed anyway.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51270
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 17 Aug 2010 17:55:48 +0000 (17:55 +0000)]
Evas textblock: render should be allowed to be passed an object with no paragraphs, but should just return and do nothing.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51263
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 17 Aug 2010 15:59:03 +0000 (15:59 +0000)]
Evas font draw: Fixed a typo in font draw
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51254
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 17 Aug 2010 08:42:37 +0000 (08:42 +0000)]
useful configure output for enabling gles
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51244
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 16 Aug 2010 16:13:41 +0000 (16:13 +0000)]
* evas: oops, that wasn't to be gone.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51221
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 16 Aug 2010 15:14:49 +0000 (15:14 +0000)]
* evas: remove gradient and gradient2.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51219
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 16 Aug 2010 12:56:01 +0000 (12:56 +0000)]
Evas textblock: Added comment about styles in the docs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51209
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 16 Aug 2010 12:51:30 +0000 (12:51 +0000)]
Evas bidi: Added saftey conversions to make sure FriBidiChar and Eina_Unicode are really the same size.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51208
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 16 Aug 2010 12:28:17 +0000 (12:28 +0000)]
* evas: fix word/metric cache build.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51204
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 16 Aug 2010 12:12:13 +0000 (12:12 +0000)]
* evas: unbreak pipe rendering.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51202
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 16 Aug 2010 10:46:56 +0000 (10:46 +0000)]
Evas: Fixed many compilation warnings.
1. Fixed evas_common_encoding_utf8 functions to get char * instead of unsigned char * and return Eina_Unicode instead of int.
2. Removed a couple of unused variables.
3. Removed deprecated evas_common_font_utf8* functions.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51200
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 16 Aug 2010 09:44:50 +0000 (09:44 +0000)]
Evas textblock: Fix the inefficent ways used to get string length. No need to get length twice and strbuf has a very fast function to getting length, no need to get the string and the calc it's length.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51182
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 16 Aug 2010 09:40:01 +0000 (09:40 +0000)]
Evas textblock: Fixed evas_textblock_cursor_paragraph_text_get to return markup.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51181
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 16 Aug 2010 09:18:09 +0000 (09:18 +0000)]
Evas textblock: removed two unwanted fixmes.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51178
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 16 Aug 2010 09:08:01 +0000 (09:08 +0000)]
Evas textblock: Another fix to 'range_get' fixes the text getting and not just the mishandling of formats.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51176
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 08:59:52 +0000 (08:59 +0000)]
copy & paste fix.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51172
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 16 Aug 2010 08:52:18 +0000 (08:52 +0000)]
Evas textblock: Fixed a bug with getting text in range.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51170
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 16 Aug 2010 08:36:08 +0000 (08:36 +0000)]
Evas textblock: Use the unicode object replacement char, not the regular replacement char.
Drop the object replacement char if passed as text.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51168
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 08:36:06 +0000 (08:36 +0000)]
well that went missing eh?
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51167
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 16 Aug 2010 08:22:18 +0000 (08:22 +0000)]
Evas textblock: Updated usage documentation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51166
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 08:12:46 +0000 (08:12 +0000)]
nicer list. need to check that over.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51164
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 08:06:00 +0000 (08:06 +0000)]
missed an eet 1.4.0 min req.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51163
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 08:04:47 +0000 (08:04 +0000)]
eina-1 -> eina
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51162
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 07:33:59 +0000 (07:33 +0000)]
eina req.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51159
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 06:58:07 +0000 (06:58 +0000)]
evas -> 1.0.0 alpha readied.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51158
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 03:00:16 +0000 (03:00 +0000)]
fix up copyings likewise. nicely standardised templateish.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51150
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 15 Aug 2010 21:55:53 +0000 (21:55 +0000)]
copyight notice vanished - add back in.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51140
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 15 Aug 2010 16:04:34 +0000 (16:04 +0000)]
Evas textblock: Fixed the bug with going up/down lines when the cursor points to an <item>.
With this fix I also fixed a couple of potential bugs with cursor geometry in places with mixed visible+invisible formatting.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51133
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 15 Aug 2010 14:36:20 +0000 (14:36 +0000)]
Evas bidi: Added defines for bidi paragraph types (instead of using the fribidi defines).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51131
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 15 Aug 2010 09:10:15 +0000 (09:10 +0000)]
Evas: Removed deprecated 'lines' from Evas_Object_Textblock.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51129
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 15 Aug 2010 08:59:39 +0000 (08:59 +0000)]
Evas textblock: Remove an unused function.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51127
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 15 Aug 2010 08:17:21 +0000 (08:17 +0000)]
Evas textblock: Free paragraphs as well as lines.
Fixes a small memory leak.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51126
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sat, 14 Aug 2010 14:36:40 +0000 (14:36 +0000)]
fix compile
raster SPANK SPANK SPANK!!!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51115
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 14 Aug 2010 11:17:35 +0000 (11:17 +0000)]
From: Alexander Kerner <alexander.kerner@googlemail.com>
Attached is a small patch to fix eng_font_draw in software_8.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51112
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 13 Aug 2010 12:53:08 +0000 (12:53 +0000)]
Apply memset-calloc.cocci
Change calls to malloc + memset to calloc whenever an automatic conversion can
be done.
Possible candidates are not treated here, only the ones we can be sure the
conversion is safe.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51078
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 13 Aug 2010 11:23:07 +0000 (11:23 +0000)]
more comments
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51074
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 13 Aug 2010 11:13:45 +0000 (11:13 +0000)]
comments.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51073
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 13 Aug 2010 11:08:57 +0000 (11:08 +0000)]
and make it work... yes. first time sec egl image works.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51072
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 13 Aug 2010 10:39:41 +0000 (10:39 +0000)]
oopsie. fix.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51071
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 13 Aug 2010 10:34:51 +0000 (10:34 +0000)]
more work on egl image direct access.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51070
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Aug 2010 15:49:43 +0000 (15:49 +0000)]
Evas textblock: Fixed cursor sizes in rare situations, for example the text from expedite textblock_basic test and point the 'c' in COLOR you would get a badly shaped cursor.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51050
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Aug 2010 15:04:47 +0000 (15:04 +0000)]
Evas: Textblock fixed formating.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51045
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Aug 2010 14:59:42 +0000 (14:59 +0000)]
Evas: Textblock - Fixed a couple of segs/invalid memory access.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51044
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Aug 2010 14:20:19 +0000 (14:20 +0000)]
Evas: Each paragraph has at least one layout item in order to mark it's existence.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51039
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Aug 2010 09:35:53 +0000 (09:35 +0000)]
Evas: textblock - made _format_fill faster.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51032
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Aug 2010 09:31:43 +0000 (09:31 +0000)]
Evas: textblock - Made _format_param_parse sane and cleaner and fixed compilation warnings about unused functions.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51031
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Aug 2010 07:02:30 +0000 (07:02 +0000)]
Evas: fixed textblock compiler warnings.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51029
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 12 Aug 2010 06:11:13 +0000 (06:11 +0000)]
more glue/infra. glue evas api to engine together. gl engine gets stubs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51028
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 12 Aug 2010 06:02:15 +0000 (06:02 +0000)]
working on new gl engine feature. inactive right now.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51027
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 11 Aug 2010 23:12:03 +0000 (23:12 +0000)]
i->0
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51026
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 11 Aug 2010 13:03:24 +0000 (13:03 +0000)]
Evas: textblock - fixed arabic shaping and fixed an issue with persistant paragraph direction (regarding RTL).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50996
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 11 Aug 2010 12:29:20 +0000 (12:29 +0000)]
Evas: Improved evas_textblock_cursor_range_text_get to return markup text instead of plain text.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50992
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 11 Aug 2010 11:20:10 +0000 (11:20 +0000)]
Evas: Textblock - Sanitized format init and shutdown.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50991
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 11 Aug 2010 10:27:44 +0000 (10:27 +0000)]
Evas: Cursor updates is now done in one function and it's updated correctly everywhere.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50990
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 11 Aug 2010 08:33:22 +0000 (08:33 +0000)]
Evas: fix range text get in textblock.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50988
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 11 Aug 2010 07:46:37 +0000 (07:46 +0000)]
Evas: Added align=auto format to textblock.
This is the default. This lets you make textblock (or parts affected by this tag) auto align according to the natural paragraph direction.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50985
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 11 Aug 2010 07:23:48 +0000 (07:23 +0000)]
Evas: Added auto lines alignment to textblock. RTL lines will automatically align to the right and LTR lines to the left.
This is not done per line, but per paragraph so a line break will not force recalculation of auto-alignment, only a PS.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50984
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Tue, 10 Aug 2010 19:12:07 +0000 (19:12 +0000)]
Choose a style for comment
Be nice with simpler regex
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50972
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Aug 2010 15:12:05 +0000 (15:12 +0000)]
Evas: Updated Evas_BiDi docs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50966
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Aug 2010 14:36:48 +0000 (14:36 +0000)]
Evas: Update documentation of evas_object_textblock.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50965
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Aug 2010 08:34:47 +0000 (08:34 +0000)]
Evas: Fixed a bug when erasing the last paragraph of a textblock.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50958
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Aug 2010 08:17:06 +0000 (08:17 +0000)]
evas: Fixed compilation warnings in xrender_x11 engine.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50957
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Aug 2010 07:40:09 +0000 (07:40 +0000)]
evas: Fixed compilation warnings in software_16 engine.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50955
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 10 Aug 2010 07:36:23 +0000 (07:36 +0000)]
Evas: Fixed the compilation warning with sw8 engine. This is not just to beautify the compilation output (which is a good enough cause on it's own behalf), right shift with negative values is not defined in the standard which means everything can happen.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50954
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 10 Aug 2010 02:35:07 +0000 (02:35 +0000)]
1. slightly optimise a get opaque call. (some tests get a 5-10% speedup)
2. gl - be stricter on gl-es texture formats.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50950
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 9 Aug 2010 16:47:35 +0000 (16:47 +0000)]
Evas: Fixed compilation without BiDi support.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50934
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 9 Aug 2010 16:24:17 +0000 (16:24 +0000)]
Evas: Redesigned the textblock object.
Sorry, but full documented code will be committed tomorrow, this commit is needed for the API stabilization.
Major changes in this commit:
1. Changed the textblock node system there is now a linked list for the format nodes and a linked list for the text nodes. Format and text nodes point to one anoter in a matter that will be explained in the source file (will be committed tomorrow). Each text node now represents a paragraph and each format node points to a specific location in a text node.
2. Text/Format nodes are now two distinct data types.
3. The concept of nodes is no longer exposed in the API except for the format nodes which are only slightly exposed just to enable users of the API to cycle all the formats in order to find stuff like anchors.
4. Every node has a PS (paragraph separator) format node pointing to it's end, except for the last one which has nothing. Nodes are only broken by PS's.
5. Changed the BiDi functions to work nicely with offsets in big chunks of text.
More is explained in the email with the subject 'Evas Textblock redesign + edje_entry adjustments' that will be sent tomorrow because of technical issues.
For full documentation about this object wait for the next commit.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50930
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 9 Aug 2010 08:38:28 +0000 (08:38 +0000)]
magic numbers. :)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50924
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 9 Aug 2010 07:13:58 +0000 (07:13 +0000)]
useless repeats... remove.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50923
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33