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.
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).
A follow-up commit will remove the -cformatter flag entirely.
Formatting the generated C code is now a small fraction of where "wuffs
gen" spends its time.
----
$ # Before.
$ time wuffs gen > /dev/null
real 0m0.932s
user 0m0.837s
sys 0m0.187s
$ # After.
$ time wuffs gen > /dev/null
real 0m0.186s
user 0m0.170s
sys 0m0.069s
$ time wuffs gen -cformatter= > /dev/null
real 0m0.184s
user 0m0.170s
sys 0m0.059s
----