- 02 Mar, 2011 4 commits
-
-
Roger Peppe authored
Fixes #1572. Initially I tried changing things so all object files get put in _obj, but it's too much - everything needs changing. Perhaps some other time. R=rsc CC=golang-dev https://golang.org/cl/4237050
-
Roger Peppe authored
Add a new Read method to ScanState so that it satisfies the io.Reader interface; rename Getrune and Ungetrune to ReadRune and UnreadRune. Make sure ReadRune does not read past width restrictions; remove now-unnecessary Width method from ScanState. Also make the documentation a little clearer as to how ReadRune and UnreadRune are used. R=r, r2 CC=golang-dev https://golang.org/cl/4240056
-
Russ Cox authored
package main func main() { go func() { *(*int)(nil) = 0 }() select{} } panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x0 pc=0x1c96] runtime.panic+0xac /Users/rsc/g/go/src/pkg/runtime/proc.c:1083 runtime.panic(0x11bf0, 0xf8400011f0) runtime.panicstring+0xa3 /Users/rsc/g/go/src/pkg/runtime/runtime.c:116 runtime.panicstring(0x29a57, 0x0) runtime.sigpanic+0x144 /Users/rsc/g/go/src/pkg/runtime/darwin/thread.c:470 runtime.sigpanic() main._func_001+0x16 /Users/rsc/g/go/src/pkg/runtime/x.go:188 main._func_001() runtime.goexit /Users/rsc/g/go/src/pkg/runtime/proc.c:150 runtime.goexit() ----- goroutine created by ----- main.main+0x3d /Users/rsc/g/go/src/pkg/runtime/x.go:4 goroutine 1 [4]: runtime.gosched+0x77 /Users/rsc/g/go/src/pkg/runtime/proc.c:598 runtime.gosched() runtime.block+0x27 /Users/rsc/g/go/src/pkg/runtime/chan.c:680 runtime.block() main.main+0x44 /Users/rsc/g/go/src/pkg/runtime/x.go:5 main.main() runtime.mainstart+0xf /Users/rsc/g/go/src/pkg/runtime/amd64/asm.s:77 runtime.mainstart() runtime.goexit /Users/rsc/g/go/src/pkg/runtime/proc.c:150 runtime.goexit() ----- goroutine created by ----- _rt0_amd64+0x8e /Users/rsc/g/go/src/pkg/runtime/amd64/asm.s:64 Fixes #1563. R=r CC=golang-dev https://golang.org/cl/4243046
-
Brad Fitzpatrick authored
Fixes #1558 R=rsc, r, bradfitzwork CC=golang-dev https://golang.org/cl/4260042
-
- 01 Mar, 2011 9 commits
-
-
David Symonds authored
R=rsc CC=golang-dev https://golang.org/cl/4239050
-
Brad Fitzpatrick authored
This is again an intentionally minimal change. The plan is to keep Client's zero value be a usable client, with optional fields being added over time (e.g. cookie manager, redirect policy, auth) R=rsc CC=golang-dev https://golang.org/cl/4239044
-
Rob Pike authored
Computer people have an agglutinating streak that I like to resist. As a time of execution: run time. As an adjective: run-time. As a noun: run-time support/code/library. Signed, Mr. Pedant. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4252048
-
Rob Pike authored
(you'd never see it, but ouch.) Spotted by Florian Weimer. R=rsc CC=golang-dev https://golang.org/cl/4259044
-
Rob Pike authored
Fixes bug 1567. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4245048
-
David Symonds authored
R=rsc, adg CC=golang-dev https://golang.org/cl/4244045
-
Andrew Gerrand authored
doc: add internationalization to roadmap R=rsc, r, r2 CC=golang-dev https://golang.org/cl/4251047
-
Rob Pike authored
conflict and explain that you could put the grammars in separate packages instead. I could be talked into rolling back the previous change and just making a doc change instead, but I'm content to let it stand. R=rsc CC=golang-dev https://golang.org/cl/4240053
-
Rob Pike authored
This should allow multiple goyacc grammars to be compiled into the same binary. There's a chance it Fixes #1562. R=rsc, r2 CC=golang-dev https://golang.org/cl/4256044
-
- 28 Feb, 2011 7 commits
-
-
Dave Cheney authored
R=adg, bsiegert, rsc CC=golang-dev https://golang.org/cl/4221047
-
Russ Cox authored
Fixes #1566. R=ken2 CC=golang-dev https://golang.org/cl/4259041
-
Russ Cox authored
Otherwise if there is an installed /usr/bin/6g the build will use that one instead of the one it builds. R=r CC=golang-dev https://golang.org/cl/4249045
-
Chris Dollin authored
Return <!DOCTYPE ...> with nested directives as one big token. Fixes #1549. R=niemeyer, rsc CC=golang-dev https://golang.org/cl/4216050
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4248047
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4248043
-
Russ Cox authored
This functionality might be used in environments where programs are limited to a single thread, to simulate a select-driven network server. It is not exposed via the standard runtime API. R=r, r2 CC=golang-dev https://golang.org/cl/4254041
-
- 26 Feb, 2011 1 commit
-
-
Nigel Tao authored
to move some variables from the stack to the heap. Sorted benchmark runs on my 2007-era Mac Mini (GOARCH=amd64, GOOS=linux): Before: lzw.BenchmarkDecoder 2000 878176 ns/op lzw.BenchmarkDecoder 2000 878415 ns/op lzw.BenchmarkDecoder 2000 880352 ns/op lzw.BenchmarkDecoder 2000 898445 ns/op lzw.BenchmarkDecoder 2000 901728 ns/op After: lzw.BenchmarkDecoder 2000 859065 ns/op lzw.BenchmarkDecoder 2000 859402 ns/op lzw.BenchmarkDecoder 2000 860035 ns/op lzw.BenchmarkDecoder 2000 860555 ns/op lzw.BenchmarkDecoder 2000 861109 ns/op The ratio of before/after median times is 1.024. The runtime.MemStats.Mallocs delta per loop drops from 109 to 104. R=r, r2, dfc CC=golang-dev https://golang.org/cl/4253043
-
- 25 Feb, 2011 17 commits
-
-
Nigel Tao authored
on each loop iteration, yielding a 20x performance improvement. R=rsc, r2 CC=golang-dev https://golang.org/cl/4240044
-
Rob Pike authored
R=agl, agl1 CC=golang-dev https://golang.org/cl/4255041
-
Russ Cox authored
again. CL 4222043 missed this case. R=brainman, r, r2 CC=golang-dev https://golang.org/cl/4235043
-
Russ Cox authored
go/doc wants to see text after BUG(uid): on the same line in order to treat it as an official bug comment. R=gri CC=golang-dev https://golang.org/cl/4250043
-
Russ Cox authored
Using the kernel-supplied compare-and-swap code on linux/arm means that runtime doesn't have to care whether this is GOARM=5 or GOARM=6 anymore. Fixes #1494. R=r, r2 CC=golang-dev https://golang.org/cl/4245043
-
Russ Cox authored
Remove references to custom assembly routines. R=r, r2 CC=golang-dev https://golang.org/cl/4241043
-
Russ Cox authored
Fixes #170. R=gri, iant, r, r2 CC=golang-dev https://golang.org/cl/4241041
-
Russ Cox authored
R=r, r2, gri CC=ehog.hedge, golang-dev https://golang.org/cl/4240043
-
Rob Pike authored
Before this fix, types such as type T map[string]T caused infinite recursion in the gob implementation. Now they just work. Fixes #1518. R=rsc CC=golang-dev https://golang.org/cl/4230045
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4240041
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4239041
-
Robert Griesemer authored
Also: renamed fixedbugs/bug322.go to fixedbugs/bug323.go because we already have a bugs/bug322.go and bug322.dir. R=rsc CC=golang-dev https://golang.org/cl/4219044
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4231045
-
Andrew Gerrand authored
R=r, rsc CC=golang-dev https://golang.org/cl/4213044
-
Adam Langley authored
R=bradfitzgo CC=golang-dev https://golang.org/cl/3989052
-
Robert Griesemer authored
When providing addition file systems to godoc via -path, the path names may be symbolic links. Follow them. Also: better logging of error and special conditions. R=r, dsymonds, r2 CC=golang-dev https://golang.org/cl/4217045
-
Alex Brainman authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4223049
-
- 24 Feb, 2011 2 commits
-
-
Nigel Tao authored
R=rsc, nigeltao_gnome CC=golang-dev https://golang.org/cl/4209043
-
Russ Cox authored
The pointer will eventually let us find *T given T. This CL just makes room for it, always storing a zero. R=r, r2 CC=golang-dev https://golang.org/cl/4221046
-