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/text
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.22.0
Choose a base ref
...
head repository: golang/text
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.27.0
Choose a head ref
  • 12 commits
  • 9 files changed
  • 6 contributors

Commits on Feb 14, 2025

  1. all: upgrade go directive to at least 1.23.0 [generated]

    By now Go 1.24.0 has been released, and Go 1.22 is no longer supported
    per the Go Release Policy (https://go.dev/doc/devel/release#policy).
    
    For golang/go#69095.
    
    [git-generate]
    (cd . && go get go@1.23.0 && go mod tidy && go fix ./... && go mod edit -toolchain=none)
    
    Change-Id: I315d8641c8a1501284ec7295493d23523afbcc0f
    Reviewed-on: https://go-review.googlesource.com/c/text/+/649698
    Auto-Submit: Gopher Robot <gobot@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    gopherbot committed Feb 14, 2025
    Configuration menu
    Copy the full SHA
    518d9c0 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2025

  1. internal/export/unicode: add CategoryAliases, Cn, and LC

    CategoryAliases is for regexp to use, for things like \p{Letter} as an alias for \p{L}.
    Cn and LC are special-case categories that were never implemented
    but should have been.
    
    For golang/go#70780.
    
    Change-Id: I1401c1be42106a0ebecabb085c25e97485c363cf
    Reviewed-on: https://go-review.googlesource.com/c/text/+/641395
    Auto-Submit: Russ Cox <rsc@golang.org>
    Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    rsc authored and gopherbot committed Feb 27, 2025
    Configuration menu
    Copy the full SHA
    ae68efb View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2025

  1. language: use a more straightforward return value

    Change-Id: I7f5d8ecc1ad6a1ff110283d2c62816170922e72c
    Reviewed-on: https://go-review.googlesource.com/c/text/+/653236
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    cuishuang authored and gopherbot committed Feb 28, 2025
    Configuration menu
    Copy the full SHA
    835f8ac View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2025

  1. internal/export/unicode: change C comment to mention unassigned code …

    …points
    
    As of CL 641395, C includes unassigned code points.
    (It always has in the Unicode definition.)
    Document that.
    
    Change-Id: Icab0ef37e6efeebb1e2882f7743e29acc7ab77d8
    Reviewed-on: https://go-review.googlesource.com/c/text/+/653615
    Auto-Submit: Sean Liao <sean@liao.dev>
    Reviewed-by: Sean Liao <sean@liao.dev>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    rsc authored and gopherbot committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    b18c107 View commit details
    Browse the repository at this point in the history
  2. x/text: fix scientific notation by removing extraneous spaces

    The existing implementation adds extraneous spaces around the
    superscriptingExponent. This is different from what ICU4C does.
    It also turns out adding those extra spaces messes with other
    padding calculations.
    
    Fixes golang/go#71428
    
    Change-Id: Id6702390dc40c17bdd5dff2597aa8e1044f5768e
    Reviewed-on: https://go-review.googlesource.com/c/text/+/644121
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Sean Liao <sean@liao.dev>
    Auto-Submit: Sean Liao <sean@liao.dev>
    Reviewed-by: Tristan Swadell <tswadell@google.com>
    jcking authored and gopherbot committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    221d88c View commit details
    Browse the repository at this point in the history
  3. collate/build: do not use println in tests

    Change-Id: I4f50430a35b009618c4762c74c418919dc54cdb1
    Reviewed-on: https://go-review.googlesource.com/c/text/+/634495
    Reviewed-by: Sean Liao <sean@liao.dev>
    Auto-Submit: Sean Liao <sean@liao.dev>
    Reviewed-by: Junyang Shao <shaojunyang@google.com>
    Reviewed-by: Michael Pratt <mpratt@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    alexandear authored and gopherbot committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    d5156da View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2025

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

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: Ie292e82f774d7a7b2ab5d53279bd874dae6cbdac
    Reviewed-on: https://go-review.googlesource.com/c/text/+/655036
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: David Chase <drchase@google.com>
    gopherbot committed Mar 5, 2025
    Configuration menu
    Copy the full SHA
    566b44f View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2025

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

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I1a68d897a5fe8375d604a0163ea501c964c79f4f
    Reviewed-on: https://go-review.googlesource.com/c/text/+/663096
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: David Chase <drchase@google.com>
    gopherbot committed Apr 6, 2025
    Configuration menu
    Copy the full SHA
    4890c57 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2025

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

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I1b83f9faaac54edf433904ac46263cc4fc353012
    Reviewed-on: https://go-review.googlesource.com/c/text/+/669917
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: David Chase <drchase@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    gopherbot committed May 5, 2025
    Configuration menu
    Copy the full SHA
    700cc20 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2025

  1. go.mod: update tagx:ignore'd golang.org/x dependencies

    These dependencies aren't yet automatically updated due to cycles,
    leaving them to be maintained manually. They haven't been updated
    in some time. Do that now.
    
    Updating to a newer x/tools version fixes a build error at Go tip:
    
    $ go version
    go version go1.25-devel_eebae283b6 Mon Jun 2 15:28:33 2025 -0700 darwin/arm64  # CL 675736
    $ go test -c -o=/dev/null ./...
    # golang.org/x/tools/internal/tokeninternal
    $GOMODCACHE/golang.org/x/tools@v0.21.1-0.20240508182429-e35e4ccd0d2d/internal/tokeninternal/tokeninternal.go:64:9: invalid array length -delta * delta (constant -256 of type int64)
    FAIL	golang.org/x/text/cmd/gotext [build failed]
    
    For golang/go#73264.
    For golang/go#73205.
    
    Change-Id: Ie6be2f827ba7e49f6d8469e9a53f314b4247759d
    Reviewed-on: https://go-review.googlesource.com/c/text/+/679115
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    dmitshur authored and gopherbot committed Jun 5, 2025
    Configuration menu
    Copy the full SHA
    6cacac1 View commit details
    Browse the repository at this point in the history
  2. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: Ie551df012b5a8d6a6a0d5acb00b0955c7aec2b41
    Reviewed-on: https://go-review.googlesource.com/c/text/+/678640
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    gopherbot committed Jun 5, 2025
    Configuration menu
    Copy the full SHA
    8072180 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2025

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

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I389c3ce8c58b1f3ecb4b100a0707c1036b21ae50
    Reviewed-on: https://go-review.googlesource.com/c/text/+/687035
    Auto-Submit: Gopher Robot <gobot@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    gopherbot committed Jul 9, 2025
    Configuration menu
    Copy the full SHA
    b6d2645 View commit details
    Browse the repository at this point in the history
Loading