Tom Hacohen
8991e90293
Evas textblock: Fixed a bug with drawing formats when clipped.
...
SVN revision: 59001
2011-04-28 12:12:57 +00:00
Tom Hacohen
ff0bcef2db
Evas textblock: Added "password" tag - toggle password mode.
...
This lets you toggle the password mode inside the text. Especially
useful for implementing "show last char" in password entries.
Patch by Shilpaonkar Singh
SVN revision: 59000
2011-04-28 11:08:20 +00:00
Tom Hacohen
368a77aea0
Evas textblock: Fixed *_format_remove_pair to invalidate the text nodes.
...
SVN revision: 58991
2011-04-28 08:18:44 +00:00
Carsten Haitzler
f7b637ca03
fix formatting.
...
SVN revision: 58988
2011-04-28 06:59:11 +00:00
Tom Hacohen
3e5cb0ac98
Evas textblock: Use strncmp instead of strncpy and strcmp.
...
SVN revision: 58963
2011-04-27 14:59:22 +00:00
Tom Hacohen
722707547a
Evas textblock: Implement format invalidation points support.
...
This lets us only relayout what's needed also when inserting formats.
This means inserting <b> </> for example is now as fast as inserting any
other char and doesn't cause a complete relayout.
SVN revision: 58958
2011-04-27 12:41:26 +00:00
Cedric BAIL
c708610cbc
evas: remove a few shadow variable.
...
SVN revision: 58874
2011-04-24 20:21:07 +00:00
Carsten Haitzler
fa309e5069
nash -> i fixed your mask rendering. interesting you only mask *IF*
...
you have 1:1 scaling. you could do this with scaled imaged (and
unscaled masks) with ease. both smooth and nearest.
SVN revision: 58838
2011-04-23 02:02:45 +00:00
Carsten Haitzler
c885080057
an initial test at trying pixman instead of evas software rendering.
...
results... in comments. disabled atm unless u --enable it. only
replaces 1 operation in 2 cases.
SVN revision: 58824
2011-04-22 11:47:14 +00:00
Tom Hacohen
902d94afb9
Evas textblock: Added a temp fix for repch until implemented nicely.
...
This fix is just until we finally split to scripts and cache fi all
the time, i.e in all the possible paths (regular, fribidi and harfbuzz).
SVN revision: 58806
2011-04-21 15:34:44 +00:00
Tom Hacohen
3f86ed9349
Evas textblock: Clean repch code a bit. No logic changes.
...
SVN revision: 58801
2011-04-21 14:04:46 +00:00
Carsten Haitzler
22671d41d9
neon asm is not working. even after some typo fixes.
...
SVN revision: 58782
2011-04-21 08:18:38 +00:00
Brett Nash
3bbe4023d0
Evas: Filter: Don't leak keys either.
...
SVN revision: 58775
2011-04-21 06:01:56 +00:00
Brett Nash
52a1e85d86
Evas: Filter: More aggresively avoid allocing filter data.
...
SVN revision: 58774
2011-04-21 06:01:53 +00:00
Brett Nash
97a442eaf1
Evas: Filter: No need to allocate on a getter.
...
Just return the default.
SVN revision: 58773
2011-04-21 06:01:50 +00:00
Brett Nash
f19bea3bf1
Evas: Filter: Use some ARGB joins.
...
SVN revision: 58772
2011-04-21 06:01:48 +00:00
Brett Nash
b17702d7d8
Evas: Filter: Remove last vestiges of alpha/red/green/blue macros
...
Using the [ARGB]_VAL ones intead. Also means need to change to use pointer
instead of array syntax to the all macro.
SVN revision: 58769
2011-04-21 02:30:32 +00:00
Brett Nash
e410651d24
Evas: Filter: Fix filter length assignment.
...
Fun fact... this works on 64 bit systems... well mine anyway, but falls over
in a horrible mess on 32bit systems.
SVN revision: 58763
2011-04-20 14:44:32 +00:00
Brett Nash
8809ce8a12
Evas: Filter: Whitespace fixes
...
SVN revision: 58762
2011-04-20 14:44:29 +00:00
Brett Nash
044b02ce0e
Evas: Filter: Handle memory alloc error a little more gracefully
...
In this case, just set the filter type to none.
SVN revision: 58761
2011-04-20 14:44:26 +00:00
Tom Hacohen
cb19804054
Evas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).
...
SVN revision: 58760
2011-04-20 14:35:37 +00:00
Tom Hacohen
b59156c788
Evas text/textblock: Change item size calculation to use advance again.
...
We don't need to do any tricks anymore because size calculation is now
very fast, as fast as the tricks we did, so it's best to just do what
we really want to do.
SVN revision: 58757
2011-04-20 14:20:54 +00:00
Carsten Haitzler
b44bf7f8ff
filter: handle malloc failers without crashing.
...
SVN revision: 58752
2011-04-20 08:28:40 +00:00
Carsten Haitzler
8da6f52bfd
lets properly document filter calls and return sane values
...
SVN revision: 58751
2011-04-20 08:24:56 +00:00
Carsten Haitzler
649cba4e45
and lets have getters for setters shall we - if we go implement 1 of
...
them.. lets implement alll shall we?
SVN revision: 58750
2011-04-20 08:20:36 +00:00
Carsten Haitzler
2598499970
and fix filter api to be consistent with evas.. letalone all of efl.
...
VERB AT END!!!! (get/set/whatever)
SVN revision: 58749
2011-04-20 08:13:33 +00:00
Carsten Haitzler
ce8297e04b
more formatting fixes after filter commit.
...
SVN revision: 58748
2011-04-20 08:09:30 +00:00
Carsten Haitzler
6720d96208
and fix more filter messups. o->fitler will be leaked on obj deletion
...
as there was no cleanup.. and the method of exposing
evas_filter_key_get() was so out of step with any other code i have
ever seen.. letalong evas... fix.
SVN revision: 58747
2011-04-20 08:06:59 +00:00
Carsten Haitzler
7b88f0d723
more fixme fixes of filter
...
SVN revision: 58744
2011-04-20 07:35:18 +00:00
Carsten Haitzler
d51d11f658
fix filter code to move docs to Evas.h
...
SVN revision: 58742
2011-04-20 07:08:48 +00:00
Carsten Haitzler
1eaba59607
oh dear... way too many warnings. added a whole bunch of fixme's too
...
for later.
SVN revision: 58740
2011-04-20 01:22:08 +00:00
Brett Nash
ba45fbee9e
Evas: Filter: Add evas_object_image filter changes.
...
This is where the actual filtering takes place. Kinda important to make it
work.
SVN revision: 58729
2011-04-19 06:16:21 +00:00
Brett Nash
9eaea94252
Evas: Filters:
...
More work, proudly supported by Samsung. Filters!
So now you can apply a whole host of cheesy visual effects to objects at
runtime. This is the first commit, there are a couple of more to come as I
tweak the filters, and fix blur with GL[1].
Please direct bugs to me nash@nash.id.au .
[1] You'd think shaders would be good at this.. but no, generic blur and GL
are like trying to get an apple product to work with Linux.
SVN revision: 58726
2011-04-19 05:47:56 +00:00
Tom Hacohen
e6be4f7deb
Evas textblock: Fixed an invalid read.
...
In some cases an invalid read would occur. This was because we didn't
handle node merging appropriately.
SVN revision: 58701
2011-04-17 08:38:29 +00:00
Tom Hacohen
f5e7165a65
Evas text/textblock: Add setting bidi_delimiter API.
...
SVN revision: 58669
2011-04-14 15:34:01 +00:00
Tom Hacohen
d0e889fbe7
Evas textblock: Clean up a bit.
...
SVN revision: 58663
2011-04-14 12:34:29 +00:00
Tom Hacohen
2a7b919cd7
Evas textblock: Move bidi props to the layout paragraphs.
...
This will let us do cool overrides more control via higher level protocol
when we'll want to.
SVN revision: 58662
2011-04-14 12:13:20 +00:00
Tom Hacohen
86fd95e80e
Evas textblock: Fixed invalid reads with ellipsis in some cases.
...
SVN revision: 58659
2011-04-14 11:37:09 +00:00
Tom Hacohen
e6edd2ce7f
Evas textblock: Fixed ellipsis.
...
It's actually just a workaround until we finally fix draw to not need
the text.
SVN revision: 58658
2011-04-14 11:37:06 +00:00
Carsten Haitzler
01146b8343
fix map update bug. :)
...
SVN revision: 58656
2011-04-14 10:47:40 +00:00
Tom Hacohen
46beed0916
Evas bidi: Added a way to ask for bidi segmentation indexes.
...
This lets you pass the bidi engine a list of indexes in the paragraph,
that will segment it bidi-wise. I.e the bidi algorithm will be applied to
each segment individually. This implements HL4 of the bidi algorithm.
SVN revision: 58652
2011-04-14 07:40:42 +00:00
Tom Hacohen
9de9eca278
Evas textblock: Reformat if not valid in some cases we forgot.
...
SVN revision: 58651
2011-04-14 07:34:06 +00:00
Tom Hacohen
90ad3ed743
Evas textblock Fixed a "may be used uninit" compiler warning.
...
SVN revision: 58646
2011-04-13 22:40:25 +00:00
Tom Hacohen
b5d014dcb7
Evas textblock: Removed unneeded casting.
...
SVN revision: 58635
2011-04-13 13:29:24 +00:00
Tom Hacohen
d53aa0f7d6
Evas textblock: Fix error messages about bad cutoff positions.
...
This was caused because we failed to check text item's text boundaries
and we tried splitting beyond them.
SVN revision: 58634
2011-04-13 13:28:08 +00:00
Tom Hacohen
0243ddf34b
Evas textblock: Clean up getting bidi props (unify to a function).
...
SVN revision: 58632
2011-04-13 12:21:58 +00:00
Tom Hacohen
f9936b341f
Evas bidi: Add len parameter to evas_bidi_paragraph_props_get
...
SVN revision: 58631
2011-04-13 12:21:54 +00:00
Tom Hacohen
caa46dc1ba
Evas font-engine: Move, rename and make *_text_font_style_match static.
...
It's only really used (and will ever be used) in a very specific place,
no need to put it in a place that's visible to all the lib.
SVN revision: 58627
2011-04-13 10:55:59 +00:00
Tom Hacohen
90982f71bc
Evas textblock: Make sure we only test with positive indexes.
...
SVN revision: 58625
2011-04-13 10:24:54 +00:00
Tom Hacohen
829b48aebd
Evas textblock: Fixed a wrong test for end of string.
...
SVN revision: 58624
2011-04-13 10:22:55 +00:00