Commit Graph

464 Commits

Author SHA1 Message Date
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
Carsten Haitzler d76a37172f since patch from vincent.
SVN revision: 34155
2008-03-31 15:48:59 +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
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 5a351ab3da replace some win32 ifdef hacks with autoconf checks
SVN revision: 33617
2008-01-26 05:50:09 +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
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
Carsten Haitzler 22dbedf987 refuse to handle a 0 sized file without an error
SVN revision: 32609
2007-11-12 06:15: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 0c4af24a33 save a few bytes by packing structures better... simple savings :)
SVN revision: 30486
2007-06-28 23:22:20 +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 bcbc04daf5 usless if's
SVN revision: 29799
2007-05-02 11:08:41 +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 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 101ed1b320 remove eet test progs
SVN revision: 26821
2006-10-28 06:32:53 +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
Peter Wehrfritz b08b9b4ff3 this example would never compile
SVN revision: 26245
2006-09-30 18:42:57 +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 f1316fa8e9 unaligned int access - fix.
SVN revision: 23702
2006-07-03 20:15:54 +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 3a85bfb709 cedric's mmap patch
SVN revision: 23413
2006-06-13 10:20:22 +00:00
sebastid 74681bc617 Return error
SVN revision: 23033
2006-05-31 19:13:51 +00:00
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