]>
Cypherpunks repositories - gostls13.git/log
Russ Cox [Thu, 1 Jul 2010 03:34:31 +0000 (20:34 -0700)]
gc: do not crash on bad [...]T
Fixes #879.
R=ken2
CC=golang-dev
https://golang.org/cl/
1678048
Daniel Fleischman [Thu, 1 Jul 2010 02:57:26 +0000 (19:57 -0700)]
template: fix typo in doc comment
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
1665047
Russ Cox [Thu, 1 Jul 2010 01:03:09 +0000 (18:03 -0700)]
bytes, strings: add Replace
This is the Replace I suggested in the review of CL
1114041 .
It's true that we already have
regexp.MustCompile(regexp.QuoteMeta(old)).ReplaceAll(s, new)
but because this Replace is doing a simpler job it is
simpler to call and inherently more efficient.
I will add the bytes implementation and tests to the
CL after the strings one has been reviewed.
R=r, cw
CC=golang-dev
https://golang.org/cl/
1731048
Adam Langley [Wed, 30 Jun 2010 22:05:38 +0000 (18:05 -0400)]
x509: fix English.
(addressing comments from
1741045 )
R=r
CC=golang-dev
https://golang.org/cl/
1678047
Adam Langley [Wed, 30 Jun 2010 22:02:31 +0000 (18:02 -0400)]
x509: support non-self-signed certs.
For generating non-self-signed certs we need to be able to specify a
public key (for the signee) which is different from the private key (of
the signer).
R=rsc
CC=golang-dev
https://golang.org/cl/
1741045
Ivan Krasin [Wed, 30 Jun 2010 21:58:21 +0000 (14:58 -0700)]
syscall: add socketpair
R=rsc
CC=golang-dev
https://golang.org/cl/
1319042
Charles L. Dorian [Wed, 30 Jun 2010 21:44:27 +0000 (14:44 -0700)]
math: amd64 versions of exp and fabs
Benchmark of exp to 28 ns/op from 64 ns/op,
on 2.53GHz Intel Core 2 Duo.
R=rsc
CC=golang-dev
https://golang.org/cl/
1594041
Peter Mundy [Wed, 30 Jun 2010 20:52:34 +0000 (13:52 -0700)]
io/ioutil.TempFile for Windows
Fixes #834.
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/
1686047
Ian Lance Taylor [Wed, 30 Jun 2010 20:14:46 +0000 (13:14 -0700)]
io: Avoid race condition in pipe.
One goroutine started up and was waiting in rw. Then another
goroutine decided to close the pipe. The closing goroutine
stalled calling p.io.Lock() in pipeHalf.close. (This happened
in gccgo). If the closing goroutine had been able to set the
ioclosed flag, it would have gone on to tell the runner that
the pipe was closed, which would then send an EINVAL to the
goroutine sleeping in rw. Unlocking p.io before sleeping in
rw avoids the race.
R=rsc, rsc1
CC=golang-dev
https://golang.org/cl/
1682048
Andrew Gerrand [Wed, 30 Jun 2010 08:57:27 +0000 (18:57 +1000)]
http: client_test nil pointer fix
Fixes #893.
R=rsc
CC=golang-dev
https://golang.org/cl/
1687045
Andrew Gerrand [Wed, 30 Jun 2010 07:56:51 +0000 (17:56 +1000)]
godoc: canonicalize codewalk paths
R=rsc
CC=golang-dev
https://golang.org/cl/
1729046
Andrew Gerrand [Wed, 30 Jun 2010 06:56:30 +0000 (16:56 +1000)]
doc/codewalk: Share Memory By Communicating
R=r, rsc
CC=golang-dev
https://golang.org/cl/
1727043
Alex Brainman [Wed, 30 Jun 2010 05:29:09 +0000 (22:29 -0700)]
time: implement timezones for windows
Fixes #761.
R=PeterGo, adg, rsc
CC=golang-dev
https://golang.org/cl/
1121042
Andrew Gerrand [Wed, 30 Jun 2010 04:42:58 +0000 (14:42 +1000)]
Contributors: add Kirklin McDonald (a Google employee)
R=gri
CC=golang-dev
https://golang.org/cl/
1679045
Alex Brainman [Wed, 30 Jun 2010 03:23:39 +0000 (20:23 -0700)]
net: initial attempt to implement windows version
R=rsc, Mateusz Czaplinski
CC=golang-dev
https://golang.org/cl/
1600041
Russ Cox [Wed, 30 Jun 2010 01:59:48 +0000 (18:59 -0700)]
ld: fix implementation of -u
R=r
CC=golang-dev
https://golang.org/cl/
1678046
Kirklin McDonald [Wed, 30 Jun 2010 00:54:24 +0000 (10:54 +1000)]
net: add support for DNS SRV requests.
Fixes #758.
R=rsc, adg
CC=golang-dev
https://golang.org/cl/
1078041
Russ Cox [Wed, 30 Jun 2010 00:47:27 +0000 (17:47 -0700)]
runtime: fix scheduling bug - world wasn't stopping
Fixes #886.
R=r
CC=golang-dev
https://golang.org/cl/
1667051
Rob Pike [Tue, 29 Jun 2010 23:51:56 +0000 (16:51 -0700)]
strconv: fix %.1f, 0.09
Fixes #822.
Credit to https://golang.org/cl/
1442041 by danielfleischman
R=rsc
CC=golang-dev
https://golang.org/cl/
1738047
Rob Pike [Tue, 29 Jun 2010 23:39:17 +0000 (16:39 -0700)]
strconv: fix %.2g, 40
Fixes #845.
R=rsc
CC=golang-dev
https://golang.org/cl/
1673049
Ken Thompson [Tue, 29 Jun 2010 19:48:24 +0000 (12:48 -0700)]
code gen bug in len(nil) and cap(nil)
fixes #892
R=rsc
CC=golang-dev
https://golang.org/cl/
1745042
Vinu Rajashekhar [Tue, 29 Jun 2010 19:04:04 +0000 (12:04 -0700)]
Move the function Run() back into fd.go.
R=iant
CC=golang-dev, rsc
https://golang.org/cl/
1748041
Rob Pike [Tue, 29 Jun 2010 17:14:32 +0000 (10:14 -0700)]
gob: a couple of tiny simplifications using Kind()
R=rsc
CC=golang-dev
https://golang.org/cl/
1695046
Alex Brainman [Tue, 29 Jun 2010 14:12:14 +0000 (07:12 -0700)]
runtime: fix windows build
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/
1747041
Nigel Tao [Tue, 29 Jun 2010 00:54:41 +0000 (10:54 +1000)]
exp/draw/x11: implement the mapping from keycodes to keysyms.
R=rsc
CC=golang-dev, rog
https://golang.org/cl/
1739042
Ian Lance Taylor [Tue, 29 Jun 2010 00:14:17 +0000 (17:14 -0700)]
Only catch all signals if os/signal package imported.
Fixes #776.
R=rsc
CC=golang-dev
https://golang.org/cl/
1745041
Rob Pike [Tue, 29 Jun 2010 00:12:09 +0000 (17:12 -0700)]
netchan: use gob DecodeValue to eliminate the need for a pointer value
in Import and Export.
R=rsc
CC=golang-dev
https://golang.org/cl/
1707047
Rob Pike [Tue, 29 Jun 2010 00:11:54 +0000 (17:11 -0700)]
gob: add DecodeValue and EncodeValue
R=rsc
CC=golang-dev
https://golang.org/cl/
1698045
Andrew Gerrand [Mon, 28 Jun 2010 23:48:35 +0000 (09:48 +1000)]
A+C for Peter Mundy (peterGo)
R=rsc
CC=golang-dev
https://golang.org/cl/
1737044
Ken Thompson [Mon, 28 Jun 2010 23:30:55 +0000 (16:30 -0700)]
compiler fatal error in switch.
fixes #867.
R=rsc
CC=golang-dev
https://golang.org/cl/
1691045
Peter Mundy [Mon, 28 Jun 2010 23:11:02 +0000 (09:11 +1000)]
syscall: Add syscall_bsd.go to zsycall_freebsd_386.go
Revision:
5885c9d10f created syscall_bsd.go for code used
by Darwin and other *BSDs, which should have included
FreeBSD. mksyscall.sh to generate new zsyscall_freebsd_386.go.
Fixes #862.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
1701048
Rob Pike [Mon, 28 Jun 2010 23:05:54 +0000 (16:05 -0700)]
rpc: allow non-struct args and reply (they must still be pointers)
R=rsc
CC=golang-dev
https://golang.org/cl/
1722046
Rob Pike [Mon, 28 Jun 2010 22:59:54 +0000 (15:59 -0700)]
netchan: allow chan of basic types now that gob can handle such
R=rsc
CC=golang-dev
https://golang.org/cl/
1741041
Rob Pike [Mon, 28 Jun 2010 21:11:38 +0000 (14:11 -0700)]
fmt.Printf: fix bug in handling of %#v.
nice side effect: slices now obey their format verb. example:
fmt.Printf("%q\n", []string{"a"})
R=rsc
CC=golang-dev
https://golang.org/cl/
1729045
Rob Pike [Mon, 28 Jun 2010 21:09:47 +0000 (14:09 -0700)]
gob: allow transmission of things other than structs at the top level.
also fix a bug handling nil maps: before, would needlessly send empty map
R=rsc
CC=golang-dev
https://golang.org/cl/
1739043
Vinu Rajashekhar [Mon, 28 Jun 2010 20:58:56 +0000 (13:58 -0700)]
Move the functions, newPollServer and Run, from fd.go
to a new source file.
R=iant, rsc
CC=golang-dev
https://golang.org/cl/
1670046
Ken Thompson [Mon, 28 Jun 2010 19:19:12 +0000 (12:19 -0700)]
8g compiler missing call to splitclean().
fixes #887.
R=rsc
CC=golang-dev
https://golang.org/cl/
1675050
Ken Thompson [Mon, 28 Jun 2010 00:37:01 +0000 (17:37 -0700)]
optimization of static initialization
R=rsc
CC=golang-dev
https://golang.org/cl/
1677049
Rob Pike [Thu, 24 Jun 2010 22:24:25 +0000 (15:24 -0700)]
fmt.Scan: fix handling of EOFs.
Fixes #876.
R=rsc
CC=golang-dev
https://golang.org/cl/
1675048
Rob Pike [Thu, 24 Jun 2010 22:07:28 +0000 (15:07 -0700)]
gob: add support for complex numbers
R=rsc
CC=golang-dev
https://golang.org/cl/
1708048
Russ Cox [Wed, 23 Jun 2010 14:55:50 +0000 (10:55 -0400)]
gc: fix crash for nested complex division
R=ken2
CC=golang-dev
https://golang.org/cl/
1720043
Andrew Gerrand [Wed, 23 Jun 2010 14:27:51 +0000 (15:27 +0100)]
godashboard: add Projects page
R=rsc, r, gri
CC=golang-dev
https://golang.org/cl/
1476041
Christopher Wedgwood [Wed, 23 Jun 2010 05:08:27 +0000 (15:08 +1000)]
Build draw/x11. Skip for test.
R=nigeltao_golang
CC=golang-dev, r, rsc
https://golang.org/cl/
1690043
Rob Pike [Tue, 22 Jun 2010 23:11:21 +0000 (16:11 -0700)]
regexp: restore accidentally deleted test item.
R=rsc
CC=golang-dev
https://golang.org/cl/
1714044
Rob Pike [Tue, 22 Jun 2010 23:02:14 +0000 (16:02 -0700)]
regexp: bug fix: need to track whether match begins with fixed prefix.
Fixes #872.
R=rsc
CC=golang-dev
https://golang.org/cl/
1731043
Rob Pike [Tue, 22 Jun 2010 21:56:16 +0000 (14:56 -0700)]
debug/dwarf: update PDF link.
Fixes #881.
R=iant
CC=golang-dev
https://golang.org/cl/
1696044
Andrew Gerrand [Tue, 22 Jun 2010 14:22:49 +0000 (15:22 +0100)]
misc/vim: always override filetype detection for .go files
R=adg
CC=golang-dev
https://golang.org/cl/
1665043
Russ Cox [Tue, 22 Jun 2010 03:53:49 +0000 (20:53 -0700)]
runtime: split extern.go into debug.go, extern.go, sig.go.
move mal next to the other malloc functions.
R=r
CC=golang-dev
https://golang.org/cl/
1701045
Russ Cox [Tue, 22 Jun 2010 02:53:08 +0000 (19:53 -0700)]
big, bytes: move assembly externs to separate file
to make it easier to build package without assembly.
R=r, r2
CC=golang-dev
https://golang.org/cl/
1680045
Russ Cox [Tue, 22 Jun 2010 02:52:30 +0000 (19:52 -0700)]
net: move Dial, Listen out of net.go.
now net.go is only type definitions, not active code.
R=r
CC=golang-dev
https://golang.org/cl/
1708046
Russ Cox [Tue, 22 Jun 2010 01:03:49 +0000 (18:03 -0700)]
ld: add -u flag to check safe bits; discard old -u, -x flags
R=r, r2
CC=golang-dev
https://golang.org/cl/
1707043
Russ Cox [Tue, 22 Jun 2010 01:03:25 +0000 (18:03 -0700)]
runtime: delete old types
R=r
CC=golang-dev
https://golang.org/cl/
1715043
Christopher Wedgwood [Mon, 21 Jun 2010 23:40:44 +0000 (16:40 -0700)]
net: Fix ICMP test.
Ping IDs should be limited to 16-bits. Fix failure printing.
R=rsc
CC=golang-dev, jean-christophe smith <jeanchristophe.smith
https://golang.org/cl/
1682043
Russ Cox [Mon, 21 Jun 2010 23:34:55 +0000 (16:34 -0700)]
test: another listen on ":0" -> "127.0.0.1:0"
R=r
CC=golang-dev
https://golang.org/cl/
1664043
Andrew Gerrand [Mon, 21 Jun 2010 22:22:14 +0000 (23:22 +0100)]
release.2010-06-21 tag
R=rsc
CC=golang-dev
https://golang.org/cl/
1684046
Andrew Gerrand [Mon, 21 Jun 2010 22:16:38 +0000 (23:16 +0100)]
release.2010-06-21
R=rsc, r
CC=golang-dev
https://golang.org/cl/
1717046
Russ Cox [Mon, 21 Jun 2010 20:48:49 +0000 (13:48 -0700)]
syslog: use local network for tests
R=r
CC=golang-dev
https://golang.org/cl/
1724042
Russ Cox [Mon, 21 Jun 2010 20:19:29 +0000 (13:19 -0700)]
reflect: add Type.Bits method, add tags to prohibit conversions
gob: substitute slice for map
R=r
CC=golang-dev
https://golang.org/cl/
1699045
Russ Cox [Mon, 21 Jun 2010 20:06:39 +0000 (13:06 -0700)]
gc: include struct field tags in type equality
R=ken2
CC=golang-dev
https://golang.org/cl/
1667048
Russ Cox [Mon, 21 Jun 2010 20:05:38 +0000 (13:05 -0700)]
pkg/Makefile: allow DISABLE_NET_TESTS=1 to disable network tests
netchan, rpc, websocket: run test servers on 127.0.0.1,
to avoid conflict with OS X firewall.
TBR=r
CC=golang-dev
https://golang.org/cl/
1689046
Russ Cox [Mon, 21 Jun 2010 19:42:33 +0000 (12:42 -0700)]
spec: struct tags must be identical for types to be identical
We didn't mention this explicitly during our discussions,
but I think it fits the "identical types are spelled identically"
rule that we used.
R=gri, iant, ken2, r, rsc1
CC=golang-dev
https://golang.org/cl/
1698043
Roger Peppe [Mon, 21 Jun 2010 18:01:20 +0000 (11:01 -0700)]
goinstall: process dependencies for package main
Currently to install a command, you have to manually
goinstall each of the remote packages that it depends on.
This patch lets goinstall P work where P is
contains files in package main.
It does not actually build the package, but
it installs all of its dependencies and prints a message
to that effect.
R=rsc
CC=golang-dev
https://golang.org/cl/
1301043
James Whitehead [Mon, 21 Jun 2010 05:35:24 +0000 (07:35 +0200)]
misc/vim: clarifies syntax highlighting installation instructions
Based on the review of CL
1723044 , I've changed the installation instructions
for the vim syntax files to suggest symlinking the files rather than copying
the files. Also the wording has changed to be more consistent.
R=golang-dev, Kyle Lemons, adg
CC=golang-dev
https://golang.org/cl/
1702045
Russ Cox [Sun, 20 Jun 2010 19:45:39 +0000 (12:45 -0700)]
undo changes accidentally included in
09c5add99d50
R=ken2
CC=golang-dev
https://golang.org/cl/
1736042
Russ Cox [Sun, 20 Jun 2010 19:16:25 +0000 (12:16 -0700)]
reflect: add Kind, remove Int8Type, Int8Value, etc.
update other code to match.
R=r
CC=golang-dev
https://golang.org/cl/
1680044
Russ Cox [Sun, 20 Jun 2010 19:15:10 +0000 (12:15 -0700)]
gc: delete debug print
R=ken2
CC=golang-dev
https://golang.org/cl/
1732043
Russ Cox [Sun, 20 Jun 2010 19:05:43 +0000 (12:05 -0700)]
errchk: fix build - allow matches in multiline error messages
TBR=r
CC=golang-dev
https://golang.org/cl/
1734042
Russ Cox [Sun, 20 Jun 2010 18:45:53 +0000 (11:45 -0700)]
gc: better error messages for interface failures, conversions
x.go:13: cannot use t (type T) as type Reader in assignment:
T does not implement Reader (Read method requires pointer receiver)
x.go:19: cannot use q (type Q) as type Reader in assignment:
Q does not implement Reader (missing Read method)
have read()
want Read()
x.go:22: cannot use z (type int) as type Reader in assignment:
int does not implement Reader (missing Read method)
x.go:24: too many arguments to conversion to complex: complex(1, 3)
R=ken2
CC=golang-dev
https://golang.org/cl/
1736041
Russ Cox [Sun, 20 Jun 2010 18:21:43 +0000 (11:21 -0700)]
gc: fix build - subnode not addable in complexgen
R=ken2
CC=golang-dev
https://golang.org/cl/
1677047
James Whitehead [Sun, 20 Jun 2010 09:46:12 +0000 (11:46 +0200)]
misc/vim: reorganize plugin so it uses ftplugin and syntax
This sets up vim to work out of the box with go programs as long as syntax
highlighting is enabled. Both files must be copied to the vim runtime
directory in order for the file-type detection and syntax loading to work.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
1723044
Russ Cox [Sat, 19 Jun 2010 05:45:42 +0000 (22:45 -0700)]
nacl: fix build
TBR=r
CC=golang-dev
https://golang.org/cl/
1706044
Russ Cox [Sat, 19 Jun 2010 05:43:37 +0000 (22:43 -0700)]
strconv: add AtofN, FtoaN
R=r
CC=golang-dev
https://golang.org/cl/
1700043
Christopher Wedgwood [Sat, 19 Jun 2010 05:42:48 +0000 (22:42 -0700)]
test: add missing import for zerodivide
R=rsc
CC=golang-dev, r
https://golang.org/cl/
1706043
Rob Pike [Sat, 19 Jun 2010 03:37:03 +0000 (20:37 -0700)]
fmt.Scanf: improve error message when input does not match format
R=rsc
CC=golang-dev
https://golang.org/cl/
1693043
Rob Pike [Sat, 19 Jun 2010 03:33:03 +0000 (20:33 -0700)]
Effective Go: minor change to correct a comment in an example
R=rsc
CC=golang-dev
https://golang.org/cl/
1689042
Russ Cox [Fri, 18 Jun 2010 22:46:00 +0000 (15:46 -0700)]
complex divide: match C99 implementation
R=iant, ken2, r, r2, ken3
CC=golang-dev
https://golang.org/cl/
1686044
Rob Pike [Fri, 18 Jun 2010 17:52:37 +0000 (10:52 -0700)]
Effective Go: panic and recover
R=rsc, iant
CC=golang-dev
https://golang.org/cl/
1718042
Rob Pike [Wed, 16 Jun 2010 20:47:36 +0000 (13:47 -0700)]
Effective Go: add a section on defer.
R=rsc, iant
CC=golang-dev
https://golang.org/cl/
1694044
Brad Fitzpatrick [Wed, 16 Jun 2010 17:15:39 +0000 (10:15 -0700)]
http: reply to Expect 100-continue requests automatically
This CL replaces my earlier https://golang.org/cl/
1640044 /show
in which Continue handling was explicit. Instead, this CL makes
it automatic. Reading from Body() is an implicit acknowledgement
that the request headers were fine and the body is wanted. In that
case, the 100 Continue response is written automatically when the
request continues the "Expect: 100-continue" header.
R=rsc, adg
CC=golang-dev
https://golang.org/cl/
1610042
Nigel Tao [Wed, 16 Jun 2010 03:37:07 +0000 (13:37 +1000)]
cmd/gotest: Delete temporary _testmain.go files.
R=rsc
TBR=rsc
CC=golang-dev
https://golang.org/cl/
1675047
Nigel Tao [Wed, 16 Jun 2010 02:36:07 +0000 (12:36 +1000)]
image: add an Alpha16 type, for completeness.
R=rsc
CC=golang-dev, rog
https://golang.org/cl/
1707042
Rob Pike [Wed, 16 Jun 2010 00:41:11 +0000 (17:41 -0700)]
fmt.Scan: fix %c in the case where the input does not implement ReadRune itself.
While we're at it, clean up and test the code to guarantee we see every byte when
the text is erroneous UTF-8.
Fixes #866.
R=rsc
CC=golang-dev
https://golang.org/cl/
1712042
Rob Pike [Wed, 16 Jun 2010 00:40:47 +0000 (17:40 -0700)]
bytes.Buffer.ReadFrom: fix bug.
Fixes #852.
R=rsc
CC=golang-dev
https://golang.org/cl/
1680042
Rob Pike [Tue, 15 Jun 2010 05:40:35 +0000 (22:40 -0700)]
Effective Go: update ... discussion.
R=rsc
CC=golang-dev
https://golang.org/cl/
1698041
Russ Cox [Tue, 15 Jun 2010 01:07:17 +0000 (18:07 -0700)]
runtime: correct fault for 16-bit divide on Leopard
R=r
CC=golang-dev
https://golang.org/cl/
1703041
Rob Pike [Tue, 15 Jun 2010 00:42:31 +0000 (17:42 -0700)]
fmt.Printf: write tests for %T.
Fix a bug that caused it to ignore field widths.
R=rsc
CC=golang-dev
https://golang.org/cl/
1704041
Rob Pike [Tue, 15 Jun 2010 00:16:35 +0000 (17:16 -0700)]
fmt.Print*: reimplement to switch on type first.
This shortens, simplifies and regularizes the code significantly.
(Improvements to reflect could make another step.)
Passes all.bash.
One semantic change occurs: The String() method changes
behavior. It used to run only for string formats such as %s and %q.
Instead, it now runs whenever the item has the method and the
result is then processed by the format as a string. Besides the
regularization, this has three effects:
1) width is honored for String() items
2) %x works for String() items
3) implementations of String that merely recur will recur forever
Regarding point 3, example from the updated documentation:
type X int
func (x X) String() string { return Sprintf("%d", x) }
should cast the value before recurring:
func (x X) String() string { return Sprintf("%d", int(x)) }
R=rsc
CC=golang-dev
https://golang.org/cl/
1613045
Nigel Tao [Mon, 14 Jun 2010 23:07:47 +0000 (09:07 +1000)]
html: sync testdata/webkit to match WebKit tip.
R=rsc
CC=golang-dev
https://golang.org/cl/
1701041
Rob Pike [Mon, 14 Jun 2010 22:00:19 +0000 (15:00 -0700)]
Add test for division by zero.
It fails with 6g. Once 6g is fixed up I will extend the value tests.
R=rsc, iant
CC=golang-dev
https://golang.org/cl/
1677043
Roger Peppe [Mon, 14 Jun 2010 21:54:48 +0000 (14:54 -0700)]
Add IndexFunc and LastIndexFunc.
Change TrimRight and TrimLeft to use these functions.
Incidentally fix minor bug in TrimRight.
Add some test cases for this.
YMMV whether it's worth saving the closure allocation.
R=r, r2
CC=golang-dev, hoisie, rsc
https://golang.org/cl/
1198044
Rob Pike [Mon, 14 Jun 2010 19:27:22 +0000 (12:27 -0700)]
tutorial: update discussion of variadic functions
R=rsc
CC=golang-dev
https://golang.org/cl/
1677042
Russ Cox [Mon, 14 Jun 2010 18:24:51 +0000 (11:24 -0700)]
gc: no more ...
various cleanup, deleting unused code
R=ken2
CC=golang-dev
https://golang.org/cl/
1663041
Russ Cox [Mon, 14 Jun 2010 18:23:11 +0000 (11:23 -0700)]
remove uses of ... from tree, add one test
R=r
CC=golang-dev
https://golang.org/cl/
1662041
Nigel Tao [Mon, 14 Jun 2010 06:49:43 +0000 (16:49 +1000)]
exp/draw: small draw.drawGlyphOver optimization.
Make dpix variable names consistent.
R=rsc
CC=golang-dev
https://golang.org/cl/
1563041
Russ Cox [Sat, 12 Jun 2010 18:37:13 +0000 (11:37 -0700)]
spec: remove ... (keeping ...T)
R=gri, iant, ken2, r, r2
CC=golang-dev
https://golang.org/cl/
1632041
Russ Cox [Sat, 12 Jun 2010 18:17:24 +0000 (11:17 -0700)]
gc: less aggressive name binding, for better line numbers in errors
Cleans up a few other corner cases too.
R=ken2
CC=golang-dev
https://golang.org/cl/
1592045
Russ Cox [Sat, 12 Jun 2010 17:48:04 +0000 (10:48 -0700)]
runtime: fix 386 signal handler bug
Cannot assume that g == m->curg at time of signal.
Must save actual g and restore.
Fixes flaky crashes with messages like
throw: malloc mlookup
throw: malloc/free - deadlock
throw: unwindstack on self
throw: free mlookup
(and probably others) when running cgo.
R=iant
CC=golang-dev
https://golang.org/cl/
1648043
Russ Cox [Sat, 12 Jun 2010 17:47:42 +0000 (10:47 -0700)]
gopack: add S flag to force marking a package as safe
R=r
CC=golang-dev
https://golang.org/cl/
1597044
Rob Pike [Sat, 12 Jun 2010 04:30:03 +0000 (21:30 -0700)]
spec: clarify that result parameters are always zeroed before the function executes.
R=golang-dev
CC=golang-dev
https://golang.org/cl/
1641043
Russ Cox [Fri, 11 Jun 2010 23:17:47 +0000 (16:17 -0700)]
8l: correct test for sp == top of stack in 8l -K code
R=ken2
CC=golang-dev
https://golang.org/cl/
1627042