Nigel Tao
9c6d1dacad
cmd/handsum: append '\n' to base64 output
2026-06-25 22:22:26 +10:00
Nigel Tao
731578a4e7
cmd/handsum: add -base64 flag
2026-06-23 10:35:03 +10:00
Samuel Bronson
09d892c55a
Remove duplicate diagnostic pragmas
...
Clang has been unconditionally accepting the GCC diagnostic pragmas
since before the clang pragmas were introduced in [r71572][1].
This means we don't need to duplicate the pragmas for clang-cl's
benefit.
[1]: https://github.com/llvm/llvm-project/commit/b61448d4902f28d286e0b2fcb5ff72aea1b3404b
2026-05-06 14:08:55 -04:00
Nigel Tao
979a9d898c
lib/handsum: renumber quality from 0..=3 to 1..=4
2026-05-06 21:39:21 +10:00
Nigel Tao
ff4132b3ca
example/stb-imagedumper: add -bg flag
2026-05-04 17:07:35 +10:00
Nigel Tao
30ac5c2e89
std/handsum: add alpha channel support
2026-05-01 23:24:29 +10:00
Nigel Tao
38a5e853c9
std/handsum: tweak magic identifier bytes
2026-05-01 23:23:21 +10:00
Nigel Tao
f731cfc72f
cmd/handsum: add -b background color flag
2026-04-30 21:45:26 +10:00
Nigel Tao
f8c6b35ff5
std/handsum: redo Handsum image file format
2026-04-28 21:12:28 +10:00
Nigel Tao
cbdc4d5f64
lib/handsum: add Potato, Gray variants
2026-04-12 15:56:00 +10:00
Nigel Tao
263bbfabf0
lib/handsum: add EncodeOptions type
2025-03-02 14:10:11 +11:00
Nigel Tao
12b404f58d
cmd/handsum: new tool for the Handsum file format
2025-02-23 12:15:59 +11:00
Nigel Tao
85af5a4bed
std/tga: rename to std/targa
2024-09-08 09:00:10 +10:00
Nigel Tao
8924b5f003
cgen: add ETC__ENABLE_DROP_IN_REPLACEMENT__STB
...
Fixes #153
2024-09-07 22:21:00 +10: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
84d1aa0d79
cmd/wuffs: show cmdArgs when "wuffs gen" fails
2023-07-16 11:44:08 +10:00
Nigel Tao
6ede29ab3a
cmd/wuffs: tweak genWuffs output to be wuffsfmt'ed
2023-04-09 15:58:04 +10:00
Nigel Tao
be1f605108
Run gofmt
2022-08-21 21:41:06 +10:00
Nigel Tao
425eefeb35
Replace "go get" advice with "go install"
...
Fixes #62
2021-12-30 22:58:12 +11:00
Nigel Tao
e1a6a7cd8c
Add "wuffs help foo" for the command line tool
...
Updates #62
2021-12-30 22:34:27 +11:00
Nigel Tao
4e85543d9c
Change default -ccompilers to "clang,gcc"
...
Updates #62
2021-12-30 19:29:44 +11:00
Nigel Tao
2f65d6fc74
Use go:embed instead of ".../internal/cgen/data"
2021-08-22 12:52:52 +10:00
Nigel Tao
226c476994
Remove calls to Go's deprecated "io/ioutil"
2021-08-22 11:17:34 +10:00
Nigel Tao
788479dd64
Run "gofmt -w ." for new "//go:build" lines
2021-08-22 10:53:06 +10:00
Nigel Tao
ea50956b5a
Ignore "-Wimplicit-fallthrough"
2021-07-05 21:40:25 +10:00
Nigel Tao
76e6872498
Have clang-cl ignore unused-function etc warnings
2021-06-25 13:51:27 +10:00
Nigel Tao
543ac9af28
Restrict "ignore -Wold-style-cast" to C++
2021-04-02 22:43:55 +11:00
Nigel Tao
97e30c29da
Add some more #pragma's for GCC to ignore warnings
2021-04-02 19:21:54 +11:00
Nigel Tao
ad40102c5a
Change mimic marker symbol from "!!" to "¿"
2021-03-25 22:22:27 +11:00
Nigel Tao
bb2e9e90b5
Change cgen marker symbol from "!!" to "¡"
2021-03-25 22:17:26 +11:00
Nigel Tao
61635213cd
Add "‼" to "WUFFS C HEADER ENDS HERE" comment
2021-03-25 14:11:23 +11:00
Nigel Tao
f2ed33375c
Gate wuffs_aux on WUFFS_BASE__HAVE_UNIQUE_PTR
2021-03-11 10:52:49 +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
592560e0f1
Upgrade default clang C compiler from v5 to v9
2020-08-21 14:18:26 +10:00
Nigel Tao
cf6c578973
Add aux library
2020-08-04 23:43:38 +10:00
Nigel Tao
ab580e7696
Add more comments on wuffsfmt's -l and -w flags
2020-06-16 14:27:13 +10:00
Nigel Tao
c9b50c0be7
Add links to dumbindent blog post
2020-06-16 14:25:46 +10:00
Nigel Tao
533b84b3b1
Simplify WUFFS_VERSION_ETC macros
2020-06-11 23:01:50 +10:00
Nigel Tao
b1ea22045a
Stop dumbindent adding or removing line breaks
2020-06-10 21:51:25 +10:00
Nigel Tao
8bf4084c8b
Update dumbindent comparison for clang-format-9
...
The numbers are the median real time of 5 runs.
2020-06-09 15:46:56 +10:00
Nigel Tao
22d08366c8
Add dumbindent algorithm comment
2020-06-08 23:25:08 +10:00
Nigel Tao
2858c4cfc2
Add dumbindent.Options (tabs vs spaces)
2020-06-07 21:59:53 +10:00
Nigel Tao
53d5f5155c
Have dumbindent break after some '{' and ';'s
2020-06-07 21:52:24 +10:00
Nigel Tao
6424bae087
Have dumbindent handle multi-line strings/comments
...
Fixes #31
2020-06-06 22:32:39 +10:00
Nigel Tao
3d7af06727
Have dumbindent take a dst slice argument
2020-06-06 21:09:41 +10:00
Nigel Tao
dd04d55417
Update dumbindent comparison for clang-format-9
2020-06-05 18:35:05 +10:00
Nigel Tao
d5d4da0ab6
Add some "// --------" section-break comments
2020-06-05 00:10:31 +10:00
Nigel Tao
8cd39fc1dd
Remove -cformatter flag
2020-06-05 00:08:05 +10:00