Commit Graph

69 Commits

Author SHA1 Message Date
Tom Hacohen 45993d284f Evas textblock: Replaced style_user_set/get with push/pop/peek.
SVN revision: 68952
2012-03-07 14:02:35 +00:00
Tom Hacohen 8a1351b5f0 Evas textblock: Better handle visible formats.
Fixed a crash. Thanks WooHyun for making me fix it now. :)

SVN revision: 67790
2012-02-09 12:21:18 +00:00
Tom Hacohen f91a385b62 Evas textblock: Fixed native size calculation - margins were not used.
SVN revision: 67631
2012-01-31 11:32:48 +00:00
Tom Hacohen 7266659814 Evas textblock: Fix a bug with ellipsis and word-wrap.
Ellipsis didn't work well with word wrapping textblocks.

SVN revision: 67333
2012-01-19 12:11:44 +00:00
Tom Hacohen 5b8302468c Evas textblock tests: Fix tests warnings.
SVN revision: 67329
2012-01-19 09:02:12 +00:00
Tom Hacohen c6d242426f Evas textblock: Filter out illegal chars from format.
This really just filters them out. The solution is not complete, nor is
it the best one. But this fixes the bugs for the meanwhile.

SVN revision: 67327
2012-01-19 08:41:37 +00:00
Tom Hacohen 47d0c9c67b Evas tests: use unitptr_t in callback test.
SVN revision: 67277
2012-01-17 15:08:38 +00:00
Tom Hacohen 0e0a275762 Evas textblock: Improved the implementation of *_text_markup_to_utf8.
Also support passing NULL instead of a real textblock object.
Added appropriate tests + improved previous tests.

SVN revision: 66254
2011-12-15 12:40:29 +00:00
Tom Hacohen db2c0ee7e9 Evas tests: Fix textblock text according to function change.
SVN revision: 66189
2011-12-14 13:27:08 +00:00
Tom Hacohen 4e29867a30 Evas textblock: Implemented cursor_word_start/end
SVN revision: 66119
2011-12-12 15:25:46 +00:00
Tom Hacohen 346e25b031 Evas textblock: Added evas_textblock_markup_to_plain.
This function converts a textblock markup to plain text.
It converts for example <br/> to \n and a lot more.

SVN revision: 66034
2011-12-08 15:12:25 +00:00
Tom Hacohen 0ec467892d Evas textblock: Support self-closing formats, i.e <br/>.
Also updated tests to follow this. Using <br>, although will work, is
discouraged, please use <br/> instead.

SVN revision: 66023
2011-12-08 12:05:56 +00:00
Tom Hacohen ea9f23ad28 Evas textblock: Added dashed underline support.
Patch by Shilpa Singh

SVN revision: 64131
2011-10-17 10:43:08 +00:00
Tom Hacohen 7b374f1dd3 Evas textblock: Fixed an issue when deleting A from <a><a>A</a></a>.
Reported by WooHyun. Thanks a lot, great catch, also told me where and what
the issue is exactly.

Also added a test to verify this works.

SVN revision: 63493
2011-09-20 08:05:50 +00:00
Tom Hacohen ef8476152d Evas callbacks: Added priority to evas callbacks.
This includes evas_event, evas_object_event and evas_object_smart
callbacks.
See the added docs for more info.

SVN revision: 62533
2011-08-17 11:55:29 +00:00
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 19363f446e Evas textblock: Renamed newline_mode_set/get -> legacy_newline_set/get.
SVN revision: 61992
2011-08-02 12:17:01 +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 97285894c8 Evas tests: Fixed textblock tests (formats).
SVN revision: 61749
2011-07-26 11:47:44 +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 6515a30cc9 Evas tests: Enabled the textblock relsize item native size test.
SVN revision: 61561
2011-07-21 14:04:55 +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 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 92c22656d8 Evas tests: Added a textblock test to verify last fix.
SVN revision: 61528
2011-07-20 14:13:36 +00:00
Tom Hacohen 315d354354 Evas tests: Adedd more textblock visible formats tests.
SVN revision: 61524
2011-07-20 12:37:08 +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 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
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 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 6dc9a02f09 Evas tests: Fixed a textblock cursor test.
SVN revision: 61372
2011-07-14 14:38:41 +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 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 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 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 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 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 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 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 9f2e58e6f0 Evas tests: Added last_up_to_pos tests to text object.
SVN revision: 61326
2011-07-13 08:54:17 +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 9871789a5e Evas tests: Added various text object tests.
SVN revision: 61280
2011-07-12 11:40:28 +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