Vincent Torri
|
2e004582d7
|
add mempool description in the doc
SVN revision: 46307
|
2010-02-19 13:42:34 +00:00 |
Sebastian Dransfeld
|
0b3bea06ec
|
Include safety checks before function include
SVN revision: 46169
|
2010-02-14 19:01:51 +00:00 |
Sebastian Dransfeld
|
7ae4c793e7
|
safety checks
SVN revision: 46155
|
2010-02-13 19:26:34 +00:00 |
Sebastian Dransfeld
|
5c49be6e01
|
Add const where we don't modify pointer
SVN revision: 46153
|
2010-02-13 19:06:16 +00:00 |
Sebastian Dransfeld
|
d7b706e4f6
|
Add eina unlikely to alloc errors
SVN revision: 46152
|
2010-02-13 18:55:47 +00:00 |
Vincent Torri
|
b87e1d6fae
|
* -fno-strict-aliasing is checked at linked time (to make sure
that it is disabled for suncc)
* add old evas data types in tests. Tell me if you encounter problems
with them
SVN revision: 46136
|
2010-02-13 12:32:22 +00:00 |
Iván Briano
|
071969c41f
|
Use length of source string to copy.
SVN revision: 46114
|
2010-02-12 14:58:00 +00:00 |
Vincent Torri
|
4b5ea14fbb
|
formatting
SVN revision: 46109
|
2010-02-12 07:32:11 +00:00 |
Vincent Torri
|
1213602ae5
|
constants should be unsigned
SVN revision: 46108
|
2010-02-12 07:27:27 +00:00 |
Sebastian Dransfeld
|
852f9e8ac5
|
We always need to null terminate
SVN revision: 46107
|
2010-02-12 06:33:31 +00:00 |
Sebastian Dransfeld
|
fb8d1dc110
|
Since we know we have enough space, use memcpy
SVN revision: 46103
|
2010-02-11 22:00:02 +00:00 |
Sebastian Dransfeld
|
f70c4ebe1f
|
And only log when debug
SVN revision: 46102
|
2010-02-11 21:56:31 +00:00 |
Sebastian Dransfeld
|
9df3524f3a
|
Good coverage for strbuf
SVN revision: 46101
|
2010-02-11 21:53:00 +00:00 |
Sebastian Dransfeld
|
8f5d0ecfb4
|
Don't timeout
SVN revision: 46099
|
2010-02-11 21:30:57 +00:00 |
Sebastian Dransfeld
|
e699b67248
|
Only test built mempools
SVN revision: 46096
|
2010-02-11 21:21:22 +00:00 |
Sebastian Dransfeld
|
a28ba1876e
|
More tests for strbuf
SVN revision: 46095
|
2010-02-11 21:21:12 +00:00 |
Sebastian Dransfeld
|
b2fbe0f2b2
|
Use eina_log
SVN revision: 46094
|
2010-02-11 21:20:52 +00:00 |
Sebastian Dransfeld
|
0ed3fb726b
|
Tests for strbuf
SVN revision: 46089
|
2010-02-11 20:08:52 +00:00 |
Vincent Torri
|
b49d61f502
|
missing "
SVN revision: 46087
|
2010-02-11 18:54:04 +00:00 |
Gustavo Sverzut Barbieri
|
9cce47d3b8
|
let's not return NULL but a more useful result.
SVN revision: 46086
|
2010-02-11 18:49:12 +00:00 |
Vincent Torri
|
ed57ba09ed
|
no arithmetic pointer on void *
SVN revision: 46085
|
2010-02-11 18:47:11 +00:00 |
Christopher Michael
|
e9bc23874c
|
Fix typo in doc.
SVN revision: 46083
|
2010-02-11 17:38:24 +00:00 |
Vincent Torri
|
b64d398ffd
|
warnings--
SVN revision: 46079
|
2010-02-11 15:29:20 +00:00 |
Vincent Torri
|
f8e1057fc0
|
warning--
SVN revision: 46078
|
2010-02-11 15:22:41 +00:00 |
Sebastian Dransfeld
|
229e5de19d
|
remove trailing whitespace
SVN revision: 46029
|
2010-02-09 21:12:03 +00:00 |
Sebastian Dransfeld
|
5847c6f245
|
string_remove -> string_steal
Better naming
SVN revision: 46028
|
2010-02-09 21:06:27 +00:00 |
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 |
Cedric BAIL
|
13df61db0d
|
* eina: Remove warning in eina_stringshare.
SVN revision: 46009
|
2010-02-09 12:59:31 +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 |
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
|
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 |