1
0
mirror of https://github.com/golang/go synced 2024-10-04 22:31:22 -06:00
go/src/pkg/exp/norm
Marcel van Lohuizen cadbd3ea49 exp/norm: fixed two unrelated bugs in normalization library.
1) incorrect length given for out buffer in String.
2) patchTail bug that could cause characters to be lost
   when crossing into the out-buffer boundary.

Added tests to expose these bugs.  Also slightly improved
performance of Bytes() and String() by sharing the reorderBuffer
across operations.

Fixes #2567.

R=r
CC=golang-dev
https://golang.org/cl/5502069
2011-12-23 18:21:26 +01:00
..
composition_test.go exp/norm: use rune 2011-10-25 22:26:12 -07:00
composition.go renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* 2011-11-08 15:40:58 -08:00
forminfo.go exp/norm: introduced input interface to implement string versions 2011-10-05 10:44:11 -07:00
input.go exp/norm: fixed two unrelated bugs in normalization library. 2011-12-23 18:21:26 +01:00
Makefile various: use $GCFLAGS and $GCIMPORTS like Make does 2011-12-16 11:31:39 -05:00
maketables.go use new strconv API 2011-12-05 15:48:46 -05:00
maketesttables.go exp/norm: use rune 2011-10-25 22:26:12 -07:00
norm_test.go exp/norm: fix build by adding a test placeholder 2011-08-05 08:25:49 +10:00
normalize_test.go exp/norm: fixed two unrelated bugs in normalization library. 2011-12-23 18:21:26 +01:00
normalize.go exp/norm: fixed two unrelated bugs in normalization library. 2011-12-23 18:21:26 +01:00
normregtest.go various: a grab-bag of time.Duration cleanups. 2011-12-13 10:42:56 +11:00
readwriter_test.go src/pkg/[a-m]*: gofix -r error -force=error 2011-11-01 22:04:37 -04:00
readwriter.go exp/norm: fixed two unrelated bugs in normalization library. 2011-12-23 18:21:26 +01:00
tables.go exp/norm: changed trie to produce smaller tables. 2011-09-16 11:27:05 +02:00
trie_test.go renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* 2011-11-08 15:40:58 -08:00
trie.go exp/norm: changed trie to produce smaller tables. 2011-09-16 11:27:05 +02:00
triedata_test.go exp/norm: use rune 2011-10-25 22:26:12 -07:00
triegen.go renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* 2011-11-08 15:40:58 -08:00