Commit Graph

83 Commits

Author SHA1 Message Date
Cedric BAIL 3efbdeee6d * eet: minor API/code cleanup.
SVN revision: 47687
2010-04-02 13:48:36 +00:00
Gustavo Sverzut Barbieri ea4e8a0abb eet: mega doc update, still stuff to do.
* sync AUTHORS

 * add couple of groups, and change head.html to include "Modules"

 * Reorganize the Eet.h so header is better grouped and in an order
   that makes sense to the reader (as Eet.h gives the modules/group
   ordering).



SVN revision: 47327
2010-03-18 20:16:56 +00:00
Cedric BAIL 563eb442b1 * eet: make doc sync with our time.
SVN revision: 47323
2010-03-18 15:18:13 +00:00
Gustavo Sverzut Barbieri 5703649567 Update example to not use deprecated calls.
SVN revision: 47301
2010-03-17 01:00:59 +00:00
Gustavo Sverzut Barbieri 42c8058da2 Fix docs indentation and one example.
@vincent: This is an ongoing effort, after we're all done we'll update
the damn ChangeLog :-)

@cedric: There are couple of @since 2.0.0, but we're at 1.2.3, could
you review in which version you introduced those changes? :-)



SVN revision: 47300
2010-03-17 00:49:51 +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 08fd28bfa6 * eet: Add eet_data_node_decode_cipher and eet_data_node_read_cipher.
SVN revision: 45062
2010-01-12 16:50:18 +00:00
Cedric BAIL f0fd392e9f * eet: MASSIV REWRITE OF EET_DATA !
Eet_Data now use more common code when doing dump/decode. This
	provide new functionnality, you can now do a list/array/hash of string.
	make test/coverage are now passing without problem with 79% of the code
	covered (mainly need to update test suite for fixed point). This rewrite
	is also a first for script langage to directly manipulate Eet_Data (more
	patch comming). It's also a cleanup of the Eet_Node API that could now
	be used just fine.

	Note: Previous dump will not be compatible with this update, but
	Eet_Data will.

	PS: I did some extensive test here with enlightenment, elementary_test,
	editje, elixir and eyelight. If you experience any weird behaviour that
	could be linked with eet_data (well almost anything that use the EFL),
	please report to me as soon as possible.


SVN revision: 45059
2010-01-12 12:38:59 +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
Vincent Torri 927fe76f5f move EINA_DEPRECATED at the beginning of the declaration
SVN revision: 42519
2009-09-16 17:45:04 +00:00
Carsten Haitzler 359df1c2b9 fix eet docs.
SVN revision: 41826
2009-08-17 01:51:56 +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 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
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 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