- 25 Oct, 2012 3 commits
-
-
Marcel van Lohuizen authored
- Allow secondary values below the default value in second form. This is to support before tags for secondary values, as used by Chinese. - Eliminate collation elements that are guaranteed to be immaterial after a weight increment. R=r CC=golang-dev https://golang.org/cl/6739051
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6763043
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6743059
-
- 24 Oct, 2012 3 commits
-
-
Marcel van Lohuizen authored
different indexes for values and index blocks. Fixes many regressions. R=r CC=golang-dev https://golang.org/cl/6737057
-
Marcel van Lohuizen authored
R=r CC=golang-dev https://golang.org/cl/6752043
-
Marcel van Lohuizen authored
R=r CC=golang-dev https://golang.org/cl/6749058
-
- 23 Oct, 2012 1 commit
-
-
Russ Cox authored
Also defend our symbol prefixes (now just "go" and "type") from use as import paths. Fixes #4257. R=ken2 CC=golang-dev https://golang.org/cl/6744072
-
- 22 Oct, 2012 15 commits
-
-
Shenghou Ma authored
R=dvyukov CC=golang-dev https://golang.org/cl/6733058
-
Robert Griesemer authored
Also: - type-checking receivers - get rid of some multiple errors at the same position R=rsc, minux.ma CC=golang-dev https://golang.org/cl/6709061
-
Daniel Morsing authored
Fixes #4097. R=rsc CC=golang-dev, gri https://golang.org/cl/6749059
-
Shenghou Ma authored
R=golang-dev, rsc CC=0xe2.0x9a.0x9b, golang-dev https://golang.org/cl/6742063
-
Luuk van Dijk authored
includes step 0: synthesize outparams, from 6600044 step 1: give outparams loopdepth 0 and verify unchanged results step 2: generate esc:$mask tags, but still tie to sink if a param has mask != 0 next step: use in esccall (and ORETURN with implicit OAS2FUNC) to avoid tying to sink R=rsc CC=golang-dev https://golang.org/cl/6610054
-
Luuk van Dijk authored
cmd/gc: track parameter flow, step 0: synthesize name nodes for anonymous PPARAMOUTs without breaking anything. further work on parameter flow tracking for escape analysis depends on this. R=rsc CC=golang-dev https://golang.org/cl/6600044
-
Luuk van Dijk authored
in typecheck and walk, conversion from OAS2RECV to OAS2 and to OSELRECV2 duplicated the ->rlist->n to ->right thereby destroying the strict tree-ness of the AST (up to ONAMES) of course. Several recursions in esc.c and inl.c and probably elsewhere assume nodes of the tree aren't duplicated. rather than defensively code around this, i'd rather assert these cases away and fix their cause. (this was tripped in 6741044) R=rsc CC=golang-dev https://golang.org/cl/6750043
-
Roger Peppe authored
It's common to use the go list command in shell scripts, but currently it's awkward to print a string slice from the Package type in a way that's easily parseable by the shell. For example: go list -f '{{range .Deps}}{{.}} {{end}}' (and even that prints an unwanted new line at the end|). To make this easier, this CL adds a "join" function to the format template. go list -f '{{join .Deps "\n"}}' R=rsc, dsymonds, minux.ma, remyoudompheng, r CC=golang-dev https://golang.org/cl/6680044
-
Rémy Oudompheng authored
Fixes #4230. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/6640056
-
Shenghou Ma authored
R=rsc, dave CC=golang-dev https://golang.org/cl/6638043
-
Nigel Tao authored
R=dsymonds CC=golang-dev https://golang.org/cl/6736057
-
Patrick Smith authored
Previously, multi-byte characters were not allowed. Also certain single-byte characters, such as '-', were disallowed. Fixes #3813. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6641052
-
Jingcheng Zhang authored
R=golang-dev, minux.ma, dave, rsc CC=golang-dev https://golang.org/cl/6643046
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6749055
-
Nigel Tao authored
R=rsc, pkleiweg CC=golang-dev https://golang.org/cl/6725052
-
- 21 Oct, 2012 11 commits
-
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6734055
-
Jan Ziak authored
R=rsc CC=golang-dev https://golang.org/cl/6569057
-
Mikio Hara authored
I just realized that there is no good place for adding exposed function or method tests because server, unicast and multicast_test.go do test complicated multiple test objects, platform behaviros, protocol behaviors and API, at the same time. Perhaps splitting them into per test object might be better, so this CL provides tests focused on API. R=rsc CC=gobot, golang-dev https://golang.org/cl/6501057
-
Russ Cox authored
Was not in sync with runtime.go, but the diffs didn't really matter, so nothing broke. R=ken2 CC=golang-dev https://golang.org/cl/6733057
-
Lucio De Re authored
R=golang-dev, minux.ma, ality CC=golang-dev https://golang.org/cl/6743052
-
Evan Shaw authored
Fixes #3284. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/6643043
-
Daniel Morsing authored
Fixes #3783. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6737053
-
Daniel Morsing authored
Someone new to the language may not know the connection between ints and arrays, which was the only thing that the previous error told you anything about. Fixes #4256. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6739048
-
Shenghou Ma authored
PauseNs is a circular buffer of recent pause times, and the most recent one is at [((NumGC-1)+256)%256]. Also fix comments cross-linking the Go and C definition of various structs. R=golang-dev, rsc, bradfitz CC=golang-dev https://golang.org/cl/6657047
-
Shenghou Ma authored
R=bradfitz CC=golang-dev https://golang.org/cl/6713043
-
Adam Langley authored
R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/6733047
-
- 20 Oct, 2012 4 commits
-
-
Shenghou Ma authored
also add a cleanup phase to cmd/go/test.bash. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6741050
-
Shenghou Ma authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6742053
-
Shenghou Ma authored
benchmark old ns/op new ns/op delta BenchmarkUint32Div7 281 75 -73.06% BenchmarkUint32Div37 281 75 -73.02% BenchmarkUint32Div123 281 75 -73.02% BenchmarkUint32Div763 280 75 -72.89% BenchmarkUint32Div1247 280 75 -72.93% BenchmarkUint32Div9305 281 75 -73.02% BenchmarkUint32Div13307 281 75 -73.06% BenchmarkUint32Div52513 281 75 -72.99% BenchmarkUint32Div60978747 281 63 -77.33% BenchmarkUint32Div106956295 280 63 -77.21% BenchmarkUint32Mod7 280 77 -72.21% BenchmarkUint32Mod37 280 77 -72.18% BenchmarkUint32Mod123 280 77 -72.25% BenchmarkUint32Mod763 280 77 -72.18% BenchmarkUint32Mod1247 280 77 -72.21% BenchmarkUint32Mod9305 280 77 -72.21% BenchmarkUint32Mod13307 280 77 -72.25% BenchmarkUint32Mod52513 280 77 -72.18% BenchmarkUint32Mod60978747 280 63 -77.25% BenchmarkUint32Mod106956295 280 63 -77.21% R=dave, rsc CC=dave, golang-dev, rsc https://golang.org/cl/6717043
-
Nigel Tao authored
R=mchaten, r CC=golang-dev https://golang.org/cl/6739045
-
- 19 Oct, 2012 3 commits
-
-
Robert Griesemer authored
Both gc and gccgo always checked this for constant expressions but the spec only mentions run-time exceptions. This CL also requires that constant divisors must not be zero in non-constant integer expressions: This is consistent with the spirit of the most recent changes and it is consistent with constant expressions. We don't want to specify the effect for non-integer expressions (f/0.0 where f is a float or complex number) because there the result f/g is not further specified if a non-constant g is 0. R=r, rsc, iant, ken, andybalholm, iant CC=golang-dev https://golang.org/cl/6710045
-
Robert Griesemer authored
This is a language change: Until now, the spec required run- time panics for some of these errors. Note that gc and gccgo implemented this inconsistently, and that both compilers already reported compile-time errors in some cases. This change makes make() behave along the same vein as index expressions. This addresses the spec aspect of issue 4085. R=r, rsc, iant, ken CC=golang-dev https://golang.org/cl/6725053
-
Oling Cat authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6736048
-