- 19 Mar, 2013 14 commits
-
-
Robert Griesemer authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7909043
-
Russ Cox authored
Still disabled. Need to fix TLS. R=golang-dev, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/7783044
-
Jan Ziak authored
R=golang-dev, rsc CC=dvyukov, golang-dev https://golang.org/cl/7879043
-
Jan Ziak authored
R=golang-dev, dvyukov, rsc CC=golang-dev https://golang.org/cl/7473044
-
Oling Cat authored
R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/7869043
-
Robert Griesemer authored
- A note doesn't have to be in the first comment of a comment group anymore, and several notes may appear in the same comment group (e.g., it is fairly common to have a TODO(uid) note immediately following another comment). - Define a doc.Note type which also contains note uid and position info. - Better formatting in godoc output. The position information is not yet used, but could be used to locate the note in the source text if desired. Fixes #4843. R=r, cnicolaou CC=gobot, golang-dev https://golang.org/cl/7496048
-
Oling Cat authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7856044
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7884045
-
Mikio Hara authored
Also applies camel style to test case holders. R=golang-dev, r CC=golang-dev https://golang.org/cl/7884043
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7554051
-
Dominik Honnef authored
godef[1][2] is a third party tool for printing information about expressions, especially the location of their definition. This can be used to implement a "jump to definition" function. Unlike cross-language solutions like ctags, godef does not require an index, operates on the Go AST instead of symbols and works across packages, including the standard library. This patch implements two new public functions: godef-describe (C-c C-d) and godef-jump (C-d C-j). godef-describe describes the expression at point, printing its type, and godef-jump jumps to its definition. [1]: https://code.google.com/p/rog-go/source/browse/exp/cmd/godef/ [2]: go get code.google.com/p/rog-go/exp/cmd/godef R=adonovan, cw, patrick.allen.higgins, sameer CC=golang-dev https://golang.org/cl/7781043
-
Oling Cat authored
R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/7497048
-
Rémy Oudompheng authored
On NetBSD tv_sec is already an int64 so no need for a test. On OpenBSD, semasleep expects a Unix time as argument, and 1<<30 is in 2004. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7810044
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/7853048
-
- 18 Mar, 2013 11 commits
-
-
Brad Fitzpatrick authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/7865044
-
Brad Fitzpatrick authored
Update #4805 R=golang-dev, r CC=golang-dev https://golang.org/cl/7634045
-
Rob Pike authored
Still much to do, but this is a start. R=golang-dev, adg, bradfitz, remyoudompheng CC=golang-dev https://golang.org/cl/7729046
-
Daniel Morsing authored
Usually, there is no esc info when inlining, but there will be when generating inlined wrapper functions. If we don't use this information, we get invalid addresses on the stack. Fixes #5056. R=golang-dev, rsc CC=golang-dev, remyoudompheng https://golang.org/cl/7850045
-
Brad Fitzpatrick authored
The example is the same as the FileServer one, but it's relevant for both. Also use strings.TrimPrefix while I'm here. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7598046
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7817044
-
Rémy Oudompheng authored
Fixes #5063. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/7876043
-
Shenghou Ma authored
R=golang-dev, jsing CC=golang-dev https://golang.org/cl/7597046
-
Brad Fitzpatrick authored
Now that revision 0c029965805f is in, it's easy to guarantee that we never access a driver.Conn concurrently, per the database/sql/driver contract, so we can remove this overlarge mutex. Fixes #3857 R=golang-dev, adg CC=golang-dev https://golang.org/cl/7707047
-
Brad Fitzpatrick authored
If LookPath in Command fails, sets a sticky error, and then StdinPipe, StdoutPipe, or StderrPipe were called, those pipe fds were never cleaned up. Fixes #5071 R=golang-dev, rogpeppe CC=golang-dev https://golang.org/cl/7799046
-
Joel Sing authored
The current SysAlloc implementation suffers from a signed vs unsigned comparision bug. Since the error code from mmap is negated, the unsigned comparision of v < 4096 is always false on error. Fix this by switching to the darwin/freebsd/linux mmap model and leave the mmap return value unmodified. R=golang-dev, r CC=golang-dev https://golang.org/cl/7870044
-
- 17 Mar, 2013 2 commits
-
-
Joe Poirier authored
The files could use some attention on the Windows side but better to wait until after the upcoming release. R=golang-dev, adg CC=golang-dev https://golang.org/cl/7621044
-
Mikio Hara authored
Update #4501. R=golang-dev, r CC=golang-dev https://golang.org/cl/7853047
-
- 16 Mar, 2013 2 commits
-
-
Rob Pike authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7789050
-
Rob Pike authored
Avoids printing it every time we ask a question about the package from the command line. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7789048
-
- 15 Mar, 2013 11 commits
-
-
Brad Fitzpatrick authored
Too annoying and flaky to debug for now. Later. This tangent has taken enough time. R=golang-dev, r CC=golang-dev https://golang.org/cl/7863043
-
Rémy Oudompheng authored
Fixes #5014. R=golang-dev, r, rsc, daniel.morsing CC=golang-dev https://golang.org/cl/7664043
-
Brad Fitzpatrick authored
Treat the Windows net server as uninteresting for leak purposes too. R=golang-dev, r CC=golang-dev https://golang.org/cl/7818048
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/7716049
-
Brad Fitzpatrick authored
Fixes #5005 R=golang-dev, adg, fullung CC=golang-dev https://golang.org/cl/7777043
-
Robert Griesemer authored
The rule is not concistently followed by gc. It appears that gccgo is ignoring it. go/types does not implement this rule. However, both gccgo and now go/types can compile/type-check the entire std library (and thus all the shift expressions occuring in it) w/o errors. For more details see the discussion in issue 4883. Fixes #4880. Fixes #4881. Fixes #4883. R=rsc, r, iant, ken, ken, mtj, rogpeppe CC=golang-dev https://golang.org/cl/7707043
-
Rob Pike authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7861044
-
Herbert Georg Fischer authored
Fixes #3418. R=golang-dev, r CC=adg, golang-dev https://golang.org/cl/7712045
-
Russ Cox authored
Also print all status changes when using hg -v. The start_status_thread call was lost during the refactoring in https://golang.org/cl/5395044/diff/6006/lib/codereview/codereview.py Oops. R=golang-dev, r CC=golang-dev https://golang.org/cl/7834044
-
Jan Ziak authored
R=golang-dev, rsc, bradfitz CC=golang-dev https://golang.org/cl/7744047
-
Shenghou Ma authored
Results from linux/arm on a Samsung Chromebook (from dfc): localhost(~/go/src/pkg/net) % ~/go/misc/benchcmp {old,new}.txt benchmark old ns/op new ns/op delta BenchmarkTCP4OneShot 568840 350526 -38.38% BenchmarkTCP4OneShot-2 359054 206708 -42.43% BenchmarkTCP4OneShotTimeout 637464 363550 -42.97% BenchmarkTCP4OneShotTimeout-2 374255 216695 -42.10% BenchmarkTCP4Persistent 184974 64984 -64.87% BenchmarkTCP4Persistent-2 109902 47195 -57.06% BenchmarkTCP4PersistentTimeout 210039 64789 -69.15% BenchmarkTCP4PersistentTimeout-2 124284 43374 -65.10% BenchmarkTCP6OneShot 672278 362116 -46.14% BenchmarkTCP6OneShot-2 383631 216400 -43.59% BenchmarkTCP6OneShotTimeout 680740 378306 -44.43% BenchmarkTCP6OneShotTimeout-2 397524 230152 -42.10% BenchmarkTCP6Persistent 172346 65292 -62.12% BenchmarkTCP6Persistent-2 106229 42096 -60.37% BenchmarkTCP6PersistentTimeout 161149 65138 -59.58% BenchmarkTCP6PersistentTimeout-2 152276 44548 -70.75% R=golang-dev, dave, bradfitz, dvyukov, rsc CC=golang-dev https://golang.org/cl/7820045
-