]> Cypherpunks.ru repositories - gostls13.git/log
gostls13.git
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

14 years agosync: allow to work on armv5
Dean Prichard [Thu, 18 Feb 2010 23:37:16 +0000 (15:37 -0800)]
sync: allow to work on armv5

asm_arm.s was using ldrex which does not work
on armv5. Tested on Sheevaplug.

R=rsc, kaib
CC=golang-dev
https://golang.org/cl/214049

14 years agomore complex - constants
Ken Thompson [Thu, 18 Feb 2010 22:46:28 +0000 (14:46 -0800)]
more complex - constants
import and export

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

14 years agogc: recursive interface embedding
Russ Cox [Thu, 18 Feb 2010 19:15:36 +0000 (11:15 -0800)]
gc: recursive interface embedding

Fixes #287.

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

14 years ago5g/8g: fix build
Russ Cox [Thu, 18 Feb 2010 06:41:04 +0000 (22:41 -0800)]
5g/8g: fix build

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

14 years agonew types complex, complex64 and complex128
Ken Thompson [Thu, 18 Feb 2010 06:08:30 +0000 (22:08 -0800)]
new types complex, complex64 and complex128
only front-end compiler work.
best to do thin in 3 steps
1. frontend
2. backend
3. lib

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

14 years agorelease.2010-02-17 part two
Andrew Gerrand [Thu, 18 Feb 2010 00:43:29 +0000 (16:43 -0800)]
release.2010-02-17 part two

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

14 years agorelease 2010-02-17 part one weekly.2010-02-17
Andrew Gerrand [Thu, 18 Feb 2010 00:31:52 +0000 (16:31 -0800)]
release 2010-02-17 part one

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

14 years agolanguage spec: make NUL byte rule an implementation restriction
Robert Griesemer [Wed, 17 Feb 2010 23:50:34 +0000 (15:50 -0800)]
language spec: make NUL byte rule an implementation restriction

R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/211041

14 years agoapply gofmt to src and misc
Robert Griesemer [Wed, 17 Feb 2010 23:46:46 +0000 (15:46 -0800)]
apply gofmt to src and misc

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

14 years agogofmt: make sure certain 2-line comments are stable
Robert Griesemer [Wed, 17 Feb 2010 23:41:26 +0000 (15:41 -0800)]
gofmt: make sure certain 2-line comments are stable
       under repeated application of gofmt

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

14 years ago8g: respect ullman numbers in float comparison
Russ Cox [Wed, 17 Feb 2010 23:28:45 +0000 (15:28 -0800)]
8g: respect ullman numbers in float comparison

Fixes #602.

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

14 years agotime.Ticker: fix bug arising when all tickers are dead.
Rob Pike [Wed, 17 Feb 2010 22:55:29 +0000 (09:55 +1100)]
time.Ticker: fix bug arising when all tickers are dead.
thanks to yglgogo for analysis.

Fixes #593.

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

14 years agoAdd Src and Over draw operators.
Nigel Tao [Wed, 17 Feb 2010 03:34:51 +0000 (14:34 +1100)]
Add Src and Over draw operators.

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

14 years agoinstall: Added gcc, build-essential to apt-get command line.
Andrew Gerrand [Wed, 17 Feb 2010 01:48:43 +0000 (17:48 -0800)]
install: Added gcc, build-essential to apt-get command line.

Mercury now requires build tools to install.

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

14 years agogc: undo attempt at fixing recursive interface embedding
Russ Cox [Wed, 17 Feb 2010 01:44:15 +0000 (17:44 -0800)]
gc: undo attempt at fixing recursive interface embedding

Fixes #582.

Update #287
Status: Accepted
Bug fix was too intrusive; undo and reopen issue.

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

14 years agogo/scanner: comply with spec changes (do not allow NUL chars)
Robert Griesemer [Wed, 17 Feb 2010 01:39:44 +0000 (17:39 -0800)]
go/scanner: comply with spec changes (do not allow NUL chars)
and complain about illegal UTF-8 code sequences

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

14 years agogc: fix build (signed char bug)
Russ Cox [Wed, 17 Feb 2010 01:30:33 +0000 (17:30 -0800)]
gc: fix build (signed char bug)

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

14 years agogc: disallow NUL byte, catch more invalid UTF-8, test
Russ Cox [Wed, 17 Feb 2010 00:47:39 +0000 (16:47 -0800)]
gc: disallow NUL byte, catch more invalid UTF-8, test

R=ken2, ken3
CC=golang-dev
https://golang.org/cl/209041

14 years agospec: disallow NUL in source files
Russ Cox [Wed, 17 Feb 2010 00:47:18 +0000 (16:47 -0800)]
spec: disallow NUL in source files

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

14 years agospecification of []int(string) and []byte(string).
Rob Pike [Wed, 17 Feb 2010 00:26:09 +0000 (11:26 +1100)]
specification of []int(string) and []byte(string).
also clarify other string conversions.

R=rsc, iant, gri, ken2
CC=golang-dev
https://golang.org/cl/207103

14 years agoruntime: fix bug in Caller documentation
Russ Cox [Wed, 17 Feb 2010 00:11:11 +0000 (16:11 -0800)]
runtime: fix bug in Caller documentation

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

14 years agogodoc: updated documentation
Robert Griesemer [Tue, 16 Feb 2010 23:36:55 +0000 (15:36 -0800)]
godoc: updated documentation

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

14 years agoThe prefix optimization applies only to the first iteration.
Rob Pike [Tue, 16 Feb 2010 21:49:00 +0000 (08:49 +1100)]
The prefix optimization applies only to the first iteration.

Fixes #596.

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

14 years agogodoc: initialize vars depending on flags after parsing the flags.
Robert Griesemer [Tue, 16 Feb 2010 20:49:41 +0000 (12:49 -0800)]
godoc: initialize vars depending on flags after parsing the flags.

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

14 years agogodoc: fix initialization issue
Robert Griesemer [Tue, 16 Feb 2010 19:54:12 +0000 (11:54 -0800)]
godoc: fix initialization issue

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

14 years agosyscall: make signature of Umask on OS X, FreeBSD match Linux.
Giles Lean [Tue, 16 Feb 2010 19:43:25 +0000 (11:43 -0800)]
syscall: make signature of Umask on OS X, FreeBSD match Linux.

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

14 years agocc: use "cpp" anywhere in path, not "/bin/cpp"
Giles Lean [Tue, 16 Feb 2010 19:32:41 +0000 (11:32 -0800)]
cc: use "cpp" anywhere in path, not "/bin/cpp"

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

14 years agoA+C: Giles Lean (individual CLA)
Russ Cox [Tue, 16 Feb 2010 19:32:25 +0000 (11:32 -0800)]
A+C: Giles Lean (individual CLA)

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

14 years agogodoc support for directories outside $GOROOT
Robert Griesemer [Tue, 16 Feb 2010 19:20:55 +0000 (11:20 -0800)]
godoc support for directories outside $GOROOT

Example use: godoc -path=/home/user1:/home/build/foo -http=:6666
will start a local godoc that maps urls starting with /pkg/user1 or
/pkg/foo to the respective roots specified in the path.

Missing: Handling of overlapping package directories, multiple
packages per directory.

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

14 years agoremove assumption that all files belonging to a package are in the same directory:
Robert Griesemer [Tue, 16 Feb 2010 19:20:25 +0000 (11:20 -0800)]
remove assumption that all files belonging to a package are in the same directory:
- adjust ast.Package node and doc.PackageDoc correspondingly
- introduce parser.ParseFiles

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

14 years agoDon't print ()'s around a range clause's expression.
Robert Griesemer [Tue, 16 Feb 2010 18:19:51 +0000 (10:19 -0800)]
Don't print ()'s around a range clause's expression.
Fixes #605.

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

14 years agogc: test & fix handling of very long string constants
Russ Cox [Tue, 16 Feb 2010 18:16:24 +0000 (10:16 -0800)]
gc: test & fix handling of very long string constants

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

14 years agoFix printing of named floating point types.
Ian Lance Taylor [Tue, 16 Feb 2010 06:42:49 +0000 (22:42 -0800)]
Fix printing of named floating point types.

Try to avoid infinite recursion if String fails due to
printing a bad type.

Add test for String method with named basic types.

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

14 years agoupdate gofmt test script
Robert Griesemer [Fri, 12 Feb 2010 23:28:11 +0000 (15:28 -0800)]
update gofmt test script

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

14 years agohttp: clarify ServeHTTP return
Russ Cox [Fri, 12 Feb 2010 22:27:44 +0000 (14:27 -0800)]
http: clarify ServeHTTP return

Fixes #580.

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

14 years agogc: diagnose invalid array bounds
Russ Cox [Fri, 12 Feb 2010 21:59:02 +0000 (13:59 -0800)]
gc: diagnose invalid array bounds

Fixes #587.

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

14 years agoruntime: dummy gettime for mingw/386.
Russ Cox [Fri, 12 Feb 2010 20:49:16 +0000 (12:49 -0800)]
runtime: dummy gettime for mingw/386.

Fixes #598.

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

14 years agocorrect meaning of "absolute" and "relative"
Robert Griesemer [Thu, 11 Feb 2010 21:59:10 +0000 (13:59 -0800)]
correct meaning of "absolute" and "relative"
(implementation was swapped)

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

14 years agoSteps towards more flexible godoc:
Robert Griesemer [Thu, 11 Feb 2010 18:01:03 +0000 (10:01 -0800)]
Steps towards more flexible godoc:
The Mapping object implements a flexible
mapping of relative to absolute paths and
vice versa.

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

14 years agostop the 5c optimizer from clobbering extern static registers.
Kai Backman [Thu, 11 Feb 2010 06:42:05 +0000 (22:42 -0800)]
stop the 5c optimizer from clobbering extern static registers.

R=rsc, ken2
CC=golang-dev
https://golang.org/cl/204064

14 years agoruntime: delete MHeapMapCache, which is useless
Russ Cox [Thu, 11 Feb 2010 05:23:08 +0000 (21:23 -0800)]
runtime: delete MHeapMapCache, which is useless
because free needs to mark the block as freed to
coordinate with the garbage collector.

(in C++ free can blindly put the block on the free list,
no questions asked, so the cache saves some work.)

R=iant
CC=golang-dev
https://golang.org/cl/206069

14 years agoexp/draw test.
Nigel Tao [Thu, 11 Feb 2010 02:38:16 +0000 (13:38 +1100)]
exp/draw test.

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

14 years agoAdded tests for http.Request/Response.Write()
Petar Maymounkov [Thu, 11 Feb 2010 01:29:03 +0000 (17:29 -0800)]
Added tests for http.Request/Response.Write()

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

14 years agoarm: take out fixedbugs/bug120 - gives inconsistent errors
Russ Cox [Thu, 11 Feb 2010 01:21:34 +0000 (17:21 -0800)]
arm: take out fixedbugs/bug120 - gives inconsistent errors

R=kaib
CC=golang-dev
https://golang.org/cl/207062

14 years agonet: use slightly less predictable dns request id
Russ Cox [Thu, 11 Feb 2010 00:35:35 +0000 (16:35 -0800)]
net: use slightly less predictable dns request id

not trying to be secure, just not repetitive
(sending with the same id repeatedly makes
some resolvers stop replying.)

eventually we'll replace this with linking against
the system's native resolver.

R=p
CC=golang-dev
https://golang.org/cl/207051

14 years agoarm: fix build on android
Russ Cox [Wed, 10 Feb 2010 23:01:02 +0000 (15:01 -0800)]
arm: fix build on android

R=kaib
CC=golang-dev
https://golang.org/cl/206059

14 years agoruntime: tighten garbage collector
Russ Cox [Wed, 10 Feb 2010 22:59:39 +0000 (14:59 -0800)]
runtime: tighten garbage collector
 * specialize sweepspan as sweepspan0 and sweepspan1.
 * in sweepspan1, inline "free" to avoid expensive mlookup.

R=iant
CC=golang-dev
https://golang.org/cl/206060

14 years agoruntime: do not zero blocks on free (this time for sure!)
Russ Cox [Wed, 10 Feb 2010 19:31:00 +0000 (11:31 -0800)]
runtime: do not zero blocks on free (this time for sure!)

R=iant
CC=golang-dev
https://golang.org/cl/207054

14 years ago8l: pe executable building code changed to include import table for kernel32.dll...
Alex Brainman [Wed, 10 Feb 2010 08:47:52 +0000 (00:47 -0800)]
8l: pe executable building code changed to include import table for kernel32.dll functions

Fixes #586.

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

14 years agogc: fix mkopnames and color grep interaction
Russ Cox [Wed, 10 Feb 2010 08:44:43 +0000 (00:44 -0800)]
gc: fix mkopnames and color grep interaction

Fixes #406.

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

14 years agold: unused variable
Russ Cox [Wed, 10 Feb 2010 08:44:22 +0000 (00:44 -0800)]
ld: unused variable

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

14 years agoA+C: add Alex Brainman (individual CLA)
Russ Cox [Wed, 10 Feb 2010 08:44:07 +0000 (00:44 -0800)]
A+C: add Alex Brainman (individual CLA)

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