Devon H. O'Dell
dfd98d090c
builder: Allow buildroot to be passed as command-line argument
...
R=adg
CC=golang-dev
https://golang.org/cl/3473041
2010-12-06 10:34:39 +11:00
Nigel Tao
dbcf79b4b9
A+C: add Ryan Hitchman.
...
R=adg, r2
CC=golang-dev
https://golang.org/cl/3430042
2010-12-06 09:20:39 +11:00
Andrew Gerrand
f89050d7d8
doc/install: describe GOHOSTOS and GOHOSTARCH
...
Fixes #1303 .
R=rsc, PeterGo
CC=golang-dev
https://golang.org/cl/3442041
2010-12-05 12:04:15 +09:00
Luuk van Dijk
9a71bb00bb
[68]l: generate debug info for builtin structured types. prettyprinting in gdb.
...
R=rsc
CC=golang-dev
https://golang.org/cl/3309041
2010-12-03 19:19:33 +01:00
Andrew Gerrand
09e4d860bc
godoc: add separators between quick reference topics
...
R=bradfitz, dangabrad
CC=golang-dev
https://golang.org/cl/3433042
2010-12-03 14:37:55 +11:00
Andrew Gerrand
b0b37a6295
tag release.2010-12-02
...
R=r, r2
CC=golang-dev
https://golang.org/cl/3437041
2010-12-03 12:40:52 +11:00
Andrew Gerrand
7f1b064f1e
release.2010-12-02
...
R=r, r2
CC=golang-dev
https://golang.org/cl/3433041
2010-12-03 11:48:18 +11:00
Andrew Gerrand
bddc699b77
doc: add gofrontend paper to talks/ and docs.html
...
R=r, iant
CC=golang-dev
https://golang.org/cl/3434041
2010-12-03 11:47:33 +11:00
Andrew Gerrand
0e3eefaf0f
doc: add Practical Go Programming to front page and docs.html
...
R=r
CC=golang-dev
https://golang.org/cl/3391042
2010-12-03 06:57:30 +09:00
Robert Griesemer
777a96a5b0
go_spec: fixed a couple omissions/type errors
...
- use math.Sqrt instead of Math.sqrt
- use float64 for Point fields to match math.Sqrt
- distinguish between Point and Point3D for clarity
- add alignment sizes for complex types
R=r, rsc, iant, ken2
CC=golang-dev
https://golang.org/cl/3420041
2010-12-02 12:32:14 -08:00
Jamie Gennis
b88b38ac12
go/printer: preserve newlines in func parameter lists
...
Fixes #1179 .
R=gri
CC=golang-dev
https://golang.org/cl/3225042
2010-12-02 10:42:10 -08:00
Robert Griesemer
4f8526223f
A+C: added Jamie Gennis
...
R=iant, r
CC=golang-dev
https://golang.org/cl/3416042
2010-12-02 10:41:56 -08:00
Stefan Nilsson
6f1835dce0
Sort: reduced stack depth to lg(n) in quickSort
...
Doing the tail recursion elimination explicitly
seems safer than leaving it to the compiler;
the code is still clean and easy to understand.
R=r, r2, gri
CC=golang-dev
https://golang.org/cl/3373041
2010-12-02 09:18:20 -08:00
Robert Griesemer
4e40a03682
A+C: adding Stefan Nilsson
...
R=rsc, iant2
CC=golang-dev
https://golang.org/cl/3417041
2010-12-02 09:18:08 -08:00
Brad Fitzpatrick
042a7a81d3
http: consume request body before next request
...
Fixes #1306 .
R=rsc
CC=golang-dev
https://golang.org/cl/3332043
2010-12-01 20:00:19 -08:00
Rob Pike
5e4882a325
template: implement multi-word variable instantation for formatters.
...
Before one could say
{field}
or
{field|formatter}
Now one can also say
{field1 field2 field3}
or
{field1 field2 field3|formatter}
and the fields are passed as successive arguments to the formatter,
analogous to fmt.Print.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/3385041
2010-12-01 17:10:40 -08:00
Rob Pike
4bafef8184
roadmap: update gdb status
...
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/3395041
2010-12-01 17:10:26 -08:00
Rob Pike
d1524217df
template: change the signature of formatters for future development.
...
Make them more like Printf, with a ... final argument. This breaks
code with existing formatters but not the templates that use them.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/3378041
2010-12-01 13:33:49 -08:00
Kyle Consalus
009aebdba8
Removed bytes.Add and bytes.AddByte; we now have 'append'.
...
Changed all uses of bytes.Add (aside from those testing bytes.Add) to append(a, b...).
Also ran "gofmt -s" and made use of copy([]byte, string) in the fasta benchmark.
R=golang-dev, r, r2
CC=golang-dev
https://golang.org/cl/3302042
2010-12-01 11:59:13 -08:00
Roger Peppe
1f90447e31
log: ensure writes are atomic.
...
This means that any Writer can be used safely
even when Output is called concurrently.
Fixes #1302 .
R=r, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/3300042
2010-12-01 10:15:42 -08:00
Benny Siegert
b06dc26a58
path: Windows support for Split
...
Make Split work on backslashes as well as on slashes under Windows
and support the "C:filename" special case. Also add corresponding
tests.
R=r, rsc, PeterGo, r2, brainman
CC=golang-dev
https://golang.org/cl/3008041
2010-11-30 17:17:45 -08:00
Luuk van Dijk
555feea117
runtime: fix windows breakage
...
R=iant
CC=golang-dev
https://golang.org/cl/3344044
2010-12-01 00:19:00 +01:00
Rob Pike
fdeda13f9e
fmt: fix documentation format glitch. no content to change.
...
Fixes #1313 .
R=gri
CC=golang-dev
https://golang.org/cl/3361041
2010-11-30 14:28:33 -08:00
Adam Langley
3cb4bdb9ce
utf8: make EncodeRune's destination the first argument.
...
R=r
CC=golang-dev
https://golang.org/cl/3364041
2010-11-30 16:59:43 -05:00
Adam Langley
287045085d
crypto/elliptic: use a Jacobian transform
...
(Speeds up the code about 25x)
R=r
CC=golang-dev
https://golang.org/cl/3359042
2010-11-30 16:58:59 -05:00
Rob Pike
6540c85c7f
fmt.Scan: accept Inf and NaN
...
Fixes #1308 .
R=rsc, r2
CC=golang-dev
https://golang.org/cl/3280045
2010-11-30 12:59:52 -08:00
Rob Pike
448c05d7c8
strconv: Atof on Infs and NaNs
...
R=rsc
CC=golang-dev
https://golang.org/cl/3359041
2010-11-30 12:53:42 -08:00
Rob Pike
b389646243
sort: avoid overflow in pivot calculation.
...
thanks to snilsson@nada.kth.se for the original CL.
R=gri
CC=golang-dev, snilsson
https://golang.org/cl/3280044
2010-11-30 10:37:57 -08:00
Eoghan Sherry
0dc24603eb
big: fix (*Rat) SetFrac64(a, b) when b < 0.
...
R=gri
CC=golang-dev
https://golang.org/cl/3352041
2010-11-30 10:23:27 -08:00
Robert Griesemer
e1149aa08d
add Eoghan Sherry as author and contributor
...
R=r, r2
CC=golang-dev
https://golang.org/cl/3311043
2010-11-30 10:23:07 -08:00
Luuk van Dijk
85cae877f5
runtime: parallel definitions in Go for all C structs.
...
R=rsc
CC=golang-dev
https://golang.org/cl/3308041
2010-11-30 18:21:26 +01:00
Peter Mundy
37b7e3db73
godoc: fix doc typo
...
Consistently use 6060 as the port number.
R=gri
CC=golang-dev
https://golang.org/cl/3287042
2010-11-29 14:31:24 -08:00
Luuk van Dijk
f08baa38f8
[68]l: correct dwarf location for globals and ranges for arrays.
...
R=rsc
CC=golang-dev
https://golang.org/cl/3306042
2010-11-29 19:25:33 +01:00
Anschel Schaffer-Cohen
93f97ca235
doc/code.html: fix reference to "gomake build"
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/3288042
2010-11-29 09:17:28 -08:00
Rob Pike
d90d0ede3f
fmt: allow "% X" as well as "% x"
...
R=rsc, cw, PeterGo
CC=golang-dev
https://golang.org/cl/3319042
2010-11-29 07:30:36 -08:00
Peter Mundy
abb0c0967c
doc: fix docs typos
...
R=adg
CC=golang-dev
https://golang.org/cl/3315041
2010-11-29 10:10:02 +09:00
Anschel Schaffer-Cohen
f5bc87cb75
exp/eval: build fix for parser.ParseFile API change.
...
R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/3283042
2010-11-29 09:25:31 +11:00
Ian Lance Taylor
5b4319f332
A+C: Add Harley Laue (individual CLA)
...
R=rsc, adg
CC=golang-dev
https://golang.org/cl/3316041
2010-11-26 16:16:47 -08:00
Mathieu Lonjaret
387d58e790
compress/flate: fix typo in comment.
...
R=golang-dev, nigeltao_gnome, nigeltao
CC=golang-dev
https://golang.org/cl/3334041
2010-11-26 13:05:22 +11:00
Alex Brainman
4e69976a60
runtime: fix SysFree to really free memory on Windows
...
Fixes #1294 .
R=golang-dev, PeterGo, iant
CC=golang-dev
https://golang.org/cl/3271041
2010-11-24 11:47:35 +11:00
Andrew Gerrand
86cdbfb5eb
tag release.2010-11-23
...
R=nigeltao
CC=golang-dev
https://golang.org/cl/3294041
2010-11-24 10:49:22 +11:00
Andrew Gerrand
fbfa971a16
release.2010-11-23
...
R=nigeltao
CC=golang-dev
https://golang.org/cl/3293041
2010-11-24 10:47:59 +11:00
Yves Junqueira
de3a397615
doc: add link to codewalks.
...
Fixes #1281 .
R=adg
CC=golang-dev
https://golang.org/cl/3150041
2010-11-23 10:43:16 +11:00
Yves Junqueira
52c23f3009
Documentation: how to write Makefiles for commands.
...
Fixes #1282 .
R=adg
CC=golang-dev
https://golang.org/cl/3152041
2010-11-23 10:42:04 +11:00
Wei Guangjing
95c341fc78
net: add ReadFrom and WriteTo windows version.
...
Fixes #1275 .
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/3136042
2010-11-22 11:01:30 -05:00
Anthony Martin
1ee4512b98
gc: better error message for bad type in channel send
...
# test program
1 package main
2
3 type C chan int
4
5 func F(c C) {
6 c <- true
7 }
# old error
test.go:6: cannot use true (type bool) as type int in function argument
# new error
test.go:6: cannot use true (type bool) as type int in channel send
R=rsc, ejsherry
CC=golang-dev
https://golang.org/cl/3231042
2010-11-22 10:59:51 -05:00
Robert Griesemer
e21aac29ba
position.go: more flexible AddFile method
...
This will make it easier to use Pos values
together with suffix arrays by slightly de-
coupling the mapping of Pos values to global
offsets.
R=rsc
CC=golang-dev
https://golang.org/cl/3231041
2010-11-20 21:30:36 -08:00
Ken Thompson
8cb8ba14a5
more on dynamic hash in compound literals.
...
thanks to vskrap, andrey mirtchovski,
and Eoghan Sherry.
R=rsc
CC=golang-dev
https://golang.org/cl/3245041
2010-11-20 15:58:28 -08:00
Robert Griesemer
b1fd0860df
godoc: use correct time stamp to indicate accuracy of search result
...
- compare against fsModified to check if index is out of date
- don't change fsModified if there are no user-mapped file systems
R=rsc, iant
CC=golang-dev
https://golang.org/cl/3213041
2010-11-19 14:05:12 -08:00
Adam Langley
b84b20b820
crypto/cipher: add CFB and OCFB mode.
...
(Files which I left out of the initial commit to keep it small.)
R=rsc
CC=golang-dev
https://golang.org/cl/3183043
2010-11-19 16:17:58 -05:00