Commit Graph

10685 Commits

Author SHA1 Message Date
Cedric BAIL b10e598f52 * edje: add back anonymous script.
SVN revision: 51617
2010-08-24 16:39:51 +00:00
Iván Briano 1959f2cfa7 Leak--
By Fidencio


SVN revision: 51616
2010-08-24 14:36:29 +00:00
Iván Briano cf45f61885 Fixing return of edje_edit_fonts_list_get
The fuction was returning a private type (as
_Edje_Font_Directory_Entry) and an EAPI should *never*
return and private type.

By Fabiano Fidencio



SVN revision: 51615
2010-08-24 14:36:07 +00:00
Iván Briano 42b3ccd05a Fixing {font,image}_del's ret when file not exist
When a file not exist, now, we're returning EINA_FALSE.
It's according with eina_hash_del()'s behavior.

By Fabiano Fidencio



SVN revision: 51614
2010-08-24 14:35:37 +00:00
Cedric BAIL 1f0b19c4b4 * edje: add back anonymous program support.
SVN revision: 51613
2010-08-24 14:17:17 +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 864fcb6c17 fix sync issue in 1 special event re-order case. booo!
SVN revision: 51609
2010-08-24 09:26:34 +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
Vincent Torri 7d75cc4a1d Remove the possibility to build ecore_config (which was deprecated anyway).
It will be raised from dead later, with a better API/code


SVN revision: 51599
2010-08-24 06:37:37 +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
Cedric BAIL 5857b6030f * edje: prevent segv when no param is given to edje_convert.
SVN revision: 51575
2010-08-23 14:44:04 +00:00
Cedric BAIL 243d7c71ad * ecore: struct a b = { 0 }; doesn't mean memset.
SVN revision: 51571
2010-08-23 13:05:57 +00:00
Vincent Torri 4bd1f6ad99 remove -pedantic, too much noise
SVN revision: 51565
2010-08-23 06:53:43 +00:00
Carsten Haitzler 1bc1701498 cl.
SVN revision: 51558
2010-08-22 23:01:32 +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
Carsten Haitzler 1412fb1c94 and cppcheck yes -> init to NULL so check and free works.
SVN revision: 51550
2010-08-22 22:39:26 +00:00
Carsten Haitzler 8093b21ddb cppcheck -> shhh. yes. we know. leak.
SVN revision: 51549
2010-08-22 22:38:06 +00:00
Carsten Haitzler ed78d8a36b mempool -> init the mempool with calloc. we cannot know for sure the
mempool backend inits all members, so make sure they are set to 0. not
a cost worth quibbling over. how many mempools do you really create
during the life of an app?



SVN revision: 51548
2010-08-22 22:35:24 +00:00
Carsten Haitzler 9b006054b7 again -> shut cppcheck up.
SVN revision: 51547
2010-08-22 22:32:30 +00:00
Carsten Haitzler b1dee3fc6d leak-- in win32 code.
SVN revision: 51546
2010-08-22 22:30:55 +00:00
Carsten Haitzler 64d565228a cppcheck doesn't like it if u dont first init all data before using
contents of that struct (minus the thing u are about to set)



SVN revision: 51545
2010-08-22 22:29:25 +00:00
Carsten Haitzler 22b5ace2ab more check cleans (bogus actually too - but you guys like to shut up
warnings don't you?)



SVN revision: 51544
2010-08-22 22:21:41 +00:00
Carsten Haitzler a6b6b95e62 make src also do what dest did - calloc.
SVN revision: 51543
2010-08-22 22:15:19 +00:00
Carsten Haitzler b5442a7d86 calloc dst mgr to be sure.
SVN revision: 51542
2010-08-22 22:10:29 +00:00
Vincent Torri 838b550407 get the verbosity with the env variable CK_VERBOSITY. By default, nothing is changed.
SVN revision: 51536
2010-08-22 17:59:03 +00:00
Vincent Torri 402c60b18b get the verbosity with the env variable CK_VERBOSITY. By default, nothing is changed.
SVN revision: 51535
2010-08-22 17:58:01 +00:00
Vincent Torri 426da862ae get the verbosity with the env variable CK_VERBOSITY. By default, nothing is changed.
Values for CK_VERBOSITY:
silent
minimal
normal (the default)
verbose

Ex. of use:

CK_VERBOSITY=verbose make check


SVN revision: 51534
2010-08-22 17:53:01 +00:00
Vincent Torri bb17bf9216 separate the Ecore_X test from the Ecore one
SVN revision: 51533
2010-08-22 17:38:51 +00:00
Vincent Torri 0d89124a68 * add more checks
* add comments about strange code


SVN revision: 51525
2010-08-22 17:14:05 +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
Carsten Haitzler e9acd2dfc8 on advice of vtorri <- revert until proven that limits.h works on
these other os's.



SVN revision: 51512
2010-08-22 06:00:13 +00:00
Carsten Haitzler eb1a43bfbf oops - formatting at start too - not just end
SVN revision: 51510
2010-08-22 05:47:44 +00:00
Carsten Haitzler 1974702021 fmting
SVN revision: 51507
2010-08-22 02:32:47 +00:00
Joerg Sonnenberger 4497367d7f From: Joerg Sonnenberger <joerg@britannica.bec.de>
pthread_t is opaque, so make less assumptions...



SVN revision: 51506
2010-08-22 01:15:47 +00:00
Joerg Sonnenberger 527f011af9 From: Joerg Sonnenberger <joerg@britannica.bec.de>
Use portable header to work on all POSIX compliant systems.
Doesn't break non-POSIX systems as limits.h is a C90 header.



SVN revision: 51505
2010-08-22 01:15:18 +00:00
Vincent Torri 2e92fe0223 update vcproj files
SVN revision: 51498
2010-08-21 18:41:11 +00:00
Vincent Torri 0686aa04af add vasprintf declaration on Windows
SVN revision: 51497
2010-08-21 17:25:46 +00:00
Carsten Haitzler 87891e6af7 just so you know it was called small earlier with that license.
SVN revision: 51489
2010-08-21 14:28:38 +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