Carsten Haitzler
2dedcff5d3
aaaaaaaaaaaaaaargh! where's me rum! :(
...
SVN revision: 51788
2010-08-31 22:16:08 +00:00
Carsten Haitzler
af64cdd630
color interpolation? never used. did nothing. not needed. go go go!
...
SVN revision: 51781
2010-08-31 13:29:17 +00:00
Carsten Haitzler
318217b812
evas_smart_new - deprecated api gone.
...
SVN revision: 51780
2010-08-31 12:01:46 +00:00
Carsten Haitzler
81ba0d8423
imaging api--. as promised.
...
SVN revision: 51779
2010-08-31 11:58:51 +00:00
Chidambar Zinnoury
fd44c06b68
Evas SVG loader: if both width and height scale dimensions are given, we want to use the biggest computed dimensions.
...
Fixes some ugly views if width and height factors are too much different.
See r51774.
Thank you Cédric!
SVN revision: 51775
2010-08-31 08:14:39 +00:00
Chidambar Zinnoury
e42df55f10
Evas JPEG loader: if both width and height scale dimensions are given, we want to use the biggest computed dimensions.
...
Fixes some ugly views if width and height factors are too much different.
SVN revision: 51774
2010-08-31 06:50:48 +00:00
Carsten Haitzler
b8099eeb87
add more docs in readme - probably a good idea since these magic env
...
vars are very useful at times
SVN revision: 51771
2010-08-31 04:38:24 +00:00
Vincent Torri
4369e0f790
fix some declarations
...
SVN revision: 51763
2010-08-30 19:24:09 +00:00
Tom Hacohen
c128fa4d80
Evas textblock: Fixed @intrenal -> @internal in some docs.
...
SVN revision: 51746
2010-08-30 11:27:39 +00:00
Carsten Haitzler
428e35e5d3
make it an env var to enable/disable window unsurface/resurfacing.
...
SVN revision: 51742
2010-08-30 06:46:29 +00:00
Carsten Haitzler
6e2ea4e371
notes++
...
SVN revision: 51741
2010-08-30 06:11:53 +00:00
Carsten Haitzler
2fdf9147c4
thanks jerome for picking up on header not being installed
...
SVN revision: 51738
2010-08-30 03:46:18 +00:00
Carsten Haitzler
075531cc54
aaah... so.. if we have a fribidi lock.. shall we.. hmrrrm maybe use
...
it? and... lets not just throw pointer onto pipelines just for the
hell of it.. as like.. hmm the object owning the pointer might be
freed before pipelien finishes.. or hell. it might change pointer
contents? :) need to nwo dup bidi intl_props. probably a better plan..
tasn looking at you... is to fix up evas bidi utils and make the intl
props a new/free thing (and sharable eh?) with reference counts to
avoid dups (just ref up most of the time - and if u change, make a new
intl prop - dont change current one) etc. etc. for now dup - this
gives a perf hit tho. at least async rendering works now.
SVN revision: 51736
2010-08-30 03:21:15 +00:00
Carsten Haitzler
f3faf1730b
can optimise this a bit and avoid magic checks as its internal.
...
SVN revision: 51735
2010-08-29 22:59:11 +00:00
Tom Hacohen
7cd4d7cf4a
Evas font: Renamed the parameter names in evas_common_font_query_kerning to be more correct. Adjusted font query and font draw according to the correct font_query_kerning behavior.
...
SVN revision: 51724
2010-08-29 12:44:58 +00:00
Tom Hacohen
58319c5715
Evas textblock: fixed breakages of paragraph direction when merging/splitting text nodes.
...
SVN revision: 51723
2010-08-29 12:16:32 +00:00
Sebastian Dransfeld
ef4176d8e2
Check region h
...
SVN revision: 51721
2010-08-29 10:57:15 +00:00
Tom Hacohen
d4c2078f8d
Evas textblock: Fixed 'up' and 'down' when pointing to the end of the last line when it ends with a visible format.
...
SVN revision: 51717
2010-08-29 09:19:04 +00:00
Tom Hacohen
649ad7a890
Evas textblock: Fixed 'Home' and 'End' in the last line when it ends with a visible format.
...
SVN revision: 51716
2010-08-29 09:13:48 +00:00
Sebastian Dransfeld
8967abcac0
ignore++
...
SVN revision: 51714
2010-08-29 08:51:33 +00:00
Tom Hacohen
71490cad70
Evas textblock: Fixed segfault when clearing a textblock and then trying to delete while it's empty. And fixed cursor position in cases when there's a visible format after a \n
...
SVN revision: 51709
2010-08-29 08:27:13 +00:00
Carsten Haitzler
3ab29fcad0
shhh evas. ok - back to normal. generic fn ptr for now.
...
SVN revision: 51707
2010-08-29 02:25:22 +00:00
Carsten Haitzler
92fcbddbf7
move more callbacks to typedefs.
...
SVN revision: 51705
2010-08-29 01:59:21 +00:00
Carsten Haitzler
00236e9c5a
fix map bug. :) again. this time both cases work.
...
SVN revision: 51704
2010-08-29 01:04:47 +00:00
Carsten Haitzler
acac588d58
re-enaqble async rendering. seems ok on 2 cores. might be a quad-core
...
issue and arm issue. need to check again monday.
SVN revision: 51696
2010-08-28 13:15:38 +00:00
Vincent Torri
3aa85b5f2d
formatting
...
SVN revision: 51695
2010-08-28 12:55:27 +00:00
Carsten Haitzler
e3c63031ce
unfortunate - but need to disable those async/pipe render options.
...
SVN revision: 51691
2010-08-28 02:43:15 +00:00
Carsten Haitzler
1874321e33
and actually fix un/resurf. done.
...
SVN revision: 51675
2010-08-27 10:45:06 +00:00
Carsten Haitzler
f713366e7d
fix un/resurf for dump.
...
SVN revision: 51674
2010-08-27 10:38:41 +00:00
Carsten Haitzler
4a5adf358d
tracing/info to check texture allocation/usage. no leaks that i see.
...
dump works perfectly. yay!
SVN revision: 51669
2010-08-27 02:02:38 +00:00
Carsten Haitzler
09d9dcc715
some minor cleanliness in the unsurf/resurf stuff.
...
SVN revision: 51668
2010-08-27 01:14:03 +00:00
Lucas De Marchi
255b2cb870
Apply double_condition_check.cocci
...
The offending projects were:
E16/e/src/backgrounds.c | 10 ++++------
PROTO/eon/src/lib/layout/eon_stack.c | 4 +---
ecore/src/lib/ecore_win32/ecore_win32.c | 3 +--
ecore/src/lib/ecore_wince/ecore_wince.c | 3 +--
edje/src/lib/edje_edit.c | 3 +--
evas/src/lib/cache/evas_cache_image.c | 2 +-
exalt/src/lib/libexalt_private.c | 2 +-
This patch assumes code in these places were insane and the fix is to remove
one condition check. Most likely this is not true, but there's no automatic fix
for that.
Looking at the patch, it seems that some places should use "x" and "y" vars but
used just one of them and therefore they were caught by coccinelle.
SVN revision: 51666
2010-08-26 20:45:09 +00:00
Tom Hacohen
2ab7f0f809
Evas textblock: Fixed ignoring of unicode object replacement char.
...
SVN revision: 51658
2010-08-26 13:04:13 +00:00
Tom Hacohen
26ecd94b4c
Evas font: Fixed a couple of warnings and formatting issues.
...
SVN revision: 51656
2010-08-26 11:45:45 +00:00
Tom Hacohen
07f7a9bd88
Evas textblock: Fixed tab causing weird spacing and unwanted linewraps.
...
SVN revision: 51655
2010-08-26 11:14:03 +00:00
Carsten Haitzler
efb72afbc1
be able to free and alloc gl surface when asked to dump
...
SVN revision: 51654
2010-08-26 09:40:48 +00:00
Tom Hacohen
ee3b20d11a
Evas textblock: Fixed a bit of formatting.
...
SVN revision: 51653
2010-08-26 09:22:31 +00:00
Carsten Haitzler
7ccee2cfe9
aagh fix fix! works again.
...
SVN revision: 51652
2010-08-26 04:37:43 +00:00
Carsten Haitzler
9d7a3a2bfc
silence gl enging output unless you set EVAS_GL_INFO in env. move some
...
fixed numbers into env vars for tuning purposes and debugging ... and
importantly - fix a smooth vs non-smooth texture mode thing.
SVN revision: 51651
2010-08-26 01:41:48 +00:00
Lucas De Marchi
d8002ff386
Revert and re-apply badnull patch
...
Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.
SVN revision: 51650
2010-08-26 01:34:13 +00:00
Tom Hacohen
9a5dba89eb
Evas textblock: Paired formats (e.g <b> and </b>) are now only deleted if they point to the same place. This makes everything nice and clean.
...
SVN revision: 51646
2010-08-25 14:37:52 +00:00
Carsten Haitzler
7e896b081a
and fail init of gl cleanly again... :)
...
SVN revision: 51644
2010-08-25 13:41:03 +00:00
Carsten Haitzler
86eb3374d4
remove segv in ghl engine with native surfaces if data is null!
...
SVN revision: 51635
2010-08-25 09:29:56 +00:00
Brett Nash
25951149e6
Some ignores for the .git ppls.
...
SVN revision: 51625
2010-08-25 02:57:15 +00:00
Eduardo Felipe
7c94436ffc
Fix header include
...
The current way of including directfb.h makes it hard for people with multiple
versions of DirectFB installed.
This is the correct way to include that header, and it's the way
ecore_directfb does it.
Patch by: Eduardo Felipe <eduardofelipe87@gmail.com>
SVN revision: 51610
2010-08-24 11:47:41 +00:00
Carsten Haitzler
716211ade3
fix nasty uncaught clip + map bug! fix fix fix!!!!!
...
SVN revision: 51608
2010-08-24 08:14:46 +00:00
Brett Nash
5ba73113af
Do kerning correctly for word cache.
...
Technically this should speed it up a little. That's a nice change for a bug
fix ;-)
SVN revision: 51607
2010-08-24 08:14:20 +00:00
Brett Nash
4939e163c7
Fix potential crash with word cache and RTL
...
SVN revision: 51606
2010-08-24 08:14:15 +00:00
Brett Nash
e003086a5f
Locking same for both font rendering + whitespace.
...
SVN revision: 51605
2010-08-24 08:14:10 +00:00
Brett Nash
aeac043fdd
Remove pointless test (it's the loop invariant).
...
SVN revision: 51604
2010-08-24 08:14:05 +00:00
Carsten Haitzler
3222408fe5
1 bug-- ... when maps got enabled and disabled you'd find in softwarre
...
that you'd get dirty areas that didnt re-rneder. fixed with nasty hack
- force a full update if anyone in the evas object tree changed maps
from on to off and vice-versa
SVN revision: 51600
2010-08-24 06:58:07 +00:00
Carsten Haitzler
7b8a24e734
!! once
...
SVN revision: 51597
2010-08-24 02:56:04 +00:00
Carsten Haitzler
5598b6681c
nicer do !! once.
...
SVN revision: 51596
2010-08-24 02:55:09 +00:00
Carsten Haitzler
1c60a50441
i think i may have fixed a bug in mosue grabs. not sure though as
...
repod case eludes me - but a code review got me to clean a bit up.
SVN revision: 51595
2010-08-24 02:53:33 +00:00
Carsten Haitzler
079d796fbe
trying to clean up ccpcheck complaints - but this one is just stupid?
...
makes zero sense. as such so far cppcheck has only found maybe 10% of
its grumbling and bitching as real bugs. shutting it up in some cases
is possible. in others it's possible BUT with a possible performance
penalty. that's unacceptable. wondering what to do.
SVN revision: 51557
2010-08-22 23:00:47 +00:00
Carsten Haitzler
8601258d3f
leak--
...
SVN revision: 51555
2010-08-22 22:55:58 +00:00
Carsten Haitzler
e0e8a8eb42
lets happy-lucky-fun calloc shall we? make sure our structs are 0.
...
SVN revision: 51554
2010-08-22 22:51:46 +00:00
Tom Hacohen
735487e18e
Evas textblock: simplified descent calculation.
...
SVN revision: 51516
2010-08-22 12:26:40 +00:00
Tom Hacohen
818c1dbf64
Evas textblock: fixed most of the cases on which a cursor was not drawn correctly.
...
SVN revision: 51515
2010-08-22 11:00:45 +00:00
Lucas De Marchi
5a8a8c9014
Convert (hopefully) all comparisons to NULL
...
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
SVN revision: 51487
2010-08-21 13:52:25 +00:00
Carsten Haitzler
8b35111094
fix free shutdown of gl common part of gl engine -> gl pipes badbess.
...
SVN revision: 51485
2010-08-21 05:59:27 +00:00
Carsten Haitzler
fecdc23420
pass distcheck -> cedric! u br0ksed it!
...
SVN revision: 51458
2010-08-20 02:40:45 +00:00
Tom Hacohen
7967a59ef8
Evas textblock: Fixed range_text_get, no works when selecting text from multiple paragraphs.
...
SVN revision: 51392
2010-08-19 14:07:45 +00:00
Cedric BAIL
e6f9cee051
* eina: fix structure content to be more futur proof and reduce
...
risk of ABI breakage.
SVN revision: 51390
2010-08-19 12:02:28 +00:00
Carsten Haitzler
d9cef6b36e
gl-x11 enabled now by default if deps found. it's a 1st class citizen
...
these days. and - readme updated and up to snuff for --enable opts.
SVN revision: 51386
2010-08-19 08:22:44 +00:00
Tom Hacohen
75a676f945
Evas textblock: Improved the docs of the size get functions. It should now be clear exactly what they are about.
...
SVN revision: 51385
2010-08-19 07:46:32 +00:00
Carsten Haitzler
817c505230
remove transform stuff - never was implemented anyway so no effective
...
break.
SVN revision: 51384
2010-08-19 07:32:44 +00:00
Carsten Haitzler
a0d8db000e
and make dynamic hint actually work when we have zero-copy texture
...
support. fully ok now for argb8888.
SVN revision: 51380
2010-08-19 05:18:17 +00:00
Carsten Haitzler
c398484812
fix stride and hint setting so any order works.
...
SVN revision: 51379
2010-08-19 05:03:37 +00:00
Carsten Haitzler
83b73046ed
fix 2 unimplemented bits in dynamic texture stuff.
...
SVN revision: 51378
2010-08-19 03:30:47 +00:00
Lucas De Marchi
3c39c95844
Remove dead code
...
SVN revision: 51374
2010-08-18 23:32:15 +00:00
Christopher Michael
b1d8f83639
Oops, alpha is used.
...
SVN revision: 51289
2010-08-18 16:22:27 +00:00
Christopher Michael
b2b23358f4
Comment out some unused variables.
...
Fix some 'may be used uninitialized' warnings.
SVN revision: 51288
2010-08-18 16:08:30 +00:00
Christopher Michael
5d8d19dfeb
Comment out unused variable (commented out instead of removed as I am
...
not sure if it has a future use or not).
SVN revision: 51287
2010-08-18 16:03:22 +00:00
Christopher Michael
6459ec7b07
Remove/Comment out some unused variables.
...
SVN revision: 51286
2010-08-18 16:01:18 +00:00
Christopher Michael
75d0dc6e63
Add some missing functions that were EAPI'd, but not included in the
...
main header (This fixes some compiler warnings about implicit
declarations).
SVN revision: 51285
2010-08-18 15:52:16 +00:00
Christopher Michael
d8913429b0
Fix compiler warning: "declared static but never defined".
...
SVN revision: 51284
2010-08-18 15:43:38 +00:00
Christopher Michael
76bc67ea7c
Initialize var to Zero (remove compiler warning).
...
Remove Whitespace in cs_server.
SVN revision: 51283
2010-08-18 15:27:37 +00:00
Christopher Michael
cbe3c3a21c
Fix placement of __UNUSED__.
...
SVN revision: 51282
2010-08-18 15:20:48 +00:00
Cedric BAIL
c689865500
* evas: remove some warning.
...
SVN revision: 51281
2010-08-18 15:11:07 +00:00
Christopher Michael
00c661adab
Fix warnings about some unused paramaters (This does not cleanup all
...
the warnings, just the ones which were Obviously not used).
Evas_Object_Text.c: Fix big ole nasty oopsie in the declaration of
object_func: Was missing a NULL for can_map.
SVN revision: 51280
2010-08-18 14:44:23 +00:00
Tom Hacohen
f9db3d6b84
Evas textblock: Fixed range_delete with multiple paragraphs + cursor position after deletion.
...
Switched int -> size_t in a couple of places I forgot.
Fixed all of gcc's warnings when compiling with -Wextra.
SVN revision: 51278
2010-08-18 13:56:34 +00:00
Tom Hacohen
71f8122aab
Evas textblock: Fixed range_delete.
...
SVN revision: 51275
2010-08-18 12:29:20 +00:00
Carsten Haitzler
5a35d48384
fix direct egl img rgba ordering.
...
SVN revision: 51273
2010-08-18 09:53:14 +00:00
Carsten Haitzler
61a4f8a0fc
really minor - no api break. adding struct memmebrs that should have
...
been there. to implement request stuff properly. nothing breaks with
this. simply missing members we needed anyway.
SVN revision: 51270
2010-08-18 01:32:54 +00:00
Tom Hacohen
35f14c47e2
Evas textblock: render should be allowed to be passed an object with no paragraphs, but should just return and do nothing.
...
SVN revision: 51263
2010-08-17 17:55:48 +00:00
Tom Hacohen
ed847ee5aa
Evas font draw: Fixed a typo in font draw
...
SVN revision: 51254
2010-08-17 15:59:03 +00:00
Carsten Haitzler
a57d936d35
useful configure output for enabling gles
...
SVN revision: 51244
2010-08-17 08:42:37 +00:00
Cedric BAIL
b792eff62d
* evas: oops, that wasn't to be gone.
...
SVN revision: 51221
2010-08-16 16:13:41 +00:00
Cedric BAIL
05e8154f8b
* evas: remove gradient and gradient2.
...
SVN revision: 51219
2010-08-16 15:14:49 +00:00
Tom Hacohen
a0c3f2a405
Evas textblock: Added comment about styles in the docs.
...
SVN revision: 51209
2010-08-16 12:56:01 +00:00
Tom Hacohen
09d61da08b
Evas bidi: Added saftey conversions to make sure FriBidiChar and Eina_Unicode are really the same size.
...
SVN revision: 51208
2010-08-16 12:51:30 +00:00
Cedric BAIL
aa5d4fafc4
* evas: fix word/metric cache build.
...
SVN revision: 51204
2010-08-16 12:28:17 +00:00
Cedric BAIL
302e9e942e
* evas: unbreak pipe rendering.
...
SVN revision: 51202
2010-08-16 12:12:13 +00:00
Tom Hacohen
2f68e9299e
Evas: Fixed many compilation warnings.
...
1. Fixed evas_common_encoding_utf8 functions to get char * instead of unsigned char * and return Eina_Unicode instead of int.
2. Removed a couple of unused variables.
3. Removed deprecated evas_common_font_utf8* functions.
SVN revision: 51200
2010-08-16 10:46:56 +00:00
Tom Hacohen
1a979c596c
Evas textblock: Fix the inefficent ways used to get string length. No need to get length twice and strbuf has a very fast function to getting length, no need to get the string and the calc it's length.
...
SVN revision: 51182
2010-08-16 09:44:50 +00:00
Tom Hacohen
9a1e0eecda
Evas textblock: Fixed evas_textblock_cursor_paragraph_text_get to return markup.
...
SVN revision: 51181
2010-08-16 09:40:01 +00:00
Tom Hacohen
128e61649d
Evas textblock: removed two unwanted fixmes.
...
SVN revision: 51178
2010-08-16 09:18:09 +00:00
Tom Hacohen
424b7ed6b7
Evas textblock: Another fix to 'range_get' fixes the text getting and not just the mishandling of formats.
...
SVN revision: 51176
2010-08-16 09:08:01 +00:00
Carsten Haitzler
b9d5ce8e20
copy & paste fix.
...
SVN revision: 51172
2010-08-16 08:59:52 +00:00