Commit Graph
1869 Commits
Author SHA1 Message Date
Nigel Tao d48ca528e6 Spin out a RAC Related Work document 2019-08-25 15:53:14 +10:00
Nigel Tao 5d6e110e1e Add ractool message about the -help cmd line arg 2019-08-25 07:17:55 +10:00
Nigel Tao a51577270b Add ractool documentation about parsing "256K" 2019-08-24 16:39:02 +10:00
Nigel Tao f75a10a230 Add "random access" definition to ractool docs 2019-08-24 15:41:35 +10:00
Nigel Tao 874f5a1712 Add test/data/artificial/gif-no-frames.gif 2019-08-24 15:03:45 +10:00
Nigel Tao 22c030b2e0 Have ractool decode in parallel
The "middle of the decompressed file" numbers changed because the
programs were re-run on a desktop, not a laptop.
2019-08-24 12:59:49 +10:00
Nigel Tao ca4a6c8846 Restore rac's CompressedSize to avoid Seek calls 2019-08-24 09:34:12 +10:00
Nigel Tao f53bee37ba Update rac-random-seek-test.go for API changes 2019-08-24 07:56:53 +10:00
Nigel Tao 9394364a47 Have rac favor io.ReaderAt over io.ReadSeeker 2019-08-24 07:56:34 +10:00
Nigel Tao 62211056f8 Fix "if false" debugging left in rac's readAt 2019-08-24 07:04:11 +10:00
Nigel Tao 31bdd08ce6 Re-order rac.Writer fields 2019-08-24 07:02:24 +10:00
Nigel Tao 7d0963a855 Re-order the RAC spec's Related Work section 2019-08-18 21:38:03 +10:00
Nigel Tao 95eb3c826b Re-format NIE spec examples 2019-08-18 21:35:49 +10:00
Nigel Tao 9c8711f67c Move NII loop count from header to footer 2019-08-18 21:32:32 +10:00
Nigel Tao f844990043 Add RAC spec note about SquashFS 2019-08-18 20:23:28 +10:00
Nigel Tao 7a82d135ff Rename rac.Parser as rac.ChunkReader 2019-08-17 17:59:47 +10:00
Nigel Tao c36b4d79c4 Add a mimic test for zlib dictionaries 2019-08-11 20:06:29 +10:00
Nigel Tao bed69b00c5 Add comment on installing cmd/ractool 2019-08-10 20:51:17 +10:00
Nigel Tao 7070a86512 Fix RAC spec typo 2019-08-10 09:19:04 +10:00
Nigel Tao d88fe767fe Delete some unused lib/rac test code 2019-08-09 21:49:17 +10:00
Nigel Tao 88220a7591 Add "RAC + Zeroes" codec 2019-08-09 21:46:28 +10:00
Nigel Tao 1a76fab33e Add a "RAC + Zstandard" section to the RAC spec 2019-08-09 20:44:57 +10:00
Nigel Tao 594b26b1c9 Add cmd/ractool extended example 2019-08-09 20:17:33 +10:00
Nigel Tao 6e7c88f42f Add a -resources flag to cmd/ractool 2019-08-09 18:59:10 +10:00
Nigel Tao 08798669eb Remove unnecessary rac CompressedSize field 2019-08-09 15:31:03 +10:00
Nigel Tao a61d735d54 Re-order rac.ChunkWriter.AddChunk args 2019-08-09 15:21:44 +10:00
Nigel Tao 706e7a2474 Encode RAC implicit zeroes when CChunkSize set 2019-08-09 15:10:43 +10:00
Nigel Tao ac4fed2275 Let rac.Writer support shared resources 2019-08-09 13:33:09 +10:00
Nigel Tao 1cb1f1d527 Clarify the minimum size for a RAC file 2019-08-09 09:42:36 +10:00
Nigel Tao fbece6d53a Add std/gif comment about clipping to image rect 2019-08-09 09:38:08 +10:00
Nigel Tao 7708deea35 Tweak RAC spec overview; link to C lib TODO issue 2019-08-09 09:27:31 +10:00
Nigel Tao 6461695fb1 Add ractool comment that "1M" means 1 mebibyte 2019-08-08 16:57:14 +10:00
Nigel Tao 685cf410bd Consolidate lib/rac's error messages 2019-08-08 16:05:58 +10:00
Nigel Tao 46a14c25f5 Rename the rac.Writer.chunkWriter private field 2019-08-08 15:49:52 +10:00
Nigel Tao 4fd8ead21f Have zlibcut example use log.Fatalf 2019-08-08 15:46:50 +10:00
Nigel Tao d070c6ad47 Merge some small lib/raczlib/*.go files 2019-08-08 15:44:01 +10:00
Nigel Tao 31eb600ad3 Remove unused raczlib constants 2019-08-08 15:41:00 +10:00
Nigel Tao 4d2f575f2a Refactor raczlib.Writer as rac part + zlib part 2019-08-08 15:38:21 +10:00
Nigel Tao 7d71bc590b Add rac.Reader.CodecReaders doc comment 2019-08-08 14:46:15 +10:00
Nigel Tao fe2b4e236d Make the rac codec per-chunk, not per-chunkWriter 2019-08-08 14:39:18 +10:00
Nigel Tao 2f1d6c77c9 Remove obsolete rac.ReaderContext comment 2019-08-08 14:21:21 +10:00
Nigel Tao 3c8ecf0627 Rename lib/rac's writer.go to chunk_writer.go 2019-08-08 14:16:32 +10:00
Nigel Tao a932033d6b Improve error msg for no matching rac.CodecReader 2019-08-08 12:37:07 +10:00
Nigel Tao 05267a2edc Rename rac.Writer as rac.ChunkWriter 2019-08-08 12:20:40 +10:00
Nigel Tao b7b4e308ba Refactor rac io.EOF / io.ErrUnexpectedEOF checks 2019-08-08 12:13:06 +10:00
Nigel Tao f4abc0ffe4 Invalidate raczlib cache if re-using its memory 2019-08-08 12:10:40 +10:00
Nigel Tao cdf49196b1 Add a rac.CodecReader abstraction 2019-08-08 12:09:25 +10:00
Nigel Tao 635c3c8fe9 Rename foo.raczlib to foo.rac 2019-08-08 11:31:30 +10:00
Nigel Tao eb017abd31 Have ractool parse "2k" to mean 2048 2019-08-08 11:27:25 +10:00
Nigel Tao 1944a35d4c Add more commentary to ractool's indexlocation 2019-08-08 10:48:01 +10:00