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

Update next with latest changes to master #1054

Merged
merged 58 commits into from Oct 8, 2019

Commits on Aug 25, 2019

  1. Copy the full SHA
    35e189b View commit details
    Browse the repository at this point in the history
  2. Merge pull request image-rs#1021 from JohnTitor/replace-try-macros

    Replace try! macros with ? operators
    fintelia committed Aug 25, 2019
    Copy the full SHA
    20ae2f5 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2019

  1. Format code by rustfmt

    JohnTitor committed Aug 26, 2019
    Copy the full SHA
    956d9ba View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary lifetime

    JohnTitor committed Aug 26, 2019
    Copy the full SHA
    9c8a5fe View commit details
    Browse the repository at this point in the history
  3. Merge pull request image-rs#1023 from JohnTitor/remove-unnecessary-li…

    …fetime
    
    Remove unnecessary lifetime
    fintelia committed Aug 26, 2019
    Copy the full SHA
    3287608 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. Apply review comments

    JohnTitor committed Aug 29, 2019
    Copy the full SHA
    695c8d8 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a392477 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2019

  1. Merge pull request image-rs#1026 from HeroicKatora/travis-gitter-im

    Move travis notifications to gitter
    HeroicKatora committed Aug 30, 2019
    Copy the full SHA
    e696147 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2019

  1. Add Clippy to Travis

    JohnTitor committed Aug 31, 2019
    Copy the full SHA
    8fae797 View commit details
    Browse the repository at this point in the history
  2. Re-format vec

    JohnTitor committed Aug 31, 2019
    Copy the full SHA
    9dbdb7b View commit details
    Browse the repository at this point in the history
  3. Rename r to reader

    JohnTitor committed Aug 31, 2019
    Copy the full SHA
    303fc40 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    5eff7d0 View commit details
    Browse the repository at this point in the history
  5. Remove unused lzw dependency

    est31 committed Aug 31, 2019
    Copy the full SHA
    a688d1f View commit details
    Browse the repository at this point in the history
  6. Merge pull request image-rs#1028 from est31/master

    Remove unused lzw dependency
    HeroicKatora committed Aug 31, 2019
    Copy the full SHA
    bf90ec4 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2019

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

Commits on Sep 7, 2019

  1. Merge pull request image-rs#1002 from dobrakmato/master

    Provide bits_per_pixel and num_components as ColorType methods
    HeroicKatora committed Sep 7, 2019
    Copy the full SHA
    3fb764d View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    2dd1536 View commit details
    Browse the repository at this point in the history
  3. Merge pull request image-rs#1031 from BourgondAries/master

    png: Fix decoder off-by-1 error
    HeroicKatora committed Sep 7, 2019
    Copy the full SHA
    ef8316a View commit details
    Browse the repository at this point in the history
  4. Merge pull request image-rs#1022 from JohnTitor/rustfmt

    Format code by rustfmt
    HeroicKatora committed Sep 7, 2019
    Copy the full SHA
    e1a0c85 View commit details
    Browse the repository at this point in the history
  5. fix tiff magic bytes

    Co-authored-by: martinlindhe
    martinlindhe authored and HeroicKatora committed Sep 7, 2019
    Copy the full SHA
    23c5f92 View commit details
    Browse the repository at this point in the history
  6. Expose decoder to dynimage

    A somewhat long outstanding feature. The previous pub attribute on the
    function may have made it confusing and wrongly suggested that this was
    already the case.
    
    Closes: image-rs#978
    HeroicKatora committed Sep 7, 2019
    Copy the full SHA
    200c225 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    73694d6 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    5db2d3b View commit details
    Browse the repository at this point in the history
  9. Merge pull request image-rs#1033 from HeroicKatora/tiff-signature

    Fix tiff magic bytes
    HeroicKatora committed Sep 7, 2019
    Copy the full SHA
    8a398f4 View commit details
    Browse the repository at this point in the history
  10. Fix few clippy warnings

    JohnTitor committed Sep 7, 2019
    Copy the full SHA
    ce4fe31 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    398b1fa View commit details
    Browse the repository at this point in the history
  12. Merge pull request image-rs#1035 from JohnTitor/fix-clippy

    Fix few clippy warnings
    HeroicKatora committed Sep 7, 2019
    Copy the full SHA
    134175a View commit details
    Browse the repository at this point in the history
  13. Merge pull request image-rs#1034 from HeroicKatora/release-0.22.2

    Update crate metadata for release 0.22.2
    HeroicKatora committed Sep 7, 2019
    Copy the full SHA
    d1660ef View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2019

  1. Copy the full SHA
    5a428f1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request image-rs#1037 from XVilka/patch-1

    Fix the WebP spelling in README
    JohnTitor committed Sep 20, 2019
    Copy the full SHA
    4a7bdb8 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2019

  1. Move io readers into seperate module

    Does not touch the public interface, only internal `_impl` variants
    which are simply referenced from their new location.
    HeroicKatora committed Sep 25, 2019
    Copy the full SHA
    b280cd9 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    9120fca View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    5d9eeec View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    18f1e26 View commit details
    Browse the repository at this point in the history
  5. Apply suggestions on decode and open/from_path

    Firstly, simply renames load to decode.
    
    Also splits open into to operations:
    - open, which will inspect the file contents to guess the correct format
      *before* falling back to a path.
    - from_path, which imitates the old behaviour.
    HeroicKatora committed Sep 25, 2019
    Copy the full SHA
    dcb0363 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    8fc0ae6 View commit details
    Browse the repository at this point in the history
  7. Add notes for reader to free functions

    Don't deprecate them just yet, for now they are even the underlying
    primitives instead of being wrappers around the reader.
    HeroicKatora committed Sep 25, 2019
    Copy the full SHA
    481a639 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    2e4ce45 View commit details
    Browse the repository at this point in the history
  9. Align open with previous semantics

    Fixes guess_format to only change the format on successful guesses.
    HeroicKatora committed Sep 25, 2019
    Copy the full SHA
    a805ff3 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    513d18a View commit details
    Browse the repository at this point in the history
  11. Hide functionality not connected to reader function

    Minimize the commitment of public interface for now. The builder style
    methods are likely the most immediately useful.
    HeroicKatora committed Sep 25, 2019
    Copy the full SHA
    1210712 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    0213603 View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    4f6a82c View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    ac93e75 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2019

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

Commits on Oct 1, 2019

  1. Copy the full SHA
    0758e7b View commit details
    Browse the repository at this point in the history
  2. Align travis build to actions

    Failure that occurs only on nightly seems to be more often due to Rust
    breakage than a bug. Take deprecation warnings more serious by actively
    denying them which warns us of incompatible future versions as nightly
    would.
      Note: May remove this again in the future if it doesn't help. We've
      already had the case where the rustc version commitment left us
      without a proper replacement for a while since that had only been
      introduce shortly before deprecation.
    
    Also ensures that tests are ran on all relevant builds instead of only
    on nightly.
    HeroicKatora committed Oct 1, 2019
    Copy the full SHA
    dfbc866 View commit details
    Browse the repository at this point in the history
  3. Make default features the default build again

    For osx and windows targets build with the first env combination since
    they are matrix includes. This ensures that this selects the build
    script with default features instead of no features.
    HeroicKatora committed Oct 1, 2019
    Copy the full SHA
    f0bef52 View commit details
    Browse the repository at this point in the history
  4. Test for env set, not non-zero

    Checks if a variable was declared, not if it has a non-empty content.
    The core operation `${VARNAME+word}` will equal `word` if `VARNAME` is
    set and non-null and be empty otherwise.
    
    ```
     DEFAULT_FEATURES=''
     [ -z "$DEFAULT_FEATURES" ] # true
    ```
    
    ```
     DEFAULT_FEATURES=''
     [ -n "${DEFAULT_FEATURES+exists}" ] # false
    ```
    HeroicKatora committed Oct 1, 2019
    Copy the full SHA
    5a03954 View commit details
    Browse the repository at this point in the history
  5. Merge pull request image-rs#1048 from HeroicKatora/build-system

    Align travis build to actions
    HeroicKatora committed Oct 1, 2019
    Copy the full SHA
    06ea11d View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    18df3b2 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2019

  1. Merge pull request image-rs#1050 from mathstuf/target-as-symlink

    gitignore: ignore target as a symlink
    HeroicKatora committed Oct 2, 2019
    Copy the full SHA
    0153ddd View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. Fix strict const_err

    An array is indexed with constants that exceed its size. This is
    inopportune even in a branch that never gets executed. This changes it
    so that the indexing happens on a slice.
    
    Also removes a bunch of annotations by avoiding primitive casts with
    explicit type annotations in constants.
    HeroicKatora committed Oct 3, 2019
    Copy the full SHA
    684089b View commit details
    Browse the repository at this point in the history
  2. Merge pull request image-rs#1049 from HeroicKatora/const-err

    Fix strict const_err
    HeroicKatora committed Oct 3, 2019
    Copy the full SHA
    1e7ce10 View commit details
    Browse the repository at this point in the history
  3. Merge pull request image-rs#1047 from JohnTitor/use-match

    Use `match` instead of `if-else` chain
    HeroicKatora committed Oct 3, 2019
    Copy the full SHA
    0f1dcd1 View commit details
    Browse the repository at this point in the history
  4. Remark const_err in changelog

    Lints do affects downstream libraries if they use `image` as a path
    dependency. Due to the spread of the library it seems somewhat likely to
    be the case somewhere.
    HeroicKatora committed Oct 3, 2019
    Copy the full SHA
    bdf2d4c View commit details
    Browse the repository at this point in the history
  5. Merge pull request image-rs#1051 from HeroicKatora/master

    Bump version and changelog for v0.22.3
    HeroicKatora committed Oct 3, 2019
    Copy the full SHA
    9aae0b0 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    de1974d View commit details
    Browse the repository at this point in the history