Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/image
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.0
Choose a base ref
...
head repository: golang/image
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.0
Choose a head ref
  • 6 commits
  • 13 files changed
  • 4 contributors

Commits on Mar 21, 2023

  1. font: have Glyph return !ok for U+FFFD substitute

    The other return values may still be non-zero, but this lets callers
    identify when substitution happens.
    
    "TODO: is falling back on the U+FFFD glyph the responsibility of the
    Drawer or the Face?" was resolved. The answer is "the Face". For
    kerning, the previous rune is unchanged (and not set to U+FFFD).
    
    This also fixes an inconsistency in the basicfont.Face implementation,
    where GlyphAdvance and GlyphBounds would unconditionally return a
    non-zero advance, but Glyph could return a zero advance when the Face
    doesn't have a U+FFFD entry.
    
    Fixes golang/go#58252
    
    Change-Id: Ie97e68e1d5e2efd13c9e84ad12db4495d83a5ca3
    Reviewed-on: https://go-review.googlesource.com/c/image/+/474376
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Nigel Tao (INACTIVE; USE @golang.org INSTEAD) <nigeltao@google.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
    Run-TryBot: Nigel Tao <nigeltao@golang.org>
    nigeltao committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    08ca817 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    Once this CL is submitted, and post-submit testing succeeds on all
    first-class ports across all supported Go versions, this repository
    will be tagged with its next minor version.
    
    Change-Id: Ie0bb31bf2e0ecfda35de664bca8b74cafe3b61bf
    Reviewed-on: https://go-review.googlesource.com/c/image/+/482775
    Run-TryBot: Gopher Robot <gobot@golang.org>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    gopherbot committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    ed5dba0 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    Once this CL is submitted, and post-submit testing succeeds on all
    first-class ports across all supported Go versions, this repository
    will be tagged with its next minor version.
    
    Change-Id: I84ae75d78ab19da92628683a322eb6daac4158cf
    Reviewed-on: https://go-review.googlesource.com/c/image/+/502516
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    Run-TryBot: Gopher Robot <gobot@golang.org>
    Reviewed-by: Heschi Kreinick <heschi@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    gopherbot committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    81c166c View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    Once this CL is submitted, and post-submit testing succeeds on all
    first-class ports across all supported Go versions, this repository
    will be tagged with its next minor version.
    
    Change-Id: Idec00dd11cae3653c5f4ec9ddd8e8ca2d1b25ba3
    Reviewed-on: https://go-review.googlesource.com/c/image/+/507836
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    Run-TryBot: Gopher Robot <gobot@golang.org>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    gopherbot committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    f9550b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. bmp: support to decode 8-bit format with up to 256 color palette

    If colorUsed is 0, the number of palette is 2 to the power of bit per pixel.
    testdata/colormap-251.{bmp,png} are added for testing 8-bit format with colorUsed less than 256.
    testdata/colormap-0.{bmp,png} are added for testing 8-bit format with colorUsed 0.
    
    Fixes golang/go#61240
    
    Change-Id: I1a627a570f667874a91c517f4a771e9e97d2af6b
    Reviewed-on: https://go-review.googlesource.com/c/image/+/508575
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Nigel Tao <nigeltao@golang.org>
    Reviewed-by: Nigel Tao (INACTIVE; USE @golang.org INSTEAD) <nigeltao@google.com>
    Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
    Run-TryBot: Nigel Tao <nigeltao@golang.org>
    entooone authored and gopherbot committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    a5392f0 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. tiff: limit work when decoding malicious images

    Fix two paths by which a malicious image could cause unreasonable
    amounts of CPU consumption while decoding.
    
    Avoid iterating over every horizontal pixel when decoding
    a 0-height tiled image.
    
    Limit the amount of data that will be decompressed per tile.
    
    Thanks to Philippe Antoine (Catena cyber) for reporting this issue.
    
    Fixes CVE-2023-29407
    Fixes CVE-2023-29408
    Fixes golang/go#61581
    Fixes golang/go#61582
    
    Change-Id: I8cbb26fa06843c6fe9fa99810cb1315431fa7d1d
    Reviewed-on: https://go-review.googlesource.com/c/image/+/514897
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Auto-Submit: Damien Neil <dneil@google.com>
    Run-TryBot: Damien Neil <dneil@google.com>
    neild authored and gopherbot committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    cb227cd View commit details
    Browse the repository at this point in the history
Loading