]> Cypherpunks.ru repositories - gostls13.git/log
gostls13.git
14 years agorelease.2010-03-04 weekly.2010-03-04
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

14 years agoFirst run at a Programming FAQ
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

14 years agonet: put [ ] around IPv6 addresses for Dial
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

14 years agonet: fix nil deref in testTimeout when Dial fails
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

14 years agogc: fix imported and not used message - show path
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

14 years agoencoding/binary: fix error reporting bug
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

14 years agonet: fix network timeout boundary condition.
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

14 years agonet: correct DNS configuration
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

14 years agotest: fix 386 build (missing complex)
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

14 years agomore on type complex.
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

14 years agogofmt: fix alignment of multi-line var declarations
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

14 years agocodereview.py: fix for compatibility with hg >=1.4.3
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

14 years agohttp: corrected comment for Response.GetHeader.
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

14 years agogofmt: experiment: align values in map composites where possible
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

14 years agoMinor mistake in docs.
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

14 years agostrings.Bytes -> []byte for documentation example, src/pkg/* comments, and htmlgen.go
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

14 years agogotest: set $AS to $GOBIN/$AS
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

14 years agoCount utf8 runes, not bytes when determining string width. Note
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

14 years agotesting/benchmark: paranoia - make sure n always grows
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

14 years agocrypto/blowfish: new package
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

14 years agoA+C: add Raif S. Naffah (individual CLA)
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

14 years agogo/parser cleanup: remove some state by writing more functional code
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

14 years ago8g: fix out of register bug in byte(x) code
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

14 years agoAdd -r option to 6l/8l/5l.
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

14 years ago8g: make a[byte(x)] truncate x
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

14 years agogo/scanner: the position of '\n's chars must be the last position of the current...
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

14 years agoFix a couple of bugs referencing data values in template.
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

14 years agoadd micah.stetson to C&A
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

14 years agodoc: Use byte("...") over byte{...}
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

14 years agouse []byte("abc") in place of []byte{'a', 'b', 'c'}
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

14 years agogo/printer, gofmt: align comments in multi-line expression lists
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

14 years agostrings: delete Runes, Bytes
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

14 years agotabwriter: make use of new []byte() conversion
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

14 years agogc: implement []int(string) and []byte(string)
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

14 years agoFix small typo in net package.
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

14 years agogo/printer, gofmt: correct indentation after certain /*-style comments
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

14 years agotabwriter: indicate section breaks if Debug flag is set
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

14 years agodashboard: more performance tuning
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

14 years agoUse consistent types in .h file and .c file.
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

14 years agostrings: remove a couple of redundant tests
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

14 years agopath: Fix bug in Match with non-greedy stars
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

14 years ago%q in fmt: if the object is a Stringer, use String() to get the value to quote.
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

14 years agogo/scanner: support for complex (imaginary) constants
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

14 years agoInstall runtime.h and cgocall.h.
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

14 years agogo/ast: streamline representation of field lists
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

14 years agopath: add Match
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

14 years agohttp: fix handling of Close, use Close in http.Post
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

14 years agogofmt: don't print ()'s around function-typed results (not needed anymore)
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

14 years agogo/printer: use general comment intersperse mechanism everywhere
Robert Griesemer [Wed, 24 Feb 2010 19:06:46 +0000 (11:06 -0800)]
go/printer: use general comment intersperse mechanism everywhere
- remove several TODOs
- as a side-effect, comment stylers are now used always and comments
  will be properly colored in godoc pkg documentation pages (and not
  only when looking at source text)

R=rsc
CC=golang-dev
https://golang.org/cl/222041

14 years agoInclude an Eratosthenesque concurrent prime sieve to go along with the "naive" version.
Anh Hai Trinh [Wed, 24 Feb 2010 05:21:16 +0000 (16:21 +1100)]
Include an Eratosthenesque concurrent prime sieve to go along with the "naive" version.

R=r
CC=golang-dev
https://golang.org/cl/218046

14 years agoadd Anh Hai Trinh to C&A
Rob Pike [Wed, 24 Feb 2010 05:20:47 +0000 (16:20 +1100)]
add Anh Hai Trinh to C&A

R=rsc, adg
CC=golang-dev
https://golang.org/cl/218076

14 years agorelease.2010-02-23 part two
Andrew Gerrand [Wed, 24 Feb 2010 00:40:42 +0000 (16:40 -0800)]
release.2010-02-23 part two

R=rsc
CC=golang-dev
https://golang.org/cl/218074

14 years agorelease.2010-02-23 part one weekly.2010-02-23
Andrew Gerrand [Wed, 24 Feb 2010 00:35:31 +0000 (16:35 -0800)]
release.2010-02-23 part one

R=rsc
CC=golang-dev
https://golang.org/cl/217108

14 years agomisc/bbedit: treat predeclared identifiers as "keywords"
Anthony Starks [Tue, 23 Feb 2010 21:50:46 +0000 (13:50 -0800)]
misc/bbedit: treat predeclared identifiers as "keywords"

R=rsc
CC=golang-dev
https://golang.org/cl/218064

14 years agocrypto package documentation fix
Mark Zavislak [Tue, 23 Feb 2010 20:01:09 +0000 (12:01 -0800)]
crypto package documentation fix

Replaces stale references to modes.go.

R=golang-dev, agl, rsc
CC=golang-dev
https://golang.org/cl/218071

14 years agoadd Mark Zavislak (Google) to CONTRIBUTORS
Russ Cox [Tue, 23 Feb 2010 20:00:38 +0000 (12:00 -0800)]
add Mark Zavislak (Google) to CONTRIBUTORS

R=adg
CC=golang-dev, zavislak
https://golang.org/cl/218072

14 years agogoyacc: fix handling of / and comments in goyacc
Rob Pike [Tue, 23 Feb 2010 05:00:14 +0000 (16:00 +1100)]
goyacc: fix handling of / and comments in goyacc

Fixes #618.

R=rsc
CC=golang-dev
https://golang.org/cl/217094

14 years agoruntime: work around Linux kernel bug in futex
Russ Cox [Tue, 23 Feb 2010 04:45:36 +0000 (20:45 -0800)]
runtime: work around Linux kernel bug in futex

Fixes #420.

R=r
CC=golang-dev
https://golang.org/cl/218065

14 years agonet: disable UDP server test
Russ Cox [Tue, 23 Feb 2010 04:38:56 +0000 (20:38 -0800)]
net: disable UDP server test

has been flaking on various architectures.
not sure why, but doesn't seem to be Go's fault.

Fixes #617.

R=r
CC=golang-dev
https://golang.org/cl/217093

14 years agomath: add lgamma; in-line special cases of acosh, nextafter
Charles L. Dorian [Tue, 23 Feb 2010 01:12:48 +0000 (17:12 -0800)]
math: add lgamma; in-line special cases of acosh, nextafter

Added lgamma.go, tests and special cases.

R=rsc
CC=golang-dev
https://golang.org/cl/217060

14 years agoFix xgb/example.go typo.
Nigel Tao [Tue, 23 Feb 2010 00:54:57 +0000 (11:54 +1100)]
Fix xgb/example.go typo.

R=adg
CC=golang-dev
https://golang.org/cl/210047

14 years agogo_mem: clarified unbuffered channel sync example
Andrew Gerrand [Tue, 23 Feb 2010 00:51:28 +0000 (16:51 -0800)]
go_mem: clarified unbuffered channel sync example

R=rsc
CC=golang-dev
https://golang.org/cl/218063

14 years agogo/printer (gofmt): remove more residue from semicolon transition
Robert Griesemer [Mon, 22 Feb 2010 23:41:59 +0000 (15:41 -0800)]
go/printer (gofmt): remove more residue from semicolon transition
minor unrelated cleanups

R=rsc
CC=golang-dev
https://golang.org/cl/217086

14 years agohttp: use RawURL in Request.Write
Petar Maymounkov [Mon, 22 Feb 2010 23:39:30 +0000 (15:39 -0800)]
http: use RawURL in Request.Write

R=rsc
CC=golang-dev
https://golang.org/cl/217066

14 years agoxml: treat bool as value in Unmarshal
Michael Hoisie [Mon, 22 Feb 2010 23:21:13 +0000 (15:21 -0800)]
xml: treat bool as value in Unmarshal

R=rsc
CC=golang-dev
https://golang.org/cl/218050

14 years agoeffective_go: clarified small comment
Andrew Gerrand [Mon, 22 Feb 2010 22:51:22 +0000 (14:51 -0800)]
effective_go: clarified small comment

R=rsc, cw
CC=golang-dev
https://golang.org/cl/217085

14 years agohttp: fix bug in Post
Petar Maymounkov [Mon, 22 Feb 2010 22:46:59 +0000 (14:46 -0800)]
http: fix bug in Post

R=rsc
CC=golang-dev
https://golang.org/cl/217059

14 years agojson: fix quoted strings in Marshal
Sergei Skorobogatov [Mon, 22 Feb 2010 22:32:40 +0000 (14:32 -0800)]
json: fix quoted strings in Marshal

R=rsc
CC=golang-dev
https://golang.org/cl/217047

14 years agoA+C: add Sergei Skorobogatov (individual CLA)
Russ Cox [Mon, 22 Feb 2010 22:30:45 +0000 (14:30 -0800)]
A+C: add Sergei Skorobogatov (individual CLA)

R=adg
CC=golang-dev
https://golang.org/cl/218060

14 years agoscanner: match go/scanner and disallow NUL character;
Robert Griesemer [Mon, 22 Feb 2010 22:21:59 +0000 (14:21 -0800)]
scanner: match go/scanner and disallow NUL character;
also check for illegal UTF-8 sequences

R=rsc
CC=golang-dev
https://golang.org/cl/218061

14 years agohttp request URI should never be empty
Michael Hoisie [Mon, 22 Feb 2010 03:49:43 +0000 (19:49 -0800)]
http request URI should never be empty

R=rsc, adg
CC=golang-dev
https://golang.org/cl/217071

14 years agotest: rename nul.go to nul1.go
Russ Cox [Mon, 22 Feb 2010 02:57:21 +0000 (18:57 -0800)]
test: rename nul.go to nul1.go

nul is a reserved file name in Windows

R=r
CC=golang-dev
https://golang.org/cl/216068

14 years agoall done except -
Ken Thompson [Mon, 22 Feb 2010 01:51:39 +0000 (17:51 -0800)]
all done except -
complex divide
float(complex) conversion
8g 5g etc
tests

R=rsc
CC=golang-dev
https://golang.org/cl/218044

14 years agogc: minor const simplifications
Russ Cox [Sun, 21 Feb 2010 19:18:09 +0000 (11:18 -0800)]
gc: minor const simplifications

R=ken2
CC=golang-dev
https://golang.org/cl/217069

14 years agofixed bug in mpconst float multiply by 0.
Ken Thompson [Sat, 20 Feb 2010 04:42:50 +0000 (20:42 -0800)]
fixed bug in mpconst float multiply by 0.
more complex -- constants, variables and print.

R=rsc
CC=golang-dev
https://golang.org/cl/217061

14 years agowebsocket: fix binary frame size decoding
Timo Savola [Sat, 20 Feb 2010 02:40:09 +0000 (18:40 -0800)]
websocket: fix binary frame size decoding

R=ukai, rsc
CC=golang-dev
https://golang.org/cl/166074

14 years agoA+C: add Timo Savola (individual CLA)
Russ Cox [Sat, 20 Feb 2010 02:39:33 +0000 (18:39 -0800)]
A+C: add Timo Savola (individual CLA)

R=adg
CC=golang-dev, tsavola
https://golang.org/cl/217049

14 years agogo/ast: use a slice instead of a linked list for the list of comments
Robert Griesemer [Sat, 20 Feb 2010 01:03:09 +0000 (17:03 -0800)]
go/ast: use a slice instead of a linked list for the list of comments
        (this will simplify some further changes)
removed several TODOs

R=rsc
CC=golang-dev
https://golang.org/cl/216059

14 years agogodoc: fix path resolution for command-line one more time (sigh...)
Robert Griesemer [Sat, 20 Feb 2010 00:23:19 +0000 (16:23 -0800)]
godoc: fix path resolution for command-line one more time (sigh...)

R=rsc
CC=golang-dev
https://golang.org/cl/217058

14 years ago- removed exp/parser (support for old semicolon syntax)
Robert Griesemer [Sat, 20 Feb 2010 00:01:31 +0000 (16:01 -0800)]
- removed exp/parser (support for old semicolon syntax)
- go/ast: removed StringList (not needed anymore)
- go/ast: changed import path and field list tag to a single string
- updated all dependencies

R=rsc
CC=golang-dev
https://golang.org/cl/217056

14 years agogodoc: make commandline use work again
Robert Griesemer [Fri, 19 Feb 2010 19:41:48 +0000 (11:41 -0800)]
godoc: make commandline use work again

R=rsc
CC=golang-dev
https://golang.org/cl/216054

14 years agoremove absolute paths from search results
Robert Griesemer [Fri, 19 Feb 2010 18:09:20 +0000 (10:09 -0800)]
remove absolute paths from search results

R=adg
CC=golang-dev
https://golang.org/cl/216053

14 years agohttp: unified body transfer (read & write) logic in http.Request/Response.
Petar Maymounkov [Fri, 19 Feb 2010 16:38:40 +0000 (08:38 -0800)]
http: unified body transfer (read & write) logic in http.Request/Response.

Compliance issue addressed here: POST requests carrying form data are required
to use "identity" transfer encoding by common nginx and apache server configurations,
e.g. wordpress.com (and many others). So, Request needed to be able to send
non-chunked encodings.

Thus, Request is extended to support identity and chunked encodings, like
Response.  Since the Read() and Write() logic are shared by both (and are
quite long), it is exported in a separate file transfer.go.

R=rsc
CC=golang-dev
https://golang.org/cl/217048

14 years agohttp: add Pending method to ServerConn, ClientConn
Petar Maymounkov [Fri, 19 Feb 2010 16:21:21 +0000 (08:21 -0800)]
http: add Pending method to ServerConn, ClientConn

R=rsc
CC=golang-dev
https://golang.org/cl/216052

14 years agodashboard: lots of caching to avoid datastore queries
Russ Cox [Fri, 19 Feb 2010 16:20:59 +0000 (08:20 -0800)]
dashboard: lots of caching to avoid datastore queries

reorganize benchmark computation so that it is
incremental.  if it times out, it doesn't lose the
pieces it already computed, so that next time it
has a fighting chance to finish.

R=agl1, agl
CC=golang-dev
https://golang.org/cl/216046

14 years agocrypto/x509: support certificate creation.
Adam Langley [Fri, 19 Feb 2010 15:55:41 +0000 (10:55 -0500)]
crypto/x509: support certificate creation.

R=rsc
CC=golang-dev
https://golang.org/cl/212041

14 years agohttp: add DumpRequest, DumpResponse, for debugging
Petar Maymounkov [Fri, 19 Feb 2010 15:51:51 +0000 (07:51 -0800)]
http: add DumpRequest, DumpResponse, for debugging

R=rsc
CC=golang-dev
https://golang.org/cl/206050

14 years agohttp: persistent connection objects
Petar Maymounkov [Fri, 19 Feb 2010 07:38:21 +0000 (23:38 -0800)]
http: persistent connection objects

R=rsc
CC=golang-dev
https://golang.org/cl/203051

14 years agohttp: do not edit Response.ContentLength in Response.Write
Petar Maymounkov [Fri, 19 Feb 2010 07:38:17 +0000 (23:38 -0800)]
http: do not edit Response.ContentLength in Response.Write

R=rsc
CC=golang-dev
https://golang.org/cl/207061

14 years agogc: double-initialization
Russ Cox [Fri, 19 Feb 2010 07:33:57 +0000 (23:33 -0800)]
gc: double-initialization

R=ken2
CC=golang-dev
https://golang.org/cl/217044

14 years agocombined pchw and embedded into tiny. added section on arm to README
Kai Backman [Fri, 19 Feb 2010 07:33:21 +0000 (23:33 -0800)]
combined pchw and embedded into tiny. added section on arm to README

R=rsc
CC=golang-dev
https://golang.org/cl/194151

14 years agomath: add Cbrt and Sincos; x87 versions of Sincos, Frexp, Ldexp
Charles L. Dorian [Fri, 19 Feb 2010 07:33:15 +0000 (23:33 -0800)]
math: add Cbrt and Sincos; x87 versions of Sincos, Frexp, Ldexp

Added special condition and benchmarks for Cbrt, Sincos. Took Frexp and Ldexp out of bits.go.

R=rsc
CC=golang-dev
https://golang.org/cl/206084

14 years ago8a/8l: Added FCMOVcc instructions
Evan Shaw [Fri, 19 Feb 2010 07:33:06 +0000 (23:33 -0800)]
8a/8l: Added FCMOVcc instructions

Thanks to Charles Dorian for the help.

R=rsc
CC=Charlie Dorian, golang-dev
https://golang.org/cl/207049

14 years agoxml: allow unquoted attribute values in non-Strict mode
Amrut Joshi [Fri, 19 Feb 2010 07:32:55 +0000 (23:32 -0800)]
xml: allow unquoted attribute values in non-Strict mode

HTML4 standard supports unquoted attibute values in certain cases
(http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.2.2).

R=rsc
CC=golang-dev
https://golang.org/cl/207095

14 years agoA+C: add Amrut Joshi (individual CLA)
Russ Cox [Fri, 19 Feb 2010 07:32:22 +0000 (23:32 -0800)]
A+C: add Amrut Joshi (individual CLA)

R=r
CC=golang-dev
https://golang.org/cl/216047

14 years agohttp: avoid server crash on malformed client request
Fumitoshi Ukai [Fri, 19 Feb 2010 02:32:40 +0000 (18:32 -0800)]
http: avoid server crash on malformed client request

R=r, rsc
CC=golang-dev
https://golang.org/cl/206079

14 years agoexec: add dir argument to Run.
Russ Cox [Fri, 19 Feb 2010 02:32:33 +0000 (18:32 -0800)]
exec: add dir argument to Run.
fix, test MergeWithStdout

R=r
CC=golang-dev
https://golang.org/cl/214046

14 years agogc: fix this morning's bug fix
Russ Cox [Fri, 19 Feb 2010 02:31:13 +0000 (18:31 -0800)]
gc: fix this morning's bug fix

R=ken2
CC=golang-dev
https://golang.org/cl/216043

14 years agocomplex constant multiply and divide
Ken Thompson [Fri, 19 Feb 2010 01:55:11 +0000 (17:55 -0800)]
complex constant multiply and divide

R=rsc
CC=golang-dev
https://golang.org/cl/217041

14 years agogodoc: path cleanups, fixed a race condition, initial support for a menu on pages
Robert Griesemer [Fri, 19 Feb 2010 01:40:50 +0000 (17:40 -0800)]
godoc: path cleanups, fixed a race condition, initial support for a menu on pages

R=rsc
CC=adg, golang-dev
https://golang.org/cl/215050