Alex Brainman
d5a8647d80
syscall: windows SysAlloc should use stdcall_raw not syscall
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/1382041
2010-05-28 11:47:09 -07:00
Alex Brainman
12923e43f2
syscall: windows syscall trace to assist debugging
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/1383041
2010-05-28 11:46:10 -07:00
Rob Pike
0580deafaf
fmt.Scan: add Fscan and Fscanln and make Scan and Scanln
...
read from standard input. Add description of scanning to
the package comment.
R=rsc
CC=golang-dev
https://golang.org/cl/1390041
2010-05-28 11:29:27 -07:00
Robert Griesemer
31f2503cde
go spec: Disallow &a notation to obtain a slice
...
from an array; one needs to write a[0:] instead.
R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/1365041
2010-05-27 17:23:25 -07:00
Roger Peppe
1fda1323d4
Add Rectangle.Eq and Point.In.
...
Fix Rectangle.Clip.
It could return a non-canonical rectangle if its arguments
did not overlap.
e.g. Rect(0, 0, 10, 10).Clip(Rect(0, 20, 10, 30)) -> Rect(0, 20, 10, 10)
R=rsc, r
CC=golang-dev, golang-dev
https://golang.org/cl/1290041
2010-05-27 17:19:47 -07:00
Andrew Gerrand
b5402023ab
release.2010-05-27 tag
...
R=rsc
CC=golang-dev
https://golang.org/cl/1363041
2010-05-27 16:52:46 -07:00
Andrew Gerrand
371bf8e61b
release.2010-05-27
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/1354041
2010-05-27 16:50:31 -07:00
Andrew Gerrand
1ca99c84f8
golang.org: added Resources page, re-organized left hand panel.
...
R=r
CC=golang-dev
https://golang.org/cl/1309045
2010-05-27 16:47:42 -07:00
Russ Cox
bb84f4b5d2
changes &x -> x[0:] for array to slice conversion
...
R=gri
CC=golang-dev
https://golang.org/cl/1326042
2010-05-27 14:51:47 -07:00
Rob Pike
7ee6d44e4f
fmt.Scan: custom formatters
...
R=rsc
CC=golang-dev
https://golang.org/cl/1315042
2010-05-26 18:16:41 -07:00
Rob Pike
6965b407dd
fmt.Scan: custom formatters
...
R=rsc
CC=golang-dev
https://golang.org/cl/1315042
2010-05-26 18:15:09 -07:00
Robert Griesemer
a4129988a4
godoc: collect package comments from all package files, not just the first one found
...
R=r
CC=golang-dev
https://golang.org/cl/1331041
2010-05-26 13:44:27 -07:00
Adam Langley
f199f292e7
big: add ModInverse.
...
ModInverse is just a small wrapper around GcdInt, but it's nice to
have in order to be clear about what one is doing in other code.
R=gri, agl1
CC=golang-dev
https://golang.org/cl/1244045
2010-05-26 15:58:58 -04:00
Rob Pike
5b77928478
fmt: fix 386 build. error strings differ for overflow on 386.
...
R=gri
CC=golang-dev
https://golang.org/cl/1316042
2010-05-26 10:01:52 -07:00
Rob Pike
71f130f55c
fmt.Scan, fmt.Scanln: Start of a simple scanning API in the fmt package.
...
Still to do:
- composite types
- user-defined scanners
- format-driven scanning
The package comment will be updated when more of the functionality is in place.
R=rsc
CC=golang-dev
https://golang.org/cl/1252045
2010-05-25 21:02:35 -07:00
Evan Shaw
67d30bb696
spec: Fix link to fallthrough statements
...
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/1303041
2010-05-25 18:24:07 -07:00
Andrew Gerrand
b524fdc2e2
godashboard: change behaviour of top button
...
R=gri
CC=golang-dev
https://golang.org/cl/1253046
2010-05-25 14:22:12 -07:00
Robert Griesemer
c7e03a32b3
go spec: minor fix, to match conversion rules 4 and 5
...
R=rsc
CC=golang-dev
https://golang.org/cl/1270042
2010-05-24 21:25:01 -07:00
Nigel Tao
0c662f60a5
Optimize exp/draw/x11 flusher inner loop.
...
On my laptop, time to prepare and write 800x600 pixels over the
socket falls from 125-ish ms to 80-ish ms.
Thanks to Roger Peppe for the suggestion.
R=r
CC=golang-dev
https://golang.org/cl/1228044
2010-05-24 19:32:42 -07:00
Russ Cox
6a060200cc
8g: out of register bug
...
Fixes #806 .
R=ken2
CC=golang-dev
https://golang.org/cl/1281042
2010-05-24 17:22:51 -07:00
Russ Cox
ea941f09bf
gc: more accurate error description
...
R=ken2
CC=golang-dev
https://golang.org/cl/1284041
2010-05-24 17:07:51 -07:00
Russ Cox
566f598046
fix build - nacl stubs
...
TBR=nigeltao
CC=golang-dev
https://golang.org/cl/1259042
2010-05-24 17:00:21 -07:00
Russ Cox
8c2bc4419b
gc: fix shift/reduce conflict in go.y export syntax
...
Fixes #771 .
R=ken2
CC=golang-dev
https://golang.org/cl/1267042
2010-05-24 16:55:23 -07:00
Russ Cox
9fc9246bf3
gc: bug281 - bad overlap in stack copy
...
Fixes #807 .
R=ken2
CC=golang-dev
https://golang.org/cl/1283041
2010-05-24 16:54:24 -07:00
Christopher Wedgwood
5c19c4e5e3
net: udp, implement BindToDevice
...
R=rsc
CC=golang-dev, r
https://golang.org/cl/1271041
2010-05-24 16:53:23 -07:00
Evan Shaw
751fc425ee
big: Rat test improvements
...
R=gri
CC=golang-dev
https://golang.org/cl/1270041
2010-05-24 16:38:41 -07:00
Russ Cox
d14baee96e
6g: avoid unnecessary conversion in shift bounds check
...
R=ken2
CC=golang-dev
https://golang.org/cl/1278042
2010-05-24 15:30:53 -07:00
Russ Cox
426fef5585
fix build - forgot golden.out
...
R=ken2
CC=golang-dev
https://golang.org/cl/1274042
2010-05-24 15:26:20 -07:00
Russ Cox
2e9b67afa6
gc: bug277 - new conversion syntax
...
R=ken2
CC=golang-dev
https://golang.org/cl/1220046
2010-05-24 15:25:30 -07:00
Russ Cox
43c0a46ac6
gc: bug280
...
Fixes #808 .
R=ken2
CC=golang-dev
https://golang.org/cl/1273042
2010-05-24 15:25:09 -07:00
Nigel Tao
c95e11db56
Fix typo in exp/draw/x11.
...
R=rsc
CC=golang-dev
https://golang.org/cl/1282041
2010-05-24 15:07:47 -07:00
Robert Griesemer
934a520d75
go spec: fix and clarify syntax of conversions
...
Fixes #803 .
R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/1281041
2010-05-24 14:58:26 -07:00
Peter Williams
1d6eb74697
codereview: work better with mq
...
R=rsc
CC=golang-dev
https://golang.org/cl/1140043
2010-05-24 14:37:00 -07:00
Russ Cox
e30bf71b6c
A+C: add Peter Williams (individual CLA)
...
R=adg
CC=golang-dev
https://golang.org/cl/1221043
2010-05-24 14:32:08 -07:00
Russ Cox
e7561de09a
spec: index of non-addressable array is not addressable
...
Motivated by:
func f() []int
func g() [10]int
f()[1] = 1 // ok
g()[1] = 1 // ERROR
R=gri
CC=golang-dev
https://golang.org/cl/1278041
2010-05-24 14:31:43 -07:00
Russ Cox
21518ea2af
runtime: free old hashmap pieces during resizing
...
R=r
CC=golang-dev
https://golang.org/cl/1254044
2010-05-24 14:31:10 -07:00
Russ Cox
84edc2e980
libmach: skip __nl_symbol_ptr section on OS X
...
R=r
CC=golang-dev
https://golang.org/cl/1275042
2010-05-24 14:30:51 -07:00
Russ Cox
5e253645d2
gc: bug278
...
Fixes #804 .
R=ken2
CC=golang-dev
https://golang.org/cl/1224045
2010-05-24 14:22:54 -07:00
Russ Cox
80ac15ec12
gc: fix unsafe.Sizeof on ideal constants
...
R=ken2
CC=golang-dev
https://golang.org/cl/1280041
2010-05-24 14:18:15 -07:00
Robert Griesemer
2034f72139
bug277: tests for conversion syntax
...
- accepted by gccgo, gofmt
- some not accepted by 6g
- spec revision forthcoming
R=rsc
CC=golang-dev
https://golang.org/cl/1279041
2010-05-24 13:57:34 -07:00
Alex Brainman
2a1ee42e2b
fix windows build
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/1209048
2010-05-24 11:48:14 -07:00
Nigel Tao
2d8aee45b8
Make draw/x11 treat $DISPLAY the same way x-go-bindings does.
...
This ought to make draw/x11 work on a Mac.
R=rsc
CC=golang-dev
https://golang.org/cl/1265042
2010-05-24 11:44:09 -07:00
Adam Langley
eadebba36f
big: prevent errors in Exp in the face of aliasing
...
R=gri
CC=golang-dev, golang-dev
https://golang.org/cl/1244044
2010-05-24 14:32:55 -04:00
Andrew Gerrand
977475fd49
syscall: update freebsd_amd64
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/1268041
2010-05-24 09:58:59 -07:00
Evan Shaw
1dabecec41
kate: convert isn't a built in function
...
I have no idea how that got in there.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/1240046
2010-05-23 14:33:44 -07:00
Evan Shaw
cb4e9f8508
spec: Fix a code tag
...
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/1266042
2010-05-23 11:21:47 -07:00
Nigel Tao
e974fb949e
When making images, allocate one big buffer instead of many small ones.
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/1267041
2010-05-23 11:12:00 -07:00
Robert Griesemer
72fd5c80f8
go/printer, gofmt: fix printing of labels,
...
apply gofmt to src, misc
Fixes #752 .
R=rsc
CC=golang-dev
https://golang.org/cl/1240044
2010-05-21 20:25:08 -07:00
Robert Griesemer
38b2d10bb2
test/hilbert.go: convert to test case and benchmark for big.Rat
...
R=rsc
CC=golang-dev
https://golang.org/cl/1231044
2010-05-21 20:20:17 -07:00
Russ Cox
88b308a265
roll back 1193046 - fix build
...
R=dho
CC=golang-dev
https://golang.org/cl/1257043
2010-05-21 18:29:18 -07:00