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
Cedric BAIL
4e30cb2411
* edje: move structure from Eina_List to array now that Eet support
...
them.
SVN revision: 49936
2010-06-29 13:48:03 +00:00
Vincent Torri
11f53993b0
put __UNUSED__ after parameter, not before
...
SVN revision: 49935
2010-06-29 10:47:06 +00:00
Vincent Torri
383343f251
On Windows 64, long is of size 32 bits and not 64 bits. Also
...
LONG_BIT is not defined on Windows.
SVN revision: 49934
2010-06-29 05:29:50 +00:00
Cedric BAIL
5da985c981
* edje: add an cache for group exist test.
...
SVN revision: 49928
2010-06-28 17:18:47 +00:00
Cedric BAIL
e17a4089df
* edje: This is the first commit of a rewrite of edje file
...
internal representation.
The objectiv is to simplify code, consume less CPU and memory
without loosing feature. Please report any breakage when you
see them. It will take a few weeks before we change the file
layout, during that time the load time may increase.
SVN revision: 49922
2010-06-28 13:56:30 +00:00
Brett Nash
13fcfaa5a1
Neon fixes for text rendering
...
SVN revision: 49917
2010-06-28 05:21:34 +00:00
Brett Nash
5710adfa7b
whitespace --
...
SVN revision: 49916
2010-06-28 05:21:05 +00:00
Vincent Torri
b131dfc65c
export symbols on Windows
...
SVN revision: 49915
2010-06-28 05:15:44 +00:00
Brett Nash
ee5ef216ef
Suppress warnign about dropping const (AKA: C is stupid)
...
SVN revision: 49914
2010-06-28 05:14:36 +00:00
Vincent Torri
d2e2f572a1
export symbols on Windows
...
SVN revision: 49913
2010-06-28 05:11:28 +00:00
Vincent Torri
ae6a698ea1
on Windows, path delemiter is backslash and not slash
...
SVN revision: 49912
2010-06-28 05:06:28 +00:00
Carsten Haitzler
89baaff057
and final post snap - next releasename
...
SVN revision: 49903
2010-06-27 14:06:10 +00:00
Carsten Haitzler
00fb5063bd
post-release 1.3.3 - odd ver
...
SVN revision: 49901
2010-06-27 13:48:46 +00:00
Carsten Haitzler
83b36be7a3
snap+release
...
SVN revision: 49899
2010-06-27 13:45:27 +00:00
Carsten Haitzler
4d65425dd8
Snapshot efreet
...
SVN revision: 49895
2010-06-27 13:32:58 +00:00
Carsten Haitzler
ef41fb2d94
Snapshot edje
...
SVN revision: 49894
2010-06-27 13:32:53 +00:00
Carsten Haitzler
a476f3b144
Snapshot embryo
...
SVN revision: 49893
2010-06-27 13:32:49 +00:00
Carsten Haitzler
fc26ed3460
Snapshot ecore
...
SVN revision: 49892
2010-06-27 13:32:45 +00:00
Carsten Haitzler
5e26049385
Snapshot evas
...
SVN revision: 49891
2010-06-27 13:32:41 +00:00
Carsten Haitzler
e80d4cb49f
Snapshot eina
...
SVN revision: 49890
2010-06-27 13:32:37 +00:00
Carsten Haitzler
41e3461449
Release eet 1.3.2
...
SVN revision: 49888
2010-06-27 13:29:19 +00:00
Vincent Torri
a608450673
make eet unit tests compile on Windows
...
SVN revision: 49887
2010-06-27 12:10:46 +00:00
Vincent Torri
9a7760d37d
remove useless log domain
...
SVN revision: 49882
2010-06-26 19:41:41 +00:00
Vincent Torri
45ba76b16e
remove useless namespace
...
SVN revision: 49881
2010-06-26 19:41:04 +00:00
Vincent Torri
818fa06716
disable slave mode on Windows
...
SVN revision: 49879
2010-06-26 16:20:50 +00:00
Vincent Torri
eeddb1f399
fix returned type of callbacks
...
SVN revision: 49878
2010-06-26 15:38:50 +00:00
Vincent Torri
ed3725ddcd
fix returned type of callbacks
...
SVN revision: 49877
2010-06-26 15:35:30 +00:00
Vincent Torri
f5d7f3ea1a
printf modifiers are different on Windows
...
SVN revision: 49876
2010-06-26 14:26:54 +00:00
Vincent Torri
29c8151341
missing "
...
SVN revision: 49862
2010-06-25 10:12:23 +00:00
Brett Nash
22e2ac921c
Fic names of caching vars.
...
SVN revision: 49854
2010-06-25 08:52:37 +00:00
Carsten Haitzler
726b1ffb7f
faster single frame gen
...
SVN revision: 49853
2010-06-25 08:21:22 +00:00
Vincent Torri
096f2266ca
Windows can have both GnuTLS and OpenSSL installed too.
...
SVN revision: 49852
2010-06-25 07:57:08 +00:00
Vincent Torri
0adb87928c
improve configure output and make some tests more portable
...
SVN revision: 49851
2010-06-25 07:50:31 +00:00
Sebastian Dransfeld
bcb8744bc0
formatting
...
SVN revision: 49840
2010-06-25 01:44:30 +00:00
Sebastian Dransfeld
51c6fc3785
formatting
...
SVN revision: 49839
2010-06-25 01:38:50 +00:00
Sebastian Dransfeld
36b570e9bc
formatting
...
SVN revision: 49838
2010-06-24 19:34:15 +00:00
Christopher Michael
5b724d6089
Fix for recent Ecore Api changes.
...
SVN revision: 49837
2010-06-24 18:04:01 +00:00
Cedric BAIL
55524b4e87
* efreet: remove warning due to change in Ecore API.
...
SVN revision: 49831
2010-06-24 16:17:45 +00:00
Cedric BAIL
73ac5cdc95
* edje: remove warning due to API change in Ecore.
...
SVN revision: 49830
2010-06-24 16:16:50 +00:00
Cedric BAIL
fbe9064310
* ecore: Ecore callback really should return Eina_Bool.
...
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Vincent Torri
75d6f4ce18
fix test
...
SVN revision: 49823
2010-06-23 18:19:10 +00:00
Vincent Torri
c8caae0ae8
consider the case when lua has no .pc file
...
SVN revision: 49822
2010-06-23 18:17:14 +00:00
Vincent Torri
3a7d06b04d
fix linking with mingw
...
SVN revision: 49819
2010-06-23 15:51:20 +00:00
Vincent Torri
e103200963
fix linking with mingw
...
SVN revision: 49818
2010-06-23 15:50:19 +00:00
Vincent Torri
04222ac611
fix linking with mingw
...
SVN revision: 49817
2010-06-23 15:49:50 +00:00
Brett Nash
80e8016ce5
/me has done ecore-related thingies.
...
SVN revision: 49815
2010-06-23 08:53:54 +00:00
Brett Nash
5779ea8a4c
Pass original data to targest selections
...
Users of targets may well want the atoms anyway.
SVN revision: 49811
2010-06-23 08:01:43 +00:00
Tiago Rezende Campos Falcao
11ca8f8aa0
Extract the VBA file. And adding one metafile.
...
The metafile is for use with vim-addon-manager.
Read more in http://github.com/MarcWeber/vim-addon-manager/blob/master/doc/vim-addon-manager.txt
For future, merge with billiob's edc.vim.
SVN revision: 49799
2010-06-22 18:47:37 +00:00
Bruno Dilly
40db7f8c61
Add 3 missing symbols to escape strings
...
SVN revision: 49794
2010-06-22 14:01:50 +00:00
Carsten Haitzler
166dc4c594
try no surf/context etc. on free in egl.
...
SVN revision: 49790
2010-06-22 00:06:40 +00:00
Cedric BAIL
cf128ea0e4
* eina: improve quadtree to support more stuff needed by evas.
...
SVN revision: 49784
2010-06-21 13:17:09 +00:00
Carsten Haitzler
7f99f93744
use before freeing to make sure context is right
...
SVN revision: 49781
2010-06-21 07:59:46 +00:00
Vincent Torri
61753a99a6
fix eina_convert examples
...
SVN revision: 49774
2010-06-20 18:39:35 +00:00
Vincent Torri
abffc05885
useless file
...
SVN revision: 49766
2010-06-20 06:49:15 +00:00
Carsten Haitzler
a08e99cd82
warnings--
...
SVN revision: 49765
2010-06-20 06:32:05 +00:00
Iván Briano
47a7d86e5c
Add scale set/get to Edje_Edit.
...
By: Iván Briano <ivan@profusion.mobi>
SVN revision: 49746
2010-06-18 22:08:05 +00:00
Iván Briano
fe6fe835a5
Fixing verify and set problems in externals types
...
Edje Edit was writing the info in the struct before verify if the value
can be set. New the verify works and the old value is recover if verify
fails.
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49745
2010-06-18 22:07:54 +00:00
Cedric BAIL
a1bfc834d5
* configure.ac: take inept translation a little bit into account.
...
SVN revision: 49743
2010-06-18 14:45:42 +00:00
Vincent Torri
9ac5d78958
fix doc
...
SVN revision: 49740
2010-06-18 07:08:22 +00:00
Vincent Torri
30572d7efb
don't always add po/ subdir
...
SVN revision: 49739
2010-06-18 06:43:33 +00:00