Commit Graph
38 Commits
Author SHA1 Message Date
Nigel Tao 33db93f617 script: add print-mzcat-checksums.sh 2023-12-26 10:56:22 +11:00
Nigel Tao d40b7fbd7e std/png: remove unused "inconsistent frame bounds"
Updates #138
2023-12-15 10:25:39 +11:00
Nigel Tao ae8531f7f8 cgen: generate "foo(void)" instead of "foo()"
This was discovered by "gcc -Wstrict-prototypes".

Updates #132
2023-10-07 11:36:53 +11:00
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 805e37915f root: add BUILD.md 2023-06-01 13:20:47 +10:00
Nigel Tao 21acc78c24 Have build-all.sh note 99/11 in C99/C++11 2022-06-02 16:31:28 +10:00
Nigel Tao 62125d8967 Add test/nia-checksums-of-data.txt 2021-10-07 16:49:38 +11:00
Nigel Tao eb6703425a Tweak build-*.sh "Wuffs root directory" check 2021-10-07 14:59:13 +11:00
Nigel Tao 2f78804e62 Use more inclusive language 2021-01-23 19:50:47 +11:00
Nigel Tao cf8884d44c Rename example/library to example/toy-genlib 2020-08-05 11:55:51 +10:00
Nigel Tao 2db88dd98e Fix -Wshadow warnings 2020-04-03 22:13:56 +11:00
Nigel Tao 4503f2de63 Add test/data/json-things.*.json 2020-02-21 21:33:46 +11:00
Nigel Tao c4b699a182 Add LICENSE crc32 sanity check to build-all.sh 2020-01-05 14:40:57 +11:00
Nigel Tao 6b9f658c59 Add some more compiler warning flags 2019-04-07 16:34:10 +10:00
Nigel Tao d8b5128c09 Compile cleanly with clang++ 2019-04-07 16:16:14 +10:00
Nigel Tao 3c86337cac Fix some more -Wconversion warnings 2019-04-07 16:04:30 +10:00
Nigel Tao 665355bd8a Fix some -Wconversion warnings 2019-04-07 14:55:32 +10:00
Nigel Tao c4b8a6a4cc Don't use designated initializers
Some C/C++ compilers, such as MSVC, don't always support them. They're
also not supported by GCC's "g++ -std=c++11 -Wpedantic".
2019-03-09 10:08:00 +11:00
Nigel Tao 77c778fb2e Let fuzzers recurse into directories 2019-02-16 11:59:41 +11:00
Nigel Tao f4c5d953ec Have build-all.sh check as a .h file, not just .c 2019-01-26 09:21:18 +11:00
Nigel Tao b2d598aac5 Add $CC and $CXX variables to build-*.sh 2018-12-26 12:38:15 +11:00
Nigel Tao 04c91f1410 Generate .c files instead of .h files
The files' contents haven't changed (other than some relative #include's
that refer to other .c files).

Some build systems have difficulty recognizing .h files as things to be
compiled, instead of just things referred to by things to be compiled.
2018-12-22 15:29:00 +11:00
Nigel Tao 10ae70448f Let build scripts take "example/*" arguments 2018-08-18 12:13:36 +10:00
Nigel Tao 338f552c82 Update commentary on what build-all.sh builds 2018-08-05 22:39:05 +10:00
Nigel Tao 4c1826ac8e Factor build-all.sh into smaller scripts 2018-08-05 21:55:50 +10:00
Nigel Tao 004706d430 Have build-all.sh check compilation earlier 2018-07-21 09:35:02 +10:00
Nigel Tao 751eb693a5 Have "wuffs genlib" take a -skipgen flag 2018-07-14 11:51:33 +10:00
Nigel Tao a0bafff465 Ship as a "single file C library" 2018-07-14 08:59:36 +10:00
Nigel Tao 5929220df0 Have build-all check a release compiles cleanly 2018-06-30 21:07:21 +10:00
Nigel Tao 7f65cd04d0 Print progress messages when compiling releases 2018-06-30 13:46:22 +10:00
Nigel Tao 008b83e4b4 Fix some more C++ (not C) compile errors 2018-06-30 13:41:19 +10:00
Nigel Tao e43aa62d1c Fix some C++ (not C) compile errors 2018-06-30 13:31:52 +10:00
Nigel Tao 60a7b48745 Compile C++ example with -Wall -Werror 2018-06-30 10:56:04 +10:00
Nigel Tao f3538d9117 Add example/crc32 2018-06-30 10:41:04 +10:00
Nigel Tao b09748c485 Build examples with -Wall -Werror 2018-06-30 09:10:10 +10:00
Nigel Tao dccf0c60d7 Add a "wuffs genrelease" command 2018-06-16 11:47:35 +10:00
Nigel Tao 23a462d31d Move build-all.sh to the top dir; add comments 2018-06-16 08:38:29 +10:00