Commit Graph

700 Commits

Author SHA1 Message Date
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
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 42d262f5f3 up eet to alpha status. see email to e-devel.
SVN revision: 34127
2008-03-28 14:37:29 +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
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 20d79e8612 fix ref count issues on file modify while in use. lost handles and
dictionaries we depend on.


SVN revision: 33894
2008-03-02 04:56:57 +00:00
Carsten Haitzler 8b37476352 add file
SVN revision: 33887
2008-03-01 17:37:39 +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
Horms c67cb60818 libeet: Build depends on automake and libtool
There seems to be a typo, likely introduced by me,
such that the libtool dependancy was an alternate to automake.

If you don't have automake instlled at configure time, then
the following error pops up on Debian unstable.

configure.in:19: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


SVN revision: 33772
2008-02-18 07:03:33 +00:00
Sebastian Dransfeld d610a1bd9a include files in the correct order
SVN revision: 33633
2008-01-27 13:17:22 +00:00
Sebastian Dransfeld 07a6398561 formatting
SVN revision: 33632
2008-01-27 13:08:30 +00:00
Sebastian Dransfeld cb4cc5b6c1 formatting
SVN revision: 33631
2008-01-27 12:56:44 +00:00
Sebastian Dransfeld 20e3248c9a formatting
SVN revision: 33630
2008-01-27 12:55:29 +00:00
Mike Frysinger 2f8cb706fd __USE_GNU is an internal define not meant for people to use
SVN revision: 33618
2008-01-26 05:52:47 +00:00
Mike Frysinger 5a351ab3da replace some win32 ifdef hacks with autoconf checks
SVN revision: 33617
2008-01-26 05:50:09 +00:00
Mike Frysinger 9cda799943 set proper ACLOCAL_AMFLAGS
SVN revision: 33605
2008-01-25 04:40:28 +00:00
Carsten Haitzler 92e084f9ca asparagus! also pass distcheck and have common autofoo init that is
consistent for package, version etc.


SVN revision: 33602
2008-01-25 03:35:49 +00:00
doursse 0f79f11a02 [win32] use the correct value for an invalid handle and check results. Remove trailing spaces
SVN revision: 33579
2008-01-24 08:41:23 +00:00
Carsten Haitzler b35e3bd260 cedric's eet race patch
SVN revision: 33544
2008-01-21 01:09:51 +00:00
Sebastian Dransfeld b45c8367cf const
SVN revision: 33521
2008-01-18 18:29:29 +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
Carsten Haitzler 0112fdc383 patches, caching fixes, zone dynamic creation/deletion handling, stuff.
SVN revision: 33127
2007-12-14 05:57:16 +00:00
Davide Andreoli 90b0867ee2 Update doxy style
SVN revision: 33024
2007-12-06 18:38:09 +00:00
ningerso ed6c28dc16 Only enforce file size in read mode, otherwise this breaks parallel builds of
edje files.


SVN revision: 32925
2007-12-01 21:14:25 +00:00
andrunko 2204cc1927 Added Ecore_IMF_Evas.
Removed Evas dependency from Ecore_IMF, that was requested by Ewl developers
in order to be able to integrate Ecore_IMF on it.

Added Ecore_IMF_Evas, a library with helper functions to use Ecore_IMF together
with Evas.

Now everybody should be happy.


SVN revision: 32812
2007-11-21 22:20:16 +00:00
ningerso cd2d56ea98 Use portable awk syntax.
SVN revision: 32631
2007-11-12 15:55:04 +00:00
Carsten Haitzler 22dbedf987 refuse to handle a 0 sized file without an error
SVN revision: 32609
2007-11-12 06:15:08 +00:00
Carsten Haitzler c6df44802c As requested -
debian--, gendoc++


SVN revision: 32476
2007-11-07 22:56:05 +00:00
Michael Jennings d7997fe020 Tue Nov 6 21:42:00 2007 Michael Jennings (mej)
Spec and build fixes.
----------------------------------------------------------------------


SVN revision: 32416
2007-11-07 05:42:08 +00:00
doursse cc6001a0a0 autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran and c++ compilers
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS


SVN revision: 32336
2007-11-04 09:10:50 +00:00
doursse 5f684ac512 typo + removing white spaces
SVN revision: 32226
2007-10-31 07:13:57 +00:00
Gustavo Sverzut Barbieri 8c9fc0fc42 Separate code and provide "double" version.
SVN revision: 31948
2007-10-03 14:28:07 +00:00
Gustavo Sverzut Barbieri 64f3e597e0 Float loading speedup.
SVN revision: 31940
2007-10-03 00:08:41 +00:00
andrunko 24eea4e7a7 Fixed bug on maemo.
somehow char is always treated as unsigned char, causing if (sign < 0)
to always return false.


SVN revision: 31939
2007-10-02 22:53:00 +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 a16876ac10 remove unused variables
SVN revision: 31863
2007-09-29 09:13:22 +00:00
Carsten Haitzler fe14d210b5 abort--
SVN revision: 31811
2007-09-26 00:16:31 +00:00
Carsten Haitzler d88b5cfe37 fix conversion to handle -0x0p+0 (negatives) properly - or at least matching
the output.


SVN revision: 31810
2007-09-25 23:41:03 +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 a50768e616 ignore
SVN revision: 31726
2007-09-15 23:52:37 +00:00
Sebastian Dransfeld bc1add673e Fix compiler warnings.
SVN revision: 31719
2007-09-14 23:38:17 +00:00
Carsten Haitzler 998bf2b2ef consistency - use old style datatypes.
SVN revision: 31670
2007-09-10 15:26:42 +00:00
Carsten Haitzler e45ff14147 that was a misdirected optimisation. remove.
SVN revision: 31660
2007-09-09 02:00:45 +00:00
Carsten Haitzler f23046c780 ok- tying to remove redundant nul/0 items seems to have broken something -
put them back.


SVN revision: 31659
2007-09-09 01:46:47 +00:00
Carsten Haitzler 67ab2130ac fix qout and backslash escaping
SVN revision: 31654
2007-09-08 15:32:33 +00:00
Carsten Haitzler d6510b0c39 and remove an extra l
SVN revision: 31652
2007-09-08 09:38:53 +00:00
Carsten Haitzler 0655006f42 and now we have a small tool that can extract, import, list, decode, encode
etc. data from eet files. just run eet for usage.


SVN revision: 31651
2007-09-08 09:35:41 +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
Carsten Haitzler 278279e269 asparagus!
SVN revision: 31524
2007-08-26 14:33:41 +00:00
Carsten Haitzler 78408fe60a 1. fix a lot of things so they pass make distcheck - so many things have
broken. guys - need to be more careful!
2. asparagus
3. some extra docs/comments for evas


SVN revision: 30696
2007-07-10 00:13:26 +00:00
Carsten Haitzler 0c4af24a33 save a few bytes by packing structures better... simple savings :)
SVN revision: 30486
2007-06-28 23:22:20 +00:00
Carsten Haitzler a6ad878e08 ASPARAGUS!
SVN revision: 30379
2007-06-17 15:25:52 +00:00
Carsten Haitzler 2818ca982a fix custom file info to be less delicate - not perfectly correct but it wont
lose all your data if e segv's or is kill -9'd anymore. eet handles multiple
writes to the same key now by overwriting the previous data


SVN revision: 30057
2007-05-23 12:07:14 +00:00
Carsten Haitzler 002d09cc7d asparagus - pass distcheck.
SVN revision: 29865
2007-05-05 15:14:17 +00:00
Carsten Haitzler bcbc04daf5 usless if's
SVN revision: 29799
2007-05-02 11:08:41 +00:00
Sebastian Dransfeld d2b7cd5296 Remove unused file.
SVN revision: 29091
2007-03-25 08:46:57 +00:00
tilman 3fdf2e556b removed eet-config
SVN revision: 28925
2007-03-22 17:07:46 +00:00
Sebastian Dransfeld dbe28a92ec No longer needed.
SVN revision: 28910
2007-03-22 16:01:20 +00:00
tilman 61d953ae93 moved -lz and -ljpeg to Libs.private because eet doesn't expose them
SVN revision: 28904
2007-03-22 15:22:32 +00:00
tilman 5ede68450d fixed the description field
SVN revision: 28830
2007-03-20 22:22:47 +00:00
doursse e39d8cfde7 missing ac_subst
SVN revision: 28083
2007-01-20 16:51:48 +00:00
doursse 7d7d514066 and fix the creation of the shared lib with MinGW.
SVN revision: 28081
2007-01-20 15:36:41 +00:00
doursse 9373a62203 fix compilation with MinGW
SVN revision: 28080
2007-01-20 15:20:23 +00:00
Sebastian Dransfeld 98b5b625ab Move hash gen func to own file.
SVN revision: 27605
2006-12-28 15:23:47 +00:00
Sebastian Dransfeld 0c773c9358 Fix memleak.
SVN revision: 27491
2006-12-17 11:20:25 +00:00
Sebastian Dransfeld 2318625fdc Fix memleak.
SVN revision: 27490
2006-12-17 11:07:23 +00:00
Sebastian Dransfeld 43af41b5e1 Store hashes. Please review.
SVN revision: 27489
2006-12-17 11:00:45 +00:00
Sebastian Dransfeld a6c47b583c When put'ing data we should not modify the source, so add const modifier.
This is a preparation for storing hashes, which uses const on the key.


SVN revision: 27488
2006-12-17 10:58:35 +00:00
Sebastian Dransfeld 895ddf87be Move common error code to the end of the function.
SVN revision: 27482
2006-12-16 22:27:18 +00:00
Sebastian Dransfeld aabc930623 Fix typo.
SVN revision: 27465
2006-12-15 20:16:29 +00:00
Carsten Haitzler 38af0c332a lotys of changes - mayaswell asparagus - and the start of some of my fm
properties dialog work... it sucks - i know.


SVN revision: 27348
2006-12-04 12:14:18 +00:00
Carsten Haitzler 6356e709b8 1. image size bounds checks for eet
2. e17 bug
3. color class add fir ibar state of label
4. epeg scales before getting pixel data.


SVN revision: 27205
2006-11-25 15:37:45 +00:00
Kim Woelders bcd4e797d6 Add const, fix warnings.
SVN revision: 26962
2006-11-05 12:14:08 +00:00
Carsten Haitzler 2b06fffc26 asparagus.
SVN revision: 26895
2006-11-01 00:05:06 +00:00
Carsten Haitzler 93c42e4ec3 clean out -debug package stuff
SVN revision: 26822
2006-10-28 06:35:55 +00:00
Carsten Haitzler 101ed1b320 remove eet test progs
SVN revision: 26821
2006-10-28 06:32:53 +00:00
Carsten Haitzler 86352e8677 asparagus - we have fixed a lot of things this week, so before the weekend of
hacking... aspara


SVN revision: 26698
2006-10-19 23:44:54 +00:00
Carsten Haitzler 3d832540ff safe reading of mmap! corupt eet/edje files would segv e!
SVN revision: 26659
2006-10-16 15:02:11 +00:00
Carsten Haitzler dcfe2e5fad aspara!
SVN revision: 26617
2006-10-15 15:41:17 +00:00
Carsten Haitzler b24637f442 asparagus! (finally after all the radical changes of late)
SVN revision: 26453
2006-10-09 15:47:03 +00:00
Peter Wehrfritz b08b9b4ff3 this example would never compile
SVN revision: 26245
2006-09-30 18:42:57 +00:00
kaethorn 07e0718cf8 add eet_bench to debian package.
SVN revision: 25984
2006-09-20 10:51:19 +00:00
Carsten Haitzler 8be34cd07c fix mmap bug
SVN revision: 25871
2006-09-16 05:57:36 +00:00
Carsten Haitzler 31e1675f52 fix segv!
SVN revision: 25177
2006-08-28 13:22:16 +00:00
David Walter Seikel 35d34dee92 The comment does say "Allocate struct for eet file and have it zero'd
out" but using calloc is inefficient since most members of the struct
are written to straight away.  Valgrind complains that the data member
can sometimes be used without being initialised.  Seems to happen when
we can't open it and eet_close tests the value of the data member.

Those that know this code better than me should check this. Probably a
good idea to initialise ALL members at this point.


SVN revision: 24848
2006-08-17 20:22:23 +00:00
Carsten Haitzler 5aa07e60c6 eet return ferror right
SVN revision: 24729
2006-08-15 06:45:51 +00:00
ningerso 39f349047f Need sys/types.h before sys/mman.h on OS X, and possibly other BSD based
systems.


SVN revision: 24188
2006-07-25 09:47:47 +00:00
Carsten Haitzler a0d15dfa55 release the asparagus... another snapshot! :)
SVN revision: 24151
2006-07-23 21:40:03 +00:00
Carsten Haitzler 5cc651419e aspara!!!
SVN revision: 24021
2006-07-18 04:11:49 +00:00
Carsten Haitzler 37642982f7 make other core efl things do the same package thing
SVN revision: 23876
2006-07-13 19:48:09 +00:00
Carsten Haitzler a06238ce46 edje prefix fixes - oops - was broken
build fixes for exec prefix settings


SVN revision: 23845
2006-07-11 09:43:26 +00:00
Carsten Haitzler 70c0609d51 asparagus time!
SVN revision: 23778
2006-07-09 18:35:57 +00:00
Carsten Haitzler f1316fa8e9 unaligned int access - fix.
SVN revision: 23702
2006-07-03 20:15:54 +00:00
Carsten Haitzler 7adf4ed4bd asparagus time...
SVN revision: 23679
2006-07-03 04:08:47 +00:00
Carsten Haitzler 50cd5ca75a remove openembedde pkg info - old and dead
SVN revision: 23615
2006-06-28 07:20:18 +00:00
Carsten Haitzler 268c8107f0 clear cache on shutdown
SVN revision: 23536
2006-06-22 19:22:26 +00:00
Carsten Haitzler ba54808ee8 actually close files
SVN revision: 23535
2006-06-22 19:21:31 +00:00
Carsten Haitzler cce1b3b586 another good time for good asparagus :) snapshot.
SVN revision: 23527
2006-06-22 09:21:50 +00:00
Carsten Haitzler 3a85bfb709 cedric's mmap patch
SVN revision: 23413
2006-06-13 10:20:22 +00:00
Carsten Haitzler d39713618c fix blah-config includes
SVN revision: 23387
2006-06-11 22:37:25 +00:00
Carsten Haitzler b71cb5326a 1. autofoot patches.
2. fix maximize to work again. :)


SVN revision: 23375
2006-06-11 10:23:49 +00:00
sebastid 74681bc617 Return error
SVN revision: 23033
2006-05-31 19:13:51 +00:00
Michael Jennings a0d1aa2c79 Wed May 24 21:58:38 2006 Michael Jennings (mej)
Spec file dependency fix:  need libjpeg-devel.
----------------------------------------------------------------------


SVN revision: 22872
2006-05-25 01:57:12 +00:00
Carsten Haitzler f019dcad07 return write errors on close.
SVN revision: 22758
2006-05-20 02:44:24 +00:00
Carsten Haitzler f2056229e7 1. fix ecore to build again (xcomp - u need to cvs add and commit your 2 new
.c files!) and asparagus!


SVN revision: 22732
2006-05-19 09:27:33 +00:00
Carsten Haitzler 8a0c9369aa fix lib version
SVN revision: 22628
2006-05-15 02:50:18 +00:00
Carsten Haitzler 5f330571dc use data macro fro release
SVN revision: 22225
2006-04-19 08:09:06 +00:00