Carsten Haitzler [Thu, 21 Apr 2011 09:18:45 +0000 (09:18 +0000)]
and tho the header has that func.. evas doesn't. remove it. seems this
api wasnt removed from the public h before release. it can't have
worked anyway so not a break.
SVN revision: 58785
Tom Hacohen [Thu, 21 Apr 2011 08:47:16 +0000 (08:47 +0000)]
Evas font-engine: Fixed kerning issue and a major rendering bug.
Kerning: We are walking the string visually so we don't need to do
anything special for kerning when in rtl, freetype works with "left" and
"right" which we automatically get.
Rendering bug: Cedric found that in some cases there were missing
characters. This was caused because I forgot to convert the kerning from
16.6 fixed point to int.
SVN revision: 58783
Carsten Haitzler [Thu, 21 Apr 2011 08:18:38 +0000 (08:18 +0000)]
neon asm is not working. even after some typo fixes.
SVN revision: 58782
Vincent Torri [Thu, 21 Apr 2011 06:52:40 +0000 (06:52 +0000)]
lazy mike
SVN revision: 58781
Brett Nash [Thu, 21 Apr 2011 06:26:49 +0000 (06:26 +0000)]
Evas: filter: Remove warning from evil type things.
SVN revision: 58780
Carsten Haitzler [Thu, 21 Apr 2011 06:24:27 +0000 (06:24 +0000)]
fix some nasty image cache issues i've found like double-frees, leaks
etc. etc. in corner-cases. it also re-factors the image cache code to
be much more manageable and understandable with cache/list management
doing the right thing in the internal calls.
SVN revision: 58779
Brett Nash [Thu, 21 Apr 2011 06:22:06 +0000 (06:22 +0000)]
Evas: Mask: Add the part where evas actually uses the mask in GL.
SVN revision: 58778
Carsten Haitzler [Thu, 21 Apr 2011 06:21:51 +0000 (06:21 +0000)]
warning--
SVN revision: 58777
Brett Nash [Thu, 21 Apr 2011 06:01:59 +0000 (06:01 +0000)]
Evas: Filter: Avoid a double free.
I just don't know why.
SVN revision: 58776
Brett Nash [Thu, 21 Apr 2011 06:01:56 +0000 (06:01 +0000)]
Evas: Filter: Don't leak keys either.
SVN revision: 58775
Brett Nash [Thu, 21 Apr 2011 06:01:53 +0000 (06:01 +0000)]
Evas: Filter: More aggresively avoid allocing filter data.
SVN revision: 58774
Brett Nash [Thu, 21 Apr 2011 06:01:50 +0000 (06:01 +0000)]
Evas: Filter: No need to allocate on a getter.
Just return the default.
SVN revision: 58773
Brett Nash [Thu, 21 Apr 2011 06:01:48 +0000 (06:01 +0000)]
Evas: Filter: Use some ARGB joins.
SVN revision: 58772
Brett Nash [Thu, 21 Apr 2011 02:30:34 +0000 (02:30 +0000)]
Evas: Fix broken [ARGB]_VAL macros.
And no one ever noticed til now?
SVN revision: 58770
Brett Nash [Thu, 21 Apr 2011 02:30:32 +0000 (02:30 +0000)]
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
Brett Nash [Wed, 20 Apr 2011 14:44:32 +0000 (14:44 +0000)]
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
Brett Nash [Wed, 20 Apr 2011 14:44:29 +0000 (14:44 +0000)]
Evas: Filter: Whitespace fixes
SVN revision: 58762
Brett Nash [Wed, 20 Apr 2011 14:44:26 +0000 (14:44 +0000)]
Evas: Filter: Handle memory alloc error a little more gracefully
In this case, just set the filter type to none.
SVN revision: 58761
Tom Hacohen [Wed, 20 Apr 2011 14:35:37 +0000 (14:35 +0000)]
Evas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).
SVN revision: 58760
Tom Hacohen [Wed, 20 Apr 2011 14:21:00 +0000 (14:21 +0000)]
Evas font: Removed a deprecated macro.
SVN revision: 58759
Tom Hacohen [Wed, 20 Apr 2011 14:20:57 +0000 (14:20 +0000)]
Evas font: Removed LOGICAL_WALK and updated last_up_to_pos accondingly.
SVN revision: 58758
Tom Hacohen [Wed, 20 Apr 2011 14:20:54 +0000 (14:20 +0000)]
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
Tom Hacohen [Wed, 20 Apr 2011 14:20:51 +0000 (14:20 +0000)]
Evas font-engine: Cache pen position instead of advance.
We only really use adavnce for calculating the pen position, so it makes more
sense to just cache the pen_position instead and calculate advance from
that if ever needed.
This means size/advance calculations are now O(1) because we don't need to
walk the strings anymore.
SVN revision: 58756
Tom Hacohen [Wed, 20 Apr 2011 14:20:48 +0000 (14:20 +0000)]
Evas font-engine: Fix drawing of replacement char when not using Harfbuzz.
SVN revision: 58755
Daniel Juyung Seo [Wed, 20 Apr 2011 14:15:33 +0000 (14:15 +0000)]
Ecore: Removed trailing whitespaces.
SVN revision: 58753
Carsten Haitzler [Wed, 20 Apr 2011 08:28:40 +0000 (08:28 +0000)]
filter: handle malloc failers without crashing.
SVN revision: 58752
Carsten Haitzler [Wed, 20 Apr 2011 08:24:56 +0000 (08:24 +0000)]
lets properly document filter calls and return sane values
SVN revision: 58751
Carsten Haitzler [Wed, 20 Apr 2011 08:20:36 +0000 (08:20 +0000)]
and lets have getters for setters shall we - if we go implement 1 of
them.. lets implement alll shall we?
SVN revision: 58750
Carsten Haitzler [Wed, 20 Apr 2011 08:13:33 +0000 (08:13 +0000)]
and fix filter api to be consistent with evas.. letalone all of efl.
VERB AT END!!!! (get/set/whatever)
SVN revision: 58749
Carsten Haitzler [Wed, 20 Apr 2011 08:09:30 +0000 (08:09 +0000)]
more formatting fixes after filter commit.
SVN revision: 58748
Carsten Haitzler [Wed, 20 Apr 2011 08:06:59 +0000 (08:06 +0000)]
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
Carsten Haitzler [Wed, 20 Apr 2011 08:05:23 +0000 (08:05 +0000)]
more bad code - why pass in void * image and data? sero point.. and it
totally is out of step with the rest of the api for gl_common.. that
alone would tell you "dont so that". ugh. more filter fixes.
SVN revision: 58746
Carsten Haitzler [Wed, 20 Apr 2011 08:01:04 +0000 (08:01 +0000)]
oh god. more warning fixes...
SVN revision: 58745
Carsten Haitzler [Wed, 20 Apr 2011 07:35:18 +0000 (07:35 +0000)]
more fixme fixes of filter
SVN revision: 58744
Carsten Haitzler [Wed, 20 Apr 2011 07:12:51 +0000 (07:12 +0000)]
start fixing shader mess. at least add mask compile to scripts. need
to do filters.
SVN revision: 58743
Carsten Haitzler [Wed, 20 Apr 2011 07:08:48 +0000 (07:08 +0000)]
fix filter code to move docs to Evas.h
SVN revision: 58742
Carsten Haitzler [Wed, 20 Apr 2011 06:51:39 +0000 (06:51 +0000)]
add animator runtime stuff to run animator for fixed timelength and an
interpolation mapping func.
SVN revision: 58741
Carsten Haitzler [Wed, 20 Apr 2011 01:22:08 +0000 (01:22 +0000)]
oh dear... way too many warnings. added a whole bunch of fixme's too
for later.
SVN revision: 58740
Carsten Haitzler [Wed, 20 Apr 2011 00:40:14 +0000 (00:40 +0000)]
commit forgotten chglog commit.
SVN revision: 58739
Mike Blumenkrantz [Tue, 19 Apr 2011 21:38:24 +0000 (21:38 +0000)]
+ecore_exe_data_set
SVN revision: 58737
Vincent Torri [Tue, 19 Apr 2011 21:37:32 +0000 (21:37 +0000)]
Evas: export evas_filter_software_get() (used in software_generic engine)
SVN revision: 58736
Tom Hacohen [Tue, 19 Apr 2011 20:27:34 +0000 (20:27 +0000)]
Evas font-engine: fix a segfault with empty strings.
Thanks to Nicolas Aguirre (captainigloo) for the catch.
SVN revision: 58734
Cedric BAIL [Tue, 19 Apr 2011 15:27:21 +0000 (15:27 +0000)]
eio: destroy leaf before root.
SVN revision: 58732
Brett Nash [Tue, 19 Apr 2011 06:16:21 +0000 (06:16 +0000)]
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
Brett Nash [Tue, 19 Apr 2011 05:47:56 +0000 (05:47 +0000)]
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
Brett Nash [Tue, 19 Apr 2011 05:47:51 +0000 (05:47 +0000)]
Evas: Filter: Add the shaders - nice and safe change here.
SVN revision: 58725
Brett Nash [Tue, 19 Apr 2011 05:47:47 +0000 (05:47 +0000)]
Evas: Work around for mask issues
SVN revision: 58724
Carsten Haitzler [Tue, 19 Apr 2011 01:55:33 +0000 (01:55 +0000)]
fix - shapeinput not shapebounding. copy & paste error
SVN revision: 58723
Christopher Michael [Mon, 18 Apr 2011 16:31:12 +0000 (16:31 +0000)]
Evas: Fix nasty blank space after return and before semicolon.
NB: Nothing functional, just formatting.
SVN revision: 58708
Carsten Haitzler [Mon, 18 Apr 2011 11:23:56 +0000 (11:23 +0000)]
better docs
SVN revision: 58707
Boris Faure [Sun, 17 Apr 2011 16:48:22 +0000 (16:48 +0000)]
ecore_x: remove redondant declaration
SVN revision: 58702
Tom Hacohen [Sun, 17 Apr 2011 08:38:29 +0000 (08:38 +0000)]
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
Cedric BAIL [Fri, 15 Apr 2011 13:33:44 +0000 (13:33 +0000)]
ecore: fix build without Ecore_Evas_X.
SVN revision: 58689
Carsten Haitzler [Fri, 15 Apr 2011 11:01:15 +0000 (11:01 +0000)]
BUG!! fix buffer canvas modifier set setting! gah!
SVN revision: 58685
Carsten Haitzler [Fri, 15 Apr 2011 09:32:28 +0000 (09:32 +0000)]
failure case more efficient
SVN revision: 58683
Carsten Haitzler [Fri, 15 Apr 2011 07:49:25 +0000 (07:49 +0000)]
fix image double-deref/free when not meant to happen
SVN revision: 58682
Carsten Haitzler [Fri, 15 Apr 2011 07:08:14 +0000 (07:08 +0000)]
fix binary ppm loading. that was odd.
SVN revision: 58681
Vincent Torri [Fri, 15 Apr 2011 07:03:17 +0000 (07:03 +0000)]
Eina: eina_file: port API to Windows
Currently, that code can potentially fail on Windows 64 bits
as long is of size 32 bits and not 64 bits. All the file length
and offset must be changed to something that fit the arch, like size_t,
or use always uint64_t
SVN revision: 58680
Mike Blumenkrantz [Fri, 15 Apr 2011 00:41:01 +0000 (00:41 +0000)]
fix error_find to actually return the Eina_Error instead of just i
SVN revision: 58679
Cedric BAIL [Thu, 14 Apr 2011 19:26:15 +0000 (19:26 +0000)]
autogen: add forgotten autopoint.
SVN revision: 58671
Mike Blumenkrantz [Thu, 14 Apr 2011 18:21:40 +0000 (18:21 +0000)]
fix input check for list_move, add ESNV for error
SVN revision: 58670
Tom Hacohen [Thu, 14 Apr 2011 15:34:01 +0000 (15:34 +0000)]
Evas text/textblock: Add setting bidi_delimiter API.
SVN revision: 58669
Cedric BAIL [Thu, 14 Apr 2011 14:51:36 +0000 (14:51 +0000)]
autogen: unobrk things.
SVN revision: 58668
Cedric BAIL [Thu, 14 Apr 2011 14:03:46 +0000 (14:03 +0000)]
autogen: improve detection of parameter change.
SVN revision: 58667
Tom Hacohen [Thu, 14 Apr 2011 12:34:29 +0000 (12:34 +0000)]
Evas textblock: Clean up a bit.
SVN revision: 58663
Tom Hacohen [Thu, 14 Apr 2011 12:13:20 +0000 (12:13 +0000)]
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
Tom Hacohen [Thu, 14 Apr 2011 11:37:09 +0000 (11:37 +0000)]
Evas textblock: Fixed invalid reads with ellipsis in some cases.
SVN revision: 58659
Tom Hacohen [Thu, 14 Apr 2011 11:37:06 +0000 (11:37 +0000)]
Evas textblock: Fixed ellipsis.
It's actually just a workaround until we finally fix draw to not need
the text.
SVN revision: 58658
Carsten Haitzler [Thu, 14 Apr 2011 10:47:40 +0000 (10:47 +0000)]
fix map update bug. :)
SVN revision: 58656
Cedric BAIL [Thu, 14 Apr 2011 09:40:47 +0000 (09:40 +0000)]
eina: improve autoconf cache usage.
SVN revision: 58655
Mike Blumenkrantz [Thu, 14 Apr 2011 07:42:04 +0000 (07:42 +0000)]
unrevert. this is not a mistake.
SVN revision: 58654
Tom Hacohen [Thu, 14 Apr 2011 07:40:45 +0000 (07:40 +0000)]
Evas: Updated changelog.
SVN revision: 58653
Tom Hacohen [Thu, 14 Apr 2011 07:40:42 +0000 (07:40 +0000)]
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
Tom Hacohen [Thu, 14 Apr 2011 07:34:06 +0000 (07:34 +0000)]
Evas textblock: Reformat if not valid in some cases we forgot.
SVN revision: 58651
Vincent Torri [Thu, 14 Apr 2011 06:56:10 +0000 (06:56 +0000)]
revert. The check is already done by EINA_MAGIC_CHECK, called by EINA_MAGIC_CHECK_LIST
SVN revision: 58650
Vincent Torri [Thu, 14 Apr 2011 05:52:24 +0000 (05:52 +0000)]
Eina: eina_file.c: use fcntl instead of O_CLOEXEC
SVN revision: 58649
Vincent Torri [Thu, 14 Apr 2011 05:39:09 +0000 (05:39 +0000)]
Eina: eina_file.c replace ACCESSPERMS, which is not protable, by its value
SVN revision: 58648
Mike Blumenkrantz [Thu, 14 Apr 2011 01:04:54 +0000 (01:04 +0000)]
fix input check
SVN revision: 58647
Tom Hacohen [Wed, 13 Apr 2011 22:40:25 +0000 (22:40 +0000)]
Evas textblock Fixed a "may be used uninit" compiler warning.
SVN revision: 58646
Carsten Haitzler [Wed, 13 Apr 2011 21:50:23 +0000 (21:50 +0000)]
errrr.. how about we DONT make every eina using app spew out:
ERR<23281>:eina eina_main.c:173 _eina_shutdown_from_desc() Problems
shutting down eina module 'file', ignored.
now there's a bright idea eh?
SVN revision: 58645
Vincent Torri [Wed, 13 Apr 2011 17:51:00 +0000 (17:51 +0000)]
fix win32 build
SVN revision: 58642
Vincent Torri [Wed, 13 Apr 2011 17:03:24 +0000 (17:03 +0000)]
move doxy tag
SVN revision: 58641
Vincent Torri [Wed, 13 Apr 2011 16:29:29 +0000 (16:29 +0000)]
put __UNUSED__ where we usually put it : after the parameter name
SVN revision: 58638
Cedric BAIL [Wed, 13 Apr 2011 16:15:30 +0000 (16:15 +0000)]
eina: add Eina_File API.
NOTE: the purpose of this API is to replace mmap user in the
EFL, share cache and more code across them. The potential user
are eet, evas, efreet, eio and enlil. More patch are needed for
them to use this infra. Help welcome :-)
NOTE2: this API also need more test and is waiting for some
more pthread infra before being thread safe. But at the end
it will be thread safe if eina thread safety is requested.
SVN revision: 58637
Tom Hacohen [Wed, 13 Apr 2011 13:29:24 +0000 (13:29 +0000)]
Evas textblock: Removed unneeded casting.
SVN revision: 58635
Tom Hacohen [Wed, 13 Apr 2011 13:28:08 +0000 (13:28 +0000)]
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
Tom Hacohen [Wed, 13 Apr 2011 12:21:58 +0000 (12:21 +0000)]
Evas textblock: Clean up getting bidi props (unify to a function).
SVN revision: 58632
Tom Hacohen [Wed, 13 Apr 2011 12:21:54 +0000 (12:21 +0000)]
Evas bidi: Add len parameter to evas_bidi_paragraph_props_get
SVN revision: 58631
Carsten Haitzler [Wed, 13 Apr 2011 12:12:41 +0000 (12:12 +0000)]
and oops.. fix my fox to coord xlations. working now.
SVN revision: 58630
Carsten Haitzler [Wed, 13 Apr 2011 12:06:17 +0000 (12:06 +0000)]
printf--
SVN revision: 58629
Carsten Haitzler [Wed, 13 Apr 2011 12:05:31 +0000 (12:05 +0000)]
fix buglet in inlined image buffer canvas -> coords repeated when
dragged outside the bounds.
SVN revision: 58628
Tom Hacohen [Wed, 13 Apr 2011 10:55:59 +0000 (10:55 +0000)]
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
Tom Hacohen [Wed, 13 Apr 2011 10:24:54 +0000 (10:24 +0000)]
Evas textblock: Make sure we only test with positive indexes.
SVN revision: 58625
Tom Hacohen [Wed, 13 Apr 2011 10:22:55 +0000 (10:22 +0000)]
Evas textblock: Fixed a wrong test for end of string.
SVN revision: 58624
Carsten Haitzler [Wed, 13 Apr 2011 09:29:45 +0000 (09:29 +0000)]
fix slowdown - drew empty shadow when didnt need to.
SVN revision: 58623
Doyun Kang [Wed, 13 Apr 2011 09:06:05 +0000 (09:06 +0000)]
From: Doyun Kang <doyoun.kang@samsung.com>
Add support for shape input setting and modification (with
fixes/modifications and extensions added tomake it more complete).
SVN revision: 58621
Tom Hacohen [Wed, 13 Apr 2011 08:37:01 +0000 (08:37 +0000)]
Evas font-engine: Fix the fallback fribidi shaper.
Just keep the shaped string in the string object if fribidi is used
without harfbuzz.
SVN revision: 58620
Tom Hacohen [Wed, 13 Apr 2011 08:36:57 +0000 (08:36 +0000)]
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
Tom Hacohen [Wed, 13 Apr 2011 08:36:54 +0000 (08:36 +0000)]
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
Tom Hacohen [Wed, 13 Apr 2011 08:36:51 +0000 (08:36 +0000)]
Evas font-engine: Use len in font_draw instead of \0
SVN revision: 58617