summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-02-01math: change Cosh test to close, not veryclose (needed on some x86 chips)Russ Cox1-1/+1
R=r CC=Charlie Dorian, golang-dev http://codereview.appspot.com/199054
2010-02-01math: add functions; update tests and special casesCharles L. Dorian18-148/+1727
Added special cases to comments for asin.go and fabs.go. Added Trunc() to floor.go and floor_386.s. Fixed formatting error in hypot_386.s Added new functions Acosh, Asinh, Atanh, Copysign, Erf, Erfc, Expm1, and Log1p. Added 386 FPU version of Fmod. Added tests, benchmarks, and precision to expected results in all_test.go. Edited makefile so it all compiles. R=rsc CC=golang-dev http://codereview.appspot.com/195052 Committer: Russ Cox <rsc@golang.org>
2010-02-01gc: bug242Russ Cox4-47/+60
R=ken2 CC=golang-dev http://codereview.appspot.com/198053
2010-02-01update printer tests to use new syntaxRobert Griesemer9-590/+466
R=rsc CC=golang-dev http://codereview.appspot.com/198048
2010-02-01io: revised Pipe implementationRuss Cox1-61/+41
* renamed channels to say what gets sent * use channel closed status instead of racy check of boolean R=nigeltao_golang CC=golang-dev http://codereview.appspot.com/196065
2010-02-02allow any scalar type in xml.Unmarshal.Rob Pike2-2/+179
Fixes issue 574. R=rsc CC=golang-dev http://codereview.appspot.com/196056
2010-02-01gc: final ...T bug for the dayRuss Cox3-1/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/199046
2010-02-01Corrected broken assertion.Robert Griesemer2-2/+10
Fixes issue 571. R=rsc CC=golang-dev http://codereview.appspot.com/198045
2010-02-01don't report a couple of meaningless errors in command-line modeRobert Griesemer2-7/+8
R=rsc CC=golang-dev http://codereview.appspot.com/199045
2010-02-02Change type of Printf's args to ... interface{}Rob Pike13-126/+237
R=rsc CC=golang-dev http://codereview.appspot.com/197043
2010-02-01nacl: fix build, finally fixed 8l convergence bugRuss Cox5-5/+43
R=r CC=golang-dev http://codereview.appspot.com/199042
2010-02-01http: test for ReadReqeustPetar Maymounkov1-0/+96
R=rsc, rsc1 CC=golang-dev http://codereview.appspot.com/195068 Committer: Russ Cox <rsc@golang.org>
2010-02-01gc: ... T corner casesRuss Cox5-4/+19
more to come, but should suffice for Printf work. R=ken2 CC=golang-dev http://codereview.appspot.com/197044
2010-02-01gc: add ... T, rework plain ...Russ Cox17-109/+187
No longer a distinct type; now a property of func types. R=ken2 CC=golang-dev http://codereview.appspot.com/197042
2010-02-01Fix redirection if the page is in a subdirectory.Rob Pike1-0/+3
Fixes buggy links in the devel subdirectory. Code from rsc; tested by me. R=rsc, gri CC=golang-dev http://codereview.appspot.com/197041
2010-01-30Check gzip strings for NUL elements, since they are NUL-terminatedNigel Tao2-4/+4
on the wire. R=rsc CC=golang-dev http://codereview.appspot.com/194146
2010-01-30Add a GZIP test for the empty payload.Nigel Tao1-37/+57
R=rsc, r CC=golang-dev http://codereview.appspot.com/194131
2010-01-29http: increase header line limit, let req.Host override req.URL.HostPetar Maymounkov1-4/+11
Fixes issue 566. R=rsc CC=golang-dev http://codereview.appspot.com/194074 Committer: Russ Cox <rsc@golang.org>
2010-01-29fix bug in tickRob Pike1-4/+5
Fixes issue 576. R=rsc, rog CC=golang-dev http://codereview.appspot.com/196061 Committer: Rob Pike <r@golang.org>
2010-01-29math: Change veryclose to close for Sinh and Exp tests.Devon H. O'Dell1-2/+2
Fixes issue 550. R=rsc CC=eds, golang-dev, jtomaschke http://codereview.appspot.com/196063 Committer: Russ Cox <rsc@golang.org>
2010-01-28two minor build fixesRuss Cox1-7/+7
Fixes issue 572. Fixes issue 570. R=r CC=golang-dev http://codereview.appspot.com/194134
2010-01-29move comment on StringHeader to fix godoc output.Rob Pike1-2/+3
R=rsc, ken2 CC=golang-dev http://codereview.appspot.com/196055
2010-01-28io: fix nil Write bug in PipeRuss Cox2-1/+23
R=nigeltao_golang CC=golang-dev http://codereview.appspot.com/194132
2010-01-28added StringHeader to reflectKen Thompson1-0/+5
R=rsc CC=golang-dev http://codereview.appspot.com/194133
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 Cox3-18/+22
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-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-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-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 Cox5-80/+228
Fixes issue 219. R=ken2, r CC=golang-dev http://codereview.appspot.com/194097
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-26gc: improved syntax errorsRuss Cox6-12/+309
* 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-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 Cox4-47/+48
also allow func() func(). R=ken2 CC=golang-dev http://codereview.appspot.com/194078
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