Commit Graph

279 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri ca1c7d5bfc fix typo: cypher -> cipher
also reduce scope of ciphered and ciphered_len.


SVN revision: 37609
2008-11-13 20:49:18 +00:00
codewarrior e66c00cad3 rename, build still doesnt work for gnutls.
SVN revision: 37604
2008-11-13 19:26:28 +00:00
Cedric BAIL 0f36b190f1 Add crypto support to eet.
GNUTLS support by Arnaud de Turckheim <quarium@gmail.com>.


SVN revision: 37603
2008-11-13 16:31:13 +00:00
Vincent Torri f375b8fd4f autotools cleanups:
* reorganize configure.ac
 * select default opptions in configure.ac (disable openssl
   for windows ce)
 * fix Libs.private field and add Requires field in eep.pc
 * rename eet.c.in to eet.dox.in
 * use css file from other packages. Now the doc is correctly
   displayd (need a rename of eet.css to e.css, though. will be
   next commit)


SVN revision: 37114
2008-10-26 07:05:11 +00:00
Sebastian Dransfeld d40f7ebacc formatting
SVN revision: 37080
2008-10-24 21:47:10 +00:00
Cedric BAIL d0fe4b4f3f * Bug fix :
- Array layout would be broken or worse not possible to reload at all if you put NULL pointer in it.
  - Array of string now work.
  - Fix a double free issue with array on double load.

* Add the test to detect this case.



SVN revision: 37051
2008-10-24 14:06:40 +00:00
Vincent Torri 445e548c5b include Evil.h so that fopen can manage files
with relative path when using native code on
Windows CE


SVN revision: 37047
2008-10-24 08:06:08 +00:00
Cedric BAIL 04edb0cbec * Fix Hash of String bug.
* Add a test case for it.



SVN revision: 37029
2008-10-23 14:41:04 +00:00
Cedric BAIL 5c096e9ddb * Fix bug with string included in a list found by Viktor Kojouharov.
* Add a test case for that one.

Problem was simple type inlining in complex structure (like list/hash/array) is
just a hack. We are creating a subtype with the data chunk. That work with INT
or SHORT for example, but not with STRING because it's a pointer to a STRING and
not directly the STRING. This result in a double pointer dereferencing where it
shouldn't. In fact STRING is not really like other simple data type. So we
should handle it differently.

Still need to fix Array and Hash.



SVN revision: 37024
2008-10-23 13:12:33 +00:00
Cedric BAIL 002f0f2a6c Strangely, Eet documentation was referencing Evas list, so switch
this to Eina list.


SVN revision: 36959
2008-10-22 08:59:14 +00:00
Cedric BAIL 4391aa6f08 Remove eet data type from the test suite.
SVN revision: 36861
2008-10-20 15:10:46 +00:00
Cedric BAIL 1e13a4aec2 Use eina conversion functions (Remove code from eet).
SVN revision: 36844
2008-10-20 09:44:34 +00:00
Cedric BAIL f08f865b75 Make eet depends on eina.
SVN revision: 36842
2008-10-20 09:17:00 +00:00
Vincent Torri 3e4465c4fa * add m4 macro for documentation, unit tests and coverage
* put documentation related files in doc, remove gendoc and
   add a doc rule to create the documentation and a doc tarball
   named eet-doc-$(version).tar.bz2
 * minor cleanup in the autotools


SVN revision: 36706
2008-10-16 08:41:40 +00:00
Cedric BAIL 6ee6cdeeb3 Correctly use ferror.
SVN revision: 36617
2008-10-13 12:09:31 +00:00
Cedric BAIL 4c0daa8810 Remove some more warning.
SVN revision: 36616
2008-10-13 11:58:24 +00:00
Cedric BAIL 2127e5c551 Remove more compiler warning.
SVN revision: 36614
2008-10-13 11:51:10 +00:00
Cedric BAIL 9515e85a80 Remove warning.
SVN revision: 36562
2008-10-10 09:28:07 +00:00
Vincent Torri 7d07153e8f add eet_suite.h in tarballs
SVN revision: 36275
2008-09-27 16:04:35 +00:00
Cedric BAIL a3b343baa5 Fix memory leak with a proper shutdown of Openssl, thanks to Massimiliano Calamelli help.
SVN revision: 36095
2008-09-19 11:30:42 +00:00
Cedric BAIL ac440b9533 Fix typo in the typo.
SVN revision: 35957
2008-09-11 14:49:47 +00:00
Cedric BAIL be3676ef9a Fix typo.
SVN revision: 35951
2008-09-11 14:07:02 +00:00
Cedric BAIL 1ab78edd6f Instruct the compiler to inline the most used function. This really impact speed
with big edje file.



SVN revision: 35948
2008-09-11 11:26:09 +00:00
Cedric BAIL 1e0d00d4bd Use the right function here.
SVN revision: 35947
2008-09-11 11:25:15 +00:00
Cedric BAIL 4762661711 Use bit manipulation instead of memory access, improve eet speed with big edje file.
SVN revision: 35946
2008-09-11 11:24:13 +00:00
Cedric BAIL facaddde1f Ok, the patch didn't apply cleanly and some missed. Last lost change.
SVN revision: 35887
2008-09-08 11:53:59 +00:00
Cedric BAIL 1b45015b3d Another typo.
SVN revision: 35886
2008-09-08 11:41:19 +00:00
Cedric BAIL 3b7f1579f9 Patch, typo.
SVN revision: 35885
2008-09-08 11:31:36 +00:00
Cedric BAIL bbc107fc31 Another typo.
SVN revision: 35884
2008-09-08 11:17:04 +00:00
Cedric BAIL 114c50a297 Typo.
SVN revision: 35883
2008-09-08 11:11:51 +00:00
Cedric BAIL 46b7796946 Add signature support in eet.
You can use eet -s to sign a eet file and eet -c to check its signature. The
current code doesn't check any certificate trust path, only if the signature
match the certificate and that the certificate could be loaded. If that's not
the case, eet_open will fail. If the file is not signed, eet_open will just
continue to succeed.



SVN revision: 35882
2008-09-08 09:19:57 +00:00
Cedric BAIL 89be633ae4 Add the prototype for this long pending function in eet.
SVN revision: 35811
2008-09-03 13:52:45 +00:00
Cedric BAIL 27042fd8fc Recommit Joerg Sonnenberger patch with more fix.
When writing jpeg scanline, it wouldn't fail with FILE* as an output, but will
with a data buffer. So we need to re run the jpeg routine on this scanline. As I
don't know if the buffer is always preserved during two calls to the jpeg
library, I am copying it again.



SVN revision: 35804
2008-09-03 11:04:37 +00:00
Carsten Haitzler 6ffa97b1f5 roll back eet change (revert patch) as this breaks bsd and seems to cause
other issues for other people too (not me though)...



SVN revision: 35797
2008-09-03 01:34:53 +00:00
Cedric BAIL 8c7b666b6e Little bit modified patch from Joerg Sonnenberger that remove the need for
memfile.

It pass all the image test of the test suite with some little modification.
E seems to run fine with it and my apps also. But if you experience error
with eet and compressed picture, please report them to me.



SVN revision: 35795
2008-09-02 16:12:05 +00:00
Cedric BAIL 89911e0559 Fix two source of memory leak.
SVN revision: 35616
2008-08-22 14:35:21 +00:00
Cedric BAIL e3d6b72073 Fix a typo that prevent some valid file to be loaded.
SVN revision: 35584
2008-08-20 15:35:15 +00:00
Carsten Haitzler 0e405b7cd3 actually barf help then exit -1
SVN revision: 35539
2008-08-18 12:22:41 +00:00
Carsten Haitzler 7aa5c530d4 fail when not passed good args
SVN revision: 35538
2008-08-18 12:21:55 +00:00
Cedric BAIL c35c6bafa3 Delay unlink and reopen as long as possible in read/write mode.
SVN revision: 35462
2008-08-13 16:40:53 +00:00
Sebastian Dransfeld dd429f0d8b formatting
SVN revision: 35425
2008-08-10 09:33:55 +00:00
Sebastian Dransfeld 80674bcaf5 formatting
SVN revision: 35424
2008-08-10 09:25:21 +00:00
Sebastian Dransfeld f2b6fd3cd3 ignore
SVN revision: 35337
2008-08-06 04:58:43 +00:00
Carsten Haitzler 459569ee08 wrong return error handling. 0 == error, 1 == ok.
SVN revision: 35280
2008-08-01 01:02:49 +00:00
Cedric BAIL d59f9b7d6c Fix a little bug in the test and do a real write test.
SVN revision: 35255
2008-07-30 14:10:36 +00:00
Carsten Haitzler 9c712115e4 unsigned long... better
SVN revision: 35227
2008-07-26 12:54:39 +00:00
Cedric BAIL 9dddec7f09 Fix wrongly stored image when compressed size is bigger than uncompressed. Fix bug #523.
SVN revision: 35204
2008-07-24 13:25:18 +00:00
Cedric BAIL 667c57f9fe Improve speed by comparing pointer instead of calling strcmp (thanks to the
dictionnary's property).


SVN revision: 35157
2008-07-18 11:39:38 +00:00
Peter Wehrfritz f5bd66341f fix compile warnings
SVN revision: 35143
2008-07-17 20:28:59 +00:00
Cedric BAIL 00388c7fbd Improve speed of eet_data freelist by using a hash table instead of just a pointer list.
SVN revision: 35141
2008-07-17 16:39:28 +00:00