- 27 Aug, 2010 1 commit
-
-
Russ Cox authored
R=iant CC=golang-dev https://golang.org/cl/2033041
-
- 26 Aug, 2010 19 commits
-
-
Charles L. Dorian authored
R=rsc CC=golang-dev https://golang.org/cl/1939042
-
Russ Cox authored
Cuts time to upload trivial 160-file CL by 5x, from 250 seconds to 50 seconds. R=r CC=golang-dev https://golang.org/cl/1991047
-
Russ Cox authored
a b: c expands to multiple rules, which then run in parallel. R=r, iant CC=golang-dev https://golang.org/cl/2007047
-
Kyle Consalus authored
R=rsc CC=golang-dev https://golang.org/cl/1997045
-
Ian Lance Taylor authored
Two tests start a goroutine which runs exportSend, and then the tests run importReceive. exportSend creates an export channel. importReceive asks to receive values on that channel. Because exportSend runs in a separate goroutine, it's possible for the export client to receive the request for values on the channel, from importReceive, before the goroutine actually creates the export channel. That causes an error: "export: no such channel: exportedSend". This patch avoids the race by creating the export channel before starting the goroutine. There does not seem to be a similar race condition in the tests which send data in the other direction. R=r CC=golang-dev https://golang.org/cl/2026045
-
Russ Cox authored
End the charade (farce?) that we are using upload.py unaltered. Cut all the unused stuff. Indent using tabs to match the rest of the file. Next: rewrite MercurialVCS to use mercurial package, to avoid overhead of forking off a new hg command multiple times for every file. And parallelize upload. R=gri CC=golang-dev https://golang.org/cl/2009046
-
Robert Griesemer authored
- refine/define Scope, Object, and Type structures (note: scope.go has the addition of types, the rest is only re-organized for better readability) - implemented top-level of type checker: resolve global type declarations (deal with double decls, cycles, etc.) - temporary hooks for checking of const/var declarations, function/method bodies - test harness for fine-grained testing (exact error locations) with initial set of tests This is a subset of the code for easier review. R=rsc CC=golang-dev https://golang.org/cl/1967049
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/1950045
-
Russ Cox authored
After 30 seconds, start printing status updates, so that we can see whether hg is making progress. $ hg upload 1983051 Thu Aug 26 15:06:15 2010 running gofmt Thu Aug 26 15:06:30 2010 inspecting src/pkg/big/int_test.go Thu Aug 26 15:06:45 2010 inspecting src/pkg/cmath/conj.go Thu Aug 26 15:07:00 2010 inspecting src/pkg/expvar/expvar.go Thu Aug 26 15:07:15 2010 inspecting src/pkg/os/env_unix.go Thu Aug 26 15:07:30 2010 inspecting src/pkg/os/sys_bsd.go Thu Aug 26 15:07:45 2010 inspecting src/pkg/rand/rand_test.go Thu Aug 26 15:08:00 2010 inspecting src/pkg/runtime/sig.go Thu Aug 26 15:08:15 2010 inspecting src/pkg/time/time_test.go Thu Aug 26 15:08:30 2010 inspecting src/pkg/websocket/websocket.go Thu Aug 26 15:08:45 2010 uploading src/pkg/utf8/utf8.go Thu Aug 26 15:09:00 2010 uploading src/pkg/unicode/letter_test.go Thu Aug 26 15:09:15 2010 uploading src/pkg/xml/embed_test.go Thu Aug 26 15:09:30 2010 uploading src/pkg/time/tick.go Thu Aug 26 15:09:45 2010 uploading src/pkg/big/rat_test.go Thu Aug 26 15:10:00 2010 uploading src/pkg/time/sleep_test.go Thu Aug 26 15:10:15 2010 uploading src/pkg/patch/patch_test.go Thu Aug 26 15:10:30 2010 uploading src/pkg/rand/rand.go https://golang.org/cl/1983051 $ R=gri CC=golang-dev https://golang.org/cl/2020045
-
Scott Lawrence authored
Fixes #655. R=rsc, aclements CC=golang-dev https://golang.org/cl/1981041
-
Corey Thomasson authored
R=rsc CC=golang-dev https://golang.org/cl/1976049
-
Kyle Consalus authored
Based on the observation that a great number of the types that are copied or compared in interfaces, maps, and channels are word-sized, this uses specialized copy and equality functions for them that use a word instead of 4 or 8 bytes. Seems to yield 0-6% improvements in performance in the benchmarks I've run. For example, with the regexp benchmarks: Before: regexp.BenchmarkLiteral 500000 3.26 µs/op regexp.BenchmarkNotLiteral 100000 13.67 µs/op regexp.BenchmarkMatchClass 100000 18.72 µs/op regexp.BenchmarkMatchClass_InRange 100000 20.04 µs/op regexp.BenchmarkReplaceAll 100000 27.85 µs/op After: regexp.BenchmarkLiteral 500000 3.11 µs/op regexp.BenchmarkNotLiteral 200000 13.29 µs/op regexp.BenchmarkMatchClass 100000 17.65 µs/op regexp.BenchmarkMatchClass_InRange 100000 18.49 µs/op regexp.BenchmarkReplaceAll 100000 26.34 µs/op R=rsc CC=golang-dev https://golang.org/cl/1967047
-
Jukka-Pekka Kekkonen authored
Fixes #978. R=rsc CC=golang-dev https://golang.org/cl/1967045
-
Evan Shaw authored
This is required for FTP and SMTP; maybe others. R=rsc CC=golang-dev https://golang.org/cl/1892052
-
Scott Lawrence authored
Fixes #974. R=rsc CC=golang-dev https://golang.org/cl/1742057
-
Russ Cox authored
R=iant CC=golang-dev https://golang.org/cl/1952047
-
Ian Lance Taylor authored
The copy of these values in the reflect package is already correct. R=rsc CC=golang-dev https://golang.org/cl/2009044
-
Christian Himpel authored
R=golang-dev, adg1, adg CC=golang-dev https://golang.org/cl/2023044
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/1933045
-
- 25 Aug, 2010 20 commits
-
-
Russ Cox authored
This way, if you later want to check things in, you can (with appropriate authorization). Using plain http leads to the cryptic error abort: HTTP Method Not Allowed. R=r CC=golang-dev https://golang.org/cl/1983050
-
Russ Cox authored
R=r CC=golang-dev, stevvooe https://golang.org/cl/1995051
-
Russ Cox authored
Commands written in Go depend on Go packages, so they cannot be built by src/cmd/make.bash. They have been built by src/make.bash after all the packages are done, but we want to be able to use cgo (written in Go) during the build of package net. To make this possible, build the commands from src/pkg/Makefile instead of src/make.bash, so that they are included in the package dependency analysis. R=r CC=golang-dev https://golang.org/cl/1972046
-
Russ Cox authored
Fix printf format string. R=r CC=golang-dev https://golang.org/cl/1959044
-
Russ Cox authored
$ hg p codereview disabled: cannot open /Users/rsc/g/go/src/pkg/goplan9.googlecode.com/hg/lib/codereview/codereview.cfg $ R=dsymonds, r CC=golang-dev https://golang.org/cl/1998046
-
Russ Cox authored
obsoleted by Make.inc. R=r CC=golang-dev https://golang.org/cl/2009041
-
Jukka-Pekka Kekkonen authored
Due to header key normalization/typo, the server never responds with the protocol header in place. This breaks all (draft76) applications that are using the protocol-header. R=ukai, rsc CC=golang-dev https://golang.org/cl/1969046
-
Russ Cox authored
R=adg, madari CC=golang-dev https://golang.org/cl/2025042
-
Martin Neubauer authored
R=rsc CC=golang-dev https://golang.org/cl/1997044
-
Andrew Gerrand authored
R=r, rsc CC=golang-dev https://golang.org/cl/1999044
-
Russ Cox authored
Despite the name, URL escaping is for a small subpiece of the URL only. This particular URL is being emitted in an <a href=""> tag and in that context it should be HTML escaped, not URL escaped. In addition to fixing a bug, this change cuts a dependency chain from go/doc to net, clearing the way for use of cgo (which imports go/doc) during the compilation of package net. R=gri CC=golang-dev https://golang.org/cl/1960050
-
Russ Cox authored
Avoids the comment appearing in godoc syscall BUGS section. R=brainman CC=golang-dev https://golang.org/cl/1966048
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/2023042
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/2009043
-
Rob Pike authored
No semantic changes. R=gri, rsc1 CC=golang-dev https://golang.org/cl/1998045
-
Russ Cox authored
(Assumed to be in $PATH. all.bash ensures that during the main build and the user must ensure it when running commands like gotest or gomake by hand. This belonged in the earlier CL but I missed it.) R=r CC=golang-dev https://golang.org/cl/1967048
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/2024043
-
Ian Lance Taylor authored
R=r, rsc CC=brainman, golang-dev https://golang.org/cl/2020043
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1981047
-
Russ Cox authored
R=adg, r CC=golang-dev https://golang.org/cl/2025041
-