cedric [Wed, 22 Jun 2011 14:04:09 +0000 (14:04 +0000)]
eina: update Eina_Refcount API to please Tasn.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60592
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Jun 2011 12:47:12 +0000 (12:47 +0000)]
dont bloody cache files! all this will do is leak them forever. no
cache. JUSt a shared hash. ZERO speculative retention cache. it was
broken before anyway.
grrrrr..........
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60589
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 22 Jun 2011 08:14:32 +0000 (08:14 +0000)]
eina: fix eina_stringshare_dump bug #791 reported by jgastal@profusion.mobi.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60580
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Tue, 21 Jun 2011 20:45:50 +0000 (20:45 +0000)]
Eina: Eina_Stringshare documentation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60559
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Mon, 20 Jun 2011 21:15:17 +0000 (21:15 +0000)]
Eina: EINA_MAGIC example and documentation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60535
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Sat, 18 Jun 2011 19:48:28 +0000 (19:48 +0000)]
eina: fix common misspellings
Common misspellings found by codespell.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60479
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Fri, 17 Jun 2011 14:20:59 +0000 (14:20 +0000)]
Eina: Adding images for latex docs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60452
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 17 Jun 2011 09:49:15 +0000 (09:49 +0000)]
eina: rename eina_hash_free_set as eina_hash_free_cb_set.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60439
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 17 Jun 2011 08:55:22 +0000 (08:55 +0000)]
eina: forgotten commit.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60428
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 17 Jun 2011 08:48:02 +0000 (08:48 +0000)]
eina: disabling Eina_Object until 1.1 is released.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60427
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mej [Thu, 16 Jun 2011 20:36:43 +0000 (20:36 +0000)]
Since the SVN revision is now included in %{version}, it's redundant
to have it in %{release} also. So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60407
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 15 Jun 2011 15:54:42 +0000 (15:54 +0000)]
eina: @since
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60356
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 15 Jun 2011 15:46:10 +0000 (15:46 +0000)]
eina: +eina_hash_free_set.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60354
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Tue, 14 Jun 2011 17:43:53 +0000 (17:43 +0000)]
eina: Add detailed description and some examples to Eina_Inlist.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60310
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Mon, 13 Jun 2011 17:46:22 +0000 (17:46 +0000)]
eina: A few fixes for the Eina_List doc.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60288
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Mon, 13 Jun 2011 16:44:08 +0000 (16:44 +0000)]
eina: Add acknowledgment of Samsung's patronage to
documentation project.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60285
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Mon, 13 Jun 2011 16:42:25 +0000 (16:42 +0000)]
eina: Eina_Accessor documentation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60284
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Sun, 12 Jun 2011 21:38:37 +0000 (21:38 +0000)]
remove .cvsignore files
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60246
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 12 Jun 2011 07:58:59 +0000 (07:58 +0000)]
Eina strbuf: Add csize to documentation.
Thanks to Ulrich Eckhardt for the patch
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60236
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 12 Jun 2011 07:58:55 +0000 (07:58 +0000)]
Eina ustrbuf: Fixed eina_ustrbuf_prepend_char.
Thanks to Ulrich Eckhardt for the report.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60235
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
seoz [Sat, 11 Jun 2011 09:17:31 +0000 (09:17 +0000)]
eina examples/eina_list_01.c: Added new line to explicitly separate
two outputs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60229
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
seoz [Sat, 11 Jun 2011 09:16:45 +0000 (09:16 +0000)]
eina: Fixed doxygen.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60228
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 11 Jun 2011 03:52:30 +0000 (03:52 +0000)]
wrn--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60222
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
seoz [Sat, 11 Jun 2011 01:24:04 +0000 (01:24 +0000)]
Eina examples: Removed trailing whitespaces.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60212
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Fri, 10 Jun 2011 14:54:01 +0000 (14:54 +0000)]
eina: Add missing hash table image and make imgs work for
latex docs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60194
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Fri, 10 Jun 2011 13:42:19 +0000 (13:42 +0000)]
eina: Eina_Iterator documentation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60193
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Fri, 10 Jun 2011 13:41:59 +0000 (13:41 +0000)]
eina: Eina_Array documentation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60192
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Fri, 10 Jun 2011 13:40:50 +0000 (13:40 +0000)]
eina: Documentation for Eina_List.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60191
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
fidencio [Fri, 10 Jun 2011 03:41:48 +0000 (03:41 +0000)]
Ooops! Fixing eina_list_sorted doc, again!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60162
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
fidencio [Fri, 10 Jun 2011 03:33:01 +0000 (03:33 +0000)]
Fixing eina_list_sort docs
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60161
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Thu, 9 Jun 2011 18:53:38 +0000 (18:53 +0000)]
eina: add autotools rules to building and installing examples.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60150
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Thu, 9 Jun 2011 18:52:45 +0000 (18:52 +0000)]
[eina] Add high-level documentation and examples for Eina_Hash.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60149
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 8 Jun 2011 02:59:52 +0000 (02:59 +0000)]
fix eina prefix - somehow using elm_init make it find the wrong prefix
for the lib. weird.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60066
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Tue, 7 Jun 2011 10:26:13 +0000 (10:26 +0000)]
Add ignore and update files
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60034
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Mon, 6 Jun 2011 20:20:38 +0000 (20:20 +0000)]
eina: fix doc building when srcdir != builddir.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@60004
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 6 Jun 2011 17:08:06 +0000 (17:08 +0000)]
eina: make Eina_File thread safe.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59995
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 3 Jun 2011 07:46:15 +0000 (07:46 +0000)]
Eina: fix static linking with eina
Fix static linking with eina (iconv could potentially not be
passed to the linker)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59914
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 1 Jun 2011 20:43:01 +0000 (20:43 +0000)]
Eina : eina_module.c: fix dladdr use on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59881
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 1 Jun 2011 15:04:29 +0000 (15:04 +0000)]
eina: make him happy.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59876
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 1 Jun 2011 06:54:49 +0000 (06:54 +0000)]
Eina : eina_file : eina_file_size_get() should return a size_t
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59859
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 1 Jun 2011 06:53:49 +0000 (06:53 +0000)]
Eina : eina_file : add @since 1.1 to doxy doc
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59858
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 1 Jun 2011 06:18:56 +0000 (06:18 +0000)]
Eina : eina_file_win32.c : add share mode when opening a file
On Windows, if you want to open the same file several times,
you have to tell it can... No ChangeLog as that code is work in
progress)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59857
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 1 Jun 2011 06:12:55 +0000 (06:12 +0000)]
Eina : eina_sched.c : simpler code on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59856
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 1 Jun 2011 05:55:48 +0000 (05:55 +0000)]
Eina : eina_inline_lock_win32.x : fix cedric's modifications in win32 code
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59855
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 31 May 2011 16:43:40 +0000 (16:43 +0000)]
eina: fix eina_hash_set to act when data == NULL like eina_hash_del.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59849
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Mon, 30 May 2011 16:08:20 +0000 (16:08 +0000)]
eina: fix misspellings
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59820
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 30 May 2011 15:24:06 +0000 (15:24 +0000)]
eina: add eina_condition_timedwait.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59819
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 30 May 2011 12:49:04 +0000 (12:49 +0000)]
eina: ERROR_CHECK just make sense when you are debbuging lock usage.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59811
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
hermet [Thu, 26 May 2011 12:06:48 +0000 (12:06 +0000)]
eina/eina_hash - fixed indentation
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59703
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 25 May 2011 13:18:21 +0000 (13:18 +0000)]
eina: fix eina_inlist_sorted_insert and improve its tests.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59669
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 24 May 2011 15:17:56 +0000 (15:17 +0000)]
eina: add eina_inlist_sorted_insert.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59654
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 24 May 2011 06:29:58 +0000 (06:29 +0000)]
Eina: Implement eina_sched_prio_drop() on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59637
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 18 May 2011 19:11:09 +0000 (19:11 +0000)]
I like alphabetical order :)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59516
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 18 May 2011 13:17:54 +0000 (13:17 +0000)]
debug--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59505
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 18 May 2011 13:15:25 +0000 (13:15 +0000)]
Eina_lock : fix Windows code, thanks to cedric
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59504
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 18 May 2011 12:56:49 +0000 (12:56 +0000)]
eina: fix typo.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59503
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 18 May 2011 11:45:32 +0000 (11:45 +0000)]
Eina binbuf: Fix compilation and correct the mistakes.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59500
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 18 May 2011 10:52:50 +0000 (10:52 +0000)]
Eina binbuf: Struct name should be binbuf, not strbuf.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59497
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 18 May 2011 10:05:59 +0000 (10:05 +0000)]
eina: part of the init is specific, so preserve it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59493
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 18 May 2011 07:56:11 +0000 (07:56 +0000)]
eina: fix eina_share_common_init.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59485
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gouache [Wed, 18 May 2011 02:49:59 +0000 (02:49 +0000)]
Eina: add 'eina_init()' at the testcase of simple_xml_parser.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59479
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gouache [Wed, 18 May 2011 02:29:59 +0000 (02:29 +0000)]
Eina: add testcase for 'eina_simple_xml_parser'
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59478
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 May 2011 16:17:28 +0000 (16:17 +0000)]
eina: fix eina_file to be really usable.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59470
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 17 May 2011 15:49:08 +0000 (15:49 +0000)]
Eina: Added .gitignore.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59469
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 17 May 2011 15:45:39 +0000 (15:45 +0000)]
Eina binbuf: Added eina_binbuff an auto resizing binary buffer.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59468
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 May 2011 10:15:19 +0000 (10:15 +0000)]
eina: build without threads support.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59467
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 May 2011 05:38:29 +0000 (05:38 +0000)]
Eina_ : eina_file_win32.c : fix returned value of eina_file_shutdown()
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59463
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 16 May 2011 17:39:20 +0000 (17:39 +0000)]
fix eina_prefix.c on Windows (at least a part of it, as elm is not working with it)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59454
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 16 May 2011 17:37:51 +0000 (17:37 +0000)]
fix eina_inline_lock_void.x
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59453
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 15 May 2011 10:55:07 +0000 (10:55 +0000)]
Eina: eina_lock: fix eina_lock on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59395
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 14 May 2011 21:23:03 +0000 (21:23 +0000)]
i'm not cedric
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59392
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 14 May 2011 21:19:36 +0000 (21:19 +0000)]
Eina : eina_lock : make it compile on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59391
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Sat, 14 May 2011 14:39:25 +0000 (14:39 +0000)]
eina: improve hash documentation on free_cb
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59383
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 13 May 2011 10:44:29 +0000 (10:44 +0000)]
eina: always put map in memory when requested and use HUGETLB when available.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59366
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 14:41:39 +0000 (14:41 +0000)]
eina: check condition is still alive when debugging threads.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59299
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 13:12:36 +0000 (13:12 +0000)]
eina: have same behaviour on windows and linux.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59297
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 13:06:03 +0000 (13:06 +0000)]
eina: oops, need to protect inside #ifdef.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59295
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 12:54:47 +0000 (12:54 +0000)]
eina: improve lock debugging.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59293
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 10:42:42 +0000 (10:42 +0000)]
eina: more check.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59289
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 10:32:56 +0000 (10:32 +0000)]
eina: add Eina_Condition.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59287
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 10:29:55 +0000 (10:29 +0000)]
eina: check pending lock at the right time.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59286
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 6 May 2011 09:16:40 +0000 (09:16 +0000)]
eina: remove flood of debugging information.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59234
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 6 May 2011 09:07:26 +0000 (09:07 +0000)]
eina: remove useless lock.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59233
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 4 May 2011 13:53:22 +0000 (13:53 +0000)]
eina: improve on/off and debugging lock.
Now if a lock is still taken when shutdown occur, you will know
where it come from !
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59191
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 2 May 2011 18:19:41 +0000 (18:19 +0000)]
Eina lock: unused warning suppression is done with (void).
Not only that it's uglier doing mutex=0, but also new gcc started
complainig about it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59137
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 2 May 2011 13:52:34 +0000 (13:52 +0000)]
eina: forgotten commit.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59125
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 2 May 2011 13:51:20 +0000 (13:51 +0000)]
eina: use the right naming.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59124
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 2 May 2011 13:40:28 +0000 (13:40 +0000)]
eina: add back threads on/off support.
NOTE: only use it if you know what you are doing !
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59123
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 2 May 2011 13:09:38 +0000 (13:09 +0000)]
eina: forgotten initialization.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59121
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 2 May 2011 11:25:35 +0000 (11:25 +0000)]
eina: improve thread debugging and portability.
All thread debugging facility, including lock debug, on by turning --enable-debug-threads
at configure time of eina.
When threads check are disable, make sure that all lock/release are called
from the main loop only. And in all case, eina_lock_new/eina_lock_delete should be
called from the main loop.
Remove static initialization as it is not portable under Windows.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59118
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 2 May 2011 11:20:00 +0000 (11:20 +0000)]
eina: make sure eina_threads_init/eina_threads_shutdown are correctly called.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59117
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 2 May 2011 08:34:22 +0000 (08:34 +0000)]
also return deadlock from normal lock (not try only)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59103
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 2 May 2011 08:24:06 +0000 (08:24 +0000)]
formalise eina lock results to be equivalent to true/false with added
deadlock for try.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59101
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 2 May 2011 07:04:24 +0000 (07:04 +0000)]
time.h should be sufficient
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59096
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 2 May 2011 05:52:31 +0000 (05:52 +0000)]
Eina: eina_file.h: fix compilation on Mac Os X
define time_t on Mac OS X. Patch by Dave Ray.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59095
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 1 May 2011 13:24:08 +0000 (13:24 +0000)]
oh dear. this new eina_lock thing is a bit of a mess isn't it now?
some fundamental errors there. don't go replacing pthread locks with
wrappers unless you know full well what u are doing. havnig threads
only work while "threads are initted" and then init/shtudown the thread
thing every time u spawn a thread.. is pretty silly. what if a thread
ends in the background WHILE u have a lock.. u try unlock.. u know
what ? your unlock DOES nothing. so you retain a lock. next time u
want to lock once a thread is around.. u have a deadlock issue.
even better - the checking if threads are initted and up is not
locked, so it can come up while it is being checked. more race
conditions. u need to clokc the init/shutdown AND lock the checking of
the value... and even then u STILl have problem #1 above. so that code
is now gone.
also trylock trturn inverse logic to the original pthread func and the
macros in evas that used it were not changed accordingly! aaagh!
i've also added backtrace debug ability to eina threads if compiled in
- u can get a bt of who last locked something. i had to do this just to
begin to grasp what on earth was going on. it's off by default.
also... the locks are error check locks to trylock can detect
deadlocks. speacil "2" return for now. better than a poke in the eye
with a sharp stick until we decide what to do. for now i hopew i have
killed this thread lock bug.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59085
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Fri, 29 Apr 2011 19:08:03 +0000 (19:08 +0000)]
eina: fix #elif usage
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59044
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Fri, 29 Apr 2011 19:07:46 +0000 (19:07 +0000)]
eina: remove redundant declaration
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59043
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Fri, 29 Apr 2011 18:54:29 +0000 (18:54 +0000)]
Eina refcount: Wrap EINA_REFCOUNT_UNREF with do {} while(0).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59042
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 29 Apr 2011 16:09:07 +0000 (16:09 +0000)]
eina: Add refcounting macro helper.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59038
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33