Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promotes next to master branch #1132

Merged
merged 131 commits into from Feb 7, 2020
Merged

Promotes next to master branch #1132

merged 131 commits into from Feb 7, 2020

Commits on Jun 5, 2019

  1. Remove bit depth parameter on colortypes

    It is an open question whether L2 and L4 should be included, or
    conversely whether L1 should be eliminated
    fintelia committed Jun 5, 2019
    Copy the full SHA
    b63680c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    13600b3 View commit details
    Browse the repository at this point in the history
  3. 16bit bitdepths for tiff

    fintelia committed Jun 5, 2019
    Copy the full SHA
    0e848ea View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    2dcf226 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    34f97bc View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2019

  1. Address review feedback

    fintelia committed Jun 6, 2019
    Copy the full SHA
    a14309a View commit details
    Browse the repository at this point in the history
  2. Don't implement From<ColorType> for (png::ColorType, png::BitDepth)

    Also clarify description of ColorType::Unknown and fix a few warnings
    fintelia committed Jun 6, 2019
    Copy the full SHA
    1f2156e View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2019

  1. Merge pull request #865 from fintelia/colortype

    Refactor the ColorType enum
    fintelia committed Jul 23, 2019
    Copy the full SHA
    b2fa1aa View commit details
    Browse the repository at this point in the history
  2. Rename variants of ColorType

    fintelia committed Jul 23, 2019
    Copy the full SHA
    f3d240d View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    586e323 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2019

  1. Merge pull request #995 from fintelia/colortype2

    Continue refactoring ColorType
    fintelia committed Jul 24, 2019
    Copy the full SHA
    bf80bf5 View commit details
    Browse the repository at this point in the history
  2. 'color type' is two words

    fintelia committed Jul 24, 2019
    Copy the full SHA
    20bb03e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    3153f80 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2019

  1. Copy the full SHA
    fae1d5b View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2019

  1. Remove commented code

    fintelia committed Aug 18, 2019
    Copy the full SHA
    022af2b View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4eb1431 View commit details
    Browse the repository at this point in the history
  3. suggested edits

    fintelia committed Aug 18, 2019
    Copy the full SHA
    6d86e32 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    e762c55 View commit details
    Browse the repository at this point in the history
  5. Fix a bunch of clippy lints

    fintelia committed Aug 18, 2019
    Copy the full SHA
    7d8efcb View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2019

  1. Merge pull request #1012 from fintelia/colortype3

    A bunch more ColorType improvements for image:next
    fintelia committed Aug 21, 2019
    Copy the full SHA
    aa267b8 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2019

  1. Fix invalid return type

    lovasoa committed Aug 23, 2019
    Copy the full SHA
    f405277 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1004 from lovasoa/next

    Make copy_from return an ImageResult instead of a boolean
    fintelia committed Aug 23, 2019
    Copy the full SHA
    04dbe9c View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. Copy the full SHA
    de1974d View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2019

  1. Merge pull request #1054 from HeroicKatora/next

    Update next with latest changes to master
    HeroicKatora committed Oct 8, 2019
    Copy the full SHA
    4c12b40 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2019

  1. Copy the full SHA
    2c970cf View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2019

  1. Change to proper WebP capitalization

    Unlike the other formats this is not a single acronym, doesn't contain
    too many capitals and the website and documentation strongly suggests
    this way.
    HeroicKatora committed Oct 11, 2019
    Copy the full SHA
    5c92a3e View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2019

  1. Merge pull request #1056 from HeroicKatora/screamless

    Convert ImageFormat variants to CamelCase
    HeroicKatora committed Oct 12, 2019
    Copy the full SHA
    a2c96ca View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2019

  1. Copy the full SHA
    45623c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2019

  1. Merge pull request #1061 from fintelia/decoder-rename

    Proper capitalization for decoder struct names
    fintelia committed Oct 19, 2019
    Copy the full SHA
    8cb2233 View commit details
    Browse the repository at this point in the history
  2. Tweak ImageDecoder trait

    fintelia committed Oct 19, 2019
    Copy the full SHA
    796266c View commit details
    Browse the repository at this point in the history
  3. Document panic behavior

    fintelia committed Oct 19, 2019
    Copy the full SHA
    c6a5fe6 View commit details
    Browse the repository at this point in the history
  4. Apply suggestions from code review

    Co-Authored-By: est31 <est31@users.noreply.github.com>
    fintelia and est31 committed Oct 19, 2019
    Copy the full SHA
    19373db View commit details
    Browse the repository at this point in the history
  5. Update src/image.rs

    Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
    fintelia and JohnTitor committed Oct 19, 2019
    Copy the full SHA
    cc2617d View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    f56cf08 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    6e7bad0 View commit details
    Browse the repository at this point in the history
  8. Avoid usize 'as u64' casts

    fintelia committed Oct 19, 2019
    Copy the full SHA
    56e9814 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    2e5fab4 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    a1011f7 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2019

  1. Copy the full SHA
    65791e3 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2019

  1. Copy the full SHA
    5f71068 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2019

  1. Copy the full SHA
    e445729 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ac33478 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1044 from fintelia/image-decoder-tweak

    Opinionated changes to ImageDecoder
    fintelia committed Oct 25, 2019
    Copy the full SHA
    2159b2f View commit details
    Browse the repository at this point in the history
  4. Make read_rect take u32's

    fintelia committed Oct 25, 2019
    Copy the full SHA
    945ae8b View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2019

  1. Merge pull request #1063 from fintelia/read-rect-u32

    Make read_rect take u32 for {x, y, width, height}
    fintelia committed Oct 27, 2019
    Copy the full SHA
    23f18a7 View commit details
    Browse the repository at this point in the history
  2. Convert error with private methods, not From

    The latter is part of the a publicly visible crate interface. This makes
    it impossible to upgrade the image format crates used for these specific
    format over major versions. Using this pattern is problematic in several
    aspects:
    
    * less mature formats are harder to adopt as they are a huge commitment
    * bugs and issues that require breaking changes require a coordinate
      effort across the whole dependency chain and ecosystem
    * dependent crates we control do not evolve as independently as I would
      wish
    
    It should arguably be avoided to have an unecessary public interface
    dependency *unless a format reaches a stable 1.0 interface itself* where
    it is no large liability. For consistency this should be uniform across
    formats without regards to whether they are internally implemented, a
    crate in image-rs, or otherwise.
    HeroicKatora committed Oct 27, 2019
    Copy the full SHA
    af2e4a3 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1068 from HeroicKatora/next

    Convert error with private methods, not From
    HeroicKatora committed Oct 27, 2019
    Copy the full SHA
    682cf78 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2019

  1. Copy the full SHA
    926304c View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2019

  1. Merge pull request #1062 from fintelia/less-in-root

    Less in root
    HeroicKatora committed Nov 11, 2019
    Copy the full SHA
    51812bc View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2019

  1. Copy the full SHA
    1362d0d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1066 from Mike-Neto/master

    Fixes #1058. Migrated to ImageError from std::io::Error
    HeroicKatora committed Nov 19, 2019
    Copy the full SHA
    27e3fa1 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2019

  1. Allow setting a custom pixel density in the JPEG encoder

    The encoder used to hardcode a pixel aspect ratio of 1x1
    It allows setting a custom DPI value.
    
    Fixes #1077
    lovasoa committed Nov 23, 2019
    Copy the full SHA
    d5f0ac1 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    76abfcf View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1078 from lovasoa/next

    Allow setting a custom pixel density in the JPEG encoder
    fintelia committed Nov 23, 2019
    Copy the full SHA
    2e35996 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2019

  1. Bump tiff version

    HeroicKatora committed Nov 25, 2019
    Copy the full SHA
    37bc410 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1081 from HeroicKatora/next

    Bump tiff version for `next`
    fintelia committed Nov 25, 2019
    Copy the full SHA
    9342a0b View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. Copy the full SHA
    bb5ebc2 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2019

  1. Replace Lenna test images

    These images are now discouraged for use by the Nature Publishing Group,
    Optical Society, and SIAM, as well as having been removed from other
    major image processing libraries including Matlab and FIJI/ImageJ.
    
    Instead the Mandrill image (SIPI image 4.2.03) is used for tiff
    integration testing, benchmarking, and examples, and a reference image
    from PNGSuite is used for interlaced tests.
    aschampion committed Nov 28, 2019
    Copy the full SHA
    da7827d View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    22365c5 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1086 from aschampion/issues/benchmarks-broken

    Fix benchmarks and ensure compilation on Travis
    HeroicKatora committed Nov 28, 2019
    Copy the full SHA
    87b04b7 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1087 from aschampion/replace-lenna-images

    Replace Lenna test images
    HeroicKatora committed Nov 28, 2019
    Copy the full SHA
    9a0dbab View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2019

  1. Copy the full SHA
    e26f632 View commit details
    Browse the repository at this point in the history
  2. Make Progress opaque but accessible

    This makes it possible to add some members in the future. Note that only
    this library can create an instance which means it is currently unusable
    by user-defined decoders. This is a less pressing concern though, these
    can simply never call the callback.
    HeroicKatora committed Nov 30, 2019
    Copy the full SHA
    bb61bb7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1089 from HeroicKatora/next

    Document and expose all new pub structures
    HeroicKatora committed Nov 30, 2019
    Copy the full SHA
    6946691 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. Copy the full SHA
    d0f6d00 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a247ba9 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2019

  1. Merge pull request #1091 from HeroicKatora/next

    Update release and notes for 0.23 preview
    HeroicKatora committed Dec 6, 2019
    Copy the full SHA
    f23f53a View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2019

  1. Copy the full SHA
    64591f8 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c3de761 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e706bfb View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    2478a75 View commit details
    Browse the repository at this point in the history
  5. Fix Travis config

    fintelia committed Dec 7, 2019
    Copy the full SHA
    bf8e26b View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2019

  1. Merge pull request #1093 from fintelia/simplify-cargo-toml

    Simplify cargo toml
    fintelia committed Dec 8, 2019
    Copy the full SHA
    3a7eb68 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. Support 16 bit per channel image buffers

    Add 16 bit buffers for all 16 bit types in ColorType. Include these as
    supported types in DynamicImage. These 16 bit images are currently only
    supported with u16 representation; changing this would require
    specialization and macroing of color conversions.
    
    Load 16 bit PNGs at full bit depth rather than squashing to 8 bit.
    
    Note that tests will not pass until upgrading to a release of image-png
    including image-rs/image-png#174.
    
    Closes #560.
    Closes #665.
    Closes #940.
    aschampion committed Dec 10, 2019
    Copy the full SHA
    67a327b View commit details
    Browse the repository at this point in the history
  2. Create common trait for all image format encoders

    This ImageEncoder trait is currently minimal, but establishes a uniform
    interface so that all formats have native endian encoding interfaces,
    which is necessary for 16 bit per channel encoding.
    
    Closes #1076.
    aschampion committed Dec 10, 2019
    Copy the full SHA
    4d776b7 View commit details
    Browse the repository at this point in the history
  3. Bump png version

    This fixes 16bpc tests.
    aschampion committed Dec 10, 2019
    Copy the full SHA
    a32fd74 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    fe06c05 View commit details
    Browse the repository at this point in the history
  5. Remove ColorType::bytes_per_channel

    Per review comments, this assumes equal channel bit depths, which will
    not be the case in the future.
    aschampion committed Dec 10, 2019
    Copy the full SHA
    7b62a7b View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    9de3e61 View commit details
    Browse the repository at this point in the history
  7. Restore as_flat_samples methods for DynamicImage

    Because the return type depends on the buffer's bits per channel, make
    the return optional and provide separate methods for 8 and 16 bit
    images.
    aschampion committed Dec 10, 2019
    Copy the full SHA
    a502bee View commit details
    Browse the repository at this point in the history
  8. Remove zerocopy from public interface

    Instead create a crate-local AsBytes wrapper trait. This trait is not
    sealed as Primitive was not sealed, so that users can delegate it for
    newtypes if needed.
    aschampion committed Dec 10, 2019
    Copy the full SHA
    ed47a76 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2019

  1. Fix compilation on 1.34.2

    aschampion committed Dec 12, 2019
    Copy the full SHA
    c642686 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e12da31 View commit details
    Browse the repository at this point in the history
  3. Remove ChannelsType

    aschampion committed Dec 12, 2019
    Copy the full SHA
    35ebf63 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    33cebef View commit details
    Browse the repository at this point in the history
  5. Switch from zerocopy to bytemuck

    Bytemuck is more feature constrained and builds on Rust 1.34.2.
    aschampion committed Dec 12, 2019
    Copy the full SHA
    5dae1fd View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1085 from aschampion/features/16bpc-dynimage-squash

    16 bit per channel image buffers and dynamic images
    HeroicKatora committed Dec 12, 2019
    Copy the full SHA
    d3b3133 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2019

  1. Fixes #1090.

    Adds checked_mul when computing img size.
    Mike-Neto committed Dec 13, 2019
    Copy the full SHA
    133e1dd View commit details
    Browse the repository at this point in the history
  2. Refactored using ok_or.

    Checked also for the last add.
    Mike-Neto committed Dec 13, 2019
    Copy the full SHA
    577fa28 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2019

  1. Copy the full SHA
    77bc941 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2019

  1. Copy the full SHA
    38232ee View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1036 from fintelia/delay-overflow

    Fix potential overflow in GIF decoding
    fintelia committed Dec 20, 2019
    Copy the full SHA
    182de11 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2019

  1. Edition fix to 2018

    HeroicKatora committed Dec 31, 2019
    Copy the full SHA
    af89715 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1106 from HeroicKatora/edition-2018

    Update to Edition 2018
    HeroicKatora committed Dec 31, 2019
    Copy the full SHA
    1ec46ba View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2020

  1. Move error types to seperate module

    birktj authored and HeroicKatora committed Jan 9, 2020
    Copy the full SHA
    612a116 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1110 from HeroicKatora/error-module

    Move error types to seperate module
    HeroicKatora committed Jan 9, 2020
    Copy the full SHA
    a1848da View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2020

  1. Update the quickcheck dev-dependency

    It has become quite outdated at this point but luckily is maintained
    with a commitment to MSRV of 1.30. The main point of the update are some
    reported issues with rand and the dependency rdrand. Not that any of
    those are actually relevant but this reduces the burden of proof for
    verifications (crev, etc.) of code bases using the image crate.
    HeroicKatora committed Jan 11, 2020
    Copy the full SHA
    1919d39 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1114 from HeroicKatora/update-quickcheck

    Update the quickcheck dev-dependency
    HeroicKatora committed Jan 11, 2020
    Copy the full SHA
    2902901 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. Copy the full SHA
    d3dd380 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1117 from HeroicKatora/update-from-master

    Update `next` from master
    HeroicKatora committed Jan 21, 2020
    Copy the full SHA
    e5ab3ba View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. Copy the full SHA
    35774bc View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2020

  1. Make ImageFormat related enums non-exhaustive

    Also note the curious and complicated but clever way of statically
    eliminating the actual branch in matchings, and avoid the need for
    unreachable markers within the crate. This has been ported to the other
    uses of non-exhaustive enumerations.
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    cea55d5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1121 from benoitryder/master

    Add support for DDS files using DXT1, DXT3 or DXT5 compression
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    9da5407 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1123 from HeroicKatora/format-non-exhaustive

    Make ImageFormat related enums non-exhaustive
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    3afbdcb View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    495a470 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1124 from HeroicKatora/dds-required-feature

    Add missing feature requirement dxt for dds
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    49d13fd View commit details
    Browse the repository at this point in the history
  6. Add an opaque redesign for error type

    Moves away from a single, open representation of errors. This considers
    a previously identified few issues:
    
    * The new variants are somewhat actionable since they at least identify the
      cause more closely.
    * They are extensible as most state is opaque to some degree and key
      enumerations are marked as non-exhaustive.
    * They are more precise as the opaque state allows storing specialized
      variants for supported formats while still maintaining a uniform
      interface and permitting extension formats outside the library.
    * Handling of 'stringification' is more principled as error values can
      be stored as-is instead of converting them on the spot. This might
      also improve the performance when the conversion is not required.
    
    This is part of a patch series. The commit merely adds the new type and
    a rough interface but does not yet convert the existing error instances
    and return types.
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    4d19e84 View commit details
    Browse the repository at this point in the history
  7. Add utility constructors for new error type

    Emulates the old enum variants with the new type through constructor
    methods. Note that some variants have been slightly abused and do not
    map cleanly to a single new kind. These should be adjusted over time.
    
    The constructors are private to the crate. While exposing them would
    help transition, this also allows us to selectively and incrementally
    rework our own error usage by deprecating them and fixing occurring
    warnings. In particular, we should expose underlying errors as causes
    and so on.
    
    This commit is part of a patch series reworking error types. The next
    patch switches the old error type for the new one.
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    02bd05e View commit details
    Browse the repository at this point in the history
  8. Switch error types with minimal cleanup

    * The format detection is switch to clean variants
    * The pnm decoder was the only to utilize NotEnoughData and has been
      switched to a generic format error. It should not be an IO error.
    * The external test matches on the renamed unsupported variant
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    73f8c1f View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    52510ef View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    b8758ec View commit details
    Browse the repository at this point in the history
  11. Add test/assertions for ImageError marker impls

    Note that these are structural and thus also asserted on the interior
    subtypes. (Unless an unsafe impl were to be added but that should never
    happen in any case.)
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    d0d6e53 View commit details
    Browse the repository at this point in the history
  12. Do a documentation pass and improve naming

    All `new` constructors accept a detailed underlying description while
    the shorthands and alternatives are renamed to `from_*_hint` and
    `from_kind` respectively. This is supposed to encourage utilizing a
    detailed error representation in dependencies with the new constructor.
    
    Note that the UnsupportedError and LimitError have no `new` constructor
    but utilize the naming convention regardless. This is to avoid blocking
    the name if we introduce an underlying error representation for them.
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    8980781 View commit details
    Browse the repository at this point in the history
  13. Use boxed str instead of String for error message

    These are not modified while storing within the error and should be
    faded out over time. Storing the Box<str> saves some space in the
    representation with the size of a pointer. Note that DecodingError is
    actually the largest struct right now due to it supporting some legacy
    representations.
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    ce79a34 View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    b98d3d4 View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    a1ddcb3 View commit details
    Browse the repository at this point in the history
  16. Merge pull request #1125 from HeroicKatora/benchmark-edition-2018

    Fix benchmarks to edition 2018
    HeroicKatora committed Feb 1, 2020
    Copy the full SHA
    c0b5d97 View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    312ec9a View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    737a05d View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2020

  1. Interface restrictions for gif and jpeg

    Hide some public interface dependencies on gif and jpeg. Note that frame
    oriented functions are now unused and will likely be brought back in a
    (slightly less generic) manner that is more uniform over other multi
    frame formats as well.
    HeroicKatora committed Feb 2, 2020
    Copy the full SHA
    875372e View commit details
    Browse the repository at this point in the history
  2. Fixed animation::Frame and raw byte interfaces

    Note that some use within the library itself would use a buffer with
    wrong buffer size or disregard width and height errors.
    HeroicKatora committed Feb 2, 2020
    Copy the full SHA
    e69978c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1126 from HeroicKatora/remove-public-dependencies

    Interface restrictions for gif and jpeg
    HeroicKatora committed Feb 2, 2020
    Copy the full SHA
    90a21f3 View commit details
    Browse the repository at this point in the history
  4. Add travis script and public dependency reference

    See the nightly feature `public-dependency`, tracking issue: #44663
    HeroicKatora committed Feb 2, 2020
    Copy the full SHA
    081dcc0 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1127 from HeroicKatora/public-private-dependencies

    Add travis script and public dependency reference
    HeroicKatora committed Feb 2, 2020
    Copy the full SHA
    4c592d7 View commit details
    Browse the repository at this point in the history
  6. Encapsulate the delay ratio

    Two major reasons:
    
    * This avoids the public dependency on `num_ratio`.
    * The internal representation can be changed. This already proved
      necessary once (from u16 rational) and in this manner we are free to
      do it again by adding an inner enum representation.
    
    Note that we already have rounding semantics for the meaning of Delay as
    gif rounds to the nearest 10ms when writing frames. Any more or less
    precise representation can be made to round to the closest u32 ratio.
    HeroicKatora committed Feb 2, 2020
    Copy the full SHA
    22e1fe3 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2020

  1. Add conversion of Delay into time::Duration

    With the original available as a millisecond ratio this can easily be
    done to the accuracy of nanoseconds, which is the finest available.
    HeroicKatora committed Feb 5, 2020
    Copy the full SHA
    68ad0cc View commit details
    Browse the repository at this point in the history
  2. Align naming to ratio

    HeroicKatora committed Feb 5, 2020
    Copy the full SHA
    633f247 View commit details
    Browse the repository at this point in the history
  3. Add a saturating conversion from time::Duration

    Given the prior usage, it does not make much sense to provide an exact
    conversion. However, it should be clear that precision is not finite and
    the representation is not exactly that of a Duration.
    
    The implementation turned out to be fairly involved as the num-fraction
    crate does not provide approximation algorithms for fractions. No fear,
    we code them ourselves with extensive testing to cover much more than
    the required accuracy tests.
    HeroicKatora committed Feb 5, 2020
    Copy the full SHA
    b6dacab View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Merge pull request #1128 from HeroicKatora/hide-num-ratio

    Encapsulate the delay ratio
    fintelia committed Feb 7, 2020
    Copy the full SHA
    9dd1c44 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e3ab70d View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1131 from HeroicKatora/upstream-master

    Upstream from master
    HeroicKatora committed Feb 7, 2020
    Copy the full SHA
    140f4ea View commit details
    Browse the repository at this point in the history