1
0
mirror of https://github.com/golang/go synced 2024-10-05 10:21:22 -06:00
go/src/pkg/exp/norm
Marcel van Lohuizen 8ba20dbdb5 exp/norm: a few minor changes in prepration for a table format change:
- Unified bounary conditions for NFC and NFD and removed some indirections.
   This enforces boundaries at the character level, which is typically what
   the user expects. (NFD allows a boundary between 'a' and '`', for example,
   which may give unexpected results for collation.  The current implementation
   is already stricter than the standard, so nothing much changes.  This change
   just formalizes it.
 - Moved methods of qcflags to runeInfo.
 - Swapped YesC and YesMaybe bits in qcFlags. This is to aid future changes.
 - runeInfo return values use named fields in preperation for struct change.
 - Replaced some left-over uint32s with rune.

R=r
CC=golang-dev
https://golang.org/cl/5607050
2012-02-02 13:55:53 +01:00
..
composition_test.go exp/norm: use rune 2011-10-25 22:26:12 -07:00
composition.go exp/norm: a few minor changes in prepration for a table format change: 2012-02-02 13:55:53 +01:00
forminfo.go exp/norm: a few minor changes in prepration for a table format change: 2012-02-02 13:55:53 +01:00
input.go exp/norm: a few minor changes in prepration for a table format change: 2012-02-02 13:55:53 +01:00
Makefile build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
maketables.go exp/norm: a few minor changes in prepration for a table format change: 2012-02-02 13:55:53 +01: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: Added some benchmarks for form-specific performance measurements. 2012-02-02 13:19:12 +01:00
normalize.go exp/norm: a few minor changes in prepration for a table format change: 2012-02-02 13:55:53 +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: a few minor changes in prepration for a table format change: 2012-02-02 13:55:53 +01:00
trie_test.go pkg: Add & fix Copyright of "hand generated" files 2012-01-19 10:14:56 -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 exp/norm: fixes a subtle bug introduced by change 10087: random offset 2012-01-23 19:36:52 +01:00