Christopher Michael
c6f20a9cdf
Missed two .pc.in files on the header move there :(
...
SVN revision: 50144
2010-07-09 06:31:32 +00:00
Christopher Michael
4f972b800b
Move Efreet (and associated headers) to own dir.
...
SVN revision: 50143
2010-07-09 06:28:29 +00:00
Christopher Michael
bb651d8eb8
Move Ecore.h (and associated headers) to own dir.
...
SVN revision: 50142
2010-07-09 06:23:19 +00:00
Christopher Michael
fefbc09a63
Move Evas (and associated headers) to their own dir (ie: the 'eet.h'
...
move).
SVN revision: 50141
2010-07-09 06:10:55 +00:00
Carsten Haitzler
9f2028be95
message worketh now too.
...
SVN revision: 50140
2010-07-09 05:57:17 +00:00
Carsten Haitzler
519ca3be8b
lua2 getting gooooooooooooooood. message method still needs work.
...
SVN revision: 50139
2010-07-09 05:12:35 +00:00
Lucas De Marchi
442fe3afae
Add missing macros
...
Add missing EINA_SAFETY_ON_NULL_GOTO and define all the *GOTOs macros when
safety checks are disabled.
SVN revision: 50138
2010-07-09 03:27:04 +00:00
Carsten Haitzler
f723c133d7
more api. yo.
...
SVN revision: 50137
2010-07-09 00:46:42 +00:00
Gustavo Sverzut Barbieri
a2a0ab8d4c
Fix memory alignment and remove dead/useless code.
...
* those write to stderr were legacy from development, some of them
were even wrongly accessing out-of-buffer memory;
* some platforms cannot access non-aligned memory, like integers that
are not aligned to sizeof(int) and do on. Change the generated
message using memcpy to aligned memory before using them. Add
comment to explain that;
SVN revision: 50135
2010-07-08 22:37:04 +00:00
Lucas De Marchi
b07f70b85c
Update doc of eina_str_split functions
...
Mention that they can return NULL in case malloc() fails.
SVN revision: 50127
2010-07-08 15:08:31 +00:00
Carsten Haitzler
0a642224aa
hmm seems not kosher
...
SVN revision: 50122
2010-07-08 06:53:06 +00:00
Lucas De Marchi
9df58ae530
Remove NULL pointer dereference
...
Bug found by the "andand" semantic patch:
// The right argument of || or && is dereferencing something known to be NULL
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, INRIA, DIKU. GPLv2.
// URL: http://coccinelle.lip6.fr/rules/andand.html
// Options:
@ expression@
expression E;
identifier fld;
@@
- !E &&
+ !E ||
<+...E->fld...+>
@ expression@
expression E;
identifier fld;
@@
- E ||
+ E &&
<+...E->fld...+>
SVN revision: 50118
2010-07-08 03:21:33 +00:00
Carsten Haitzler
e9d4afc9d7
moved eet.h to its own dir - pkgconfig handles all the right stuff.
...
SVN revision: 50117
2010-07-08 03:05:00 +00:00
Lucas De Marchi
7c12cc36aa
Fixes for Ecore Api changes
...
Patch automatically generated by Coccinelle to fix the
callbacks used by the following functions:
* ecore_event_handler_add()
* ecore_event_filter_add()
* ecore_idler_add()
* ecore_idle_enterer_add()
* ecore_idle_enterer_before_add()
* ecore_idle_exiter_add()
* ecore_main_fd_handler_add()
* ecore_main_win32_handler_add()
* ecore_timer_add()
* ecore_timer_loop_add()
* ecore_animator_add()
* ecore_poller_add()
SVN revision: 50113
2010-07-08 01:00:48 +00:00
Lucas De Marchi
4686d20b47
Fixes for Ecore Api changes
...
Patch automatically by Coccinelle to fix the
callbacks used by the following functions:
* ecore_event_handler_add()
* ecore_event_filter_add()
* ecore_idler_add()
* ecore_idle_enterer_add()
* ecore_idle_enterer_before_add()
* ecore_idle_exiter_add()
* ecore_main_fd_handler_add()
* ecore_main_win32_handler_add()
* ecore_timer_add()
* ecore_timer_loop_add()
* ecore_animator_add()
* ecore_poller_add()
SVN revision: 50099
2010-07-08 00:51:55 +00:00
Carsten Haitzler
3f941f2e46
bah! i didnt mean to add this "make 2 of them" test to svn. remove.
...
SVN revision: 50097
2010-07-07 23:39:12 +00:00
Carsten Haitzler
bf32b545f3
notes, setjmp safety for panics.
...
SVN revision: 50092
2010-07-07 03:24:05 +00:00
Carsten Haitzler
ba9137e404
more time calls.
...
SVN revision: 50091
2010-07-07 02:40:46 +00:00
Carsten Haitzler
06dd419b4b
transition++
...
SVN revision: 50089
2010-07-07 00:58:34 +00:00
Carsten Haitzler
d26b1c46fd
animator works.
...
SVN revision: 50088
2010-07-07 00:19:39 +00:00
Lucas De Marchi
62391791bf
Move ifdefs
...
Much better and readable, with less code and the same result. Moreover this
makes some parsers not to kill themselves.
SVN revision: 50069
2010-07-06 17:20:30 +00:00
Lucas De Marchi
93f03880bd
Do not purify what's impure
...
Two tests were failing, but no more.
SVN revision: 50067
2010-07-06 15:50:15 +00:00
Gustavo Sverzut Barbieri
5b03bc86ec
add some gcc modifiers: non-null args, warn unused results and malloc.
...
SVN revision: 50066
2010-07-06 15:48:24 +00:00
Gustavo Sverzut Barbieri
ed15713785
add eina_file_direct_ls()
...
Similar to eina_file_ls(), but useful when one wants to apply some
filters to the names before using them as it provides sizes of the
whole path and basename, index of the basename inside the path, dirent
structure for reference (skip directories, etc) and last but not
least, it is faster as it does not stringshare or even builds the full
path at each iteration, instead it keeps the invariant prefix
untouched and just copy the filename.
All in all this is a faster version of eina_file_ls(), use it as
possible as it will avoid overheads.
SVN revision: 50065
2010-07-06 15:45:12 +00:00
Lucas De Marchi
33892c5fc4
Do not clobber type with var name
...
value => val, because value is a pre-defined type
SVN revision: 50063
2010-07-06 14:16:41 +00:00
Carsten Haitzler
ec1bf49da9
lua2 stuff.
...
SVN revision: 50061
2010-07-06 09:35:34 +00:00
Lucas De Marchi
c7d1c78c46
Finish fixing int => Eina_Bool
...
A buggy standard.h caused some parser errors in the previous committed
patch generated by Coccinelle. This commit find the other places.
SVN revision: 50052
2010-07-06 00:08:52 +00:00
Brett Nash
8dfc47998e
Add more control over word-cache size. Also really fix my leak on international text.
...
The new wordcache option is an environment variable called:
EVAS_WORD_CACHE_MAX_WORDS
set this to a number between 1-500 to change the cache size.
Larger values (40+) fix regressions in a few of the expedite tests.
SVN revision: 50047
2010-07-05 06:40:20 +00:00
Brett Nash
1c185410b4
Old bug: Don't suffer from buffer overflow in readlink.
...
SVN revision: 50040
2010-07-05 04:11:53 +00:00
Iván Briano
b895f0c07f
Re-convert to old format on Edje_Edit when saving
...
SVN revision: 50016
2010-07-03 22:50:58 +00:00
Lucas De Marchi
622d0a901f
segv--
...
SVN revision: 50011
2010-07-03 15:48:01 +00:00
Rui Seabra
b4fe249fce
edje_convert.h wasn't included in make dist
...
SVN revision: 50010
2010-07-03 11:26:00 +00:00
Mike Blumenkrantz
b3a4801b79
fix leak in free
...
SVN revision: 50009
2010-07-03 05:29:31 +00:00
Nicholas Hughart
520441b412
Fix a couple of missed Eina_Bool conversions
...
SVN revision: 50007
2010-07-03 03:07:28 +00:00
Jonathan Atton
88c1bf3585
Fix research with Alias
...
SVN revision: 50003
2010-07-02 18:17:37 +00:00
Cedric BAIL
d4059c7107
* eina: rename ecore_file_ls_iterator to eina_file_ls.
...
SVN revision: 50002
2010-07-02 17:23:05 +00:00
Cedric BAIL
9560d51241
* edje: Add alias for part too. This should help designer to
...
provide the right part name and still use GROUP and BOX.
SVN revision: 50001
2010-07-02 16:56:42 +00:00
Cedric BAIL
f424ca1e1e
* ecore: for the 50 000 commits, why not adding some docs ?
...
SVN revision: 50000
2010-07-02 16:01:21 +00:00
Cedric BAIL
ba95606159
* edje: prevent some segv in edje_cc and detect wrong edje file
...
before compiling them.
Patch by Rafael Fonseca <rfonseca@profusion.mobi>.
SVN revision: 49999
2010-07-02 15:37:37 +00:00
Cedric BAIL
87b85132dd
* ecore: add ecore_file_ls_iterator.
...
SVN revision: 49997
2010-07-02 15:25:22 +00:00
Cedric BAIL
062f4c3920
* ecore: fix long run thread, now that I have a nice user.
...
SVN revision: 49994
2010-07-02 11:15:20 +00:00
Brett Nash
977221953e
Stringshare doesn't have a 64k limit. Don't say it does.
...
SVN revision: 49992
2010-07-02 08:56:09 +00:00
Brett Nash
daa5685bd3
Don't check alloca, it's like checking the stack exists.
...
SVN revision: 49991
2010-07-02 08:31:12 +00:00
Brett Nash
0227f22ad7
Some fixes for internation support and word cache
...
SVN revision: 49990
2010-07-02 07:05:20 +00:00
Brett Nash
59bbcfbb8a
Put a FIXME where someone doesn't understand alloca.
...
SVN revision: 49989
2010-07-02 06:53:41 +00:00
Brett Nash
b304ae1642
Only use work and metric cacheing on 3 character or longer strings.
...
SVN revision: 49988
2010-07-02 06:47:22 +00:00
Brett Nash
ac552cd762
Renable 'free' for word cache
...
SVN revision: 49986
2010-07-02 02:20:11 +00:00
Lucas De Marchi
7051feb04e
Fix callback signatures
...
The change from returning int to Eina_Bool left several call sites with
warnings because they were not updated. Here they are fixed by using
Coccinelle, a tool that allows us to automate tasks like that. This
commit was generated from the following semantic patch:
virtual org
@r1@
identifier fn!=NULL, fn2;
expression E1, E2, E3;
@@
(
ecore_event_handler_add(E1, fn, ...)
|
ecore_event_filter_add(E1, fn, ...)
|
ecore_idler_add(fn, ...)
|
ecore_idle_enterer_add(E1, fn, ...)
|
ecore_idle_enterer_before_add(E1, fn, ...)
|
ecore_idle_exiter_add(E1, fn, ...)
|
ecore_main_fd_handler_add(E1, E2, fn, E3, fn2, ...)
|
ecore_main_win32_handler_add(E1, fn, ...)
|
ecore_timer_add(E1, fn, ...)
|
ecore_timer_loop_add(E1, fn, ...)
|
ecore_animator_add(fn, ...)
|
ecore_poller_add(E1, E2, fn, ...)
)
@r2@
identifier r1.fn;
identifier ret;
typedef Eina_Bool;
position p;
@@
- int
+ Eina_Bool
fn@p(...) {
<...
(
- return 1;
+ return EINA_TRUE;
|
- return 0;
+ return EINA_FALSE;
|
- int
+ Eina_Bool
ret;
...
return <+...ret...+>;
|
return ...;
)
...>
}
@r3@
identifier r1.fn2;
identifier ret;
position p;
@@
- int
+ Eina_Bool
fn2@p(...) {
...
(
- return 1;
+ return EINA_TRUE;
|
- return 0;
+ return EINA_FALSE;
|
- int
+ Eina_Bool
ret;
...
return <+...ret...+>;
|
return ...;
)
...
}
@r4@
identifier r1.fn;
@@
- int
+ Eina_Bool
fn(...);
@r5@
identifier r1.fn2;
@@
- int
+ Eina_Bool
fn2(...);
@script:python depends on org@
p << r2.p;
f << r1.fn;
@@
import sys
msg="WARNING: wrong callback %s! ( %s:%s )" % (f, p[0].file,p[0].line)
print >> sys.stderr, msg
@script:python depends on org@
p << r3.p;
f << r1.fn2;
@@
import sys
msg="WARNING: wrong callback %s! ( %s:%s )" % (f, p[0].file,p[0].line)
print >> sys.stderr, msg
SVN revision: 49985
2010-07-02 01:38:05 +00:00
Brett Nash
4b7cab6ed4
Not pure, don't need to care about results.
...
Code with side effects is NOT pure. Cdoe where you can ignore the return
value because you care about the side effects should not have WARN_UNUSED...
Please only add such things when you've checked
SVN revision: 49984
2010-07-02 00:44:03 +00:00
Brett Nash
bb4c28dbb1
Commit ecore_evas_ecore_evases get
...
Coming soon:
ecore_ecore_evas_evas_get
evas_ecore_ecore_evas_get
get_ecore_evas_ecore_evas_name_gen()
SVN revision: 49983
2010-07-02 00:32:56 +00:00