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