Commit Graph

71 Commits

Author SHA1 Message Date
Jonas M. Gastal c67b71b65c Removing wrong info about inlist performance from docs.
SVN revision: 71581
2012-05-31 13:09:05 +00:00
Jerome Pinot 04daafab2b eina: doxygen doc fixes
Add a bunch of missing @c and #EINA_{TRUE,FALSE} links.


SVN revision: 71535
2012-05-30 06:55:31 +00:00
Jerome Pinot b3e92d38b0 eina: doxygen doc fixes
A #link at the beginning of a new line goes interpreted by doxygen as a title,
so format the documentation to avoid this issue. No content change.


SVN revision: 71501
2012-05-29 11:33:07 +00:00
Sanjeev BA b9ed47a471 several fixes for the doxygen docs.
Author : Jérôme Pinot <ngc891@gmail.com>

SVN revision: 70426
2012-04-23 23:31:38 +00:00
Daniel Juyung Seo 13f1bc5049 eina eina_list.h: Fixed typo in the documentation.
SVN revision: 69605
2012-03-25 08:51:02 +00:00
Leif Middelschulte e7c134bc58 rename 'size' param of eina_list_sort to 'limit'
SVN revision: 68064
2012-02-17 10:48:49 +00:00
Guillaume Friloux 537bc81acb From: Guillaume Friloux <guillaume.friloux@asp64.com>
Hello again e people, i have play a bit with eina's comments to get
proper namings and fix broken references.



SVN revision: 67289
2012-01-18 04:32:37 +00:00
Daniel Juyung Seo 192290dfe9 eina eina_list.h: Refined documentation.
SVN revision: 67041
2012-01-11 06:41:04 +00:00
Vincent Torri 2c85cff20b Eina: improve a bit the doc
SVN revision: 65987
2011-12-07 12:07:18 +00:00
Carsten Haitzler 58040ce94b NO! you break api. you made my e sit here with a segv in a getenv.
because now many libraries and api's don't have prototyopes for
malloc/calloc and much more and this goes horribly wrong especially on
64bit! the eina headers have provided these includes historically and
removing them is a BREAK in api. apps that used to compile and run
just fine now don't. it's unacceptable to break api.

i'm stuck here in unity for crying out loud! this deservves a big FAT
REVERT for that! :-P



SVN revision: 65983
2011-12-07 01:10:43 +00:00
Cedric BAIL 98ced4dd20 eina: only include system header as necessary.
SVN revision: 65966
2011-12-06 16:09:56 +00:00
Tom Hacohen 41f840b9b1 Eina list: eina_list_data_set is *not* pure.
SVN revision: 62081
2011-08-04 06:44:19 +00:00
Jonas M. Gastal cd8cd93209 Eina: Groups shouldn't be inside themselves, and both groups
and conditionals need to be properly closed..



SVN revision: 61413
2011-07-15 18:37:44 +00:00
Jonas M. Gastal 2d6dec2b4e Eina: Making html tags in doc appear only in html doc.
SVN revision: 61412
2011-07-15 18:35:45 +00:00
Jonas M. Gastal 4b0536d424 Eina: Adding diagrams for eina list macros.
SVN revision: 61132
2011-07-07 19:26:47 +00:00
Jonas M. Gastal 6b3b2c15b5 Eina: Improvements to eina_list's documentation.
SVN revision: 61088
2011-07-06 14:50:33 +00:00
Jonas M. Gastal 239864e32c Eina: Spelling fixes and using smaller size for hash image.
SVN revision: 61018
2011-07-04 19:48:01 +00:00
Lucas De Marchi cde2bec9f6 eina: fix common misspellings
Common misspellings found by codespell.



SVN revision: 60479
2011-06-18 19:48:28 +00:00
Jonas M. Gastal c0d8ef9ede Eina: Adding images for latex docs.
SVN revision: 60452
2011-06-17 14:20:59 +00:00
Jonas M. Gastal aab43b7ead eina: A few fixes for the Eina_List doc.
SVN revision: 60288
2011-06-13 17:46:22 +00:00
Daniel Juyung Seo bb41b4530a eina: Fixed doxygen.
SVN revision: 60228
2011-06-11 09:16:45 +00:00
Jonas M. Gastal 29a7fddf18 eina: Documentation for Eina_List.
SVN revision: 60191
2011-06-10 13:40:50 +00:00
Fabiano Fidêncio 989da2f5c1 Ooops! Fixing eina_list_sorted doc, again!
SVN revision: 60162
2011-06-10 03:41:48 +00:00
Fabiano Fidêncio 59023e6b9d Fixing eina_list_sort docs
SVN revision: 60161
2011-06-10 03:33:01 +00:00
Carsten Haitzler b8b576afa9 more doxy -> .h
SVN revision: 58430
2011-04-07 12:26:24 +00:00
Mike Blumenkrantz e06df9182c +eina_list_move* for moving list node data to another list
SVN revision: 57110
2011-02-17 07:29:12 +00:00
Vincent Torri 7ee0e4655b * improve doc
* remove eina_binshare_init() and eina_binshare_shutdown()
   from eina_binshare.h as they must not be exported


SVN revision: 54223
2010-11-06 12:34:55 +00:00
Mike Blumenkrantz 7d03bcd110 3 hours and a lot of bugfixing later, uncrustify can now align the * for function prototypes
SVN revision: 53781
2010-10-22 19:58:49 +00:00
Mike Blumenkrantz cb4e0c8a75 this is the second test of my new uncrustify+config
*all struct members are aligned and spaced
*all post-function macros are force-spaced
*all post-function macros are parsed
*all macro definitions are backslash aligned


SVN revision: 53775
2010-10-22 17:30:54 +00:00
Iván Briano 8374dea693 Evil patch from Evil vtorri. Some improvements to Eina docs.
Yup, docs.. truly evil.


SVN revision: 51993
2010-09-08 17:41:05 +00:00
Cedric BAIL c45c36bd80 * eina: attempt to improve a little bit more the header.
Mainly trailing space and macro indentation.


SVN revision: 51217
2010-08-16 15:02:37 +00:00
Mike Blumenkrantz 224f7d3b55 formatting
SVN revision: 50913
2010-08-08 20:49:26 +00:00
Carsten Haitzler bed21c315d errrr... hmmm why did this change?
SVN revision: 50574
2010-07-28 02:48:11 +00:00
Carsten Haitzler ddc6ba2c2a uncrustify eina.
SVN revision: 50573
2010-07-28 02:37:05 +00:00
Vincent Torri 09d1853ea0 * finish benchmark tutorial
* move internal _init and _shutdown functions in the Global
   part of the code, as it is where they belong
 * fix minor documentation stuff


SVN revision: 44730
2009-12-27 08:45:30 +00:00
Jonathan Atton cc1863fc96 Eina: add eina_list_split_list()
SVN revision: 43307
2009-10-27 10:26:20 +00:00
Cedric BAIL 96437266c8 * eina: Fix EINA_LIST_REVERSE_FOREACH_SAFE typo from Gustavo Chaves.
SVN revision: 43186
2009-10-21 19:02:52 +00:00
Gustavo Sverzut Barbieri e4af7c100c EINA API BREAK: no more individual modules init/shutdown.
Being able to indivually initialize individual modules was initially
"good", but at end it's putting complexities on users that would try
to "optimize" by doing just what they used, but in the end most people
would get them wrong, users would have to do lots of code and etc. At
the end it does not worth.

Most module init just register handful errors and log domains, so are
cheap. The exception is mempool users, that would dlopen() stuff, but
people that are concerned (embedded) can just compile those statically
in eina.

Since at the end any real application would use most of modules, we
actually end saving lots of function calls that would do nothing other
than increment a global counter.

I also did the init/shutdown use an array, making it easier to
maintain. The inital dependencies were analysed by a script I wrote, I
hope it's all right.

Please fix any breakages you find!



SVN revision: 42300
2009-09-06 22:21:56 +00:00
Gustavo Sverzut Barbieri 425ebc47f5 improve docs and simplify macro, by kubo.
Kubo just found that docs could be improved and macro could be
simplified during his learning of EFL. Big bonus he did the
improvements =)



SVN revision: 41799
2009-08-16 00:47:23 +00:00
Gustavo Sverzut Barbieri 944be7e745 Bugfix eina_list_search_sorted_near_list() add sorted_insert.
eina_list_search_sorted_near_list() was broken and barfed at my face
during development of eina_list_sorted_insert(), so I rewrote it
following more traditional approach, also adding special cases for
head/tail remembering that random access in lists is not as fast as
array. I also simplified that code.

eina_list_sorted_insert() should be fast, O(log2 n) insert, with
special cases to insert already sorted arrays forwards or backwards,
however I believe that it's better to simply append/prepend in those
cases (if known).



SVN revision: 41625
2009-08-06 22:31:45 +00:00
Gustavo Sverzut Barbieri 4f39f6861a API BREAK: eina_list_search_sorted_near_list() gets one more parameter.
This should not impact anybody, at least in SVN I got no hits for this
function.

The new parameter contains the result of the last call to func(), so
we can know if the node is smaller, bigger or exactly the requested
value and don't need to call func() on node to know for sure.



SVN revision: 41623
2009-08-06 19:01:47 +00:00
Vincent Torri 9110d8d574 fix a bit the documentation, but there are still
a lot of doc to write...


SVN revision: 41164
2009-06-22 20:03:58 +00:00
Vincent Torri 46836c875f fix documentation
SVN revision: 40914
2009-06-06 03:55:32 +00:00
Cedric BAIL e027bb8a6e * eina_list: Add a eina_list_search_sorted_near_list. Usefull if you want to build
a sorted list.


SVN revision: 39550
2009-03-18 15:00:52 +00:00
Cedric BAIL 9fab9595b5 * eina_list: Add eina_list_search_sorted_list and eina_list_search_unsorted_list.
SVN revision: 39546
2009-03-18 13:29:36 +00:00
Gustavo Sverzut Barbieri bd6ef0cce1 add missing prototype.
SVN revision: 39516
2009-03-17 13:05:02 +00:00
Gustavo Sverzut Barbieri 56d1e979ce fix docs and add clone and reversed iterator calls.
* docs: be clear if it's a copy or in-place.

 * clone: add some apis to create a copy while operates, sort should
   do the same.

 * reversed iterator: new call to walk the list reversed, will make
   life easier in some cases.



SVN revision: 39515
2009-03-17 12:52:38 +00:00
Gustavo Sverzut Barbieri e3cce7b79d New macros, documentation and consistency for iterators and accessors.
EINA_ITERATOR_FOREACH() and EINA_ACCESSOR_FOREACH() are new macros to
help us forget about nasty C details (like cast to (void **)).

Document most iterators and accessors.

All iterators now set EINA_ERROR_OUT_OF_MEMORY if it's the case.



SVN revision: 39267
2009-02-27 16:32:22 +00:00
Gustavo Sverzut Barbieri aff2f5ebcf Add reverse iterator macros for eina list.
SVN revision: 39218
2009-02-25 20:19:32 +00:00
Cedric BAIL b496774e9e * eina/src/include/eina_list.h: Add a macro for freeing each element of an Eina_List.
SVN revision: 39109
2009-02-20 16:44:26 +00:00