Mike Blumenkrantz
7d3bf122ac
on the fifth day the rasterman said "let there be docs for hash tables!"
...
but there were no docs for hash tables because k-s and cedric were busy writing new functions for hash tables. so rasterman again said "let there be docs for hash tables! really guys, I mean it this time!"
and this time there were docs, but these docs were incomplete and in some places vague and misleading.
these docs frustrated little discomfitor, who had just healed up after learning to ride his edje bicycle and was just starting to read. so he read all that he could, and then he started to write. he wrote his little heart out until finally there were more docs for hash tables like the rasterman had wanted.
then he went and got ice cream.
The End.
SVN revision: 50313
2010-07-18 03:29:10 +00:00
Lucas De Marchi
749cc7478c
Remove unneeded code with notnull.cocci script
...
This continues previous commit with more complex places, where it required
more than just removing some "ifs".
SVN revision: 50242
2010-07-14 02:20:30 +00:00
Vincent Torri
c7bb6d41f5
include sys/syslimits.h on mac os x for PATH_MAX and NAME_MAX
...
i really dislike having PATH_MAX in a header file...
SVN revision: 50231
2010-07-13 19:17:35 +00:00
Vincent Torri
84efd3507f
leak--, thanks cedric
...
SVN revision: 50225
2010-07-13 16:43:15 +00:00
Vincent Torri
971f0800ca
useless headers now
...
SVN revision: 50221
2010-07-13 13:57:21 +00:00
Vincent Torri
c97a897584
use Win32 native mutex on Windows. To use it, pass the following option
...
to configure:
--enable-win32-threads
By default, pthreads are used
SVN revision: 50220
2010-07-13 13:51:00 +00:00
Vincent Torri
9f425c5892
make it compile on Windows
...
SVN revision: 50219
2010-07-13 13:08:14 +00:00
Vincent Torri
fd59d59930
newline --
...
SVN revision: 50218
2010-07-13 12:49:37 +00:00
Vincent Torri
c012d2e7f6
fix compilation on Windows
...
SVN revision: 50179
2010-07-11 11:52:43 +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
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
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
Cedric BAIL
d4059c7107
* eina: rename ecore_file_ls_iterator to eina_file_ls.
...
SVN revision: 50002
2010-07-02 17:23:05 +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
Gustavo Lima Chaves
e868c81b30
Documentation fix for eina iterators.
...
SVN revision: 49951
2010-06-30 18:41:16 +00:00
Vincent Torri
b131dfc65c
export symbols on Windows
...
SVN revision: 49915
2010-06-28 05:15:44 +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
Vincent Torri
f5d7f3ea1a
printf modifiers are different on Windows
...
SVN revision: 49876
2010-06-26 14:26:54 +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
Vincent Torri
61753a99a6
fix eina_convert examples
...
SVN revision: 49774
2010-06-20 18:39:35 +00:00
Vincent Torri
9ac5d78958
fix doc
...
SVN revision: 49740
2010-06-18 07:08:22 +00:00
Vincent Torri
5e09673fce
typo
...
SVN revision: 49736
2010-06-17 21:27:41 +00:00
Carsten Haitzler
9b41314165
remove semi-colon
...
SVN revision: 49272
2010-05-29 06:28:38 +00:00
Carsten Haitzler
02503dd152
eina gets version thing ala eet.
...
SVN revision: 49267
2010-05-29 03:05:04 +00:00
Vincent Torri
9c210617f7
declare variables at the beginning of the block
...
SVN revision: 49254
2010-05-28 19:04:44 +00:00
Vincent Torri
247674b26c
do not declare inlined functions in the source file,
...
fix a bit the doc of inlined functions
SVN revision: 49253
2010-05-28 19:03:26 +00:00
Vincent Torri
f446a5b9f9
vasprintf is not declared in mingw too
...
SVN revision: 49252
2010-05-28 18:59:43 +00:00
Vincent Torri
52e3f2d0ab
do not declare _eina_small_share twice
...
SVN revision: 49251
2010-05-28 18:58:49 +00:00
Vincent Torri
440fb47e30
fix pthread support with mingw
...
SVN revision: 49250
2010-05-28 18:57:19 +00:00
Brett Nash
2677b8d493
Minor doc update: It's nice when examples compile without warnings ;-)
...
SVN revision: 49091
2010-05-21 09:48:46 +00:00
Mike Blumenkrantz
fa5fa3c7e7
comment out nonexistent functions
...
SVN revision: 48922
2010-05-16 20:17:07 +00:00
Cedric BAIL
bb85e11b50
* eina: don't shadow global variable.
...
SVN revision: 48614
2010-05-04 16:26:29 +00:00
Cedric BAIL
197a9a879e
* eina: use previous cached result in quadtree.
...
SVN revision: 48607
2010-05-04 14:42:13 +00:00
Cedric BAIL
9d8b1da4cb
* eina: make quadtree faster.
...
SVN revision: 48575
2010-05-03 13:17:52 +00:00
Vincent Torri
0cc286508a
indentation and comments
...
SVN revision: 48522
2010-05-01 20:35:16 +00:00
Cedric BAIL
6caac50006
* eina: improve QuadTree API.
...
SVN revision: 48482
2010-04-30 17:04:28 +00:00
Lucas De Marchi
c98e00eec0
Define new error handling macros
...
EINA_SAFETY_ON_TRUE_GOTO and EINA_SAFETY_ON_FALSE_GOTO are now defined
to ease error handling. Functions might need to take actions before
returning upon safety checks fail.
SVN revision: 48478
2010-04-30 14:54:05 +00:00
Cedric BAIL
d239b6c524
* eina: oops forgotten file.
...
SVN revision: 48425
2010-04-29 17:30:18 +00:00
Cedric BAIL
9367b5f7c7
* eina: Add first version of a Quad Tree data type.
...
NOTE: consider the API experimental and subject to change.
SVN revision: 48424
2010-04-29 17:21:14 +00:00
Cedric BAIL
49c0a1e6e2
* eina: add tests for eina fixed point sin/cos functions.
...
SVN revision: 48423
2010-04-29 17:08:24 +00:00
Carsten Haitzler
87efa72125
apparently fbsd is unaware of expr substr...
...
SVN revision: 48275
2010-04-24 14:31:23 +00:00
Cedric BAIL
e5abb9bfbe
* eina: fix rounding issue with different size of fixed point.
...
SVN revision: 48053
2010-04-16 14:32:18 +00:00
Vincent Torri
09a2e65378
forgot a semicolon
...
SVN revision: 48016
2010-04-15 06:53:23 +00:00
Vincent Torri
c76d3cea37
remove useless semicolon
...
SVN revision: 48015
2010-04-15 06:28:22 +00:00
Vincent Torri
16b01952a9
include Evil.h with vc++ for vasprintf
...
SVN revision: 48014
2010-04-15 06:16:59 +00:00
Vincent Torri
1e8c976b28
include private headers after standard headers
...
SVN revision: 48013
2010-04-15 06:13:08 +00:00