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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years agoclean new garbage collector benchmark binaries
Russ Cox [Wed, 10 Feb 2010 08:43:31 +0000 (00:43 -0800)]
clean new garbage collector benchmark binaries

TBR=agl1
CC=golang-dev
https://golang.org/cl/207055

16 years agomath: add Exp2; 386 FPU versions of Exp2 and Log1p
Charles L. Dorian [Wed, 10 Feb 2010 08:06:41 +0000 (00:06 -0800)]
math: add Exp2; 386 FPU versions of Exp2 and Log1p

Added tests and benchmarks for Exp2 (special cases same
as Exp). Log1p also enhances speed of inverse hyperbolics.

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

16 years agoruntime: garbage collection + malloc performance
Russ Cox [Wed, 10 Feb 2010 08:00:12 +0000 (00:00 -0800)]
runtime: garbage collection + malloc performance
  * add bit tracking finalizer status, avoiding getfinalizer lookup
  * add ability to allocate uncleared memory

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

16 years agomime: new package, use in http
Michael Hoisie [Wed, 10 Feb 2010 04:47:45 +0000 (20:47 -0800)]
mime: new package, use in http

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

16 years agofix garbage benchmark Makefile.
Russ Cox [Wed, 10 Feb 2010 04:29:08 +0000 (20:29 -0800)]
fix garbage benchmark Makefile.

apparently some versions of GNU make cannot
handle the %: %.$O rule.  i don't understand why
and don't care enough to find out.

R=agl1
CC=golang-dev
https://golang.org/cl/206055

16 years agohttp: protect io.WriteString in Request/Response.Write with error checking,
Petar Maymounkov [Wed, 10 Feb 2010 01:42:51 +0000 (17:42 -0800)]
http: protect io.WriteString in Request/Response.Write with error checking,
since they were causing a silent program exit (too many EPIPE's).

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

16 years agobug fix in 6c/8c/5c mis-aligned
Ken Thompson [Wed, 10 Feb 2010 01:26:04 +0000 (17:26 -0800)]
bug fix in 6c/8c/5c mis-aligned
function arguments.

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

16 years agofix NaCl build for latest runtime changes
Russ Cox [Wed, 10 Feb 2010 00:56:22 +0000 (16:56 -0800)]
fix NaCl build for latest runtime changes

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

16 years agoruntime: fix FreeBSD build
Russ Cox [Wed, 10 Feb 2010 00:54:51 +0000 (16:54 -0800)]
runtime: fix FreeBSD build

stab in the dark but plausible: the kernel does try to
return time zone information.
http://fxr.watson.org/fxr/source/kern/kern_time.c?v=FREEBSD8#L421

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

16 years agodashboard: auto-update builder.sh.
Russ Cox [Tue, 9 Feb 2010 21:45:38 +0000 (13:45 -0800)]
dashboard: auto-update builder.sh.
avoid possibility of busy loop pounding on dashboard.

R=agl1
CC=golang-dev
https://golang.org/cl/206051

16 years agomath: add functions Log2, Nextafter, Fdim, Fmax, Fmin
Charles L. Dorian [Tue, 9 Feb 2010 21:33:12 +0000 (13:33 -0800)]
math: add functions Log2, Nextafter, Fdim, Fmax, Fmin

Add functions, tests and benchmarks. Fix typos in comments
in expm1 and hypot_386.  Fix Acosh domain error in benchmark
test.

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

16 years ago8a/8l: Added CMOVcc instructions
Evan Shaw [Tue, 9 Feb 2010 21:33:07 +0000 (13:33 -0800)]
8a/8l: Added CMOVcc instructions

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

16 years agoadd simple garbage collector benchmarks to dashboard
Russ Cox [Tue, 9 Feb 2010 21:33:00 +0000 (13:33 -0800)]
add simple garbage collector benchmarks to dashboard

R=agl1
CC=golang-dev
https://golang.org/cl/207043

16 years agomake units compile
Fazlul Shahriar [Tue, 9 Feb 2010 21:20:22 +0000 (13:20 -0800)]
make units compile

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

16 years ago.hgignore: ignore .gitignore (already ignoring .git)
Russ Cox [Tue, 9 Feb 2010 21:18:51 +0000 (13:18 -0800)]
.hgignore: ignore .gitignore (already ignoring .git)

R=agl1
CC=golang-dev
https://golang.org/cl/206047

16 years agoruntime: allow arbitrary return type in SetFinalizer.
Russ Cox [Tue, 9 Feb 2010 05:41:54 +0000 (21:41 -0800)]
runtime: allow arbitrary return type in SetFinalizer.
finalize chan, to free OS X semaphore inside Lock.
os: finalize File, to close fd.

Fixes #503.

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

16 years agogc: fix method expression bug
Russ Cox [Tue, 9 Feb 2010 05:40:35 +0000 (21:40 -0800)]
gc: fix method expression bug

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

16 years agoStruct field ambiguity test.
Ian Lance Taylor [Mon, 8 Feb 2010 23:40:09 +0000 (15:40 -0800)]
Struct field ambiguity test.

gccgo gets this wrong at the moment.

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