profile/ivi/eet.git
15 years agouse e.css instead of eet.css
caro [Sun, 26 Oct 2008 07:13:12 +0000 (07:13 +0000)]
use e.css instead of eet.css

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@37115 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoautotools cleanups:
caro [Sun, 26 Oct 2008 07:05:11 +0000 (07:05 +0000)]
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)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@37114 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoformatting
englebass [Fri, 24 Oct 2008 21:47:10 +0000 (21:47 +0000)]
formatting

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@37080 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago* Bug fix :
cedric [Fri, 24 Oct 2008 14:06:40 +0000 (14:06 +0000)]
* 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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@37051 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoinclude Evil.h so that fopen can manage files
caro [Fri, 24 Oct 2008 08:06:08 +0000 (08:06 +0000)]
include Evil.h so that fopen can manage files
with relative path when using native code on
Windows CE

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@37047 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago* Fix Hash of String bug.
cedric [Thu, 23 Oct 2008 14:41:04 +0000 (14:41 +0000)]
* Fix Hash of String bug.
* Add a test case for it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@37029 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago* Fix bug with string included in a list found by Viktor Kojouharov.
cedric [Thu, 23 Oct 2008 13:12:33 +0000 (13:12 +0000)]
* 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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@37024 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoStrangely, Eet documentation was referencing Evas list, so switch
cedric [Wed, 22 Oct 2008 08:59:14 +0000 (08:59 +0000)]
Strangely, Eet documentation was referencing Evas list, so switch
this to Eina list.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36959 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdd eina to dependencies.
kaethorn [Tue, 21 Oct 2008 13:46:18 +0000 (13:46 +0000)]
Add eina to dependencies.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36934 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUpdate Debian files.
kaethorn [Tue, 21 Oct 2008 12:23:03 +0000 (12:23 +0000)]
Update Debian files.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36929 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * exit when fnmatch is not found
caro [Tue, 21 Oct 2008 06:13:26 +0000 (06:13 +0000)]
 * exit when fnmatch is not found
 * formatting

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36908 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoRemove eet data type from the test suite.
cedric [Mon, 20 Oct 2008 15:10:46 +0000 (15:10 +0000)]
Remove eet data type from the test suite.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36861 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUse eina conversion functions (Remove code from eet).
cedric [Mon, 20 Oct 2008 09:44:34 +0000 (09:44 +0000)]
Use eina conversion functions (Remove code from eet).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36844 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoMake eet depends on eina.
cedric [Mon, 20 Oct 2008 09:17:00 +0000 (09:17 +0000)]
Make eet depends on eina.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36842 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix distcheck.
kwo [Sat, 18 Oct 2008 21:13:11 +0000 (21:13 +0000)]
Fix distcheck.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36794 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoset svn:ignore on new directories.
barbieri [Thu, 16 Oct 2008 14:09:43 +0000 (14:09 +0000)]
set svn:ignore on new directories.

Please pay attention to svn:ignore, it's not recursive as .gitignore
or .cvsignore, you need to set them on per-directory, even if you use
-R (recursive), it's just at that time, it's not a property that is
automatically inherited by new folders.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36719 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * add m4 macro for documentation, unit tests and coverage
caro [Thu, 16 Oct 2008 08:41:40 +0000 (08:41 +0000)]
 * 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

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36706 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoCorrectly use ferror.
cedric [Mon, 13 Oct 2008 12:09:31 +0000 (12:09 +0000)]
Correctly use ferror.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36617 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoRemove some more warning.
cedric [Mon, 13 Oct 2008 11:58:24 +0000 (11:58 +0000)]
Remove some more warning.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36616 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoRemove more compiler warning.
cedric [Mon, 13 Oct 2008 11:51:10 +0000 (11:51 +0000)]
Remove more compiler warning.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36614 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoRemove warning.
cedric [Fri, 10 Oct 2008 09:28:07 +0000 (09:28 +0000)]
Remove warning.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36562 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoconfigure.in -> configure.ac
pfritz [Tue, 30 Sep 2008 18:07:29 +0000 (18:07 +0000)]
configure.in -> configure.ac

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36364 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoadd eet_suite.h in tarballs
caro [Sat, 27 Sep 2008 16:04:35 +0000 (16:04 +0000)]
add eet_suite.h in tarballs

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36275 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix typo
englebass [Thu, 25 Sep 2008 05:38:23 +0000 (05:38 +0000)]
Fix typo

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36244 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoasparagus!
raster [Thu, 25 Sep 2008 02:59:59 +0000 (02:59 +0000)]
asparagus!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36234 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoupdate changelog for eet since it's 1.0!
raster [Thu, 25 Sep 2008 02:20:12 +0000 (02:20 +0000)]
update changelog for eet since it's 1.0!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36233 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoMy bad :)
mekius [Sat, 20 Sep 2008 20:37:56 +0000 (20:37 +0000)]
My bad :)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36139 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoDoxyfile should reference eet.c.in, not eet.c which doesn't exist.
mekius [Sat, 20 Sep 2008 20:25:46 +0000 (20:25 +0000)]
Doxyfile should reference eet.c.in, not eet.c which doesn't exist.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36138 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix memory leak with a proper shutdown of Openssl, thanks to Massimiliano Calamelli...
cedric [Fri, 19 Sep 2008 11:30:42 +0000 (11:30 +0000)]
Fix memory leak with a proper shutdown of Openssl, thanks to Massimiliano Calamelli help.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@36095 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix typo in the typo.
cedric [Thu, 11 Sep 2008 14:49:47 +0000 (14:49 +0000)]
Fix typo in the typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35957 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix typo.
cedric [Thu, 11 Sep 2008 14:07:02 +0000 (14:07 +0000)]
Fix typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35951 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoInstruct the compiler to inline the most used function. This really impact speed
cedric [Thu, 11 Sep 2008 11:26:09 +0000 (11:26 +0000)]
Instruct the compiler to inline the most used function. This really impact speed
with big edje file.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35948 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUse the right function here.
cedric [Thu, 11 Sep 2008 11:25:15 +0000 (11:25 +0000)]
Use the right function here.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35947 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUse bit manipulation instead of memory access, improve eet speed with big edje file.
cedric [Thu, 11 Sep 2008 11:24:13 +0000 (11:24 +0000)]
Use bit manipulation instead of memory access, improve eet speed with big edje file.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35946 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoOk, the patch didn't apply cleanly and some missed. Last lost change.
cedric [Mon, 8 Sep 2008 11:53:59 +0000 (11:53 +0000)]
Ok, the patch didn't apply cleanly and some missed. Last lost change.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35887 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAnother typo.
cedric [Mon, 8 Sep 2008 11:41:19 +0000 (11:41 +0000)]
Another typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35886 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoPatch, typo.
cedric [Mon, 8 Sep 2008 11:31:36 +0000 (11:31 +0000)]
Patch, typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35885 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAnother typo.
cedric [Mon, 8 Sep 2008 11:17:04 +0000 (11:17 +0000)]
Another typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35884 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoTypo.
cedric [Mon, 8 Sep 2008 11:11:51 +0000 (11:11 +0000)]
Typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35883 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdd signature support in eet.
cedric [Mon, 8 Sep 2008 09:19:57 +0000 (09:19 +0000)]
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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35882 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdd the prototype for this long pending function in eet.
cedric [Wed, 3 Sep 2008 13:52:45 +0000 (13:52 +0000)]
Add the prototype for this long pending function in eet.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35811 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoRecommit Joerg Sonnenberger patch with more fix.
cedric [Wed, 3 Sep 2008 11:04:37 +0000 (11:04 +0000)]
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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35804 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoroll back eet change (revert patch) as this breaks bsd and seems to cause
raster [Wed, 3 Sep 2008 01:34:53 +0000 (01:34 +0000)]
roll back eet change  (revert patch) as this breaks bsd and seems to cause
other issues for other people too (not me though)...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35797 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoLittle bit modified patch from Joerg Sonnenberger that remove the need for
cedric [Tue, 2 Sep 2008 16:12:05 +0000 (16:12 +0000)]
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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35795 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix two source of memory leak.
cedric [Fri, 22 Aug 2008 14:35:21 +0000 (14:35 +0000)]
Fix two source of memory leak.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35616 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUpdate ChangeLog.
cedric [Thu, 21 Aug 2008 17:28:08 +0000 (17:28 +0000)]
Update ChangeLog.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35607 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago Fix a typo that prevent some valid file to be loaded.
cedric [Wed, 20 Aug 2008 15:35:15 +0000 (15:35 +0000)]
Fix a typo that prevent some valid file to be loaded.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35584 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoSet svn:mime-type to image/png on *.png
barbieri [Mon, 18 Aug 2008 16:42:08 +0000 (16:42 +0000)]
Set svn:mime-type to image/png on *.png

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35554 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoactually barf help then exit -1
raster [Mon, 18 Aug 2008 12:22:41 +0000 (12:22 +0000)]
actually barf help then exit -1

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35539 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofail when not passed good args
raster [Mon, 18 Aug 2008 12:21:55 +0000 (12:21 +0000)]
fail when not passed good args

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35538 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agook. i think most binary files are now fixed.
raster [Mon, 18 Aug 2008 00:02:26 +0000 (00:02 +0000)]
ok. i think most binary files are now fixed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35525 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix binaries
raster [Sun, 17 Aug 2008 14:29:25 +0000 (14:29 +0000)]
fix binaries

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35507 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomove around - flatter.
raster [Sun, 17 Aug 2008 07:44:18 +0000 (07:44 +0000)]
move around - flatter.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35497 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoDelay unlink and reopen as long as possible in read/write mode.
cedric [Wed, 13 Aug 2008 16:40:53 +0000 (16:40 +0000)]
Delay unlink and reopen as long as possible in read/write mode.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35462 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoformatting
englebass [Sun, 10 Aug 2008 09:33:55 +0000 (09:33 +0000)]
formatting

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35425 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoformatting
englebass [Sun, 10 Aug 2008 09:25:21 +0000 (09:25 +0000)]
formatting

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35424 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoignore
englebass [Wed, 6 Aug 2008 04:58:43 +0000 (04:58 +0000)]
ignore

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35337 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agowrong return error handling. 0 == error, 1 == ok.
raster [Fri, 1 Aug 2008 01:02:49 +0000 (01:02 +0000)]
wrong return error handling. 0 == error, 1 == ok.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35280 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix a little bug in the test and do a real write test.
cedric [Wed, 30 Jul 2008 14:10:36 +0000 (14:10 +0000)]
Fix a little bug in the test and do a real write test.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35255 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agounsigned long... better
raster [Sat, 26 Jul 2008 12:54:39 +0000 (12:54 +0000)]
unsigned long... better

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35227 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd Visual Studio solution and vc projects to compile Eet with Microsoft tools
doursse [Thu, 24 Jul 2008 18:26:08 +0000 (18:26 +0000)]
Add Visual Studio solution and vc projects to compile Eet with Microsoft tools

For those who want to try it, please read README.txt first

Work from Dmitriy Mazovka. Thank you !

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35206 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix wrongly stored image when compressed size is bigger than uncompressed. Fix bug...
cedric [Thu, 24 Jul 2008 13:25:18 +0000 (13:25 +0000)]
Fix wrongly stored image when compressed size is bigger than uncompressed. Fix bug #523.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35204 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoUpdate changelog.
cedric [Fri, 18 Jul 2008 11:41:15 +0000 (11:41 +0000)]
Update changelog.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35158 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoImprove speed by comparing pointer instead of calling strcmp (thanks to the
cedric [Fri, 18 Jul 2008 11:39:38 +0000 (11:39 +0000)]
Improve speed by comparing pointer instead of calling strcmp (thanks to the
dictionnary's property).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35157 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agofix compile warnings
pfritz [Thu, 17 Jul 2008 20:28:59 +0000 (20:28 +0000)]
fix compile warnings

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35143 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoUpdate ChangeLog.
cedric [Thu, 17 Jul 2008 16:42:34 +0000 (16:42 +0000)]
Update ChangeLog.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35142 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoImprove speed of eet_data freelist by using a hash table instead of just a pointer...
cedric [Thu, 17 Jul 2008 16:39:28 +0000 (16:39 +0000)]
Improve speed of eet_data freelist by using a hash table instead of just a pointer list.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35141 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoImprove decode speed by using precomputed hash.
cedric [Thu, 17 Jul 2008 15:33:40 +0000 (15:33 +0000)]
Improve decode speed by using precomputed hash.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@35140 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix INLINED_STRING allocation, this was causing the bug with edje_decc.
cedric [Wed, 2 Jul 2008 12:10:12 +0000 (12:10 +0000)]
Fix INLINED_STRING allocation, this was causing the bug with edje_decc.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34980 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoCheck if file was really open before continue.
barbieri [Fri, 27 Jun 2008 22:05:49 +0000 (22:05 +0000)]
Check if file was really open before continue.

If we tried to create the new rw file, we must check if it was created
fine before continue, lots of errors are possible there, but mine was
creating the file inside an nonexistent directory.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34928 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix the bug with EET_T_UNKNOW/EET_G_UNKNOWN that did break the CVS.
cedric [Fri, 27 Jun 2008 15:26:53 +0000 (15:26 +0000)]
Fix the bug with EET_T_UNKNOW/EET_G_UNKNOWN that did break the CVS.

Add a test to detect this bug and caught another one, not yet solved
with dump/undump of EET_T_UNKNOW/EET_G_UNKNOWN.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34925 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoThis patch is a starting point for cleaning up eet_data.c.
cedric [Thu, 26 Jun 2008 15:47:25 +0000 (15:47 +0000)]
This patch is a starting point for cleaning up eet_data.c.

It also add EET_G_VAR_ARRAY and EET_G_ARRAY thanks to
turran's (jorgeluis.zapata@gmail.com) last year patch.
Of course we have test code for it and eet_data.c code
is covered around 90.1%. We need to test with garbage
data for increasing it more.

WARNING: API of eet_data_descriptor_element_add is not
clean and we will need to break it, if we want a clean
API. So this is the plan for version 2.0.0.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34919 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoignore++
englebass [Thu, 19 Jun 2008 12:30:57 +0000 (12:30 +0000)]
ignore++

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34864 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agosorry mate - we dont have the debian stuff in there because debian packagers
raster [Tue, 10 Jun 2008 10:10:19 +0000 (10:10 +0000)]
sorry mate - we dont have the debian stuff in there because debian packagers
themselves have asked for us not to ship any debian stuff in the dist tarballs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34793 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd automake1.7 | automaken, libtool, pkg-config as debian build dependancies
horms [Tue, 10 Jun 2008 08:30:54 +0000 (08:30 +0000)]
Add automake1.7 | automaken, libtool, pkg-config as debian build dependancies

Currently debian/rules requires these dependancies to else
the following errors occur:

When automake is missing:

./autogen.sh
[...]
Running aclocal...
./autogen.sh: line 8: aclocal: command not found
make: *** [clean] Error 1

./autogen.sh
[...]
configure.in:20: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:23: error: possibly undefined macro: AC_PROG_LIBTOOL
make: *** [clean] Error 1

When pkg-config is missing:

./autogen.sh
[...]
configure: creating libtool
./configure: line 14491: PKG_PROG_PKG_CONFIG: command not found
./configure: line 14499: syntax error near unexpected token `EVIL,'
./configure: line 14499: ` PKG_CHECK_MODULES(EVIL, evil)'
make: *** [clean] Error 2

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34790 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd m4/doxygen.m4 and debian/* to distribution
horms [Tue, 10 Jun 2008 07:59:37 +0000 (07:59 +0000)]
Add m4/doxygen.m4 and debian/* to distribution

These files are needed by configure and debian packaging respectively

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34789 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoHave configure create debian/changelog
horms [Tue, 10 Jun 2008 07:58:01 +0000 (07:58 +0000)]
Have configure create debian/changelog

Not doing so seems to be an omission.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34788 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoInitialize ef->writes_pending.
barbieri [Mon, 9 Jun 2008 03:19:25 +0000 (03:19 +0000)]
Initialize ef->writes_pending.

Valgrind just noticed that "writes_pending" was not being initialized,
probably because some old code used calloc() (based on the comment
at the allocation step).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34777 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoleak--
raster [Mon, 9 Jun 2008 03:07:35 +0000 (03:07 +0000)]
leak--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34776 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoUpdate ChangeLog.
cedric [Mon, 2 Jun 2008 16:02:41 +0000 (16:02 +0000)]
Update ChangeLog.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34726 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd eet_data_image_read_to_surface and eet_data_image_decode_to_surface.
cedric [Mon, 2 Jun 2008 16:01:18 +0000 (16:01 +0000)]
Add eet_data_image_read_to_surface and eet_data_image_decode_to_surface.

This functions provide a way to support tiles with eet. They also give the
possibility to directly decompress eet image inside an engine surface.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34725 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago* add efreet garbage data check
raster [Thu, 29 May 2008 02:00:04 +0000 (02:00 +0000)]
* add efreet garbage data check
* remove printfs that clutter output
* add efreet file type check - only parse regular files
* chekc mmap returns correctly for MAP_FAILED results
* edje has some stubs for adding script-only objecvts - but nothing useful
right now

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34689 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoDisabling support of old eet file format was broken.
cedric [Tue, 27 May 2008 13:50:40 +0000 (13:50 +0000)]
Disabling support of old eet file format was broken.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34681 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoOops double commit.
cedric [Mon, 19 May 2008 16:47:37 +0000 (16:47 +0000)]
Oops double commit.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34621 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoUpdate ChangeLog.
cedric [Mon, 19 May 2008 16:28:30 +0000 (16:28 +0000)]
Update ChangeLog.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34620 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRemove some unused variable.
cedric [Mon, 19 May 2008 16:01:50 +0000 (16:01 +0000)]
Remove some unused variable.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34619 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRemove use of sprintf by propagating the buffer size information.
cedric [Mon, 19 May 2008 15:27:04 +0000 (15:27 +0000)]
Remove use of sprintf by propagating the buffer size information.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34618 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRemove all use of strcpy as we already know the length.
cedric [Mon, 19 May 2008 15:25:46 +0000 (15:25 +0000)]
Remove all use of strcpy as we already know the length.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34617 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoOld eet file format are now marked as deprecated. The plan is to let the
cedric [Mon, 19 May 2008 15:23:41 +0000 (15:23 +0000)]
Old eet file format are now marked as deprecated. The plan is to let the
support enable by default for some time, then make desactivate it and finaly
we will remove it completely at some point.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34616 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agopass make distcheck and a snapshot asparagus release - been a while
raster [Mon, 19 May 2008 00:07:12 +0000 (00:07 +0000)]
pass make distcheck and a snapshot asparagus release - been a while

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34600 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agominor fix of the doc about tests and coverage
doursse [Fri, 16 May 2008 15:32:32 +0000 (15:32 +0000)]
minor fix of the doc about tests and coverage

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34592 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago Introducing unit test in EFL using cvs check library for the test
cedric [Fri, 16 May 2008 15:07:03 +0000 (15:07 +0000)]
   Introducing unit test in EFL using cvs check library for the test
suite (http://check.sourceforge.net/) and lcov from cvs also for the
coverage accounting (http://ltp.sourceforge.net/coverage/lcov.php).
   This first set provide an overall coverage rate for src/lib 2111
of 2607 lines (81.0%) for eet. And it helped in finding and fixing
the bugs of the last three days.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34591 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd some test around efn->offset and set it properly in all case.
cedric [Fri, 16 May 2008 14:03:11 +0000 (14:03 +0000)]
Add some test around efn->offset and set it properly in all case.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34590 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix EET_FILE_MODE_READ_WRITE when file doesn't exist.
cedric [Fri, 16 May 2008 10:00:54 +0000 (10:00 +0000)]
Fix EET_FILE_MODE_READ_WRITE when file doesn't exist.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34588 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoThe purpose of descriptor3 was to introduce a way to malloc/free less string. So...
cedric [Fri, 16 May 2008 09:59:16 +0000 (09:59 +0000)]
The purpose of descriptor3 was to introduce a way to malloc/free less string. So do it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34587 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRemove the wrong and dead code for basic type inside list/hash and put assert instead.
cedric [Thu, 15 May 2008 14:16:46 +0000 (14:16 +0000)]
Remove the wrong and dead code for basic type inside list/hash and put assert instead.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34580 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix a bug with list or hash of basic type. They are now silently converted
cedric [Thu, 15 May 2008 14:14:35 +0000 (14:14 +0000)]
Fix a bug with list or hash of basic type. They are now silently converted
to an implicit structure with the basic type inside.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34579 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix a typo preventing the parsing of unsigned int.
cedric [Thu, 15 May 2008 14:03:09 +0000 (14:03 +0000)]
Fix a typo preventing the parsing of unsigned int.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix inlined string dump/undump.
cedric [Wed, 14 May 2008 20:54:15 +0000 (20:54 +0000)]
Fix inlined string dump/undump.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34570 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoConverting back an hash from a dumped text was broken.
cedric [Wed, 14 May 2008 20:53:07 +0000 (20:53 +0000)]
Converting back an hash from a dumped text was broken.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34569 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33