Commit Graph

1481 Commits

Author SHA1 Message Date
Jonas M. Gastal 263d6af353 Small fixes to eina_model documentation.
Patch by: "Jonas M. Gastal" <jgastal@profusion.mobi>



SVN revision: 67535
2012-01-25 13:48:32 +00:00
Tom Hacohen 4bd08d2ca5 Eina model: Fix the example in the docs to compile.
SVN revision: 67534
2012-01-25 12:05:20 +00:00
Gustavo Sverzut Barbieri 73b1d45d15 value got the helper, will be useful in other cases as well.
SVN revision: 67518
2012-01-24 22:56:17 +00:00
Gustavo Sverzut Barbieri 73b595df2f more efficient model properties based on struct.
this is a killer, should be very efficient in memory and speed to
set/get items: instead of a hash of properties, keep them in a C
struct!

The constraint is that properties have fixed types defined at compile
time and cannot be deleted, but this is expected in many cases (ie:
esql rows).




SVN revision: 67517
2012-01-24 22:17:57 +00:00
Gustavo Sverzut Barbieri 19a47340a5 reset log level after it's done testing.
SVN revision: 67516
2012-01-24 22:15:06 +00:00
Vincent Torri 1f27f0b581 Eina: update alloca() declaration from latest autoconf doc.
SVN revision: 67483
2012-01-24 07:21:33 +00:00
Vincent Torri 0f16de1de6 Eina: Windows version is managed by Evil, now. I'm not sure I have to update ChangeLog.
SVN revision: 67482
2012-01-24 07:08:23 +00:00
Iván Briano e4178ad8e6 dereference pointer before using
SVN revision: 67479
2012-01-23 16:51:02 +00:00
Gustavo Sverzut Barbieri 99b7af6912 beef eina_error tests.
SVN revision: 67461
2012-01-23 00:25:12 +00:00
Vincent Torri 7bc418f30f Eina: remove warning when compiling with mingw-w64
SVN revision: 67447
2012-01-22 12:08:06 +00:00
Vincent Torri f4baf62a91 Eina: DOS2UNIX eina_file_win32.c
SVN revision: 67445
2012-01-22 08:57:50 +00:00
Vincent Torri 54b589cfe9 Eina: remove unused variable
SVN revision: 67444
2012-01-22 08:56:13 +00:00
Vincent Torri 37ccabf61c Eina "Fix" printf conversion format on Windows. printf family on Windows is just plain weirdness
SVN revision: 67443
2012-01-22 08:55:02 +00:00
Vincent Torri 2b932abc9c Eina: formatting
eina_file_init() and eina_file_shutdown() are global symbols, not local ones


SVN revision: 67423
2012-01-21 08:23:23 +00:00
Vincent Torri 9f844d5699 Eina: Windows fixes
add eina_file_path_sanitize() which was missing in the windows port
add locks
synchronize a bit with the linux version


SVN revision: 67422
2012-01-21 08:21:32 +00:00
Vincent Torri 92b7c85e37 alphabetical order
SVN revision: 67421
2012-01-21 08:19:46 +00:00
Vincent Torri 0b96df92ee Eina: include stdlib.h instead of alloca.h (alloca() is not used while malloc() is)
SVN revision: 67419
2012-01-21 07:44:05 +00:00
Gustavo Sverzut Barbieri adf2dcfed9 eina share log refactor.
Don't print messages from share common, that way we have no way to
know where it happens, moreover the binshare values may lack trailing
'\0'.

Also makes no sense to share the log domain. With separate domains we
can be more selective in what we log/debug.



SVN revision: 67418
2012-01-21 07:21:23 +00:00
Gustavo Sverzut Barbieri 76b62698a2 eina_test_model: better use of check macros.
SVN revision: 67417
2012-01-21 06:26:56 +00:00
Gustavo Sverzut Barbieri 8fb1d6e036 eina_model: fix uninitialized bit
SVN revision: 67416
2012-01-21 06:26:32 +00:00
Gustavo Sverzut Barbieri 22e40d2cf7 matrixsparse: fix pointer after it's freed.
SVN revision: 67415
2012-01-21 05:32:39 +00:00
Gustavo Sverzut Barbieri c4120e4593 ensure trailing \0
SVN revision: 67414
2012-01-21 04:52:27 +00:00
Gustavo Sverzut Barbieri a47da47844 check if file was parsed fine.
SVN revision: 67413
2012-01-21 04:49:54 +00:00
Gustavo Sverzut Barbieri 9be2320053 more safety test checks for file and unicode.
jsut add infra and reduce output noise.


SVN revision: 67412
2012-01-21 04:44:17 +00:00
Gustavo Sverzut Barbieri a3d7c51003 improve counter tests wrt safety.
TODO: parse dump and see if it's valid.


SVN revision: 67411
2012-01-21 04:32:33 +00:00
Gustavo Sverzut Barbieri 8b9fd10c60 install eina_model.h
thanks JihoonKim


SVN revision: 67410
2012-01-21 04:22:18 +00:00
Gustavo Sverzut Barbieri 63a5350974 beef inlist tests wrt safety pointers
SVN revision: 67409
2012-01-21 04:20:32 +00:00
Gustavo Sverzut Barbieri e877d6617d improve magic tests, check output to see if it happened
SVN revision: 67408
2012-01-21 03:59:03 +00:00
Gustavo Sverzut Barbieri cdac7c3864 oops, use the copied va_list.
SVN revision: 67407
2012-01-21 03:57:09 +00:00
Gustavo Sverzut Barbieri 63bae2176c improve log tests.
actually check stuff instead of relying on user to do so, also
produces no output if is correct.



SVN revision: 67406
2012-01-21 03:36:02 +00:00
Gustavo Sverzut Barbieri 7c0357ddeb welcome eina_model.
This is a simple to use generic hierarchical data access. It includes
properties, children, reference counting and notifications (callbacks).

It can be understood in the same lines as GObject or PyObject, but I
believe the best usage is just to provide data models, not generic
Object Oriented Programming in C.

It misses most of documentation, although the important bits are
there. Need help here :-/



SVN revision: 67405
2012-01-21 01:30:09 +00:00
Iván Briano 2283fda5f4 My bad.. the type is referring to something out of the macro
SVN revision: 67404
2012-01-20 20:18:10 +00:00
Iván Briano 3c007c2791 type-o... see what I did there? Yes, I'm an idiot.
SVN revision: 67402
2012-01-20 19:31:32 +00:00
Gustavo Sverzut Barbieri fcc86ae34b eina_unicode: add safety checks.
they are not so expensive and will help detect bugs.

also, safety can be disabled at compile time... if performance is so
critical.



SVN revision: 67393
2012-01-20 13:00:01 +00:00
Gustavo Sverzut Barbieri 829c6f58e4 eina_unicode: fix header inclusion.
library files should ALWAYS include config.h, they should not include
Eina.h using "<Eina.h>" to avoid messing with system's version.

Last but definitely not least: include safety checks BEFORE your local
header, otherwise the macros EINA_ARG_NONNULL() will remove every
check for null pointers! eina_safety_checks.h redefines it to empty so
compiler does not optimize these things.



SVN revision: 67392
2012-01-20 12:52:15 +00:00
Gustavo Sverzut Barbieri f0224e0ecd eina_test_clist: foce usage of local eina, not system.
SVN revision: 67390
2012-01-20 12:44:40 +00:00
Guillaume Friloux 0f2dba299d From: Guillaume Friloux <guillaume.friloux@asp64.com>
Subject: Re: [E-devel] Various patches in eina's doc

update authors in doc patch.



SVN revision: 67369
2012-01-20 02:58:57 +00:00
Cedric BAIL 113348cac9 eina: fix inarray macro.
SVN revision: 67346
2012-01-19 15:13:07 +00:00
Vincent Torri 9a76004770 Eina: Fix compilation of eina_semaphore_lock() (Windows port)
Patch by Shinwoo Kim


SVN revision: 67317
2012-01-19 06:33:42 +00:00
Sebastian Dransfeld b2193b6fd3 eina: Add FIXME
SVN revision: 67310
2012-01-19 00:36:20 +00:00
Sebastian Dransfeld 8be657aed8 eina: formatting
SVN revision: 67309
2012-01-19 00:36:05 +00:00
Cedric BAIL 4a853cde86 eina: be able to track and display our memory over head when using malloc.
NOTE: it is worth enabling it and see EINA_LOG_INFO displaying how much memory
we are wasting. Should help tune our memory allocator usage.


SVN revision: 67296
2012-01-18 17:47:05 +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
Carsten Haitzler 46c5dd5329 void impl for eina_lock stuff should return "innocuous" values - ie
pretend things succeed ad on a lockless platform u cant have threads
anyway :)



SVN revision: 67288
2012-01-18 04:27:13 +00:00
Carsten Haitzler 0e9a475092 update all minor versions to 2 (or 6) - and yes. i missed making most
be 1.1 (or 1.5) for the last release. too late. THIS is why i'm sick
and tired of all the bloody separate libs that have to be versiioned
and build and released separately. :( too many places to go fix up per
release.



SVN revision: 67284
2012-01-18 02:32:36 +00:00
Tom Hacohen 3b5505aaaa Eina benchmark: Fixed compilation warnings.
SVN revision: 67230
2012-01-15 11:20:59 +00:00
Tom Hacohen aeef927046 Eina value: Fixed signed and unsigned comparison.
SVN revision: 67227
2012-01-15 10:32:10 +00:00
Tom Hacohen 491f887708 Eina tests: Fixed binbuf test.
SVN revision: 67225
2012-01-15 10:10:05 +00:00
Gustavo Sverzut Barbieri 95c845dd5d eina_value: remove left overs.
thanks to stefan_schmidt for spotting it.


SVN revision: 67183
2012-01-13 10:12:16 +00:00
Gustavo Sverzut Barbieri 91c925fc54 eina_value: add array of struct test.
works nice :-)


SVN revision: 67159
2012-01-12 23:31:42 +00:00