Andrew Gerrand
fdb9e68c4e
misc/dashboard/builder: remove build files after benchmarking
...
R=r
CC=golang-dev
https://golang.org/cl/2270041
2010-09-30 11:59:36 +10:00
Andrew Gerrand
5ec55c5134
doc: faq updates part one
...
R=r, r2
CC=golang-dev
https://golang.org/cl/2301041
2010-09-30 11:23:39 +10:00
Robert Griesemer
686490ce17
install.html: minor sentence fix
...
R=r, r2
CC=golang-dev
https://golang.org/cl/2312041
2010-09-29 12:34:24 -07:00
Russ Cox
e642503d6f
6l, 8l: fix -K implementation
...
R=ken2
CC=golang-dev
https://golang.org/cl/2313041
2010-09-29 15:10:14 -04:00
Rob Pike
1edfb4cc75
Effective Go: update for new http interface.
...
R=rsc, stephenm
CC=golang-dev
https://golang.org/cl/2310041
2010-09-29 11:12:52 -07:00
Andrew Gerrand
4164d60cc2
doc: consolidate FAQs into a single file, go_faq.html
...
An entirely mechanical change, with these exceptions:
- removed 'stub questions' that reference the other FAQs
- removed "Why doesn't Go run on Windows yet?" - out of date
I will follow this CL with another that updates many of the
answers to make them more current.
R=r
CC=golang-dev
https://golang.org/cl/2300041
2010-09-29 16:52:22 +10:00
Stephen Ma
fd9a5d22c6
http: revised http Handler interface
...
R=rsc
CC=golang-dev
https://golang.org/cl/1993043
2010-09-29 14:30:12 +10:00
Russ Cox
ffdb855be1
build: clear custom variables like GREP_OPTIONS
...
Fixes #946 .
R=r, r2
CC=golang-dev
https://golang.org/cl/2137048
2010-09-28 23:51:55 -04:00
Russ Cox
2f7a5b3379
arm: 10 more package tests pass
...
R=ken2
CC=golang-dev
https://golang.org/cl/2298041
2010-09-28 23:46:36 -04:00
Russ Cox
6a1ea00d59
gotest: leave _testmain.go for "make clean" to clean up
...
R=r, brainman
CC=golang-dev
https://golang.org/cl/2297041
2010-09-28 22:59:16 -04:00
Russ Cox
2278ef7e1a
libcgo: don't build for NaCl
...
R=nigeltao
CC=golang-dev
https://golang.org/cl/2290041
2010-09-28 21:53:06 -04:00
Russ Cox
5b7e50a0aa
runtime: fix freebsd build
...
TBR=r
CC=golang-dev
https://golang.org/cl/2296041
2010-09-28 21:37:12 -04:00
Ken Thompson
a2d2341e80
arm code gen error in unsign extend
...
R=rsc
CC=golang-dev
https://golang.org/cl/2295041
2010-09-28 18:12:46 -07:00
Russ Cox
81041369b2
runtime: fix build
...
On systems where the mmap succeeds
(e.g., sysctl -w vm.mmap_min_addr=0)
it changes the signal code delivered for a
nil fault from ``page not mapped'' to
``invalid permissions for page.''
TBR=r
CC=golang-dev
https://golang.org/cl/2294041
2010-09-28 20:50:00 -04:00
Russ Cox
649aab835f
runtime: add mmap of null page just in case
...
R=r, iant, robert.swiecki, rsc1
CC=golang-dev
https://golang.org/cl/1904044
2010-09-28 20:30:01 -04:00
Russ Cox
9499856488
codereview: fix upload of hg copied file
...
Fixes #1134 .
R=r, r2
CC=golang-dev
https://golang.org/cl/2264043
2010-09-28 20:29:20 -04:00
Robert Griesemer
5474e166bc
go spec: clarifications for range clause
...
R=iant, r, rsc, rog
CC=golang-dev
https://golang.org/cl/2226047
2010-09-28 14:44:19 -07:00
Russ Cox
2ccbf83b32
6l, 8l: elfsetstring is only for .shstrtab
...
Was also recording for .dynstrtab which made the
table run out of space and would have caused confusion
if the ELF code tried to refer to any of the strings.
R=r
CC=golang-dev
https://golang.org/cl/2288041
2010-09-28 15:18:02 -04:00
Russ Cox
a400b0e7d7
json: do not write to unexported fields
...
Fixes #977 .
Fixes #451 .
R=r, r2
CC=golang-dev
https://golang.org/cl/2246049
2010-09-28 14:40:23 -04:00
Russ Cox
00ffd59c1a
gc: fix reflect table method receiver
...
Fixes #451 .
Fixes #770 .
R=ken2
CC=golang-dev
https://golang.org/cl/2207045
2010-09-28 13:43:50 -04:00
Russ Cox
05cc83bf4e
various: appease the ubuntu gcc monster
...
Silence warnings about not checking
return values from read and write system calls.
R=r, r2
CC=golang-dev
https://golang.org/cl/2258045
2010-09-28 13:00:13 -04:00
Russ Cox
ec13ed1fce
gc: insert semicolon at EOF if needed
...
R=ken2, gri
CC=golang-dev
https://golang.org/cl/2208053
2010-09-28 10:35:02 -04:00
Charles L. Dorian
b233ac8f18
math: Fix off-by-one error in Ilogb and Logb.
...
Fixes #1141 .
R=rsc
CC=adg, golang-dev
https://golang.org/cl/2194047
2010-09-28 10:15:21 -04:00
Robert Griesemer
0e66a13d10
go_spec: EOF may insert a semicolon
...
R=rsc, r, iant
CC=golang-dev
https://golang.org/cl/2266043
2010-09-27 18:59:11 -07:00
Brad Fitzpatrick
fbab1f1bad
http: support HTTP/1.0 Keep-Alive
...
R=rsc, bradfitz1
CC=golang-dev
https://golang.org/cl/2261042
2010-09-27 21:55:04 -04:00
Russ Cox
5c3827cb9f
http: correct escaping of different parts of URL
...
Fixes #1076 .
R=adg
CC=golang-dev
https://golang.org/cl/2248045
2010-09-27 21:54:04 -04:00
Robert Griesemer
9ff4565e2b
gofmt: stability improvement
...
There are a variety of token pairs that if printed
without separating blank may combine into a different
token sequence. Most of these (except for INT + .)
don't happen at the moment due to the spacing
introduced between expression operands. However, this
will prevent errors should the expression spacing
change.
R=rsc
CC=golang-dev
https://golang.org/cl/2207044
2010-09-27 15:03:15 -07:00
Robert Griesemer
20430f03bc
go/scanner: treat EOF like a newline for purposes of semicolon insertion
...
R=rsc
CC=golang-dev
https://golang.org/cl/2216054
2010-09-27 12:39:55 -07:00
Rob Pike
b4e358d7e1
utf8.String: provide an Init method to avoid unnecessary allocation
...
when creating an array of Strings.
R=rsc
CC=golang-dev
https://golang.org/cl/2267046
2010-09-27 12:06:29 -07:00
Russ Cox
2d5e732c54
gc: eliminate duplicates in method table
...
Fixes #906 .
R=ken2
CC=golang-dev
https://golang.org/cl/2279042
2010-09-27 14:09:10 -04:00
Russ Cox
7e92e1cbfa
gc: fix non-canonical import error message
...
Fixes #1142 .
R=ken2
CC=golang-dev
https://golang.org/cl/2218046
2010-09-27 12:59:26 -04:00
Russ Cox
929fdd860b
runtime: correct stats in SysFree
...
R=r
CC=golang-dev
https://golang.org/cl/2254047
2010-09-27 12:50:01 -04:00
Russ Cox
9b62461a8f
gc: allow select case expr = <-c
...
Fixes #1139 .
R=ken2
CC=golang-dev
https://golang.org/cl/2194046
2010-09-27 12:04:21 -04:00
Balazs Lecz
4bfcfcf89f
syscall: add inotify on Linux
...
R=rsc
CC=golang-dev
https://golang.org/cl/2241045
2010-09-27 11:44:26 -04:00
Russ Cox
07b56fce66
CONTRIBUTORS: add Balazs Lecz (Google CLA)
...
R=r, r2
CC=golang-dev
https://golang.org/cl/2216053
2010-09-27 11:43:53 -04:00
Wei Guangjing
6a624fa5f5
libcgo: set g, m in thread local storage for windows 386.
...
R=rsc
CC=golang-dev, vcc
https://golang.org/cl/2216051
2010-09-27 09:44:56 -04:00
Alex Brainman
f2db47d427
syscall: fix windows value of IPV6_V6ONLY
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/2213048
2010-09-27 11:42:58 +10:00
Andrew Gerrand
b15b0a0cd9
bytes: fix typo in AddByte comment
...
Fixes #1140 .
R=golang-dev
CC=golang-dev
https://golang.org/cl/2240043
2010-09-27 11:41:43 +10:00
Alex Brainman
e4245f2502
syscall: add IPPROTO_IPV6 and IPV6_V6ONLY const to fix nacl and windows build
...
R=golang-dev
CC=golang-dev
https://golang.org/cl/2204050
2010-09-25 21:24:12 +10:00
Ian Lance Taylor
6866026c45
test: Add test which causes incorrect error from gccgo.
...
R=gri
CC=golang-dev
https://golang.org/cl/2220048
2010-09-24 17:07:42 -07:00
Rob Pike
2f80d328e8
utf8.String: Slice(i,j)
...
R=rsc
CC=golang-dev
https://golang.org/cl/2225048
2010-09-25 08:52:29 +10:00
Russ Cox
b1f44a120f
gc: improve error message for x \= 0
...
was
x.go:2: syntax error: unexpected $undefined
now
x.go:2: syntax error: unexpected \
R=ken2
CC=golang-dev
https://golang.org/cl/2267044
2010-09-24 17:09:31 -04:00
Robert Griesemer
ac771a8a47
go spec: ... changes
...
Also: Fixed a bug in the BuiltinCall production.
R=iant, r, rsc
CC=golang-dev
https://golang.org/cl/2278041
2010-09-24 14:08:28 -07:00
Rob Pike
6f32c82953
utf8: Add new type String to automate string indexing by code point.
...
R=rsc, rog
CC=golang-dev
https://golang.org/cl/2275041
2010-09-25 06:58:34 +10:00
Russ Cox
d47266558d
net: enable v4-over-v6 on ip sockets
...
Not all OS make that the default.
Can finally do this now that the syscall package
has the right definitions.
Fixes #679 .
R=r
CC=golang-dev
https://golang.org/cl/2204048
2010-09-24 16:52:06 -04:00
Russ Cox
b031b5cfde
net: fix crash in DialIP
...
Reported by jan.newmarch.
Fixes #1130 .
R=r
CC=golang-dev
https://golang.org/cl/2212043
2010-09-24 16:50:50 -04:00
Robert Griesemer
daf64bf567
gofmt: don't substitute invalid positions with valid ones in rewrites
...
Fixes rewrite bug: 'f(x) -> f(0)' where functions "picked up" ... arguments.
R=rsc
CC=golang-dev
https://golang.org/cl/2279041
2010-09-24 12:58:08 -07:00
Russ Cox
5c4917ce33
syscall: rebuild z files
...
darwin/386
darwin/amd64
freebsd/386
freebsd/amd64
linux/386
linux/amd64
nacl/386
TBR=adg
CC=golang-dev
https://golang.org/cl/2198047
2010-09-24 15:17:20 -04:00
Russ Cox
f33ef07f38
syscall: fix socketpair in syscall_bsd
...
THIS WILL BREAK THE BUILD.
The z files have socketpair code in them that was
written by hand; breaking the build with this is the first
step in getting rid of that hand-written code.
R=adg
TBR=adg
CC=golang-dev
https://golang.org/cl/2197050
2010-09-24 14:59:34 -04:00
Russ Cox
dabd9fe920
syscall: work harder to avoid doing this ever again
...
TBR=adg
CC=golang-dev
https://golang.org/cl/2218044
2010-09-24 14:52:10 -04:00