- 19 Mar, 2013 15 commits
-
-
Russ Cox authored
While we're here, downgrade DWARF to version 2. We're not using any version 3 features, and OS X gdb only supports version 2. Fixes #3436. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7891044
-
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 10 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
-