]>
Cypherpunks repositories - gostls13.git/log
Ken Thompson [Fri, 16 Jul 2010 03:21:33 +0000 (20:21 -0700)]
interpret lines that look like
//line 10 units.y
which is equiv to c
#line 10 units.y
the purpose is to generate diagnostics
that correctly point to preprocessed source.
R=rsc
CC=golang-dev
https://golang.org/cl/
1863042
Russ Cox [Thu, 15 Jul 2010 23:43:06 +0000 (16:43 -0700)]
codereview: don't run gofmt with an empty file list
R=gri
CC=golang-dev
https://golang.org/cl/
1678054
Russ Cox [Thu, 15 Jul 2010 23:42:32 +0000 (16:42 -0700)]
gc: bug294
Fixes #800.
R=ken2
CC=golang-dev
https://golang.org/cl/
1855043
Russ Cox [Thu, 15 Jul 2010 23:14:06 +0000 (16:14 -0700)]
gc: bug293
Fixes #846.
R=ken2
CC=golang-dev
https://golang.org/cl/
1862042
Russ Cox [Thu, 15 Jul 2010 23:13:47 +0000 (16:13 -0700)]
gc: bug292
Fixes #843.
R=ken2
CC=golang-dev
https://golang.org/cl/
1729051
Robert Griesemer [Thu, 15 Jul 2010 23:08:53 +0000 (16:08 -0700)]
bignum: delete package - functionality subsumed by package big
R=rsc
CC=golang-dev
https://golang.org/cl/
1742045
Russ Cox [Thu, 15 Jul 2010 22:25:32 +0000 (15:25 -0700)]
gc: issue 894
Fixes #894.
R=ken2
CC=golang-dev
https://golang.org/cl/
1701051
Russ Cox [Thu, 15 Jul 2010 22:22:51 +0000 (15:22 -0700)]
gc: issue 901
Fixes #901.
R=ken2
CC=golang-dev
https://golang.org/cl/
1674049
Russ Cox [Thu, 15 Jul 2010 22:17:42 +0000 (15:17 -0700)]
gc: bug291
Fixes #915.
R=ken2
CC=golang-dev
https://golang.org/cl/
1856042
Russ Cox [Thu, 15 Jul 2010 22:05:56 +0000 (15:05 -0700)]
gc: bug274
R=ken2
CC=golang-dev
https://golang.org/cl/
1742044
Russ Cox [Thu, 15 Jul 2010 21:25:50 +0000 (14:25 -0700)]
gc: fix handling of types inside function bodies
Fixes #849.
Fixes #920.
R=ken2
CC=golang-dev
https://golang.org/cl/
1841042
Ian Lance Taylor [Thu, 15 Jul 2010 21:15:39 +0000 (14:15 -0700)]
Build libcgo.so with $(CC), not the gcc on PATH.
Change make.bash to make sure that $(CC) is defined to match
the compiler used to build the tools.
R=rsc
CC=golang-dev
https://golang.org/cl/
1853041
Ian Lance Taylor [Thu, 15 Jul 2010 19:32:38 +0000 (12:32 -0700)]
Clarify that a new goroutine is not started for each finalizer.
R=rsc
CC=golang-dev
https://golang.org/cl/
1698051
Russ Cox [Thu, 15 Jul 2010 16:41:21 +0000 (09:41 -0700)]
cgo: use new command line syntax: -- separates cgo flags from gcc flags
Fixes #922.
R=r
CC=golang-dev
https://golang.org/cl/
1664051
Andrew Gerrand [Thu, 15 Jul 2010 03:07:35 +0000 (13:07 +1000)]
release.2010-07-14 release
R=rsc
CC=golang-dev
https://golang.org/cl/
1847041
Andrew Gerrand [Thu, 15 Jul 2010 03:04:04 +0000 (13:04 +1000)]
release.2010-07-14
R=rsc
CC=golang-dev
https://golang.org/cl/
1844041
Brad Fitzpatrick [Thu, 15 Jul 2010 00:26:14 +0000 (17:26 -0700)]
mime/multipart and HTTP multipart/form-data support
Somewhat of a work-in-progress (in that MIME is a large spec), but this is
functional and enough for discussion and/or code review.
In addition to the unit tests, I've tested with curl and Chrome with
a variety of test files, making sure the digests of files are unaltered
when read via a multipart Part.
R=rsc, adg, dsymonds1, agl1
CC=golang-dev
https://golang.org/cl/
1681049
Russ Cox [Thu, 15 Jul 2010 00:25:46 +0000 (17:25 -0700)]
os: use /tmp again
R=adg
CC=golang-dev
https://golang.org/cl/
1823041
Joe Poirier [Thu, 15 Jul 2010 00:21:13 +0000 (17:21 -0700)]
windows: append executable extension (done as per Russ' suggestion)
R=rsc
CC=brainman, golang-dev
https://golang.org/cl/
1690053
Russ Cox [Thu, 15 Jul 2010 00:17:53 +0000 (17:17 -0700)]
cgo: various bug fixes
* remember #defined names, so that C.stdout can refer
to the real name (on OS X) __stdoutp.
* better handling of #defined constant expressions
* allow n, err = C.strtol("asdf", 0, 123) to get errno as os.Error
* write all output files to current directory
* don't require gcc output if there was no input
Fixes #533.
Fixes #709.
Fixes #756.
R=r
CC=dho, golang-dev, iant
https://golang.org/cl/
1734047
Evan Shaw [Thu, 15 Jul 2010 00:17:04 +0000 (17:17 -0700)]
codereview: Fix for Mercurial >= 1.6
R=rsc, adg, rsc1
CC=golang-dev
https://golang.org/cl/
1804041
Robert Griesemer [Wed, 14 Jul 2010 23:09:22 +0000 (16:09 -0700)]
go spec: clarification of channel close()
R=r, rsc
CC=golang-dev
https://golang.org/cl/
1766042
Rob Pike [Wed, 14 Jul 2010 20:29:12 +0000 (13:29 -0700)]
tutorial: show how to compile helloworld3, which depends on ./file
make shell prompts consistent
R=rsc
CC=golang-dev
https://golang.org/cl/
1824042
Robert Griesemer [Wed, 14 Jul 2010 20:18:57 +0000 (13:18 -0700)]
channel tests: added a couple of tests with closed channels
R=rsc
CC=golang-dev
https://golang.org/cl/
1774047
Robert Griesemer [Wed, 14 Jul 2010 17:11:12 +0000 (10:11 -0700)]
fix build: reverting exp/eval Makefile to old form
(gofmt doesn't exist when this is built)
R=rsc
CC=golang-dev
https://golang.org/cl/
1838041
Robert Griesemer [Wed, 14 Jul 2010 16:55:08 +0000 (09:55 -0700)]
select statement: initial set of test cases for corner cases
R=r, rsc
CC=golang-dev
https://golang.org/cl/
1772043
Evan Shaw [Wed, 14 Jul 2010 16:39:59 +0000 (09:39 -0700)]
exp/eval: Converted from bignum to big
Also in this CL:
* Removed util.go, as its functionality is in big
* Removed some semicolons from the code generated by gen.go
* Added a generate target to Makefile
* Removed an outdated TODO from value.go
R=gri
CC=golang-dev
https://golang.org/cl/
1780042
Adam Langley [Wed, 14 Jul 2010 14:40:15 +0000 (10:40 -0400)]
crypto/tls: add client OCSP stapling support.
R=r, rsc
CC=golang-dev
https://golang.org/cl/
1750042
Russ Cox [Wed, 14 Jul 2010 00:27:26 +0000 (17:27 -0700)]
runtime: better error for send/recv on nil channel
R=ken2
CC=golang-dev
https://golang.org/cl/
1835041
Rob Pike [Tue, 13 Jul 2010 23:23:54 +0000 (16:23 -0700)]
Go specification: Lock down some details about channels and select:
- nil channel in regular send or receive panics
- empty select blocks forever
R=rsc, gri, iant, ken2
CC=golang-dev
https://golang.org/cl/
1825043
Russ Cox [Tue, 13 Jul 2010 19:37:47 +0000 (12:37 -0700)]
crypto/rand: add missing Unlock
R=r
CC=golang-dev
https://golang.org/cl/
1812043
Robert Griesemer [Tue, 13 Jul 2010 18:54:57 +0000 (11:54 -0700)]
go spec: specify len/cap for nil slices, maps, and channels
Fixes #891.
R=r, rsc
CC=golang-dev
https://golang.org/cl/
1760043
Andrew Gerrand [Tue, 13 Jul 2010 00:47:52 +0000 (10:47 +1000)]
runtime/tiny: style and doc tweaks
R=r, rsc
CC=golang-dev
https://golang.org/cl/
1821041
Russ Cox [Tue, 13 Jul 2010 00:46:03 +0000 (17:46 -0700)]
fix build
R=gri
CC=golang-dev
https://golang.org/cl/
1813042
Peter Mundy [Tue, 13 Jul 2010 00:31:51 +0000 (10:31 +1000)]
os: Use TempFile with default TempDir for temp test files
Use io/ioutil.TempFile with default os.TempDir for temporary test files.
For os_test.go temporary test files, use a local file system and OS
independent directory names. Avoid problems with NFS.
Fixes #848.
R=adg
CC=golang-dev
https://golang.org/cl/
1806043
Andrew Gerrand [Tue, 13 Jul 2010 00:29:41 +0000 (10:29 +1000)]
websocket: fix comment indentation
To make code samples formatted correctly by godoc.
R=r, ukai, rsc
CC=golang-dev, gri
https://golang.org/cl/
1738048
Robert Griesemer [Tue, 13 Jul 2010 00:22:21 +0000 (17:22 -0700)]
container/vector: rename Data() -> Copy()
R=rsc
CC=golang-dev
https://golang.org/cl/
1814043
Andrew Gerrand [Tue, 13 Jul 2010 00:21:08 +0000 (10:21 +1000)]
dashboard: use jQuery Autocomplete plugin from Google AJAX Libs API
R=rsc
CC=golang-dev
https://golang.org/cl/
1677053
Rob Pike [Mon, 12 Jul 2010 23:57:11 +0000 (16:57 -0700)]
tweak comment for %#X
Fixes #904.
R=rsc
CC=golang-dev
https://golang.org/cl/
1803043
Russ Cox [Mon, 12 Jul 2010 23:48:49 +0000 (16:48 -0700)]
pem: print \n after 1 header line too
rearrange to make reason for if clear.
Fixes #911.
R=agl1
CC=golang-dev
https://golang.org/cl/
1774044
Peter Mundy [Mon, 12 Jul 2010 23:37:53 +0000 (16:37 -0700)]
crypto/rand for Windows
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/
1773041
Rob Pike [Mon, 12 Jul 2010 23:31:51 +0000 (16:31 -0700)]
add missing argument to usage message.
Fixes #912.
R=rsc
CC=golang-dev
https://golang.org/cl/
1819041
Andrew Gerrand [Mon, 12 Jul 2010 23:21:42 +0000 (09:21 +1000)]
http: fix ParseURL to handle //relative_path properly
Fixes #900.
R=rsc
CC=golang-dev
https://golang.org/cl/
1756042
Robert Griesemer [Mon, 12 Jul 2010 23:09:27 +0000 (16:09 -0700)]
big: added a few missing functions:
- sign to determine if a value is < 0, == 0, > 0
- abs to compute absolute value
- Rat.IsInt to test if a rational number is representable as an integer
R=rsc
CC=golang-dev
https://golang.org/cl/
1761042
Robert Griesemer [Mon, 12 Jul 2010 21:53:28 +0000 (14:53 -0700)]
fix build
R=rsc
CC=golang-dev
https://golang.org/cl/
1815042
Robert Griesemer [Mon, 12 Jul 2010 20:51:42 +0000 (13:51 -0700)]
container/vector: remove Iter() from interface
(Iter() is almost never the right mechanism to call.
Per discussion with rsc.)
R=rsc
CC=golang-dev
https://golang.org/cl/
1771043
Vinu Rajashekhar [Mon, 12 Jul 2010 20:17:32 +0000 (13:17 -0700)]
test/fixedbugs/bug243.go: instead of closing stdout,
remove the print statements.
This change is because of the port of gccgo to RTEMS.
These tests use the GCC DejaGNU framework. In some cases,
the tests need to be run on qemu where the status code
cannot be sent back to DejaGNU, so it prints the exit status
by putting a wrapper around the exit and abort calls.
This testcase closes the stdout, and hence prohibits DejaGNU
from knowing the status in such cases, and causes this test
to be wrongly declared as a failure.
R=rsc, iant
CC=golang-dev
https://golang.org/cl/
1792042
Charles L. Dorian [Mon, 12 Jul 2010 18:30:11 +0000 (11:30 -0700)]
math: amd64 version of log
Benchmarks 25ns/op (was 58ns/op) on 2.53GHz Intel Core 2 Duo.
R=rsc
CC=golang-dev
https://golang.org/cl/
1740043
Micah Stetson [Mon, 12 Jul 2010 18:26:41 +0000 (11:26 -0700)]
json: Add HTMLEscape
R=rsc
CC=golang-dev
https://golang.org/cl/
1496042
Ian Lance Taylor [Mon, 12 Jul 2010 13:34:36 +0000 (06:34 -0700)]
Test case that gccgo fails (crashes rather than printing error).
R=rsc
CC=Raj_, golang-dev
https://golang.org/cl/
1740044
Vinu Rajashekhar [Sat, 10 Jul 2010 21:40:48 +0000 (14:40 -0700)]
Corrected a print statement from printing netfd to fd.
R=iant
CC=golang-dev
https://golang.org/cl/
1805041
Robert Griesemer [Fri, 9 Jul 2010 20:11:20 +0000 (13:11 -0700)]
fix build: adjustest a few tests that I missed before
R=r
CC=golang-dev
https://golang.org/cl/
1762044
Robert Griesemer [Fri, 9 Jul 2010 20:03:25 +0000 (13:03 -0700)]
gofmt: update test script
R=r
CC=golang-dev
https://golang.org/cl/
1791041
Robert Griesemer [Fri, 9 Jul 2010 20:02:54 +0000 (13:02 -0700)]
go/spec: fix typo
R=r
CC=golang-dev
https://golang.org/cl/
1790041
Robert Griesemer [Fri, 9 Jul 2010 20:02:32 +0000 (13:02 -0700)]
go/parser: require that '...' parameters are followed by a type
(matching latest syntax changes)
R=r
CC=golang-dev
https://golang.org/cl/
1762042
Evan Shaw [Fri, 9 Jul 2010 18:24:31 +0000 (11:24 -0700)]
big: Improvements to Rat.SetString
* Allow an exponent part. This is necessary for exp/eval.
* Fix a bug for input that had no numbers after the decimal.
* In Int.SetString, allow a leading + sign.
* In Int.SetString, error if the input is "-" with no number.
* In nat.scan, normalize the resulting nat.
R=gri
CC=golang-dev
https://golang.org/cl/
1733045
Peter Mundy [Thu, 8 Jul 2010 06:57:07 +0000 (16:57 +1000)]
io: fix SectionReader Seek to seek backwards
Fixes #899.
R=golang-dev, rminnich, adg
CC=golang-dev
https://golang.org/cl/
1749041
Andrew Gerrand [Thu, 8 Jul 2010 02:47:16 +0000 (12:47 +1000)]
A+C: Markus Duft
R=nigeltao
CC=golang-dev
https://golang.org/cl/
1682052
Markus Duft [Wed, 7 Jul 2010 14:15:47 +0000 (00:15 +1000)]
runtime/tiny: add destroyLock stub, and docs for additional VMs
updated thread.c to provide destroylock, which seems to be
required to link.
updated README with different virtualization programs.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
1746047
Andrew Gerrand [Mon, 5 Jul 2010 06:25:29 +0000 (16:25 +1000)]
doc/go_tutorial: mention order of compilation
In response to this recurring issue:
http://groups.google.com/group/golang-nuts/t/
710d1e8347cd51fa
R=r
CC=golang-dev
https://golang.org/cl/
1682050
Adam Langley [Fri, 2 Jul 2010 20:43:48 +0000 (16:43 -0400)]
http, crypto/tls: followup fixes from
1684051 .
(TBR because this is just addressing previous review comments.)
R=r
CC=golang-dev
https://golang.org/cl/
1697048
Adam Langley [Fri, 2 Jul 2010 17:00:18 +0000 (13:00 -0400)]
crypto/tls, http: Make HTTPS servers easier.
R=r, adg, rsc
CC=golang-dev
https://golang.org/cl/
1684051
Russ Cox [Fri, 2 Jul 2010 04:48:13 +0000 (21:48 -0700)]
ld: fix handling of "". names in #pragma dynimport/dynexport
Fixes #728.
R=r
CC=golang-dev
https://golang.org/cl/
1706053
Andrew Gerrand [Fri, 2 Jul 2010 03:32:02 +0000 (13:32 +1000)]
Add various items to the Go Resources page.
R=r
CC=golang-dev
https://golang.org/cl/
1674045
Russ Cox [Fri, 2 Jul 2010 01:04:25 +0000 (18:04 -0700)]
gc: implement new len spec, range bug fix, optimization
Fixes #885.
R=ken2
CC=golang-dev
https://golang.org/cl/
1680048
Russ Cox [Fri, 2 Jul 2010 00:49:47 +0000 (17:49 -0700)]
spec: restrict when len(x) is constant
R=gri, iant, ken2, r
CC=golang-dev
https://golang.org/cl/
1687047
Russ Cox [Fri, 2 Jul 2010 00:49:28 +0000 (17:49 -0700)]
implications of len spec change
R=r
CC=golang-dev
https://golang.org/cl/
1712048
Andrew Gerrand [Fri, 2 Jul 2010 00:44:19 +0000 (10:44 +1000)]
release.2010-07-01 tag
R=rsc
CC=golang-dev
https://golang.org/cl/
1734046
Andrew Gerrand [Fri, 2 Jul 2010 00:36:43 +0000 (10:36 +1000)]
release.2010-07-01
R=rsc
CC=golang-dev
https://golang.org/cl/
1741047
Rob Pike [Thu, 1 Jul 2010 21:44:21 +0000 (14:44 -0700)]
strconv.Uitob64: allow conversion of 64-bit binaries (buffer was too small).
panic if base is invalid.
R=rsc
CC=golang-dev
https://golang.org/cl/
1702050
Rob Pike [Thu, 1 Jul 2010 21:08:14 +0000 (14:08 -0700)]
strings and bytes.Split: make count of 0 mean 0, not infinite.
Use a count of -1 for infinity. Ditto for Replace.
R=rsc
CC=golang-dev
https://golang.org/cl/
1704044
Russ Cox [Thu, 1 Jul 2010 19:51:00 +0000 (12:51 -0700)]
6l: drop confusing comment
R=ken2
CC=golang-dev
https://golang.org/cl/
1693047
Russ Cox [Thu, 1 Jul 2010 19:36:29 +0000 (12:36 -0700)]
6a: assemble CMPPD as 6l expects
libmach: disassemble CMPPD as 6a expects
R=ken2
CC=Charlie Dorian, golang-dev
https://golang.org/cl/
1704046
Russ Cox [Thu, 1 Jul 2010 19:18:35 +0000 (12:18 -0700)]
6l: implement MOVLQZX as "mov", not "movsxd"
(Here, quoted strings are the official AMD names.)
The amd64 "movsxd" instruction, when invoked
with a 64-bit REX prefix, moves and sign extends
a 32-bit value from register or memory into a
64-bit register. 6.out.h spells this MOVLQSX.
6.out.h also includes MOVLQZX, the zero extending
version, which it implements as "movsxd" without
the REX prefix. Without the REX prefix it's only sign
extending 32 bits to 32 bits (i.e., not doing anything
to the bits) and then storing in a 32-bit register.
Any write to a 32-bit register zeros the top half of the
corresponding 64-bit register, giving the advertised effect.
This particular implementation of the functionality is
non-standard, because an ordinary 32-bit "mov" would
do the same thing.
Because it is non-standard, it is often mishandled or
not handled by binary translation tools like valgrind.
Switching to the standard "mov" makes the binaries
work better with those tools.
It's probably useful in 6c and 6g to have an explicit
instruction, though, so that the intent of the size
change is clear. Thus we leave the concept of MOVLQZX
and just implement it by the standard "mov" instead of
the non-standard 32-bit "movsxd".
Fixes #896.
R=ken2
CC=golang-dev
https://golang.org/cl/
1733046
Charles L. Dorian [Thu, 1 Jul 2010 06:34:33 +0000 (23:34 -0700)]
cmath: correct IsNaN for argument cmplx(Inf, NaN)
R=rsc
CC=golang-dev
https://golang.org/cl/
1705041
Russ Cox [Thu, 1 Jul 2010 06:34:27 +0000 (23:34 -0700)]
test: override gcc bug when preparing complex divide tables
R=iant
CC=golang-dev
https://golang.org/cl/
1666048
Russ Cox [Thu, 1 Jul 2010 06:34:11 +0000 (23:34 -0700)]
codereview: allow multiple email addresses in CONTRIBUTORS
R=r
CC=golang-dev
https://golang.org/cl/
1650041
Gustavo Niemeyer [Thu, 1 Jul 2010 06:33:49 +0000 (23:33 -0700)]
goinstall: support for Bazaar+Launchpad
With these changes, goinstall is now able to use branches
maintained with Bazaar located in Launchpad.
Project aliases such as /project and /project/series are
supported in addition to specific user or team branches
such as /~user/project/branch. Temporary branches under
the +junk special project are also supported.
As a curious side effect, since Launchpad is able to import
code from other locations, they can be indirectly
accessible too if desired.
R=rsc
CC=golang-dev
https://golang.org/cl/
1699050
Russ Cox [Thu, 1 Jul 2010 06:31:41 +0000 (23:31 -0700)]
A+C: add Gustavo Niemeyer (individual CLA)
R=adg
CC=golang-dev
https://golang.org/cl/
1693046
Russ Cox [Thu, 1 Jul 2010 06:31:27 +0000 (23:31 -0700)]
cgo: use slash-free relative paths for .so references
The Makefile and cgo now rewrite / to _ when creating the path.
The .so for gosqlite.googlecode.com/hg/sqlite is named
cgo_gosqlite.googlecode.com_hg_sqlite.so, and then 6l and 8l
both include a default rpath of $GOROOT/pkg/$GOOS_$GOARCH.
This should make it easier to move binaries from one system
to another.
Fixes #857.
R=iant, r
CC=golang-dev
https://golang.org/cl/
1700048
Russ Cox [Thu, 1 Jul 2010 03:45:50 +0000 (20:45 -0700)]
8g: out of register bug fix
Fixes #868.
R=ken2
CC=golang-dev
https://golang.org/cl/
1695049
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