- 02 Nov, 2011 20 commits
-
-
Russ Cox authored
R=golang-dev, iant, r, r CC=golang-dev https://golang.org/cl/5307066
-
Russ Cox authored
R=golang-dev, bsiegert, iant CC=golang-dev https://golang.org/cl/5294074
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5322051
-
Rob Pike authored
R=adg, rsc CC=golang-dev https://golang.org/cl/5316068
-
Russ Cox authored
The existing code uses *os.Waitmsg as an os.Error, but *os.Waitmsg is really just a stringer. Introduce an explicit error type for the real error. Not to be submitted until just before error goes in; the gofix for error updates type assertions err.(*os.Waitmsg) to err.(*exec.ExitError) The seemingly redundant String method will become an Error method when error goes in, and will no longer be redundant. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5331044
-
Russ Cox authored
(The definition of ErrorList is in another file, so gofix has no hope of getting this right.) R=golang-dev, iant CC=golang-dev https://golang.org/cl/5330043
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5319057
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/5298073
-
Russ Cox authored
R=r, r CC=golang-dev https://golang.org/cl/5311068
-
Russ Cox authored
R=golang-dev, iant, r CC=golang-dev https://golang.org/cl/5306075
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5327051
-
David Symonds authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5331046
-
Russ Cox authored
The only function is errors.New, at least for now. R=r, gustavo, adg, r CC=golang-dev https://golang.org/cl/5321061
-
Russ Cox authored
R=ken CC=golang-dev https://golang.org/cl/5331043
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/5316070
-
Russ Cox authored
To make the error fix more useful, expand typecheck to gather more information about struct fields, typecheck range statements, typecheck indirect and index of named types, and collect information about assignment conversions. Also, change addImport to rename top-level uses of a to-be-imported identifier to avoid conflicts. This duplicated some of the code in the url fix, so that fix is now shorter. R=iant, r, r CC=golang-dev https://golang.org/cl/5305066
-
Russ Cox authored
R=golang-dev, dsymonds, r, r CC=golang-dev https://golang.org/cl/5308072
-
Andrew Gerrand authored
R=golang-dev, rsc, dsymonds CC=golang-dev https://golang.org/cl/5305085
-
Andrew Gerrand authored
R=rsc, r CC=golang-dev https://golang.org/cl/5336044
-
Andrew Balholm authored
A <a> tag generates implied end tags for any open <a> elements. But it shouldn't do that when it is inside a table cell the the open <a> is outside the table. So stop the search for an open <a> when we reach a scope marker node. Pass tests1.dat, test 78: <a href="blah">aba<table><tr><td><a href="foo">br</td></tr>x</table>aoe | <html> | <head> | <body> | <a> | href="blah" | "abax" | <table> | <tbody> | <tr> | <td> | <a> | href="foo" | "br" | "aoe" Also pass test 79: <table><a href="blah">aba<tr><td><a href="foo">br</td></tr>x</table>aoe R=nigeltao CC=golang-dev https://golang.org/cl/5320063
-
- 01 Nov, 2011 11 commits
-
-
Nigel Tao authored
R=andybalholm CC=golang-dev, mikesamuel https://golang.org/cl/5331056
-
Mike Solomon authored
This fixes the issue without an extra copy in the average case. R=golang-dev, ality, bradfitz CC=golang-dev https://golang.org/cl/5272049
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5334044
-
Russ Cox authored
R=lvd CC=golang-dev https://golang.org/cl/5333049
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5331055
-
Charles L. Dorian authored
R=r, golang-dev, adg CC=golang-dev https://golang.org/cl/5308071
-
Robert Griesemer authored
R=r, iant, rsc, r CC=golang-dev https://golang.org/cl/5293048
-
Russ Cox authored
Fixes #1828. Fixes #2179. R=golang-dev, r CC=golang-dev https://golang.org/cl/5305084
-
Russ Cox authored
This CL grew the archive file name length from 16 to 64: changeset: 909:58574851d792 user: Russ Cox <rsc@golang.org> date: Mon Oct 20 13:53:56 2008 -0700 Back then, every x.go file in a package became an x.6 file in the archive. It was important to be able to allow the use of long Go source file names, hence the increase in size. Today, all Go source files compile into a single _go_.6 file regardless of their names, so the archive file name length no longer needs to be long. The longer name causes some problems on Plan 9, where the native archive format is the same but with 16-byte names, so revert back to 16. R=golang-dev, r CC=golang-dev https://golang.org/cl/5333050
-
Russ Cox authored
Fixes #2402. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5298081
-
Andrew Balholm authored
Correctly close table cell when </td> is read. Because of reconstructing the active formatting elements, more than one node may be created when reading a single token. If both nodes are foster parented, they will be siblings, but the first node should be the parent of the second. Pass tests1.dat, test 77: <a href="blah">aba<table><a href="foo">br<tr><td></td></tr>x</table>aoe | <html> | <head> | <body> | <a> | href="blah" | "aba" | <a> | href="foo" | "br" | <a> | href="foo" | "x" | <table> | <tbody> | <tr> | <td> | <a> | href="foo" | "aoe" R=nigeltao CC=golang-dev https://golang.org/cl/5305074
-
- 31 Oct, 2011 9 commits
-
-
Scott Lawrence authored
Fixed error checking in exec.go to give a sensible error message when execution is attempted before a successful parse (rather than an outright panic). R=r CC=golang-dev https://golang.org/cl/5306065
-
Russ Cox authored
remove some redundant .String() change variable name to make it os.Error-proof R=golang-dev, iant CC=golang-dev https://golang.org/cl/5302075
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5306087
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5307078
-
Scott Lawrence authored
Fixes #841. R=rsc, r CC=golang-dev https://golang.org/cl/5322058
-
Charles L. Dorian authored
Fixes #1564. R=rsc, dchest CC=golang-dev https://golang.org/cl/5320056
-
Alexander Reece authored
Marshal nil slices as null and parse null value as a nil slice. Fixes #2278. R=rsc CC=golang-dev https://golang.org/cl/5257053
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5297072
-
Andrey Mirtchovski authored
Plan 9's await() returns '' for nil exit status but programs, most notably gotest, see this as an error return. R=rsc CC=golang-dev https://golang.org/cl/5305079
-