Nigel Tao
abdfa0d946
base: compact returns the change in writer length
2024-09-22 11:51:05 +09:30
Nigel Tao
ce1f59e9ce
base: format token-public.h constants
2024-07-27 09:11:53 +10:00
Nigel Tao
d7f6b81d31
base: have empty_foo() functions use NULL ptr
...
This largely reverts commit f81deb6b6e .
Updates #135
2024-04-05 15:29:51 +11:00
Nigel Tao
82ea1985b4
base: add optional_u63 type
2023-11-19 12:02:24 +11:00
Nigel Tao
9a68ec70c6
base: use wuffs_private_impl__etc names
2023-11-02 22:30:10 +11:00
Nigel Tao
f81deb6b6e
base: have empty_foo() functions use non-NULL ptr
...
Fixes #135
2023-10-19 19:31:59 +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
5fb82e7d0a
std: add compact_retaining, history_retain_length
2023-10-05 13:24:44 +11:00
Nigel Tao
1d19157668
Remove After editing... run "go generate" lines
2021-08-22 12:57:39 +10:00
Nigel Tao
2f2bbc6ab0
Rename default github.com branch s/master/main/
2021-01-25 11:30:15 +11:00
Nigel Tao
4f1d24c070
Add names to "typedef struct { ... } foo" types
2020-09-23 22:02:53 +10:00
Nigel Tao
fc304139af
Add WUFFS_BASE__TOKEN__VBD__FILLER__COMMENT_ANY
2020-08-19 09:40:02 +10:00
Nigel Tao
4284369bb8
Add TOKEN__VBD__FILLER__PUNCTUATION
2020-08-17 16:48:30 +10:00
Nigel Tao
934136b09c
Add token_buffer.{read,writ}er_slice methods
2020-08-06 23:51:13 +10:00
Nigel Tao
82a96cb139
Rename token_buffer.{read,writ}er_available
2020-08-06 23:41:36 +10:00
Nigel Tao
a4f2bbb249
Update cgen/base run "go generate" comment
2020-07-28 14:15:24 +10:00
Nigel Tao
850dc18d16
Have std/cbor produce extended inline integers
2020-07-21 22:52:04 +10:00
Nigel Tao
c9d4e34dfc
Split ETC__VBC__INLINE_INTEGER into {,un}signed
2020-07-21 15:31:49 +10:00
Nigel Tao
4e193599ac
Add std/cbor
2020-07-15 14:08:37 +10:00
Nigel Tao
15cc8502b1
Add token enums for base-32 codecs
2020-07-09 21:23:38 +10:00
Nigel Tao
b9afc26387
Add TOKEN__VBD__STRING__CHAIN_ETC
2020-07-03 13:36:13 +10:00
Nigel Tao
f45f01f4f3
Update clang-format from v5 to v9
2020-06-05 14:06:56 +10:00
Nigel Tao
496e88b6c5
Remove wuffs_base__token__link_prev
2020-04-09 22:11:08 +10:00
Nigel Tao
478d1b817c
Add doc/note/tokens.md
2020-04-08 23:31:18 +10:00
Nigel Tao
64dbd00b07
Rename wuffs_base__make_etc_buffer_{read,writ}er
2020-04-02 22:21:36 +11:00
Nigel Tao
462f86675d
Add an "extended token" concept
2020-04-02 11:20:45 +11:00
Nigel Tao
d7c72373f3
Add std/json quirk_allow_inf_nan_numbers
2020-03-24 13:58:38 +11:00
Nigel Tao
9fd96e8e44
Add io_buffer and token_buffer methods
2020-03-17 13:38:37 +11:00
Nigel Tao
c3ca77a539
Add WUFFS_BASE__TOKEN__VBD__NUMBER__FORMAT_ETC
2020-03-11 12:06:50 +11:00
Nigel Tao
43f0a87a6d
Test std/json emit pending strings on bad UTF-8
2020-03-02 13:59:46 +11:00
Nigel Tao
85fba7f82b
Tweak wuffs_base__token bitmask assignments again
2020-02-29 16:28:06 +11:00
Nigel Tao
d1c928a1ed
Have tokens include explicit link bits
2020-02-29 10:46:44 +11:00
Nigel Tao
9d4eeb7b54
Tweak wuffs_base__token bitmask assignments again
2020-02-26 11:36:30 +11:00
Nigel Tao
a9d1488674
Tweak wuffs_base__token bitmask assignments
2020-02-25 12:12:31 +11:00
Nigel Tao
9f7a250cf2
Define WUFFS_BASE__TOKEN__VBC__ETC macros
2020-02-23 09:42:02 +11:00
Nigel Tao
36857984c7
Add wuffs_base__token methods
2020-02-12 13:51:58 +11:00
Nigel Tao
737e31ff3a
Add tokens
2020-02-11 12:02:58 +11:00