Jasper De Sutter

Results 9 issues of Jasper De Sutter

Since the glue file is meant to be normal Rust code, editor autocomplete and inline-errors should work. When trying this with rust-analyzer, it currently fails because the macros (`foreign_*`) can't...

enhancement

Updates dependencies to latest version. Also updates the edition to 2018 with accompanying cargo fix changes.

https://github.com/rust-lang/libz-sys#zlib-ng Enabling this feature flag changes the libz backend to the heavily optimized zlib-ng.

See https://crates.io/crates/crc32fast for benchmark data. The speedup is noticeable when the image is multiple MBs. Tests on my machine show 5% faster on 8MB screenshot.

Shares the implementation of unescape_unicode and unescape_unicode_to_string. I've added a check to the corresponding test to make sure values that don't need unescaping are returned as Cow::Borrowed.

The most important change is in `fluent-bundle/src/resolver/pattern.rs`, the rest is adding missing codepaths that were previously only done through `WriteValue` and are now also needed in `ResolveValue`. There are more...

This is a refactor with the goal to have only 1 implementation of Read/Resolve for ast expressions. In #305 I had to duplicate some Write implementations to support Resolve as...

The main value add for a custom argument resolver is not needing to put arguments into a FluentArgs, which has no type safety. See the typesafe_messages example that demonstrates this...

Adds basic decimal formatting for FluentNumber.as_string(). Many features are still missing like currency symbols and percentage formatting. #269 Since data providers need to be managed explicitly, it needs to be...