]>
Cypherpunks repositories - gostls13.git/log
Kai Backman [Tue, 6 Apr 2010 19:17:24 +0000 (22:17 +0300)]
replace original float instruction with jump to make branches
to float instructions work correctly.
R=rsc
CC=golang-dev
https://golang.org/cl/870044
Rob Pike [Tue, 6 Apr 2010 17:53:48 +0000 (10:53 -0700)]
fix deps.bash. \t does not mean tab in some seds.
also: add /dev/null to the ls args to repair handling of empty dependency lists.
R=rsc
CC=golang-dev
https://golang.org/cl/883045
Giles Lean [Tue, 6 Apr 2010 17:28:55 +0000 (10:28 -0700)]
syscall package: document that errno is zeroed on success
This is a documentation enhancement only, without any code
change.
The rationale for documenting this precisely is that Unix
programmers who "know" that errno's value is undefined after
a successful system call may be surprised otherwise and
search to be sure that a zero errno may be relied upon after
successful calls.
R=r, rsc1, rsc
CC=golang-dev
https://golang.org/cl/812044
Ian Lance Taylor [Tue, 6 Apr 2010 17:23:21 +0000 (10:23 -0700)]
GNU/Linux sed requires \? rather than ?. Just use * instead.
R=rsc, r
CC=golang-dev
https://golang.org/cl/810043
Joe Poirier [Tue, 6 Apr 2010 06:44:05 +0000 (23:44 -0700)]
libcgo: initial mingw port work - builds but untested
R=rsc
CC=golang-dev
https://golang.org/cl/812041
Russ Cox [Tue, 6 Apr 2010 06:36:52 +0000 (23:36 -0700)]
io/ioutil: fix bug in ReadFile when Open succeeds but Stat fails
R=gri
CC=golang-dev
https://golang.org/cl/867044
Russ Cox [Tue, 6 Apr 2010 06:36:37 +0000 (23:36 -0700)]
runtime: fix Caller
log: add test of Caller
New regexp in log test is picky and will require some
maintenance, but it catches off-by-one mistakes too.
Fixes #710.
R=gri
CC=esko.luontola, golang-dev
https://golang.org/cl/887043
Russ Cox [Tue, 6 Apr 2010 05:55:05 +0000 (22:55 -0700)]
http: fix documentation example
R=adg
CC=golang-dev
https://golang.org/cl/813043
Kyle Consalus [Tue, 6 Apr 2010 05:32:36 +0000 (22:32 -0700)]
test/bench: add k-nucleotide-parallel
R=rsc
CC=golang-dev
https://golang.org/cl/881042
Charles L. Dorian [Tue, 6 Apr 2010 05:10:27 +0000 (22:10 -0700)]
cmath: new package
Complex math function package. Still needs more special case checking.
R=rsc
CC=golang-dev
https://golang.org/cl/874041
Russ Cox [Tue, 6 Apr 2010 05:08:07 +0000 (22:08 -0700)]
deps.bash: be less strict about format of x.go lines
R=iant
CC=golang-dev
https://golang.org/cl/862042
David Symonds [Tue, 6 Apr 2010 01:14:44 +0000 (11:14 +1000)]
doc/go_mem: remove semicolons
R=adg
CC=golang-dev
https://golang.org/cl/893041
Russ Cox [Tue, 6 Apr 2010 00:26:59 +0000 (17:26 -0700)]
runtime: handle malloc > 2GB correctly
R=ken2
CC=golang-dev
https://golang.org/cl/821048
Russ Cox [Mon, 5 Apr 2010 21:38:02 +0000 (14:38 -0700)]
crypto/tls: good defaults
R=agl1
CC=golang-dev
https://golang.org/cl/851041
Russ Cox [Mon, 5 Apr 2010 19:51:09 +0000 (12:51 -0700)]
runtime: various arm fixes
* correct symbol table size
* do not reorder functions in output
* traceback
* signal handling
* use same code for go + defer
* handle leaf functions in symbol table
R=kaib, dpx
CC=golang-dev
https://golang.org/cl/884041
Andrew Gerrand [Mon, 5 Apr 2010 08:17:08 +0000 (18:17 +1000)]
programming_faq: added question on T vs *T method sets
Adding this question on Russ' recommendation - not sure if
there is some detail here I'm missing.
The associated discussion was:
http://groups.google.com/group/golang-nuts/t/
ec6b27e332ed7f77
R=rsc, r
CC=golang-dev
https://golang.org/cl/887042
Russ Cox [Mon, 5 Apr 2010 06:27:26 +0000 (23:27 -0700)]
gc: good syntax error for defer func() {} - missing final ()
R=ken2
CC=golang-dev
https://golang.org/cl/855044
Conrad Meyer [Mon, 5 Apr 2010 06:23:48 +0000 (23:23 -0700)]
nntp: new package, NNTP client
R=rsc, rsc1
CC=golang-dev
https://golang.org/cl/808041
Andrew Gerrand [Mon, 5 Apr 2010 00:53:38 +0000 (10:53 +1000)]
run.bash: remove MAKEFLAGS=-j4 to prevent crashing on freebsd
R=rsc
CC=golang-dev
https://golang.org/cl/881044
Andrew Gerrand [Sun, 4 Apr 2010 21:34:27 +0000 (07:34 +1000)]
godashboard: fix benchmarks page (first pass)
R=rsc
CC=golang-dev
https://golang.org/cl/844044
Robert Griesemer [Fri, 2 Apr 2010 23:20:47 +0000 (16:20 -0700)]
debug/proc: fix typo in package documentation
R=rsc
CC=golang-dev
https://golang.org/cl/829044
Alex Brainman [Fri, 2 Apr 2010 08:11:17 +0000 (01:11 -0700)]
syscall: implementing some mingw syscalls required by os package
R=rsc
CC=golang-dev
https://golang.org/cl/770041
Russ Cox [Fri, 2 Apr 2010 05:31:27 +0000 (22:31 -0700)]
runtime: turn run time errors checks into panics
R=ken2, r
CC=golang-dev
https://golang.org/cl/871042
Robert Griesemer [Thu, 1 Apr 2010 22:58:10 +0000 (15:58 -0700)]
debug/macho: fix error message format
R=rsc
CC=golang-dev
https://golang.org/cl/836046
Robert Griesemer [Thu, 1 Apr 2010 22:36:44 +0000 (15:36 -0700)]
debug/macho: don't crash when reading non-Mach-O files
R=rsc
CC=golang-dev
https://golang.org/cl/838046
Robert Griesemer [Thu, 1 Apr 2010 19:48:34 +0000 (12:48 -0700)]
go spec: correct clarification of type declaration
R=rsc, r
CC=golang-dev
https://golang.org/cl/855043
Russ Cox [Thu, 1 Apr 2010 18:56:18 +0000 (11:56 -0700)]
runtime: correct memory leak in select
* adds pass 3 to dequeue from channels eagerly
various other cleanup/churn:
* use switch on cas->send in each pass to
factor out common code.
* longer goto labels, commented at target
* be more agressive about can't happen:
throw instead of print + cope.
* use "select" instead of "selectgo" in errors
* use printf for debug prints when possible
R=ken2, ken3
CC=golang-dev, r
https://golang.org/cl/875041
Evan Shaw [Thu, 1 Apr 2010 02:50:27 +0000 (19:50 -0700)]
kate: Update for recent language changes
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/849045
Russ Cox [Thu, 1 Apr 2010 02:48:33 +0000 (19:48 -0700)]
build script tweaks
factor out environment variable checks.
infer $GOROOT etc during build if not set.
it's still necessary to set them for yourself
to use the standard Makefiles.
when running all.bash, don't recompile all the
go packages in run.bash, since make.bash already did.
R=r
CC=golang-dev
https://golang.org/cl/609042
Rob Pike [Thu, 1 Apr 2010 00:57:50 +0000 (17:57 -0700)]
testing/regexp: use recover.
R=rsc
CC=golang-dev
https://golang.org/cl/816042
Andrew Gerrand [Thu, 1 Apr 2010 00:19:37 +0000 (11:19 +1100)]
json: use panic/recover to handle errors in Marshal
R=r, gri
CC=golang-dev
https://golang.org/cl/872041
Robert Griesemer [Wed, 31 Mar 2010 23:37:22 +0000 (16:37 -0700)]
go spec: clarification of type declarations
R=r, rsc
CC=golang-dev
https://golang.org/cl/849044
Nigel Tao [Wed, 31 Mar 2010 23:14:42 +0000 (10:14 +1100)]
Delete xgb from the main repository. It has moved to
http://code.google.com/p/x-go-binding/
R=rsc
CC=golang-dev
https://golang.org/cl/846043
Russ Cox [Wed, 31 Mar 2010 23:04:03 +0000 (16:04 -0700)]
gc: fix alignment on non-amd64
R=ken2
CC=golang-dev
https://golang.org/cl/870041
Robert Griesemer [Wed, 31 Mar 2010 23:01:22 +0000 (16:01 -0700)]
tabwriter: use panic/recover to handle errors
R=rsc, r
CC=golang-dev
https://golang.org/cl/864042
Rob Pike [Wed, 31 Mar 2010 22:58:21 +0000 (15:58 -0700)]
regexp: use panic/recover to handle errors
R=rsc, gri
CC=golang-dev
https://golang.org/cl/821046
Russ Cox [Wed, 31 Mar 2010 22:55:10 +0000 (15:55 -0700)]
runtime: make type assertion a runtime.Error, the first of many
R=r
CC=golang-dev
https://golang.org/cl/805043
Russ Cox [Wed, 31 Mar 2010 18:47:09 +0000 (11:47 -0700)]
test for panic and recover
R=r, adg
CC=golang-dev
https://golang.org/cl/869041
Russ Cox [Wed, 31 Mar 2010 18:46:01 +0000 (11:46 -0700)]
gc: implement panic and recover
R=ken2, r, ken3
CC=golang-dev
https://golang.org/cl/831042
Andrew Gerrand [Wed, 31 Mar 2010 06:01:16 +0000 (17:01 +1100)]
godashboard: new stylesheet, build status pagination
R=rsc, gri, r
CC=golang-dev
https://golang.org/cl/822044
Andrew Gerrand [Wed, 31 Mar 2010 01:38:54 +0000 (12:38 +1100)]
release.2010-03-30 part two
R=rsc
CC=golang-dev
https://golang.org/cl/859042
Rob Pike [Wed, 31 Mar 2010 01:33:06 +0000 (18:33 -0700)]
Unicode: fix stupid typo in comment.
R=rsc
CC=golang-dev
https://golang.org/cl/864041
Rob Pike [Wed, 31 Mar 2010 00:51:03 +0000 (17:51 -0700)]
Unicode: provide an ability to supplement the case-mapping tables
in character and string case mapping routines.
Add a custom mapper for Turkish and Azeri.
A more general solution for deriving the case information from Unicode's
SpecialCasing.txt will require more work.
Fixes #703.
R=rsc, rsc1
CC=golang-dev, mdakin
https://golang.org/cl/824043
Andrew Gerrand [Wed, 31 Mar 2010 00:40:57 +0000 (11:40 +1100)]
release 2010-03-30
R=rsc, gri
CC=golang-dev
https://golang.org/cl/821045
Robert Griesemer [Wed, 31 Mar 2010 00:37:42 +0000 (17:37 -0700)]
godoc: support for title and subtitle headers when serving .html docs
and use it to show version (date) of go spec
Fixes #68.
R=rsc
CC=golang-dev, r
https://golang.org/cl/848042
Russ Cox [Wed, 31 Mar 2010 00:00:27 +0000 (17:00 -0700)]
runtime: fix arm build, slightly.
R=r
CC=golang-dev
https://golang.org/cl/842042
Robert Griesemer [Tue, 30 Mar 2010 23:49:51 +0000 (16:49 -0700)]
go/printer: follow-up on CL 802043
- more test cases
- comment fixes
- minor unrelated changes as part of investigation of issue 702
R=rsc
CC=golang-dev
https://golang.org/cl/860041
Russ Cox [Tue, 30 Mar 2010 21:54:32 +0000 (14:54 -0700)]
time: do not segment time strings by character class.
instead use pure substring matching to find template values.
this makes stdZulu unnecessary and allows formats
like "
20060102 030405" (used in some internet protocols).
this makes Parse not handle years < 0000 or > 9999 anymore.
that seems like an okay price to pay, trading hypothetical
functionality for real functionality.
also changed the comments on the Time struct to use the
same reference date as the format and parse routines.
R=r
CC=golang-dev
https://golang.org/cl/833045
Russ Cox [Tue, 30 Mar 2010 21:32:59 +0000 (14:32 -0700)]
syscall: add IPV6 constants
R=r
CC=golang-dev
https://golang.org/cl/848041
Russ Cox [Tue, 30 Mar 2010 20:15:16 +0000 (13:15 -0700)]
single argument panic on non-darwin and in comments
R=r
CC=golang-dev
https://golang.org/cl/800042
Risto Jaakko Saarelma [Tue, 30 Mar 2010 18:46:21 +0000 (11:46 -0700)]
Gofmt preserves newlines in multiline selector expressions.
This is for making the fluent interface idiom usable with gofmt.
R=gri
CC=golang-dev
https://golang.org/cl/802043
Robert Griesemer [Tue, 30 Mar 2010 18:46:06 +0000 (11:46 -0700)]
contributors, authors: add Risto Saarelma
R=rsc
CC=golang-dev
https://golang.org/cl/836043
Rob Pike [Tue, 30 Mar 2010 18:21:50 +0000 (11:21 -0700)]
Effective Go: update maps description regarding lookup of nonexistent entry.
R=rsc, gri, iant
CC=golang-dev
https://golang.org/cl/821044
Robert Griesemer [Tue, 30 Mar 2010 18:19:58 +0000 (11:19 -0700)]
godoc: don't print package clause in -src command-line mode with filtering
R=rsc
CC=golang-dev
https://golang.org/cl/844041
Russ Cox [Tue, 30 Mar 2010 17:53:16 +0000 (10:53 -0700)]
gc: add panic and recover (still unimplemented in runtime)
main semantic change is to enforce single argument to panic.
runtime: change to 1-argument panic.
use String method on argument if it has one.
R=ken2, r
CC=golang-dev
https://golang.org/cl/812043
Russ Cox [Tue, 30 Mar 2010 17:51:11 +0000 (10:51 -0700)]
simplify various code using new map index rule
R=r
CC=golang-dev
https://golang.org/cl/833044
Russ Cox [Tue, 30 Mar 2010 17:44:51 +0000 (10:44 -0700)]
make: use actual dependency for install
otherwise "make install" runs cp unconditionally
R=r
CC=golang-dev
https://golang.org/cl/802044
Russ Cox [Tue, 30 Mar 2010 17:42:13 +0000 (10:42 -0700)]
godefs: fix handling of negative constants
R=r
CC=golang-dev
https://golang.org/cl/849041
Russ Cox [Tue, 30 Mar 2010 17:34:57 +0000 (10:34 -0700)]
single argument panic
note that sortmain.go has been run through hg gofmt;
only the formatting of the day initializers changed.
i'm happy to revert that formatting if you'd prefer.
stop on error in doc/progs/run
R=r
CC=golang-dev
https://golang.org/cl/850041
Russ Cox [Tue, 30 Mar 2010 06:34:59 +0000 (23:34 -0700)]
gc: flush warnings, if any
R=ken2
CC=golang-dev
https://golang.org/cl/811042
Christopher Wedgwood [Tue, 30 Mar 2010 05:51:39 +0000 (22:51 -0700)]
runtime: Remove unused runtime.write from linux/amd64
Also minor reformatting.
R=rsc
CC=golang-dev
https://golang.org/cl/845041
Russ Cox [Tue, 30 Mar 2010 04:48:22 +0000 (21:48 -0700)]
runtime: run deferred calls at Goexit
baby step toward panic+recover.
Fixes #349.
R=r
CC=golang-dev
https://golang.org/cl/825043
Robert Griesemer [Tue, 30 Mar 2010 01:41:55 +0000 (18:41 -0700)]
go/printer: fix a comment
R=rsc
CC=golang-dev
https://golang.org/cl/826042
Robert Griesemer [Tue, 30 Mar 2010 01:06:53 +0000 (18:06 -0700)]
godoc: support for filtering of command-line output in -src mode
+ various minor cleanups
Usage: godoc -src math Sin
R=rsc
CC=golang-dev
https://golang.org/cl/791041
Rob Pike [Tue, 30 Mar 2010 00:37:22 +0000 (17:37 -0700)]
Flags: add user-defined flag types. The change is really no code; it's just publishing
the set() method and add() functions. But we rename add() to Var() for consistency.
Also rename FlagValue to Value for simplicity.
Also, delete the check for multiple settings for a flag. This makes it possible to
define a flag that collects values, such as into a slice of strings.
type flagVar []string
func (f *flagVar) String() string {
return fmt.Sprint(v)
}
func (f *flagVar) Set(value string) bool {
if v == nil {
v = make(flagVar, 1)
} else {
nv := make(flagVar, len(v)+1)
copy(nv, v)
v = nv
}
v[len(v)-1] = value
return true
}
var v flagVar
func main() {
flag.Var(&v, "testV", "multiple values build []string")
flag.Parse()
fmt.Printf("v = %v\n", v)
}
R=rsc
CC=golang-dev
https://golang.org/cl/842041
Russ Cox [Tue, 30 Mar 2010 00:30:07 +0000 (17:30 -0700)]
runtime: a couple more memory stats.
now runtime.MemStats.Sys really is the sum of all the other Sys fields.
R=r
CC=golang-dev
https://golang.org/cl/843041
Russ Cox [Mon, 29 Mar 2010 22:27:59 +0000 (15:27 -0700)]
gc: bug265
Fixes #700.
R=ken2
CC=golang-dev
https://golang.org/cl/839041
Robert Griesemer [Mon, 29 Mar 2010 22:26:07 +0000 (15:26 -0700)]
go/ast: generalized ast filtering
R=rsc
CC=golang-dev
https://golang.org/cl/788041
Rob Pike [Mon, 29 Mar 2010 20:39:16 +0000 (13:39 -0700)]
strings.FIelds: slight simplification.
R=rsc
CC=golang-dev
https://golang.org/cl/833042
Russ Cox [Mon, 29 Mar 2010 20:30:32 +0000 (13:30 -0700)]
fix build
R=gri
CC=golang-dev
https://golang.org/cl/837041
Russ Cox [Mon, 29 Mar 2010 20:06:26 +0000 (13:06 -0700)]
runtime: more malloc statistics
expvar: default publishings for cmdline, memstats
godoc: import expvar
R=r
CC=golang-dev
https://golang.org/cl/815041
Robert Griesemer [Mon, 29 Mar 2010 17:34:16 +0000 (10:34 -0700)]
bug265: test case for issue 700
( http://code.google.com/p/go/issues/detail?id=700 )
R=r
CC=golang-dev
https://golang.org/cl/827042
Roger Peppe [Mon, 29 Mar 2010 17:09:29 +0000 (10:09 -0700)]
strconv.Unquote could wrongly return a nil error on error.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/773041
Andrew Gerrand [Mon, 29 Mar 2010 05:31:41 +0000 (16:31 +1100)]
comment typos
Fixes #698.
Fixes #699.
R=rsc
CC=golang-dev
https://golang.org/cl/824041
Andrew Gerrand [Mon, 29 Mar 2010 02:13:12 +0000 (13:13 +1100)]
comment typo in crypto/rsa/rsa.go
R=rsc
CC=golang-dev
https://golang.org/cl/823041
Andrew Gerrand [Mon, 29 Mar 2010 02:12:08 +0000 (13:12 +1100)]
spec: typo in switch sample code, missing semicolon
Fixes #697
R=r
CC=golang-dev
https://golang.org/cl/804042
Andrew Gerrand [Sun, 28 Mar 2010 23:02:37 +0000 (10:02 +1100)]
http: add HandleFunc as shortcut to Handle(path, HandlerFunc(func))
R=rsc
CC=golang-dev
https://golang.org/cl/763042
Raif S. Naffah [Sun, 28 Mar 2010 06:12:30 +0000 (23:12 -0700)]
xml: use io.ReadByter in place of local readByter
R=cemeyer, rsc
CC=golang-dev
https://golang.org/cl/809041
Dean Prichard [Sat, 27 Mar 2010 06:27:24 +0000 (23:27 -0700)]
arm: fix build
R=rsc
CC=golang-dev
https://golang.org/cl/800041
Russ Cox [Sat, 27 Mar 2010 01:01:02 +0000 (18:01 -0700)]
gc: allow taking address of out parameters
Fixes #186.
R=ken2
CC=golang-dev
https://golang.org/cl/793041
Robert Griesemer [Fri, 26 Mar 2010 23:33:59 +0000 (16:33 -0700)]
fix build
R=r
CC=golang-dev
https://golang.org/cl/790041
Rob Pike [Fri, 26 Mar 2010 23:18:20 +0000 (16:18 -0700)]
regexp: don't return non-nil *Regexp if there is an error.
R=gri
CC=golang-dev
https://golang.org/cl/787041
Russ Cox [Fri, 26 Mar 2010 22:32:53 +0000 (15:32 -0700)]
pprof: dump extra heap information at end of heap profile
R=r
CC=golang-dev
https://golang.org/cl/786041
Russ Cox [Fri, 26 Mar 2010 22:01:29 +0000 (15:01 -0700)]
fix build
TBR=r
CC=golang-dev
https://golang.org/cl/785041
Russ Cox [Fri, 26 Mar 2010 21:48:04 +0000 (14:48 -0700)]
godoc: export pprof debug information
R=gri
CC=golang-dev
https://golang.org/cl/784041
Russ Cox [Fri, 26 Mar 2010 21:20:50 +0000 (14:20 -0700)]
prof: install gopprof too
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
https://golang.org/cl/783041
Russ Cox [Fri, 26 Mar 2010 21:15:30 +0000 (14:15 -0700)]
runtime: run all finalizers in a single goroutine.
eliminate second pass of mark+sweep
by scanning finalizer table specially.
R=r
CC=golang-dev
https://golang.org/cl/782041
Charles L. Dorian [Fri, 26 Mar 2010 21:09:39 +0000 (14:09 -0700)]
math: add J1, Y1, Jn and Yn (Bessel functions)
Also amend j0.go (variable name conflict, small corrections).
R=rsc
CC=golang-dev
https://golang.org/cl/769041
Giles Lean [Fri, 26 Mar 2010 20:23:54 +0000 (13:23 -0700)]
syscall: Create syscall_bsd.go for code used by Darwin and other *BSDs
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
https://golang.org/cl/751041
Robert Griesemer [Fri, 26 Mar 2010 20:05:04 +0000 (13:05 -0700)]
bytes, strings: IndexOfAny
+ first use in go/doc
R=r
CC=golang-dev
https://golang.org/cl/781041
Rob Pike [Fri, 26 Mar 2010 16:56:57 +0000 (09:56 -0700)]
fix spelling of align
R=rsc
CC=golang-dev
https://golang.org/cl/778041
Firmansyah Adiputra [Fri, 26 Mar 2010 16:21:09 +0000 (09:21 -0700)]
xgb: fix request length and request size.
R=nigeltao_golang, rsc
CC=golang-dev
https://golang.org/cl/759041
Rob Pike [Fri, 26 Mar 2010 00:59:59 +0000 (17:59 -0700)]
spec changes for panic and recover.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/763041
Robert Griesemer [Thu, 25 Mar 2010 23:59:02 +0000 (16:59 -0700)]
godoc: don't convert multi-line functions into one-liners by default
- 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
https://golang.org/cl/758041
Rob Pike [Thu, 25 Mar 2010 21:27:24 +0000 (14:27 -0700)]
bug264 didn't report BUG correctly, caused "fail" from test/run
R=rsc, gri
CC=golang-dev
https://golang.org/cl/762041
Russ Cox [Thu, 25 Mar 2010 21:05:54 +0000 (14:05 -0700)]
make alignment rules match 8g, just like 6c matches 6g.
R=ken2
CC=golang-dev
https://golang.org/cl/760042
Russ Cox [Thu, 25 Mar 2010 19:47:43 +0000 (12:47 -0700)]
gc: more syntax errors
R=r
CC=golang-dev
https://golang.org/cl/731041
Rob Pike [Thu, 25 Mar 2010 18:50:07 +0000 (11:50 -0700)]
Add strconv.Atob, Btoa.
Fixes #639
R=rsc
CC=golang-dev
https://golang.org/cl/755041
Ian Lance Taylor [Thu, 25 Mar 2010 18:45:18 +0000 (11:45 -0700)]
Support #pragma dynexport on OS X.
R=rsc
CC=golang-dev
https://golang.org/cl/733041
Robert Griesemer [Thu, 25 Mar 2010 17:01:51 +0000 (10:01 -0700)]
bug264: test case for issue 692
R=r
CC=golang-dev
https://golang.org/cl/715042