aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-01weekly.2011-12-01weekly.2011-12-01Andrew Gerrand
R=golang-dev, r CC=golang-dev https://golang.org/cl/5448067
2011-12-01time: fix windows buildAlex Brainman
R=rsc CC=golang-dev https://golang.org/cl/5440071
2011-11-30html/template: make execution thread-safeRob Pike
The problem is that execution can modify the template, so it needs interlocking to have the same thread-safe guarantee as text/template. Fixes #2439. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5450056
2011-12-01html: implement fragment parsing algorithmAndrew Balholm
Pass the tests in tests4.dat. R=nigeltao CC=golang-dev https://golang.org/cl/5447055
2011-12-01syscall: fix openbsd sysctl hostname/domainname workaroundJoel Sing
Fixes #2509. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5451055
2011-11-30html/template: update to new template APIRob Pike
Not quite done yet but enough is here to review. Embedding is eliminated so clients can't accidentally reach methods of text/template.Template that would break the invariants. TODO later: Add and Clone are unimplemented. TODO later: address issue 2349 R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5434077
2011-11-30undo CL 5436056 / 03560deae933Dave Cheney
Remove the accidentally exported net.Listener ««« original CL description exp/ssh: remove unused forwarding methods in Server Listener R=agl, rsc CC=golang-dev https://golang.org/cl/5436056 »»» R=agl, rsc CC=golang-dev https://golang.org/cl/5437090
2011-11-30ld: align ELF data sectionsIan Lance Taylor
fixes #2506 R=rsc, iant CC=golang-dev https://golang.org/cl/5440066
2011-11-30time: fix windows buildRuss Cox
TBR=brainman CC=golang-dev https://golang.org/cl/5447057
2011-11-30math: faster SincosCharles L. Dorian
Sincos via sincos.go is 35.4 ns/op, via sincos_amd64.s is 37.4 ns/op on 2.53 GHz Intel Core 2 Duo (Mac OS X). R=rsc, golang-dev CC=golang-dev https://golang.org/cl/5447045
2011-11-30os: fix path/filepath test on WindowsRuss Cox
This is not the right fix, but it is what used to happen before the FileInfo conversion, and it should get the build working again (at least that part). TBR=brainman CC=golang-dev https://golang.org/cl/5434090
2011-11-30encoding/asn1: fix test on OpenBSDRuss Cox
time.Parse uses time.Local if it has the right zone offset, otherwise it calls time.FixedZone. The test's use of reflect.DeepEqual meant that the test expected time.FixedZone always, failing when the local time zone really would have used -0700 for that time. The fix is to format the time to display only the pieces we intend to test. R=golang-dev, agl, iant CC=golang-dev https://golang.org/cl/5437088
2011-11-30os: fix windows buildRuss Cox
TBR=brainman CC=golang-dev https://golang.org/cl/5449048
2011-11-30math/big: fix destination leak into result valueRoger Peppe
This code would panic: z := big.NewInt(1) z.SetBit(big.NewInt(0), 2, 1) if z.Cmp(big.NewInt(1<<2)) != 0 { panic("fail") } R=rsc, gri CC=golang-dev https://golang.org/cl/5437081
2011-11-30os: new FileInfo, FileMode types + update treeRuss Cox
R=golang-dev, r, r, gri, bradfitz, iant, iant, nigeltao, n13m3y3r CC=golang-dev https://golang.org/cl/5416060
2011-11-30use new time APIRuss Cox
R=bradfitz, gri, r, dsymonds CC=golang-dev https://golang.org/cl/5390042
2011-11-30time: new Time, Duration, ZoneInfo typesRuss Cox
R=r, bradfitz, gri, dsymonds, iant CC=golang-dev https://golang.org/cl/5392041
2011-11-30html: clean up the z.rawTag calculation in the tokenizer.Nigel Tao
R=andybalholm CC=golang-dev https://golang.org/cl/5440064
2011-11-30html: parse <xmp> tagsAndrew Balholm
Pass tests5.dat, test 10: <p><xmp></xmp> | <html> | <head> | <body> | <p> | <xmp> Also pass the remaining tests in tests5.dat. R=nigeltao CC=golang-dev https://golang.org/cl/5440062
2011-11-30html: parse the contents of <iframe> elements as raw textAndrew Balholm
Pass tests5.dat, test 4: <iframe> <!---> </iframe>x | <html> | <head> | <body> | <iframe> | " <!---> " | "x" Also pass tests through test 9: <style> <!</-- </style>x R=nigeltao CC=golang-dev https://golang.org/cl/5450044
2011-11-29spec: update spacing to match gofmt, where reasonable.David Symonds
R=gri, rsc CC=golang-dev https://golang.org/cl/5327053
2011-11-29exp/ssh: Add Start(cmd string) and Signal(sig string) to Session. Rename ↵Gustav Paul
Exec to Run. Exec() has been renamed to Run() in keeping with the os/exec API. Added func (*Session) Start(cmd string) which starts a remote process but unlike Run() doesn't wait for it to finish before returning. Run() has been refactored to use Start internally. Its really just a refactoring, no new code but some extra functionality was won. Also added func (*Session) Signal(sig signal) which sends a UNIX signal to a remote process. This is espcially useful in conjunction with Start() as the two allow you to start a remote process, monitor its stdout/stderr, and send it a TERM/HUP/etc signal when you want it to close. R=dave, rsc, agl, bradfitz, n13m3y3r, gustavo CC=golang-dev https://golang.org/cl/5437058
2011-11-29crypto/tls: add openbsd root certificate locationJoel Sing
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5437079
2011-11-29gc: move typedcl2 into export.cLuuk van Dijk
R=rsc CC=golang-dev https://golang.org/cl/5447043
2011-11-29dashboard: more tests, bug fixes, and /packages handlerAndrew Gerrand
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5441053
2011-11-29html: spin doctype.go out of parse.go.Nigel Tao
R=andybalholm CC=golang-dev https://golang.org/cl/5445049
2011-11-29cgo: fix incorrect print found by govetRobert Hencke
R=golang-dev CC=golang-dev https://golang.org/cl/5445052
2011-11-29runtime: make sure windows/amd64 stack is 16-byte aligned on syscall entry ↵Alex Brainman
(fixes build) R=golang-dev, vcc.163 CC=golang-dev https://golang.org/cl/5445051
2011-11-29html: detect quirks modeAndrew Balholm
Pass tests3.dat, test 23: <p><table></table> | <html> | <head> | <body> | <p> | <table> R=nigeltao CC=golang-dev https://golang.org/cl/5446043
2011-11-29syscall: implement Syscall15Alex Brainman
Fixes #2251. R=golang-dev, rsc CC=golang-dev, jp https://golang.org/cl/5440050
2011-11-29goinstall: add -fix flag to run gofix on packages on build failureAndrew Gerrand
goinstall: better error handling and reporting R=r, r, rsc, mattn.jp CC=golang-dev https://golang.org/cl/5421051
2011-11-28gc: remove funarg special case in structfieldRuss Cox
This should make CL 5431046 a little simpler. R=ken2 CC=golang-dev https://golang.org/cl/5444048
2011-11-28math: update special-conditions comments to use ± symbolCharles L. Dorian
R=rsc, golang-dev, r CC=golang-dev https://golang.org/cl/5445046
2011-11-28exp/ssh: move openChan to NewSessionDave Cheney
openChan was only being called by NewSession, Dial has its own version. R=gustav.paul, agl, rsc CC=golang-dev https://golang.org/cl/5435071
2011-11-28crypto/tls: don't rely on map iteration order.Adam Langley
Previously we were using the map iteration order to set the order of the cipher suites in the ClientHello. R=bradfitz CC=golang-dev https://golang.org/cl/5440048
2011-11-28text/template: address a couple of issues for html/templateRob Pike
- allow Lookup to work on uninitialized templates - fix bug in add: can't error after parser is stopped - add Add method for html/template R=adg, rogpeppe, r, rsc CC=golang-dev https://golang.org/cl/5436080
2011-11-28strings: fix test outputChristopher Wedgwood
R=rsc, gri CC=golang-dev https://golang.org/cl/5445044
2011-11-28bytes: fix test outputChristopher Wedgwood
R=rsc, gri CC=golang-dev https://golang.org/cl/5441048
2011-11-28doc/tmptohtml: output fixChristopher Wedgwood
R=r, gri CC=golang-dev https://golang.org/cl/5441047
2011-11-28exp/ssh: add safeString error sanitiserDave Cheney
R=huin, agl, gustav.paul, cw CC=golang-dev https://golang.org/cl/5399044
2011-11-28gc: don't inherit orig from subnodes in constant expression nodes.Rémy Oudompheng
The wrong value made Nconv() show "1" for node "-1", and "2" from node "2+3". Fixes #2452. R=gri, lvd, rsc CC=golang-dev, remy https://golang.org/cl/5435064
2011-11-28exp/ssh: fix three shift bugs related to packet lengthsDave Cheney
Thanks for Ke Lan for the initial report and investigation. R=agl, gustav.paul, tg8866, rsc CC=golang-dev https://golang.org/cl/5443044
2011-11-28gc: fix copying of typesMaxim Pimenov
reset xmethod during copytype Fixes #2497 R=rsc, dvyukov CC=golang-dev https://golang.org/cl/5441045
2011-11-28http: fix sniffing bug causing short writesBrad Fitzpatrick
R=rsc CC=golang-dev https://golang.org/cl/5442045
2011-11-28CONTRIBUTORS: add Maxim Pimenov (Google CLA)Russ Cox
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5443047
2011-11-28sql: add Tx.Stmt to use an existing prepared stmt in a transactionBrad Fitzpatrick
R=rsc CC=golang-dev https://golang.org/cl/5433059
2011-11-28exp/ssh: fix misleading spelling mistake in commentGustav Paul
R=dave, agl, rsc, golang-dev CC=golang-dev https://golang.org/cl/5431089
2011-11-27filepath/path: fix Rel buffer sizingGustavo Niemeyer
Fixes #2493. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5433079
2011-11-27math: fix typo in Log1p commentsCharles L. Dorian
Also note the special case of -0.0. R=rsc, golang-dev, gri CC=golang-dev https://golang.org/cl/5435084
2011-11-28html: parse <nobr> elementsAndrew Balholm
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