- 09 Jan, 2013 8 commits
-
-
Dave Cheney authored
Our source no longer needs these flags set to build cleanly using clang. Tested with * Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0) on i386 * clang version 3.2 (tags/RELEASE_32/final) on amd64 cross compiling all platforms R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7058053
-
Robert Griesemer authored
Fixes #4624. R=rsc CC=golang-dev https://golang.org/cl/7058052
-
Robert Griesemer authored
Fixes #4616. R=rsc CC=golang-dev https://golang.org/cl/7069049
-
Robert Griesemer authored
Fixes #4612. R=rsc, iant, ken, r CC=golang-dev https://golang.org/cl/7076043
-
Andrey Mirtchovski authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7063056
-
Brad Fitzpatrick authored
The old code made it impossible to implement a reverse proxy with anything less than 4k write granularity to the backends. R=golang-dev, adg CC=golang-dev https://golang.org/cl/7060059
-
Matthew Dempsky authored
Fixes #4625. R=iant, adg CC=golang-dev https://golang.org/cl/7064052
-
Sameer Ajmani authored
suggested by pkleiweg. Fixes #3471. R=adonovan, pkleiweg, rsc CC=golang-dev https://golang.org/cl/7060056
-
- 08 Jan, 2013 7 commits
-
-
Robert Griesemer authored
R=adonovan CC=golang-dev https://golang.org/cl/7060054
-
Brad Fitzpatrick authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7079043
-
Oling Cat authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7061051
-
Alex Brainman authored
Fixes #4367. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7062052
-
Jason Travis authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7061050
-
David Symonds authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7064054
-
Robert Griesemer authored
The spec talks explicitly about rune literals but the respective production is still called char_lit for historic reasons. Updated the two occurences. Fixes #4602. R=rsc, iant, r, ken CC=golang-dev https://golang.org/cl/7070048
-
- 07 Jan, 2013 16 commits
-
-
Rémy Oudompheng authored
A constant node of type uintptr with a nil literal could happen in two cases: []int(nil)[1:] and uintptr(unsafe.Pointer(nil)). Fixes #4614. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7059043
-
Dave Cheney authored
There exists a test case for this condition, but it only runs on unix systems, which neatly dovetails into the code always using ':' as the list separator. R=adg, iant CC=golang-dev https://golang.org/cl/7057052
-
Andrew Gerrand authored
Also adds a couple of simple tests for doc.Examples. Fixes #4561. R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/7067048
-
Nigel Tao authored
ratio isn't 1x1. Fixes #4259. The test data was generated by cjpeg -quality 50 -sample 2x2 video-005.gray.pgm > video-005.gray.q50.2x2.jpeg cjpeg -quality 50 -sample 2x2 -progressive video-005.gray.pgm > video-005.gray.q50.2x2.progressive.jpeg similarly to video-005.gray.q50.* from http://code.google.com/p/go/source/detail?r=51f26e36ba98 the key difference being the "-sample 2x2". R=rsc CC=golang-dev https://golang.org/cl/7069045
-
David Symonds authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7057051
-
Russ Cox authored
There's no b in race detector. The new flag matches the one in the go command (go test -race math). R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7072043
-
Andrew Gerrand authored
Fixes #4101. R=dsymonds, rsc CC=golang-dev https://golang.org/cl/7065048
-
Caleb Spare authored
- Missing parenthesis - Fix bad phrasing R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7063048
-
Matthew Dempsky authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7067047
-
Matthew Dempsky authored
R=rsc, adg CC=golang-dev https://golang.org/cl/7057049
-
Andrew Gerrand authored
Fixes #4487. R=rsc CC=golang-dev https://golang.org/cl/7057048
-
Andrew Wilkins authored
R=golang-dev, bradfitz, gri CC=golang-dev https://golang.org/cl/7065046
-
Alex Brainman authored
Fixes #4601. R=golang-dev, rsc, bradfitz, kardianos CC=golang-dev https://golang.org/cl/7033046
-
Matthew Dempsky authored
Replacing division-by-power-of-2 with right-shift is valid for zero too. R=gri CC=golang-dev https://golang.org/cl/7027049
-
Dave Cheney authored
This proposal updates the dashboard builder to avoid relying on the (soon to be removed) support for using go get to download to $GOROOT. The result is WORKSPACE=$(the value of the -buildRoot flag / $BUILDER_NAME + hg revision) GOROOT=$WORKSPACE/go GOPATH=$WORKSPACE Required for CL 6941058. R=minux.ma, adg CC=golang-dev https://golang.org/cl/7034049
-
Robin Eklind authored
cmd/gofmt: Add error handling for ioutil.WriteFile. bufio: Consistency, rename e to err. image: Consistency, fix comment for asReader. R=golang-dev, dave, minux.ma, adg CC=golang-dev https://golang.org/cl/7029056
-
- 06 Jan, 2013 9 commits
-
-
Nigel Tao authored
R=rsc, mdempsky, dave CC=golang-dev https://golang.org/cl/7028051
-
Matthew Dempsky authored
bytes.Equal is simpler to read and should also be faster because of short-circuiting and assembly implementations. Change generated automatically using: gofmt -r 'bytes.Compare(a, b) == 0 -> bytes.Equal(a, b)' gofmt -r 'bytes.Compare(a, b) != 0 -> !bytes.Equal(a, b)' R=golang-dev, dave, adg, rsc CC=golang-dev https://golang.org/cl/7038051
-
Matthew Dempsky authored
R=golang-dev, minux.ma, rsc, adg CC=golang-dev https://golang.org/cl/7042045
-
Caleb Spare authored
Fixes #4437. R=golang-dev, adg CC=golang-dev, rsc https://golang.org/cl/7064045
-
Andrew Gerrand authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7070046
-
Rémy Oudompheng authored
Closures are incredibly expensive on linux/arm due to repetitive flush of instruction cache. go test -short on ODROID-X: Before: ok exp/gotype 17.091s ok go/types 2.225s After: ok exp/gotype 7.193s ok go/types 1.143s R=dave, minux.ma, rsc CC=golang-dev, remy https://golang.org/cl/7062045
-
Robin Eklind authored
Use godoc.org instead of gopkgdoc.appspot.com. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7036051
-
Russ Cox authored
This CL adds a flag parser that matches the semantics of Go's package flag. It also changes the linkers and compilers to use the new flag parser. Command lines that used to work, like 8c -FVw 6c -Dfoo 5g -I/foo/bar now need to be split into separate arguments: 8c -F -V -w 6c -D foo 5g -I /foo/bar The new spacing will work with both old and new tools. The new parser also allows = for arguments, as in 6c -D=foo 5g -I=/foo/bar but that syntax will not work with the old tools. In addition to matching standard Go binary flag parsing, the new flag parser generates more detailed usage messages and opens the door to long flag names. The recently added gc flag -= has been renamed -complete. R=remyoudompheng, daniel.morsing, minux.ma, iant CC=golang-dev https://golang.org/cl/7035043
-
Russ Cox authored
More cleanup in preparation for fixing issue 4069. This CL replaces the three nearly identical copies of the asmb ELF code with a single asmbelf function in elf.c. In addition to the ELF code movement, remove the elfstr array in favor of a simpler lookup, and identify sections by name throughout instead of computing fragile indices. The CL also replaces the three nearly identical copies of the genasmsym code with a single genasmsym function in lib.c. The ARM linker still compiles and generates binaries, but I haven't tested the binaries. They may not work. R=ken2 CC=golang-dev https://golang.org/cl/7062047
-