]>
Cypherpunks repositories - gostls13.git/log
Robert Griesemer [Thu, 11 Mar 2010 01:04:43 +0000 (17:04 -0800)]
math package: minor documentation fix
R=rsc
CC=golang-dev
https://golang.org/cl/424041
Robert Griesemer [Thu, 11 Mar 2010 00:31:09 +0000 (16:31 -0800)]
install.html: add section on C tools
R=rsc
CC=golang-dev
https://golang.org/cl/238042
Robert Griesemer [Wed, 10 Mar 2010 23:41:36 +0000 (15:41 -0800)]
godoc: change -x to -src, update doc.go (missed in previous CL)
R=rsc
CC=golang-dev
https://golang.org/cl/384044
Robert Griesemer [Wed, 10 Mar 2010 23:29:36 +0000 (15:29 -0800)]
go_spec.html: fix typo and link
R=r
CC=golang-dev
https://golang.org/cl/382045
Robert Griesemer [Wed, 10 Mar 2010 23:22:22 +0000 (15:22 -0800)]
godoc: provide mode which shows exported interface in "source form"
- on the commandline: godoc -x big
- in a webpage: provide form parameter ?m=src
Known issues:
- Positioning of comments incorrect in several cases. Separate CL.
- Need a link/menu to switch between different modes of presentation
in the web view.
R=rsc
CC=golang-dev
https://golang.org/cl/376041
Russ Cox [Wed, 10 Mar 2010 21:06:35 +0000 (13:06 -0800)]
fix 386 a[i] = cmplx(r, j)
R=ken2
CC=golang-dev
https://golang.org/cl/384043
Russ Cox [Wed, 10 Mar 2010 20:42:53 +0000 (12:42 -0800)]
fix amd64 build (golden.out)
R=ken2
CC=golang-dev
https://golang.org/cl/417042
Andrew Gerrand [Wed, 10 Mar 2010 09:19:20 +0000 (20:19 +1100)]
template: add ParseFile, MustParseFile, and associated tests
R=r
CC=golang-dev
https://golang.org/cl/391041
Ken Thompson [Wed, 10 Mar 2010 01:51:30 +0000 (17:51 -0800)]
1. decommit complex(float) conversion
2. add complex algorithm for map/chan
3. test for use of complex in
array, slice, field, chan, map,
field, pointer.
R=rsc
CC=golang-dev
https://golang.org/cl/384041
Russ Cox [Tue, 9 Mar 2010 23:09:37 +0000 (15:09 -0800)]
gc: remove duplicate errors, give better error for I.(T)
R=ken2
CC=golang-dev
https://golang.org/cl/370041
Alex Brainman [Tue, 9 Mar 2010 23:09:09 +0000 (15:09 -0800)]
syscall: minimal mingw version of syscall to call windows dlls
lots of missing parts, but builds and can call dlls, see a sample code in syscall_mingw.go
R=rsc
CC=golang-dev
https://golang.org/cl/218042
Dean Prichard [Tue, 9 Mar 2010 23:00:10 +0000 (10:00 +1100)]
reflect: typo in comment
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/369041
Andrey Mirtchovski [Tue, 9 Mar 2010 22:21:34 +0000 (14:21 -0800)]
missing ';' renders the code snippet incorrectly on website
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/367041
Rob Pike [Tue, 9 Mar 2010 22:17:14 +0000 (14:17 -0800)]
fmt: enable the complex tests now that 8g supports complex
R=rsc
CC=golang-dev
https://golang.org/cl/357043
Ken Thompson [Tue, 9 Mar 2010 21:39:45 +0000 (13:39 -0800)]
fix bugs compiling things like
c = cmplx(imag(c), real(c))
without a temporary
R=rsc
CC=golang-dev
https://golang.org/cl/360043
Ken Thompson [Tue, 9 Mar 2010 20:49:24 +0000 (12:49 -0800)]
identical complex implementation
for 6g and 8g. can also be used
for 5g. 5g is still a stub.
R=rsc
CC=golang-dev
https://golang.org/cl/362041
Dean Prichard [Tue, 9 Mar 2010 02:13:19 +0000 (18:13 -0800)]
arm: cleanup build warnings
trivial stuff
lex.c: these prototypes are in a.h
asm.c: unused variables
arm-pass.txt deal w/ sieve.go rename and addition of sieve2.go
R=kaib, rsc
CC=golang-dev
https://golang.org/cl/244041
Raif S. Naffah [Tue, 9 Mar 2010 02:12:36 +0000 (18:12 -0800)]
crypto/ripemd160: new package
R=rsc
CC=golang-dev
https://golang.org/cl/224081
Conrad Meyer [Tue, 9 Mar 2010 02:12:30 +0000 (18:12 -0800)]
crypto/sha256: add SHA-224
R=agl1, rsc
CC=golang-dev
https://golang.org/cl/253045
Giles Lean [Tue, 9 Mar 2010 02:12:25 +0000 (18:12 -0800)]
encoding/base64: fix typo in comment
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/258041
Dean Prichard [Tue, 9 Mar 2010 01:00:14 +0000 (17:00 -0800)]
gc: avoid fixed length buffer cleanbuf
R=rsc
CC=golang-dev
https://golang.org/cl/302042
Conrad Meyer [Tue, 9 Mar 2010 01:00:04 +0000 (17:00 -0800)]
crypto/sha512: new package
R=rsc
CC=golang-dev
https://golang.org/cl/240043
Russ Cox [Tue, 9 Mar 2010 00:52:55 +0000 (16:52 -0800)]
A+C: add Conrad Meyer (individual CLA)
R=r
CC=cemeyer, golang-dev
https://golang.org/cl/313041
Russ Cox [Mon, 8 Mar 2010 23:44:18 +0000 (15:44 -0800)]
gc: simplify complex typecheck
do not convert to float prematurely.
R=ken2
CC=golang-dev
https://golang.org/cl/311041
Russ Cox [Mon, 8 Mar 2010 22:19:28 +0000 (14:19 -0800)]
5g/6g/8g: fix double function call in slice
Fixes #654.
R=ken2
CC=golang-dev
https://golang.org/cl/310041
Russ Cox [Mon, 8 Mar 2010 22:15:44 +0000 (14:15 -0800)]
runtime: clock garbage collection on bytes allocated, not pages in use
This keeps fragmentation from delaying
garbage collections (and causing more fragmentation).
Cuts fresh godoc (with indexes) from 261M to 166M (120M live).
Cuts toy wc program from 50M to 8M.
Fixes #647.
R=r, cw
CC=golang-dev
https://golang.org/cl/257041
Ian Lance Taylor [Mon, 8 Mar 2010 22:05:46 +0000 (14:05 -0800)]
Complex values may only be compared for equality or inequality.
R=gri, r
CC=golang-dev
https://golang.org/cl/294042
Ian Lance Taylor [Mon, 8 Mar 2010 21:45:03 +0000 (13:45 -0800)]
Clarify that conversions to complex are OK.
R=r
CC=golang-dev
https://golang.org/cl/296042
Adam Langley [Mon, 8 Mar 2010 14:25:24 +0000 (09:25 -0500)]
crypto/rsa: don't use safe primes.
Previously we would require safe primes for our RSA key generation.
Since this took rather a long time, this removes the requirement that
the primes be safe.
OpenSSL doesn't use safe primes for RSA key generation either
(openssl-0.9.8l/crypto/rsa/rsa_gen.c:122)
Fixes #649.
R=rsc
CC=golang-dev
https://golang.org/cl/253041
Christopher Wedgwood [Sun, 7 Mar 2010 19:17:36 +0000 (11:17 -0800)]
regex: Remove unneeded imports from test.
R=rsc, adg, r
CC=golang-dev
https://golang.org/cl/264041
Andrew Gerrand [Sun, 7 Mar 2010 01:41:49 +0000 (12:41 +1100)]
regexp: add ReplaceAllFunc and ReplaceAllStringFunc
R=r
CC=golang-dev
https://golang.org/cl/247041
Rob Pike [Sat, 6 Mar 2010 21:38:14 +0000 (13:38 -0800)]
fix bug in complex printing: imaginary didn't have same format as real.
add tests.
R=rsc, ken2, ken3
CC=golang-dev
https://golang.org/cl/261041
Ken Thompson [Sat, 6 Mar 2010 19:26:33 +0000 (11:26 -0800)]
PTAL
R=r
CC=golang-dev
https://golang.org/cl/254043
Ken Thompson [Sat, 6 Mar 2010 04:16:04 +0000 (20:16 -0800)]
6g complex type usable
8g and 5g have stubs to ignore complex
R=rsc
CC=golang-dev
https://golang.org/cl/257042
Russ Cox [Sat, 6 Mar 2010 03:29:14 +0000 (19:29 -0800)]
gc: fix crash on complicated arg to make slice.
Fixes #615.
R=ken2
CC=golang-dev
https://golang.org/cl/255043
Charles L. Dorian [Sat, 6 Mar 2010 00:45:39 +0000 (16:45 -0800)]
math: faster hypot
Use hardware sqrt for faster hypot; preserve software-only
hypot as hypotGo (like sqrtGo); enable benchmarking of
hypotGo.
R=rsc
CC=golang-dev
https://golang.org/cl/229049
Russ Cox [Fri, 5 Mar 2010 23:35:09 +0000 (15:35 -0800)]
gc: better compilation of floating point +=
R=ken2
CC=golang-dev
https://golang.org/cl/255042
Rob Pike [Fri, 5 Mar 2010 22:03:17 +0000 (14:03 -0800)]
bufio: WriteRune
also fix a printing error in the test for bytes.Buffer
R=golang-dev
CC=golang-dev
https://golang.org/cl/240042
Adam Langley [Fri, 5 Mar 2010 20:55:26 +0000 (15:55 -0500)]
big: fix mistakes with probablyPrime
probablyPrime would return false negatives in some cases.
This code has now been tested against GMP for several million iterations without issues.
Fixes #638.
R=rsc
CC=golang-dev
https://golang.org/cl/252041
Rob Pike [Fri, 5 Mar 2010 19:34:53 +0000 (11:34 -0800)]
Add ReadRune and WriteRune to bytes.Buffer
The comments mention bufio's WriteRune, which should come next.
R=rsc
CC=golang-dev
https://golang.org/cl/245041
Ian Lance Taylor [Fri, 5 Mar 2010 18:43:33 +0000 (10:43 -0800)]
Generate same output on all architectures.
Passing an argument to bug260 will indicate which alignments
are wrong.
R=r
CC=golang-dev
https://golang.org/cl/231042
Robert Griesemer [Fri, 5 Mar 2010 18:30:50 +0000 (10:30 -0800)]
frexp.go: remove html from comment
R=r
CC=golang-dev
https://golang.org/cl/250041
Robert Griesemer [Fri, 5 Mar 2010 18:13:58 +0000 (10:13 -0800)]
godoc: don't throw away function documentation
if there are multiple functions (for a package, type)
with the same name
Fixes #642.
R=rsc
CC=golang-dev
https://golang.org/cl/243041
Robert Griesemer [Fri, 5 Mar 2010 01:37:15 +0000 (17:37 -0800)]
gofmt: modified algorithm for alignment of multi-line composite/list entries
- only manual changes are in src/pkg/go/printer/nodes.go
- use a heuristic to determine "outliers" such that not entire composites are
forced to align with them
- improves several places that were not unligned before due too simple heuristic
- unalignes some cases that contain "outliers"
- gofmt -w src misc
Fixes #644.
R=rsc, r
CC=golang-dev
https://golang.org/cl/241041
Russ Cox [Fri, 5 Mar 2010 01:04:50 +0000 (17:04 -0800)]
goinstall: an experiment in (external) package installation
R=adg, r
CC=cw, golang-dev
https://golang.org/cl/224043
Russ Cox [Fri, 5 Mar 2010 00:16:56 +0000 (16:16 -0800)]
A+C: add Spring Mc (individual CLA)
R=adg
CC=golang-dev
https://golang.org/cl/240041
Spring Mc [Fri, 5 Mar 2010 00:15:51 +0000 (16:15 -0800)]
strings: make Split(s, "", n) faster
R=rsc
CC=golang-dev
https://golang.org/cl/223096
Russ Cox [Thu, 4 Mar 2010 23:34:25 +0000 (15:34 -0800)]
cc: disallow ... argument unless NOSPLIT is set.
check that NOSPLIT functions don't use too much stack.
correct some missing NOSPLITs in the runtime library.
Fixes bug reported in
https://groups.google.com/group/golang-nuts/t/
efff68b73941eccf
R=ken2
CC=golang-dev
https://golang.org/cl/236041
Rob Pike [Thu, 4 Mar 2010 23:26:15 +0000 (15:26 -0800)]
add a test that structures pack. 6g fails.
R=rsc
CC=golang-dev
https://golang.org/cl/237041
Rob Pike [Thu, 4 Mar 2010 20:35:16 +0000 (12:35 -0800)]
Spec for complex numbers
R=rsc, ken2, gri, iant
CC=cw, golang-dev
https://golang.org/cl/227041
Andrew Gerrand [Thu, 4 Mar 2010 04:00:45 +0000 (15:00 +1100)]
release.2010-03-04 part two
R=rsc
CC=golang-dev
https://golang.org/cl/229050
Charles L. Dorian [Thu, 4 Mar 2010 02:17:13 +0000 (18:17 -0800)]
math: added ilogb, logb, remainder, tests and special conditions
Also added expm1_386 and remainder_386; shortened exp_386
R=rsc
CC=golang-dev
https://golang.org/cl/217109
Andrew Gerrand [Thu, 4 Mar 2010 02:00:29 +0000 (13:00 +1100)]
release.2010-03-04
R=rsc
CC=golang-dev
https://golang.org/cl/229048
Andrew Gerrand [Thu, 4 Mar 2010 01:56:08 +0000 (12:56 +1100)]
First run at a Programming FAQ
Moved a couple of FAQs from the main FAQ, and added some others
R=r, rsc, iant, gri
CC=golang-dev
https://golang.org/cl/218070
Russ Cox [Thu, 4 Mar 2010 01:30:39 +0000 (17:30 -0800)]
net: put [ ] around IPv6 addresses for Dial
Update #538.
R=r
CC=golang-dev
https://golang.org/cl/229045
Russ Cox [Thu, 4 Mar 2010 01:30:29 +0000 (17:30 -0800)]
net: fix nil deref in testTimeout when Dial fails
Pointed out by Scott Schwartz.
Fixes #637.
R=scotts
CC=golang-dev
https://golang.org/cl/225042
Russ Cox [Thu, 4 Mar 2010 01:23:47 +0000 (17:23 -0800)]
gc: fix imported and not used message - show path
R=ken2
CC=golang-dev
https://golang.org/cl/229046
Rob Pike [Wed, 3 Mar 2010 20:35:16 +0000 (12:35 -0800)]
encoding/binary: fix error reporting bug
R=rsc
CC=golang-dev
https://golang.org/cl/224096
Stephen Ma [Wed, 3 Mar 2010 07:43:36 +0000 (18:43 +1100)]
net: fix network timeout boundary condition.
Fixes #472.
R=golang-dev
CC=golang-dev
https://golang.org/cl/223108
Stephen Ma [Wed, 3 Mar 2010 04:25:26 +0000 (15:25 +1100)]
net: correct DNS configuration
Set defaults to the same values as various C DNS resolver libraries.
Use the timeout value from the configuration.
Fixes #632.
R=rsc
CC=golang-dev
https://golang.org/cl/223094
Russ Cox [Wed, 3 Mar 2010 02:53:25 +0000 (18:53 -0800)]
test: fix 386 build (missing complex)
R=ken2
CC=golang-dev
https://golang.org/cl/223106
Ken Thompson [Wed, 3 Mar 2010 02:32:11 +0000 (18:32 -0800)]
more on type complex.
getting close.
R=rsc
CC=golang-dev
https://golang.org/cl/224105
Robert Griesemer [Wed, 3 Mar 2010 01:23:07 +0000 (17:23 -0800)]
gofmt: fix alignment of multi-line var declarations
- gofmt -w src misc
R=rsc, r
CC=golang-dev
https://golang.org/cl/223101
Andrew Gerrand [Tue, 2 Mar 2010 22:03:31 +0000 (09:03 +1100)]
codereview.py: fix for compatibility with hg >=1.4.3
hg.parseurl now returns a two-value tuple; codereview.py expected 3.
Changed to merely take the first return value.
R=rsc, iant
CC=golang-dev
https://golang.org/cl/223087
Andrew Gerrand [Tue, 2 Mar 2010 21:53:22 +0000 (08:53 +1100)]
http: corrected comment for Response.GetHeader.
Fixes #622.
R=rsc
CC=golang-dev
https://golang.org/cl/224084
Robert Griesemer [Tue, 2 Mar 2010 21:46:51 +0000 (13:46 -0800)]
gofmt: experiment: align values in map composites where possible
- gofmt -w src misc
- looking for feedback
R=rsc, r
CC=golang-dev
https://golang.org/cl/223076
Robert Griesemer [Tue, 2 Mar 2010 00:22:22 +0000 (16:22 -0800)]
Minor mistake in docs.
Fixes #633.
R=adg
CC=golang-dev
https://golang.org/cl/224090
Andrey Mirtchovski [Tue, 2 Mar 2010 00:18:22 +0000 (11:18 +1100)]
strings.Bytes -> []byte for documentation example, src/pkg/* comments, and htmlgen.go
R=rsc, adg
CC=golang-dev
https://golang.org/cl/224087
Andrew Gerrand [Mon, 1 Mar 2010 05:49:06 +0000 (21:49 -0800)]
gotest: set $AS to $GOBIN/$AS
May address issue 624.
R=rsc
CC=golang-dev
https://golang.org/cl/223083
Stephen Ma [Sun, 28 Feb 2010 10:15:56 +0000 (21:15 +1100)]
Count utf8 runes, not bytes when determining string width. Note
that pad() still counts bytes, but it's currently only used for
1 byte runes.
Fixes #612.
R=r
CC=golang-dev
https://golang.org/cl/217064
Russ Cox [Sat, 27 Feb 2010 01:18:43 +0000 (17:18 -0800)]
testing/benchmark: paranoia - make sure n always grows
R=wcn
CC=golang-dev
https://golang.org/cl/223075
Raif S. Naffah [Fri, 26 Feb 2010 23:24:46 +0000 (15:24 -0800)]
crypto/blowfish: new package
R=rsc
CC=golang-dev
https://golang.org/cl/217116
Russ Cox [Fri, 26 Feb 2010 22:54:28 +0000 (14:54 -0800)]
A+C: add Raif S. Naffah (individual CLA)
R=gri
CC=golang-dev
https://golang.org/cl/223073
Robert Griesemer [Fri, 26 Feb 2010 22:50:12 +0000 (14:50 -0800)]
go/parser cleanup: remove some state by writing more functional code
R=rsc
CC=golang-dev
https://golang.org/cl/223071
Russ Cox [Fri, 26 Feb 2010 22:21:52 +0000 (14:21 -0800)]
8g: fix out of register bug in byte(x) code
R=ken2
CC=golang-dev
https://golang.org/cl/223070
Ian Lance Taylor [Fri, 26 Feb 2010 22:03:52 +0000 (14:03 -0800)]
Add -r option to 6l/8l/5l.
This permits more flexibility with cgo and swig in cases where
the program is run on a machine other than the one on which it
is built. Rather than storing the absolute path to the shared
library in the DT_NEEDED entry, we can store just the name,
and let the dynamic linker find it using DT_RUNPATH or the
LD_LIBRARY_PATH environment variable.
R=rsc
CC=golang-dev
https://golang.org/cl/223068
Russ Cox [Fri, 26 Feb 2010 21:15:29 +0000 (13:15 -0800)]
8g: make a[byte(x)] truncate x
R=ken2
CC=golang-dev
https://golang.org/cl/223069
Robert Griesemer [Fri, 26 Feb 2010 19:23:12 +0000 (11:23 -0800)]
go/scanner: the position of '\n's chars must be the last position of the current line
Background: This didn't matter until recently, because '\n' don't appear as token starts
in source code and thus the exact position was irrelevant (and set as was easiest in the
code). With auto semicolon insertion, a virtual semicolon may be inserted when a '\n' is
seen. The position of the semicolon is the position of the '\n'. Without this fix, these
semicolons appeared on the next line instead of the line where they were inserted. This
affected the association of comments to declarations in the parser. As a result, some
lead comments where considered line comments, not collected in the ast, and not shown in
godoc pages. (This affected only godoc pages, not gofmt-formatted programs).
Fixes #592.
R=rsc
CC=golang-dev
https://golang.org/cl/224068
Micah Stetson [Fri, 26 Feb 2010 07:39:43 +0000 (18:39 +1100)]
Fix a couple of bugs referencing data values in template.
Adds tests and fixes for two cases that fail with the current release.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/217115
Rob Pike [Fri, 26 Feb 2010 05:32:45 +0000 (16:32 +1100)]
add micah.stetson to C&A
R=rsc
CC=golang-dev
https://golang.org/cl/223061
Christopher Wedgwood [Fri, 26 Feb 2010 04:06:41 +0000 (20:06 -0800)]
doc: Use byte("...") over byte{...}
R=rsc, r
CC=golang-dev
https://golang.org/cl/224069
Russ Cox [Fri, 26 Feb 2010 00:43:43 +0000 (16:43 -0800)]
use []byte("abc") in place of []byte{'a', 'b', 'c'}
R=gri
CC=golang-dev
https://golang.org/cl/223059
Robert Griesemer [Fri, 26 Feb 2010 00:07:55 +0000 (16:07 -0800)]
go/printer, gofmt: align comments in multi-line expression lists
- gofmt -w src misc
- improves several lists and fixes minor degradation introduced
with the fix for issue 628
- removed some dead code (stringList)
R=rsc
CC=golang-dev
https://golang.org/cl/223058
Russ Cox [Fri, 26 Feb 2010 00:01:29 +0000 (16:01 -0800)]
strings: delete Runes, Bytes
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench
gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench
delete unused imports
R=r
CC=golang-dev
https://golang.org/cl/224062
Robert Griesemer [Thu, 25 Feb 2010 23:54:12 +0000 (15:54 -0800)]
tabwriter: make use of new []byte() conversion
R=rsc
CC=golang-dev
https://golang.org/cl/224063
Russ Cox [Thu, 25 Feb 2010 23:11:07 +0000 (15:11 -0800)]
gc: implement []int(string) and []byte(string)
R=ken2
CC=golang-dev
https://golang.org/cl/224060
Stephen Weinberg [Thu, 25 Feb 2010 22:49:14 +0000 (14:49 -0800)]
Fix small typo in net package.
R=rsc
CC=golang-dev
https://golang.org/cl/224061
Robert Griesemer [Thu, 25 Feb 2010 21:47:16 +0000 (13:47 -0800)]
go/printer, gofmt: correct indentation after certain /*-style comments
- applied gofmt to src and misc
Note: This fix improved formatting of src/pkg/math/all_test.go but leads
to a degradation in src/pkg/exp/4s/xs.go. The latter happened to "work"
before accidentally. Fixing the alignment in that case in general will
be a separate CL.
Fixes #628.
R=rsc
CC=golang-dev
https://golang.org/cl/223054
Robert Griesemer [Thu, 25 Feb 2010 21:26:55 +0000 (13:26 -0800)]
tabwriter: indicate section breaks if Debug flag is set
R=rsc
CC=golang-dev
https://golang.org/cl/224057
Russ Cox [Thu, 25 Feb 2010 18:26:43 +0000 (10:26 -0800)]
dashboard: more performance tuning
various caching. make benchmark data a list
in a single per-builder,benchmark record instead
of having one record for each data point.
significant reduction in datastore cpu charges.
R=agl1, agl
CC=golang-dev
https://golang.org/cl/217111
Ian Lance Taylor [Thu, 25 Feb 2010 18:13:09 +0000 (10:13 -0800)]
Use consistent types in .h file and .c file.
R=rsc
CC=golang-dev
https://golang.org/cl/224053
Robert Griesemer [Thu, 25 Feb 2010 18:02:39 +0000 (10:02 -0800)]
strings: remove a couple of redundant tests
(per suggestion from Heresy.Mc@gmail.com)
R=rsc
CC=golang-dev
https://golang.org/cl/223052
Kevin Ballard [Thu, 25 Feb 2010 17:15:52 +0000 (09:15 -0800)]
path: Fix bug in Match with non-greedy stars
path.Match() errors out when testing "*x" against "xxx"
because it matches the star non-greedily. Ensure that
the last chunk consumes the rest of the name.
R=r, rsc
CC=golang-dev
https://golang.org/cl/223050
Rob Pike [Thu, 25 Feb 2010 06:29:37 +0000 (17:29 +1100)]
%q in fmt: if the object is a Stringer, use String() to get the value to quote.
R=rsc
CC=golang-dev
https://golang.org/cl/224051
Robert Griesemer [Thu, 25 Feb 2010 01:06:40 +0000 (17:06 -0800)]
go/scanner: support for complex (imaginary) constants
R=rsc
CC=golang-dev
https://golang.org/cl/223044
Ian Lance Taylor [Thu, 25 Feb 2010 01:00:25 +0000 (17:00 -0800)]
Install runtime.h and cgocall.h.
This permits cgo generated code to use these header files even
if the Go sources are not around.
R=rsc
CC=golang-dev
https://golang.org/cl/224045
Robert Griesemer [Thu, 25 Feb 2010 00:17:11 +0000 (16:17 -0800)]
go/ast: streamline representation of field lists
- always include position information about opening/closing parens/braces
- replace uses of []*ast.Field with *ast.FieldList
Fixes #473.
R=rsc
CC=golang-dev
https://golang.org/cl/223043
Russ Cox [Thu, 25 Feb 2010 00:11:14 +0000 (16:11 -0800)]
path: add Match
R=eridius, r, rog
CC=golang-dev
https://golang.org/cl/217088
Russ Cox [Wed, 24 Feb 2010 23:13:39 +0000 (15:13 -0800)]
http: fix handling of Close, use Close in http.Post
default to HTTP/1.1
R=petar-m
CC=golang-dev
https://golang.org/cl/224041
Robert Griesemer [Wed, 24 Feb 2010 21:24:37 +0000 (13:24 -0800)]
gofmt: don't print ()'s around function-typed results (not needed anymore)
- add extra test cases to go/printer tests
- apply gofmt to src and misc
R=rsc
CC=golang-dev
https://golang.org/cl/223041