- 28 Nov, 2011 7 commits
-
-
Maxim Pimenov authored
reset xmethod during copytype Fixes #2497 R=rsc, dvyukov CC=golang-dev https://golang.org/cl/5441045
-
Brad Fitzpatrick authored
R=rsc CC=golang-dev https://golang.org/cl/5442045
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5443047
-
Brad Fitzpatrick authored
R=rsc CC=golang-dev https://golang.org/cl/5433059
-
Gustav Paul authored
R=dave, agl, rsc, golang-dev CC=golang-dev https://golang.org/cl/5431089
-
Gustavo Niemeyer authored
Fixes #2493. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5433079
-
Charles L. Dorian authored
Also note the special case of -0.0. R=rsc, golang-dev, gri CC=golang-dev https://golang.org/cl/5435084
-
- 27 Nov, 2011 4 commits
-
-
Andrew Balholm authored
Pass tests3.dat, test 20: <!doctype html><nobr><nobr><nobr> | <!DOCTYPE html> | <html> | <head> | <body> | <nobr> | <nobr> | <nobr> Also pass tests through test 22: <!doctype html><html><body><p><table></table></body></html> R=nigeltao CC=golang-dev https://golang.org/cl/5438056
-
Michael T. Jones authored
This change adds the second aspect to the conversion code, the use of large divisiors (powers of big base) to greatly speed up the divsion of large numbers. Speedups of 30x are common in the large cases. Also includes new tests and tuning code for the key internal parameters. R=gri CC=golang-dev https://golang.org/cl/5438058
-
Gustav Paul authored
According to http://www.ietf.org/rfc/rfc4254.txt most channel messages contain the channel id of the recipient channel, not the sender id. This allows the recipient connection multiplexer to route the message to the correct channel. This changeset fixes several messages that incorrectly send the local channel id instead of the remote channel's id. While sessions were being created and closed in sequence channels in the channel pool were freed and reused on the server side of the connection at the same rate as was done on the client, so the channel local and remote channel ids always corresponded. As soon as I had concurrent sessions on the same clientConn the server started to complain of 'uknown channel id N' where N is the local channel id, which is actually paired with server channel id K. R=golang-dev, dave, rsc, agl CC=golang-dev https://golang.org/cl/5433063
-
Andrew Balholm authored
Pass tests3.dat, test 12: <!DOCTYPE html><HTML><META><HEAD></HEAD></HTML> | <!DOCTYPE html> | <html> | <head> | <meta> | <body> Also pass tests through test 19: <!DOCTYPE html><html><head></head><body><ul><li><div><p><li></ul></body></html> R=nigeltao CC=golang-dev https://golang.org/cl/5436069
-
- 26 Nov, 2011 2 commits
-
-
Rob Pike authored
Calling it Template makes it clumsy to embed the type, which html/template depends on. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5432079
-
Alex Brainman authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5432071
-
- 25 Nov, 2011 6 commits
-
-
Benny Siegert authored
IIRC, package sql used to be called db. There was one occurrence of the old name in a comment. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5431075
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5432076
-
Dmitriy Vyukov authored
Due to data structure corruption, some timers could not be removed. Fixes #2495. R=golang-dev, adg CC=golang-dev, mdbrown https://golang.org/cl/5437060
-
Andrew Gerrand authored
R=nigeltao CC=golang-dev https://golang.org/cl/5437061
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5431048
-
Rob Pike authored
Cloned template copied the root template incorrectly. Add test of self-consistency. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5436063
-
- 24 Nov, 2011 6 commits
-
-
Rob Pike authored
Fixes #2481. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5435068
-
Scott Lawrence authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5430046
-
Rob Pike authored
Also warn about uses of Set. R=rsc CC=golang-dev https://golang.org/cl/5436051
-
Rob Pike authored
The Set type is gone. Instead, templates are automatically associated by being parsed together; nested definitions implicitly create associations. Only associated templates can invoke one another. This approach dramatically reduces the breadth of the construction API. For now, html/template is deleted from src/pkg/Makefile, so this can be checked in. Nothing in the tree depends on it. It will be updated next. R=dsymonds, adg, rsc, r, gri, mikesamuel, nigeltao CC=golang-dev https://golang.org/cl/5415060
-
Andrew Balholm authored
Pass tests3.dat, test 4: <!DOCTYPE html><html><head></head><body><pre>\n</pre></body></html> | <!DOCTYPE html> | <html> | <head> | <body> | <pre> Also pass tests through test 11: <!DOCTYPE html><pre>

A</pre> R=nigeltao CC=golang-dev https://golang.org/cl/5437051
-
Robert Griesemer authored
R=iant, bradfitz CC=golang-dev https://golang.org/cl/5430059
-
- 23 Nov, 2011 6 commits
-
-
Andrew Balholm authored
Pass tests2.dat, test 59: <!DOCTYPE <!DOCTYPE HTML>><!--<!--x-->--> | <!DOCTYPE <!doctype> | <html> | <head> | <body> | ">" | <!-- <!--x --> | "-->" Pass all the tests in doctype01.dat. Also pass tests2.dat, test 60: <!doctype html><div><form></form><div></div></div> R=nigeltao CC=golang-dev https://golang.org/cl/5437045
-
Robert Griesemer authored
Removed more string conversions and streamlined bottleneck printing interface by removing unnecessary tests where possible. About 6% faster AST printing. Before: - printer.BenchmarkPrint 50 32056640 ns/op After: - printer.BenchmarkPrint 50 30138440 ns/op (-6%) R=r CC=golang-dev https://golang.org/cl/5431047
-
Rémy Oudompheng authored
Also add array values to printing test suite. Fixes #2468. R=golang-dev, r CC=golang-dev, remy https://golang.org/cl/5436053
-
Adam Langley authored
I misinterpreted http://tools.ietf.org/html/rfc4880#section-5.5.3 and implemented the sum of 16-bit values, rather than the 16-bit sum of 8-bit values. Thanks to Szabolcs Nagy for pointing it out. R=bradfitz, r, rsc CC=golang-dev https://golang.org/cl/5372091
-
Dave Cheney authored
R=rsc, agl, n13m3y3r, bradfitz CC=golang-dev https://golang.org/cl/5385041
-
Dave Cheney authored
R=agl, rsc CC=golang-dev https://golang.org/cl/5436056
-
- 22 Nov, 2011 9 commits
-
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/5436052
-
Robert Griesemer authored
Buffer intermediate output via a bytes.Buffer and thus avoid calling through the entire Writer stack for every item printed. There is more opportunity for improvements along the same lines. Before (best of 3 runs): - printer.BenchmarkPrint 50 47959760 ns/op - time gofmt -l $GOROOT/src real 0m11.517s After (best of 3 runs): - printer.BenchmarkPrint 50 32056640 ns/op (= -33%) - time gofmt -l $GOROOT/src real 0m9.070s (= -21%) R=r CC=golang-dev https://golang.org/cl/5432054
-
Andrew Balholm authored
Pass tests2.dat, test 57: <!DOCTYPE html><!--x-- | <!DOCTYPE html> | <!-- x --> | <html> | <head> | <body> Also pass test 58: <!DOCTYPE html><table><tr><td></p></table> R=nigeltao CC=golang-dev https://golang.org/cl/5436048
-
Andrew Gerrand authored
R=rsc, r, dsymonds, bradfitz CC=golang-dev https://golang.org/cl/5416056
-
Rob Pike authored
There's version skew with respect to the programs in doc/progs. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5433048
-
Russ Cox authored
Fixes #2484. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5417059
-
Russ Cox authored
The allowed conversions before and after are: type Tstring string type Tbyte []byte type Trune []rune string <-> string // ok string <-> []byte // ok string <-> []rune // ok string <-> Tstring // ok string <-> Tbyte // was illegal, now ok string <-> Trune // was illegal, now ok Tstring <-> string // ok Tstring <-> []byte // ok Tstring <-> []rune // ok Tstring <-> Tstring // ok Tstring <-> Tbyte // was illegal, now ok Tstring <-> Trune // was illegal, now ok Update spec, compiler, tests. Use in a few packages. We agreed on this a few months ago but never implemented it. Fixes #1707. R=golang-dev, gri, r CC=golang-dev https://golang.org/cl/5421057
-
Russ Cox authored
Fixes #2486. R=golang-dev, hanwen CC=golang-dev https://golang.org/cl/5417064
-
Dmitriy Vyukov authored
R=golang-dev, rsc CC=golang-dev, mpimenov https://golang.org/cl/5375042
-