Commit Graph

3071 Commits

Author SHA1 Message Date
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