summaryrefslogtreecommitdiff
path: root/src/lib/eina_magic.c
Commit message (Collapse)AuthorAgeFilesLines
* Eina: remove ugly FMT_* compatibility strings as Evil has now POSIX printf ↵Vincent Torri2012-02-171-5/+0
| | | | | | family functions SVN revision: 68087
* magic: define and set eina_error if fails.Gustavo Sverzut Barbieri2012-01-091-0/+7
| | | | SVN revision: 67002
* From: Joerg Sonnenberger <joerg@britannica.bec.de>Joerg Sonnenberger2011-12-051-2/+2
| | | | | | | | | | | Subject: [E-devel] eina 1.1.0beta patches for/from pkgsrc Several patches to fix warnings and potential on netbsd/solaris. minor so i think i'll skip changelog for this. SVN revision: 65898
* Eina: EINA_MAGIC example and documentation.Jonas M. Gastal2011-06-201-168/+0
| | | | SVN revision: 60535
* no long casts - just case to/from void * as needed. i dont see why weCarsten Haitzler2010-12-161-2/+2
| | | | | | | | needed any uintptr_t or long there. SVN revision: 55569
* revert part of commit - broke compilation. no uintptr_t in linuxCarsten Haitzler2010-12-111-1/+1
| | | | | | | | yeaders by default - likely breaks even more. SVN revision: 55483
* * make vc++ happy with ERR()Vincent Torri2010-12-111-2/+3
| | | | | | | | | * use uintptr_t where needed. Please someone check if the compilation is still good on linux (I'm on Windows), to see if a header must be included for uintptr_t or not. SVN revision: 55479
* fix doc s!Carsten Haitzler2010-10-201-1/+1
| | | | SVN revision: 53665
* Evil patch from Evil vtorri. Some improvements to Eina docs.Iván Briano2010-09-081-3/+3
| | | | | | | Yup, docs.. truly evil. SVN revision: 51993
* Better documenting EINA_MAGIC_SET()'s use.Gustavo Lima Chaves2010-08-021-0/+6
| | | | | | | | Patch by Jonas Gastal. SVN revision: 50744
* uncrustify eina.Carsten Haitzler2010-07-281-84/+91
| | | | SVN revision: 50573
* printf modifiers are different on WindowsVincent Torri2010-06-261-0/+4
| | | | SVN revision: 49876
* doc improvements.Gustavo Sverzut Barbieri2010-02-281-1/+82
| | | | SVN revision: 46670
* missing "Vincent Torri2010-02-111-1/+1
| | | | SVN revision: 46087
* let's not return NULL but a more useful result.Gustavo Sverzut Barbieri2010-02-111-5/+13
| | | | SVN revision: 46086
* * finish benchmark tutorialVincent Torri2009-12-271-17/+18
| | | | | | | | | * 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
* allow amalgamation of files, at least symbols don't clash anymore.Gustavo Sverzut Barbieri2009-09-071-0/+7
| | | | | | | | more related to amalgamation later. SVN revision: 42312
* malloc--: error and magic can take statically defined strings so noGustavo Sverzut Barbieri2009-09-071-26/+82
| | | | | | | | need to strdup them. SVN revision: 42311
* API BREAK: eina_magic_string_set() does not change existing strings anymore.Gustavo Sverzut Barbieri2009-09-071-41/+101
| | | | | | | | | | | | | | | | It's pointless to be able to change magic number string after it's created, so let's avoid walking the existing list and just remove places where strings were being duplicated (list/array both inited magic strings for accessor/iterators). Also an optimization, register using an array and sort it before searching. Sort will just happen when array was changed, and this is just done when eina_magic_string_get() is called. SVN revision: 42310
* EINA API BREAK: no more individual modules init/shutdown.Gustavo Sverzut Barbieri2009-09-061-37/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* eina_error: deprecated old logging, move to eina_log.Gustavo Sverzut Barbieri2009-09-041-32/+36
| | | | SVN revision: 42220
* * eina_magic: Test suite now work when magic debug is disabled.Cedric BAIL2009-09-011-16/+4
| | | | SVN revision: 42150
* * add eina_config.h in all source files. Fix linking with Visual StudioVincent Torri2009-08-281-1/+1
| | | | | | | * move eina_private.h and eina_safety_checks.h just after eina_config.h SVN revision: 42077
* fix a bit the documentation, but there are stillVincent Torri2009-06-221-0/+95
| | | | | | | a lot of doc to write... SVN revision: 41164
* * modify the way eina_config.h is built (see eina_config.h.inVincent Torri2009-06-081-3/+16
| | | | | | | | | | | | and configure.ac) * include eina_config.h explicitely in files where the macros of eina_config.h are used * define eina_magic_string_init() and eina_magic_string_shutdown() even when the mugle option is set (magic disabled) * formatting and fix in configure.ac SVN revision: 40962
* Rename EINA_INLIST_ITER_NEXT/EINA_INLIST_ITER_LAST to EINA_INLIST_FOREACH/Cedric BAIL2008-10-211-2/+2
| | | | | | | | EINA_INLIST_REVERSE_FOREACH so it best match is behaviour. Asked by Gustavo. SVN revision: 36928
* Fix compilation and warnings on Windows:Vincent Torri2008-10-161-0/+4
| | | | | | | | | * include Evil.h for getenv on mingw32ce * include config.h in benchmark.c so that EAPI is correctly defined * minor fixes in configure.ac SVN revision: 36729
* Fix some warning.Cedric BAIL2008-10-101-2/+2
| | | | SVN revision: 36563
* Store build information inside eina_config.h, and fix magic use.Cedric BAIL2008-09-261-22/+22
| | | | SVN revision: 36263
* Last part of quarium patch.Cedric BAIL2008-09-251-3/+2
| | | | SVN revision: 36257
* Patch from Arnaud de Turckheim "quarium" <quarium@gmail.com>.Cedric BAIL2008-09-251-1/+1
| | | | | | | | | Use magic inside stringshare without slowdown of benchmark. Fix magic when not in DEBUG mode. SVN revision: 36246
* * move standard header files from eina_private.h to source filesVincent Torri2008-08-281-2/+19
| | | | | | | * minor formatting SVN revision: 35705
* Add eina_array_pop and rename eina_array_append by eina_array_push.Cedric BAIL2008-08-261-1/+1
| | | | SVN revision: 35679
* Add first try for an accessor and iterator API, comment welcome (lack inlist ↵Cedric BAIL2008-08-111-4/+4
| | | | | | | | | and list currently). Rewrite EINA_ARRAY_ITER_NEXT, still fast, need one more parameter, but no more EINA_ARRAY_ITER_END. SVN revision: 35438
* After benchmarking, providing inline does impact performance of list and ↵Cedric BAIL2008-08-081-1/+3
| | | | | | array user. SVN revision: 35406
* License changes (BSD -> LGPL)Cedric BAIL2008-08-061-0/+18
| | | | SVN revision: 35360
* Export a magic API.Cedric BAIL2008-07-311-0/+134
SVN revision: 35270