Morten Delenk
60d40ac81b
Added a static library
2016-02-20 10:39:33 +01:00
Morten Delenk
f2988212b0
Created shared library
2015-12-15 12:16:31 +01:00
devinacker
7dba51dd28
fix possible crash when compressing very small data
...
because i'm a fucking idiot and forgot that size_t is unsigned!
2015-04-17 18:30:21 -04:00
devinacker
ab1823487b
fix(?) a huge concurrency issue
...
(why the fuck did i think having any sort of global state in a
compression routine was a good idea?)
2014-09-28 23:45:48 -04:00
devinacker
e45f993eed
don't check one more offset than we need
...
(another thing i forgot to update after changing the tuple size)
2014-04-03 18:15:45 -04:00
devinacker
7aa58df92f
fix comment in compress.c
2014-01-13 16:25:01 -05:00
devinacker
d7ea381746
index 4 bytes instead of 3
...
(since 4 is the smallest back reference anyway; this doesn't have nearly
the same effect on speed as 2-3 did though)
2013-12-25 14:53:16 -05:00
devinacker
d306a06037
tweak makefile
2013-11-19 20:12:15 -05:00
devinacker
6143186bcd
update documentation for v1.20
2013-11-15 17:21:13 -05:00
devinacker
a3b9b3a5ef
don't LZ search if an RLE is already max length
2013-11-15 17:09:54 -05:00
devinacker
82a1849337
forgot to actually free() the hash table (oops)
2013-11-15 16:52:18 -05:00
devinacker
9d52f2a03e
add license text to opening comments
...
(just for those who want to copy compress.c/.h into their own projects)
2013-11-15 16:40:53 -05:00
devinacker
dd67967f35
more compression optimization (probably final)
...
using uthash to keep a hashtable of byte triples instead of an array of
byte pairs (since the minimum back reference size is 3 bytes)
2013-11-15 16:32:14 -05:00
devinacker
b1263f2c05
fix bad decompression size error
2013-11-15 16:23:10 -05:00
devinacker
389613d56e
use stderr for info/error messages
2013-11-14 00:03:30 -05:00
devinacker
4067da453e
handle fread/fwrite errors more gracefully
2013-11-13 22:56:13 -05:00
devinacker
fdce5a50b8
remove pointless formatting
2013-11-13 22:34:17 -05:00
devinacker
fb163a5b08
more consistent types, some bounds checking
2013-11-13 22:31:06 -05:00
devinacker
d8e6310bb5
http://www.jerkcity.com/_jerkcity490.html
2013-11-12 17:07:14 -05:00
devinacker
39e2c2c03d
Merge pull request #2 from bentley/master
...
Minor nits
2013-11-12 13:55:15 -08:00
Anthony J. Bentley
dd17790576
Fix printf format warning. Remove leading space from positive value.
2013-11-12 03:04:57 -07:00
Anthony J. Bentley
1352435076
Don't error on “make clean” if nothing has been built.
2013-11-12 03:03:22 -07:00
devinacker
66233bc3a9
s->t
2013-10-29 08:47:27 -04:00
devinacker
f8ed01c458
use copy loops instead of memcpy/memmove
...
because different versions of gcc seem to disagree on how both of these
functions should handle overlapping memory. thanks stallman
2013-10-26 14:41:21 -04:00
devinacker
e8fb851b50
fix up compress.h
...
so that it can be used with c++ more conveniently
2013-10-26 14:25:23 -04:00
devinacker
cfb89888c1
Merge branch 'master' of https://github.com/devinacker/exhal
2013-10-24 22:12:55 -04:00
devinacker
be7d47c797
add github link to readme
...
since i don't feel like including the source in the binary download
anymore
2013-10-24 22:12:48 -04:00
devinacker
63f24f754a
add source link to readme
...
since i don't feel like including the source in the binary download
2013-10-24 22:08:05 -04:00
devinacker
7e3566b588
markdown sucks
2013-10-24 17:59:15 -04:00
devinacker
d39f07390e
fix small bug w/ 16-bit RLE, adjust some printfs
2013-10-24 17:55:41 -04:00
devinacker
e473e62dc3
update docs for 1.10 release
...
i determined that the small size difference mentioned previously seems
to actually have been a small bug in the original, which got
"accidentally" fixed. that said, i think this faster version is ready
for release
2013-10-24 17:54:38 -04:00
devinacker
cf3dda681f
massive LZ search optimization (needs tweaking)
...
output is now a couple of bytes larger sometimes for some reason but
seems to decompress fine, and the compression is 3-4x faster which is
great
2013-10-24 01:08:16 -04:00
devinacker
23c4b03c56
remove some old stupid code
2013-10-23 10:51:58 -04:00
devinacker
cb1dc07f6f
makefile tweak
2013-10-22 19:00:57 -04:00
devinacker
81b5638389
fix up markdown formatting
...
third time's the charm
2013-10-22 17:24:06 -04:00
devinacker
fc9d97fe7e
help how do i use markdown
2013-10-22 17:12:11 -04:00
devinacker
9a019912cc
add markdown docs
2013-10-22 17:05:18 -04:00
devinacker
11a23403bc
misc cleanup for real release
2013-10-22 17:02:37 -04:00
devinacker
361ee95fac
Merge pull request #1 from Tiiffi/fixes
...
Corrections to make it compile on Mac OS X.
2013-06-20 04:39:00 -07:00
Tiiffi
987a133735
Added correct delete command for unix systems.
2013-06-20 11:56:57 +03:00
Tiiffi
5e65e9abb5
Corrected printf formatting.
2013-06-20 11:54:55 +03:00
Tiiffi
f7864927f2
Corrected printf formatting.
...
Wrong formatting specifiers were causing compiler warnings.
2013-06-20 11:53:50 +03:00
Tiiffi
49920d517f
Fixed argument type in function definition.
...
Mismatching argument type in header file caused compiling error on Mac OS X.
2013-06-20 11:51:56 +03:00
Devin Acker
d71c472c49
uppercase doc names 2/2
2013-06-05 23:00:10 -04:00
Devin Acker
8562d43981
uppercase doc names 1/2
2013-06-05 22:59:41 -04:00
Devin Acker
a337a43f69
seek the correct file when decompressing
2013-06-05 21:37:22 -04:00
Devin Acker
cdb9a5edc8
use unpack from file method that i forgot about
2013-06-05 21:32:03 -04:00
Devin Acker
640d86bc2e
add -fast to readme
2013-06-05 19:57:06 -04:00
Devin Acker
c9e004e18b
add "fast" compression mode
2013-06-05 19:50:07 -04:00
Devin Acker
b19637c39a
add compression time, change ratio to percentage
2013-06-05 19:14:09 -04:00