Commit Graph

4001 Commits

Author SHA1 Message Date
Tom Hacohen efd0123622 Evas tests: Fixed the cursor_content_get to comply to the bugfix.
Previous test checked the existing but broken behaviour, now it checks the
correct behaviour.

SVN revision: 62440
2011-08-14 11:26:50 +00:00
Tom Hacohen 73036290d6 Evas textblock: Fixed cursor_content_get's handling of formats.
Formats are now correctly enclosed with <> when returned, instead of just
the text being returned.

SVN revision: 62439
2011-08-14 11:26:45 +00:00
Daniel Juyung Seo 22459ef0ea evas: Fixed 'unsed variables' warnings.
SVN revision: 62388
2011-08-12 15:01:12 +00:00
Daniel Juyung Seo 3277e6b5e0 evas: Fixed indentations with arbitrary files.
SVN revision: 62370
2011-08-12 03:50:57 +00:00
Carsten Haitzler 69e27edbe5 how about you actuallyl fix the code correctly rather than break it?
SVN revision: 62369
2011-08-12 02:34:34 +00:00
Daniel Juyung Seo fbf38b63ed evas evas_common.h: Fixed spacing and removed trailing whitespaces.
SVN revision: 62367
2011-08-12 01:52:29 +00:00
Mike Blumenkrantz 25a6b8c980 COMMITS: DO THEM PROPERLY!!!!1111
SVN revision: 62366
2011-08-11 23:18:34 +00:00
Mike Blumenkrantz 8e5ee9e2f5 COMPILE WARNINGS: FIX THEM!!!!!!11111
SVN revision: 62361
2011-08-11 21:35:17 +00:00
ChunEon Park 9a6b7aab4b evas - just removed white spaces.
SVN revision: 62354
2011-08-11 14:14:48 +00:00
Carsten Haitzler cc7d5115c3 frame count nto frame num - match c file.
SVN revision: 62339
2011-08-11 10:30:35 +00:00
Carsten Haitzler 75940a8398 improve jy's docs. :)
SVN revision: 62335
2011-08-11 08:56:59 +00:00
Tom Hacohen d6752c9e1b Evas textblock: Fixed bug in range_formats get.
Thanks to Sanjeev for the rebort.

SVN revision: 62333
2011-08-11 06:58:53 +00:00
Jiyoun Park dae46003e7 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: RE: [E-devel] [Patch] Animation gif feature patch

Animated gif suport in evas and api's to handle animated images and
frame flipping. from jy.



SVN revision: 62331
2011-08-11 06:04:08 +00:00
Mike Blumenkrantz 2d55002bfd update some docs for Evas_Event_Mouse_Down even though none of this stuff is worthwhile anyway since dependency structs aren't documented
SVN revision: 62283
2011-08-10 04:54:35 +00:00
Gustavo Lima Chaves 0d8a62ff14 [evas] Filling some gaps on documentation.
SVN revision: 62266
2011-08-09 20:56:22 +00:00
Tom Hacohen e5b331009b Evas textblock: Added cursor_visible_range_get and cursor_range_formats_get.
SVN revision: 62259
2011-08-09 13:55:42 +00:00
Tom Hacohen 202623daed Evas textblock: Fixed a bug in evas_textblock_cursor_char_coord_set.
SVN revision: 62258
2011-08-09 13:55:38 +00:00
Tom Hacohen f765f1e290 Evas textblock: Fixed a bug in evas_textblock_cursor_line_coord_set.
SVN revision: 62257
2011-08-09 13:55:31 +00:00
Cedric BAIL 1dc2512897 efl: remove mman as we Eina_File now.
Patch from Vincent Torri.


SVN revision: 62244
2011-08-09 09:19:25 +00:00
Carsten Haitzler f78d33c9cf fix typos in docs
SVN revision: 62225
2011-08-09 06:30:09 +00:00
Carsten Haitzler 58dd545f7f remove logo.
SVN revision: 62224
2011-08-09 06:09:50 +00:00
Tom Hacohen c416b7c843 Evas font: font_load use the correct string.
Thanks vtorri for the catch.

SVN revision: 62207
2011-08-08 14:47:35 +00:00
Carsten Haitzler d0429906c2 strndup--!
SVN revision: 62206
2011-08-08 14:40:33 +00:00
Tom Hacohen d9ef546967 Evas textblock: Updated docs.
SVN revision: 62175
2011-08-07 08:31:01 +00:00
Tom Hacohen 10117973c4 Evas textblock: Fixed compiler warning.
SVN revision: 62174
2011-08-07 08:30:46 +00:00
Christopher Michael f7359f74c9 Evas: Make evas xcb engine match xlib engine almost exactly.
NB: Next is to fine-tooth the ecore code.



SVN revision: 62167
2011-08-06 03:32:27 +00:00
Iván Briano d799212fa0 Box example uses eina, so link to it
SVN revision: 62143
2011-08-05 16:23:34 +00:00
Carsten Haitzler c7bb701ca5 make the internal options key much shorter - faster matches.
SVN revision: 62131
2011-08-05 11:54:13 +00:00
Jonas M. Gastal 8468681d22 Evas: adding blank line before images so doxygen won't mess
up pdf layout.



SVN revision: 62111
2011-08-04 21:28:32 +00:00
Gustavo Lima Chaves 8a9004d01f [evas] Examples on box object.
SVN revision: 62102
2011-08-04 20:19:45 +00:00
Gustavo Lima Chaves 26867b85e8 [evas] Documentation bump on the box smart object.
Example on it comes next.



SVN revision: 62101
2011-08-04 20:19:36 +00:00
Cedric BAIL 28f32ca0c5 evas: fix typo.
SVN revision: 62090
2011-08-04 10:03:36 +00:00
Tom Hacohen 575db1275d Evas textblock: Add const to parameter as we don't change it.
This does not break API/ABI.

SVN revision: 62080
2011-08-04 06:15:46 +00:00
Jonas M. Gastal 647ea9efc2 Evas: removing author list from main page.
SVN revision: 62069
2011-08-03 20:59:06 +00:00
Daniel Juyung Seo 9666912d97 evas Evas.h: Fixed typo.
SVN revision: 62041
2011-08-03 06:31:53 +00:00
Tom Hacohen 943b22bcf7 Evas textblock: Fixed range_text_get with TEXT_PLAIN.
Until now, it only supported MARKUP, now it also supports plain.
Haven't tested it much, but it seems to be working. It can help a lot to
people who want to analyse the text, for example when implementing a spell
checker, or "search", as now the text maps exactly like the cursors map.
Still have to decide if that's the wanted API and set it in stone, or not
promise this and expose a different API for these kind of tasks.

SVN revision: 62011
2011-08-02 16:28:37 +00:00
Tom Hacohen c71c706853 Evas textblock: Added intro to formats to docs.
SVN revision: 61996
2011-08-02 13:22:35 +00:00
Tom Hacohen 7a36d84957 Evas textblock: Fixed mistake in docs.
SVN revision: 61994
2011-08-02 12:30:25 +00:00
Tom Hacohen 4f82ddea77 Evas textblock: Fixed format_append/prepend.
It should only treat format passed as a tag if it was passed with <>.
Otherwise, it should be treated as a regular format.

SVN revision: 61993
2011-08-02 12:17:09 +00:00
Tom Hacohen 19363f446e Evas textblock: Renamed newline_mode_set/get -> legacy_newline_set/get.
SVN revision: 61992
2011-08-02 12:17:01 +00:00
Christopher Michael c63715e01d Evas: Fix typo in Frame_Queuing check for xcb.
SVN revision: 61991
2011-08-02 12:15:33 +00:00
Cedric BAIL abffaa922d evas: wipe out cache in the right order.
SVN revision: 61956
2011-08-01 14:56:26 +00:00
Tom Hacohen d0b2f5b414 Evas font: removed _FcPattern decleration.
No idea who put it there, but it definitely doesn't belong here.

SVN revision: 61954
2011-08-01 14:49:40 +00:00
Tom Hacohen 9145913cdc Evas textblock: Use the set language with liblinebreak if known.
SVN revision: 61945
2011-08-01 10:45:42 +00:00
Tom Hacohen 2661895aec Evas textblock: Fixed a bug with <i> identified as <item>.
SVN revision: 61944
2011-08-01 09:11:46 +00:00
Tom Hacohen 4ec907df55 Evas font: Renamed FONT_REND_ITALIC/BOLD -> FONT_REND_SLANT/WEIGHT.
This change is needed for future support of multiple level of runtime
weight creation.

SVN revision: 61943
2011-08-01 09:11:42 +00:00
Tom Hacohen 473a719455 Evas textblock: Added "lang" to markup to set the language.
SVN revision: 61942
2011-08-01 08:21:15 +00:00
Tom Hacohen f3e76c661d Evas font: added support for ':lang=' and fixed a possibly mem leak.
SVN revision: 61941
2011-08-01 08:21:12 +00:00
Tom Hacohen bd556d9c14 Evas textblock+font: Fixed the font fallbacks support.
SVN revision: 61940
2011-08-01 08:21:09 +00:00
Tom Hacohen 316393df91 Evas textblock: Fixed cond jump depends on uninit value.
SVN revision: 61939
2011-08-01 08:21:05 +00:00
Tom Hacohen d3cbb5e584 Evas textblock: Fixed if to be else if in format handling.
SVN revision: 61938
2011-08-01 08:21:02 +00:00
Tom Hacohen b3995dfc6c Evas textblock: Added font_width to markup.
SVN revision: 61937
2011-08-01 08:20:59 +00:00
Tom Hacohen 9ba3e192a5 Evas font+textblock: Stopped using FcNameParse, parse ourselves.
FcNameParse is pretty bad, not only that it's pretty bad, it doesn't
work well in some cases. Also this makes our lives a lot easier since
we want to allow overriding style/weight/width and etc from markup.
We now parse the "font" markup ourselves, populating a font description
structure that we created, and then override values in it as needed.

SVN revision: 61936
2011-08-01 08:20:52 +00:00
Carsten Haitzler 7239b6894f thanks jiyoun... for finding this... silly me... spank spank me.
SVN revision: 61935
2011-08-01 07:34:05 +00:00
Tom Hacohen 93e4267051 Evas textblock: Fixed a memory leak.
Thanks to discomfitor for the report.

SVN revision: 61925
2011-07-31 08:09:02 +00:00
Carsten Haitzler 7542b592c0 SOMEONE.... changed the evas jpeg loader to use a membuf src... like
eina_file.... and that SOMEONE didnt check to see if libjpeg always
calls the term func... lkike when decoding headers... when it DOESNT.
force the term func to be called whenever destroying the compress
anyway (and if its already done it'll savely just return and not free
anything)



SVN revision: 61914
2011-07-30 01:13:29 +00:00
Jonas M. Gastal 3c3bfa84bf Evas: evas_object_table documentation.
SVN revision: 61906
2011-07-29 17:08:25 +00:00
Christopher Michael b3469dd413 Evas: Remove rectangle free's (no, it's not a leak) ;)
Add missing Asyn Push code (tho it's disabled anyway). 
Use shmget like xlib did and create with 0777 permissions.
Add a Sync call if try_shm == 2.
Add checks for frame_queuing & low libext version safety.




SVN revision: 61895
2011-07-29 14:41:18 +00:00
ChunEon Park e9ec7403d4 evas_object_smart - just removed no useful MAGIC_CHECK
SVN revision: 61889
2011-07-29 11:44:03 +00:00
ChunEon Park f1554b0ba3 evas/evas_object_smart - trivial changes
1/0 -> EINA_TRUE/EINA_FALSE

identation



SVN revision: 61884
2011-07-29 06:49:25 +00:00
ChunEon Park 928d31db1f evas/evas_smart - 1/0w -> EINA_TRUE/FALSE
SVN revision: 61881
2011-07-29 06:25:13 +00:00
Tom Hacohen 3432644acd Evas textblock: Changed 'heavy' weight to 'black'.
Apparently that's what FC likes.

SVN revision: 61859
2011-07-28 14:32:40 +00:00
Tom Hacohen 1350644a8b Evas font: Enabled run-time slanting for 'Oblique'.
SVN revision: 61858
2011-07-28 14:01:35 +00:00
Tom Hacohen 0d7d7d8f06 Evas textblock: Fixed a bug with font_weight and font_style.
Forgot to add a space when I add a new style when there wasn't one before.

SVN revision: 61855
2011-07-28 12:59:36 +00:00
Tom Hacohen 43618428b4 Evas textblock: Added font_weight and font_style formats.
These allow overriding the font style defined using "font=':style=Bold'".

SVN revision: 61854
2011-07-28 12:43:41 +00:00
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
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
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 &nbsp; 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
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
Tom Hacohen 50e197ecc0 Evas text: Fixed text_props_index_find and added props_cluster_next/prev.
SVN revision: 61469
2011-07-18 07:41:27 +00:00
Tom Hacohen c6a1f2caa1 Evas text: Made text_props_index_find faster.
SVN revision: 61468
2011-07-18 07:41:21 +00:00
ChunEon Park 5440167a6d evas/evas_engine - patched by Seung-Soo Woo <om101.woo@samsung.com>
Dear all,

eng_image_stride_get() of gl backend get fault stride value.
In case of using dynamic image, it get from dyn.w*4.
But, dyn.stride was already got from secsym_eglGetImageAttribSEC() in _pool_tex_dynamic_new().
dyn.stride can be changed according to DDK.
So, the stride needs to get from dyn.stride.

Please find enclosed file.

Thanks.



SVN revision: 61463
2011-07-18 05:32:06 +00:00
Tom Hacohen 1fdf2c67b5 Evas textblock: Adjusted textblock_item_text struct fields.
Removed the unused per-item baseline and changed inset to Evas_Coord.

SVN revision: 61443
2011-07-17 13:42:55 +00:00
Tom Hacohen 7f37b26856 Evas textblock: Fixed inline valign.
SVN revision: 61442
2011-07-17 13:42:51 +00:00
Tom Hacohen 12fa2337cc Evas tests: Enabled mixed wrap tests now that it's fixed.
SVN revision: 61441
2011-07-17 11:15:23 +00:00
Tom Hacohen 73a5f2277a Evas textblock: Fixed a bug in mixed wrapping mode.
SVN revision: 61440
2011-07-17 11:15:18 +00:00
Tom Hacohen 6898c688f2 Evas textblock: Fixed linegap.
SVN revision: 61438
2011-07-17 10:48:05 +00:00
Tom Hacohen 5501f844d3 Evas tests: Added a textblock test that emulates edje's min size calc.
Currently mixed wrapping is disabled, because something is wrong there,
but word and char work. This also tests the bugs fixed in previous commits.

SVN revision: 61437
2011-07-17 10:48:01 +00:00
Tom Hacohen 0af138b6ff Evas textblock: Fixed a bug in RELSIZE items size calculation.
SVN revision: 61436
2011-07-17 10:47:58 +00:00
Tom Hacohen c47d4bebd8 Evas text: Added _text_props_cluster_next.
Started using it in tb.

SVN revision: 61435
2011-07-17 10:47:54 +00:00
Tom Hacohen 4f9010d33d Evas textblock: Fixed an issue with item formats.
They weren't pushed to the format stack which in turn meant </item> popped
unrelated formats causing a mess in the stack.

SVN revision: 61434
2011-07-17 10:47:39 +00:00
Lucas De Marchi 1feec2b65e evas: fix common misppellings
Mispellings detected by codespell.



SVN revision: 61408
2011-07-15 14:37:49 +00:00
Gustavo Lima Chaves 8de348318f [evas] More diagrams on docs.
SVN revision: 61374
2011-07-14 15:11:36 +00:00
Tom Hacohen 6dc9a02f09 Evas tests: Fixed a textblock cursor test.
SVN revision: 61372
2011-07-14 14:38:41 +00:00
Tom Hacohen 4431349f56 Evas textblock: Removed useless code. We should never get there.
SVN revision: 61370
2011-07-14 14:25:46 +00:00
Tom Hacohen 8b59100774 Evas tests: Added more cursor tests, this time with bidi.
SVN revision: 61369
2011-07-14 14:25:42 +00:00
Tom Hacohen 00e8406b24 Evas textblock: Fixed cursor_coord_set with rtl/bidi in some cases.
Fix it when pressing beyond line boundaries.

SVN revision: 61368
2011-07-14 14:25:39 +00:00
Tom Hacohen 344a98d2a9 Evas textblock: Added a small fix to valign.
SVN revision: 61366
2011-07-14 12:47:17 +00:00
Tom Hacohen 77978d965a Evas textblock: Fixed an issue with in-line valign.
Thanks to SeoZ for the report.

SVN revision: 61365
2011-07-14 12:31:24 +00:00
Tom Hacohen b976ff8adf Evas tests: Added more textblock cursor tests.
Added a set of tests to verify my last fix.

SVN revision: 61363
2011-07-14 08:00:27 +00:00
Tom Hacohen 1128519838 Evas textblock: Fixed issue with char/line_coord_set with valign. #2.
After adding some tests, I found out that my previous fix was not enough.

SVN revision: 61362
2011-07-14 08:00:23 +00:00
Tom Hacohen 9615dc0226 Evas tests: Added more textblock cursor tests.
Also added tests to verify my previous fix.

SVN revision: 61361
2011-07-14 07:36:49 +00:00
Tom Hacohen 218042176b Evas textblock: Fixed issue with char/line_coord_set with valign.
SVN revision: 61360
2011-07-14 07:36:45 +00:00
Tom Hacohen 8b499b1984 Evas tests: Added textblock line_coord_set tests.
These also verifies the bug fix from my previous commit.

SVN revision: 61345
2011-07-13 15:16:41 +00:00
Tom Hacohen 70da0ccdbe Evas textblock: Fixed a bug in line_coord_set with y<0.
SVN revision: 61344
2011-07-13 15:16:38 +00:00
Tom Hacohen edf4d4ee86 Evas tests: Added a bit of line geometry tests.
SVN revision: 61343
2011-07-13 15:16:34 +00:00
Tom Hacohen e03f8274dc Evas tests: Added more textblock cursor tests.
Also added tests to verify my previous fix.

SVN revision: 61342
2011-07-13 14:35:15 +00:00
Tom Hacohen 3b71290152 Evas textblock: Fixed a bug in cursor_char_coord_set with coords < 0.
SVN revision: 61341
2011-07-13 14:35:12 +00:00
Tom Hacohen 94255cd511 Evas tests: Added a missing fail_if to a textblock test.
SVN revision: 61337
2011-07-13 13:56:40 +00:00
Tom Hacohen c4a1b9c53b Evas tests: Added textblock tests, including ones to verify my last fixes.
SVN revision: 61335
2011-07-13 12:49:33 +00:00
Tom Hacohen 6c48f6f881 Evas textblock: Fixed a bug with scaling items.
SVN revision: 61334
2011-07-13 12:49:29 +00:00
Tom Hacohen 3755bdac92 Evas tests: Make sure default bidi direction of empty texts is correct.
SVN revision: 61333
2011-07-13 11:36:34 +00:00
Tom Hacohen 69abe2e093 Evas: Stopped using the typo enum EVAS_BIDI_DIRECTION_NATURAL.
s/EVAS_BIDI_DIRECTION_NATURAL/EVAS_BIDI_DIRECTION_NEUTRAL/

SVN revision: 61332
2011-07-13 11:36:31 +00:00
Tom Hacohen 9da04fdce9 Evas tests: Added more bidi, script and other tests to text object.
SVN revision: 61331
2011-07-13 11:36:26 +00:00
Tom Hacohen 420d235bff Evas: Moved font functions from object_text.c to font_dir.c
Not the best place, but at least better than putting them in object_text.c

SVN revision: 61327
2011-07-13 08:54:49 +00:00
Tom Hacohen 9f2e58e6f0 Evas tests: Added last_up_to_pos tests to text object.
SVN revision: 61326
2011-07-13 08:54:17 +00:00
ChunEon Park cf4ed126c4 [E-devel] [Patch] evas_gl_shader patch for get_program_binary extension
from gl77.lee@samsung.com

Dear all,

I attached a patch of evas_gl_shader.

I've removed a comment which is creating dummy shader when using GL_OES_get_program_binary extension.
Mr. Haegeun Park who is in charge of GPU driver fixed get_program_binary bug in the SGX driver.
There's no need to create dummy shaders any longer.

And I've added link status checking code to validate the binary object.

Please review this patch.

Thanks.



SVN revision: 61309
2011-07-13 00:56:12 +00:00
Gustavo Lima Chaves 7a64f6312b [evas] Filling more gaps of image object docs.
SVN revision: 61304
2011-07-12 17:30:14 +00:00
Gustavo Lima Chaves 4a37443310 [evas] Text objects example tweaks.
SVN revision: 61303
2011-07-12 17:29:39 +00:00
Tom Hacohen 22ed7e2e3b Evas tests: Added text tests, including ones to verify my last fixes.
SVN revision: 61302
2011-07-12 15:04:13 +00:00
Tom Hacohen 85f116cc9e Evas text: Fixed a bug with char_coords_get searching at the wrong x.
SVN revision: 61301
2011-07-12 15:04:10 +00:00
Tom Hacohen d808ccdaab Evas text: Fixed a bug in evas_object_text_char_pos_get - wrong X returned.
Happens when using multiple scripts in the same text object.

SVN revision: 61300
2011-07-12 15:04:07 +00:00
Tom Hacohen b0a4063d6b Evas text: Fixed mistake in comment.
SVN revision: 61299
2011-07-12 15:04:03 +00:00
Tom Hacohen 9871789a5e Evas tests: Added various text object tests.
SVN revision: 61280
2011-07-12 11:40:28 +00:00
Tom Hacohen a6d0247724 Evas bidi: Fixed typo DIRECTION_NATURAL -> DIRECTION_NEUTRAL.
Kept the old one just for not breaking ABI/API.
To all of you that are fast on the trigger, I set it to the same value,
so it doesn't matter that I inserted it at the start.

SVN revision: 61279
2011-07-12 11:40:25 +00:00
Tom Hacohen 6ae3ed79f1 Evas tests: Added textblock replacement char tests.
SVN revision: 61278
2011-07-12 11:40:22 +00:00
Tom Hacohen 53fb33ec2c Evas tests: Also test EVAS_TEXTBLOCK_CURSOR_BEFORE cursor mode.
SVN revision: 61275
2011-07-12 09:12:20 +00:00
Tom Hacohen 5f488bb789 Evas tests: Added hinting change coverage to textblock.
SVN revision: 61274
2011-07-12 09:04:10 +00:00
Tom Hacohen 3b917c52a7 Evas tests: Added various text wrapping + ellipsis tests.
SVN revision: 61273
2011-07-12 09:04:07 +00:00
Tom Hacohen ebb8c6c2a3 Evas tests: More textblock style padding tests.
SVN revision: 61272
2011-07-12 09:04:04 +00:00
Tom Hacohen c56ce3a747 Evas tests: Add more style tests to verify bug fixed in previous commit.
SVN revision: 61254
2011-07-11 16:39:48 +00:00
Tom Hacohen 9d6d6cedc9 Evas textblock: Fixed style padding calculation.
SVN revision: 61253
2011-07-11 16:39:45 +00:00
Tom Hacohen e4dcb66095 Evas tests: Added a test to verify the last bug is fixed.
SVN revision: 61252
2011-07-11 15:56:51 +00:00
Tom Hacohen b55c9032aa Evas textblock: Fixed an issue with escaped-html-like chars.
SVN revision: 61251
2011-07-11 15:56:47 +00:00
Tom Hacohen b9acb9687c Evas tests: More textblock tests.
SVN revision: 61250
2011-07-11 15:27:53 +00:00
Tom Hacohen 6c67f54efb Evas tests: Added tests for evas_textblock_cursor_range_geometry_get.
SVN revision: 61249
2011-07-11 15:19:33 +00:00
Tom Hacohen 6465e886fe Evas tests: Added a test for evas_textblock_node_format_list_get.
SVN revision: 61243
2011-07-11 13:55:53 +00:00
Tom Hacohen 40d8a3a433 Evas tests: Added tests to evas_textblock_node_format_remove_pair.
SVN revision: 61242
2011-07-11 13:55:48 +00:00
Tom Hacohen 9924c133c1 Evas tests: Add another textblock test.
SVN revision: 61240
2011-07-11 13:39:46 +00:00
Tom Hacohen 78d304e37f Evas tests: Improved textblock tests.
SVN revision: 61239
2011-07-11 12:30:18 +00:00
Tom Hacohen 5c0443cf79 Evas textblock: Removed useless function.
SVN revision: 61238
2011-07-11 12:30:15 +00:00
Tom Hacohen 30ed908c18 Evas tests: Added various text and textblock tests.
SVN revision: 61237
2011-07-11 12:30:09 +00:00
Tom Hacohen 697f8eb592 Evas tests: Added more textblock tests, including one to verify my last fix.
SVN revision: 61236
2011-07-11 11:20:45 +00:00
Tom Hacohen 7c14357161 Evas textblock: Fixed an issue with string_escaped_get.
SVN revision: 61235
2011-07-11 11:20:42 +00:00
Tom Hacohen 4ef7602216 Evas textblock: Fixed an error in docs.
SVN revision: 61234
2011-07-11 11:20:37 +00:00
Tom Hacohen f046b06c23 Evas tests: Added more textblock tests, including one to verify my last fix.
SVN revision: 61233
2011-07-11 08:56:19 +00:00
Tom Hacohen e01d587617 Evas textblock: Fixed evas_textblock_cursor_format_prev.
SVN revision: 61232
2011-07-11 08:56:17 +00:00
Tom Hacohen 8fe3776f8a Evas textblock: Deprecated evas_textblock_cursor_set_at_format.
This was a duplicate of evas_textblock_cursor_at_format_set.
The only difference is the name, and this one doesn't conform to the naming
conventions.

SVN revision: 61231
2011-07-11 08:56:13 +00:00
Tom Hacohen 06a85ddbdf Evas textblock: Fixed a confusing parameter name.
SVN revision: 61230
2011-07-11 08:56:10 +00:00
Tom Hacohen 1504fdb4a7 Evas tests: Added more textblock tests, including a test for the last fix.
SVN revision: 61228
2011-07-11 07:23:18 +00:00
Tom Hacohen 181eda995a Evas textblock: Hopefully eliminate all issues with uninit cursors.
SVN revision: 61227
2011-07-11 07:23:12 +00:00
ChunEon Park 6852dc4971 evas/evas_engine - patched by Seung-Soo Woo.
Dear all,

There is a below issue.

Problem : Evas gl engine call eglWaitNative() and eglWaitGL() before/after eglSwapBuffers().
The sync APIs are not call only in case of SGX_DDK.
Resolution : It is necessary to check MALI string too.

So, I fixed it.
Please find enclosed file.

Thanks.



SVN revision: 61226
2011-07-11 06:29:20 +00:00
Jiyoun Park 81098de5a6 evas: fix _evas_jpeg_membuf_src_skip bug
If file was corrupted , the size value of app frame is bigger than real file
size.

For example, if somebody change file using editor, the file start with (FF
D8 FF E0 FF DB ..).

But real file size can be small than (FF DB).

In that case, _evas_jpeg_membuf_src_skip set src->pub.bytes_in_buffer to
negative value, it make crash later.

Signed-off-by: Jiyoun Park <jy0703.park@samsung.com>

SVN revision: 61222
2011-07-11 02:29:16 +00:00
Tom Hacohen f24a0f896e Evas tests: Added a bunch of text object tests.
SVN revision: 61213
2011-07-10 14:58:37 +00:00
Tom Hacohen c9227dc271 Evas tests: Added a basic evas_objet_text test.
SVN revision: 61211
2011-07-10 14:23:47 +00:00
Tom Hacohen 0a1773ef31 Evas tests: Added some more textblock tests.
SVN revision: 61210
2011-07-10 14:23:43 +00:00
Tom Hacohen bcae70565d Evas tests: Added a lot more textblock tests.
Some verify the fixes I just committed, some are just general tests.

SVN revision: 61208
2011-07-10 13:22:45 +00:00
Tom Hacohen 0aab125684 Evas textblock: Fixed evas_textblock_cursor_eol_get.
SVN revision: 61207
2011-07-10 13:22:42 +00:00
Tom Hacohen 9fe4504574 Evas textblock: Fixed cursor_paragraph_text_length_get.
SVN revision: 61206
2011-07-10 13:22:38 +00:00
Tom Hacohen d30603e37f Evas textblock: Fixed a bug in _paragraph_char_last with the last par.
SVN revision: 61205
2011-07-10 13:22:33 +00:00
Tom Hacohen b6fd1539e8 Evas tests: Added a test to verify the last issue I fixed.
SVN revision: 61204
2011-07-10 12:18:52 +00:00
Tom Hacohen ad79facc8a Evas textblock: Fixed returned position of "clean" cursors.
Issue reported by Shilpa.

SVN revision: 61203
2011-07-10 12:18:48 +00:00
Tom Hacohen b43f08436d Evas tests: Added textblock tests.
SVN revision: 61202
2011-07-10 12:18:45 +00:00
Tom Hacohen 70f9cf686f Evas textblock: textblock_cursor_get's return should not be const.
This does not break API as it's more permissive and behavior doesn't change.

SVN revision: 61201
2011-07-10 12:18:42 +00:00
Christopher Michael 2148b1d2f6 Evas: Remove dependency on xcb-aux and add code to find the visual
based on id, as we were only using one function from there.



SVN revision: 61171
2011-07-09 13:48:39 +00:00
Vincent Torri e9518f1521 Add unit tests + coverage support to evas, for Tasn.
unit tests : make check
coverage   : make coverage


SVN revision: 61167
2011-07-09 02:59:24 +00:00
Vincent Torri 049ee49bc9 fix maintainer-clean rule
SVN revision: 61166
2011-07-09 02:57:27 +00:00