aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-10-26weekly.2011-10-26 (new rune type)weekly.2011-10-26Andrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/5297062
2011-10-25exp/norm: use runeRuss Cox
Nothing terribly interesting here. (!) Since the public APIs are all in terms of UTF-8, the changes are all internal only. R=mpvl, gri, r CC=golang-dev https://golang.org/cl/5309042
2011-10-25csv, gob, json, mail, mime, xml: use runeRuss Cox
Nothing terribly interesting here. R=golang-dev, r, borman CC=golang-dev https://golang.org/cl/5315043
2011-10-25bufio, io: use runeRuss Cox
ReadRune, WriteRune change signature. R=golang-dev, gri, r CC=golang-dev https://golang.org/cl/5314043
2011-10-25unicode, utf8, utf16: use runeRuss Cox
Everything changes. R=r CC=golang-dev https://golang.org/cl/5310045
2011-10-25old/regexp, old/template, template: use runeRuss Cox
Nothing terribly interesting here. R=r, gri CC=golang-dev https://golang.org/cl/5308042
2011-10-25exp/template/html: use runeRuss Cox
Nothing terribly interesting here. R=mikesamuel, nigeltao, r CC=golang-dev https://golang.org/cl/5307044
2011-10-25bytes, strings: use runeRuss Cox
Various rune-based APIs change. R=golang-dev, r CC=golang-dev https://golang.org/cl/5306044
2011-10-25big: update for fmt interface changesRuss Cox
Nothing terribly interesting here. R=gri CC=golang-dev https://golang.org/cl/5305046
2011-10-25fmt: use runeRuss Cox
Lots of internal edits. Formatter and Scanner interfaces change (clients to be checked by govet). R=r CC=golang-dev https://golang.org/cl/5305045
2011-10-25exp/winfsnotify: fix govet-found bugRuss Cox
R=golang-dev, hectorchu CC=golang-dev https://golang.org/cl/5304044
2011-10-25regexp: use runeRuss Cox
Public API of syntax tree changes. R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/5302046
2011-10-25govet: update signatures for runeRuss Cox
R=r CC=golang-dev https://golang.org/cl/5301053
2011-10-25godoc, exp/ebnf, exp/types, go/scanner, scanner: use runeRuss Cox
API question: is a scanner token an int or a rune? Since the rune is the common case and the token values are the special (negative) case, I chose rune. But it could easily go the other way. R=gri CC=golang-dev https://golang.org/cl/5301049
2011-10-25cgo, goyacc, go/build, html, http, path, path/filepath, testing/quick, test: ↵Russ Cox
use rune Nothing terribly interesting here. R=golang-dev, bradfitz, gri, r CC=golang-dev https://golang.org/cl/5300043
2011-10-25gc: introduce runeRuss Cox
R=ken, r CC=golang-dev https://golang.org/cl/5293046
2011-10-25exp/types: add rune to universeRuss Cox
R=gri CC=golang-dev https://golang.org/cl/5295045
2011-10-26undo CL 5302057 / dac58d9c9e4aAndrew Gerrand
need a clean base from weekly.2011-10-25 for rune change ««« original CL description http: remove Connection header in ReverseProxy Fixes #2342 R=golang-dev, adg CC=golang-dev https://golang.org/cl/5302057 »»» R=rsc CC=golang-dev https://golang.org/cl/5294068
2011-10-25http: remove Connection header in ReverseProxyBrad Fitzpatrick
Fixes #2342 R=golang-dev, adg CC=golang-dev https://golang.org/cl/5302057
2011-10-26tag weekly.2011-10-25Andrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/5306064
2011-10-26weekly.2011-10-25weekly.2011-10-25Andrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/5321053
2011-10-26html: improve parsing of listsAndrew Balholm
Make a <li> tag close the previous <li> element. Make a </ul> tag close <li> elements. Pass tests1.dat, test 33: <!DOCTYPE html><li>hello<li>world<ul>how<li>do</ul>you</body><!--do--> | <!DOCTYPE html> | <html> | <head> | <body> | <li> | "hello" | <li> | "world" | <ul> | "how" | <li> | "do" | "you" | <!-- do --> R=nigeltao CC=golang-dev https://golang.org/cl/5321051
2011-10-26html: improve parsing of tablesAndrew Balholm
When foster parenting, merge adjacent text nodes. Properly close table row at </tr> tag. Pass tests1.dat, test 32: <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X--> | <!-- - --> | <html> | <head> | <body> | <font> | <div> | "helloexcite!" | <b> | "me!" | <table> | <tbody> | <tr> | <th> | <i> | "please!" | <!-- X --> R=nigeltao CC=golang-dev https://golang.org/cl/5323048
2011-10-25syscall: correct name of mksyscall script in commentIan Lance Taylor
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5310055
2011-10-25runtime: include bootstrap m in mcpu accountingHector Chu
R=rsc, dvyukov CC=golang-dev https://golang.org/cl/5307052
2011-10-24http: doc typoBrad Fitzpatrick
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5303067
2011-10-24syscall: use uintptr for Mount flags.David Anderson
R=bradfitz, rsc CC=golang-dev https://golang.org/cl/5308044
2011-10-25html: remove the Tokenizer.ReturnComments option.Nigel Tao
The original intention was to simplify the parser, in making it skip all comment tokens. However, checking that the Go html package is 100% compatible with the WebKit HTML test suite requires parsing the comments. There is no longer any real benefit for the option. R=gri, andybalholm CC=golang-dev https://golang.org/cl/5321043
2011-10-24exp/ssh: introduce Session to replace Cmd for interactive commandsDave Cheney
This CL replaces the Cmd type with a Session type representing interactive channels. This lays the foundation for supporting other kinds of channels like direct-tcpip or x11. client.go: * replace chanlist map with slice. * generalize stdout and stderr into a single type. * unexport ClientChan to clientChan. doc.go: * update ServerConfig/ServerConn documentation. * update Client example for Session. message.go: * make channelExtendedData more like channelData. session.go: * added Session which replaces Cmd. R=agl, rsc, n13m3y3r, gustavo CC=golang-dev https://golang.org/cl/5302054
2011-10-25html: dump attributes when running parser tests.Andrew Balholm
The WebKit test data shows attributes as though they were child nodes: <a X>0<b>1<a Y>2 dumps as: | <html> | <head> | <body> | <a> | x="" | "0" | <b> | "1" | <b> | <a> | y="" | "2" So we need to do the same when dumping a tree to compare with it. R=nigeltao CC=golang-dev https://golang.org/cl/5322044
2011-10-24http: add package commentBrad Fitzpatrick
Fixes #2378 R=rsc CC=golang-dev https://golang.org/cl/5312052
2011-10-24net: do not set SO_REUSEADDR for windowsAlex Brainman
Fixes #2307. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5306049
2011-10-23html: implement foster parentingAndrew Balholm
Implement the foster-parenting algorithm for content that is inside a table but not in a cell. Also fix a bug in reconstructing the active formatting elements. Pass test 30 in tests1.dat: <a><table><td><a><table></table><a></tr><a></table><b>X</b>C<a>Y R=nigeltao CC=golang-dev https://golang.org/cl/5309052
2011-10-22html: parse <select> tags.Nigel Tao
The additional test case in parse_test.go is: <select><b><option><select><option></b></select>X R=andybalholm CC=golang-dev https://golang.org/cl/5293051
2011-10-21big: usable zero Rat values without need for explicit initializationRobert Griesemer
- no explicit API change, but new(big.Rat) now creates a big.Rat value of 0 that is immediately usable, in sync. w/ the conventions elsewhere - various cleanups along the way R=r CC=golang-dev https://golang.org/cl/5301056
2011-10-21fmt: simplify the code some more by storing the field in the pp structure.Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/5293058
2011-10-21big: implemented Rat.InvRobert Griesemer
Also: - changed semantics of return values for [Int|Rat].SetString if an error occured (returned value is nil); will expose hidden errors where return values are not checked - added more tests - various cleanups throughout Fixes #2384. R=r CC=golang-dev https://golang.org/cl/5312044
2011-10-21gotest: make it easier to get the help stringRob Pike
Because gotest's args are mingled with the tests, it's hard to get the usage message to print. This CL adds explicit support for -help, spelled several different ways. Gotest has special flags like -file that are somewhat hidden otherwise. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5298052
2011-10-21http: Transport: with TLS InsecureSkipVerify, skip hostname checkBrad Fitzpatrick
Fixes #2386 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5312045
2011-10-21exp/ssh: server cleanupsDave Cheney
server.go/channel.go: * rename Server to ServerConfig to match Client. * rename ServerConnection to ServeConn to match Client. * add Listen/Listener. * ServerConn.Handshake(), general cleanups. client.go: * fix bug where fmt.Error was not assigned to err R=rsc, agl CC=golang-dev https://golang.org/cl/5265049
2011-10-20exp/ssh: add experimental ssh clientDave Cheney
Requires CL 5285044 client.go: * add Dial, ClientConn, ClientChan, ClientConfig and Cmd. doc.go: * add Client documentation. server.go: * adjust for readVersion change. transport.go: * return an os.Error not a bool from readVersion. R=rsc, agl, n13m3y3r CC=golang-dev https://golang.org/cl/5162047
2011-10-20go/ast: use single-element map in testRobert Griesemer
Avoids test failure due to undefined map iteration order. R=rsc, iant, iant CC=golang-dev https://golang.org/cl/5297048
2011-10-20go/ast, go/token: actually run tests; fix go/ast testIan Lance Taylor
R=gri CC=golang-dev https://golang.org/cl/5292048
2011-10-20exp/winfsnotify: fix testHector Chu
R=alex.brainman, mattn.jp CC=golang-dev https://golang.org/cl/5311047
2011-10-20html: parse and render comment nodes.Nigel Tao
The first additional test case in parse_test.go is: <!--><div>--<!--> The second one is unrelated to the comment change, but also passes: <p><hr></p> R=andybalholm CC=golang-dev https://golang.org/cl/5299047
2011-10-19misc/vim: add highlighting for deleteDave Cheney
R=golang-dev, n13m3y3r CC=golang-dev https://golang.org/cl/5303050
2011-10-19fmt: don't panic formatting nil interfacesGustavo Niemeyer
R=golang-dev, r CC=golang-dev https://golang.org/cl/5296044
2011-10-19govet: check canonical dynamic method signaturesRuss Cox
Adds check that, for example, a Scan method taking a first argument of type fmt.ScanState has the correct signature to satisfy fmt.Scanner. Similarly, a ReadByte should return byte, os.Error. These are important to check because various pieces of code (fmt, gob, json, flate) do dynamic checks for these methods, so code with incorrect signatures would not be flagged at compile time. These become even more important to check when rune is introduced. R=r CC=golang-dev https://golang.org/cl/5305044
2011-10-19unicode: sort tables.goRuss Cox
Makes tables.go output consistent across maketable runs. (It was already inconsistent across architectures; the new map iteration order just make it inconsistent across runs.) R=r CC=golang-dev https://golang.org/cl/5303046
2011-10-19codereview: show LGTMs in hg pRuss Cox
Shows first line of any response that the codereview server has identified as an LGTM. Example output below. 5305046: big: update for fmt interface changes Nothing terribly interesting here. Reviewer: gri@golang.org gri: LGTM CC: golang-dev@googlegroups.com Files: src/pkg/big/int.go src/pkg/big/nat.go src/pkg/big/nat_test.go src/pkg/big/rat.go 5307044: exp/template/html: use rune Nothing terribly interesting here. Reviewer: mikesamuel@gmail.com, nigeltao@golang.org mikesamuel: I don't see a type def for rune. Assuming that's a new intrinsic, LGTM. CC: golang-dev@googlegroups.com Files: src/pkg/exp/template/html/css.go src/pkg/exp/template/html/css_test.go src/pkg/exp/template/html/html.go src/pkg/exp/template/html/js.go R=golang-dev, r CC=golang-dev https://golang.org/cl/5297045