aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-28release.2010-04-27weekly.2010-04-27Andrew Gerrand
R=r, rsc CC=golang-dev https://golang.org/cl/963042
2010-04-28wiki codelab: typo fixAndrew Gerrand
noticed this as I was submitting the previous CL :( R=r CC=golang-dev https://golang.org/cl/989045
2010-04-28Wiki codelab, complete with tests.Andrew Gerrand
R=r, rsc, gri CC=golang-dev https://golang.org/cl/887045
2010-04-27big: implemented Karatsuba multiplicationRobert Griesemer
Plus: - calibration "test" - include in tests with gotest -calibrate - basic Mul benchmark - extra multiplication tests - various cleanups This change improves multiplication speed of numbers >= 30 words in length (current threshold; found empirically with calibrate): The multiplication benchmark (multiplication of a variety of long numbers) improves by ~35%, individual multiplies can be significantly faster. gotest -benchmarks=Mul big.BenchmarkMul 500 6829290 ns/op (w/ Karatsuba) big.BenchmarkMul 100 10600760 ns/op There's no impact on pidigits for -n=10000 or -n=20000 because the operands are are too small. R=rsc CC=golang-dev https://golang.org/cl/1004042
2010-04-27net: drop non-RHEL-4.6 ports from testRuss Cox
Fixes #610. R=adg CC=golang-dev https://golang.org/cl/1006044
2010-04-27iterable: expose iterFunc as iterable.FuncRuss Cox
Fixes #483. R=dsymonds, dsymonds1 CC=golang-dev https://golang.org/cl/965044
2010-04-27net: fix bug in internetSocket introduced by error cleanup.Russ Cox
Fixes #750. R=adg CC=golang-dev https://golang.org/cl/988043
2010-04-27go spec: fix wrong commentRobert Griesemer
Fixes #743. R=r, rsc CC=golang-dev https://golang.org/cl/944044
2010-04-28go_tutorial: removed outdated use of semicolonsAndrew Gerrand
R=r CC=golang-dev https://golang.org/cl/1013042
2010-04-27gc: better windows detectionRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/944043
2010-04-28template: remove reference to json-templateAndrew Gerrand
Rather than confuse people by linking to a spec we don't fully support, let them just use the package docs. R=r, rsc CC=golang-dev https://golang.org/cl/1016041
2010-04-27pidigits: ~10% performance win by using adds instead of shiftsRobert Griesemer
user time for pidigits -s -n=10000: 6.466s w/ adds 7.138s w/ shifts R=rsc CC=golang-dev https://golang.org/cl/1021041
2010-04-27fix buildRobert Griesemer
R=r CC=golang-dev https://golang.org/cl/989044
2010-04-27gc: fix islocalname on windowsRuss Cox
Fixes #732. R=ken2 CC=golang-dev https://golang.org/cl/956050
2010-04-27rpc/jsonrpc: support for jsonrpc wire encodingRuss Cox
R=r CC=golang-dev https://golang.org/cl/989042
2010-04-27json: delete obsolete codeRuss Cox
R=r CC=golang-dev https://golang.org/cl/943047
2010-04-27rpc: abstract client and server encodingsRuss Cox
R=r CC=golang-dev, rog https://golang.org/cl/811046
2010-04-27gofmt: fine-tune stripping of parenthesesRobert Griesemer
(composite literals in control clauses only need parentheses if the literals start with a type name) R=rsc CC=golang-dev https://golang.org/cl/962045
2010-04-276g bug: no need for parens around array index expressionRobert Griesemer
where index is a composite literal R=rsc CC=golang-dev https://golang.org/cl/961044
2010-04-27go/parser: don't require parens around composite literals inside a composite ↵Robert Griesemer
literal within an if, for, or switch control clause R=rsc CC=golang-dev https://golang.org/cl/943046
2010-04-27gofmt: don't strip mandatory ()'s around composite literals in control clausesRobert Griesemer
Fixes #748. R=rsc CC=golang-dev https://golang.org/cl/946043
2010-04-27json: streamingRuss Cox
R=r, cw CC=golang-dev https://golang.org/cl/952041
2010-04-27godoc: use int64 for timestampsChristopher Wedgwood
This fixes a crash seen when viewing a directory list. Fixes #747. R=gri CC=golang-dev, rsc https://golang.org/cl/1010042
2010-04-27json: preserve field name case by defaultRuss Cox
This matches the old JSON package behavior. All lowercase names are not as standard as I believed, and it seems less surprising to need to write type T struct { Field string "field" } to get lower case (behavior after this CL) than it does to need to write type T struct { Field string "Field" } to preserve the case (behavior before this CL). Also test and fix unmarshal into non-nil interface value or pointer. Fixes #744. R=r CC=golang-dev https://golang.org/cl/1013041
2010-04-27pipe: implementation #3; this time for sure!Russ Cox
Added goroutine; got simpler. Fixes deadlock when doing Read+Close or Write+Close on same end. R=r, cw CC=golang-dev https://golang.org/cl/994043
2010-04-27homepage: removed animation, use custom js instead of gdynamicfeedsAndrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/949043
2010-04-27time: remove incorrect time.ISO8601 and add time.RFC3339Micah Stetson
Fixes #734. R=rsc, r CC=golang-dev https://golang.org/cl/975042
2010-04-26syscall: fix mingw buildAlex Brainman
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/988042
2010-04-26os, syscall: more mingwAlex Brainman
R=rsc, rsc1 CC=golang-dev https://golang.org/cl/878046
2010-04-26os: create sys_bsd.goGiles Lean
R=rsc CC=golang-dev https://golang.org/cl/897042
2010-04-26os: Fix build for MinGWEvan Shaw
R=rsc CC=golang-dev https://golang.org/cl/1014041
2010-04-26rename cgo2c to goc2c in ignored listAlex Brainman
R=rsc CC=golang-dev https://golang.org/cl/968043
2010-04-26Added fannkuch-parallel.goKyle Consalus
R=r, rsc CC=golang-dev https://golang.org/cl/978042
2010-04-26math: more special cases for signed zeroCharles L. Dorian
R=rsc CC=golang-dev https://golang.org/cl/937042
2010-04-26gc: more specific error for statements at top levelRuss Cox
R=ken2, r, ken3 CC=golang-dev https://golang.org/cl/1006041
2010-04-26godoc: add codewalk supportRuss Cox
R=adg, gri CC=golang-dev, r https://golang.org/cl/1008042
2010-04-26crypto/tls: simpler implementation of record layerRuss Cox
Depends on CL 957045, 980043, 1004043. Fixes #715. R=agl1, agl CC=golang-dev https://golang.org/cl/943043
2010-04-26net: introduce net.Error interfaceRuss Cox
Adds two more methods, Timeout and Temporary. Implemented by os.Errno too. The intent is to make the checks for os.EAGAIN a little less clunky. It should also let us clean up a bug that Mike Solomon pointed out: if a network server gets an "out of file descriptors" error from Accept, the listener should not stop. It will be able to check this because that error would have Temporary() == true. Also clean up some underscore names. Fixes #442. R=r CC=golang-dev, msolo https://golang.org/cl/957045
2010-04-27doc/root.html: remove key from jsapi srcAndrew Gerrand
R=rsc, r CC=golang-dev https://golang.org/cl/1010041
2010-04-26net: add PipeRuss Cox
R=r CC=golang-dev https://golang.org/cl/1004043
2010-04-26bytes: add Next method to Buffer, simplify Read.Russ Cox
R=r CC=golang-dev https://golang.org/cl/980043
2010-04-26xml: fix innerxml handling of & escapesRuss Cox
R=r CC=golang-dev https://golang.org/cl/1009041
2010-04-26template: fix handling of pointer inside interfaceRuss Cox
R=r CC=golang-dev https://golang.org/cl/982043
2010-04-26regexp: allow escaping of any punctuationRuss Cox
More in line with other regexp packages and egrep; accommodates overzealous escapers. R=r CC=golang-dev https://golang.org/cl/1008041
2010-04-26libmach: disassemble MOVLQZX correctlyRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/1007041
2010-04-22runtime: closures, defer bug fix for Native ClientRuss Cox
Enable package tests for Native Client build. R=r CC=golang-dev https://golang.org/cl/957042
2010-04-22os/stat_freebsd.go: maybe fix build for freebsdRob Pike
R=rsc CC=golang-dev https://golang.org/cl/970042
2010-04-23go_faq: typo fixAndrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/962043
2010-04-22big: Create type natEvan Shaw
Changed most of the functions in nat.go to methods on nat. R=gri CC=golang-dev https://golang.org/cl/976041
2010-04-22FileInfo: regularize the types of some fields.Rob Pike
Uid, Gid become int. File size info becomes int64. Times become int64. R=rsc, cw CC=golang-dev https://golang.org/cl/968042