Robert Griesemer
2f480b10e2
pidigits: ~10% performance win by using adds instead of shifts
...
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-27 14:06:53 -07:00
Robert Griesemer
e42ebea96c
fix build
...
R=r
CC=golang-dev
https://golang.org/cl/989044
2010-04-27 14:05:53 -07:00
Russ Cox
3bcef5ac30
gc: fix islocalname on windows
...
Fixes #732 .
R=ken2
CC=golang-dev
https://golang.org/cl/956050
2010-04-27 13:52:43 -07:00
Russ Cox
646301a766
rpc/jsonrpc: support for jsonrpc wire encoding
...
R=r
CC=golang-dev
https://golang.org/cl/989042
2010-04-27 13:51:58 -07:00
Russ Cox
dc644b8f43
json: delete obsolete code
...
R=r
CC=golang-dev
https://golang.org/cl/943047
2010-04-27 13:51:38 -07:00
Russ Cox
dcff89057b
rpc: abstract client and server encodings
...
R=r
CC=golang-dev, rog
https://golang.org/cl/811046
2010-04-27 13:51:25 -07:00
Robert Griesemer
72f9b2ebee
gofmt: fine-tune stripping of parentheses
...
(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-27 13:27:48 -07:00
Robert Griesemer
d971f71703
6g bug: no need for parens around array index expression
...
where index is a composite literal
R=rsc
CC=golang-dev
https://golang.org/cl/961044
2010-04-27 13:09:32 -07:00
Robert Griesemer
48ccf8247e
go/parser: don't require parens around composite literals inside a composite literal
...
within an if, for, or switch control clause
R=rsc
CC=golang-dev
https://golang.org/cl/943046
2010-04-27 11:57:17 -07:00
Robert Griesemer
2bfc2d7772
gofmt: don't strip mandatory ()'s around composite literals in control clauses
...
Fixes #748 .
R=rsc
CC=golang-dev
https://golang.org/cl/946043
2010-04-27 10:59:33 -07:00
Russ Cox
0e8384af65
json: streaming
...
R=r, cw
CC=golang-dev
https://golang.org/cl/952041
2010-04-27 10:46:37 -07:00
Christopher Wedgwood
23c064452c
godoc: use int64 for timestamps
...
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-27 10:45:33 -07:00
Russ Cox
bec40ba516
json: preserve field name case by default
...
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-27 10:24:00 -07:00
Russ Cox
cc62bed075
pipe: implementation #3 ; this time for sure!
...
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-27 10:17:17 -07:00
Andrew Gerrand
28c6305a0e
homepage: removed animation, use custom js instead of gdynamicfeeds
...
R=rsc
CC=golang-dev
https://golang.org/cl/949043
2010-04-27 19:27:32 +10:00
Micah Stetson
6c124cb879
time: remove incorrect time.ISO8601 and add time.RFC3339
...
Fixes #734 .
R=rsc, r
CC=golang-dev
https://golang.org/cl/975042
2010-04-27 00:05:24 -07:00
Alex Brainman
a83c5f5cad
syscall: fix mingw build
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/988042
2010-04-26 23:47:53 -07:00
Alex Brainman
fb6b39186b
os, syscall: more mingw
...
R=rsc, rsc1
CC=golang-dev
https://golang.org/cl/878046
2010-04-26 23:17:14 -07:00
Giles Lean
461314b6e7
os: create sys_bsd.go
...
R=rsc
CC=golang-dev
https://golang.org/cl/897042
2010-04-26 23:01:31 -07:00
Evan Shaw
bf1c881afe
os: Fix build for MinGW
...
R=rsc
CC=golang-dev
https://golang.org/cl/1014041
2010-04-26 22:50:47 -07:00
Alex Brainman
182061204c
rename cgo2c to goc2c in ignored list
...
R=rsc
CC=golang-dev
https://golang.org/cl/968043
2010-04-26 22:49:14 -07:00
Kyle Consalus
8b9a73f6a1
Added fannkuch-parallel.go
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/978042
2010-04-26 22:44:44 -07:00
Charles L. Dorian
22f84c5b2a
math: more special cases for signed zero
...
R=rsc
CC=golang-dev
https://golang.org/cl/937042
2010-04-26 22:44:39 -07:00
Russ Cox
d6e4e18c8c
gc: more specific error for statements at top level
...
R=ken2, r, ken3
CC=golang-dev
https://golang.org/cl/1006041
2010-04-26 22:35:27 -07:00
Russ Cox
2a591bdf8a
godoc: add codewalk support
...
R=adg, gri
CC=golang-dev, r
https://golang.org/cl/1008042
2010-04-26 22:35:12 -07:00
Russ Cox
72d9322032
crypto/tls: simpler implementation of record layer
...
Depends on CL 957045, 980043, 1004043.
Fixes #715 .
R=agl1, agl
CC=golang-dev
https://golang.org/cl/943043
2010-04-26 22:19:04 -07:00
Russ Cox
47a0533411
net: introduce net.Error interface
...
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-26 22:15:25 -07:00
Andrew Gerrand
cd5191fd30
doc/root.html: remove key from jsapi src
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/1010041
2010-04-27 10:24:17 +10:00
Russ Cox
1d18e89125
net: add Pipe
...
R=r
CC=golang-dev
https://golang.org/cl/1004043
2010-04-26 10:36:05 -07:00
Russ Cox
78551a9b43
bytes: add Next method to Buffer, simplify Read.
...
R=r
CC=golang-dev
https://golang.org/cl/980043
2010-04-26 10:02:01 -07:00
Russ Cox
9f69ab39f0
xml: fix innerxml handling of & escapes
...
R=r
CC=golang-dev
https://golang.org/cl/1009041
2010-04-26 10:01:33 -07:00
Russ Cox
13bb28a40a
template: fix handling of pointer inside interface
...
R=r
CC=golang-dev
https://golang.org/cl/982043
2010-04-26 10:01:13 -07:00
Russ Cox
6f33f34bbc
regexp: allow escaping of any punctuation
...
More in line with other regexp packages
and egrep; accommodates overzealous escapers.
R=r
CC=golang-dev
https://golang.org/cl/1008041
2010-04-26 10:00:18 -07:00
Russ Cox
43409ed2c6
libmach: disassemble MOVLQZX correctly
...
R=ken2
CC=golang-dev
https://golang.org/cl/1007041
2010-04-26 01:09:19 -07:00
Russ Cox
c6138efbcb
runtime: closures, defer bug fix for Native Client
...
Enable package tests for Native Client build.
R=r
CC=golang-dev
https://golang.org/cl/957042
2010-04-22 17:52:22 -07:00
Rob Pike
6e80a01ab7
os/stat_freebsd.go: maybe fix build for freebsd
...
R=rsc
CC=golang-dev
https://golang.org/cl/970042
2010-04-22 17:04:28 -07:00
Andrew Gerrand
05427748ef
go_faq: typo fix
...
R=rsc
CC=golang-dev
https://golang.org/cl/962043
2010-04-23 10:02:10 +10:00
Evan Shaw
841a32dd5e
big: Create type nat
...
Changed most of the functions in nat.go to methods on nat.
R=gri
CC=golang-dev
https://golang.org/cl/976041
2010-04-22 16:57:29 -07:00
Rob Pike
5cd8c83037
FileInfo: regularize the types of some fields.
...
Uid, Gid become int.
File size info becomes int64.
Times become int64.
R=rsc, cw
CC=golang-dev
https://golang.org/cl/968042
2010-04-22 14:01:33 -07:00
Evan Shaw
21110c799d
spec: Fix run-time panic header id
...
Everything was linking to "Run_time_panics", but the id was "Run_time_errors".
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/961042
2010-04-22 10:14:53 -07:00
Evan Shaw
f0ecf34f29
vector: Don't always regenerate {int,string}vector.go
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/917042
2010-04-23 00:43:59 +10:00
Evan Shaw
455e799f6d
big: Add some tests
...
R=rsc, gri
CC=golang-dev
https://golang.org/cl/967041
2010-04-21 17:12:36 -07:00
Russ Cox
dba9d62bc2
json: Marshal, Unmarshal using new scanner
...
R=r
CC=golang-dev
https://golang.org/cl/953041
2010-04-21 16:40:53 -07:00
Russ Cox
214a55b06a
runtime: switch state back to Grunning after recovery
...
Fixes #733 .
R=r
CC=golang-dev
https://golang.org/cl/958041
2010-04-21 16:27:41 -07:00
Russ Cox
e7b6fe3989
xml: new "innerxml" tag to collect inner XML
...
R=r
CC=golang-dev
https://golang.org/cl/971041
2010-04-21 16:27:31 -07:00
Russ Cox
57d9de3ac8
utf16: add DecodeRune, EncodeRune
...
R=r
CC=golang-dev
https://golang.org/cl/970041
2010-04-21 16:27:18 -07:00
Andrew Gerrand
aa2187efa3
faq: more up-to-date info about the Windows port
...
R=r
CC=golang-dev
https://golang.org/cl/961041
2010-04-22 09:15:35 +10:00
Rob Pike
735db765fb
test/bench: reenable chameneosredux for gccgo.
...
run reverse-complement only once. (garbage is no longer an issue)
R=rsc
CC=golang-dev
https://golang.org/cl/968041
2010-04-21 14:54:19 -07:00
Russ Cox
1b70b61411
big: fix build - start with zero in scanN
...
R=gri, eds
CC=golang-dev
https://golang.org/cl/947042
2010-04-20 22:51:48 -07:00
Kyle Consalus
d7b4851586
strings: add ReadRune to Reader
...
R=rsc
CC=golang-dev
https://golang.org/cl/940041
2010-04-20 22:18:26 -07:00