Robert Griesemer
6358e1faf6
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
2010-03-25 16:59:02 -07:00
Rob Pike
c93273c0f5
bug264 didn't report BUG correctly, caused "fail" from test/run
...
R=rsc, gri
CC=golang-dev
https://golang.org/cl/762041
2010-03-25 14:27:24 -07:00
Russ Cox
7fbf9fcba9
make alignment rules match 8g, just like 6c matches 6g.
...
R=ken2
CC=golang-dev
https://golang.org/cl/760042
2010-03-25 14:05:54 -07:00
Russ Cox
78c27ed650
gc: more syntax errors
...
R=r
CC=golang-dev
https://golang.org/cl/731041
2010-03-25 12:47:43 -07:00
Rob Pike
4b40426a90
Add strconv.Atob, Btoa.
...
Fixes #639
R=rsc
CC=golang-dev
https://golang.org/cl/755041
2010-03-25 11:50:07 -07:00
Ian Lance Taylor
732f3919ab
Support #pragma dynexport on OS X.
...
R=rsc
CC=golang-dev
https://golang.org/cl/733041
2010-03-25 11:45:18 -07:00
Robert Griesemer
a291e998c1
bug264: test case for issue 692
...
R=r
CC=golang-dev
https://golang.org/cl/715042
2010-03-25 10:01:51 -07:00
Dean Prichard
e1fa05f59e
arm: disable some problematic tests
...
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
https://golang.org/cl/749041
2010-03-25 00:23:07 -07:00
Christopher Wedgwood
7f2ea938ed
syscall: Implement SetsockoptString
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/739042
2010-03-24 22:36:38 -07:00
Nigel Tao
16e543163b
Sydney University tech talk.
...
R=adg
CC=golang-dev
https://golang.org/cl/744042
2010-03-25 16:15:52 +11:00
Russ Cox
d2cdb24786
gc: tests omitted from the last bug fix
...
R=ken2
CC=golang-dev
https://golang.org/cl/748041
2010-03-24 22:12:59 -07:00
Giles Lean
729ccb5751
syscall: bring generated files zsyscall_darwin_*.go
...
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
https://golang.org/cl/705043
2010-03-24 21:59:21 -07:00
Russ Cox
a00917ca1c
test/mallocfin: relax test to 80% from 90%.
...
R=r
CC=golang-dev
https://golang.org/cl/725042
2010-03-24 19:52:07 -07:00
Alex Brainman
a24cf69fd8
runtime: fix mingw build, implement missing destroylock()
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/747041
2010-03-24 18:03:10 -07:00
Ken Thompson
623dfd1b07
depricate panicln
...
R=rsc
CC=golang-dev
https://golang.org/cl/743041
2010-03-24 16:53:54 -07:00
Rob Pike
325cf8ef21
delete all uses of panicln by rewriting them using panic or,
...
in the tests, println+panic.
gofmt some tests too.
R=rsc
CC=golang-dev
https://golang.org/cl/741041
2010-03-24 16:46:53 -07:00
Robert Griesemer
acfd6d5f05
godoc: show relative file names without leading '/' (per r's request)
...
- 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
https://golang.org/cl/740041
2010-03-24 16:28:59 -07:00
Rob Pike
bf9b8f2c17
Delete panicln from the spec.
...
R=rsc, gri, iant, ken2
CC=golang-dev
https://golang.org/cl/738041
2010-03-24 15:17:00 -07:00
Robert Griesemer
60482f06d0
godoc: use http GET for remote search instead of rpc
...
(this will allow the use of golang.org for remote
searches)
R=rsc
CC=golang-dev
https://golang.org/cl/734041
2010-03-24 14:51:55 -07:00
Russ Cox
6eb251f244
runtime: malloc sampling, pprof interface
...
R=r
CC=golang-dev
https://golang.org/cl/719041
2010-03-24 09:40:09 -07:00
Charles L. Dorian
6b6c3993d5
math: add J0 and Y0 (Bessel functions)
...
R=rsc
CC=golang-dev
https://golang.org/cl/661044
2010-03-24 09:25:49 -07:00
Russ Cox
1c7cc5bd7a
cc: fix typo
...
R=iant
CC=golang-dev
https://golang.org/cl/720041
2010-03-24 08:59:09 -07:00
Russ Cox
596c16e045
runtime: add memory profiling, disabled.
...
no way to get the data out yet.
add prototype for runtime.Callers,
missing from last CL.
R=r
CC=golang-dev
https://golang.org/cl/713041
2010-03-23 20:48:23 -07:00
Dean Prichard
72bc37c122
arm: fix build
...
R=kaib, rsc
CC=golang-dev
https://golang.org/cl/627045
2010-03-23 18:13:20 -07:00
Andrey Mirtchovski
456642adb5
cmd/goinstall: include command name in error reporting (usually missing software or incorrect $PATH)
...
R=rsc
CC=golang-dev
https://golang.org/cl/695041
2010-03-23 18:13:16 -07:00
Russ Cox
eaf45f2d56
gc: fix build in France
...
Fixes #626 .
R=ken2
CC=golang-dev
https://golang.org/cl/714041
2010-03-23 18:11:21 -07:00
Fumitoshi Ukai
371496e0b8
websocket: implement new protocol
...
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
https://golang.org/cl/583041
2010-03-23 18:09:24 -07:00
Giles Lean
2ab9114dd7
Trivial: remove duplicate line #include <sys/types.h>
...
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/645044
2010-03-23 17:52:16 -07:00
Russ Cox
556ae65d36
fix build - unused import
...
R=gri
CC=golang-dev
https://golang.org/cl/711041
2010-03-23 17:34:13 -07:00
Robert Griesemer
48f0cd2bd5
go spec: modification of defer statement
...
R=r, rsc, ken2, iant
CC=golang-dev
https://golang.org/cl/708041
2010-03-23 17:30:14 -07:00
Rob Pike
6b3031beaa
FAQ: Protocol buffers are now supported. Update the entry.
...
R=rsc, adg
CC=golang-dev
https://golang.org/cl/702042
2010-03-23 17:03:28 -07:00
Russ Cox
2b7d147f1a
runtime: add Callers
...
cut copies of traceback from 6 to 1.
R=r
CC=golang-dev
https://golang.org/cl/703041
2010-03-23 17:01:17 -07:00
Russ Cox
32c39fa1b7
go/printer: avoid reflect in print
...
R=gri
CC=golang-dev
https://golang.org/cl/704041
2010-03-23 16:56:48 -07:00
Robert Griesemer
29f1ca528b
Go spec: map indexing never raises a runtime exception.
...
Also: Actual map key must be assignment-compatible with
formal map key type.
Fixes #357 .
R=r, iant, rsc, ken2
CC=golang-dev
https://golang.org/cl/673042
2010-03-23 14:01:51 -07:00
Kyle Consalus
a65a56ec1f
xml: add line numbers to syntax errors.
...
R=rsc
CC=golang-dev
https://golang.org/cl/699041
2010-03-23 13:20:16 -07:00
Ken Thompson
e781303e27
maps access to a missing key
...
will return the "zero" value
R=rsc
CC=golang-dev
https://golang.org/cl/700041
2010-03-23 13:00:02 -07:00
Kyle Consalus
66caa38d49
xml: add CopyToken
...
R=rsc
CC=golang-dev
https://golang.org/cl/634042
2010-03-23 09:43:20 -07:00
Ian Lance Taylor
9e0ae94e72
Add support for #pragma dynexport.
...
R=rsc
CC=golang-dev
https://golang.org/cl/661043
2010-03-23 06:46:30 -07:00
Andrew Gerrand
5379a957f4
release.2010-03-22 part two
...
R=rsc
CC=golang-dev
https://golang.org/cl/691041
2010-03-23 14:18:57 +11:00
Ian Lance Taylor
f54d73b880
Rename dynld to dynimport throughout.
...
Cgo users will need to rerun cgo.
R=rsc
CC=golang-dev
https://golang.org/cl/692041
2010-03-22 19:58:55 -07:00
Andrew Gerrand
a1723941e0
release.2010-03-22
...
R=rsc
CC=golang-dev
https://golang.org/cl/643042
2010-03-23 12:56:39 +11:00
Russ Cox
4408659e81
gc: various map-related bug fixes
...
Fixes #687 .
R=ken2
CC=golang-dev
https://golang.org/cl/680042
2010-03-22 18:51:14 -07:00
Andrew Gerrand
51a7f1c9d6
ast/printer: support for printing ast.Spec nodes
...
R=gri
CC=golang-dev
https://golang.org/cl/682041
2010-03-23 09:00:47 +11:00
Russ Cox
2e5fe5a14c
goinstall: let git/hg/svn create the final directory element
...
R=r
CC=golang-dev
https://golang.org/cl/634044
2010-03-20 22:38:06 -07:00
Russ Cox
2243fe9fc1
A+C: add Kyle Consalus (individual CLA)
...
R=r
CC=golang-dev
https://golang.org/cl/662041
2010-03-20 22:37:53 -07:00
Russ Cox
aceba042d6
libmach: more info when memory reads fail on Darwin
...
R=r
CC=golang-dev
https://golang.org/cl/604043
2010-03-20 22:37:23 -07:00
Ken Thompson
8021296179
issue 682
...
complex DATA statement fo
initialization of complex variables.
R=rsc
CC=golang-dev
https://golang.org/cl/634045
2010-03-20 18:50:01 -07:00
Robert Griesemer
6c8fdbe8c7
godoc: line numbers for all remote search results
...
Instead of returning the index lookup result via
RPC which has to be corrected for the client,
simply render it on the server and return the
final output.
R=rsc, r
CC=golang-dev
https://golang.org/cl/669041
2010-03-19 22:48:08 -07:00
Russ Cox
e8fb0b014c
godoc: revert change 5089, per gri's instructions
...
R=gri
CC=golang-dev
https://golang.org/cl/630043
2010-03-19 17:46:18 -07:00
Andrew Gerrand
7190fdd3bf
website: add Go Blog widget to frontpage,
...
add Blog and Wiki links to sideba
R=r, rsc, gri
CC=golang-dev
https://golang.org/cl/611042
2010-03-20 11:42:57 +11:00