summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-29runtime: more malloc statisticsRuss Cox8-33/+145
expvar: default publishings for cmdline, memstats godoc: import expvar R=r CC=golang-dev http://codereview.appspot.com/815041
2010-03-29bug265: test case for issue 700Robert Griesemer2-0/+25
( http://code.google.com/p/go/issues/detail?id=700 ) R=r CC=golang-dev http://codereview.appspot.com/827042
2010-03-29strconv.Unquote could wrongly return a nil error on error.Roger Peppe1-1/+1
R=rsc, gri CC=golang-dev http://codereview.appspot.com/773041 Committer: Robert Griesemer <gri@golang.org>
2010-03-29comment typosAndrew Gerrand1-3/+3
Fixes issue 698. Fixes issue 699. R=rsc CC=golang-dev http://codereview.appspot.com/824041
2010-03-29comment typo in crypto/rsa/rsa.goAndrew Gerrand1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/823041
2010-03-29spec: typo in switch sample code, missing semicolonAndrew Gerrand1-1/+1
Fixes issue 697 R=r CC=golang-dev http://codereview.appspot.com/804042
2010-03-29http: add HandleFunc as shortcut to Handle(path, HandlerFunc(func))Andrew Gerrand1-0/+11
R=rsc CC=golang-dev http://codereview.appspot.com/763042
2010-03-27xml: use io.ReadByter in place of local readByterRaif S. Naffah1-6/+2
R=cemeyer, rsc CC=golang-dev http://codereview.appspot.com/809041 Committer: Russ Cox <rsc@golang.org>
2010-03-26arm: fix buildDean Prichard2-6/+4
R=rsc CC=golang-dev http://codereview.appspot.com/800041 Committer: Russ Cox <rsc@golang.org>
2010-03-26gc: allow taking address of out parametersRuss Cox8-29/+128
Fixes issue 186. R=ken2 CC=golang-dev http://codereview.appspot.com/793041
2010-03-26fix buildRobert Griesemer1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/790041
2010-03-26regexp: don't return non-nil *Regexp if there is an error.Rob Pike2-0/+6
R=gri CC=golang-dev http://codereview.appspot.com/787041
2010-03-26pprof: dump extra heap information at end of heap profileRuss Cox1-0/+24
R=r CC=golang-dev http://codereview.appspot.com/786041
2010-03-26fix buildRuss Cox1-1/+1
TBR=r CC=golang-dev http://codereview.appspot.com/785041
2010-03-26godoc: export pprof debug informationRuss Cox1-0/+1
R=gri CC=golang-dev http://codereview.appspot.com/784041
2010-03-26prof: install gopprof tooRuss Cox2-1/+4725
This is a modified version of the open source pprof from code.google.com/p/google-perftools. That version is likely to catch up to this one, but it's still useful to ship our own copy since we only need the one script from that project, not all the C++ libraries. R=r CC=golang-dev http://codereview.appspot.com/783041
2010-03-26runtime: run all finalizers in a single goroutine.Russ Cox8-123/+160
eliminate second pass of mark+sweep by scanning finalizer table specially. R=r CC=golang-dev http://codereview.appspot.com/782041
2010-03-26math: add J1, Y1, Jn and Yn (Bessel functions)Charles L. Dorian5-42/+970
Also amend j0.go (variable name conflict, small corrections). R=rsc CC=golang-dev http://codereview.appspot.com/769041 Committer: Russ Cox <rsc@golang.org>
2010-03-26syscall: Create syscall_bsd.go for code used by Darwin and other *BSDsGiles Lean6-934/+489
In this change I'd like to combine the common code that is present in syscall_darwin.go and syscall_freebsd.go. I have three reasons for wanting to do this now: 1. reducing code duplication is nearly always good :-) 2. the duplication will get worse if I duplicate this code a third time for the NetBSD port I'm working on, which I need to do almost immediately 3. by making this change all in one lump and ignoring any commonality with the syscall_linux*.go files the diff is long but, I think, readable In future it may be possible to cherry pick functions that also apply to Linux and put them in (say) syscall_unix.go, and of course some functions may diverge in future and have to move out to OS or architecture specific files, but today I want just the low hanging fruit. Tested and passed on: Darwin (Snow Leopard, 10.6): amd64 and 386 FreeBSD (8.0-RELEASE): 386 only(*) (*) All my virtualisation software has stopped playing nice with FreeBSD for the moment, so I don't have facilities to test the amd64 port. As the OS X port is OK and the diff looks all right to my eyes I shall keep my fingers crossed. If someone with a FreeBSD/amd64 system cares to test and report I would be appreciative. 2010-03-27 update: I have replaced my virtualisation software, and have working FreeBSD/i386 and FreeBSD/amd64 virtual machines again. As I hoped (and expected -- programmers are optimists :-) the code built and passed all but the two currently known to fail tests on FreeBSD/amd64. I rechecked FreeBSD/i386 too: same results. R=rsc CC=golang-dev http://codereview.appspot.com/751041 Committer: Russ Cox <rsc@golang.org>
2010-03-26bytes, strings: IndexOfAnyRobert Griesemer5-28/+102
+ first use in go/doc R=r CC=golang-dev http://codereview.appspot.com/781041
2010-03-26fix spelling of alignRob Pike7-14/+14
R=rsc CC=golang-dev http://codereview.appspot.com/778041
2010-03-26xgb: fix request length and request size.Firmansyah Adiputra2-15/+18
R=nigeltao_golang, rsc CC=golang-dev http://codereview.appspot.com/759041 Committer: Russ Cox <rsc@golang.org>
2010-03-25spec changes for panic and recover.Rob Pike1-8/+178
R=rsc, gri CC=golang-dev http://codereview.appspot.com/763041
2010-03-25godoc: don't convert multi-line functions into one-liners by defaultRobert Griesemer9-64/+150
- new heuristic: if both the opening { and closing } braces are on the same line, and the function body doesn't contain comments or is other- wise too long (e.g. signature too long), it is formatted as a one-line function - related cleanups along the way - gofmt -w src misc led to no additional changes as expected R=rsc, rsc1 CC=golang-dev, ken2, r http://codereview.appspot.com/758041
2010-03-25bug264 didn't report BUG correctly, caused "fail" from test/runRob Pike2-5/+6
R=rsc, gri CC=golang-dev http://codereview.appspot.com/762041
2010-03-25make alignment rules match 8g, just like 6c matches 6g.Russ Cox1-2/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/760042
2010-03-25gc: more syntax errorsRuss Cox3-10/+36
R=r CC=golang-dev http://codereview.appspot.com/731041
2010-03-25Add strconv.Atob, Btoa.Rob Pike5-17/+94
Fixes issue 639 R=rsc CC=golang-dev http://codereview.appspot.com/755041
2010-03-25Support #pragma dynexport on OS X.Ian Lance Taylor1-20/+108
R=rsc CC=golang-dev http://codereview.appspot.com/733041
2010-03-25bug264: test case for issue 692Robert Griesemer2-0/+58
R=r CC=golang-dev http://codereview.appspot.com/715042
2010-03-25arm: disable some problematic testsDean Prichard2-7/+0
test/64bit.go: segfaults on sheevaplug(armv5) The following have long runtimes when GC is on. Sample run time in seconds for android emulator and sheevaplug test/stack.go: 4934s 1780s test/ken/chan.go: 860s 296s test/gc1.go: 218s 69s R=rsc, kaib CC=golang-dev http://codereview.appspot.com/749041 Committer: Russ Cox <rsc@golang.org>
2010-03-24syscall: Implement SetsockoptStringChristopher Wedgwood3-0/+10
R=rsc, r CC=golang-dev http://codereview.appspot.com/739042 Committer: Russ Cox <rsc@golang.org>
2010-03-25Sydney University tech talk.Nigel Tao2-0/+395
R=adg CC=golang-dev http://codereview.appspot.com/744042
2010-03-24gc: tests omitted from the last bug fixRuss Cox2-0/+68
R=ken2 CC=golang-dev http://codereview.appspot.com/748041
2010-03-24syscall: bring generated files zsyscall_darwin_*.goGiles Lean2-12/+12
up to date. No functional change, but when these files are regenerated they change, leading to noisy diffs when working in the syscall package. R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/705043 Committer: Russ Cox <rsc@golang.org>
2010-03-24test/mallocfin: relax test to 80% from 90%.Russ Cox1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/725042
2010-03-24runtime: fix mingw build, implement missing destroylock()Alex Brainman1-0/+5
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/747041 Committer: Russ Cox <rsc@golang.org>
2010-03-24depricate paniclnKen Thompson6-13/+4
R=rsc CC=golang-dev http://codereview.appspot.com/743041
2010-03-24delete all uses of panicln by rewriting them using panic or,Rob Pike79-2105/+3093
in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev http://codereview.appspot.com/741041
2010-03-24godoc: show relative file names without leading '/' (per r's request)Robert Griesemer5-23/+24
- change the various url-xxx formatters to return a relative URL path - make the leading '/' for URLs explicit in the template - on the way change some |html formatters to |html-esc (html should only be used for formatting AST nodes) R=rsc, r CC=golang-dev http://codereview.appspot.com/740041
2010-03-24Delete panicln from the spec.Rob Pike1-2/+1
R=rsc, gri, iant, ken2 CC=golang-dev http://codereview.appspot.com/738041
2010-03-24godoc: use http GET for remote search instead of rpcRobert Griesemer2-53/+31
(this will allow the use of golang.org for remote searches) R=rsc CC=golang-dev http://codereview.appspot.com/734041
2010-03-24runtime: malloc sampling, pprof interfaceRuss Cox14-41/+396
R=r CC=golang-dev http://codereview.appspot.com/719041
2010-03-24math: add J0 and Y0 (Bessel functions)Charles L. Dorian3-0/+528
R=rsc CC=golang-dev http://codereview.appspot.com/661044 Committer: Russ Cox <rsc@golang.org>
2010-03-24cc: fix typoRuss Cox1-1/+1
R=iant CC=golang-dev http://codereview.appspot.com/720041
2010-03-23runtime: add memory profiling, disabled.Russ Cox11-31/+344
no way to get the data out yet. add prototype for runtime.Callers, missing from last CL. R=r CC=golang-dev http://codereview.appspot.com/713041
2010-03-23arm: fix buildDean Prichard2-5/+4
R=kaib, rsc CC=golang-dev http://codereview.appspot.com/627045 Committer: Russ Cox <rsc@golang.org>
2010-03-23cmd/goinstall: include command name in error reporting (usually missing ↵Andrey Mirtchovski1-1/+2
software or incorrect $PATH) R=rsc CC=golang-dev http://codereview.appspot.com/695041 Committer: Russ Cox <rsc@golang.org>
2010-03-23gc: fix build in FranceRuss Cox1-1/+1
Fixes issue 626. R=ken2 CC=golang-dev http://codereview.appspot.com/714041
2010-03-23websocket: implement new protocolFumitoshi Ukai3-15/+431
http://www.whatwg.org/specs/web-socket-protocol/ (draft of draft-hixie-thewebsocketprotocol-76) draft-hixie-thewebsocketprotocol-76 will introduce new handshake incompatible draft 75 or prior. http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol R=rsc CC=golang-dev http://codereview.appspot.com/583041 Committer: Russ Cox <rsc@golang.org>