Commit Graph

8894 Commits

Author SHA1 Message Date
Sebastian Dransfeld fe99f062e9 Check whether alloc works, return false on error
SVN revision: 46027
2010-02-09 21:06:16 +00:00
Sebastian Dransfeld 459fef8aea unset eina magic on free
SVN revision: 46026
2010-02-09 21:06:06 +00:00
Sebastian Dransfeld dca87fdf87 Typo
SVN revision: 46025
2010-02-09 21:05:56 +00:00
Sebastian Dransfeld 3d6a752111 Add simple test for strbuf
Need more

SVN revision: 46024
2010-02-09 21:05:47 +00:00
Sebastian Dransfeld d8d808d161 Make clang happy
SVN revision: 46023
2010-02-09 21:04:56 +00:00
Cedric BAIL 13df61db0d * eina: Remove warning in eina_stringshare.
SVN revision: 46009
2010-02-09 12:59:31 +00:00
Gustavo Lima Chaves a4348185b2 Fix emotion compilation on fedora9, by jprvita.
SVN revision: 46008
2010-02-09 12:59:29 +00:00
Gustavo Sverzut Barbieri c52d867527 delete trailing whitespace.
SVN revision: 46002
2010-02-09 03:00:47 +00:00
Gustavo Sverzut Barbieri 728f10a269 delete trailing whitespace.
SVN revision: 46001
2010-02-09 02:51:23 +00:00
Gustavo Sverzut Barbieri 7e043d87c8 apply global log level if global domain exists.
This allows setting global log level after eina_init() and have it to
behave properly.



SVN revision: 45999
2010-02-09 02:14:40 +00:00
Gustavo Sverzut Barbieri ebed1f20fe minor matching speedups.
keep log level name size (namelen) and use it before strcmp().



SVN revision: 45998
2010-02-09 02:13:55 +00:00
Gustavo Sverzut Barbieri 0b2b716214 just try fnmatch (glob) if no specific level was set.
SVN revision: 45997
2010-02-09 01:47:52 +00:00
Gustavo Sverzut Barbieri 191d87d78a eina log level utilities.
couple of functions that are useful outside and should be fast.



SVN revision: 45996
2010-02-09 01:43:58 +00:00
Gustavo Sverzut Barbieri f7cd9786f1 eina log parameters getters and setters.
allow external users to check or set flags that are initialized based
on environment variables such as EINA_LOG_COLOR_DISABLE.



SVN revision: 45995
2010-02-09 00:52:00 +00:00
Iván Briano 752a730b38 More parentheses so the macro works inside if()
SVN revision: 45992
2010-02-08 21:20:28 +00:00
Luis Felipe Strano Moraes b9ef31f902 Add missing CFLAGS for ethumb.
SVN revision: 45991
2010-02-08 20:26:45 +00:00
Sebastian Dransfeld 6f2038b6e7 Create path to file if not exists
Fixes bug #513

SVN revision: 45990
2010-02-08 19:27:58 +00:00
Gustavo Sverzut Barbieri c87dbf93ab disable color based on $TERM and isatty().
Smarter eina log that disables color automatically based on $TERM and
isatty of output file descriptor.



SVN revision: 45988
2010-02-08 17:53:22 +00:00
Vincent Torri b2082d7527 compile also gl_common when gl engines are static
SVN revision: 45987
2010-02-08 16:14:32 +00:00
Vincent Torri 4fd8d21586 * include stdlib.h so that NULL is always defined
* restore LIBS when iconv library is not found


SVN revision: 45986
2010-02-08 15:25:46 +00:00
Vincent Torri 8840ed4118 on some platform, iconv.h defines iconv() with a macro,
hence the check with AC_SEARCH_LIBS s not sufficient. So
we link a complete program.


SVN revision: 45981
2010-02-08 13:14:30 +00:00
Michael Jennings d52b70b3b7 Fix build on RHEL5.
SVN revision: 45973
2010-02-08 07:07:20 +00:00
Vincent Torri 6ac6ee026c * fix compilation when iconv.h is detected but libiconv is not
* fix warning and clang report


SVN revision: 45970
2010-02-07 20:46:39 +00:00
Sebastian Dransfeld f285bc7ae9 And since resize adds + 1 to size, grow must do to
SVN revision: 45969
2010-02-07 19:31:26 +00:00
Sebastian Dransfeld 216aabeaa0 And add () for increased safety
SVN revision: 45968
2010-02-07 19:30:01 +00:00
Sebastian Dransfeld 95d903dab7 And correct return type
SVN revision: 45967
2010-02-07 19:24:28 +00:00
Sebastian Dransfeld 69368ae6bd Fix return values
If we don't need to grow, return EINA_TRUE.
Use EINA_TRUE and EINA_FALSE where possible.

SVN revision: 45966
2010-02-07 19:22:04 +00:00
dieb 470188ca4f Eina: fix compilation on strbuf.
SVN revision: 45965
2010-02-07 17:33:26 +00:00
Sebastian Dransfeld 0cead88ce8 Don't change size, since we don't realloc
Thanks Peter

SVN revision: 45964
2010-02-07 12:23:27 +00:00
Sebastian Dransfeld 5408dedfe7 Don't shrink when we append
SVN revision: 45963
2010-02-07 12:21:28 +00:00
Sebastian Dransfeld 5b5107471f Work with escaped string
SVN revision: 45962
2010-02-07 12:21:07 +00:00
Christopher Michael 5306e3c050 No need to include sys/types twice.
SVN revision: 45954
2010-02-06 22:14:32 +00:00
Sebastian Dransfeld c4ac21cc74 Use eina_strbuf_reset to reduce realloc
SVN revision: 45953
2010-02-06 21:43:32 +00:00
Sebastian Dransfeld 2587c28d9a Add eina_strbuf_reset
Function to reset the internal string, so we can reuse the allocated
mem.

SVN revision: 45952
2010-02-06 21:43:22 +00:00
Sebastian Dransfeld fc5f097b7e internal strbuf -> eina_strbuf
SVN revision: 45951
2010-02-06 21:43:12 +00:00
Sebastian Dransfeld 522a0ab1ab Add eina_strbuf_append_escaped for edje
SVN revision: 45950
2010-02-06 21:43:02 +00:00
Sebastian Dransfeld 72fccca0eb Add eina_str_escape
SVN revision: 45949
2010-02-06 21:42:51 +00:00
Sebastian Dransfeld b7e2624123 internal strbuf -> eina_strbuf
SVN revision: 45948
2010-02-06 21:42:37 +00:00
Sebastian Dransfeld da1b1ee801 Add shrink buffer code
SVN revision: 45946
2010-02-06 20:42:14 +00:00
Sebastian Dransfeld f99d9ccf4b Simpler to use _eina_strbuf_resize
Add space for '\0' in _eina_strbuf_resize, so that we alwyas just pass
inn the wanted string space as requirement.

Correct len in eina_strbuf_append_n, we needed +1 for '\0' for resize
and strlcpy, but not for ->len

SVN revision: 45945
2010-02-06 20:42:03 +00:00
Sebastian Dransfeld 26ddf06980 Switch internal strbuf to eina strbuf
SVN revision: 45944
2010-02-06 20:41:53 +00:00
Sebastian Dransfeld 4a1ac380b1 Add functions to match evas strbuf
SVN revision: 45943
2010-02-06 20:41:43 +00:00
Sebastian Dransfeld ac60497dbf EINA_ARG_NONNULL
SVN revision: 45942
2010-02-06 20:41:32 +00:00
Sebastian Dransfeld 99536f0736 Include own header to be sure prototypes match
SVN revision: 45941
2010-02-06 20:41:17 +00:00
Vincent Torri c154976372 fix ecore_input shutdown
SVN revision: 45930
2010-02-06 10:13:41 +00:00
Carsten Haitzler 353f4bb6ec reduce binds when things get clipped and split.
SVN revision: 45928
2010-02-06 08:38:26 +00:00
Gustavo Sverzut Barbieri ff3c762ba5 support for explicit disable of ecore-x extensions and tslib.
Avoid automagic detecting extensions such as Xprint, Xdamage and
friends, as well as for tslib if ecore-fb is in use.

This should help build systems avoid linkage with those even if they
are present when Ecore is built.



SVN revision: 45918
2010-02-06 00:19:46 +00:00
Gustavo Lima Chaves f61a15fba9 Group-level data edc blocks manipulation API for Edje_Edit.
SVN revision: 45903
2010-02-05 16:39:06 +00:00
Luis Felipe Strano Moraes b08434f220 Bumping version of emotion.
SVN revision: 45886
2010-02-04 20:52:13 +00:00
Vincent Torri bc32b64121 useless linker flag
SVN revision: 45884
2010-02-04 20:48:56 +00:00