summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-02-25go/printer, gofmt: correct indentation after certain /*-style commentsRobert Griesemer5-36/+53
- applied gofmt to src and misc Note: This fix improved formatting of src/pkg/math/all_test.go but leads to a degradation in src/pkg/exp/4s/xs.go. The latter happened to "work" before accidentally. Fixing the alignment in that case in general will be a separate CL. Fixes issue 628. R=rsc CC=golang-dev http://codereview.appspot.com/223054
2010-02-25tabwriter: indicate section breaks if Debug flag is setRobert Griesemer2-0/+10
R=rsc CC=golang-dev http://codereview.appspot.com/224057
2010-02-25Use consistent types in .h file and .c file.Ian Lance Taylor2-2/+2
R=rsc CC=golang-dev http://codereview.appspot.com/224053
2010-02-25strings: remove a couple of redundant testsRobert Griesemer1-2/+4
(per suggestion from Heresy.Mc@gmail.com) R=rsc CC=golang-dev http://codereview.appspot.com/223052
2010-02-25path: Fix bug in Match with non-greedy starsKevin Ballard2-1/+9
path.Match() errors out when testing "*x" against "xxx" because it matches the star non-greedily. Ensure that the last chunk consumes the rest of the name. R=r, rsc CC=golang-dev http://codereview.appspot.com/223050 Committer: Russ Cox <rsc@golang.org>
2010-02-25%q in fmt: if the object is a Stringer, use String() to get the value to quote.Rob Pike3-1/+11
R=rsc CC=golang-dev http://codereview.appspot.com/224051
2010-02-24go/scanner: support for complex (imaginary) constantsRobert Griesemer6-2/+106
R=rsc CC=golang-dev http://codereview.appspot.com/223044
2010-02-24Install runtime.h and cgocall.h.Ian Lance Taylor2-2/+9
This permits cgo generated code to use these header files even if the Go sources are not around. R=rsc CC=golang-dev http://codereview.appspot.com/224045
2010-02-24go/ast: streamline representation of field listsRobert Griesemer11-115/+151
- always include position information about opening/closing parens/braces - replace uses of []*ast.Field with *ast.FieldList Fixes issue 473. R=rsc CC=golang-dev http://codereview.appspot.com/223043
2010-02-24path: add MatchRuss Cox3-0/+274
R=eridius, r, rog CC=golang-dev http://codereview.appspot.com/217088
2010-02-24http: fix handling of Close, use Close in http.PostRuss Cox5-11/+68
default to HTTP/1.1 R=petar-m CC=golang-dev http://codereview.appspot.com/224041
2010-02-24gofmt: don't print ()'s around function-typed results (not needed anymore)Robert Griesemer9-37/+41
- add extra test cases to go/printer tests - apply gofmt to src and misc R=rsc CC=golang-dev http://codereview.appspot.com/223041
2010-02-24go/printer: use general comment intersperse mechanism everywhereRobert Griesemer5-69/+77
- remove several TODOs - as a side-effect, comment stylers are now used always and comments will be properly colored in godoc pkg documentation pages (and not only when looking at source text) R=rsc CC=golang-dev http://codereview.appspot.com/222041
2010-02-23crypto package documentation fixMark Zavislak2-6/+6
Replaces stale references to modes.go. R=golang-dev, agl, rsc CC=golang-dev http://codereview.appspot.com/218071 Committer: Russ Cox <rsc@golang.org>
2010-02-23goyacc: fix handling of / and comments in goyaccRob Pike1-2/+20
Fixes issue 618. R=rsc CC=golang-dev http://codereview.appspot.com/217094
2010-02-22runtime: work around Linux kernel bug in futexRuss Cox1-14/+6
Fixes issue 420. R=r CC=golang-dev http://codereview.appspot.com/218065
2010-02-22net: disable UDP server testRuss Cox1-3/+6
has been flaking on various architectures. not sure why, but doesn't seem to be Go's fault. Fixes issue 617. R=r CC=golang-dev http://codereview.appspot.com/217093
2010-02-22math: add lgamma; in-line special cases of acosh, nextafterCharles L. Dorian5-3/+404
Added lgamma.go, tests and special cases. R=rsc CC=golang-dev http://codereview.appspot.com/217060 Committer: Russ Cox <rsc@golang.org>
2010-02-23Fix xgb/example.go typo.Nigel Tao1-1/+1
R=adg CC=golang-dev http://codereview.appspot.com/210047
2010-02-22go/printer (gofmt): remove more residue from semicolon transitionRobert Griesemer1-79/+14
minor unrelated cleanups R=rsc CC=golang-dev http://codereview.appspot.com/217086
2010-02-22http: use RawURL in Request.WritePetar Maymounkov2-5/+8
R=rsc CC=golang-dev http://codereview.appspot.com/217066 Committer: Russ Cox <rsc@golang.org>
2010-02-22xml: treat bool as value in UnmarshalMichael Hoisie2-9/+19
R=rsc CC=golang-dev http://codereview.appspot.com/218050 Committer: Russ Cox <rsc@golang.org>
2010-02-22http: fix bug in PostPetar Maymounkov1-1/+3
R=rsc CC=golang-dev http://codereview.appspot.com/217059 Committer: Russ Cox <rsc@golang.org>
2010-02-22json: fix quoted strings in MarshalSergei Skorobogatov2-29/+85
R=rsc CC=golang-dev http://codereview.appspot.com/217047 Committer: Russ Cox <rsc@golang.org>
2010-02-22scanner: match go/scanner and disallow NUL character;Robert Griesemer2-6/+17
also check for illegal UTF-8 sequences R=rsc CC=golang-dev http://codereview.appspot.com/218061
2010-02-21http request URI should never be emptyMichael Hoisie1-1/+1
R=rsc, adg CC=golang-dev http://codereview.appspot.com/217071 Committer: Andrew Gerrand <adg@golang.org>
2010-02-21all done except -Ken Thompson3-103/+297
complex divide float(complex) conversion 8g 5g etc tests R=rsc CC=golang-dev http://codereview.appspot.com/218044
2010-02-21gc: minor const simplificationsRuss Cox1-32/+15
R=ken2 CC=golang-dev http://codereview.appspot.com/217069
2010-02-19fixed bug in mpconst float multiply by 0.Ken Thompson12-28/+262
more complex -- constants, variables and print. R=rsc CC=golang-dev http://codereview.appspot.com/217061
2010-02-19websocket: fix binary frame size decodingTimo Savola1-3/+2
R=ukai, rsc CC=golang-dev http://codereview.appspot.com/166074 Committer: Russ Cox <rsc@golang.org>
2010-02-19go/ast: use a slice instead of a linked list for the list of commentsRobert Griesemer7-42/+38
(this will simplify some further changes) removed several TODOs R=rsc CC=golang-dev http://codereview.appspot.com/216059
2010-02-19godoc: fix path resolution for command-line one more time (sigh...)Robert Griesemer1-2/+21
R=rsc CC=golang-dev http://codereview.appspot.com/217058
2010-02-19- removed exp/parser (support for old semicolon syntax)Robert Griesemer18-2382/+33
- go/ast: removed StringList (not needed anymore) - go/ast: changed import path and field list tag to a single string - updated all dependencies R=rsc CC=golang-dev http://codereview.appspot.com/217056
2010-02-19godoc: make commandline use work againRobert Griesemer2-10/+7
R=rsc CC=golang-dev http://codereview.appspot.com/216054
2010-02-19http: unified body transfer (read & write) logic in http.Request/Response.Petar Maymounkov6-348/+482
Compliance issue addressed here: POST requests carrying form data are required to use "identity" transfer encoding by common nginx and apache server configurations, e.g. wordpress.com (and many others). So, Request needed to be able to send non-chunked encodings. Thus, Request is extended to support identity and chunked encodings, like Response. Since the Read() and Write() logic are shared by both (and are quite long), it is exported in a separate file transfer.go. R=rsc CC=golang-dev http://codereview.appspot.com/217048 Committer: Russ Cox <rsc@golang.org>
2010-02-19http: add Pending method to ServerConn, ClientConnPetar Maymounkov1-1/+19
R=rsc CC=golang-dev http://codereview.appspot.com/216052 Committer: Russ Cox <rsc@golang.org>
2010-02-19crypto/x509: support certificate creation.Adam Langley2-2/+280
R=rsc CC=golang-dev http://codereview.appspot.com/212041
2010-02-19http: add DumpRequest, DumpResponse, for debuggingPetar Maymounkov2-0/+77
R=rsc CC=golang-dev http://codereview.appspot.com/206050 Committer: Russ Cox <rsc@golang.org>
2010-02-18http: persistent connection objectsPetar Maymounkov2-0/+286
R=rsc CC=golang-dev http://codereview.appspot.com/203051 Committer: Russ Cox <rsc@golang.org>
2010-02-18http: do not edit Response.ContentLength in Response.WritePetar Maymounkov1-6/+7
R=rsc CC=golang-dev http://codereview.appspot.com/207061 Committer: Russ Cox <rsc@golang.org>
2010-02-18gc: double-initializationRuss Cox1-1/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/217044
2010-02-18combined pchw and embedded into tiny. added section on arm to READMEKai Backman21-142/+58
R=rsc CC=golang-dev http://codereview.appspot.com/194151 Committer: Russ Cox <rsc@golang.org>
2010-02-18math: add Cbrt and Sincos; x87 versions of Sincos, Frexp, LdexpCharles L. Dorian13-53/+311
Added special condition and benchmarks for Cbrt, Sincos. Took Frexp and Ldexp out of bits.go. R=rsc CC=golang-dev http://codereview.appspot.com/206084 Committer: Russ Cox <rsc@golang.org>
2010-02-188a/8l: Added FCMOVcc instructionsEvan Shaw4-0/+40
Thanks to Charles Dorian for the help. R=rsc CC=Charlie Dorian, golang-dev http://codereview.appspot.com/207049 Committer: Russ Cox <rsc@golang.org>
2010-02-18xml: allow unquoted attribute values in non-Strict modeAmrut Joshi2-8/+55
HTML4 standard supports unquoted attibute values in certain cases (http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.2.2). R=rsc CC=golang-dev http://codereview.appspot.com/207095 Committer: Russ Cox <rsc@golang.org>
2010-02-18http: avoid server crash on malformed client requestFumitoshi Ukai2-8/+37
R=r, rsc CC=golang-dev http://codereview.appspot.com/206079 Committer: Russ Cox <rsc@golang.org>
2010-02-18exec: add dir argument to Run.Russ Cox3-15/+52
fix, test MergeWithStdout R=r CC=golang-dev http://codereview.appspot.com/214046
2010-02-18gc: fix this morning's bug fixRuss Cox5-5/+7
R=ken2 CC=golang-dev http://codereview.appspot.com/216043
2010-02-18complex constant multiply and divideKen Thompson5-10/+92
R=rsc CC=golang-dev http://codereview.appspot.com/217041
2010-02-18godoc: path cleanups, fixed a race condition, initial support for a menu on ↵Robert Griesemer3-36/+20
pages R=rsc CC=adg, golang-dev http://codereview.appspot.com/215050