- 02 Nov, 2011 12 commits
-
-
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 13 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
-
Luuk van Dijk authored
Got rid of all the magic mystery globals. Now for %N, %T, and %S, the flags +,- and # set a sticky debug, sym and export mode, only visible in the new fmt.c. Default is error mode. Handle h and l flags consistently with the least side effects, so we can now change things without worrying about unrelated things breaking. fixes #2361 R=rsc CC=golang-dev https://golang.org/cl/5316043
-
Fazlul Shahriar authored
Makes all tests pass. R=rsc CC=golang-dev https://golang.org/cl/5320041
-
Jan Newmarch authored
If a frame has multiple windows then the windows must all be restored after gofmt has finished and the old windows must be restored. Before this fix, only the Go code edit window would be left. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5280050
-
Marcel van Lohuizen authored
regexp, which caused the last line of a test block to be ignored. R=r, rsc CC=golang-dev https://golang.org/cl/5177052
-
- 29 Oct, 2011 1 commit
-
-
Dave Cheney authored
The payload of a data message is defined as an SSH string type, which uses the first four bytes to encode its length. When channelData and channelExtendedData were added I defined Payload as []byte to be able to use it directly without a string to []byte conversion. This resulted in the length data leaking into the payload data. This CL fixes the bug, and restores agl's original fast path code. Additionally, a bug whereby s.lock was not released if a packet arrived for an invalid channel has been fixed. Finally, as they were no longer used, I have removed the channelData and channelExtedendData structs. R=agl, rsc CC=golang-dev https://golang.org/cl/5330053
-
- 28 Oct, 2011 3 commits
-
-
Andrew Balholm authored
In the adoption agency algorithm, the formatting element is sometimes removed from the list of active formatting elements and reinserted at a later index. In that case, the bookmark showing where it is to be reinserted needs to be moved, so that its position relative to its neighbors remains the same (and also so that it doesn't become out of bounds). Pass tests1.dat, test 70: <DIV> abc <B> def <I> ghi <P> jkl </B> | <html> | <head> | <body> | <div> | " abc " | <b> | " def " | <i> | " ghi " | <i> | <p> | <b> | " jkl " Also pass tests through test 76: <test attribute----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> R=nigeltao CC=golang-dev https://golang.org/cl/5322052
-
Andrew Balholm authored
Pass tests1.dat, test 55: <!DOCTYPE html><font><table></font></table></font> | <!DOCTYPE html> | <html> | <head> | <body> | <font> | <table> Also pass tests through test 69: <DIV> abc <B> def <I> ghi <P> jkl R=nigeltao CC=golang-dev https://golang.org/cl/5309074
-
Russ Cox authored
Handling os.Error is no different than handling fmt.Stringer here, so the code is redundant now, but it will be necessary once error goes in. Adding it now will make gofix fix it. R=r CC=golang-dev https://golang.org/cl/5331045
-