- 30 Mar, 2010 18 commits
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/848041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/800042
-
Risto Jaakko Saarelma authored
This is for making the fluent interface idiom usable with gofmt. R=gri CC=golang-dev https://golang.org/cl/802043
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/836043
-
Rob Pike authored
R=rsc, gri, iant CC=golang-dev https://golang.org/cl/821044
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/844041
-
Russ Cox authored
main semantic change is to enforce single argument to panic. runtime: change to 1-argument panic. use String method on argument if it has one. R=ken2, r CC=golang-dev https://golang.org/cl/812043
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/833044
-
Russ Cox authored
otherwise "make install" runs cp unconditionally R=r CC=golang-dev https://golang.org/cl/802044
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/849041
-
Russ Cox authored
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev https://golang.org/cl/850041
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/811042
-
Christopher Wedgwood authored
Also minor reformatting. R=rsc CC=golang-dev https://golang.org/cl/845041
-
Russ Cox authored
baby step toward panic+recover. Fixes #349. R=r CC=golang-dev https://golang.org/cl/825043
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/826042
-
Robert Griesemer authored
+ various minor cleanups Usage: godoc -src math Sin R=rsc CC=golang-dev https://golang.org/cl/791041
-
Rob Pike authored
the set() method and add() functions. But we rename add() to Var() for consistency. Also rename FlagValue to Value for simplicity. Also, delete the check for multiple settings for a flag. This makes it possible to define a flag that collects values, such as into a slice of strings. type flagVar []string func (f *flagVar) String() string { return fmt.Sprint(v) } func (f *flagVar) Set(value string) bool { if v == nil { v = make(flagVar, 1) } else { nv := make(flagVar, len(v)+1) copy(nv, v) v = nv } v[len(v)-1] = value return true } var v flagVar func main() { flag.Var(&v, "testV", "multiple values build []string") flag.Parse() fmt.Printf("v = %v\n", v) } R=rsc CC=golang-dev https://golang.org/cl/842041
-
Russ Cox authored
now runtime.MemStats.Sys really is the sum of all the other Sys fields. R=r CC=golang-dev https://golang.org/cl/843041
-
- 29 Mar, 2010 10 commits
-
-
Russ Cox authored
Fixes #700. R=ken2 CC=golang-dev https://golang.org/cl/839041
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/788041
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/833042
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/837041
-
Russ Cox authored
expvar: default publishings for cmdline, memstats godoc: import expvar R=r CC=golang-dev https://golang.org/cl/815041
-
Robert Griesemer authored
( http://code.google.com/p/go/issues/detail?id=700 ) R=r CC=golang-dev https://golang.org/cl/827042
-
Roger Peppe authored
R=rsc, gri CC=golang-dev https://golang.org/cl/773041
-
Andrew Gerrand authored
Fixes #698. Fixes #699. R=rsc CC=golang-dev https://golang.org/cl/824041
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/823041
-
Andrew Gerrand authored
Fixes #697 R=r CC=golang-dev https://golang.org/cl/804042
-
- 28 Mar, 2010 2 commits
-
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/763042
-
Raif S. Naffah authored
R=cemeyer, rsc CC=golang-dev https://golang.org/cl/809041
-
- 27 Mar, 2010 2 commits
-
-
Dean Prichard authored
R=rsc CC=golang-dev https://golang.org/cl/800041
-
Russ Cox authored
Fixes #186. R=ken2 CC=golang-dev https://golang.org/cl/793041
-
- 26 Mar, 2010 8 commits
-
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/790041
-
Rob Pike authored
R=gri CC=golang-dev https://golang.org/cl/787041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/786041
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/785041
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/784041
-
Russ Cox authored
This is a modified version of the open source pprof from code.google.com/p/google-perftools. That version is likely to catch up to this one, but it's still useful to ship our own copy since we only need the one script from that project, not all the C++ libraries. R=r CC=golang-dev https://golang.org/cl/783041
-
Russ Cox authored
eliminate second pass of mark+sweep by scanning finalizer table specially. R=r CC=golang-dev https://golang.org/cl/782041
-
Charles L. Dorian authored
Also amend j0.go (variable name conflict, small corrections). R=rsc CC=golang-dev https://golang.org/cl/769041
-