Commit Graph

397 Commits

Author SHA1 Message Date
Vincent Torri bb2462c3ab Add eet examples documentation and update html doc menu to add 'Examples' tab.
Gustavo: documentation of examples should be added in examples.dox.
         There is one page for each example in that file.


SVN revision: 47328
2010-03-18 21:09:13 +00:00
Gustavo Sverzut Barbieri ea4e8a0abb eet: mega doc update, still stuff to do.
* sync AUTHORS

 * add couple of groups, and change head.html to include "Modules"

 * Reorganize the Eet.h so header is better grouped and in an order
   that makes sense to the reader (as Eet.h gives the modules/group
   ordering).



SVN revision: 47327
2010-03-18 20:16:56 +00:00
Cedric BAIL 563eb442b1 * eet: make doc sync with our time.
SVN revision: 47323
2010-03-18 15:18:13 +00:00
Gustavo Sverzut Barbieri 5703649567 Update example to not use deprecated calls.
SVN revision: 47301
2010-03-17 01:00:59 +00:00
Gustavo Sverzut Barbieri 42c8058da2 Fix docs indentation and one example.
@vincent: This is an ongoing effort, after we're all done we'll update
the damn ChangeLog :-)

@cedric: There are couple of @since 2.0.0, but we're at 1.2.3, could
you review in which version you introduced those changes? :-)



SVN revision: 47300
2010-03-17 00:49:51 +00:00
Cedric BAIL 92cf666bd7 * eet: Fix a dead lock when reopening the same file.
SVN revision: 47286
2010-03-16 12:10:28 +00:00
Cedric BAIL 649760234c * eet: Reintroduce eet cache lock fix.
This version also fix a bug when file wasn't an eet file.


SVN revision: 47237
2010-03-15 14:47:51 +00:00
Carsten Haitzler 73a9612f2c also revert - on3e of these 2 - or both, causes a deadlock in e. see my
previous commit log.



SVN revision: 46918
2010-03-07 03:01:55 +00:00
Carsten Haitzler 329628e8e7 remove this patch (and will remove next too).. somethgn created a deadlock..
for NON threaded apps (e17). specifically:

   if (!locked) LOCK_CACHE;
   
at the top of eet_internal_close() gets called (locked is 0) and deadlocks e.
this is worse than threaded apps having problems. so... need to revert.



SVN revision: 46917
2010-03-07 03:01:14 +00:00
Cedric BAIL 9033f05263 * eet: Fix a dead lock when eet file was open more than once.
SVN revision: 46892
2010-03-05 17:29:37 +00:00
Cedric BAIL c285985eeb * eet: Fix clearcache race condition.
Patch by Adam Simpkins.


SVN revision: 46891
2010-03-05 17:19:03 +00:00
Carsten Haitzler 0226ebda94 fmatting.
SVN revision: 46758
2010-03-02 01:07:32 +00:00
Cedric BAIL 3e59d34441 * eet: Fix override of global symbols.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>


SVN revision: 46682
2010-03-01 11:03:35 +00:00
Vincent Torri c3ec1a38f7 useless semi-colon
SVN revision: 46080
2010-02-11 15:32:29 +00:00
Sebastian Dransfeld eea9a74ebb Don't do unnecessary strcmp
SVN revision: 45882
2010-02-04 20:02:45 +00:00
Cedric BAIL 3cf2432589 * eet: Zero cipher material as soon as possible. Prevent information
leak of temporary data in memory, so improve security.



SVN revision: 45630
2010-01-27 17:53:07 +00:00
Cedric BAIL 8aadedaaec * eet: Better tests suites.
SVN revision: 45443
2010-01-22 18:01:54 +00:00
Cedric BAIL 5a087664ba * eet: Add an experimentale API for walking Eet_Node.
This API should be used to generate native scripting object from
	an Eet_Data.


SVN revision: 45389
2010-01-21 12:45:35 +00:00
Vincent Torri e0eec7c48f include Evil.h so that getenv is declared on Windows CE
SVN revision: 45294
2010-01-18 18:01:20 +00:00
Cedric BAIL a61eda93a4 * eet: Add mempool for Eet_Node structure.
SVN revision: 45259
2010-01-17 14:32:58 +00:00
Vincent Torri 15d7b45c23 eet_cipher.c: Fix arithmetic pointer on void *
SVN revision: 45211
2010-01-16 12:07:18 +00:00
Cedric BAIL 171f07e158 * eet: Fix amalgamation.
SVN revision: 45188
2010-01-15 14:56:49 +00:00
Vincent Torri f5ccebf7d5 binary can be disabled
SVN revision: 45168
2010-01-15 06:05:28 +00:00
Cedric BAIL 08fd28bfa6 * eet: Add eet_data_node_decode_cipher and eet_data_node_read_cipher.
SVN revision: 45062
2010-01-12 16:50:18 +00:00
Cedric BAIL f0fd392e9f * eet: MASSIV REWRITE OF EET_DATA !
Eet_Data now use more common code when doing dump/decode. This
	provide new functionnality, you can now do a list/array/hash of string.
	make test/coverage are now passing without problem with 79% of the code
	covered (mainly need to update test suite for fixed point). This rewrite
	is also a first for script langage to directly manipulate Eet_Data (more
	patch comming). It's also a cleanup of the Eet_Node API that could now
	be used just fine.

	Note: Previous dump will not be compatible with this update, but
	Eet_Data will.

	PS: I did some extensive test here with enlightenment, elementary_test,
	editje, elixir and eyelight. If you experience any weird behaviour that
	could be linked with eet_data (well almost anything that use the EFL),
	please report to me as soon as possible.


SVN revision: 45059
2010-01-12 12:38:59 +00:00
Vincent Torri fb539519ca add pthread flags
SVN revision: 44984
2010-01-08 18:17:24 +00:00
Carsten Haitzler 4070ab5f6a another deadlock in eet - threadsafe goop! fix fix fix!
SVN revision: 44906
2010-01-05 04:40:12 +00:00
Cedric BAIL bd006b823c * eet_data: Don't fail on memory starvation.
SVN revision: 44755
2009-12-29 13:42:45 +00:00
Cedric BAIL 9c48ce68c2 * eet_node: Make eet_node_dump fully functionnal.
Next step, generate Eet_Node directly inside eet_data_decode.


SVN revision: 44748
2009-12-28 16:52:27 +00:00
Cedric BAIL a7d5c71d07 * eet_node: Progressively move all dump code in eet_node.
SVN revision: 44628
2009-12-21 15:46:56 +00:00
Cedric BAIL e24ddfb0a0 * eet: Correctly detect GNUTLS hability.
SVN revision: 44548
2009-12-18 17:41:43 +00:00
Vincent Torri fe0f51ab21 set the size of the test images explicitely
SVN revision: 44536
2009-12-18 09:32:51 +00:00
Cedric BAIL cb77de8e30 * eet_data: Make eet_data_descriptor_free safe on NULL pointer.
SVN revision: 44368
2009-12-11 12:53:08 +00:00
Vincent Torri 61458db565 * Include winsock2.h in eet_image.c for htonl definition on Windows.
* Fix Visual Studio project files

SVN revision: 44249
2009-12-07 17:13:37 +00:00
Cedric BAIL 1a9212d3b0 * eet: Reduce convertion to FP, float and double with a little overhead.
SVN revision: 44243
2009-12-07 12:53:29 +00:00
Cedric BAIL 5dd7275c9a * eet: Fix convertion from any float type to any other float type.
SVN revision: 44239
2009-12-07 09:33:20 +00:00
Carsten Haitzler 145b7ee2a1 deadlock fuckers! fix! :)
SVN revision: 44179
2009-12-04 01:15:19 +00:00
Cedric BAIL 3836c6d3fc * eet: All this header are not needed in this case.
SVN revision: 44175
2009-12-03 15:47:15 +00:00
Cedric BAIL af13fe5496 * eet: All operation on Eet_File should be thread safe. This should
make use of all eet primitive thread safe now.

	Please any bug or lock that you find.


SVN revision: 44172
2009-12-03 15:35:04 +00:00
Vincent Torri cf472c4d50 fix the dist/distcheck rule
SVN revision: 43473
2009-11-06 00:38:07 +00:00
Vincent Torri 135976b8b3 typos in the removal of the header files
SVN revision: 43413
2009-11-02 08:53:17 +00:00
Vincent Torri 35bd81e535 * add amalgamation option to eet (disabled by default,
as no real gain is seen (compilation time, size))
 * add namespace for words_bigendian, to make amalagamation happy
 * don't redefine macros, for the same purpose


SVN revision: 43409
2009-11-02 08:41:43 +00:00
Vincent Torri 204d2976e2 formatting
SVN revision: 43408
2009-11-02 08:18:33 +00:00
Vincent Torri 5a7dd01fed openssl/err.h included twice
SVN revision: 43407
2009-11-02 07:46:48 +00:00
Vincent Torri d416f2d8df formatting
SVN revision: 42979
2009-10-09 05:38:52 +00:00
Vincent Torri ad994b3960 initialize eina first in eet_init().
SVN revision: 42977
2009-10-09 05:07:26 +00:00
Vincent Torri 2d315f76c9 fix eet_init() when called several times but is failing
SVN revision: 42971
2009-10-08 21:16:26 +00:00
Vincent Torri 9e8c44052d simplify eet_init() and eet_shutdown() a bit
SVN revision: 42954
2009-10-08 06:04:03 +00:00
Cedric BAIL 3927d4a74f * eet: Revert back some INF macro to fprintf as this is not for logging purpose.
SVN revision: 42901
2009-10-06 12:07:29 +00:00
Vincent Torri 11341fff0f * Check the returned value of eet_init() in the binary.
* Use binary mode of fopen() in eet_main() for Windows compatibility


SVN revision: 42851
2009-10-02 04:06:58 +00:00