Commit Graph

218 Commits

Author SHA1 Message Date
Carsten Haitzler f019dcad07 return write errors on close.
SVN revision: 22758
2006-05-20 02:44:24 +00:00
Carsten Haitzler 8a0c9369aa fix lib version
SVN revision: 22628
2006-05-15 02:50:18 +00:00
stffrdhrn 4c5b9e1f24 More cleanups:
* fix more requirements for const


SVN revision: 20985
2006-03-04 02:46:24 +00:00
stffrdhrn e2074460ce Clean ups
* char * -> const char * where needed


SVN revision: 20984
2006-03-04 02:11:03 +00:00
Carsten Haitzler d08bfbb6c6 ok- visibility disabled for now - works on x86 32bit. amd64 is broken (gcc
bug it seems) need to explore this more.


SVN revision: 19680
2006-01-10 07:32:56 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
Carsten Haitzler f8dd4d1af7 support special strign and alloc methods
SVN revision: 18731
2005-11-30 15:36:19 +00:00
tsauerbeck 8176b2c5fa more code cleanup
SVN revision: 18714
2005-11-29 18:49:30 +00:00
tsauerbeck e2aff84f25 code cleanup
SVN revision: 18702
2005-11-29 11:44:51 +00:00
tsauerbeck 6d73fde23a warnings
SVN revision: 18701
2005-11-29 11:32:10 +00:00
rbdpngn dfa6c0196c Use a pre-allocated buffer on the stack for storing temporary chunks.
SVN revision: 18669
2005-11-27 18:54:02 +00:00
Carsten Haitzler 40ae019495 seriously - no one uses dynamic buffers for setting up an eet descriptor -
theyare fixed strings. so why strdup them? use them direct. they are in the
read-only segment already - keep them there! :)


SVN revision: 18667
2005-11-27 16:06:55 +00:00
Carsten Haitzler f42422b558 less allocs!
SVN revision: 18666
2005-11-27 14:32:44 +00:00
Carsten Haitzler 4365d69079 handle NULL strings and "" as the same - and only produce null strings to
avoid tonnes of 1 byte allocs


SVN revision: 18615
2005-11-23 12:55:43 +00:00
Carsten Haitzler 889accc343 LEAK! fix.
SVN revision: 18357
2005-11-07 06:16:26 +00:00
Carsten Haitzler 09e699d360 avoid fd overflow.
SVN revision: 18356
2005-11-07 03:15:22 +00:00
sebastid 2ea1cbcc22 remove strdup
SVN revision: 18288
2005-11-04 18:29:02 +00:00
sebastid fb95ab1814 Delay string duplication until necessary.
Fix leak.


SVN revision: 18287
2005-11-04 17:44:01 +00:00
Carsten Haitzler 0b399a3c1a oops - leak. fixed
SVN revision: 18266
2005-11-04 07:16:50 +00:00
Carsten Haitzler 60eeefc3a9 formattting
SVN revision: 18261
2005-11-04 03:24:50 +00:00
Carsten Haitzler 4c88b00112 reduce some allocs
SVN revision: 18260
2005-11-04 03:22:22 +00:00
Carsten Haitzler 51a616eda7 cacheburst works again
SVN revision: 18251
2005-11-03 15:05:21 +00:00
Carsten Haitzler e114a02062 add a cache burst mode
SVN revision: 18248
2005-11-03 13:05:52 +00:00
sebastid 39998058bd Unused variable
SVN revision: 17156
2005-10-04 11:31:44 +00:00
doursse 5d0175b636 doxygen doc fix. Feel free to add more informations in the @file section
SVN revision: 16991
2005-09-27 15:23:34 +00:00
Carsten Haitzler 234beef243 dont double free IF we happen to ref < 0 (not really possible tho)
SVN revision: 15986
2005-08-01 13:53:17 +00:00
Carsten Haitzler cf3732d8b9 solaris breakage - fix.
SVN revision: 15956
2005-07-30 09:09:31 +00:00
Kim Woelders b25f5c9e75 Quiet.
SVN revision: 15939
2005-07-29 16:41:05 +00:00
tsauerbeck 216c51ea31 added eet_num_entries()
SVN revision: 15785
2005-07-15 20:37:29 +00:00
tsauerbeck 63c5d7586c in eet_list(), check whether the supplied glob is '*'. iirc raster said freebsd's fnmatch() didn't support '*' well so he added the same workaround to edje... and so it should be in libeet, too
SVN revision: 15779
2005-07-14 16:51:28 +00:00
tsauerbeck 2a6b9852d7 duplicate name to self
SVN revision: 14957
2005-05-26 11:14:15 +00:00
tsauerbeck 220ab137d0 need to reduce compress to 0 or 1 down there, too
SVN revision: 14955
2005-05-26 11:04:42 +00:00
tsauerbeck 7868fea3aa check for overflow of of buflen
SVN revision: 14954
2005-05-26 10:58:22 +00:00
tsauerbeck 92c57be18b whitespace good
SVN revision: 14953
2005-05-26 10:53:53 +00:00
tsauerbeck 898379b49b duplicate name first
SVN revision: 14952
2005-05-26 10:51:50 +00:00
tsauerbeck 26d7e31787 use Z_BEST_COMPRESSION
SVN revision: 14951
2005-05-26 10:28:41 +00:00
tsauerbeck e2acf51360 cleanup
SVN revision: 14950
2005-05-26 10:22:56 +00:00
tsauerbeck 27a62c33a5 only write 0 or 1 to the header though for the compression flag
SVN revision: 14949
2005-05-26 10:03:03 +00:00
tsauerbeck 6fec921778 true is everything but zero
SVN revision: 14948
2005-05-26 10:02:10 +00:00
tsauerbeck 638b1c7da7 don't define _POSIX_SOURCE, it breaks things very slightly. if anyone knows the proper fix, go ahead.
SVN revision: 14947
2005-05-26 09:46:45 +00:00
tsauerbeck cc37e8166f warnings ;)
SVN revision: 14946
2005-05-26 09:43:23 +00:00
Carsten Haitzler cb2934afab oops - broke writing. flush bad. fixed.
SVN revision: 14945
2005-05-26 06:15:48 +00:00
Carsten Haitzler 67506e226f and lo-and-behold. eet gets faster! a lot faster for data chunk decoding
(used by edje and ecore_config and e_config) and just general eet archive
opening times...


SVN revision: 14943
2005-05-26 03:57:57 +00:00
Carsten Haitzler 2f81db8bb2 whitespace + unsigned
SVN revision: 14917
2005-05-23 04:32:04 +00:00
Carsten Haitzler 4acd48f5af use %a for more precision
SVN revision: 14848
2005-05-19 00:13:25 +00:00
Carsten Haitzler e600739282 slightly faster image load
SVN revision: 14696
2005-05-10 13:35:33 +00:00
Carsten Haitzler 40aca025df clean up code and move image related code to its own file
SVN revision: 14651
2005-05-07 16:46:26 +00:00
Carsten Haitzler 3d0bd377dc spew out errors
SVN revision: 14621
2005-05-06 08:59:23 +00:00
Carsten Haitzler b2699bb440 was doign some debugging. i think eet needs a cache... :) not yet tho
SVN revision: 14056
2005-04-01 07:26:09 +00:00
Carsten Haitzler 5924ae6242 dont allow .. ../ /../ and /.. and absolute paths starting with / in the test
app, and dont overflow the buffer.


SVN revision: 14028
2005-03-31 08:36:10 +00:00
Carsten Haitzler f73faed27b cleaner maintainer-clean
SVN revision: 13611
2005-03-04 14:09:34 +00:00
tsauerbeck b4980b62f2 renamed EET_FILE_MODE_RW to EET_FILE_MODE_READ_WRITE
SVN revision: 13595
2005-03-03 17:26:46 +00:00
tsauerbeck 8875cff90f indentation fix
SVN revision: 13232
2005-02-07 19:11:55 +00:00
tsauerbeck ddae6f0289 made eet_list() fail when the file isn't opened read-only or read-write
SVN revision: 13231
2005-02-07 18:11:49 +00:00
tsauerbeck a774219a5c added EET_FILE_MODE_INVALID and eet_mode_get()
SVN revision: 13230
2005-02-07 18:10:20 +00:00
tsauerbeck 3a5190d3bd if an EET is opened for EET_FILE_MODE_WRITE, don't permit eet_read() calls. and don't die if the header isn't set up correctly yet
SVN revision: 13187
2005-02-03 17:20:29 +00:00
Carsten Haitzler fd8b8b434f tillies consts! :)
SVN revision: 12996
2005-01-17 08:27:23 +00:00
tsauerbeck ea8cac4716 early check of the open mode, slightly more efficient
SVN revision: 12933
2005-01-12 19:59:11 +00:00
Carsten Haitzler c422759847 gone!
SVN revision: 12926
2005-01-12 14:23:16 +00:00
Carsten Haitzler c4b1b524eb only RW mode works...
SVN revision: 12924
2005-01-12 13:48:45 +00:00
Carsten Haitzler e808a14040 leak--;
SVN revision: 12854
2005-01-10 04:26:50 +00:00
Carsten Haitzler 4483465c58 oops. fix eet
SVN revision: 12481
2004-12-16 09:30:15 +00:00
tsauerbeck 0f8510fbf1 evil warning fixed ;)
SVN revision: 12341
2004-12-02 21:09:29 +00:00
Carsten Haitzler 26ca180c07 add a delete call
SVN revision: 12331
2004-12-02 04:25:25 +00:00
Carsten Haitzler e984d6b4fb support gcc 4 and 3.4 + hidden symbols
SVN revision: 12250
2004-11-25 05:15:48 +00:00
Carsten Haitzler c8fee00895 ldflags
SVN revision: 12123
2004-11-02 03:34:42 +00:00
tsauerbeck 2c9986c4e7 how the fuck did this get in unnoticed? maybe actually read the warnings cc spits out?
SVN revision: 12107
2004-10-31 11:21:30 +00:00
Carsten Haitzler f5d79011d1 binary mode... and...
close file AFTER finish off of decompress! :)


SVN revision: 12046
2004-10-28 09:54:02 +00:00
tsauerbeck ea400bc3ff open files properly
SVN revision: 11959
2004-10-22 13:57:49 +00:00
Carsten Haitzler 0e38160623 buildie cleanies
SVN revision: 11955
2004-10-22 02:40:32 +00:00
Carsten Haitzler 13e8c17e75 no brackets
SVN revision: 11944
2004-10-21 07:38:41 +00:00
Carsten Haitzler e85003bdef no more \m
SVN revision: 11938
2004-10-21 06:18:02 +00:00
Carsten Haitzler 3489ea4645 oops. no mroe seggies! :)
SVN revision: 11937
2004-10-21 06:16:55 +00:00
Carsten Haitzler e2cdb096b1 use LDFLAGS!
SVN revision: 11931
2004-10-21 02:45:21 +00:00
Carsten Haitzler df286f2bef patchies contributed :)
SVN revision: 11917
2004-10-20 03:13:44 +00:00
tsauerbeck 64b608f7e7 works on mingw now
SVN revision: 11842
2004-10-12 16:15:54 +00:00
Carsten Haitzler b81f2b2b90 reduce more stat calls
SVN revision: 11416
2004-08-28 08:41:19 +00:00
tsauerbeck 8bc99227a1 so much for the code changes required to compile on mingw.
SVN revision: 10832
2004-07-14 16:37:29 +00:00
tsauerbeck 6019341904 fixed some warnings
SVN revision: 10813
2004-07-13 18:23:16 +00:00
Carsten Haitzler 68aac0d54c mipspro happiness
SVN revision: 9966
2004-04-29 01:32:35 +00:00
Carsten Haitzler d707df4f5c changes to support evoak efficiently
SVN revision: 9830
2004-04-21 06:38:37 +00:00
Carsten Haitzler c82e8c2756 version uppie...
SVN revision: 9732
2004-04-15 07:58:38 +00:00
Carsten Haitzler 6886d05af0 properly cross-compile
SVN revision: 9000
2004-02-17 07:11:28 +00:00
Carsten Haitzler 12027a59db back to 0.9.0
SVN revision: 8576
2004-01-20 02:02:33 +00:00
tsauerbeck 9aa98bed52 comitting untested code sucks :/
SVN revision: 8535
2004-01-17 17:52:10 +00:00
tsauerbeck f9f8ba198e make this the right way
SVN revision: 8525
2004-01-17 15:58:40 +00:00
tsauerbeck 9af690822a fixed detection of fmemopen() and open_memstream()
SVN revision: 8522
2004-01-17 15:11:55 +00:00
tsauerbeck 9a048bd058 zero the header info before writing it. this wasn't a critical bug, but it might help debugging and it shuts up valgrind.
SVN revision: 8521
2004-01-17 15:01:19 +00:00
tsauerbeck 5c53190442 added eet_shutdown(), which cleans up the eet_memfile stuff
SVN revision: 8520
2004-01-17 14:58:50 +00:00
swielinga 0c0ef02fb4 Fixed a couple of debs in e17/libs, added and updated a couple of .cvsignores.
SVN revision: 7872
2003-11-13 12:30:50 +00:00
rbdpngn a566961983 Just to make efence happy, use free instead of realloc on a cache size of 0.
SVN revision: 7478
2003-09-24 07:08:57 +00:00
Carsten Haitzler 48ccbe5123 more documentation
SVN revision: 7248
2003-07-27 13:12:33 +00:00
Carsten Haitzler edadfc5dfe make packages :)
SVN revision: 7203
2003-07-21 01:22:39 +00:00
Carsten Haitzler 0bd04fcad7 alignment niceness for ARM :)
SVN revision: 7127
2003-07-10 23:18:42 +00:00
Carsten Haitzler f888136a06 cross-compile for ARM! :)
SVN revision: 7121
2003-07-10 10:32:27 +00:00
Carsten Haitzler 0656623f54 now make eet REALLY not leak if a parse error occurs in decoding serialized
data struct.


SVN revision: 7114
2003-07-07 22:36:37 +00:00
Carsten Haitzler f54245420a make sure eet doesn't leak on "bad decoding". this means api changes though -
sorry.


SVN revision: 7112
2003-07-07 07:52:20 +00:00
Carsten Haitzler 1fafc49b8d endianess bugzors!
SVN revision: 7053
2003-06-21 05:23:45 +00:00
Carsten Haitzler 32061346b6 oops. memfile compatability layer bug. fixed. using ftell now. also added in
an extra "if" for "if quality >= 90 then make pixel UV sampling 1x1 not 2x2
as normal for jpeg encoding"


SVN revision: 7040
2003-06-17 08:12:03 +00:00
Carsten Haitzler eccfb5727a return useful info
SVN revision: 7032
2003-06-16 13:39:42 +00:00
Carsten Haitzler dfe36d9ad5 null data struct write out safe...
SVN revision: 7031
2003-06-16 13:22:48 +00:00
Carsten Haitzler 4cb41d0dd2 be null string pointer safe
SVN revision: 7009
2003-06-11 09:09:17 +00:00
Carsten Haitzler 0ec43a7627 oops. missing # in example
SVN revision: 6747
2003-03-05 22:47:29 +00:00
Carsten Haitzler abcabbe929 errr... documentation! woohoo! :)
SVN revision: 6746
2003-03-05 08:06:00 +00:00
Carsten Haitzler 7ccd8ece42 update
SVN revision: 6745
2003-03-05 06:02:03 +00:00
Carsten Haitzler 37fbcbf7d7 memfile abstraction for the solaris/bsd weenies :) :) :)
SVN revision: 6651
2003-02-03 01:07:58 +00:00
Carsten Haitzler bfe9713eb8 NULL names for edd's are not valid... BARF
SVN revision: 6577
2003-01-13 06:40:49 +00:00
Carsten Haitzler 19452d7a6f and chekc soem string pointers
SVN revision: 6576
2003-01-13 06:22:02 +00:00
Carsten Haitzler d814b97a3e ok.. if silyl people list entries on eets they opened for write and havent
added any entires....


SVN revision: 6575
2003-01-13 04:31:00 +00:00
Carsten Haitzler f8c623246f oops...
SVN revision: 6498
2002-12-20 22:00:44 +00:00
Carsten Haitzler 06320cc301 code code fix fix
SVN revision: 6495
2002-12-18 06:02:26 +00:00
Carsten Haitzler c36863b1dc some more docs...
SVN revision: 6492
2002-12-15 03:06:09 +00:00
Carsten Haitzler 3f054d3453 ooops! :)
SVN revision: 6491
2002-12-15 01:32:13 +00:00
Carsten Haitzler 1998266d13 spellage on docs
SVN revision: 6471
2002-12-03 01:16:19 +00:00
Carsten Haitzler f9c788d432 and toss in all the doc stuff... still need to document the data munging
calls though...


SVN revision: 6470
2002-12-03 00:26:34 +00:00
Carsten Haitzler f9fb3941f8 move eet to HEAD
SVN revision: 6469
2002-12-02 23:39:26 +00:00
Michael Jennings 619055204b Fri Oct 4 15:20:20 2002 Michael Jennings (mej)
These were meant for SPLIT.


SVN revision: 6404
2002-10-04 19:21:01 +00:00
swielinga 0928550c9b Debianized eet.
NOTE: The patch I posted to enlightenment-devel is still required to build
      this, until raster applies it or fixes configure otherwise.


SVN revision: 6403
2002-10-04 16:55:27 +00:00