- 22 Jun, 2011 8 commits
-
-
Russ Cox authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4648053
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4639064
-
Dmitriy Vyukov authored
R=golang-dev CC=dvyukov, golang-dev https://golang.org/cl/4631060
-
Gustavo Niemeyer authored
This prevents ld from generating zeroed symtab entries for sections that aren't going to be generated because dynamic linkage has been disabled (-d was used or no dynamic libs were seen). Even though they were not explicitly added by doelf, the section creation process was making them reachable again. The windows head is being disconsidered for this because apparently it's not taking into account debug['d']. This makes elflint 0.1% happier. R=golang-dev, rsc, gustavo CC=golang-dev https://golang.org/cl/4638050
-
Brad Fitzpatrick authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4634080
-
Robert Griesemer authored
This is a core API change. 1) gofix misc src 2) Manual adjustments to the following files under src/pkg: gob/decode.go rpc/client.go os/error.go io/io.go bufio/bufio.go http/request.go websocket/client.go as well as: src/cmd/gofix/testdata/*.go.in (reverted) test/fixedbugs/bug243.go 3) Implemented gofix patch (oserrorstring.go) and test case (oserrorstring_test.go) Compiles and runs all tests. R=r, rsc, gri CC=golang-dev https://golang.org/cl/4607052
-
Russ Cox authored
The test is only defined on darwin/amd64, and it fails with recent versions of Xcode, which do not support -gstabs+ debugging output. At some point godefs will have to be replaced, perhaps merged with cgo. Godefs is not needed during builds anyway (its output files are checked into the repository in src/pkg/runtime), so its failure on the newer Xcode is a distraction from an otherwise usable build. Disable the test. Fixes #1985. R=golang-dev, gri, robert.hencke, r CC=golang-dev https://golang.org/cl/4638053
-
Adam Langley authored
R=bradfitz, r CC=golang-dev https://golang.org/cl/4639049
-
- 21 Jun, 2011 7 commits
-
-
Lucio De Re authored
Once these changes are effected, it is possible to construct "8l" native on a (386?) Plan 9 system, albeit with assistance from modules such as mkfiles that are not (yet) included in any public patches. 8l/asm.c: . Corrected some format qualifiers. 8l/list.c: . Cast a print() argument to (int) to match the given format. It may be possible to change the format (%R), but I have not looked into it. 8l/obj.c: . Removed some unused code. 8l/span.c: . Removed unnecessary incrementation on "bp". . Corrected some format qualifiers. ld/data.c: . Corrected some format qualifiers. . Cast print argument to (int): used as field size. . Use braces to suppress warning about empty if() statements. ld/dwarf.c: . Trivial spelling mistake in comment. ld/ldelf.c: . Added USED() statements to silence warnings. . Dropped redundant address (&) operators. . corrected some format qualifiers. . Cast to (int) for switch selection variable. ld/macho.c: . Added USED() statements to silence warnings. ld/ldpe.c: . Added USED() statements to silence warnings. . More careful use of "sect" variable. . Corrected some format qualifiers. . Removed redundant assignments. . Minor fix dropped as it was submitted separately. ld/pe.c: . Dropped <time.h> which is now in <u.h>. . Dropped redundant address (&) operators. . Added a missing variable initialisation. ld/symtab.c: . Added USED() statements to silence warnings. . Removed redundant incrementation. . Corrected some format qualifiers. All the above have been tested against a (very) recent release and do not seem to trigger any regressions. All review suggestions have been incorporated. R=rsc CC=golang-dev https://golang.org/cl/4633043
-
Robert Hencke authored
R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/4635053
-
Russ Cox authored
Also import new weblist command from Google version. R=r, bradfitz CC=golang-dev https://golang.org/cl/4650048
-
Andrew Gerrand authored
CL 4627051 is a better way of doing the same thing. R=golang-dev, r CC=golang-dev https://golang.org/cl/4654045
-
Alex Brainman authored
Will still honor MAKEFLAGS environment variable if set. R=golang-dev CC=bradfitz, golang-dev https://golang.org/cl/4644049
-
Andrew Gerrand authored
Keeping the Julian's good refactoring work. R=rsc CC=golang-dev https://golang.org/cl/4638049
-
Ben Lynn authored
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/4595055
-
- 20 Jun, 2011 24 commits
-
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4528113
-
Rob Pike authored
This change causes Print et al. to catch panics generated by calls to String, GoString, and Format. The panic is formatted into the output stream as an error, but the program continues. As a special case, if the argument was a nil pointer, the result is just "<nil>", because that's almost certainly enough information and handles the very common case of String methods that don't guard against nil. Scan does not want this change. Input must work; output can be for debugging and it's nice to get output even when you make a mistake. R=dsymonds, r, adg, gri, rsc, gri CC=golang-dev https://golang.org/cl/4640043
-
Russ Cox authored
R=adg, r CC=golang-dev https://golang.org/cl/4633054
-
Brad Fitzpatrick authored
R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/4630052
-
Brad Fitzpatrick authored
We'll do the right thing by default, but people wanting minimal response sizes can explicitly remove the Date header. (empty fields aren't written out) R=rsc CC=golang-dev https://golang.org/cl/4634048
-
Graham Miller authored
Fixes #1851. R=rsc CC=golang-dev https://golang.org/cl/4628045
-
Brad Fitzpatrick authored
Fixes #1964 R=rsc CC=golang-dev https://golang.org/cl/4630045
-
Mikio Hara authored
R=rsc CC=golang-dev https://golang.org/cl/4626041
-
Robert Hencke authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4644043
-
Anthony Martin authored
R=golang-dev CC=golang-dev https://golang.org/cl/4652042
-
Anthony Martin authored
These are present when building with gcc 4.6. R=golang-dev, dave CC=golang-dev, lvd https://golang.org/cl/4636047
-
Russ Cox authored
R=gri, iant, bradfitz, fvbommel, r CC=golang-dev https://golang.org/cl/4652041
-
Brad Fitzpatrick authored
Fixes #1974 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4654042
-
Pascal S. de Kloe authored
R=golang-dev, bradfitz CC=brad fitzpatrick <bradfitz, golang-dev https://golang.org/cl/4634063
-
Anthony Martin authored
All but two packages depend on net: debug/proc os/signal With this change, we can produce a working build with GOOS=plan9. R=golang-dev, r CC=golang-dev https://golang.org/cl/4639053
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4645048
-
Yasuhiro Matsumoto authored
Fixed issue 1155. R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/4592059
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4628050
-
Andrew Gerrand authored
goinstall: make ".git" repo suffix optional R=golang-dev, r, r CC=golang-dev https://golang.org/cl/4643048
-
Anthony Martin authored
R=paulzhol, mirtchovski, fshahriar, alex.brainman, r CC=golang-dev https://golang.org/cl/4386041
-
Julian Phillips authored
Extend goinstall to support downloading from any hg/git/svn/bzr hosting site, not just the standard ones. The type of hosting is automatically checked by trying all the tools, so the import statement looks like: import "example.com/mything" Which will work for Mercurial (http), Subversion (http, svn), Git (http, git) and Bazaar (http, bzr) hosting. All the existing package imports will work through this new mechanism, but the existing hard-coded host support is left in place to ensure there is no change in behaviour. R=golang-dev, bradfitz, fvbommel, go.peter.90, n13m3y3r, adg, duperray.olivier CC=golang-dev https://golang.org/cl/4650043
-
Rob Pike authored
No difference in content or appearance. Forgot to do this when I updated this file a few days ago. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4626056
-
Robert Hencke authored
currently only defined for darwin R=golang-dev, r CC=golang-dev https://golang.org/cl/4528123
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4631053
-
- 19 Jun, 2011 1 commit
-
-
Anthony Martin authored
R=paulzhol, mirtchovski, r, r, rsc CC=golang-dev https://golang.org/cl/4362041
-