summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-01-28avoid overflow of symb buffer in 5a/6a/8a/5c/6c/8cDean Prichard10-8/+56
R=rsc CC=golang-dev http://codereview.appspot.com/194099 Committer: Russ Cox <rsc@golang.org>
2010-01-29gzip deflater (i.e., writer).Nigel Tao6-25/+285
Also, the unused Inflater.eof field was removed. It has been unused since revision aaa0b24538. "introduce os.EOF and io.ErrUnexpectedEOF. remove io.ErrEOF." http://code.google.com/p/go/source/diff?spec=svnaaa0b24538ed1e3e54cbbfdd030a3c35785e74c5&r=aaa0b24538ed1e3e54cbbfdd030a3c35785e74c5&format=side&path=/src/pkg/compress/gzip/gunzip.go R=rsc CC=golang-dev http://codereview.appspot.com/194122
2010-01-28gc: tweak error messages, avoid internalization settings in bisonRuss Cox11-26/+30
R=r CC=golang-dev http://codereview.appspot.com/194129
2010-01-28http: add lexing functionsPetar Maymounkov3-0/+223
In particular, add field-value tokenizer which respects quoting rules. The code is intended for use in tokenizing the Transfer-Encoding and Trailer fields. The lexing function is not connected to the main parsing code yet (in the next CL). R=rsc CC=golang-dev http://codereview.appspot.com/190085 Committer: Russ Cox <rsc@golang.org>
2010-01-28Cosmetic bug or compliance fixes in http.Response.Petar Maymounkov2-15/+17
(1) http.Response must close resp.Body after writing. (2) Case when resp.Body != nil and resp.ContentLength = 0 should not be treated as an error in Response.Write, because this is what ReadResponse often returns. (3) Changed body.th to body.hdr for readability. R=rsc CC=golang-dev http://codereview.appspot.com/194084 Committer: Russ Cox <rsc@golang.org>
2010-01-29An experimental implemenation of Ticker using two goroutines for all tickers.Rob Pike1-63/+122
Feel free to suggest other approaches. R=rsc CC=cw, golang-dev http://codereview.appspot.com/193070
2010-01-28support for ...T parameters (go/* packages)Robert Griesemer8-14/+68
R=rsc CC=golang-dev http://codereview.appspot.com/194126
2010-01-28codereview: make sure each mail has a reviewerRuss Cox1-2/+10
R=r CC=golang-dev http://codereview.appspot.com/196050
2010-01-28dashboard: move key.py out of the way,Russ Cox1-0/+2
so that if you have a key.py with the real key, there is no chance hg change will accidentally make a CL with the real key and upload it to codereview. R=agl1 CC=golang-dev http://codereview.appspot.com/196051
2010-01-27Allow underscores in XML element names (except for leading characters)Michael Hoisie2-2/+24
Fixes issue 569 R=rsc, r CC=golang-dev http://codereview.appspot.com/194121 Committer: Rob Pike <r@golang.org>
2010-01-28Regularize the comments for the websocket package and document all functions ↵Rob Pike3-57/+69
and methods. R=rsc, ukai CC=golang-dev http://codereview.appspot.com/196044
2010-01-27release.2010-01-27, take 2Russ Cox0-0/+0
R=r CC=golang-dev http://codereview.appspot.com/196042
2010-01-27prepare for take 2 on release.2010-01-27Russ Cox0-0/+0
R=r CC=golang-dev http://codereview.appspot.com/194120
2010-01-27go/parser: disable scoping code alwaysRuss Cox1-1/+4
Seems to be enabled spuriously during godoc (can't see why), producing errors like: parser.parseDir: src/pkg/http/server.go:159:16: 'Write' declared already at src/pkg/http/request.go:140:21 (and 4 more errors) R=r CC=golang-dev http://codereview.appspot.com/194119
2010-01-27release.2010-01-27Russ Cox0-0/+0
R=r CC=golang-dev http://codereview.appspot.com/195081
2010-01-27prepare for release.2010-01-27Russ Cox1-0/+43
R=r CC=golang-dev http://codereview.appspot.com/195080
2010-01-27codereview: correct handling of files created with hg cpRuss Cox1-5/+2
R=r CC=golang-dev http://codereview.appspot.com/194118
2010-01-27ucsd cns talk, focused on networkingRuss Cox2-5/+458
R=r CC=golang-dev http://codereview.appspot.com/186230
2010-01-27dashboard: builder tweaksRuss Cox5-17/+108
R=agl1 CC=golang-dev http://codereview.appspot.com/194116
2010-01-27change print print buffer sizeKen Thompson7-19/+19
to go with the full path names R=rsc CC=golang-dev http://codereview.appspot.com/195079
2010-01-27gc: implement defer print/println/panic/paniclnRuss Cox7-80/+246
Fixes issue 219. R=ken2, r CC=golang-dev http://codereview.appspot.com/194097
2010-01-27note that ...T is not yet implemented.Rob Pike1-0/+1
R=rsc CC=golang-dev http://codereview.appspot.com/194114
2010-01-27dashboard: look for key in $GOROOT before $HOMERuss Cox1-3/+6
TBR=agl1 CC=golang-dev http://codereview.appspot.com/195076
2010-01-27add definition of new parameter styleRob Pike1-17/+51
... T for trailing arguments of type T. R=rsc, gri, ken2, iant CC=golang-dev http://codereview.appspot.com/194100
2010-01-27godashboard: fiddlingRuss Cox2-31/+59
* some tweaks to dashboard html/css layout * use hmac to generate per-builder subkeys R=agl1 CC=golang-dev http://codereview.appspot.com/194092
2010-01-27More steps towards tracking of identifier scopes.Robert Griesemer13-70/+103
- provide scope to parse functions; if non-nil, parser uses the scope to declare and lookup identifiers - resolve forward references where possible R=rsc CC=golang-dev http://codereview.appspot.com/194098
2010-01-27Clarify parsing of channel types.Robert Griesemer1-1/+13
R=r, rsc CC=golang-dev http://codereview.appspot.com/194091
2010-01-26gc: improved syntax errorsRuss Cox19-13/+455
* example-based syntax errors (go.errors) * enable bison's more specific errors and translate grammar token names into tokens like ++ * test cases R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/194085
2010-01-26small embedded target for arm.Kai Backman8-0/+129
R=rsc CC=golang-dev http://codereview.appspot.com/193104
2010-01-26cgo: update for package global name spaceRuss Cox1-5/+5
Fixes issue 560. R=r CC=golang-dev http://codereview.appspot.com/195051
2010-01-26patch: handle text diffs from gitRuss Cox2-1/+15
R=r CC=golang-dev http://codereview.appspot.com/194094
2010-01-26net: fix segfault if /etc/hosts fails to open or doesn't existMichael Hoisie1-1/+3
R=rsc CC=golang-dev, r http://codereview.appspot.com/194043 Committer: Russ Cox <rsc@golang.org>
2010-01-26gc: do not treat .6 different from .a anymoreRuss Cox1-13/+8
R=ken2 CC=golang-dev http://codereview.appspot.com/195050
2010-01-26os: in test, allow Hostname to return FQDN even if /bin/hostname does notIcarus Sparry1-1/+6
Hostname reads the file /proc/sys/kernel/hostname to determine the value it returns. Some people set this to a Fully Qualified Doamin Name. At least one implementation of /bin/hostname truncates the name it gets (often from the "uname" system call) at the first dot unless it is given a "-f" flag. This change makes the unit test also truncate at the first dot and checks if the strings then match. This seems more portable than adding an extra flag to the called /bin/hostname program. R=rsc CC=golang-dev http://codereview.appspot.com/181097 Committer: Russ Cox <rsc@golang.org>
2010-01-26gotest still assumes that gopack is in your PATHIcarus Sparry1-1/+1
If your $PATH does not include $GOBIN then the build fails at the first *.a file, which is probably when running the tests for tar R=rsc CC=golang-dev http://codereview.appspot.com/193066 Committer: Russ Cox <rsc@golang.org>
2010-01-26A+C: add Icarus Sparry (individual CLA)Russ Cox2-0/+2
R=gri CC=golang-dev, icarus http://codereview.appspot.com/194090
2010-01-26dashboard: add benchmarking support.Adam Langley6-12/+212
This has actually been running for a while and gathering benchmark data. I haven't had a chance to add a UI for it yet however. R=rsc CC=golang-dev http://codereview.appspot.com/194082 Committer: Russ Cox <rsc@golang.org>
2010-01-26math: 386 FPU hypotCharles L. Dorian5-4/+68
Added 386 FPU version of Hypot; modified all_test.go to test Hypot with large arguments. Also edited sqrt.go to remove Sqrt(0) as a special case. R=rsc CC=golang-dev http://codereview.appspot.com/186180 Committer: Russ Cox <rsc@golang.org>
2010-01-26Allow func() func().Robert Griesemer3-3/+3
Update gofmt test script. R=rsc CC=golang-dev http://codereview.appspot.com/195044
2010-01-26Bug in go/parser when coverting identifier lists.Robert Griesemer2-1/+2
Fixes issue 567. R=rsc CC=golang-dev http://codereview.appspot.com/195041
2010-01-26gc: fix chan <- chan precedence.Russ Cox9-93/+183
also allow func() func(). R=ken2 CC=golang-dev http://codereview.appspot.com/194078
2010-01-26spec: allow func() func().Russ Cox1-18/+18
no longer ambiguous at top level, thanks to new semicolon rules. use gofmt layout for function types. Fixes issue 528. R=gri CC=golang-dev http://codereview.appspot.com/194077
2010-01-25channel types parsed not according to spec by 6gRobert Griesemer2-0/+46
R=r, rsc CC=golang-dev http://codereview.appspot.com/193101
2010-01-25salvaging 183105 from dead clientKai Backman3-8/+9
a number of fixes for arm elf generation in 5l. -T now works as advertised, -D now works properly. R=rsc CC=golang-dev http://codereview.appspot.com/194076
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox64-416/+416
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev http://codereview.appspot.com/194072
2010-01-25xml: add Escape, copied from template.HTMLEscape.Stephen Weinberg1-0/+35
R=rsc CC=golang-dev http://codereview.appspot.com/186282 Committer: Russ Cox <rsc@golang.org>
2010-01-25A+C: add Stephen Weinberg (individual CLA)Russ Cox2-0/+2
R=r CC=golang-dev http://codereview.appspot.com/194064
2010-01-25http: make Request.Body an io.ReadCloser, matching Response.Body.Petar Maymounkov4-16/+19
R=rsc, rsc1 CC=golang-dev http://codereview.appspot.com/194046 Committer: Russ Cox <rsc@golang.org>
2010-01-25ld: typoRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/194073
2010-01-25cc: correct handling of leading ·Russ Cox2-9/+11
R=ken2 CC=golang-dev http://codereview.appspot.com/193081 Committer: Russ Cox <rsc@golang.org>