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
e3d6b72073
Fix a typo that prevent some valid file to be loaded.
...
SVN revision: 35584
2008-08-20 15:35:15 +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
9c712115e4
unsigned long... better
...
SVN revision: 35227
2008-07-26 12:54:39 +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
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
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
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
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
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
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
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
dc5660047c
put WIN32_CFLAGS in CFLAGS, not CPPFLAGS. Formatting
...
SVN revision: 34312
2008-04-19 21:18:12 +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