Commit Graph

56 Commits

Author SHA1 Message Date
Cedric BAIL fbfa54bc05 * eet: another forgotten improvement.
SVN revision: 55017
2010-11-26 14:45:15 +00:00
Cedric BAIL a453783e68 * eet: reduce memory used by Eet dictionary.
SVN revision: 55016
2010-11-26 14:40:53 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Sebastian Dransfeld 1c05469785 fix stupid align of *
SVN revision: 50721
2010-07-31 18:57:35 +00:00
Sebastian Dransfeld 5d1a9f4e0d remove space after *
SVN revision: 50719
2010-07-31 18:54:54 +00:00
Carsten Haitzler f7019f134d formatting. <- uncrustify
SVN revision: 50698
2010-07-31 01:54:48 +00:00
Carsten Haitzler 926db95c54 testing uncrustify on eet. this shall be standard efl formatting from
now on. you may run indent on code and convert to your own formatting
if you want.. but all code MUST be "uncrustified" before being
cxommitted to svn or before generating patches. time to get the
formatting monster under control.



SVN revision: 50563
2010-07-28 01:45:57 +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
Cedric BAIL a61eda93a4 * eet: Add mempool for Eet_Node structure.
SVN revision: 45259
2010-01-17 14:32:58 +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
Vincent Torri 204d2976e2 formatting
SVN revision: 43408
2009-11-02 08:18:33 +00:00
Vincent Torri d416f2d8df formatting
SVN revision: 42979
2009-10-09 05:38:52 +00:00
Vincent Torri d26955c432 remove useless Eina_Log macros. Patch by Mathieu Taillefumier.
SVN revision: 42850
2009-10-02 03:59:17 +00:00
Cedric BAIL 9a5f70b8c7 * eet: Add support for fixed point in Eet.
Note: They are saved as EET_T_DOUBLE, and you can request fixed point value
	where you stored EET_T_FLOAT or EET_T_DOUBLE. In fact now any floating point
	or fixed point value can be retrieved as any real number type you need. Eet
	is taking care of the convertion for you.



SVN revision: 42800
2009-09-29 13:24:45 +00:00
Gustavo Sverzut Barbieri 183237e348 improve logging messages introduced by Mathieu Taillefumier.
move some to error/critical, remove trailing \n.

NOT doing ChangeLog entry on purpose, it's useless as it's an
intra-release change (changes the previous unlreleased change)



SVN revision: 42547
2009-09-17 14:33:06 +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 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
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 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
Cedric BAIL bb9eeaa8f0 Add a function to get the raw signature data.
SVN revision: 37809
2008-11-26 10:45:47 +00:00
Cedric BAIL febbf0ab0f Make password callback work (PKCS8 support), fix minor bugs and add more tests.
SVN revision: 37625
2008-11-14 17:34:51 +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
Cedric BAIL 1e13a4aec2 Use eina conversion functions (Remove code from eet).
SVN revision: 36844
2008-10-20 09:44:34 +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 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
Peter Wehrfritz f5bd66341f fix compile warnings
SVN revision: 35143
2008-07-17 20:28:59 +00:00
Cedric BAIL 86e4286496 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.


SVN revision: 34919
2008-06-26 15:47:25 +00:00
Cedric BAIL 4b23e38e3e Remove use of sprintf by propagating the buffer size information.
SVN revision: 34618
2008-05-19 15:27:04 +00:00
doursse 59a88b9bc8 reorganise header files so that evil is better included. Please test before the release.
SVN revision: 34130
2008-03-28 17:17:43 +00:00
Carsten Haitzler fcf201dea7 the rest of cedrics patchesfor fixing dictionaries and read_write
SVN revision: 33969
2008-03-09 16:16:40 +00:00
doursse bb32035399 * define EAPI on Windows according to the following scheme:
- if Eet is built:
     . if the shared lib is built, EAPI must be __declspec(dllexport)
     . if the static lib is built, EAPI must be empty
   - otherwise EAPI must be __declspec(dllimport)
 * move config.h from Eet_private.h to source files so that
   EAPI is correctly defined in Eet.h
 * add notes for compilation with cegcc and mingw32ce in INSTALL
 * add support for compilation with cegcc
 * add indentation information for vi
 * remove trailing spaces


SVN revision: 33959
2008-03-08 07:28:12 +00:00
Carsten Haitzler b65d63440f add cedrics dict check patch
SVN revision: 33946
2008-03-06 17:52:59 +00:00
doursse c0414ae96c use evil on win32:
* remove all the specific win32 code
 * replace EAPI by EAPI_DEF in front of definitions of funtions
 * no need to check windows.h, winsock2.h
 * sys/mmap.h will be detected automatically (thanks to evil on win32)
 * use AC_CHECK_HEADERS instead of AC_CHECK_HEADERS_ONCE as this macro is too recent (from autoconf 2.59c)


SVN revision: 33896
2008-03-02 06:49:48 +00:00
Carsten Haitzler e076a78519 cedric's eet and edje patches to use eet dictionaries for strings.
SVN revision: 33873
2008-03-01 06:38:09 +00:00
Mike Frysinger 5a351ab3da replace some win32 ifdef hacks with autoconf checks
SVN revision: 33617
2008-01-26 05:50:09 +00:00
doursse c16dd5ae7d declare properly alloca when AC_FUNC_ALLOCA is used (see autoconf doc)
SVN revision: 31864
2007-09-29 09:21:43 +00:00
doursse e769f25d10 * Add conversion functions to replace the use of snprintf with %a
* remove useless defines
 * minor cleanups

fixes bugs #181 and #182


SVN revision: 31805
2007-09-25 18:26:49 +00:00
Sebastian Dransfeld bc1add673e Fix compiler warnings.
SVN revision: 31719
2007-09-14 23:38:17 +00:00
Sebastian Dransfeld 98b5b625ab Move hash gen func to own file.
SVN revision: 27605
2006-12-28 15:23:47 +00:00
Kim Woelders bcd4e797d6 Add const, fix warnings.
SVN revision: 26962
2006-11-05 12:14:08 +00:00
Carsten Haitzler 3a85bfb709 cedric's mmap patch
SVN revision: 23413
2006-06-13 10:20:22 +00:00
Carsten Haitzler f019dcad07 return write errors on close.
SVN revision: 22758
2006-05-20 02:44:24 +00:00
stffrdhrn 4c5b9e1f24 More cleanups:
* fix more requirements for const


SVN revision: 20985
2006-03-04 02:46:24 +00:00
Carsten Haitzler d08bfbb6c6 ok- visibility disabled for now - works on x86 32bit. amd64 is broken (gcc
bug it seems) need to explore this more.


SVN revision: 19680
2006-01-10 07:32:56 +00:00
Carsten Haitzler 4c88b00112 reduce some allocs
SVN revision: 18260
2005-11-04 03:22:22 +00:00
Carsten Haitzler 67506e226f and lo-and-behold. eet gets faster! a lot faster for data chunk decoding
(used by edje and ecore_config and e_config) and just general eet archive
opening times...


SVN revision: 14943
2005-05-26 03:57:57 +00:00