Commit Graph

1010 Commits

Author SHA1 Message Date
Cedric BAIL 97b8f7a58d * eet: remove dead code.
SVN revision: 47871
2010-04-09 12:38:49 +00:00
Cedric BAIL 28759c1a67 * eet: fix file corruption reported by Tiago Falcao <tiago@profusion.mobi>
Note: Do never call eet_flush2 if you don't actually fclose the file just after.



SVN revision: 47832
2010-04-08 14:04:22 +00:00
Cedric BAIL 7c14ed7617 * eet: we don't need to duplicate hash key when we could just point
to the Eet_File dictionnary entries.



SVN revision: 47806
2010-04-07 14:00:15 +00:00
Vincent Torri 84bf1cda79 must include winsock2.h before time.h and jpeglib.h (for vc++...)
SVN revision: 47721
2010-04-03 06:11:19 +00:00
Vincent Torri 1132f6d855 remove cegcc compiler support
SVN revision: 47720
2010-04-03 05:34:44 +00:00
Vincent Torri a8cc200870 * update Visual Studio project files
* declare alloca in eet_connection.c
 * remove the definition of __UNUSED__ (already done in config.h)
 * reorganize a bit the inclusion of header files so that
   the code is a bit more consistent


SVN revision: 47719
2010-04-03 05:29:44 +00:00
Cedric BAIL c20cd7715a * eet: oops, forgot to add the file.
SVN revision: 47690
2010-04-02 14:30:06 +00:00
Cedric BAIL aa015979bb * eet: Add Eet_Connection.
This will help people that want to use Eet over any kind of link.


SVN revision: 47688
2010-04-02 13:51:00 +00:00
Cedric BAIL 3efbdeee6d * eet: minor API/code cleanup.
SVN revision: 47687
2010-04-02 13:48:36 +00:00
Cedric BAIL 57f1862163 * eet: reduce amount of stress test with many thread.
SVN revision: 47686
2010-04-02 13:48:07 +00:00
Gustavo Sverzut Barbieri 8cdfb061dd eet docs: next steps
SVN revision: 47337
2010-03-18 22:36:41 +00:00
Vincent Torri 80adafe5fc add "Compiling" and "Installing" in TOC
SVN revision: 47332
2010-03-18 21:51:35 +00:00
Vincent Torri b1a89973df add a table of content. "Next Steps" must be filled.
SVN revision: 47329
2010-03-18 21:32:34 +00:00
Vincent Torri bb2462c3ab Add eet examples documentation and update html doc menu to add 'Examples' tab.
Gustavo: documentation of examples should be added in examples.dox.
         There is one page for each example in that file.


SVN revision: 47328
2010-03-18 21:09:13 +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 92cf666bd7 * eet: Fix a dead lock when reopening the same file.
SVN revision: 47286
2010-03-16 12:10:28 +00:00
Cedric BAIL 6ce0cadc63 * eet: Oops forgot ChangeLog and give credit to Adam Simpkins.
SVN revision: 47239
2010-03-15 17:04:30 +00:00
Cedric BAIL 649760234c * eet: Reintroduce eet cache lock fix.
This version also fix a bug when file wasn't an eet file.


SVN revision: 47237
2010-03-15 14:47:51 +00:00
Vincent Torri 965ee1d469 typo
SVN revision: 46946
2010-03-07 12:13:44 +00:00
Vincent Torri 633c600ddf when pthread is found, don't abort if spin lock is not found but not reqested
Patch by Albin Tonnerre


SVN revision: 46941
2010-03-07 12:05:49 +00:00
Carsten Haitzler 73a9612f2c also revert - on3e of these 2 - or both, causes a deadlock in e. see my
previous commit log.



SVN revision: 46918
2010-03-07 03:01:55 +00:00
Carsten Haitzler 329628e8e7 remove this patch (and will remove next too).. somethgn created a deadlock..
for NON threaded apps (e17). specifically:

   if (!locked) LOCK_CACHE;
   
at the top of eet_internal_close() gets called (locked is 0) and deadlocks e.
this is worse than threaded apps having problems. so... need to revert.



SVN revision: 46917
2010-03-07 03:01:14 +00:00
Carsten Haitzler e9b23a2d30 dont link to unrelated pages
SVN revision: 46903
2010-03-06 01:12:38 +00:00
Cedric BAIL 9033f05263 * eet: Fix a dead lock when eet file was open more than once.
SVN revision: 46892
2010-03-05 17:29:37 +00:00
Cedric BAIL c285985eeb * eet: Fix clearcache race condition.
Patch by Adam Simpkins.


SVN revision: 46891
2010-03-05 17:19:03 +00:00
Carsten Haitzler 0226ebda94 fmatting.
SVN revision: 46758
2010-03-02 01:07:32 +00:00
Cedric BAIL 3e59d34441 * eet: Fix override of global symbols.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>


SVN revision: 46682
2010-03-01 11:03:35 +00:00
Vincent Torri 9129d1d30a abort when pthread is requested but not found
patch by Albin Tonnerre



SVN revision: 46655
2010-02-28 17:27:38 +00:00
Vincent Torri c3ec1a38f7 useless semi-colon
SVN revision: 46080
2010-02-11 15:32:29 +00:00
Sebastian Dransfeld eea9a74ebb Don't do unnecessary strcmp
SVN revision: 45882
2010-02-04 20:02:45 +00:00
Carsten Haitzler 82d51bffd7 changelog++
SVN revision: 45864
2010-02-04 09:11:09 +00:00
Vincent Torri 519cb98847 use efl_fnmatch m4 macro
SVN revision: 45852
2010-02-03 20:47:48 +00:00
Vincent Torri 3cbb822384 fix mingw flags
SVN revision: 45669
2010-01-28 17:13:30 +00:00
Cedric BAIL 3cf2432589 * eet: Zero cipher material as soon as possible. Prevent information
leak of temporary data in memory, so improve security.



SVN revision: 45630
2010-01-27 17:53:07 +00:00
Cedric BAIL 8aadedaaec * eet: Better tests suites.
SVN revision: 45443
2010-01-22 18:01:54 +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
Vincent Torri e0eec7c48f include Evil.h so that getenv is declared on Windows CE
SVN revision: 45294
2010-01-18 18:01:20 +00:00
Cedric BAIL c04c1c745a * eet: Update the poor ChangeLog.
SVN revision: 45260
2010-01-17 15:06:37 +00:00
Cedric BAIL a61eda93a4 * eet: Add mempool for Eet_Node structure.
SVN revision: 45259
2010-01-17 14:32:58 +00:00
Vincent Torri 15d7b45c23 eet_cipher.c: Fix arithmetic pointer on void *
SVN revision: 45211
2010-01-16 12:07:18 +00:00
Cedric BAIL 171f07e158 * eet: Fix amalgamation.
SVN revision: 45188
2010-01-15 14:56:49 +00:00
Vincent Torri f5ccebf7d5 binary can be disabled
SVN revision: 45168
2010-01-15 06:05:28 +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 793f9f2494 * eet: Update the damn ChangeLog. Thanks again Vincent :-)
SVN revision: 45061
2010-01-12 16:19:40 +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
Vincent Torri fb539519ca add pthread flags
SVN revision: 44984
2010-01-08 18:17:24 +00:00
Carsten Haitzler 4070ab5f6a another deadlock in eet - threadsafe goop! fix fix fix!
SVN revision: 44906
2010-01-05 04:40:12 +00:00
Vincent Torri 7ccfc62c02 * better m4 code
* use latest efl_pthread.m4 code and update configure.ac accordingly



SVN revision: 44771
2009-12-30 00:02:48 +00:00
Cedric BAIL bd006b823c * eet_data: Don't fail on memory starvation.
SVN revision: 44755
2009-12-29 13:42:45 +00:00
Cedric BAIL 9c48ce68c2 * eet_node: Make eet_node_dump fully functionnal.
Next step, generate Eet_Node directly inside eet_data_decode.


SVN revision: 44748
2009-12-28 16:52:27 +00:00
Cedric BAIL 2410d1f00a * eet: Update ChangeLog :-)
SVN revision: 44636
2009-12-21 17:25:12 +00:00
Cedric BAIL a7d5c71d07 * eet_node: Progressively move all dump code in eet_node.
SVN revision: 44628
2009-12-21 15:46:56 +00:00
Cedric BAIL e24ddfb0a0 * eet: Correctly detect GNUTLS hability.
SVN revision: 44548
2009-12-18 17:41:43 +00:00
Vincent Torri fe0f51ab21 set the size of the test images explicitely
SVN revision: 44536
2009-12-18 09:32:51 +00:00
Cedric BAIL cb77de8e30 * eet_data: Make eet_data_descriptor_free safe on NULL pointer.
SVN revision: 44368
2009-12-11 12:53:08 +00:00
Vincent Torri e524017f78 don't use UNICODE
SVN revision: 44275
2009-12-08 05:55:55 +00:00
Vincent Torri 61458db565 * Include winsock2.h in eet_image.c for htonl definition on Windows.
* Fix Visual Studio project files

SVN revision: 44249
2009-12-07 17:13:37 +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
Cedric BAIL 5dd7275c9a * eet: Fix convertion from any float type to any other float type.
SVN revision: 44239
2009-12-07 09:33:20 +00:00
Vincent Torri 87d8d005fb fix order
SVN revision: 44180
2009-12-04 06:44:40 +00:00
Carsten Haitzler 145b7ee2a1 deadlock fuckers! fix! :)
SVN revision: 44179
2009-12-04 01:15:19 +00:00
Cedric BAIL 3836c6d3fc * eet: All this header are not needed in this case.
SVN revision: 44175
2009-12-03 15:47:15 +00:00
Cedric BAIL 8a5c2976f6 * eet: Fix order.
SVN revision: 44174
2009-12-03 15:41:56 +00:00
Cedric BAIL ca1e3adf20 * eet: Update ChangeLog.
SVN revision: 44173
2009-12-03 15:38:26 +00:00
Cedric BAIL af13fe5496 * eet: All operation on Eet_File should be thread safe. This should
make use of all eet primitive thread safe now.

	Please any bug or lock that you find.


SVN revision: 44172
2009-12-03 15:35:04 +00:00
Carsten Haitzler 799b9b0fac asparagus - finally
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Vincent Torri 1b98d1216c Add check on libgcrypt library in configure. Needed when GNUtls
support is enabled.


SVN revision: 43622
2009-11-11 20:05:47 +00:00
Vincent Torri cf472c4d50 fix the dist/distcheck rule
SVN revision: 43473
2009-11-06 00:38:07 +00:00
Vincent Torri 135976b8b3 typos in the removal of the header files
SVN revision: 43413
2009-11-02 08:53:17 +00:00
Vincent Torri c645c312d2 update ChangeLog file
SVN revision: 43410
2009-11-02 08:44:31 +00:00
Vincent Torri 35bd81e535 * add amalgamation option to eet (disabled by default,
as no real gain is seen (compilation time, size))
 * add namespace for words_bigendian, to make amalagamation happy
 * don't redefine macros, for the same purpose


SVN revision: 43409
2009-11-02 08:41:43 +00:00
Vincent Torri 204d2976e2 formatting
SVN revision: 43408
2009-11-02 08:18:33 +00:00
Vincent Torri 5a7dd01fed openssl/err.h included twice
SVN revision: 43407
2009-11-02 07:46:48 +00:00
Vincent Torri d35b5ccfde eet doc looks better now
SVN revision: 43084
2009-10-14 19:41:54 +00:00
Vincent Torri d416f2d8df formatting
SVN revision: 42979
2009-10-09 05:38:52 +00:00
Vincent Torri ad994b3960 initialize eina first in eet_init().
SVN revision: 42977
2009-10-09 05:07:26 +00:00
Vincent Torri 2d315f76c9 fix eet_init() when called several times but is failing
SVN revision: 42971
2009-10-08 21:16:26 +00:00
Vincent Torri 9e8c44052d simplify eet_init() and eet_shutdown() a bit
SVN revision: 42954
2009-10-08 06:04:03 +00:00
Vincent Torri 62c9363178 * more quoting
* add silent rules (shave feature)
   see the description of AM_SILENT_RULES in: 
   http://www.gnu.org/software/automake/manual/automake.html#Public-Macros



SVN revision: 42906
2009-10-06 16:54:26 +00:00
Cedric BAIL 3927d4a74f * eet: Revert back some INF macro to fprintf as this is not for logging purpose.
SVN revision: 42901
2009-10-06 12:07:29 +00:00
Vincent Torri 11341fff0f * Check the returned value of eet_init() in the binary.
* Use binary mode of fopen() in eet_main() for Windows compatibility


SVN revision: 42851
2009-10-02 04:06:58 +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 5ca2776a01 * eet: Fix some llvm report.
SVN revision: 42816
2009-09-30 10:05:15 +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 4e63a7b157 add VS8 project for eet binary. Not tested, though
SVN revision: 42556
2009-09-18 08:09:00 +00:00
Vincent Torri 825c8fd9be * fix copy/paste typo in start.bat
* add VS project for the eet binary
 * make eet_main.c compile with vc++

SVN revision: 42555
2009-09-18 07:41:05 +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
Vincent Torri 7d884078e0 add new line
SVN revision: 42528
2009-09-16 20:35:35 +00:00
Vincent Torri 18bd48b4a5 update README.txt and MANIFEST.txt files
SVN revision: 42527
2009-09-16 20:24:23 +00:00
Vincent Torri 3fd2eab56a * Add Visual Studio 2008 solution and project file
* make start.bat generic

SVN revision: 42524
2009-09-16 20:10:27 +00:00
Vincent Torri 02adb06f5a fix VS8 project file
SVN revision: 42520
2009-09-16 17:55:18 +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
Cedric BAIL f523b22bb3 * eet: Update ChangeLog
SVN revision: 42496
2009-09-15 15:06:03 +00:00
Cedric BAIL 3e23569492 * eet_data: Remove unused freeleak.
SVN revision: 42495
2009-09-15 14:48:42 +00:00
Cedric BAIL 7fe73280d6 * eet: Update AUTHORS and ChangeLog accordingly.
SVN revision: 42493
2009-09-15 11:23:28 +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 74a22e367f * use Requires.private field in eet.pc if pkg-config 0.22 is installed.
We list in it the required packages needed to compile eet.
 * remove uneeded flags that are in Libs.private (those from the packages
   that are listed in Requires.private)

Patch by dottedmag, modified a bit.


SVN revision: 42367
2009-09-09 15:50:52 +00:00
Vincent Torri be3e63eb6d et_init should fail if eina_init fails
SVN revision: 42237
2009-09-04 05:03:47 +00:00
Vincent Torri 8eb64a4e2d update Visual Studio project
SVN revision: 42060
2009-08-28 06:32:45 +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
Vincent Torri 008b437d52 update changelog
SVN revision: 41877
2009-08-19 12:18:08 +00:00
Vincent Torri 5c8b90d23c add alloca() declaration
SVN revision: 41874
2009-08-19 10:58:38 +00:00
Carsten Haitzler 359df1c2b9 fix eet docs.
SVN revision: 41826
2009-08-17 01:51:56 +00:00
Mikhail Gusarov 90f801d31c From: Mikhail Gusarov <dottedmag@dottedmag.net>
Those symbols appeared earlier than in 1.2.2, but debian/libeet1.symbols
was not updated, so there is no point to look at the actual minimal
versions of symbols.



SVN revision: 41824
2009-08-17 01:31:38 +00:00
Carsten Haitzler aff55d6fbb log.
SVN revision: 41814
2009-08-16 09:44:21 +00:00
Carsten Haitzler 65c50a0a4e fix - write empty chunks. need them for corner case. see comments.
SVN revision: 41810
2009-08-16 07:06:22 +00:00
Gustavo Sverzut Barbieri cbbb575f69 have his full name, as he likes it =)
SVN revision: 41798
2009-08-16 00:37:38 +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 05edf17dd4 * eet: Oops. Fix init order.
SVN revision: 41736
2009-08-13 13:57:22 +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
Carsten Haitzler a1b1beed52 RELEASE: eet 1.2.2
SVN revision: 41531
2009-07-29 07:54:14 +00:00
Cedric BAIL 470b2756ba Oops, forgot changelog.
SVN revision: 41483
2009-07-23 12:33:02 +00:00
Cedric BAIL fe553249ef * eet: Fix initialization for system that don't support SECMEN.
Note that I don't like this solution, but I didn't see any better one.


SVN revision: 41481
2009-07-23 09:53:44 +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 3dfa5693f9 * eet: Update ChangeLog.
SVN revision: 41280
2009-07-08 15:13:03 +00:00
Cedric BAIL 0a6ef8bbde * eet: Reorder gcry init so that it's correctly taken into account by gcry.
SVN revision: 41279
2009-07-08 14:43:20 +00:00
Cedric BAIL 0e2a57f8c8 * eet: Fix compilation when disabling signature, with gnutls enabled.
SVN revision: 41256
2009-07-06 13:25:29 +00:00
Vincent Torri 390f94bcfd update m4 macros (mainly formatting)
SVN revision: 41212
2009-06-27 06:42:14 +00:00
Cedric BAIL 8a363fec23 * eet: SUN compiler don't like ; at the end of this macro.
SVN revision: 41184
2009-06-24 12:56:16 +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
Carsten Haitzler fd703f214f and eet snap
SVN revision: 41040
2009-06-15 05:38:48 +00:00
Cedric BAIL 9c5a02a771 * eet_node: Fix eet_data_undump segv when Eet_Node == NULL.
SVN revision: 40894
2009-06-04 09:29:56 +00:00
Cedric BAIL c7075525cc * eet: Update ChangeLog.
SVN revision: 40874
2009-06-02 17:08:30 +00:00
Cedric BAIL 70c7a08c05 * eet_node: Fix API.
SVN revision: 40873
2009-06-02 16:24:28 +00:00
Gustavo Sverzut Barbieri 7b7ece4046 fix debian rules files.
* fix the way AC_INIT macros are parsed to consider [] as well.
 * set both LDFLAGS and CFLAGS on the libs I use and I know support -fvisibility=hidden.




SVN revision: 40838
2009-05-26 17:34:53 +00:00
Cedric BAIL 16ae86eacb * eet_data: Remove some warning.
SVN revision: 40725
2009-05-18 14:46:32 +00:00
Vincent Torri 273fae43ea underquoted parameters of AC_INIT
SVN revision: 40653
2009-05-15 08:15:29 +00:00
Vincent Torri 13889717c4 update efl_doxygen.m4
SVN revision: 40652
2009-05-15 08:14:58 +00:00
Cedric BAIL b336298727 * Eet: Cleanup eet_data dump code.
SVN revision: 40643
2009-05-14 15:58:10 +00:00
Gustavo Sverzut Barbieri 37113c77a5 doxygen was missing as build dependency.
SVN revision: 40530
2009-05-06 21:03:11 +00:00
Daniel Kolesa 07ec7509a9 Fixed debian stuff everywhere.
SVN revision: 40505
2009-05-04 17:36:48 +00:00
Rodrigo Cesar Lopes Belem a7c514da2b Added libtool as Build-Depends to everything that uses
DEB_CONFIGURE_SCRIPT := ./autogen.sh

SVN revision: 40500
2009-05-03 14:32:23 +00:00
Daniel Kolesa f53053c1ca Missing build-deps
SVN revision: 40446
2009-04-28 16:38:18 +00:00
Carsten Haitzler 8e52d827ec move to uses no []'s as it works for me, but for belem... inconsistent []'s
doesnt work.



SVN revision: 40300
2009-04-23 00:32:53 +00:00
Daniel Kolesa 875d89a9fe Updated debian stuff for core EFL. Changed debian stuff of others to work with core EFL updates.
SVN revision: 40292
2009-04-22 16:37:17 +00:00
Carsten Haitzler 99ccf484f8 snapworth quality - distchecked. sonames bumped. rev's bumped. tarballs
uploaded.



SVN revision: 40284
2009-04-22 14:07:05 +00:00
Daniel Kolesa 7a07300a77 Updated changelogs for packages which will go into repository.
SVN revision: 40270
2009-04-21 17:39:20 +00:00
Carsten Haitzler e39dc41493 1. embryo shoudl have soname
2. yes local.conf slipped in - ignore
3. added soname version release to module arch dirs
4. adapted extra-modules to use the revision in arch
5. made e17 also have a release rev
6. dummy release stuff in eet - wont use it as its already released.



SVN revision: 40267
2009-04-21 14:17:42 +00:00
Gustavo Sverzut Barbieri 3ab5491316 fix distcheck on couple packages, problems with EXTRA_DIST
Do NOT include dirs in EXTRA_DIST (embryo, eet, ecore, evas, edje,
efreet) as it will include .svn directories!

EXTRA_DIST does not take a glob as ETK did, use $(wildcard glob) to
expand it.

And do not forget about adding extra files to EXTRA_DIST (wizard) and
DIST_SUBDIRS (fileman_opinfo).




SVN revision: 40247
2009-04-20 13:38:49 +00:00
Daniel Kolesa 4a2d186b02 Updated Standards-Version
SVN revision: 40228
2009-04-19 16:28:48 +00:00
Daniel Kolesa c06e55cc1b Merged with pkgE
SVN revision: 40226
2009-04-19 16:22:00 +00:00
Daniel Kolesa 5d5d17960d Prepared for merge with pkgE debian stuff
SVN revision: 40225
2009-04-19 16:18:41 +00:00
Cedric BAIL 1ad8971a15 * eet_cipher: Fix memory leak.
SVN revision: 40135
2009-04-17 14:00:31 +00:00
Cedric BAIL 18493b6d1b * eet_data: Cleanup a little eet_data_descriptor_decode.
SVN revision: 40109
2009-04-16 15:19:14 +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 7dd4b42c85 * eet_node.c: Oops, add file to svn.
SVN revision: 40106
2009-04-16 12:42:03 +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
Daniel Kolesa cd8dd91b01 Updated debian stuff(grew Standards-Version, updated python-ecore rules file)
SVN revision: 40043
2009-04-14 17:21:19 +00:00
Cedric BAIL f285d6ad16 * eet: Fix tests suite.
SVN revision: 40036
2009-04-14 09:26:15 +00:00
Cedric BAIL 634df72c4a * eet_data: Remove not used pointer.
SVN revision: 40035
2009-04-14 09:18:58 +00:00
Cedric BAIL 8e92f0540f * eet: Don't build OpenSSL support when we already build GnuTLS support.
SVN revision: 39728
2009-03-26 15:25:15 +00:00
Cedric BAIL 858d63ffd8 * eet: Update ChangeLog.
SVN revision: 39720
2009-03-25 17:12:25 +00:00
Cedric BAIL a4f5088a41 * eet.pc.in: Fix private dependencies.
SVN revision: 39717
2009-03-25 16:27:22 +00:00
Cedric BAIL c392637d27 * eet_lib: Prevent double init of gcry.
SVN revision: 39716
2009-03-25 16:26:46 +00:00
Daniel Kolesa 47d3a66c13 i found it is useless and cdbs is setting up prefix automatically.
SVN revision: 39695
2009-03-24 19:56:43 +00:00
Daniel Kolesa 510ec92901 forgot to add --prefix=/usr
SVN revision: 39694
2009-03-24 19:51:00 +00:00
Daniel Kolesa 1bce155f0f Updated debian stuff everywhere.
SVN revision: 39693
2009-03-24 19:44:57 +00:00
Vincent Torri c8702ccfa6 Fix compilation on OpenBSD (bug #251). Patch by eumel.
SVN revision: 39626
2009-03-22 13:37:17 +00:00
Cedric BAIL 4846c18b8a * Eet: Update ChangeLog according to last modification.
SVN revision: 39592
2009-03-19 19:14:38 +00:00
Cedric BAIL 0dcb98f55f * eet_data: Make it thread safe and fix some memory leak.
SVN revision: 39590
2009-03-19 19:00:46 +00:00
Carsten Haitzler f41991c662 disable fsync
SVN revision: 39542
2009-03-18 01:47:33 +00:00
Gustavo Sverzut Barbieri 1258d9c2ee update changelog.
SVN revision: 39539
2009-03-17 22:31:35 +00:00
Gustavo Sverzut Barbieri 3ca2a97471 make sure data is on disk, don't get empty files on ext4/ext3=writeback.
Ok, raster said it would not happen but just crashed my machine and
e.cfg was lost due ext4 being in writeback by default. Accordingly to
Theodore Ts'o
(http://thunk.org/tytso/blog/2009/03/15/dont-fear-the-fsync/) we
should fsync even on open-write-close+rename case.



SVN revision: 39536
2009-03-17 20:49:36 +00:00
Carsten Haitzler a510f6a593 llvm complaint fix from Tiago Falcão
SVN revision: 39469
2009-03-13 16:12:24 +00:00
Cedric BAIL 7a0edc53f6 * eet/AUTHORS,
* eet/ChangeLog: Actually update ChangeLog and AUTHORS according to last work.


SVN revision: 39425
2009-03-09 17:56:42 +00:00
Cedric BAIL bd0d413ffe * eet/src/lib/eet_cipher.c: Report size as expected by API.
SVN revision: 39424
2009-03-09 15:52:14 +00:00
Cedric BAIL 970a2eb7bd eet: Including two times the same header is useless in the best case.
SVN revision: 39334
2009-03-02 15:39:10 +00:00
Cedric BAIL 1d1335498c eet: Fix memleak during cipher.
SVN revision: 39331
2009-03-02 14:43:57 +00:00
Gustavo Sverzut Barbieri b95c69d2f5 Fix problem reported by clang.
TODO: we should review sign of length attributes and make them
consistent whenever possible.

By: Luis Felipe Strano Moraes



SVN revision: 39258
2009-02-26 22:14:14 +00:00
Vincent Torri f5136b4b79 update m4 macro
SVN revision: 39152
2009-02-23 06:45:56 +00:00
Vincent Torri 15e0da2008 set _UNUSED__ to nothing for vc++
SVN revision: 39105
2009-02-19 21:13:20 +00:00
Vincent Torri ca37104eb5 do not include unistd.h if vc++ is used
SVN revision: 39103
2009-02-19 20:31:21 +00:00
Vincent Torri 49f3d0134f Include winsock2.h before time.h. Requested by vc++
SVN revision: 39102
2009-02-19 20:17:14 +00:00
Vincent Torri e692591eea set correctly the relative path of the extern directory,
so that it fits the one used in the tutorial.


SVN revision: 39101
2009-02-19 20:10:43 +00:00
Chidambar Zinnoury 0e36edbdfc Add some missing unused flags.
SVN revision: 38987
2009-02-09 20:46:12 +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
Chidambar Zinnoury 5b219a063c Dead assignment. Reported by CLang.
SVN revision: 38970
2009-02-08 10:19:52 +00:00
Vincent Torri ff10defecc Missing modification of the variable DOXYGEN to
efl_doxygen. Spotted by Albin Tonnerre (Lutin).


SVN revision: 38894
2009-02-01 20:26:08 +00:00
Vincent Torri 6364a1b9da check doxygen availability only if we enable documentation build
SVN revision: 38866
2009-01-31 20:18:51 +00:00
Cedric BAIL fa452d770d * eet/src/lib/eet_cipher.c: Fix a corrupted pointer use.
SVN revision: 38856
2009-01-30 13:50:01 +00:00
Cedric BAIL c1679231b7 Print signature and certificate lenght (give you an idea of the over head).
SVN revision: 38810
2009-01-27 13:12:59 +00:00
Iván Briano a3f3bf7ec3 Point the API Reference to the right file
SVN revision: 38760
2009-01-24 18:45:54 +00:00
Vincent Torri 62ca2f49f2 fix logic in efl_doxygen.m4
SVN revision: 38700
2009-01-22 21:14:12 +00:00
Vincent Torri 8f4f9134d8 update ac_attribute.m4
SVN revision: 38578
2009-01-14 08:36:02 +00:00
Carsten Haitzler fb92a519bf fix the copying license to
1. get rid of grammar mistake
2. refer to COPYING-PLAIn correctly as the filename
3. be more explicit on "shipping source" due to ambiguity (this makes it what
it was intended to be and that is GPL compatible).

this does not modify the LGPL libs... or GPL apps etc. - only those using the
original COPYING from e. author and dates at the top remain the same.



SVN revision: 38569
2009-01-13 13:00:45 +00:00
Vincent Torri c9505b11e2 check if the linker supports --as-needed
SVN revision: 38520
2009-01-09 17:29:06 +00:00
Daniel Kolesa b61dff0b58 Added debian/rules files with a new permissions set(755).
SVN revision: 38519
2009-01-09 16:33:51 +00:00
Daniel Kolesa 971b1682a9 prepare debian rules files for new chmod permissions.
SVN revision: 38518
2009-01-09 16:31:51 +00:00
Daniel Kolesa 2bf1434120 Added new set of debian subdirs.
BROKEN/etox 
e 
ecore 
e_dbus 
edje 
edje_editor 
edje_viewer 
eet 
efreet 
eina 
elicit 
elitaire 
embryo 
E-MODULES-EXTRA 
emotion 
emphasis 
empower 
emprint 
enhance 
enity 
entrance 
ephoto 
epsilon 
esmart 
estickies 
etk 
etk_extra 
evas 
evolve 
ewl 
exhibit 
exml 
expedite 
imlib2 
imlib2_loaders 
MISC/engage 
OLD/eclair 
OLD/engrave 
OLD/enotes 
OLD/entrance_edit_gui 
OLD/e_utils 
OLD/evoak 
OLD/examine 
OLD/iconbar 
PROTO/etk_server 
PROTO/exchange 
PROTO/extrackt 
rage


SVN revision: 38399
2009-01-01 11:35:17 +00:00
Daniel Kolesa bf77c1ced2 Removed debian subfolders - prepared for a new set of debian subdirs.
SVN revision: 38398
2009-01-01 11:25:05 +00:00
handyande b9cea15d05 as-needed is not globally supported - perhaps it needs to be detected?
SVN revision: 38390
2008-12-31 16:17:04 +00:00
Cedric BAIL 4b73a295ec Update m4 macro to provide __UNUSED__.
SVN revision: 38387
2008-12-31 13:08:45 +00:00
Cedric BAIL e678664d12 Remove dead debugging code.
SVN revision: 38352
2008-12-30 11:04:35 +00:00
Cedric BAIL 32dbc61034 Remove dead assignment.
SVN revision: 38351
2008-12-30 11:01:36 +00:00
Cedric BAIL 484f8c1083 Remove useless affectation.
SVN revision: 38349
2008-12-29 16:59:47 +00:00
Cedric BAIL 69f1a6a61e Remove dead assignment and change condition for easier match.
SVN revision: 38344
2008-12-29 10:51:38 +00:00
Cedric BAIL a1a421f5ca Remove dead code detected by llvm static analyser.
SVN revision: 38343
2008-12-29 10:47:18 +00:00
Cedric BAIL ee56641dc8 Remove unused variable and check error return.
SVN revision: 38342
2008-12-29 10:29:08 +00:00
Cedric BAIL 41a6b9d484 Check decompression error. Potential bug detected by llvm static analyser.
SVN revision: 38341
2008-12-29 09:39:03 +00:00
dm 729bf1a8e5 Eet Win32 VS8 project modified
SVN revision: 38283
2008-12-22 23:21:49 +00:00
Cedric BAIL 3c1b5cfb3c Fix documentation.
SVN revision: 38048
2008-12-09 13:02:44 +00:00
Cedric BAIL 9c381ceb1f Better error handling with eet identity.
SVN revision: 37937
2008-12-05 09:42:06 +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 059a224215 Oops, forgot to commit this file. Crypto should now work.
SVN revision: 37614
2008-11-14 09:01:11 +00:00
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
Gustavo Sverzut Barbieri 817e679d29 check fnmatch in evil before iberty (for mingw users)
Patch by Vincent, who is on windows and cannot commit :-P



SVN revision: 37608
2008-11-13 20:48:37 +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 9ca6c0af5d formatting, disable openssl by default on Windows XP
SVN revision: 37379
2008-11-01 18:11:27 +00:00
Peter Wehrfritz 612cdc6ca1 build eet even if openssl is not present
SVN revision: 37284
2008-10-28 22:15:26 +00:00
Vincent Torri c7a6ac8b89 fix filename in eet.dox.in
SVN revision: 37140
2008-10-26 12:03:37 +00:00
Vincent Torri 8823a0d40b fix output
SVN revision: 37118
2008-10-26 08:18:14 +00:00
Vincent Torri 852046b7cd use e.css instead of eet.css
SVN revision: 37115
2008-10-26 07:13:12 +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
kaethorn 2d8bb130ee Add eina to dependencies.
SVN revision: 36934
2008-10-21 13:46:18 +00:00
kaethorn 26294aae7c Update Debian files.
SVN revision: 36929
2008-10-21 12:23:03 +00:00
Vincent Torri 7ca391ace4 * exit when fnmatch is not found
* formatting


SVN revision: 36908
2008-10-21 06:13:26 +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
Kim Woelders dcb2e6ea27 Fix distcheck.
SVN revision: 36794
2008-10-18 21:13:11 +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
Peter Wehrfritz beaa909d45 configure.in -> configure.ac
SVN revision: 36364
2008-09-30 18:07:29 +00:00
Vincent Torri 7d07153e8f add eet_suite.h in tarballs
SVN revision: 36275
2008-09-27 16:04:35 +00:00
Sebastian Dransfeld 313771e7ec Fix typo
SVN revision: 36244
2008-09-25 05:38:23 +00:00
Carsten Haitzler 2b9cecee4f asparagus!
SVN revision: 36234
2008-09-25 02:59:59 +00:00
Carsten Haitzler dc00b38d0d update changelog for eet since it's 1.0!
SVN revision: 36233
2008-09-25 02:20:12 +00:00
Nicholas Hughart fee9946d79 My bad :)
SVN revision: 36139
2008-09-20 20:37:56 +00:00
Nicholas Hughart 7aa75cca57 Doxyfile should reference eet.c.in, not eet.c which doesn't exist.
SVN revision: 36138
2008-09-20 20:25:46 +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 c61e8a7081 Update ChangeLog.
SVN revision: 35607
2008-08-21 17:28:08 +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
Carsten Haitzler 0d3a45be0f ok. i think most binary files are now fixed.
SVN revision: 35525
2008-08-18 00:02:26 +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
doursse a1046bb11e 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 !


SVN revision: 35206
2008-07-24 18:26:08 +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 01d456b207 Update changelog.
SVN revision: 35158
2008-07-18 11:41:15 +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 912fe5584e Update ChangeLog.
SVN revision: 35142
2008-07-17 16:42:34 +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
Cedric BAIL 77bb260256 Improve decode speed by using precomputed hash.
SVN revision: 35140
2008-07-17 15:33:40 +00:00
Cedric BAIL f9f12aec91 Fix INLINED_STRING allocation, this was causing the bug with edje_decc.
SVN revision: 34980
2008-07-02 12:10:12 +00:00
Gustavo Sverzut Barbieri ed239be74a 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.


SVN revision: 34928
2008-06-27 22:05:49 +00:00
Cedric BAIL d16456e061 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.


SVN revision: 34925
2008-06-27 15:26:53 +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
Sebastian Dransfeld af829abf19 ignore++
SVN revision: 34864
2008-06-19 12:30:57 +00:00
Carsten Haitzler e2aa481463 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.


SVN revision: 34793
2008-06-10 10:10:19 +00:00
Horms 9707532fe0 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


SVN revision: 34790
2008-06-10 08:30:54 +00:00
Horms 5036b5f801 Add m4/doxygen.m4 and debian/* to distribution
These files are needed by configure and debian packaging respectively


SVN revision: 34789
2008-06-10 07:59:37 +00:00
Horms 2c8e1d84f4 Have configure create debian/changelog
Not doing so seems to be an omission.


SVN revision: 34788
2008-06-10 07:58:01 +00:00
Gustavo Sverzut Barbieri 83b37319b9 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).


SVN revision: 34777
2008-06-09 03:19:25 +00:00
Carsten Haitzler f153d22daf leak--
SVN revision: 34776
2008-06-09 03:07:35 +00:00
Cedric BAIL 40d8302800 Update ChangeLog.
SVN revision: 34726
2008-06-02 16:02:41 +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
Carsten Haitzler 43821d36e4 * 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


SVN revision: 34689
2008-05-29 02:00:04 +00:00
Cedric BAIL f89bed55e3 Disabling support of old eet file format was broken.
SVN revision: 34681
2008-05-27 13:50:40 +00:00
Cedric BAIL 575a80cdc8 Oops double commit.
SVN revision: 34621
2008-05-19 16:47:37 +00:00
Cedric BAIL 84435200a8 Update ChangeLog.
SVN revision: 34620
2008-05-19 16:28:30 +00:00
Cedric BAIL e3a9048600 Remove some unused variable.
SVN revision: 34619
2008-05-19 16:01:50 +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
Cedric BAIL 09e1b5d7da Remove all use of strcpy as we already know the length.
SVN revision: 34617
2008-05-19 15:25:46 +00:00
Cedric BAIL 6226ef6b93 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.


SVN revision: 34616
2008-05-19 15:23:41 +00:00
Carsten Haitzler 6982d7fb37 pass make distcheck and a snapshot asparagus release - been a while
SVN revision: 34600
2008-05-19 00:07:12 +00:00
doursse 3d7ca0e112 minor fix of the doc about tests and coverage
SVN revision: 34592
2008-05-16 15:32:32 +00:00
Cedric BAIL 0f5070cf40 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.


SVN revision: 34591
2008-05-16 15:07:03 +00:00
Cedric BAIL d7cf02c1b5 Add some test around efn->offset and set it properly in all case.
SVN revision: 34590
2008-05-16 14:03:11 +00:00
Cedric BAIL ecda494197 Fix EET_FILE_MODE_READ_WRITE when file doesn't exist.
SVN revision: 34588
2008-05-16 10:00:54 +00:00
Cedric BAIL 0755b54e76 The purpose of descriptor3 was to introduce a way to malloc/free less string. So do it.
SVN revision: 34587
2008-05-16 09:59:16 +00:00
Cedric BAIL e5d9afb26f Remove the wrong and dead code for basic type inside list/hash and put assert instead.
SVN revision: 34580
2008-05-15 14:16:46 +00:00
Cedric BAIL f99bb3f047 Fix a bug with list or hash of basic type. They are now silently converted
to an implicit structure with the basic type inside.


SVN revision: 34579
2008-05-15 14:14:35 +00:00
Cedric BAIL 8040f27451 Fix a typo preventing the parsing of unsigned int.
SVN revision: 34578
2008-05-15 14:03:09 +00:00
Cedric BAIL 86ffe2e502 Fix inlined string dump/undump.
SVN revision: 34570
2008-05-14 20:54:15 +00:00
Cedric BAIL 4cf13d10eb Converting back an hash from a dumped text was broken.
SVN revision: 34569
2008-05-14 20:53:07 +00:00
kaethorn 91e34485b3 fix Debian packaging.
SVN revision: 34474
2008-05-06 07:25:15 +00:00
kaethorn 2e07967101 Change Debian package name from libeet0 to libeet1.
SVN revision: 34468
2008-05-06 02:08:18 +00:00
kaethorn ace1e213d7 Merge with Debian files from PkgE.
SVN revision: 34393
2008-04-28 15:09:40 +00:00
doursse 5a76370a57 ignore libtool 2.2.* m4 files
SVN revision: 34388
2008-04-28 09:23:43 +00:00
Carsten Haitzler 59e5e0eedc +E
SVN revision: 34387
2008-04-28 04:35:13 +00:00
Carsten Haitzler 0bdbd29c9d readme needed fixing.
SVN revision: 34386
2008-04-28 04:25:50 +00:00
Carsten Haitzler 05ef8cb2d5 news has the release in it now.
SVN revision: 34385
2008-04-28 04:24:34 +00:00
Carsten Haitzler 5fccc31519 fix bug in eet decode of list and hashes of simple types. a bug waiting to
happen for sure.


SVN revision: 34384
2008-04-28 03:04:26 +00:00
doursse 3a2fc5eb58 add release comment in ChangeLog
SVN revision: 34338
2008-04-21 05:21:13 +00:00
Carsten Haitzler ba5ca67519 1.0.0
SVN revision: 34321
2008-04-20 06:40:28 +00:00
doursse 373afe17f4 actually, autom4te.cache is automatically removed
SVN revision: 34319
2008-04-20 06:03:03 +00:00
doursse e8ce230a28 add requested macro, hence more things to clean. add autogen.sh to dist
SVN revision: 34316
2008-04-19 21:40:32 +00:00
doursse 44004d8357 missing space
SVN revision: 34315
2008-04-19 21:25:50 +00:00
doursse dc5660047c put WIN32_CFLAGS in CFLAGS, not CPPFLAGS. Formatting
SVN revision: 34312
2008-04-19 21:18:12 +00:00
doursse 6152e13f48 winsock_libs renamed to WIN32_LIBS
SVN revision: 34308
2008-04-19 12:43:21 +00:00
doursse 3454813a9f * rename lt_auto_import to lt_enable_auto_import
* remove warning with newest autoconf's (check of __attribute__)
 * fix maintainer-clean rule (expecially with libtool 2.2.*)
 * formatting of the top level Makefile.am


SVN revision: 34307
2008-04-19 05:02:30 +00:00
Peter Wehrfritz 390111df9b docs
SVN revision: 34301
2008-04-17 14:27:24 +00:00
Sebastian Dransfeld 2d5c5486ee formatting
SVN revision: 34299
2008-04-17 14:09:48 +00:00
doursse 4c18926881 * rename 'create_shared_lib' to 'lt_no_undefined'
* auto import symbols when compiling with cegcc


SVN revision: 34278
2008-04-15 22:31:35 +00:00
doursse 13880a3328 Eet_private.h is not a source file
SVN revision: 34260
2008-04-13 09:17:47 +00:00
Carsten Haitzler 80c1db4f0c bitching--
SVN revision: 34236
2008-04-10 09:12:43 +00:00
Carsten Haitzler 06bf5d5c13 cedrics eet -d fixes.. yay!
SVN revision: 34233
2008-04-10 08:57:03 +00:00
doursse 5e7b84a40e cegcc (not mingw32ce) defines same structures, functions etc. in both in.h and winsock2.h. So do not include winsock2.h with that compiler
SVN revision: 34227
2008-04-09 08:27:17 +00:00
doursse 1b73237787 add unsued attribute when needed
SVN revision: 34184
2008-04-03 19:47:07 +00:00
Kim Woelders c088089d20 Add missing headers.
SVN revision: 34183
2008-04-03 19:30:18 +00:00
Kim Woelders 6b6110104c Add unistd.h for unlink(), comment out unused code.
SVN revision: 34182
2008-04-03 19:30:08 +00:00
Kim Woelders 5f73ab33be Add netinet/in.h for htonl().
SVN revision: 34181
2008-04-03 19:29:55 +00:00
doursse 6f26555c28 add Windows requirement, remove trailing spaces
SVN revision: 34179
2008-04-03 19:17:50 +00:00
Carsten Haitzler a11b5c4769 deps lists/ debugging too...
SVN revision: 34177
2008-04-03 18:47:14 +00:00
Carsten Haitzler d76a37172f since patch from vincent.
SVN revision: 34155
2008-03-31 15:48:59 +00:00
doursse b856c1bc13 use INPUT entry of Doxyfile instead of adding Eet.h at the end of eet.c, update the date. remove trailing spaces. Maybe we should add Cedric as author
SVN revision: 34140
2008-03-29 08:39:22 +00:00
doursse 2e5c629667 use correct variables for the name and version of the package
SVN revision: 34139
2008-03-29 08:27:44 +00:00
doursse b02e152b63 do not overwrite eet.c as it has been modified by configure
SVN revision: 34138
2008-03-29 08:25:43 +00:00
doursse 741b44f6e2 remove trailing spaces and factorize Windows detection
SVN revision: 34135
2008-03-29 07:28:18 +00:00
Carsten Haitzler 4efdc2e78d add string.h
SVN revision: 34131
2008-03-28 17:29:22 +00:00