Commit Graph

320 Commits

Author SHA1 Message Date
Vincent Torri 927fe76f5f move EINA_DEPRECATED at the beginning of the declaration
SVN revision: 42519
2009-09-16 17:45:04 +00:00
Cedric BAIL 3e23569492 * eet_data: Remove unused freeleak.
SVN revision: 42495
2009-09-15 14:48:42 +00:00
Cedric BAIL cab54bd121 * eet: Use eina_log.
Patch from Mathieu Taillefumier <mathieu.taillefumier@free.fr>.


SVN revision: 42492
2009-09-15 11:22:11 +00:00
Vincent Torri be3e63eb6d et_init should fail if eina_init fails
SVN revision: 42237
2009-09-04 05:03:47 +00:00
Vincent Torri da7d129e2d * remove the inclusion of config.h in Eet_private.h (not needed)
* add config.h in all source file to be consistent, even if it
   is not necessary
 * formatting


SVN revision: 41941
2009-08-23 09:36:43 +00:00
Vincent Torri 5c8b90d23c add alloca() declaration
SVN revision: 41874
2009-08-19 10:58:38 +00:00
Carsten Haitzler 359df1c2b9 fix eet docs.
SVN revision: 41826
2009-08-17 01:51:56 +00:00
Carsten Haitzler 65c50a0a4e fix - write empty chunks. need them for corner case. see comments.
SVN revision: 41810
2009-08-16 07:06:22 +00:00
Cedric BAIL 67418404d0 * eet: Make macro EET_EINA_*_DATA_DESCRIPTOR_CLASS_SET usable in if
statement.

        Patch from Raphael Kubo.


SVN revision: 41763
2009-08-14 14:30:56 +00:00
Carsten Haitzler c1acd83e1e beware "class"! those c++ compiler can compile c... but they like to think
class is special... ESPECIALLY IN HEADERS used by c++ apps.



SVN revision: 41738
2009-08-13 14:47:10 +00:00
Cedric BAIL 05edf17dd4 * eet: Oops. Fix init order.
SVN revision: 41736
2009-08-13 13:57:22 +00:00
Cedric BAIL 2cf15dc335 * eet: Fix prefix.
SVN revision: 41735
2009-08-13 13:26:43 +00:00
Cedric BAIL 1e0baaab60 * eet: Cleanup Eet_Data_Descriptor API.
- Provide two functions with a better name (Still need more doc).
	- Deprecating old eet_data_descriptor*_new.
	- Provide helper function for eet when using eina data type.


SVN revision: 41732
2009-08-13 12:52:41 +00:00
Cedric BAIL fe553249ef * eet: Fix initialization for system that don't support SECMEN.
Note that I don't like this solution, but I didn't see any better one.


SVN revision: 41481
2009-07-23 09:53:44 +00:00
Gustavo Sverzut Barbieri 29c44e5234 Improve docs in Eet.h
By: Hanspeter Portner


SVN revision: 41307
2009-07-11 14:34:54 +00:00
Cedric BAIL 0a6ef8bbde * eet: Reorder gcry init so that it's correctly taken into account by gcry.
SVN revision: 41279
2009-07-08 14:43:20 +00:00
Cedric BAIL 0e2a57f8c8 * eet: Fix compilation when disabling signature, with gnutls enabled.
SVN revision: 41256
2009-07-06 13:25:29 +00:00
Cedric BAIL 8a363fec23 * eet: SUN compiler don't like ; at the end of this macro.
SVN revision: 41184
2009-06-24 12:56:16 +00:00
Cedric BAIL e0c6b0df8d * Eet: Add a clean way to create struct child.
SVN revision: 41053
2009-06-15 16:48:31 +00:00
Cedric BAIL 9c5a02a771 * eet_node: Fix eet_data_undump segv when Eet_Node == NULL.
SVN revision: 40894
2009-06-04 09:29:56 +00:00
Cedric BAIL 70c7a08c05 * eet_node: Fix API.
SVN revision: 40873
2009-06-02 16:24:28 +00:00
Cedric BAIL 16ae86eacb * eet_data: Remove some warning.
SVN revision: 40725
2009-05-18 14:46:32 +00:00
Cedric BAIL b336298727 * Eet: Cleanup eet_data dump code.
SVN revision: 40643
2009-05-14 15:58:10 +00:00
Carsten Haitzler e39dc41493 1. embryo shoudl have soname
2. yes local.conf slipped in - ignore
3. added soname version release to module arch dirs
4. adapted extra-modules to use the revision in arch
5. made e17 also have a release rev
6. dummy release stuff in eet - wont use it as its already released.



SVN revision: 40267
2009-04-21 14:17:42 +00:00
Cedric BAIL 1ad8971a15 * eet_cipher: Fix memory leak.
SVN revision: 40135
2009-04-17 14:00:31 +00:00
Cedric BAIL 18493b6d1b * eet_data: Cleanup a little eet_data_descriptor_decode.
SVN revision: 40109
2009-04-16 15:19:14 +00:00
Cedric BAIL bdea85040b * eet: Add API to directly store Eet_Node inside and Eet_File.
SVN revision: 40107
2009-04-16 12:43:34 +00:00
Cedric BAIL 7dd4b42c85 * eet_node.c: Oops, add file to svn.
SVN revision: 40106
2009-04-16 12:42:03 +00:00
Cedric BAIL b954d4dd49 * eet: Expose Eet_Node so we can now write external parser for eet_data. Still need
a way to retrieve an Eet_Node from an eet_data, perhaps some documentation and tests also.


SVN revision: 40105
2009-04-16 12:18:18 +00:00
Cedric BAIL 52c7896045 * eet: Add a faster way to compute signature. But currently need my pending patch to GnuTLS
(I need to sign and send this assigment paper) to be usefull.


SVN revision: 40104
2009-04-16 12:15:56 +00:00
Cedric BAIL 634df72c4a * eet_data: Remove not used pointer.
SVN revision: 40035
2009-04-14 09:18:58 +00:00
Cedric BAIL c392637d27 * eet_lib: Prevent double init of gcry.
SVN revision: 39716
2009-03-25 16:26:46 +00:00
Vincent Torri c8702ccfa6 Fix compilation on OpenBSD (bug #251). Patch by eumel.
SVN revision: 39626
2009-03-22 13:37:17 +00:00
Cedric BAIL 0dcb98f55f * eet_data: Make it thread safe and fix some memory leak.
SVN revision: 39590
2009-03-19 19:00:46 +00:00
Carsten Haitzler f41991c662 disable fsync
SVN revision: 39542
2009-03-18 01:47:33 +00:00
Gustavo Sverzut Barbieri 3ca2a97471 make sure data is on disk, don't get empty files on ext4/ext3=writeback.
Ok, raster said it would not happen but just crashed my machine and
e.cfg was lost due ext4 being in writeback by default. Accordingly to
Theodore Ts'o
(http://thunk.org/tytso/blog/2009/03/15/dont-fear-the-fsync/) we
should fsync even on open-write-close+rename case.



SVN revision: 39536
2009-03-17 20:49:36 +00:00
Carsten Haitzler a510f6a593 llvm complaint fix from Tiago Falcão
SVN revision: 39469
2009-03-13 16:12:24 +00:00
Cedric BAIL bd0d413ffe * eet/src/lib/eet_cipher.c: Report size as expected by API.
SVN revision: 39424
2009-03-09 15:52:14 +00:00
Cedric BAIL 970a2eb7bd eet: Including two times the same header is useless in the best case.
SVN revision: 39334
2009-03-02 15:39:10 +00:00
Cedric BAIL 1d1335498c eet: Fix memleak during cipher.
SVN revision: 39331
2009-03-02 14:43:57 +00:00
Gustavo Sverzut Barbieri b95c69d2f5 Fix problem reported by clang.
TODO: we should review sign of length attributes and make them
consistent whenever possible.

By: Luis Felipe Strano Moraes



SVN revision: 39258
2009-02-26 22:14:14 +00:00
Vincent Torri ca37104eb5 do not include unistd.h if vc++ is used
SVN revision: 39103
2009-02-19 20:31:21 +00:00
Vincent Torri 49f3d0134f Include winsock2.h before time.h. Requested by vc++
SVN revision: 39102
2009-02-19 20:17:14 +00:00
Chidambar Zinnoury 0e36edbdfc Add some missing unused flags.
SVN revision: 38987
2009-02-09 20:46:12 +00:00
Cedric BAIL 5f0475267c * eet/src/lib/Eet.h,
* eet/src/lib/eet_lib.c,
	* eet/src/lib/eet_cipher.c,
	* eet/src/lib/Eet_private.h: Add a function to retrieve SHA1 of an associated Eet_File.

	Note: Sadly GnuTLS doesn't seem to provide a gnutls_x509_crt_verify_hash function.


SVN revision: 38982
2009-02-09 13:53:20 +00:00
Chidambar Zinnoury 5b219a063c Dead assignment. Reported by CLang.
SVN revision: 38970
2009-02-08 10:19:52 +00:00
Cedric BAIL fa452d770d * eet/src/lib/eet_cipher.c: Fix a corrupted pointer use.
SVN revision: 38856
2009-01-30 13:50:01 +00:00
Cedric BAIL e678664d12 Remove dead debugging code.
SVN revision: 38352
2008-12-30 11:04:35 +00:00
Cedric BAIL 32dbc61034 Remove dead assignment.
SVN revision: 38351
2008-12-30 11:01:36 +00:00
Cedric BAIL 484f8c1083 Remove useless affectation.
SVN revision: 38349
2008-12-29 16:59:47 +00:00