- 31 Aug, 2010 7 commits
-
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/2029042
-
Ian Lance Taylor authored
This introduces GC_ERROR to mark an error only issued by the gc compiler. GCCGO_ERROR already exists to mark errors only issued by the gccgo compiler. Obviously these should be used sparingly. bug195.go:9: error: interface contains embedded non-interface bug195.go:12: error: interface contains embedded non-interface bug195.go:15: error: interface contains embedded non-interface bug195.go:18: error: invalid recursive interface bug195.go:22: error: invalid recursive interface R=rsc CC=golang-dev https://golang.org/cl/2040043
-
Ian Lance Taylor authored
gcc conventionally does not upper case in error messages. char_lit1.go:13: error: invalid unicode code point 0xd800 char_lit1.go:14: error: invalid unicode code point 0xd999 char_lit1.go:15: error: invalid unicode code point 0xdc01 char_lit1.go:16: error: invalid unicode code point 0xdddd char_lit1.go:17: error: invalid unicode code point 0xdfff char_lit1.go:20: error: invalid unicode code point 0x110000 char_lit1.go:22: error: invalid unicode code point 0x110000 char_lit1.go:23: error: invalid unicode code point 0xffffffff R=rsc CC=golang-dev https://golang.org/cl/2040042
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/2084042
-
Scott Lawrence authored
R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/2039044
-
Scott Lawrence authored
R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/2061042
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/2050042
-
- 30 Aug, 2010 7 commits
-
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/2084041
-
Luuk van Dijk authored
R=rsc, r, ken2 CC=golang-dev https://golang.org/cl/2004046
-
Christian Himpel authored
All scripts and makefiles assume that GOBIN is correctly set in PATH. R=rsc CC=golang-dev https://golang.org/cl/2043041
-
Vincent Ambo authored
R=golang-dev, adg1, adg CC=golang-dev https://golang.org/cl/2075041
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/2048043
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/2042044
-
Evan Shaw authored
See: http://selenic.com/repo/hg/rev/32b213b9b22c http://selenic.com/repo/hg/rev/2096496b40ec R=rsc, adg CC=golang-dev https://golang.org/cl/2072041
-
- 29 Aug, 2010 3 commits
-
-
Evan Shaw authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/2073041
-
Scott Lawrence authored
(Fixes missing tags, extra tags, missing attributes, and such found by tidy -e) R=golang-dev, adg1, adg CC=golang-dev https://golang.org/cl/2039043
-
Rob Pike authored
Fixes #1056. R=golang-dev, adg1 CC=golang-dev https://golang.org/cl/2033043
-
- 27 Aug, 2010 10 commits
-
-
James Fysh authored
Not a bug per-se, the issue is that the fmt.Sprintf method inside the ByteSize.String() method ends up calling itself to generate the String representation of the ByteSize value. Infinite loops are bad. Updated as per review comments R=r CC=golang-dev https://golang.org/cl/1974046
-
Rob Pike authored
Rewrite the code to express the intention more clearly. Fixes #1042. R=rsc CC=golang-dev https://golang.org/cl/2011046
-
Rob Pike authored
R=gri CC=James Fysh, golang-dev https://golang.org/cl/2043042
-
Robert Griesemer authored
R=rsc CC=golang-dev, r https://golang.org/cl/2053041
-
Russ Cox authored
Fixes #1052. R=ken2 CC=golang-dev https://golang.org/cl/2055041
-
Scott Lawrence authored
Fixes #1044. R=gri CC=golang-dev https://golang.org/cl/1958047
-
Andrew Gerrand authored
R=rsc, r2 CC=golang-dev https://golang.org/cl/2041041
-
Andrew Gerrand authored
R=r, rsc1 CC=golang-dev https://golang.org/cl/2040041
-
Andrew Gerrand authored
R=r, rsc1 CC=golang-dev https://golang.org/cl/1953048
-
Russ Cox authored
R=iant CC=golang-dev https://golang.org/cl/2033041
-
- 26 Aug, 2010 13 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
-