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
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
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