Tom Hacohen
5fd7c82d5f
Evas textblock: Format tags now support quoting values.
...
For example: "<font='Sans:style=Bold Oblique'>bla</font>".
SVN revision: 61843
2011-07-28 09:18:55 +00:00
Tom Hacohen
bb87f260a6
Evas textblock: Removed useless alloca.
...
SVN revision: 61842
2011-07-28 09:18:50 +00:00
Carsten Haitzler
00047ce6c6
fix cleaning up tmpf (new feature in 1.1 anyway) for memfile load in
...
some other situations like setting image data/colorspace etc.
SVN revision: 61836
2011-07-28 05:28:32 +00:00
Tom Hacohen
d0d6d5494b
Evas textblock: Fixed a bug with format invalidation.
...
With the following example text: "aa<b>a <i>bbb</i> ccc", adding a </b>
at the end wouldn't cause an invalidation to happen as expected.
SVN revision: 61805
2011-07-27 11:27:25 +00:00
Tom Hacohen
0b7030a964
Evas textblock: Fix format_append's format parsing.
...
It took the pre-translated (tags) format which caused some things not to
work correctly when using tags.
SVN revision: 61798
2011-07-27 08:27:04 +00:00
Tom Hacohen
d8ac3178b7
Evas textblock: Updated docs.
...
SVN revision: 61759
2011-07-26 12:48:54 +00:00
Tom Hacohen
ab6366a310
Evas tests: Added numerous tests for latest bug fixes.
...
SVN revision: 61753
2011-07-26 11:47:58 +00:00
Tom Hacohen
666988aa4c
Evas textblock: Fixed a bug with item visibility check.
...
SVN revision: 61752
2011-07-26 11:47:55 +00:00
Tom Hacohen
fd0bc3b2b1
Evas textblock: Fixed invalidate_text_nodes to work with <b><i></b></i>
...
SVN revision: 61751
2011-07-26 11:47:51 +00:00
Tom Hacohen
d042763162
Evas textblock: Fixed remove_pair and remove_matching.
...
They now work with <b><i></b></i> mixes.
SVN revision: 61750
2011-07-26 11:47:48 +00:00
Tom Hacohen
97285894c8
Evas tests: Fixed textblock tests (formats).
...
SVN revision: 61749
2011-07-26 11:47:44 +00:00
Tom Hacohen
5b15fc2d2a
Evas textblock: Use orig_format instead of _style_match_replace.
...
It's more correct as you won't get unwanted translations you would have
in some cases, or even worse, breaking markup get when you have synonymous
tags.
SVN revision: 61748
2011-07-26 11:47:41 +00:00
Tom Hacohen
681e4bfa8c
Evas textblock: Fixed _format_append to parse tags + incomplete stuff.
...
Added the first step to allow <b> </b> exact matching when handling formats.
I.e making "<b>a<i>b</b>c</i>d" behave like expected.
SVN revision: 61746
2011-07-26 11:47:19 +00:00
Mike Blumenkrantz
ee754de955
fixes a weird bug exposed somewhere by giant tooltips resulting in the following crash:
...
#0 0xb7e92786 in evas_cache_image_flush (cache=0x0) at evas_cache_image.c:1353
#1 0xb7e9192e in evas_cache_image_drop (im=0xb6aa4d38) at evas_cache_image.c:913
#2 0xb7ee3d8b in eng_image_free (data=0xb6a020c0, image=0xb6aa4d38) at evas_engine.c:383
#3 0xb7e4b8e6 in evas_object_image_free (obj=0xb7517178) at evas_object_image.c:2478
#4 0xb7e4f403 in evas_object_free (obj=0xb7517178, clean_layer=0) at evas_object_main.c:45
#5 0xb7e41c95 in evas_layer_free_objects (lay=0xb6a5d8b0) at evas_layer.c:80
#6 0xb7e42656 in evas_free (e=0xb6a98cd8) at evas_main.c:204
#7 0xb7f27ad3 in _ecore_evas_free (ee=0xb6ab18e8) at ecore_evas.c:2822
#8 0xb7f24161 in ecore_evas_free (ee=0xb6ab18e8) at ecore_evas.c:839
#9 0xb7df2f7f in _deferred_ecore_evas_free (data=0xb6ab18e8) at elm_win.c:477
#10 0x4b0fd858 in _ecore_job_event_handler (data=0x0, type=14, ev=0xb6a99c58) at ecore_job.c:131
#11 0x4b0f907e in _ecore_event_call () at ecore_events.c:693
#12 0x4b0ff93e in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:1750
#13 0x4b0fe195 in ecore_main_loop_begin () at ecore_main.c:848
SVN revision: 61736
2011-07-26 10:03:07 +00:00
Leandro Pereira
00e0fe6dbe
evas: ecore_evas_buffer_new(bla, *very large number*) would crash on memset
...
Instead of zeroing out each line of the buffer, zero out the whole buffer "at once".
SVN revision: 61714
2011-07-25 22:42:54 +00:00
Gustavo Lima Chaves
115a89736e
[evas] Fixing typos on diagram.
...
SVN revision: 61701
2011-07-25 18:22:28 +00:00
Christopher Michael
068b3a9c65
Evas: Fix 'variable undeclared': I assume we wanted the xr rectangle
...
there ? ;)
NB: Fixes building w/ xcb.
SVN revision: 61685
2011-07-25 10:37:43 +00:00
Carsten Haitzler
e413884dac
fix latent onebuf code (was never used before)
...
SVN revision: 61684
2011-07-25 10:30:20 +00:00
Christopher Michael
050eed1b32
Evas: Fix autofoo wrt building Opengl w/ xcb.
...
SVN revision: 61677
2011-07-25 09:30:12 +00:00
Tom Hacohen
c5e396b8ee
Evas tests: Added a TODO test.
...
SVN revision: 61672
2011-07-25 08:37:44 +00:00
Tom Hacohen
123e491079
Evas tests: Adedd a textblock test for the last bug fix.
...
SVN revision: 61639
2011-07-24 08:50:46 +00:00
Tom Hacohen
53fc933312
Evas textblock: Fixed updating of formats position on char_delete.
...
Format offsets got wrong when merging paragraphs.
SVN revision: 61638
2011-07-24 08:50:42 +00:00
Iván Briano
46969fd34a
Group docs so textblock, line and polygon at least show their functions
...
SVN revision: 61590
2011-07-22 14:01:56 +00:00
ChunEon Park
614288feb3
evas/evas_object_image.c - reverted to previous
...
Sorry. Need to look more because of the pageflip.
SVN revision: 61579
2011-07-22 06:08:04 +00:00
ChunEon Park
e9ca4aa10e
evas/evas_object_image - modified to keep the uv consistency with normal evas_object.
...
Although the uv range of normal object is be localized to the it's geometry,
but the uv range of the image object is be localized it's image size but not geometry size.
In that case, user should find out the objects type and set the uv value differently between normal and image
why they do that?
SVN revision: 61577
2011-07-22 05:24:16 +00:00
Tom Hacohen
6515a30cc9
Evas tests: Enabled the textblock relsize item native size test.
...
SVN revision: 61561
2011-07-21 14:04:55 +00:00
Tom Hacohen
5aba518db0
Evas textblock: Fixed native size calculation with relative items.
...
SVN revision: 61560
2011-07-21 14:04:52 +00:00
Tom Hacohen
6299cbd685
Evas textblock: Fixed some more line height calculations.
...
Some issues were related to SIZE_REL items and some were not.
SVN revision: 61559
2011-07-21 14:04:48 +00:00
Tom Hacohen
c870d8e7ad
Evas tests: Added textblock test for the last bugfix.
...
SVN revision: 61558
2011-07-21 13:00:28 +00:00
Tom Hacohen
083095a903
Evas textblock: Fixed relative items size calculation.
...
Now they are calculated according to real line height, and not just line
height before this point. Furthermore, this also fixes some issues with
wrapping not being correct.
SVN revision: 61557
2011-07-21 12:53:39 +00:00
Cedric BAIL
5cbc6350ba
evas: add software YUY2 colorspace converter.
...
NOTE: will shortly learn how to write the corresponding shader and add it soon.
SVN revision: 61548
2011-07-21 10:36:05 +00:00
Gustavo Lima Chaves
0b7d33e3df
[evas] More love to a given example's text.
...
SVN revision: 61536
2011-07-20 17:58:56 +00:00
Tom Hacohen
859c4bd33d
Evas tests: Added a textblock test to verify the two last fixes.
...
SVN revision: 61531
2011-07-20 15:45:25 +00:00
Tom Hacohen
055f9996ec
Evas textblock: Fixed removing of format pairs in a rare case (range).
...
Until now, removing the <ps> when <b><ps></b> would have left the
<b></b> intact instead of removing them when using a range delete.
SVN revision: 61530
2011-07-20 15:45:21 +00:00
Tom Hacohen
412b203b46
Evas textblock: Fixed removing of format pairs in a rare case.
...
Until now, removing the <ps> when <b><ps></b> would have left the <b></b>
intact instead of removing them.
SVN revision: 61529
2011-07-20 15:45:12 +00:00
Tom Hacohen
92c22656d8
Evas tests: Added a textblock test to verify last fix.
...
SVN revision: 61528
2011-07-20 14:13:36 +00:00
Tom Hacohen
bdbc3b8398
Evas textblock: Fixed handling.
...
It now translates to a real nbsp, and not just a space.
SVN revision: 61527
2011-07-20 14:13:33 +00:00
Tom Hacohen
315d354354
Evas tests: Adedd more textblock visible formats tests.
...
SVN revision: 61524
2011-07-20 12:37:08 +00:00
Cedric BAIL
42bda9f02c
evas: fix bug when array was reallocated during walk.
...
SVN revision: 61523
2011-07-20 11:22:01 +00:00
Cedric BAIL
f13f92ce15
evas: forgotten header.
...
SVN revision: 61522
2011-07-20 09:23:47 +00:00
Cedric BAIL
e263bca092
evas: forgotten revert.
...
SVN revision: 61521
2011-07-20 09:20:53 +00:00
Cedric BAIL
e18334a778
evas: better patch for preventing infinite loop.
...
SVN revision: 61520
2011-07-20 09:14:41 +00:00
Tom Hacohen
9f7d3f8af8
Evas tests: Added a test to verify last textblock bugfix.
...
SVN revision: 61505
2011-07-19 15:14:40 +00:00
Tom Hacohen
6eb5cdc681
Evas textblock: Fixed a bug when the last paragraph is empty.
...
SVN revision: 61504
2011-07-19 14:32:54 +00:00
Tom Hacohen
540592a0df
Evas tests: Added another textblock format removal test.
...
SVN revision: 61503
2011-07-19 13:43:20 +00:00
Tom Hacohen
a66ec744e9
Evas tests: Added some format removal tests.
...
SVN revision: 61502
2011-07-19 13:19:18 +00:00
Carsten Haitzler
ca357bea50
fix pack_set of evas table (fix to added feature already in changelog)
...
SVN revision: 61501
2011-07-19 11:24:34 +00:00
Iván Briano
8c07c3fa30
Add missing images
...
SVN revision: 61490
2011-07-18 22:39:13 +00:00
Gustavo Lima Chaves
f9737c3187
[evas] Fixing oopsies on text/image object docs.
...
Text needed an explanation and citation to the .c example and large
images explaining borders were prettyfied on html docs.
SVN revision: 61488
2011-07-18 21:45:14 +00:00
Iván Briano
094f06522a
Images and more Map stuff
...
SVN revision: 61486
2011-07-18 21:06:56 +00:00