]> Cypherpunks repositories - gostls13.git/commit
exp/locale/collate: first changes that introduce implementation of tailorings:
authorMarcel van Lohuizen <mpvl@golang.org>
Sat, 1 Sep 2012 12:13:37 +0000 (14:13 +0200)
committerMarcel van Lohuizen <mpvl@golang.org>
Sat, 1 Sep 2012 12:13:37 +0000 (14:13 +0200)
commit18aa55c169774b96b210f234e88c98e78a1c513f
tree8549bfe44a2560e595a46fdbe0d0a549f48fb2d2
parentdd79b330c9115a62a482c655edb7911c8121744c
exp/locale/collate: first changes that introduce implementation of tailorings:
- Elements in the array are now sorted as a linked list.  This makes it easier to
  apply tailorings.
- Added code to sort entries by collation elements.
- Added logical reset points.  This is used for tailoring relative to certain
  properties, rather than characters.

NOTE: all code for type entry should now be in order.go.  To keep the diffs for
this CL reasonable, though, the existing code is left in builder.go.  I'll move
this in a separate CL.

R=r
CC=golang-dev
https://golang.org/cl/6493063
src/pkg/exp/locale/collate/build/builder.go
src/pkg/exp/locale/collate/build/builder_test.go
src/pkg/exp/locale/collate/build/colelem.go
src/pkg/exp/locale/collate/build/colelem_test.go
src/pkg/exp/locale/collate/build/order.go [new file with mode: 0644]
src/pkg/exp/locale/collate/build/order_test.go [new file with mode: 0644]