Commit Graph

67 Commits

Author SHA1 Message Date
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 70c7a08c05 * eet_node: Fix API.
SVN revision: 40873
2009-06-02 16:24:28 +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 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 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 3c1b5cfb3c Fix documentation.
SVN revision: 38048
2008-12-09 13:02:44 +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 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
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
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 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 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 2b37d10029 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.


SVN revision: 34725
2008-06-02 16:01:18 +00:00
Peter Wehrfritz 390111df9b docs
SVN revision: 34301
2008-04-17 14:27:24 +00:00
Carsten Haitzler 06bf5d5c13 cedrics eet -d fixes.. yay!
SVN revision: 34233
2008-04-10 08:57:03 +00:00
Carsten Haitzler d76a37172f since patch from vincent.
SVN revision: 34155
2008-03-31 15:48:59 +00:00
doursse 741b44f6e2 remove trailing spaces and factorize Windows detection
SVN revision: 34135
2008-03-29 07:28:18 +00:00
Carsten Haitzler 42d262f5f3 up eet to alpha status. see email to e-devel.
SVN revision: 34127
2008-03-28 14:37:29 +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
doursse a3b06c3a70 * EAPI_DEF is actually useless. go back to EAPI
before using the correct way to deal with
   dllimport / dllexport on Windows
 * remove some trailing spaces


SVN revision: 33949
2008-03-07 09:59:37 +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
Sebastian Dransfeld 07a6398561 formatting
SVN revision: 33632
2008-01-27 13:08:30 +00:00
Carsten Haitzler b35e3bd260 cedric's eet race patch
SVN revision: 33544
2008-01-21 01:09:51 +00:00
leviathan 50dc3d6aab english
SVN revision: 33191
2007-12-20 07:22:52 +00:00
Davide Andreoli 69981c27b9 Arghh !! I have lost one night of work for this doxy error. Please, please, please update doxy when you make changes.
SVN revision: 33190
2007-12-20 00:13:13 +00:00
doursse 5f684ac512 typo + removing white spaces
SVN revision: 32226
2007-10-31 07:13:57 +00:00
Carsten Haitzler 8cb216641c ok- all you whiners. eet data encodings are reversable now without edd info.
there are api calls ot dump any eet encoded data lump into text and re-encode
into binary blob. no tools currently - that can be done later, but all the
api calls in eet that you need are there, as well as data in the blob.


SVN revision: 31649
2007-09-08 07:44:03 +00:00
doursse 9373a62203 fix compilation with MinGW
SVN revision: 28080
2007-01-20 15:20:23 +00:00
Sebastian Dransfeld 43af41b5e1 Store hashes. Please review.
SVN revision: 27489
2006-12-17 11:00:45 +00:00
Kim Woelders bcd4e797d6 Add const, fix warnings.
SVN revision: 26962
2006-11-05 12:14:08 +00:00
Peter Wehrfritz b08b9b4ff3 this example would never compile
SVN revision: 26245
2006-09-30 18:42:57 +00:00
Carsten Haitzler 3a85bfb709 cedric's mmap patch
SVN revision: 23413
2006-06-13 10:20:22 +00:00
sebastid 74681bc617 Return error
SVN revision: 23033
2006-05-31 19:13:51 +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
stffrdhrn e2074460ce Clean ups
* char * -> const char * where needed


SVN revision: 20984
2006-03-04 02:11:03 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
Carsten Haitzler f8dd4d1af7 support special strign and alloc methods
SVN revision: 18731
2005-11-30 15:36:19 +00:00
Carsten Haitzler 40ae019495 seriously - no one uses dynamic buffers for setting up an eet descriptor -
theyare fixed strings. so why strdup them? use them direct. they are in the
read-only segment already - keep them there! :)


SVN revision: 18667
2005-11-27 16:06:55 +00:00
Carsten Haitzler e114a02062 add a cache burst mode
SVN revision: 18248
2005-11-03 13:05:52 +00:00
doursse 5d0175b636 doxygen doc fix. Feel free to add more informations in the @file section
SVN revision: 16991
2005-09-27 15:23:34 +00:00
tsauerbeck 216c51ea31 added eet_num_entries()
SVN revision: 15785
2005-07-15 20:37:29 +00:00
Carsten Haitzler 2f81db8bb2 whitespace + unsigned
SVN revision: 14917
2005-05-23 04:32:04 +00:00
tsauerbeck b4980b62f2 renamed EET_FILE_MODE_RW to EET_FILE_MODE_READ_WRITE
SVN revision: 13595
2005-03-03 17:26:46 +00:00
tsauerbeck 8875cff90f indentation fix
SVN revision: 13232
2005-02-07 19:11:55 +00:00
tsauerbeck a774219a5c added EET_FILE_MODE_INVALID and eet_mode_get()
SVN revision: 13230
2005-02-07 18:10:20 +00:00
Carsten Haitzler fd8b8b434f tillies consts! :)
SVN revision: 12996
2005-01-17 08:27:23 +00:00