Commit Graph

3864 Commits

Author SHA1 Message Date
Tom Hacohen 7220fe7bf3 Evas textblock: Don't keep a copy of the string per text item.
We don't need to copy it around because we have string objects now. This
lets us remove a lot of unneeded allocations and unwanted strcpys.

SVN revision: 58619
2011-04-13 08:36:57 +00:00
Tom Hacohen 682c7dcdc5 Evas font-engine: Fixed *props_info_create to accept a const string.
We don't want to have to alloc just for the engine. We want to be able to
pass our own const copy.

SVN revision: 58618
2011-04-13 08:36:54 +00:00
Tom Hacohen 680c4354ba Evas font-engine: Use len in font_draw instead of \0
SVN revision: 58617
2011-04-13 08:36:51 +00:00
Tom Hacohen ffbe4ed971 Evas font-engine: *text_props_script_set add parameter len.
SVN revision: 58616
2011-04-13 08:36:46 +00:00
Sebastian Dransfeld 09c490369a ignore++
SVN revision: 58609
2011-04-12 22:47:12 +00:00
Carsten Haitzler f67fbf23e5 fix new map bug! aaagh. i think this came in post 1.0 - happy now tho.
SVN revision: 58588
2011-04-12 09:44:50 +00:00
Daniel Juyung Seo 50e748b8cd Evas Evas.h: Removed trailing whitespaces.
SVN revision: 58587
2011-04-12 09:25:12 +00:00
Daniel Juyung Seo d37ee17f9c Evas evas_object_smart.c: Use pre-defined type, Evas_Smart_Cb, instead
of describing all parameters.


SVN revision: 58586
2011-04-12 09:23:57 +00:00
Carsten Haitzler 9718eed08e fix some formatting
SVN revision: 58585
2011-04-12 09:23:52 +00:00
Tom Hacohen ad3b167e88 Evas font-engine: Added support for runtime-italic/bold.
Now when setting :style=Oblique/Italic/Cursiva/Bold and etc and there's
no matching font found in the system, adjustments will be done on
runtime to support that feature.

Patch by Myoungwoon Roy Kim (roy_kim).

SVN revision: 58584
2011-04-12 09:05:47 +00:00
Tom Hacohen 892994005b Evas textblock: Fix formatted size calculation with ellipsis.
SVN revision: 58580
2011-04-12 07:13:33 +00:00
Tom Hacohen eb99563451 Evas textblock: Removed obsolete comments.
SVN revision: 58579
2011-04-12 07:13:07 +00:00
Tom Hacohen 15d09d72f8 Evas textblock: Fix a possible leak with calc_only layouting.
Style padding changes would have triggered a code-path that skips cleaning
up the temporary layout created.

SVN revision: 58578
2011-04-12 06:52:27 +00:00
Carsten Haitzler 578ac6f0b6 simplify tiff loader. hoping 64bit bug goes away. :) can't test right
now.



SVN revision: 58577
2011-04-12 06:20:38 +00:00
Carsten Haitzler 27609d0572 no need to get this.
SVN revision: 58574
2011-04-12 00:06:57 +00:00
Tom Hacohen 4a557812e1 Evas textblock: Fixed double-drawing bug (visible in efm).
Moved the place we merge back items at. It's currently cleaner, more
correct and as mentioned, fixes a double-drawing bug.

SVN revision: 58555
2011-04-11 15:37:06 +00:00
Tom Hacohen 8e68291273 Evas textblock: Fixed not drawing cut paragraphs when doing ellipsis.
SVN revision: 58553
2011-04-11 13:44:01 +00:00
Tom Hacohen 3624347598 Evas: Updated changelog.
SVN revision: 58550
2011-04-11 12:18:10 +00:00
Carsten Haitzler bb03df9625 chlog++
SVN revision: 58547
2011-04-11 12:07:03 +00:00
Carsten Haitzler 5bc7805b28 many more shadow options (8 shadow directions now)
SVN revision: 58546
2011-04-11 12:05:59 +00:00
Tom Hacohen a8890cff0d Evas sw8: Inherit most of the engine from sw_generic.
SVN revision: 58543
2011-04-11 10:18:13 +00:00
Tom Hacohen 1527652986 Evas sw16: Inherit most of the engine from sw_generic.
SVN revision: 58542
2011-04-11 10:18:10 +00:00
Tom Hacohen 6560dc9a05 Evas: Add EVAS_API_RESET that overrides API with NULL.
SVN revision: 58541
2011-04-11 10:18:06 +00:00
Tom Hacohen 733cfc629b Evas textblock: *_markup_prepend should use the passed cursor.
This fixes a bug that caused evas_object_textblock_text_markup_prepend
to use the object's cursor, instead of the passed cursor when prepending
text.
Thanks to WooHyun for the catch.

SVN revision: 58531
2011-04-10 07:27:07 +00:00
Carsten Haitzler 6b3e820f35 gles warning--
SVN revision: 58514
2011-04-09 04:13:21 +00:00
Carsten Haitzler 09069b6172 doxy move to header.
SVN revision: 58477
2011-04-08 07:26:20 +00:00
Carsten Haitzler 296739cd7d doxy to h.
SVN revision: 58473
2011-04-08 06:11:31 +00:00
Tom Hacohen 5d4f6d3cbe Evas font-engine: Remove most of the passing of strings.
We have string objects, we don't really need them. Draw still uses strings
for metric cache, but that will be removed soon as well.

SVN revision: 58460
2011-04-07 16:25:56 +00:00
Tom Hacohen c9290ef41d Evas textblock: Fix handling of newline in compatiblity mode.
This fixes an issue with newlines that were shoved in the middle of
other format parts like <font_size=46 \n>.

SVN revision: 58457
2011-04-07 15:25:19 +00:00
Tom Hacohen 87bba22028 Evas textblock: Fixed a major bug - don't recreate format items.
I added a mode to format parsing that doesn't create new format items.
The bug was that format items were created all the time although they were
not needed.

SVN revision: 58456
2011-04-07 14:25:48 +00:00
Tom Hacohen 0ced548b40 Revert "Evas textblock: Fixed a major bug. Forgot recreating a layout paragraph."
Apparently it was a mistake and I did handle everything correctly.

This reverts commit 58454.

SVN revision: 58455
2011-04-07 14:01:31 +00:00
Tom Hacohen a855dd9ac0 Evas textblock: Fixed a major bug. Forgot recreating a layout paragraph.
We should create a layout paragraph when it's a new paragraph and when
we removed the previous one that was there because we wanted to
remake it. Forgot adding a paragraph in the second case.

SVN revision: 58454
2011-04-07 13:40:42 +00:00
Tom Hacohen f44f44e024 Evas: Fix last changelog entry description.
SVN revision: 58453
2011-04-07 13:34:00 +00:00
Tom Hacohen b5b34a6fe3 Evas textblock: Updated changelog.
SVN revision: 58449
2011-04-07 13:15:57 +00:00
Tom Hacohen af1bdf3525 Evas textblock: Fixed a bug in newline compatible mode.
SVN revision: 58447
2011-04-07 13:13:41 +00:00
Tom Hacohen 0f964640ae Evas textblock: Don't mark nodes as clean when in 'calc_only'.
SVN revision: 58446
2011-04-07 13:13:38 +00:00
Tom Hacohen 776aa8b507 Evas textblock: Add saftey check.
SVN revision: 58431
2011-04-07 12:27:35 +00:00
Tom Hacohen eed9c92ee6 Evas textblock: Adding visible formats - only invalidate current node.
No need to invalidate all the nodes when adding visible formats because
they are "like regular text".

SVN revision: 58428
2011-04-07 12:22:16 +00:00
Tom Hacohen 80905b3802 Evas textblock: Only relayout paragraphs that have changed.
Remove deleted paragraphs, add new paragraphs and generally relayout
only when really needed. Also, don't relayout when width hasn't changed
and the paragraph haven't changed.

SVN revision: 58418
2011-04-07 11:24:15 +00:00
Tom Hacohen 8ea0800b21 Evas textblock: Clean the code a bit (remove node-invalidation func).
No need for that, just specifically mark where needed that a node has
changed. This is cleaner and nicer.

SVN revision: 58417
2011-04-07 11:24:11 +00:00
Tom Hacohen 2702074e76 Evas textblock: Cleaned code up a bit.
SVN revision: 58395
2011-04-06 15:51:14 +00:00
Cedric BAIL ca7ff47005 evas: fix broken 16bits engine.
SVN revision: 58394
2011-04-06 15:37:54 +00:00
Carsten Haitzler fe933e7b34 and now REALLY fix that viewport bug...
SVN revision: 58386
2011-04-06 10:11:01 +00:00
Carsten Haitzler 4a982fb26e and handle other make current to "no context" in case.
SVN revision: 58385
2011-04-06 09:40:13 +00:00
Carsten Haitzler dcdd502fd4 fix gles engine bug with > 1 window.. missing viewport transform
fixups on deletion of a window!



SVN revision: 58384
2011-04-06 09:38:39 +00:00
Carsten Haitzler fca2d9cf38 chlog++
SVN revision: 58382
2011-04-06 07:37:13 +00:00
Carsten Haitzler 70bc3602c7 fix scossor clip on 90 degree rots.
SVN revision: 58381
2011-04-06 07:32:33 +00:00
Brett Nash 073dd42baa Evas: Mask: Fix non-masked image rendering.
Mismerge by me.

SVN revision: 58380
2011-04-06 06:43:33 +00:00
Brett Nash cc34e132be Evas: Mask: Add shader init code.
SVN revision: 58377
2011-04-06 06:15:59 +00:00
Brett Nash f915ba4ef4 Evas: Mask: Fix undeclared warnings.
Also comment out a function.

SVN revision: 58376
2011-04-06 06:10:31 +00:00