4.3 KiB
Changelog
Work In Progress
- Added interfaces.
- Renamed warnings to notes.
- Made
wuffs_base__pixel_formata struct. - Made
wuffs_base__pixel_subsamplinga struct. - Made
wuffs_base__statusa struct.
2019-12-19 version 0.2.0
The headline feature is that the GIF decoder is now of production quality. There is now API for overall metadata (e.g. ICCP color profiles) and to recreate each frame (width, height, BGRA pixels, timing, etc.) of a GIF animation, instead of version 0.1's proof-of-concept GIF decoder API, which just gave you a one-dimensional stream of palette indexes. It also now accepts a variety of GIF images that are invalid, when strictly following the GIF specifiction, but are nonetheless accepted by other real world GIF implementations. The Wuffs GIF decoder has also been optimized to be about 1.5x faster than Wuffs version 0.1 and about 2x faster than giflib (the C library).
The Wuffs GIF decoder is being trialled by Skia, the 2-D graphics library used by both the Android operating system and the Chromium web browser.
Work also proceeds on the NIE and RAC file formats, but both are still experimental and may change later in backwards incompatible ways.
The dot points below probably aren't of interest unless you're upgrading from Wuffs version 0.1.
- Renamed Puffs to Wuffs.
- Ship as a "single file C library"
- Added a
skipgendepsflag. - Added a
nullptrliteral andnptr Ttype. - Added
io_bindandio_limitkeywords. - Added a
usekeyword. - Added a
yieldkeyword. - Made the
returnvalue mandatory; addedokliteral. - Restricted
varstatements to the top of functions. - Dropped the
= RHSout ofvar x T = RHS. - Changed func out-type from struct to bare type.
- Renamed the implicit
invariable toargs. - Added an implicit
coroutine_resumedvariable. - Added
std/adler32,std/crc32andstd/gzip. - Added
std/gifquirks. - Spun
std/lzwout ofstd/gif. - Spun
std/zlibout ofstd/flate. - Let the
std/gzipandstd/zlibdecoder ignore checksums. - Renamed
std/flatetostd/deflate. - Renamed
!=to<>;!is now only for impure functions. - Renamed
~+to~mod+; added~mod-,~sat+and~sat-. - Removed
&^. - Renamed
$(etc)to[etc]. - Renamed
[i..j]to[i ..= j], consistent with Rust syntax. - Renamed
[i:j]to[i .. j], consistent with Rust syntax. - Renamed
x Ttox: T, consistent with Rust syntax. - Renamed
[N] Tand[] Ttypes toarray[N] Tandslice T. - Renamed
while:labeltowhile.label. - Renamed
u32,buf1, etc tobase.u32,base.io_buffer, etc. - Renamed
unread_u8?toundo_byte!; addedcan_undo_byte. - Renamed some
decode?methods todecode_io_writer?. - Replaced
= try foowith=? foo. - Prohibited effect-ful subexpressions.
- Redesigned iterate blocks.
- Added
{frame,image,pixel}_configandpixel_buffertypes. - Added a
resetmethod. - Added
peek_uxx,skip_fastandwrite_fast_uxxmethods. - Renamed some
read_uxxmethods asread_uxx_as_uyy. - Report image metadata such as ICCP and XMP.
- Added I/O positions.
- Tweaked how I/O marks and limits work.
- Tweaked
io_buffer/io_readerdistinction in C and Wuffs. - Added extra fields (uninitialized internal buffers) to structs.
- Supported animated (not just single frame) and interlaced GIFs.
- Marked some internal status codes as private.
- Removed closed-for-read/write built-in status codes.
- Changed the string messages for built-in status codes.
- Changed
error "foo"to"#foo"orbase."#bar". - Added warnings as another status code category.
- Made the status type a
const char *, not anint32_t. - Disallowed
__double_underscoreprefixed names. - Added fuzz tests.
- Added
WUFFS_CONFIG__MODULES. - Added
WUFFS_CONFIG__STATIC_FUNCTIONS. - Added some C++ convenience methods.
- Added some Go and Rust benchmarks.
- Made struct implementations private (opaque pointers).
- Sped up the
mimic_deflate_xxxbenchmarks. - Fix compile errors under MSVC (Microsoft Visual C/C++).
- Moved the base38 package from
lang/base38tolib/base38. - Added a stand-alone
lib/intervalpackage. - Added NIE file format spec.
- Added RAC file format spec and Go implementation.
2017-11-16 version 0.1.0
- Initial open source release, under the "Puffs" name.
Updated on January 2020.