summaryrefslogtreecommitdiff
path: root/src/pkg/unicode
AgeCommit message (Collapse)AuthorFilesLines
2009-11-02use the new routine regexp.MustCompile to clean up some code that uses ↵Rob Pike1-18/+12
global regexps. R=rsc, gri CC=go-dev http://go/go-review/1016025
2009-10-27files that are okay from the last gofmt roundRuss Cox1-3/+4
R=gri http://go/go-review/1015011
2009-10-08more lgtm files from gofmtRuss Cox1-101/+100
R=gri OCL=35485 CL=35488
2009-10-07apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync ↵Russ Cox4-107/+108
syscall testing time unicode unsafe utf8 R=gri DELTA=1409 (79 added, 24 deleted, 1306 changed) OCL=35415 CL=35437
2009-09-15more "declared and not used".Russ Cox4-18/+18
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-09-01make ToUpper, ToLower etc. handle unicode properly.Rob Pike1-1/+1
Change their names too. R=rsc DELTA=206 (123 added, 2 deleted, 81 changed) OCL=34170 CL=34194
2009-08-31test that ASCII optimizations agree with the unicode tablesRob Pike2-0/+40
R=rsc DELTA=40 (40 added, 0 deleted, 0 changed) OCL=34168 CL=34176
2009-08-31IsSpaceRob Pike2-0/+39
R=rsc DELTA=39 (39 added, 0 deleted, 0 changed) OCL=34153 CL=34167
2009-08-31submitter's regret. rename Props to PropertiesRob Pike3-9/+9
R=rsc DELTA=9 (0 added, 0 deleted, 9 changed) OCL=34148 CL=34151
2009-08-31add property tablesRob Pike3-59/+982
R=rsc DELTA=1087 (1001 added, 78 deleted, 8 changed) OCL=34137 CL=34147
2009-08-31rearrange some constants. unicode package now defines MaxRune and ↵Rob Pike4-12/+25
ReplacementChar. utf8 package imports unicode to get those definitions. regenerate dependencies. R=rsc DELTA=41 (19 added, 3 deleted, 19 changed) OCL=34123 CL=34129
2009-08-30further simplification of the case fold calculation.Rob Pike2-30/+17
hard to beat at this point, i think. R=rsc DELTA=38 (8 added, 21 deleted, 9 changed) OCL=34092 CL=34096
2009-08-30add the Upper/Lower sequence optimization.Rob Pike4-1018/+171
tables shrink 900 lines. mapping code gets a little slower R=rsc DELTA=1124 (105 added, 952 deleted, 67 changed) OCL=34079 CL=34089
2009-08-28first cut at case mapping tables and library.Rob Pike5-35/+1646
next cut will do the optimization for alternating sequences. R=rsc DELTA=1658 (1620 added, 9 deleted, 29 changed) OCL=34072 CL=34075
2009-08-28fix ", First" ", Last" ranges from UnicodeData.txtRob Pike2-16/+52
R=rsc DELTA=54 (38 added, 2 deleted, 14 changed) OCL=34032 CL=34040
2009-08-27improve generated code for godocabilityRob Pike3-290/+179
R=rsc DELTA=459 (168 added, 279 deleted, 12 changed) OCL=34005 CL=34007
2009-08-27add scripts tables to the unicode packageRob Pike3-57/+1478
R=rsc DELTA=1479 (1422 added, 1 deleted, 56 changed) OCL=33993 CL=33997
2009-08-27remove Line in bufio.ReadLine(Bytes|Slice|String)Russ Cox1-1/+1
also drop bool arg from ReadString R=r DELTA=45 (13 added, 1 deleted, 31 changed) OCL=33923 CL=33960
2009-08-27fix build. changing var to const, which it should be anyway,Rob Pike2-4/+4
implicitly works around 6g bug. R=rsc OCL=33953 CL=33953
2009-08-27unicode tables for all categoriesRob Pike6-1105/+2086
maketables now has a --test option to verify the data. R=rsc DELTA=3087 (1982 added, 1001 deleted, 104 changed) OCL=33947 CL=33950
2009-08-26change IsDecimalDigit to IsDigit because Decimal is redundantRob Pike7-28/+43
R=rsc DELTA=792 (398 added, 383 deleted, 11 changed) OCL=33919 CL=33921
2009-08-26generate the unicode tables directly from web databaseRob Pike7-569/+1018
after this CL, two more to come: 1) add an exhaustive test, probably as a variant of maketables 2) add ToUpper, ToLower, ToTitle and associated tests R=rsc DELTA=1578 (1007 added, 559 deleted, 12 changed) OCL=33902 CL=33907
2009-08-12convert non-low-level non-google pkg codeRuss Cox4-71/+7
to whole-package compilation. R=r OCL=33070 CL=33101
2009-06-24style police: parens in if, for, switch, rangeRuss Cox2-8/+8
R=r DELTA=32 (0 added, 3 deleted, 29 changed) OCL=30718 CL=30725
2009-06-09mv src/lib to src/pkgRob Pike5-0/+1202
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102