29 Commits
Author SHA1 Message Date
Patrick Georgi f563f32f82 Add SPDX identifier to license headers
SPDX is an ISO standard for describing licenses in a computer readable
format, which is useful when applying license compliance tools and the
like to source code.

In addition to ensuring that the Wuffs C distribution is properly
annotated to the benefit of projects using Wuffs and SPDX-supporting
tools, add it everywhere else where there's a license in this repo for
consistency, too.
2023-10-06 20:52:36 +02:00
Nigel Tao 74a6ea2fcd all: relicense from Apache2 to dual Apache2/MIT
The LICENSE has changed from a single license (Apache2) to a dual
license (Apache2 or MIT, at your option).

If you've previously used Wuffs under the Apache2 license, you are able
to keep doing so. No further action required by you.

The two files listed below (previous releases) are exceptions, as they
are older snapshots, frozen in time. Their license has not changed:
release/c/wuffs-v0.2.c
release/c/wuffs-v0.3.c

Every name in the AUTHORS file, other than Google Inc., has signed
Google's CLA (Contributor License Agreement).
2023-10-06 10:00:59 +11:00
Nigel Tao 2f2bbc6ab0 Rename default github.com branch s/master/main/ 2021-01-25 11:30:15 +11:00
Nigel Tao 2f78804e62 Use more inclusive language 2021-01-23 19:50:47 +11:00
Nigel Tao 3a34a1d7d2 Fix err assignment typo
Fixes #36
2020-09-10 12:11:45 +10:00
Nigel Tao a9b9a82524 Have concurrent rac reading require an io.ReaderAt 2019-09-28 12:07:26 +10:00
Nigel Tao cde91019d9 Remove the rac.ReaderContext type 2019-09-15 10:16:59 +10:00
Nigel Tao 8d408c7c2c Add a Close method to rac.Codec{Reader,Writer} 2019-09-10 09:19:01 +10:00
Nigel Tao 4006157f9f Re-do RAC codec values, from 8 bits to 56 bits 2019-09-07 10:25:33 +10:00
Nigel Tao c3f45a7aed Limit rac concurrent reader buffer sizes 2019-09-01 15:09:56 +10:00
Nigel Tao b8cd560594 Add a rac.Reader.SeekRange method 2019-08-31 22:19:54 +10:00
Nigel Tao 7753d147b7 Move RAC concurrent decode from program to library 2019-08-31 17:14:28 +10:00
Nigel Tao e0d9749f4e Add a rac.Reader.Close method 2019-08-31 10:43:18 +10:00
Nigel Tao ca4a6c8846 Restore rac's CompressedSize to avoid Seek calls 2019-08-24 09:34:12 +10:00
Nigel Tao 9394364a47 Have rac favor io.ReaderAt over io.ReadSeeker 2019-08-24 07:56:34 +10:00
Nigel Tao 7a82d135ff Rename rac.Parser as rac.ChunkReader 2019-08-17 17:59:47 +10:00
Nigel Tao 88220a7591 Add "RAC + Zeroes" codec 2019-08-09 21:46:28 +10:00
Nigel Tao 08798669eb Remove unnecessary rac CompressedSize field 2019-08-09 15:31:03 +10:00
Nigel Tao 685cf410bd Consolidate lib/rac's error messages 2019-08-08 16:05:58 +10:00
Nigel Tao 7d71bc590b Add rac.Reader.CodecReaders doc comment 2019-08-08 14:46:15 +10:00
Nigel Tao 2f1d6c77c9 Remove obsolete rac.ReaderContext comment 2019-08-08 14:21:21 +10:00
Nigel Tao a932033d6b Improve error msg for no matching rac.CodecReader 2019-08-08 12:37:07 +10:00
Nigel Tao b7b4e308ba Refactor rac io.EOF / io.ErrUnexpectedEOF checks 2019-08-08 12:13:06 +10:00
Nigel Tao cdf49196b1 Add a rac.CodecReader abstraction 2019-08-08 12:09:25 +10:00
Nigel Tao 6b40d3ede1 Fix rac.Reader seeking inside the implicit zeroes 2019-08-06 20:20:51 +10:00
Nigel Tao c5c32d62b6 Refactor raczlib.Reader as rac part + zlib part 2019-08-06 15:28:54 +10:00
Nigel Tao 5c16eac8bb Rename lib/rac's reader.go to parser.go 2019-08-06 13:28:47 +10:00
Nigel Tao 4c41a5c240 Add comment about rac.Reader using io.ReaderAt 2019-08-05 09:02:41 +10:00
Nigel Tao 861ae95f8c Add a rac.Reader 2019-08-04 22:07:43 +10:00