Commit Graph

28 Commits

Author SHA1 Message Date
44cab7e7cb Ignore build artifacts 2012-06-25 14:03:47 +00:00
cb19a53a1d Add a simple jar buildfile 2012-06-25 14:02:22 +00:00
dc2fb9c23c More information in exception message for badly (?) formed ThreadKinds 2012-06-24 21:43:49 +00:00
John B. Matthews
252cd1607a Preserve 1.5 compatibility. 2008-08-23 15:51:54 +00:00
Robert Greene
005b1f4e07 LZW decompression stream. Tests aren't quite right yet. 2008-07-10 03:10:36 +00:00
Robert Greene
264a5f6e53 Correcting typos. 2008-07-10 02:59:45 +00:00
Robert Greene
006eadf410 Added RleOutputStream for RLE compression. 2008-06-30 03:53:01 +00:00
Robert Greene
c188bf6c2b Adding LittleEndianByteOutputStream. 2008-06-30 02:19:36 +00:00
Robert Greene
048f640e81 Minor correction to comments. 2008-06-30 02:19:15 +00:00
Robert Greene
af85d76306 Adding BitOutputStream; moved bit mask constants into BitConstants interface for both the input and the output stream. 2008-06-28 15:01:26 +00:00
Robert Greene
69debc0765 Adding a textual description for failures. 2008-06-28 15:00:39 +00:00
Robert Greene
fe1bfde65e Adding a test of uncompressed files just to make sure it actually works! 2008-06-27 19:14:23 +00:00
Robert Greene
f11ba01ee2 Correcting behavior when the clear dictionary code is received (0x100). 2008-06-27 18:42:26 +00:00
Robert Greene
aad7071358 Just removing a commented out line. 2008-06-27 18:41:34 +00:00
Robert Greene
d93c504165 Changed test to test byte-by-byte instead of a String, since some of the data files are binary. 2008-06-27 18:41:15 +00:00
Robert Greene
acb0912244 Removed some unit tests that took a bit of setup to get working; added a helper functions to HeaderBlock (getting filename and data or resource fork) and ThreadRecord (get correct InputStream); most LZW tests now compare to expected results. Not all test issues have been resolved. 2008-06-27 04:19:21 +00:00
Robert Greene
ac9626e9c0 Adding support for LZW/2 scheme. Fixed both LZW/1 and LZW/2 to handle "multichunk" files (that is, files more than 4K long). Renamed the NuFX-specific LZW streams to be NufxLzw[12]InputStream. Tests need to be revamped heavily. Added some sample archives with both formats that have the same answer. 2008-06-25 03:22:17 +00:00
Robert Greene
58af449378 This adds NuFX LZW/1 decompression support. 2008-06-23 04:03:42 +00:00
Robert Greene
0511fbfce5 Switched ByteSource to be an InputStream; renamed ByteSource LittleEndianByteInputStream. 2008-06-22 23:57:49 +00:00
Robert Greene
ec9c833f58 Adding basic LZW and RLE decompression algorithms implemented as InputStreams. The tests aren't quite test, but do verify they are functional. 2008-06-22 17:57:23 +00:00
John B. Matthews
ad3558f84a Preserve 1.5 compatibility. 2008-06-17 16:39:24 +00:00
Robert Greene
4371c7a730 Added ability to get the CRC-16 from a ByteSource and for the MasterHeaderBlock to validate its CRC-16. 2008-06-17 04:09:56 +00:00
Robert Greene
6c241ea036 Added some masking to prevent a byte with the high bit set (0x80 or more) to flip into negative numbers; also altered to use an int in update. 2008-06-17 04:09:03 +00:00
Robert Greene
27ee990c43 A basic scan utility that locates archive files and dumps their file lists. 2008-06-17 02:54:50 +00:00
Robert Greene
99cb124c45 Switched over to Java 5.0. 2008-06-17 02:48:26 +00:00
Robert Greene
8e090c179e ThreadFormat now knows its code; changed logic of find to use the coding instead of a switch statement. 2008-06-17 02:47:48 +00:00
John B. Matthews
c0c6a6a55a Add CRC16. 2008-06-17 01:22:41 +00:00
Robert Greene
68a5b3a5f5 Initial commit. Reads basic NuFile/NuFX archive format. Does not handle CRC-16, does not write, does not handle compressed threads. 2008-06-16 03:37:52 +00:00