]>
Cypherpunks repositories - gostls13.git/log
Kai Backman [Tue, 20 Jul 2010 13:20:35 +0000 (16:20 +0300)]
fix build
R=rsc
CC=golang-dev
https://golang.org/cl/
1742048
Kai Backman [Tue, 20 Jul 2010 12:53:16 +0000 (15:53 +0300)]
more soft float support. passes several basic tests
but with less precision than hardware counterparts.
fixed a number of tests to output BUG when they failed.
changed the runner to distinghuish between output
and output containing ^BUG
R=rsc
CC=dho, golang-dev
https://golang.org/cl/
1778041
Vinu Rajashekhar [Tue, 20 Jul 2010 07:06:20 +0000 (00:06 -0700)]
gccgo_install.html: Description of the port to RTEMS added.
R=iant, r
CC=gofrontend-dev, golang-dev, joel.sherrill
https://golang.org/cl/
1846047
Rob Pike [Tue, 20 Jul 2010 07:03:59 +0000 (00:03 -0700)]
strings: add Title
strings.ToTitle converts all characters to title case, which for consistency with the
other To* functions it should continue to do. This CL adds string.Title, which
does a proper title-casing of the string.
A similar function for package bytes will follow once this is settled.
Fixes #933.
R=rsc
CC=golang-dev
https://golang.org/cl/
1869042
Ken Thompson [Mon, 19 Jul 2010 23:10:46 +0000 (16:10 -0700)]
change floating literal normalization
from word-oriented to bit-oriented.
this will increase fp literal precision
by up to a full word.
R=rsc
CC=golang-dev
https://golang.org/cl/
1859044
Robert Griesemer [Mon, 19 Jul 2010 18:33:11 +0000 (11:33 -0700)]
tabwriter: fix a comment to fix godoc output
R=r
CC=golang-dev
https://golang.org/cl/
1857043
Adam Langley [Mon, 19 Jul 2010 15:11:40 +0000 (11:11 -0400)]
asn1: Enumerated, Flag and GeneralizedTime support.
Add support for ASN.1 ENUMERATED types.
Add a magic type, asn1.Flag, for the cases where the presence of an
empty explicit tag is semantically meaningful.
Add support for GeneralizedTime.
R=rsc
CC=golang-dev
https://golang.org/cl/
1684055
Adam Langley [Mon, 19 Jul 2010 15:08:04 +0000 (11:08 -0400)]
time: fix parsing of minutes in time zones.
R=r
CC=golang-dev
https://golang.org/cl/
1830041
Kai Backman [Mon, 19 Jul 2010 08:43:33 +0000 (11:43 +0300)]
minor error checking to android launcher
R=dho
CC=golang-dev
https://golang.org/cl/
1777041
James Whitehead [Mon, 19 Jul 2010 04:10:00 +0000 (14:10 +1000)]
hgignore: adds bin/ to support setting $GOBIN to $GOROOT/bin
R=PeterGo, adg
CC=golang-dev, jnw
https://golang.org/cl/
1699046
James Whitehead [Mon, 19 Jul 2010 04:05:27 +0000 (14:05 +1000)]
http/transferWriter: Write body when content length unknown
Fixes #923.
R=adg, rsc
CC=golang-dev
https://golang.org/cl/
1846043
Russ Cox [Sat, 17 Jul 2010 23:54:03 +0000 (16:54 -0700)]
linux/386: use Xen-friendly ELF TLS instruction sequence
Fixes #465.
R=iant
CC=golang-dev
https://golang.org/cl/
1665051
Peter Mundy [Sat, 17 Jul 2010 23:52:53 +0000 (16:52 -0700)]
utf16: fix cyclic dependency when testing on Windows
(on Windows, syscall depends on utf16)
R=rsc
CC=golang-dev
https://golang.org/cl/
1664053
Ken Thompson [Sat, 17 Jul 2010 23:32:40 +0000 (16:32 -0700)]
1. got 29 (Mpscale) more bits of precision
out of floating constant multiply
2. added rounding code to "const fix=float"
to allow up to 29 (Mpscale) bits of
slop and still get an exact fixed constant.
fixes #931
R=rsc
CC=golang-dev
https://golang.org/cl/
1692055
Russ Cox [Sat, 17 Jul 2010 04:38:51 +0000 (21:38 -0700)]
gc: print error detail about failure to open import
R=ken2
CC=golang-dev
https://golang.org/cl/
1872041
Russ Cox [Sat, 17 Jul 2010 01:54:38 +0000 (18:54 -0700)]
codereview: make 'hg submit' work with Mercurial 1.6
R=r
CC=golang-dev
https://golang.org/cl/
1841044
Russ Cox [Fri, 16 Jul 2010 23:16:17 +0000 (16:16 -0700)]
5l, 6l, 8l: reject invalid input files
Fixes #925.
Fixes #926.
Fixes #927.
Fixes #928.
Fixes #929.
Fixes #930.
R=r
CC=golang-dev
https://golang.org/cl/
1752044
Rob Pike [Fri, 16 Jul 2010 22:08:31 +0000 (15:08 -0700)]
fix typo in lex.c comment
R=rsc
CC=golang-dev
https://golang.org/cl/
1862044
Ken Thompson [Fri, 16 Jul 2010 20:34:36 +0000 (13:34 -0700)]
change line pragma from
//line number file
to
//line file:number
R=rsc
CC=golang-dev
https://golang.org/cl/
1868041
Russ Cox [Fri, 16 Jul 2010 18:18:45 +0000 (11:18 -0700)]
big: attempt to fix arm build
R=gri
CC=golang-dev
https://golang.org/cl/
1752043
Ian Lance Taylor [Fri, 16 Jul 2010 18:05:38 +0000 (11:05 -0700)]
Remove unused declaration.
R=rsc
CC=golang-dev
https://golang.org/cl/
1686054
Ian Lance Taylor [Fri, 16 Jul 2010 18:01:04 +0000 (11:01 -0700)]
cgo: If CC is set in environment, use it rather than "gcc".
R=rsc
CC=golang-dev
https://golang.org/cl/
1842042
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