summaryrefslogtreecommitdiff
path: root/src/pkg
AgeCommit message (Collapse)AuthorFilesLines
2009-11-11vector: s/Element/interface{}/Robert Griesemer2-24/+19
Fixes issue 74. R=rsc http://codereview.appspot.com/154073
2009-11-11json: support \u escaping in stringsAdam Langley2-12/+28
Fixes issue 73. R=rsc CC=golang-dev http://codereview.appspot.com/154072
2009-11-11fix TestRemoveAll again (tested as root this time).Russ Cox1-8/+7
Fixes issue 22. R=r http://codereview.appspot.com/154069
2009-11-11os test: do not use symlink > 255 bytes.Russ Cox1-1/+2
Fixes issue 62. R=r http://codereview.appspot.com/152080
2009-11-11Reland a112249da741, this time with missing file.Adam Langley9-166/+568
2009-11-11log test: don't assume a fixed set of letters for $GOROOTRuss Cox1-1/+1
Fixes issue 27. R=r http://codereview.appspot.com/152075
2009-11-11roll back 3985: build is brokenRuss Cox8-563/+162
TBR=agl1 CC=golang-dev http://codereview.appspot.com/154065
2009-11-11big:Adam Langley8-162/+563
Turn methods that don't store the result in their receiver into functions in order to preserve the convention. Re-jig Exp and Div by moving their guts into nat.go. Add ProbablyPrime to perform Miller-Rabin primality tests. crypto/rsa: reenable key generation since we now have ProbablyPrime. R=gri CC=go-dev http://codereview.prom.corp.google.com/1024038
2009-11-11os: do not test error case of TestRemoveAll when rootRuss Cox1-25/+28
Fixes issue 22. R=r1, r http://codereview.appspot.com/152073
2009-11-11use fully qualified names for hash interfacesRuss Cox4-5/+5
Fixes issue 38. R=r1, r http://codereview.appspot.com/152072
2009-11-10update old comment: things are much better nowRuss Cox1-5/+6
R=r http://codereview.appspot.com/152057
2009-11-10net: fix error for connect to /etc/ on some systemsRuss Cox1-1/+1
R=agl1 CC=golang-dev http://codereview.appspot.com/152051
2009-11-10net: disable more ipv6 testsRuss Cox1-6/+10
R=agl, agl1 CC=golang-dev http://codereview.appspot.com/153050
2009-11-10net: disable ipv6 test if we know kernel won't take it.Russ Cox1-1/+5
R=agl, agl1 CC=golang-dev http://codereview.appspot.com/153048
2009-11-10net: disable dns error testRuss Cox1-0/+7
some dns resolvers (opendns, for example) are willing to make up results for any name. R=agl, agl1 CC=golang-dev http://codereview.appspot.com/152049
2009-11-10net: fix dns bug reported on irc.Russ Cox2-1/+12
if suffixes don't work, check for name directly. also fixes short names like bit.ly when ndots>1. tested by tossing domain and search lines from /etc/resolv.conf Fixes issue 2. R=agl, agl1 CC=golang-dev http://codereview.appspot.com/152048
2009-11-10better code for a copy loopRobert Griesemer1-2/+2
R=rsc http://codereview.appspot.com/152046
2009-11-10spell it with an "e"Ken Thompson1-0/+1
R=rsc http://go/go-review/1025037
2009-11-10minor adjustments to package comments for better synopsis.Robert Griesemer4-7/+8
R=rsc CC=r http://go/go-review/1026038
2009-11-10make regexp comment not a package commentRuss Cox1-0/+1
R=r http://go/go-review/1025036
2009-11-10allow user agent to mention Go.Russ Cox1-2/+1
R=r http://go/go-review/1024046
2009-11-09- minor cleanupsRobert Griesemer2-20/+19
- better debugging support - gofmt -l src misc | wc -l is 0 R=rsc http://go/go-review/1024042
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer121-750/+750
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer124-1060/+1357
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1026036
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer23-266/+266
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1024040
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer389-7258/+7258
R=rsc, r http://go/go-review/1025029
2009-11-09- rename Context to exprContext to remove it from public interfaceRobert Griesemer1-4/+4
(and to match the style of declContext) R=rsc http://go/go-review/1024033
2009-11-09fix for nodeSize computation, used to determine ifRobert Griesemer1-1/+5
a node fits on one line: - for purposes of measuring the node size in text, don't generate html or use a styler that could generate html as it will lead to overly large sizes A consequence of this bug is that source code displayed with godoc may show functions that fit on one line in the source on multiple lines. This change causes no difference to the gofmt formatting of any files in src or misc. R=rsc http://go/go-review/1026034
2009-11-08bug212, bug213.Russ Cox1-1/+1
R=ken http://go/go-review/1026032
2009-11-08delete a pointless todo in all_test.go.Rob Pike2-5/+9
address one in rpc/client.go R=rsc CC=go-dev http://go/go-review/1026030
2009-11-08a nagging inconsistency: capitalization ofRuss Cox10-48/+48
HTML vs Html, URL vs Url, HTTP vs Http, current source is 6:1 in favor of the former, so change instances of the latter. R=r CC=go-dev http://go/go-review/1024026
2009-11-08assorted cleanupRuss Cox6-40/+13
R=r, iant CC=go-dev http://go/go-review/1025024
2009-11-08delete TODO now that compiler is better at %Rob Pike1-1/+1
adjust an inconsistency in reflect/type.go's package comment R=rsc http://go/go-review/1026029
2009-11-08add top-level package comments for net, reflect, malloc.Rob Pike3-0/+17
reflect is a little more detailed than some because it affords an opportunity to explain how to approach the library. R=gri, rsc CC=go-dev http://go/go-review/1026026
2009-11-08added package documentationRobert Griesemer1-0/+1
R=r, rsc http://go/go-review/1025023
2009-11-07- avoid division-by-zero crash in tabwriterRobert Griesemer2-6/+10
- correct tabwidth argument for some tabwriter test cases - catch negative tabwidth flag in gofmt w/o crashing R=rsc http://go/go-review/1026022
2009-11-07Add flags of type float to the flag package.Vish Subramanian2-2/+71
R=r, rsc http://go/go-review/1026011 Committer: Rob Pike <r@golang.org>
2009-11-07- blank before opening { for multi-line composite literals (as preferred by r)Robert Griesemer1-14/+37
- blank padding around composite literal contents for a less dense look (most if not all composite literals were written in that style before gofmt ran through them) - corresponding (internal) flag: compositeLitBlank - don't print a semi after a one-statement statement list (as preferred by r) - corresponding (internal flag): fewerSemis - the number of changes in nodes.go is huge because of the removed semis; hg mail requires that I gofmt the file before With both flags set to false, this CL causes no gofmt formatting change. We can turn them on if we like it (and then remove the flags). Will submit with flags disabled. R=rsc, r http://go/go-review/1025015
2009-11-06Typo fixes.David Symonds6-6/+6
R=rsc CC=go-dev http://go/go-review/1026014 Committer: Russ Cox <rsc@golang.org>
2009-11-06format composite literal types that are "short" struct type literalsRobert Griesemer4-21/+123
on one line for a more compact representation of some composite Literals R=rsc http://go/go-review/1025008
2009-11-06- application of gofmt with one-line composite literal structs enabledRobert Griesemer3-180/+46
- this CL is dependent on CL 1025008 R=r, rsc http://go/go-review/1025009
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer207-3571/+1264
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-06big: fix carry error, add test case.Adam Langley4-17/+31
crypto/x509: reenable tests. R=gri CC=go-dev http://go/go-review/1026004
2009-11-06minor fixups by gofmtRobert Griesemer2-3/+2
R=agl http://go/go-review/1024009
2009-11-06crypto/x509: build fix for 32-bitAdam Langley1-0/+14
TBR=rsc R=rsc CC=go-dev http://go/go-review/1024007
2009-11-06Fix add-back division test so that it triggers the add-back case onAdam Langley1-10/+13
both 64 and 32 bit platforms. Also, uncomment some tests that were still commented out from debugging. R=gri, rsc CC=go-dev http://go/go-review/1026003
2009-11-05 make 5g executables run on android/arm hardware. change OABIKai Backman1-8/+20
usage to EABI. go/test: passes 85% (296/347) on random android phone. R=rsc http://go/go-review/1024003
2009-11-05- fix elf.go manually so it is idempotent for gofmtRobert Griesemer1-8/+5
- with this change, `gofmt -l src/pkg | wc` is 0 R=rsc http://go/go-review/1025002
2009-11-05missing piece gofmt'ed in reflectRobert Griesemer1-36/+108
R=r, rsc http://go/go-review/1025001
2009-11-05gofmt'ed more stragglersRobert Griesemer5-39/+39
R=rsc http://go/go-review/1019004