Commit Graph
1840 Commits
Author SHA1 Message Date
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
Nigel Tao 917f028f46 Default ractool to use dchunksize not cchunksize 2019-08-08 10:43:54 +10:00
Nigel Tao 737571cef8 Generate ractool's usage from its doc comment 2019-08-08 10:36:43 +10:00
Nigel Tao 4537246cf8 Remove redundant "go generate" line 2019-08-08 10:28:37 +10:00
Nigel Tao 6e3c54256c Re-organize ractool's usage as a doc comment 2019-08-08 10:21:37 +10:00
Nigel Tao 290b2256ce Add a -drange flage to cmd/ractool 2019-08-07 15:34:15 +10:00
Nigel Tao 89e5510b9a Add an example RAC file, copied from the spec 2019-08-07 15:04:18 +10:00
Nigel Tao fc40e817d6 Fix RAC spec typo 2019-08-06 23:06:53 +10:00
Nigel Tao 6b40d3ede1 Fix rac.Reader seeking inside the implicit zeroes 2019-08-06 20:20:51 +10:00
Nigel Tao db407e37c6 Fix rac IndexLocationAtEnd for deep index trees 2019-08-06 18:38:50 +10:00
Nigel Tao b65807d79d Have cmd/ractool support decoding 2019-08-06 17:37:30 +10:00
Nigel Tao fb0b172913 Add script/rac-random-seek-test.go 2019-08-06 17:37:03 +10:00
Nigel Tao c5c32d62b6 Refactor raczlib.Reader as rac part + zlib part 2019-08-06 15:28:54 +10:00
Nigel Tao a8082bf301 Rename rac.Reader to rac.Parser 2019-08-06 15:25:44 +10:00
Nigel Tao 5c16eac8bb Rename lib/rac's reader.go to parser.go 2019-08-06 13:28:47 +10:00
Nigel Tao 93870d0d1d Prepare to generalize a raczlib.Reader 2019-08-06 11:40:58 +10:00
Nigel Tao e2a41c4c42 Update changelog 2019-08-06 11:34:13 +10:00
Nigel Tao 7e513cefb5 Update a RAC spec date 2019-08-06 11:01:04 +10:00
Nigel Tao f4919ad565 Add {lang,lib}/README.md 2019-08-06 10:57:30 +10:00
Nigel Tao 642c9c5090 Reformat RAC spec example; link to ref impl 2019-08-06 10:49:37 +10:00
Nigel Tao 42ec5a029f Have raczlib check the dictionary TTag 2019-08-06 10:22:38 +10:00
Nigel Tao 2e29a25ab0 Fix MarkDown typos 2019-08-06 10:08:43 +10:00
Nigel Tao df8ecfbb0a Add examples to the RAC spec 2019-08-05 22:50:32 +10:00
Nigel Tao c1974521da Add a test for concatenated RAC files 2019-08-05 22:18:51 +10:00
Nigel Tao 0eb23c67b6 Have raczlib.Reader support shared dictionaries 2019-08-05 18:09:05 +10:00
Nigel Tao 566e8e0424 Add a raczlib.Reader 2019-08-05 15:42:56 +10:00
Nigel Tao 774744d2f3 Fix package rac's examples for godoc convention 2019-08-05 12:53:15 +10:00
Nigel Tao 89c2bf655c Remove TODO comment about implementing raczlib 2019-08-05 12:40:43 +10:00
Nigel Tao 4c41a5c240 Add comment about rac.Reader using io.ReaderAt 2019-08-05 09:02:41 +10:00
Nigel Tao 4a26dacd33 Update the RAC spec re version and empty chunks 2019-08-04 22:31:58 +10:00