]> Cypherpunks.ru repositories - gostls13.git/log
gostls13.git
14 years agorelease.2010-02-04 step one weekly.2010-02-04
Andrew Gerrand [Fri, 5 Feb 2010 01:37:46 +0000 (17:37 -0800)]
release.2010-02-04 step one

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

14 years agohandle nils safely in Printf.
Rob Pike [Fri, 5 Feb 2010 00:23:25 +0000 (11:23 +1100)]
handle nils safely in Printf.
add some tests for erroneous formats.

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

14 years agoAdded mingw specific build stubs.
Joe Poirier [Thu, 4 Feb 2010 21:09:09 +0000 (13:09 -0800)]
Added mingw specific build stubs.

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

14 years agotime: Sleep through interruptions
Christopher Wedgwood [Thu, 4 Feb 2010 21:09:02 +0000 (13:09 -0800)]
time: Sleep through interruptions

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

14 years agoFreeBSD: Kill only takes pid & signal
Christopher Wedgwood [Thu, 4 Feb 2010 21:08:54 +0000 (13:08 -0800)]
FreeBSD: Kill only takes pid & signal

Cosmetic fix.  The FreeBSD system call only takes two
arguments.

http://fxr.watson.org/fxr/source/kern/kern_sig.c?im=bigexcerpts#L1678

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

14 years agoA+C: Joe Poirier (individual CLA)
Russ Cox [Thu, 4 Feb 2010 21:08:47 +0000 (13:08 -0800)]
A+C: Joe Poirier (individual CLA)

R=adg, adg1
CC=golang-dev
https://golang.org/cl/202044

14 years ago6l: move mapped symbol table lower in memory
Andrew Gerrand [Thu, 4 Feb 2010 20:46:11 +0000 (12:46 -0800)]
6l: move mapped symbol table lower in memory
Allows binary to run on some Linux system.

Fix for issue 365.

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

14 years agoAdded Andrew Gerrand to CONTRIBUTORS
Andrew Gerrand [Thu, 4 Feb 2010 19:42:41 +0000 (11:42 -0800)]
Added Andrew Gerrand to CONTRIBUTORS

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

14 years agoIn draw.Draw, separate the source-point and mask-point.
Nigel Tao [Thu, 4 Feb 2010 10:21:32 +0000 (21:21 +1100)]
In draw.Draw, separate the source-point and mask-point.
This lets you draw text (i.e. with mask = a font image) with
sources that aren't uniform colors.

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

14 years agosyscall: on freebsd, darwin, give Kill same signature as on linux
Russ Cox [Thu, 4 Feb 2010 10:06:08 +0000 (02:06 -0800)]
syscall: on freebsd, darwin, give Kill same signature as on linux

R=r, cw
CC=golang-dev
https://golang.org/cl/201043

14 years agoAdd named colors (e.g. image.Blue), suitable for exp/draw.
Nigel Tao [Thu, 4 Feb 2010 09:25:37 +0000 (20:25 +1100)]
Add named colors (e.g. image.Blue), suitable for exp/draw.

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

14 years agohttp: use ChunkWriter in Request.Write
Petar Maymounkov [Thu, 4 Feb 2010 08:23:01 +0000 (00:23 -0800)]
http: use ChunkWriter in Request.Write

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

14 years agoos/signal: send SIGCHLDs to Incoming
Christopher Wedgwood [Thu, 4 Feb 2010 07:24:28 +0000 (23:24 -0800)]
os/signal: send SIGCHLDs to Incoming

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

14 years agosearch for runtime.a in the package path instead of hardcoding
Kai Backman [Thu, 4 Feb 2010 06:31:38 +0000 (22:31 -0800)]
search for runtime.a in the package path instead of hardcoding
the location. remove last remnants of broken -l flag.

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

14 years agoarm: toss make-arm.bash
Russ Cox [Thu, 4 Feb 2010 04:46:37 +0000 (20:46 -0800)]
arm: toss make-arm.bash

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

14 years agoAdd RFC822 formats as named constants.
Rob Pike [Thu, 4 Feb 2010 04:39:27 +0000 (15:39 +1100)]
Add RFC822 formats as named constants.
Make sure to print a time zone when formatting even if none is defined.
Add a comment introducing lookupTimezone (not lookupTimeZone).

Fixes isse 577.

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

14 years agoadd apple's .DS_Store to ignored list
Rob Pike [Thu, 4 Feb 2010 04:12:39 +0000 (20:12 -0800)]
add apple's .DS_Store to ignored list

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

14 years agodebug/gosym: fix test for new 6l
Russ Cox [Thu, 4 Feb 2010 00:53:19 +0000 (16:53 -0800)]
debug/gosym: fix test for new 6l

TBR=r
CC=golang-dev
https://golang.org/cl/199091

14 years agofinalizers; merge package malloc into package runtime
Russ Cox [Thu, 4 Feb 2010 00:31:34 +0000 (16:31 -0800)]
finalizers; merge package malloc into package runtime

R=r, cw
CC=golang-dev
https://golang.org/cl/198085

14 years agold: include main and runtime in the library loop
Russ Cox [Thu, 4 Feb 2010 00:30:45 +0000 (16:30 -0800)]
ld: include main and runtime in the library loop

Fixes #585.

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

14 years agosort: fix comment typo
Andrey Mirtchovski [Wed, 3 Feb 2010 07:01:21 +0000 (23:01 -0800)]
sort: fix comment typo

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

14 years agofix build - misc ... vs ...T fixes
Russ Cox [Wed, 3 Feb 2010 02:19:27 +0000 (18:19 -0800)]
fix build - misc ... vs ...T fixes

TBR=r
CC=golang-dev
https://golang.org/cl/198081

14 years agoadded note about the GOARM env variable
Kai Backman [Wed, 3 Feb 2010 02:09:07 +0000 (18:09 -0800)]
added note about the GOARM env variable

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

14 years agobug252: make ... vs ...T crossing an error, at least for now
Russ Cox [Tue, 2 Feb 2010 23:00:13 +0000 (15:00 -0800)]
bug252: make ... vs ...T crossing an error, at least for now

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

14 years agogc: bug250, bug251 - recursive interface types
Russ Cox [Tue, 2 Feb 2010 07:58:49 +0000 (23:58 -0800)]
gc: bug250, bug251 - recursive interface types

Fixes #287.

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

14 years agoNew image.A type, to represent anti-aliased font glyphs.
Nigel Tao [Tue, 2 Feb 2010 07:38:04 +0000 (18:38 +1100)]
New image.A type, to represent anti-aliased font glyphs.

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

14 years agoMatch gccgo error messages.
Ian Lance Taylor [Tue, 2 Feb 2010 07:27:33 +0000 (23:27 -0800)]
Match gccgo error messages.

bug249.go:10:5: error: incompatible type in initialization
bug249.go:26:5: error: incompatible type in initialization

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

14 years agogc: bug246
Russ Cox [Tue, 2 Feb 2010 07:05:15 +0000 (23:05 -0800)]
gc: bug246

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

14 years agomath: change Cosh test to close, not veryclose (needed on some x86 chips)
Russ Cox [Tue, 2 Feb 2010 06:46:37 +0000 (22:46 -0800)]
math: change Cosh test to close, not veryclose (needed on some x86 chips)

R=r
CC=Charlie Dorian, golang-dev
https://golang.org/cl/199054

14 years agomath: add functions; update tests and special cases
Charles L. Dorian [Tue, 2 Feb 2010 06:21:40 +0000 (22:21 -0800)]
math: add functions; update tests and special cases

Added special cases to comments for asin.go and fabs.go.
Added Trunc() to floor.go and floor_386.s.  Fixed formatting
error in hypot_386.s  Added new functions Acosh, Asinh,
Atanh, Copysign, Erf, Erfc, Expm1, and Log1p.  Added
386 FPU version of Fmod.  Added tests, benchmarks, and
precision to expected results in all_test.go.  Edited
makefile so it all compiles.

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

14 years agogc: bug242
Russ Cox [Tue, 2 Feb 2010 06:18:51 +0000 (22:18 -0800)]
gc: bug242

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

14 years ago...T is now implemented
Rob Pike [Tue, 2 Feb 2010 02:59:23 +0000 (18:59 -0800)]
...T  is now implemented

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

14 years agoupdate printer tests to use new syntax
Robert Griesemer [Tue, 2 Feb 2010 01:51:55 +0000 (17:51 -0800)]
update printer tests to use new syntax

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

14 years agoio: revised Pipe implementation
Russ Cox [Tue, 2 Feb 2010 01:43:15 +0000 (17:43 -0800)]
io: revised Pipe implementation

* renamed channels to say what gets sent
* use channel closed status instead of racy check of boolean

R=nigeltao_golang
CC=golang-dev
https://golang.org/cl/196065

14 years agoallow any scalar type in xml.Unmarshal.
Rob Pike [Tue, 2 Feb 2010 00:53:10 +0000 (11:53 +1100)]
allow any scalar type in xml.Unmarshal.

Fixes #574.

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

14 years agoMatch gccgo error messages.
Ian Lance Taylor [Tue, 2 Feb 2010 00:35:23 +0000 (16:35 -0800)]
Match gccgo error messages.

import1.go:12:8: error: redefinition of ‘bufio’
import1.go:11:8: note: previous definition of ‘bufio’ was here
import1.go:16:2: error: redefinition of ‘fmt’
import1.go:15:2: note: previous definition of ‘fmt’ was here
import1.go:11:8: error: imported and not used: bufio

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

14 years agoIgnore the temporary files used for improved error messages.
Ian Lance Taylor [Tue, 2 Feb 2010 00:34:25 +0000 (16:34 -0800)]
Ignore the temporary files used for improved error messages.

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

14 years agoFix for gccgo, which uses a package prefix.
Ian Lance Taylor [Tue, 2 Feb 2010 00:26:50 +0000 (16:26 -0800)]
Fix for gccgo, which uses a package prefix.

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

14 years agoMatch gccgo error messages.
Ian Lance Taylor [Tue, 2 Feb 2010 00:25:55 +0000 (16:25 -0800)]
Match gccgo error messages.

I have to admit that "cannot use type p.T as type p.T" is a
bit weak.  8g gives a similar error ("cannot use v1 (type p.T)
as type p.T in assignment").

bug3.go:37:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types))
bug3.go:38:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types))
bug3.go:43:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types))
bug3.go:44:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types))
bug3.go:49:5: error: incompatible types in assignment (cannot use type p.T as type p.T)
bug3.go:50:5: error: incompatible types in assignment (cannot use type p.T as type p.T)
bug3.go:55:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:56:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:57:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:58:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:59:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:60:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:61:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))
bug3.go:62:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types))

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

14 years agogc: final ...T bug for the day
Russ Cox [Tue, 2 Feb 2010 00:22:16 +0000 (16:22 -0800)]
gc: final ...T bug for the day

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

14 years agoCorrected broken assertion.
Robert Griesemer [Tue, 2 Feb 2010 00:14:22 +0000 (16:14 -0800)]
Corrected broken assertion.
Fixes #571.

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

14 years agodon't report a couple of meaningless errors in command-line mode
Robert Griesemer [Tue, 2 Feb 2010 00:13:58 +0000 (16:13 -0800)]
don't report a couple of meaningless errors in command-line mode

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

14 years agoChange type of Printf's args to ... interface{}
Rob Pike [Mon, 1 Feb 2010 23:53:37 +0000 (10:53 +1100)]
Change type of Printf's args to ... interface{}

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

14 years agonacl: fix build, finally fixed 8l convergence bug
Russ Cox [Mon, 1 Feb 2010 23:20:19 +0000 (15:20 -0800)]
nacl: fix build, finally fixed 8l convergence bug

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

14 years agodashboard: avoid seeing cron's sh -c in ps check
Russ Cox [Mon, 1 Feb 2010 19:36:44 +0000 (11:36 -0800)]
dashboard: avoid seeing cron's sh -c in ps check

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

14 years agohttp: test for ReadReqeust
Petar Maymounkov [Mon, 1 Feb 2010 19:23:38 +0000 (11:23 -0800)]
http: test for ReadReqeust

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

14 years agogc: ... T corner cases
Russ Cox [Mon, 1 Feb 2010 18:49:24 +0000 (10:49 -0800)]
gc: ... T corner cases

more to come, but should suffice for Printf work.

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

14 years agolanguage FAQ entry on braces and semicolons
Rob Pike [Mon, 1 Feb 2010 09:45:29 +0000 (20:45 +1100)]
language FAQ entry on braces and semicolons

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

14 years agogc: add ... T, rework plain ...
Russ Cox [Mon, 1 Feb 2010 08:25:59 +0000 (00:25 -0800)]
gc: add ... T, rework plain ...

No longer a distinct type; now a property of func types.

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

14 years agoadd link to go build dashboard.
Rob Pike [Mon, 1 Feb 2010 06:38:26 +0000 (17:38 +1100)]
add link to go build dashboard.
break the list into two pieces

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

14 years agoFix redirection if the page is in a subdirectory.
Rob Pike [Mon, 1 Feb 2010 06:17:25 +0000 (17:17 +1100)]
Fix redirection if the page is in a subdirectory.
Fixes buggy links in the devel subdirectory.
Code from rsc; tested by me.

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

14 years agothe package global name space problem is addressed; update road map
Rob Pike [Mon, 1 Feb 2010 05:59:42 +0000 (16:59 +1100)]
the package global name space problem is addressed; update road map

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

14 years agoFix expected string.
Ian Lance Taylor [Mon, 1 Feb 2010 04:31:15 +0000 (20:31 -0800)]
Fix expected string.

I got it wrong because gccgo was incorrectly failing to clear
the value when a nonblocking receive did not receive
anything.

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

14 years agoMatch gccgo error messages.
Ian Lance Taylor [Sat, 30 Jan 2010 19:38:06 +0000 (11:38 -0800)]
Match gccgo error messages.

bug238.go:11:7: error: invalid constant type
bug238.go:12:7: error: invalid constant type
bug238.go:13:7: error: invalid constant type
bug238.go:14:7: error: invalid constant type
bug238.go:15:7: error: invalid constant type
bug238.go:16:7: error: invalid constant type
bug238.go:17:7: error: invalid constant type

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

14 years agoNew gccgo error message; match both compilers with one string.
Ian Lance Taylor [Sat, 30 Jan 2010 19:31:30 +0000 (11:31 -0800)]
New gccgo error message; match both compilers with one string.

8g:
runtime.go:19: cannot refer to unexported name runtime.printbool

gccgo:
runtime.go:19:10: error: invalid reference to unexported identifier ‘runtime.printbool’

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

14 years agoMatch gccgo error message.
Ian Lance Taylor [Sat, 30 Jan 2010 19:31:06 +0000 (11:31 -0800)]
Match gccgo error message.

bug231.go:20:4: error: incompatible types in assignment (type has no methods)

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

14 years agoRecognize gccgo error messages.
Ian Lance Taylor [Sat, 30 Jan 2010 06:38:39 +0000 (22:38 -0800)]
Recognize gccgo error messages.

bug228.go:11:25: error: invalid use of ‘...’
bug228.go:13:13: error: ‘...’ only permits one name
bug228.go:15:20: error: ‘...’ must be last parameter
bug228.go:17:7: error: expected type
bug228.go:19:8: error: expected type

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

14 years agoCheck gzip strings for NUL elements, since they are NUL-terminated
Nigel Tao [Sat, 30 Jan 2010 01:21:51 +0000 (12:21 +1100)]
Check gzip strings for NUL elements, since they are NUL-terminated
on the wire.

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

14 years agoAdd a GZIP test for the empty payload.
Nigel Tao [Sat, 30 Jan 2010 00:54:39 +0000 (11:54 +1100)]
Add a GZIP test for the empty payload.

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

14 years agohttp: increase header line limit, let req.Host override req.URL.Host
Petar Maymounkov [Sat, 30 Jan 2010 00:51:42 +0000 (16:51 -0800)]
http: increase header line limit, let req.Host override req.URL.Host

Fixes #566.

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

14 years agoLong-overdue update for semicolon change.
Ian Lance Taylor [Sat, 30 Jan 2010 00:37:50 +0000 (16:37 -0800)]
Long-overdue update for semicolon change.

Fixes #485.

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

14 years agoThe gccgo frontend has moved to a new repository.
Ian Lance Taylor [Sat, 30 Jan 2010 00:37:20 +0000 (16:37 -0800)]
The gccgo frontend has moved to a new repository.

Update the documents accordingly.  Also document gccgo
specific options.

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

14 years agofix bug in tick
Rob Pike [Fri, 29 Jan 2010 21:10:33 +0000 (13:10 -0800)]
fix bug in tick

Fixes #576.

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

14 years agomath: Change veryclose to close for Sinh and Exp tests.
Devon H. O'Dell [Fri, 29 Jan 2010 20:54:05 +0000 (12:54 -0800)]
math: Change veryclose to close for Sinh and Exp tests.

Fixes #550.

R=rsc
CC=eds, golang-dev, jtomaschke
https://golang.org/cl/196063

14 years agotwo minor build fixes
Russ Cox [Fri, 29 Jan 2010 02:18:40 +0000 (18:18 -0800)]
two minor build fixes

Fixes #572.
Fixes #570.

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

14 years agomove comment on StringHeader to fix godoc output.
Rob Pike [Fri, 29 Jan 2010 01:43:46 +0000 (12:43 +1100)]
move comment on StringHeader to fix godoc output.

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

14 years agoio: fix nil Write bug in Pipe
Russ Cox [Fri, 29 Jan 2010 01:38:51 +0000 (17:38 -0800)]
io: fix nil Write bug in Pipe

R=nigeltao_golang
CC=golang-dev
https://golang.org/cl/194132

14 years agoadded StringHeader to reflect
Ken Thompson [Fri, 29 Jan 2010 01:14:29 +0000 (17:14 -0800)]
added StringHeader to reflect

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

14 years agoavoid overflow of symb buffer in 5a/6a/8a/5c/6c/8c
Dean Prichard [Fri, 29 Jan 2010 00:11:38 +0000 (16:11 -0800)]
avoid overflow of symb buffer in 5a/6a/8a/5c/6c/8c

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

14 years agogzip deflater (i.e., writer).
Nigel Tao [Fri, 29 Jan 2010 00:00:05 +0000 (11:00 +1100)]
gzip deflater (i.e., writer).

Also, the unused Inflater.eof field was removed.
It has been unused since revision aaa0b24538.
"introduce os.EOF and io.ErrUnexpectedEOF. remove io.ErrEOF."
http://code.google.com/p/go/source/diff?spec=svnaaa0b24538ed1e3e54cbbfdd030a3c35785e74c5&r=aaa0b24538ed1e3e54cbbfdd030a3c35785e74c5&format=side&path=/src/pkg/compress/gzip/gunzip.go

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

14 years agogc: tweak error messages, avoid internalization settings in bison
Russ Cox [Thu, 28 Jan 2010 23:57:44 +0000 (15:57 -0800)]
gc: tweak error messages, avoid internalization settings in bison

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

14 years agohttp: add lexing functions
Petar Maymounkov [Thu, 28 Jan 2010 23:14:54 +0000 (15:14 -0800)]
http: add lexing functions

In particular, add field-value tokenizer which respects quoting rules.
The code is intended for use in tokenizing the Transfer-Encoding and Trailer fields.
The lexing function is not connected to the main parsing code yet (in the next CL).

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

14 years agoCosmetic bug or compliance fixes in http.Response.
Petar Maymounkov [Thu, 28 Jan 2010 23:13:26 +0000 (15:13 -0800)]
Cosmetic bug or compliance fixes in http.Response.

(1) http.Response must close resp.Body after writing.
(2) Case when resp.Body != nil and resp.ContentLength = 0 should not be
treated as an error in Response.Write, because this is what
ReadResponse often returns.
(3) Changed body.th to body.hdr for readability.

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

14 years agoAn experimental implemenation of Ticker using two goroutines for all tickers.
Rob Pike [Thu, 28 Jan 2010 21:34:40 +0000 (08:34 +1100)]
An experimental implemenation of Ticker using two goroutines for all tickers.
Feel free to suggest other approaches.

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

14 years agosupport for ...T parameters (go/* packages)
Robert Griesemer [Thu, 28 Jan 2010 21:24:48 +0000 (13:24 -0800)]
support for ...T parameters (go/* packages)

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

14 years agocodereview: make sure each mail has a reviewer
Russ Cox [Thu, 28 Jan 2010 20:48:21 +0000 (12:48 -0800)]
codereview: make sure each mail has a reviewer

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

14 years agodashboard: move key.py out of the way,
Russ Cox [Thu, 28 Jan 2010 20:48:09 +0000 (12:48 -0800)]
dashboard: move key.py out of the way,
so that if you have a key.py with the real key,
there is no chance hg change will accidentally
make a CL with the real key and upload it to codereview.

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

14 years agoAllow underscores in XML element names (except for leading characters)
Michael Hoisie [Thu, 28 Jan 2010 05:13:22 +0000 (21:13 -0800)]
Allow underscores in XML element names (except for leading characters)

Fixes #569

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

14 years agoRegularize the comments for the websocket package and document all functions and...
Rob Pike [Thu, 28 Jan 2010 04:38:32 +0000 (15:38 +1100)]
Regularize the comments for the websocket package and document all functions and methods.

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

14 years agorelease.2010-01-27, take 2
Russ Cox [Thu, 28 Jan 2010 02:31:54 +0000 (18:31 -0800)]
release.2010-01-27, take 2

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

14 years agoprepare for take 2 on release.2010-01-27 weekly.2010-01-27
Russ Cox [Thu, 28 Jan 2010 02:28:21 +0000 (18:28 -0800)]
prepare for take 2 on release.2010-01-27

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

14 years agogo/parser: disable scoping code always
Russ Cox [Thu, 28 Jan 2010 02:28:13 +0000 (18:28 -0800)]
go/parser: disable scoping code always

Seems to be enabled spuriously during godoc (can't see why),
producing errors like:

parser.parseDir: src/pkg/http/server.go:159:16: 'Write' declared already at src/pkg/http/request.go:140:21 (and 4 more errors)

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

14 years agorelease.2010-01-27
Russ Cox [Thu, 28 Jan 2010 00:23:15 +0000 (16:23 -0800)]
release.2010-01-27

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

14 years agoprepare for release.2010-01-27
Russ Cox [Thu, 28 Jan 2010 00:18:33 +0000 (16:18 -0800)]
prepare for release.2010-01-27

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

14 years agocodereview: correct handling of files created with hg cp
Russ Cox [Thu, 28 Jan 2010 00:14:11 +0000 (16:14 -0800)]
codereview: correct handling of files created with hg cp

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

14 years agoucsd cns talk, focused on networking
Russ Cox [Wed, 27 Jan 2010 23:50:29 +0000 (15:50 -0800)]
ucsd cns talk, focused on networking

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

14 years agodashboard: builder tweaks
Russ Cox [Wed, 27 Jan 2010 23:42:37 +0000 (15:42 -0800)]
dashboard: builder tweaks

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

14 years agochange print print buffer size
Ken Thompson [Wed, 27 Jan 2010 23:37:46 +0000 (15:37 -0800)]
change print print buffer size
to go with the full path names

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

14 years agogc: implement defer print/println/panic/panicln
Russ Cox [Wed, 27 Jan 2010 23:37:08 +0000 (15:37 -0800)]
gc: implement defer print/println/panic/panicln

Fixes #219.

R=ken2, r
CC=golang-dev
https://golang.org/cl/194097

14 years agonote that ...T is not yet implemented.
Rob Pike [Wed, 27 Jan 2010 21:45:16 +0000 (13:45 -0800)]
note that ...T is not yet implemented.

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

14 years agodashboard: look for key in $GOROOT before $HOME
Russ Cox [Wed, 27 Jan 2010 21:27:10 +0000 (13:27 -0800)]
dashboard: look for key in $GOROOT before $HOME

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

14 years agoadd definition of new parameter style
Rob Pike [Wed, 27 Jan 2010 21:14:40 +0000 (13:14 -0800)]
add definition of new parameter style
... T
for trailing arguments of type T.

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

14 years agogodashboard: fiddling
Russ Cox [Wed, 27 Jan 2010 21:09:58 +0000 (13:09 -0800)]
godashboard: fiddling
  * some tweaks to dashboard html/css layout
  * use hmac to generate per-builder subkeys

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

14 years agoMore steps towards tracking of identifier scopes.
Robert Griesemer [Wed, 27 Jan 2010 17:44:28 +0000 (09:44 -0800)]
More steps towards tracking of identifier scopes.
- provide scope to parse functions; if non-nil, parser uses the scope
  to declare and lookup identifiers
- resolve forward references where possible

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

14 years agoClarify parsing of channel types.
Robert Griesemer [Wed, 27 Jan 2010 17:35:39 +0000 (09:35 -0800)]
Clarify parsing of channel types.

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

14 years agogc: improved syntax errors
Russ Cox [Wed, 27 Jan 2010 07:13:22 +0000 (23:13 -0800)]
gc: improved syntax errors

* example-based syntax errors (go.errors)

* enable bison's more specific errors
  and translate grammar token names into
  tokens like ++

* test cases

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

14 years agosmall embedded target for arm.
Kai Backman [Wed, 27 Jan 2010 04:22:59 +0000 (20:22 -0800)]
small embedded target for arm.

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

14 years agocgo: update for package global name space
Russ Cox [Wed, 27 Jan 2010 02:20:15 +0000 (18:20 -0800)]
cgo: update for package global name space

Fixes #560.

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

14 years agopatch: handle text diffs from git
Russ Cox [Wed, 27 Jan 2010 01:49:33 +0000 (17:49 -0800)]
patch: handle text diffs from git

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

14 years agonet: fix segfault if /etc/hosts fails to open or doesn't exist
Michael Hoisie [Wed, 27 Jan 2010 00:18:29 +0000 (16:18 -0800)]
net: fix segfault if /etc/hosts fails to open or doesn't exist

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