- 11 Mar, 2013 31 commits
-
-
Rob Pike authored
Fixes #5003. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7476047
-
Russ Cox authored
We added -I$GOROOT/pkg/$GOOS_$GOARCH in cmd/go (I think for use by cgo and swig, primarily) but didn't update cmd/dist. I was testing some other code and found that my changes built with cmd/go but failed during the initial bootstrap. Make them match again. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7707044
-
Robert Griesemer authored
Fixed package.txt and adjusted package.html to match structure (swapped if branches). Fixes #4861. R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/7714043
-
Robert Griesemer authored
For expressions where the result type is independent of the argument types (comparisons, conversions, rhs of shifts), set the final expression types for those subtrees early. This fixes several bugs where incorrect lhs shift operands where used (say in a comparison), but were not reported. Together with the changes listed below this CL fixes many type-checker bugs. Also: - better documented updateExprType - added larger comment to expr.go explaining the basic expression checking algorithm - use latest definition for indices and make arguments; use the same code to check both - use the same mechanism for cycle detection in constant expressions as for variables (new field Constant.visited) - more tests for complex and make builtins - many more and systematic tests for shifts; moved them into separate testfile - in the testing code, don't compare the expected error pattern against itself (the actual message was always ignored...) - fix affected error patterns in the test files - various cleanups along the way R=adonovan CC=golang-dev https://golang.org/cl/7432051
-
Russ Cox authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7544044
-
Akshat Kumar authored
lib9: fix runcmd, removeall, and tempdir functions cmd/dist: Include run_plan9.c and tempdir_plan9.c from lib9 for build, and in general consider file names containing "plan9" for building. cmd/ld: provide function args for the new functions from lib9. R=rsc, rminnich, ality, bradfitz CC=golang-dev https://golang.org/cl/7666043
-
Rémy Oudompheng authored
Method calls on interfaces with large stored values will call the pointer receiver method which may be a wrapper over a method with value receiver. This is particularly inefficient for very small bodies. Inlining the wrapped method body saves a potentially expensive function call. benchmark old ns/op new ns/op delta BenchmarkSortString1K 802295 641387 -20.06% BenchmarkSortInt1K 359914 238234 -33.81% BenchmarkSortInt64K 35764226 22803078 -36.24% Fixes #4707. R=golang-dev, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/7214044
-
Brad Fitzpatrick authored
R=golang-dev, daniel.morsing CC=golang-dev https://golang.org/cl/7722043
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7624044
-
Rodrigo Moraes de Oliveira authored
This includes a simplified resolvePath function and tests for all normal and abnormal path resolution examples described in RFC 3986, sections 5.4.1 and 5.4.2 [1]. Some of those examples failed before (see http://play.golang.org/p/F0ApSaXniv). Also, parsing a reference "//foo" now works as expected. It was treated as an absolute path with very weird results (see http://play.golang.org/p/089b-_xoNe). During path resolution, all dot segments are removed as described by the RFC. A few existing tests had to be changed because they expected the wrong output. Fixes #4700. Fixes #4706. [1] http://tools.ietf.org/html/rfc3986#section-5.4.1 R=rsc, adg, bradfitz CC=golang-dev https://golang.org/cl/7203059
-
Russ Cox authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7526045
-
Dmitriy Vyukov authored
Fixes #4987. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7713043
-
Brad Fitzpatrick authored
Fixes #5022 R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7712043
-
Brad Fitzpatrick authored
Ton of FreeBSD syscall constants. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7476046
-
Brad Fitzpatrick authored
Fixes #2735 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7470048
-
Albert Strasheim authored
Only clever enough to allow concurrent stress testing. R=mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/7703044
-
Russ Cox authored
R=golang-dev, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/7704043
-
Russ Cox authored
R=golang-dev, bradfitz, dvyukov CC=golang-dev https://golang.org/cl/7702043
-
Robert Griesemer authored
The same rules apply for make arguments. R=r, rsc, iant, ken CC=golang-dev https://golang.org/cl/7656043
-
Robert Griesemer authored
For details see the cited issue. Fixes #4793. R=rsc, r, iant, ken CC=golang-dev https://golang.org/cl/7524044
-
Jonathan Rudenberg authored
428 Precondition Required 429 Too Many Requests 431 Request Header Fields Too Large 511 Network Authentication Required R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7678043
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7700043
-
Russ Cox authored
The variable is named b not bit. R=golang-dev, agl CC=golang-dev https://golang.org/cl/7699043
-
Shenghou Ma authored
Fixes #4878. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7420052
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/7694043
-
Russ Cox authored
Let's just see what breaks. R=golang-dev, bradfitz, adg CC=golang-dev https://golang.org/cl/7693043
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/7626045
-
Russ Cox authored
R=ken2, ken CC=golang-dev https://golang.org/cl/7483045
-
Rick Arnold authored
Tell Windows users how to update Mercurial's library.zip to add some missing dependencies. Fixes #4745. R=golang-dev, patrick.allen.higgins, minux.ma, adg CC=golang-dev https://golang.org/cl/7558043
-
Jeff R. Allen authored
"go build" and "go install" were mixing stdout and stderr from the toolchain, then putting it all on stdout. With this change, it stays mixed, and is sent to stderr. Because the toolchain does not create output in a clean compile/install, sending all output to stderr makese more sense. Also fix test.bash because of "mktemp: too few X's in template `testgo'" on Linux. Fixes #4917. R=golang-dev, rsc, adg CC=golang-dev https://golang.org/cl/7393073
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7690043
-
- 10 Mar, 2013 8 commits
-
-
Russ Cox authored
Dynimpname was getting too confusing. Replace flag-like checks with tests of s->type. R=ken2 CC=golang-dev https://golang.org/cl/7594046
-
Russ Cox authored
Also move symbol names onto lines by themselves: some are very long. Show relocations. R=ken2 CC=golang-dev https://golang.org/cl/7689043
-
Russ Cox authored
This makes binaries work with OS X nm. R=ken2 CC=golang-dev https://golang.org/cl/7558044
-
Russ Cox authored
I guess it would be too much to ask for gcc on my machine to give the same errors as gcc on the builder machines. R=ken2 CC=golang-dev https://golang.org/cl/7686044
-
Russ Cox authored
This brings Mach-O generation more in line with ELF generation. Having separate sections for the symtab and pclntab mean that we can find them that way, instead of using the deprecated debug segments. (And the host linker will keep separate sections for us, but probably not the debug segments.) R=ken2 CC=golang-dev https://golang.org/cl/7688043
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/7497044
-
Dmitriy Vyukov authored
Fixes #4869. Fixes #5007. Update #5005. R=golang-dev, 0xe2.0x9a.0x9b, bradfitz CC=golang-dev https://golang.org/cl/7534044
-
Brad Fitzpatrick authored
Previously it was evaluated once, so re-using the timeout option repeatedly would always generate the same deadine. Also switch to doing just one pass over the options, making the private interface actually useful. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7608045
-
- 09 Mar, 2013 1 commit
-
-
Lucio De Re authored
myrtle$ go version go version devel +d533352b414d Sat Mar 09 05:39:15 2013 +0100 netbsd/386 myrtle$ time go test -ldflags -hostobj ../misc/cgo/test ok _/var/project/GoLang/misc/cgo/test 10.962s 68.63s real 49.60s user 19.06s system myrtle$ uname -a NetBSD myrtle.plan9.local 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) i386 R=rsc CC=golang-dev https://golang.org/cl/7641047
-