- 27 Nov, 2011 1 commit
-
-
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 10 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
-
Andrew Balholm authored
Pass tests2.dat, test 50: <!DOCTYPE html><html><body><html id=x> | <!DOCTYPE html> | <html> | id="x" | <head> | <body> Also pass tests through test 56: <!DOCTYPE html>X<p/x/y/z> R=nigeltao CC=golang-dev https://golang.org/cl/5432045
-
- 21 Nov, 2011 8 commits
-
-
Andrew Balholm authored
Pass tests2.dat, test 47: " \n " (That is, two spaces separated by a newline) | <html> | <head> | <body> Also pass tests through test 49: <!DOCTYPE html><script> </script> <title>x</title> </head> R=nigeltao CC=golang-dev https://golang.org/cl/5422043
-
Andrew Gerrand authored
goinstall: don't hit network unless a checkout or update is required R=rsc, rogpeppe CC=golang-dev https://golang.org/cl/5343042
-
Adam Langley authored
OpenSSL 1.0.0 has switched to generating PKCS#8 format private keys by default. This change allows http.ListenAndServeTLS to work with either types of keys. See http://groups.google.com/group/golang-nuts/browse_thread/thread/84715b5f0c9e3c30/63a8a27b53e102a6 R=bradfitz CC=golang-dev https://golang.org/cl/5416059
-
Benny Siegert authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5415062
-
Brad Fitzpatrick authored
Before json.BenchmarkCodeEncoder 10 181232100 ns/op 10.71 MB/s json.BenchmarkCodeMarshal 10 184578000 ns/op 10.51 MB/s After: json.BenchmarkCodeEncoder 10 146444000 ns/op 13.25 MB/s json.BenchmarkCodeMarshal 10 151428500 ns/op 12.81 MB/s R=rsc, r CC=golang-dev https://golang.org/cl/5416046
-
Charles L. Dorian authored
For amd64, from 127 to 105 ns/op; for 386, from 208 to 169 ns/op. R=rsc, golang-dev CC=golang-dev https://golang.org/cl/5412056
-
Lucio De Re authored
exec_plan9.go: . Adjusted return argument to match other changes. #mksyscall.pl: . Replaced "err = e1" with "err = NewError(e1)". * Change abandoned, Russ made a better suggestion involving syscall_plan9.go. syscall_plan9.go: . Removed redundant "err = nil" lines. . Adjusted //sys lines for mksyscall.pl. * Replaced "err string" with "err ErrorString" in return arguments. zsyscall_plan9_386.go: . This module ought to be generated, but as it exists in the repository, I rebuilt it and checked that it matched expectations. Anybody is welcome to remove this from the repository if they feel it should go, but remember that not all Plan 9 installations have a working Perl. R=rsc CC=ality, golang-dev https://golang.org/cl/5411046
-
Russ Cox authored
Also introduce a new insertion heuristic: insert new import next to existing import with the longest matching prefix. R=golang-dev, adg, gri CC=golang-dev https://golang.org/cl/5412053
-
- 20 Nov, 2011 1 commit
-
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5415055
-