1. 06 Mar, 2020 1 commit
  2. 30 Dec, 2019 1 commit
  3. 22 Nov, 2019 2 commits
  4. 31 Oct, 2019 1 commit
  5. 29 Aug, 2019 2 commits
  6. 25 Apr, 2019 1 commit
    • Marcel van Lohuizen's avatar
      all: upgrade to Unicode 11 · 342b2e1f
      Marcel van Lohuizen authored
      by running go generate at the top level.
      
      IDNA still uses the old test format. The new
      format tests more cases. The 11 format causes
      test failure, but only for erroneous input that
      result in errors. The package will in all such
      cases still report an error, but the value result
      may differ.
      
      Updates golang/go#27945
      
      Change-Id: Idb94e78411c2cb9f8e829b09d3d8de7807829076
      Reviewed-on: https://go-review.googlesource.com/c/text/+/154442
      
      
      Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
      Reviewed-by: default avatarRuss Cox <rsc@golang.org>
      342b2e1f
  7. 24 Apr, 2019 5 commits
  8. 10 Apr, 2019 1 commit
  9. 05 Apr, 2019 1 commit
  10. 27 Mar, 2019 1 commit
  11. 21 Mar, 2019 1 commit
  12. 06 Mar, 2019 1 commit
  13. 25 Feb, 2019 1 commit
  14. 13 Feb, 2019 2 commits
  15. 27 Dec, 2018 1 commit
  16. 11 Dec, 2018 1 commit
  17. 30 Oct, 2018 2 commits
  18. 29 Oct, 2018 2 commits
  19. 10 Oct, 2018 1 commit
  20. 11 Sep, 2018 1 commit
  21. 07 Sep, 2018 1 commit
  22. 10 Aug, 2018 1 commit
    • Brad Fitzpatrick's avatar
      unicode/norm: move sync.Once check out of loop · 6e3c4e73
      Brad Fitzpatrick authored
      Follow-up to CL 127926.
      
      The recompMap map is only used by func combine, which only has one
      caller. Move the sync.Once.Do call that populates the map out of func
      combine up to its sole caller.
      
      I wasn't actually able to measure a difference with this, but
      it seems better to do one-time work outside of a loop.
      
      And I verified that combine is still inlined, even with the nil check+panic.
      
      ./composition.go:501:24: inlining call to combine
      
      Change-Id: I6929af1de5f068051ef00cf0938b880ff87e1ce4
      Reviewed-on: https://go-review.googlesource.com/128575
      
      
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarKevin Burke <kev@inburke.com>
      Reviewed-by: default avatarMarcel van Lohuizen <mpvl@golang.org>
      6e3c4e73
  23. 09 Aug, 2018 1 commit
  24. 07 Aug, 2018 2 commits
    • Kevin Burke's avatar
      encoding: regenerate tables · 17ff2d57
      Kevin Burke authored
      The default indentation for maps changed in a recent Go commit. Rerun
      "go generate" for these packages to update the tables to match.
      
      Also add the "replacement" key to the list of encodings retrievable
      by Get. It is described in the W3C specification as "[existing] to
      prevent certain attacks that abuse a mismatch between encodings
      supported on the server and the client."
      
      Change-Id: I3c671c229d1e68721d109364aaf19021bbd3af89
      Reviewed-on: https://go-review.googlesource.com/127923
      
      Reviewed-by: default avatarMarcel van Lohuizen <mpvl@golang.org>
      Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      17ff2d57
    • Kevin Burke's avatar
      unicode/norm: lazy load recompMap from string · 23784602
      Kevin Burke authored
      recompMap gets populated on init, which requires 21kB of memory.
      Instead populate it only when we need it.
      
      This will put it in the rodata section of the binary, which means that
      the Go compiler can apply better optimizations to it. The string is an
      alternating series of 4 byte keys and 4 byte values, which get built
      into a map the first time they are required.
      
      Updates golang/go#26752.
      
      Change-Id: I4f9b7d74af6df42b58999cf42cf5ada9646aa98d
      Reviewed-on: https://go-review.googlesource.com/127926
      
      
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      23784602
  25. 05 Aug, 2018 2 commits
  26. 04 Aug, 2018 1 commit
  27. 02 Aug, 2018 1 commit
  28. 08 Jul, 2018 1 commit
  29. 29 Jun, 2018 1 commit