discomfitor [Fri, 13 Aug 2010 05:22:33 +0000 (05:22 +0000)]
rename variables and typedefs to sane values
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51064
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 13 Aug 2010 01:46:14 +0000 (01:46 +0000)]
go go gadget recrustify!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51063
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 12 Aug 2010 15:11:35 +0000 (15:11 +0000)]
* eina: remove debug output.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51048
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 12 Aug 2010 14:22:22 +0000 (14:22 +0000)]
* eina: report when and where memleak come from.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51040
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Aug 2010 14:16:32 +0000 (14:16 +0000)]
Eina: "FIX" EINA_UNICODE_EMPTY_STRING.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51038
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 11 Aug 2010 14:32:30 +0000 (14:32 +0000)]
* eina: fix eina array threadsafe version.
Also add iterator and accessor ability to walk threadsafely.
Rename EINA_EACH to EINA_EACH_CB to match other callback cast.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51000
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 12:25:34 +0000 (12:25 +0000)]
right...this is malloc...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50963
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 12:14:59 +0000 (12:14 +0000)]
refcount locks to avoid deadlocks; array threadsafety should be good to go now
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50962
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 12:05:51 +0000 (12:05 +0000)]
and these
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50961
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 12:00:36 +0000 (12:00 +0000)]
and this too
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50960
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 11:57:20 +0000 (11:57 +0000)]
array threadsafing wip, get rid of dumb undefineds from earlier
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50959
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 07:48:00 +0000 (07:48 +0000)]
change EINA_ARRAY_THREADSAFE_ITER_RETURN to EINA_ARRAY_THREADSAFE_ITER_ESCAPE to match forthcoming threadsafe list api
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50956
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 03:37:21 +0000 (03:37 +0000)]
errr use the right define for this
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50952
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 03:26:15 +0000 (03:26 +0000)]
implement threadsafety for arrays, alter all eina internal array usage to (hopefully) be threadsafe
call eina_threads_init() to enable this if you have pthread rwlock support (posix 2001)
note some function prototypes have lost const on array params to allow locking
WARNING: you should NOT call eina_threads_shutdown unless you are positive that you will not use any arrays which were created while threadsafe mode were enabled, and vice versa. Failing to adhere to this warning WILL result in either deadlocks or memory leaks.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50951
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 8 Aug 2010 20:49:26 +0000 (20:49 +0000)]
formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50913
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 8 Aug 2010 20:48:46 +0000 (20:48 +0000)]
fix automake quoting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50912
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 8 Aug 2010 19:35:43 +0000 (19:35 +0000)]
add rwlock define to eina_config.h
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50911
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 8 Aug 2010 19:20:07 +0000 (19:20 +0000)]
split out spinlock detection to separate macro for readability, add rwlock detection macro
***no functional changes***
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50910
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 8 Aug 2010 12:03:18 +0000 (12:03 +0000)]
eina: fix strdup calloc, it's number of elements and then size, and not the other way around.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50898
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 5 Aug 2010 12:52:30 +0000 (12:52 +0000)]
* eina: add some doc for one big mempool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50834
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 5 Aug 2010 12:36:36 +0000 (12:36 +0000)]
* eina: fix segv on NULL mempool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50833
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 5 Aug 2010 09:40:50 +0000 (09:40 +0000)]
* eina: complete configure.ac with latest mempool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50831
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 4 Aug 2010 16:57:32 +0000 (16:57 +0000)]
FORMATTING
* Remove vim modelines:
find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;
* Remove leading blank lines:
find . -name '*.[cxh]' -exec sed -i '/./,$!d'
If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50816
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
glima [Mon, 2 Aug 2010 16:57:38 +0000 (16:57 +0000)]
Better documenting EINA_MAGIC_SET()'s use.
Patch by Jonas Gastal.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50744
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 2 Aug 2010 09:44:11 +0000 (09:44 +0000)]
Fix eina_unicode_strncpy
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50741
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 2 Aug 2010 09:44:06 +0000 (09:44 +0000)]
Beef up the strncpy test
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50740
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 2 Aug 2010 09:44:01 +0000 (09:44 +0000)]
Terminate the string after strcpy
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50739
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 2 Aug 2010 09:43:57 +0000 (09:43 +0000)]
Update eina_unicode_strnlen
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50738
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 2 Aug 2010 09:43:51 +0000 (09:43 +0000)]
Add ustr tests.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50737
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Sat, 31 Jul 2010 05:24:45 +0000 (05:24 +0000)]
Fix end points
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50708
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Sat, 31 Jul 2010 03:54:09 +0000 (03:54 +0000)]
eina: Actually implement strnlen for eina_unicode.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50700
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 21:18:40 +0000 (21:18 +0000)]
incomplete doxy!
cedric SPANK SPANK SPANK!!!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50694
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 30 Jul 2010 09:06:58 +0000 (09:06 +0000)]
* eina: add a way to move a key to another without triggering the Free_Cb.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50683
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 30 Jul 2010 08:26:34 +0000 (08:26 +0000)]
* eina: try to fix memory align on sparc.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50680
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Fri, 30 Jul 2010 03:39:12 +0000 (03:39 +0000)]
Unicde strnlen, and a slight fix to the header so at least part can be read by
humans.
Also strlen/strnlen are pure.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50676
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 29 Jul 2010 14:08:02 +0000 (14:08 +0000)]
DO export this thingies
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50645
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 29 Jul 2010 13:59:31 +0000 (13:59 +0000)]
* eina: remove some warning.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50644
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 28 Jul 2010 18:10:53 +0000 (18:10 +0000)]
* eina: fix wrong test in eina_big.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50602
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 28 Jul 2010 17:53:10 +0000 (17:53 +0000)]
Eina: Fixed a bug in eina_*share_dump functions and fixed a documentation error.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50600
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Jul 2010 03:34:25 +0000 (03:34 +0000)]
lots of doxy fixes and stop casting to char*
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50582
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Jul 2010 03:33:49 +0000 (03:33 +0000)]
start binshare
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50581
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 28 Jul 2010 03:03:25 +0000 (03:03 +0000)]
fix formatting also
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50577
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 28 Jul 2010 02:48:11 +0000 (02:48 +0000)]
errrr... hmmm why did this change?
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50574
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 28 Jul 2010 02:37:05 +0000 (02:37 +0000)]
uncrustify eina.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50573
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 27 Jul 2010 20:17:25 +0000 (20:17 +0000)]
when all files combine and the enable flag is set, form VOLTRON, DEFENDER OF THE UNIVERSE!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50550
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 27 Jul 2010 16:53:49 +0000 (16:53 +0000)]
Eina: Fix the segfault in eina_stringshare_shutdown with-enable-amalgamation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50548
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 27 Jul 2010 15:15:45 +0000 (15:15 +0000)]
Eina: Fix compilation with --enable-amalgamation.
Sorry dh :P
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50545
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 27 Jul 2010 11:43:37 +0000 (11:43 +0000)]
Eina: Added ustringshare and binshare tests.
Fixed a small bug in binshare (in the length function).
Moved some debug messages around.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50541
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 27 Jul 2010 09:41:34 +0000 (09:41 +0000)]
Eina: implement the macro eina_binshare_add.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50535
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 27 Jul 2010 09:05:41 +0000 (09:05 +0000)]
Eina: Added Eina_UStrbuf.
Same as Eina_Strbuf but for Eina_Unicode strings.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50534
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 27 Jul 2010 08:55:23 +0000 (08:55 +0000)]
Eina: Add Eina_UStringshare and Eina_Binshare.
Also modified Eina_Stringshare to share most of the code with the two above.
Added Magics for Eina_UStrbuf as well as for UStringshare/Binshare.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50533
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 27 Jul 2010 08:22:20 +0000 (08:22 +0000)]
Eina: Added Eina_Unicode.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50532
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
captainigloo [Mon, 26 Jul 2010 16:17:11 +0000 (16:17 +0000)]
Use INF only when it's defined. Fix a warning during eina compilation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50512
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 26 Jul 2010 15:58:18 +0000 (15:58 +0000)]
* eina: actually add the directory too.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50511
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 26 Jul 2010 15:52:43 +0000 (15:52 +0000)]
* eina: add a mempool that just do one big malloc.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50510
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 26 Jul 2010 09:31:40 +0000 (09:31 +0000)]
* eina: SPANK SPANK SPANK !
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50509
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 26 Jul 2010 05:09:20 +0000 (05:09 +0000)]
this was supposed to go with the last commit...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50502
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 26 Jul 2010 05:09:02 +0000 (05:09 +0000)]
+eina_stringshare_vprintf for using a va_list
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50501
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 26 Jul 2010 04:21:47 +0000 (04:21 +0000)]
Use offsetof rather the manual pointer compares. C89 can be taken as given I
think. Also update authors to add Mwa, and fix copyright statement to be
useful. (Always list years, not ranges of years... longer, but covered by
international conventions).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50500
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 25 Jul 2010 19:32:03 +0000 (19:32 +0000)]
add doxy
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50491
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 25 Jul 2010 19:18:26 +0000 (19:18 +0000)]
+eina_stringshare_printf
+eina_stringshare_nprintf
the long awaited printf functions for stringshare!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50490
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 25 Jul 2010 06:25:06 +0000 (06:25 +0000)]
+eina_error_msg_modify to change the error string of a registered error; preserves allocation state of message creation (errors created with static_register() will remain statically allocated)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50484
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 25 Jul 2010 02:03:10 +0000 (02:03 +0000)]
+eina_str_toupper for completion
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50483
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 13:04:21 +0000 (13:04 +0000)]
eina_hash_modify_or_add -> eina_hash_set
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50448
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 05:02:17 +0000 (05:02 +0000)]
revert previous. why would I do that in the first place?
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50407
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 03:59:37 +0000 (03:59 +0000)]
remove tolower() from eina_str_tolower
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50404
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 03:15:39 +0000 (03:15 +0000)]
+eina_hash_modify_or_add to always add a value to the hash at the specified key
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50402
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 19 Jul 2010 11:25:10 +0000 (11:25 +0000)]
* eina: fix tolower call.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50366
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 19 Jul 2010 01:56:42 +0000 (01:56 +0000)]
+eina_str_tolower for lowercasing an entire string in one line
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50361
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 18 Jul 2010 18:59:01 +0000 (18:59 +0000)]
dox fixes
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50355
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 18 Jul 2010 07:39:21 +0000 (07:39 +0000)]
+eina_stringshare_replace_length to replace a stringshared string with a given length of another string
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50320
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 18 Jul 2010 06:48:08 +0000 (06:48 +0000)]
and macro whoops
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50319
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 18 Jul 2010 06:45:22 +0000 (06:45 +0000)]
attribute whoops
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50318
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 18 Jul 2010 06:38:23 +0000 (06:38 +0000)]
small patch from andmils in #e; fixes compile on freebsd
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50317
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 18 Jul 2010 06:21:50 +0000 (06:21 +0000)]
+eina_strbuf_string_free to free string in strbuf without freeing strbuf
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50316
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 18 Jul 2010 04:24:24 +0000 (04:24 +0000)]
+eina_hash_free_buckets to free buckets without freeing a hash
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50315
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 18 Jul 2010 03:55:53 +0000 (03:55 +0000)]
well this was just plain wrong
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50314
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 18 Jul 2010 03:29:10 +0000 (03:29 +0000)]
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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50313
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 14 Jul 2010 02:20:30 +0000 (02:20 +0000)]
Remove unneeded code with notnull.cocci script
This continues previous commit with more complex places, where it required
more than just removing some "ifs".
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50242
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 13 Jul 2010 19:17:35 +0000 (19:17 +0000)]
include sys/syslimits.h on mac os x for PATH_MAX and NAME_MAX
i really dislike having PATH_MAX in a header file...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50231
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 13 Jul 2010 16:43:15 +0000 (16:43 +0000)]
leak--, thanks cedric
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50225
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 13 Jul 2010 13:57:21 +0000 (13:57 +0000)]
useless headers now
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50221
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 13 Jul 2010 13:51:00 +0000 (13:51 +0000)]
use Win32 native mutex on Windows. To use it, pass the following option
to configure:
--enable-win32-threads
By default, pthreads are used
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50220
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 13 Jul 2010 13:08:14 +0000 (13:08 +0000)]
make it compile on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50219
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 13 Jul 2010 12:49:37 +0000 (12:49 +0000)]
newline --
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50218
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 11 Jul 2010 11:52:43 +0000 (11:52 +0000)]
fix compilation on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50179
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 9 Jul 2010 03:27:04 +0000 (03:27 +0000)]
Add missing macros
Add missing EINA_SAFETY_ON_NULL_GOTO and define all the *GOTOs macros when
safety checks are disabled.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50138
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 8 Jul 2010 15:08:31 +0000 (15:08 +0000)]
Update doc of eina_str_split functions
Mention that they can return NULL in case malloc() fails.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50127
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Tue, 6 Jul 2010 17:20:30 +0000 (17:20 +0000)]
Move ifdefs
Much better and readable, with less code and the same result. Moreover this
makes some parsers not to kill themselves.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50069
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Tue, 6 Jul 2010 15:50:15 +0000 (15:50 +0000)]
Do not purify what's impure
Two tests were failing, but no more.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50067
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 6 Jul 2010 15:48:24 +0000 (15:48 +0000)]
add some gcc modifiers: non-null args, warn unused results and malloc.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50066
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 6 Jul 2010 15:45:12 +0000 (15:45 +0000)]
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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50065
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 2 Jul 2010 17:23:05 +0000 (17:23 +0000)]
* eina: rename ecore_file_ls_iterator to eina_file_ls.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@50002
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Fri, 2 Jul 2010 08:56:09 +0000 (08:56 +0000)]
Stringshare doesn't have a 64k limit. Don't say it does.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@49992
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
glima [Wed, 30 Jun 2010 18:41:16 +0000 (18:41 +0000)]
Documentation fix for eina iterators.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@49951
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 28 Jun 2010 05:15:44 +0000 (05:15 +0000)]
export symbols on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@49915
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 28 Jun 2010 05:11:28 +0000 (05:11 +0000)]
export symbols on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@49913
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 28 Jun 2010 05:06:28 +0000 (05:06 +0000)]
on Windows, path delemiter is backslash and not slash
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@49912
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Jun 2010 14:06:10 +0000 (14:06 +0000)]
and final post snap - next releasename
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@49903
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Jun 2010 13:45:27 +0000 (13:45 +0000)]
snap+release
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@49899
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33