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
Iván Briano
b9d2cf0983
Fix nasty cenourette.
...
Also from Raphael Kubo, you can ask him what the commit message means (rakuco around the irc plane of existence)
SVN revision: 49976
2010-07-01 19:54:47 +00:00
Iván Briano
8e50bcb41b
More from Raphael Kubo, register log domains
...
SVN revision: 49975
2010-07-01 19:48:54 +00:00
Iván Briano
01b6434842
From Raphael Kubo da Costa, fix callbacks to match Ecore changes
...
SVN revision: 49974
2010-07-01 19:42:12 +00:00
Carsten Haitzler
5716032298
no! include this!
...
SVN revision: 49961
2010-07-01 05:06:23 +00:00
Carsten Haitzler
41e2c165ec
ok - i think this can double-check if neon code can be compiled at all.
...
SVN revision: 49960
2010-07-01 04:52:45 +00:00
Lucas De Marchi
e502081fa3
Use macro to get container of inlist
...
Revove warning.
SVN revision: 49959
2010-07-01 03:12:14 +00:00
Carsten Haitzler
65ee259ada
code example wrong
...
SVN revision: 49957
2010-07-01 02:42:57 +00:00
Gustavo Lima Chaves
e868c81b30
Documentation fix for eina iterators.
...
SVN revision: 49951
2010-06-30 18:41:16 +00:00
Tom Hacohen
3e2b214065
evas: Removed the obsolete Arabic shaping as it's now done in FrBiDi (starting from version 0.19.2).
...
If you are having any problems with Arabic shaping please make sure you have FriBiDi version 0.19.2 installed at the time of compilation. If your distro doesn't have that version yet, make them upgrade, it's an year and a half old.
SVN revision: 49949
2010-06-30 16:51:49 +00:00
Cedric BAIL
d1fcb71f84
* ecore: add ecore_long_run facility with notify to main loop.
...
SVN revision: 49948
2010-06-30 13:25:28 +00:00
Cedric BAIL
c2b8feda9e
* Edje: deprecate Gradient part by displaying an error message
...
on edje file load.
WARNING: THIS CODE WILL BE GONE IF NO ONE IS WILLING TO TAKE
MAINTAINER SHIP OF IT.
SVN revision: 49946
2010-06-30 09:49:15 +00:00
Cedric BAIL
7d75cf9914
* Evas: deprecating gradient API.
...
WARNING: I AM SORRY, BUT IF NO ONE IS PLANNING TO BECOME
THE EFFECTIVE MAINTAINER OF THAT PIECE OF CODE, I WILL
REMOVE IT NEXT WEEK.
SVN revision: 49945
2010-06-30 09:47:55 +00:00
Cedric BAIL
6df28268ca
* eet: add support for eet_alias.
...
SVN revision: 49939
2010-06-29 16:20:23 +00:00