]>
Cypherpunks repositories - gostls13.git/log
Alex Brainman [Wed, 8 Dec 2010 01:52:36 +0000 (12:52 +1100)]
runtime: fix windows build
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
3419043
Keith Rarick [Tue, 7 Dec 2010 23:06:31 +0000 (18:06 -0500)]
runtime: add Goroutines
R=rsc
CC=golang-dev
https://golang.org/cl/
3508041
Eoghan Sherry [Tue, 7 Dec 2010 22:20:52 +0000 (17:20 -0500)]
ld: fix dwarf decoding of 64-bit reflect values
R=rsc
CC=golang-dev
https://golang.org/cl/
3002041
Russ Cox [Tue, 7 Dec 2010 22:19:36 +0000 (17:19 -0500)]
runtime: debugging help on 386
R=r
CC=golang-dev
https://golang.org/cl/
3502041
Nigel Tao [Tue, 7 Dec 2010 21:59:20 +0000 (08:59 +1100)]
html: handle unexpected EOF during parsing.
This lets us parse HTML like "<html>foo".
R=gri
CC=golang-dev
https://golang.org/cl/
3460043
Russ Cox [Tue, 7 Dec 2010 21:45:06 +0000 (16:45 -0500)]
cc: allow $ as letter in pragma arguments
(Needed for Mac OS X symbol names.)
R=ken2
CC=golang-dev
https://golang.org/cl/
3499041
Robert Griesemer [Tue, 7 Dec 2010 21:44:01 +0000 (13:44 -0800)]
go/parser: Better comment for ParseFile.
The name ParseFile was kept as it indicates that
this function parses a Go 'SourceFile' per the
Go spec. Similarly, the other functions (ParseExpr,
ParseStmtList, ParseDeclList) parse the corresponding
constructs as defined in the Go spec.
Fixes #1311.
R=r, rsc
CC=golang-dev
https://golang.org/cl/
3453042
Rob Pike [Tue, 7 Dec 2010 21:42:54 +0000 (16:42 -0500)]
throughout: fix broken calls to Printf etc.
I have written a tool to verify Printf calls, and although it's not
ready to be reviewed yet it's already uncovered a spate of problems
in the repository. I'm sending this CL to break the changes into
pieces; as the tool improves it will find more, I'm sure.
R=rsc
CC=golang-dev
https://golang.org/cl/
3427043
Andrew Gerrand [Tue, 7 Dec 2010 21:31:26 +0000 (08:31 +1100)]
doc: add link to WindowsPort page from install.html
R=r
CC=golang-dev
https://golang.org/cl/
3442042
Russ Cox [Tue, 7 Dec 2010 21:20:15 +0000 (16:20 -0500)]
http: fix build
R=dsymonds
TBR=dsymonds
CC=golang-dev
https://golang.org/cl/
3425044
Eoghan Sherry [Tue, 7 Dec 2010 21:16:01 +0000 (16:16 -0500)]
gc: skip undefined symbols in import .
Fixes #1284.
R=ken3, rsc
CC=golang-dev
https://golang.org/cl/
3210041
Russ Cox [Tue, 7 Dec 2010 21:15:15 +0000 (16:15 -0500)]
crypto/tls: add *Config argument to Dial
Document undocumented exported names.
Allow nil Rand, Time, RootCAs in Config.
Fixes #1248.
R=agl1
CC=golang-dev
https://golang.org/cl/
3481042
Christian Himpel [Tue, 7 Dec 2010 21:14:55 +0000 (16:14 -0500)]
crypto/tls: fix build of certificate generation example
R=agl1, rsc
CC=golang-dev
https://golang.org/cl/
3366041
Russ Cox [Tue, 7 Dec 2010 21:14:45 +0000 (16:14 -0500)]
CONTRIBUTORS: add alias chressie@googlemail.com == chressie@gmail.com
R=r
CC=golang-dev
https://golang.org/cl/
3485044
Michael Hoisie [Tue, 7 Dec 2010 20:57:00 +0000 (15:57 -0500)]
exec.LookPath: return os.PathError instad of os.ENOENT, it's more descriptive.
R=rsc
CC=golang-dev
https://golang.org/cl/
3448042
Nigel Tao [Tue, 7 Dec 2010 20:55:03 +0000 (07:55 +1100)]
html: move the sanity checking of the entity map from runtime
(during init) to test-time (via gotest).
R=gri
CC=golang-dev
https://golang.org/cl/
3466044
David Symonds [Tue, 7 Dec 2010 20:54:04 +0000 (15:54 -0500)]
http: Add EncodeQuery, a handy helper function for constructing URL query strings.
R=stephenm, rsc
CC=golang-dev
https://golang.org/cl/
2985042
Wei Guangjing [Tue, 7 Dec 2010 20:28:33 +0000 (15:28 -0500)]
8l : add dynimport to import table in Windows PE, initial make cgo dll work.
R=rsc, brainman, Joe Poirier, mattn
CC=golang-dev
https://golang.org/cl/
2166041
Albert Strasheim [Tue, 7 Dec 2010 20:28:26 +0000 (15:28 -0500)]
build: Allow archiver to be specified in the environment with HOST_AR.
R=rsc
CC=golang-dev
https://golang.org/cl/
2515043
Eoghan Sherry [Tue, 7 Dec 2010 20:28:21 +0000 (15:28 -0500)]
errchk: accept multiple source files
R=rsc, iant
CC=golang-dev
https://golang.org/cl/
3217042
Roger Peppe [Tue, 7 Dec 2010 19:54:15 +0000 (14:54 -0500)]
bufio: make Reader.Read implement io.Reader semantics
R=rsc
CC=golang-dev
https://golang.org/cl/
3395042
Albert Strasheim [Tue, 7 Dec 2010 18:40:14 +0000 (13:40 -0500)]
syscall, net: Add Recvmsg and Sendmsg on Linux.
Working on issue 1101.
R=rsc
CC=golang-dev
https://golang.org/cl/
2331044
Russ Cox [Tue, 7 Dec 2010 18:19:01 +0000 (13:19 -0500)]
flag: handle multiple calls to flag.Parse
R=r
CC=golang-dev
https://golang.org/cl/
3071041
Robert Griesemer [Tue, 7 Dec 2010 18:08:00 +0000 (10:08 -0800)]
go/scanner: remove Tokenize() - was only used in tests
R=r
CC=golang-dev
https://golang.org/cl/
3415042
Eoghan Sherry [Tue, 7 Dec 2010 17:56:26 +0000 (12:56 -0500)]
gc: fix method offsets of anonymous interfaces
Fixes #1290.
R=rsc
CC=golang-dev
https://golang.org/cl/
3259043
Dean Prichard [Tue, 7 Dec 2010 17:05:00 +0000 (12:05 -0500)]
sync: small naming fix for armv5
R=rsc
CC=golang-dev
https://golang.org/cl/
3268042
Andrew Gerrand [Tue, 7 Dec 2010 04:24:46 +0000 (15:24 +1100)]
runtime: fix build for nacl
R=lvd
CC=golang-dev
https://golang.org/cl/
3391044
Ryan Hitchman [Tue, 7 Dec 2010 01:13:47 +0000 (12:13 +1100)]
html: unescape numeric entities, and complete the named entities table, including two-character entities.
Fixes #1233.
R=nigeltao
CC=golang-dev
https://golang.org/cl/
3445041
Nigel Tao [Tue, 7 Dec 2010 01:02:36 +0000 (12:02 +1100)]
html: first cut at a parser.
R=gri
CC=golang-dev
https://golang.org/cl/
3355041
Robert Griesemer [Mon, 6 Dec 2010 23:34:23 +0000 (15:34 -0800)]
godoc: don't call flush if position is not valid
(fixes new godoc crash when looking at spec)
R=rsc, r, iant
CC=golang-dev
https://golang.org/cl/
3488041
Robert Griesemer [Mon, 6 Dec 2010 22:23:18 +0000 (14:23 -0800)]
go/ast: use token.Pos instead of token.Position; adjust all dependent code
Specifically:
* lib/godoc:
- provide file set (FSet) argument to formatters where needed
* src/cmd:
- cgo, ebnflint, godoc, gofmt, goinstall: provide file set (fset) where needed
- godoc: remove local binary search with sort.Search (change by rsc),
extract file set for formatters
* src/pkg:
- exp/eval: remove embedded token.Position fields from nodes and replace
with named token.Pos fields; add corresponding Pos() accessor methods
- go/token: added file.Line(), changed signature of File.Position()
* test/fixedbugs/:
- bug206.go: change test to not rely on token.Pos details
* added various extra comments
* Runs all.bash
* gofmt formats all of src, misc w/o changes
* godoc runs
* performance:
- The new version of godoc consumes about the same space after indexing
has completed, but indexing is half the speed. Significant space savings
are expected from smaller ASTs, but since they are thrown away after a
file has been indexed, this is not visible anymore. The slower indexing
time is due to the much more expensive computation of line information.
However, with the new compressed position information, indexing can be
rewritten and simplified. Furthermore, computing the line info can be
done more efficiently.
New godoc, immediately after indexing completed (best of three runs):
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
44381 godoc 0.0% 0:38.00 4 19 149 145M 184K 148M 176M
2010/12/03 17:58:35 index updated (39.231s, 18505 unique words, 386387 spots)
2010/12/03 17:58:35 bytes=
90858456 footprint=
199182584
2010/12/03 17:58:36 bytes=
47858568 footprint=
167295224
Old godoc, immediately after indexing completed (best of three runs):
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
23167 godoc 0.0% 0:22.02 4 17 132 129M 184K 132M 173M
2010/12/03 14:51:32 index updated (24.892s, 18765 unique words, 393830 spots)
2010/12/03 14:51:32 bytes=
66404528 footprint=
163907832
2010/12/03 14:51:32 bytes=
46282224 footprint=
163907832
The different numbers for unique words/spots stem from the fact the the
two workspaces are not exactly identical. The new godoc maintains a large
file set data structure during indexing which (probably) is the reason
for the larger heap (
90858456 vs
66404528 ) before garbage collection.
R=rsc, r
CC=golang-dev
https://golang.org/cl/
3050041
Russ Cox [Mon, 6 Dec 2010 22:07:36 +0000 (14:07 -0800)]
net: fix TestDialGoogle
TBR=r
CC=golang-dev
https://golang.org/cl/
3417042
Yuval Pavel Zholkover [Mon, 6 Dec 2010 21:38:28 +0000 (16:38 -0500)]
8l, runtime: fix Plan 9 386 build.
8l was broken by commit
7ac0d2eed9 , it caused .data to be page aligned in the file - which is not how Plan 9 expects things to be.
Also .rodata was layed out in a similar fashion.
Not sure when signame was introduced, but added a stub.
Removed the symo assignment in asm.c as it is not currently used.
Fix runtime breakage after commit
629c065d36 which prefixes all external symbols with runtimeĀ·.
R=rsc
CC=golang-dev
https://golang.org/cl/
2674041
Russ Cox [Mon, 6 Dec 2010 21:31:59 +0000 (16:31 -0500)]
LICENSE: separate, change PATENTS text
Split patent grant clause out of LICENSE file
and update text to be more like that used by WebM.
These changes should make Go more acceptable
to the Fedora project and they are acceptable to the FSF.
R=iant
CC=golang-dev
https://golang.org/cl/
3103042
Eoghan Sherry [Mon, 6 Dec 2010 21:24:51 +0000 (16:24 -0500)]
math: improve accuracy of Exp2
Note:
* Exp2 doesn't have a special case for very small arguments
* Exp2 hasn't been subject to a proper error analysis
Also:
* add tests for Exp2 with integer argument
* always test Go versions of Exp and Exp2
R=rsc
CC=Charlie Dorian, PeterGo, golang-dev
https://golang.org/cl/
3481041
Russ Cox [Mon, 6 Dec 2010 21:22:32 +0000 (16:22 -0500)]
time: fix build
Allow less precise timing on build machines.
TBR=r
CC=golang-dev
https://golang.org/cl/
3391043
Rob Pike [Mon, 6 Dec 2010 19:38:25 +0000 (14:38 -0500)]
use the new %U format for runes
R=rsc
CC=golang-dev
https://golang.org/cl/
3483041
Rob Pike [Mon, 6 Dec 2010 19:29:05 +0000 (14:29 -0500)]
netchan: fix dumb locking bug introduced in recent editing.
-found by Dave Cheney
R=rsc
CC=golang-dev
https://golang.org/cl/
3460042
Rob Pike [Mon, 6 Dec 2010 19:23:52 +0000 (14:23 -0500)]
flag: fix format error in boolean error report. just use %q; the values are strings.
R=rsc
CC=golang-dev
https://golang.org/cl/
3418043
Rob Pike [Mon, 6 Dec 2010 19:23:37 +0000 (14:23 -0500)]
fmt: add %U format for standard Unicode representation of integer values.
fmt.Printf("%U", 1) yields "U+0001"
It's essentially "U+%.4x" but lets you override the precision works in scan, too.
R=rsc
CC=golang-dev
https://golang.org/cl/
3423043
Roger Peppe [Mon, 6 Dec 2010 19:19:30 +0000 (14:19 -0500)]
time: make After use fewer goroutines and host processes.
With credit to Gustavo Niemeyer, who hinted at this approach
in #go-nuts.
R=adg, rsc, niemeyer, r
CC=golang-dev
https://golang.org/cl/
3416043
Roger Peppe [Mon, 6 Dec 2010 19:10:10 +0000 (14:10 -0500)]
bytes: add Buffer.UnreadRune, Buffer.UnreadByte
R=rsc, r
CC=golang-dev
https://golang.org/cl/
3421041
Devon H. O'Dell [Sun, 5 Dec 2010 23:34:39 +0000 (10:34 +1100)]
builder: Allow buildroot to be passed as command-line argument
R=adg
CC=golang-dev
https://golang.org/cl/
3473041
Nigel Tao [Sun, 5 Dec 2010 22:20:39 +0000 (09:20 +1100)]
A+C: add Ryan Hitchman.
R=adg, r2
CC=golang-dev
https://golang.org/cl/
3430042
Andrew Gerrand [Sun, 5 Dec 2010 03:04:15 +0000 (12:04 +0900)]
doc/install: describe GOHOSTOS and GOHOSTARCH
Fixes #1303.
R=rsc, PeterGo
CC=golang-dev
https://golang.org/cl/
3442041
Luuk van Dijk [Fri, 3 Dec 2010 18:19:33 +0000 (19:19 +0100)]
[68]l: generate debug info for builtin structured types. prettyprinting in gdb.
R=rsc
CC=golang-dev
https://golang.org/cl/
3309041
Andrew Gerrand [Fri, 3 Dec 2010 03:37:55 +0000 (14:37 +1100)]
godoc: add separators between quick reference topics
R=bradfitz, dangabrad
CC=golang-dev
https://golang.org/cl/
3433042
Andrew Gerrand [Fri, 3 Dec 2010 01:40:52 +0000 (12:40 +1100)]
tag release.2010-12-02
R=r, r2
CC=golang-dev
https://golang.org/cl/
3437041
Andrew Gerrand [Fri, 3 Dec 2010 00:48:18 +0000 (11:48 +1100)]
release.2010-12-02
R=r, r2
CC=golang-dev
https://golang.org/cl/
3433041
Andrew Gerrand [Fri, 3 Dec 2010 00:47:33 +0000 (11:47 +1100)]
doc: add gofrontend paper to talks/ and docs.html
R=r, iant
CC=golang-dev
https://golang.org/cl/
3434041
Andrew Gerrand [Thu, 2 Dec 2010 21:57:30 +0000 (06:57 +0900)]
doc: add Practical Go Programming to front page and docs.html
R=r
CC=golang-dev
https://golang.org/cl/
3391042
Robert Griesemer [Thu, 2 Dec 2010 20:32:14 +0000 (12:32 -0800)]
go_spec: fixed a couple omissions/type errors
- use math.Sqrt instead of Math.sqrt
- use float64 for Point fields to match math.Sqrt
- distinguish between Point and Point3D for clarity
- add alignment sizes for complex types
R=r, rsc, iant, ken2
CC=golang-dev
https://golang.org/cl/
3420041
Jamie Gennis [Thu, 2 Dec 2010 18:42:10 +0000 (10:42 -0800)]
go/printer: preserve newlines in func parameter lists
Fixes #1179.
R=gri
CC=golang-dev
https://golang.org/cl/
3225042
Robert Griesemer [Thu, 2 Dec 2010 18:41:56 +0000 (10:41 -0800)]
A+C: added Jamie Gennis
R=iant, r
CC=golang-dev
https://golang.org/cl/
3416042
Stefan Nilsson [Thu, 2 Dec 2010 17:18:20 +0000 (09:18 -0800)]
Sort: reduced stack depth to lg(n) in quickSort
Doing the tail recursion elimination explicitly
seems safer than leaving it to the compiler;
the code is still clean and easy to understand.
R=r, r2, gri
CC=golang-dev
https://golang.org/cl/
3373041
Robert Griesemer [Thu, 2 Dec 2010 17:18:08 +0000 (09:18 -0800)]
A+C: adding Stefan Nilsson
R=rsc, iant2
CC=golang-dev
https://golang.org/cl/
3417041
Brad Fitzpatrick [Thu, 2 Dec 2010 04:00:19 +0000 (20:00 -0800)]
http: consume request body before next request
Fixes #1306.
R=rsc
CC=golang-dev
https://golang.org/cl/
3332043
Rob Pike [Thu, 2 Dec 2010 01:10:40 +0000 (17:10 -0800)]
template: implement multi-word variable instantation for formatters.
Before one could say
{field}
or
{field|formatter}
Now one can also say
{field1 field2 field3}
or
{field1 field2 field3|formatter}
and the fields are passed as successive arguments to the formatter,
analogous to fmt.Print.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/
3385041
Rob Pike [Thu, 2 Dec 2010 01:10:26 +0000 (17:10 -0800)]
roadmap: update gdb status
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
3395041
Rob Pike [Wed, 1 Dec 2010 21:33:49 +0000 (13:33 -0800)]
template: change the signature of formatters for future development.
Make them more like Printf, with a ... final argument. This breaks
code with existing formatters but not the templates that use them.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/
3378041
Kyle Consalus [Wed, 1 Dec 2010 19:59:13 +0000 (11:59 -0800)]
Removed bytes.Add and bytes.AddByte; we now have 'append'.
Changed all uses of bytes.Add (aside from those testing bytes.Add) to append(a, b...).
Also ran "gofmt -s" and made use of copy([]byte, string) in the fasta benchmark.
R=golang-dev, r, r2
CC=golang-dev
https://golang.org/cl/
3302042
Roger Peppe [Wed, 1 Dec 2010 18:15:42 +0000 (10:15 -0800)]
log: ensure writes are atomic.
This means that any Writer can be used safely
even when Output is called concurrently.
Fixes #1302.
R=r, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/
3300042
Benny Siegert [Wed, 1 Dec 2010 01:17:45 +0000 (17:17 -0800)]
path: Windows support for Split
Make Split work on backslashes as well as on slashes under Windows
and support the "C:filename" special case. Also add corresponding
tests.
R=r, rsc, PeterGo, r2, brainman
CC=golang-dev
https://golang.org/cl/
3008041
Luuk van Dijk [Tue, 30 Nov 2010 23:19:00 +0000 (00:19 +0100)]
runtime: fix windows breakage
R=iant
CC=golang-dev
https://golang.org/cl/
3344044
Rob Pike [Tue, 30 Nov 2010 22:28:33 +0000 (14:28 -0800)]
fmt: fix documentation format glitch. no content to change.
Fixes #1313.
R=gri
CC=golang-dev
https://golang.org/cl/
3361041
Adam Langley [Tue, 30 Nov 2010 21:59:43 +0000 (16:59 -0500)]
utf8: make EncodeRune's destination the first argument.
R=r
CC=golang-dev
https://golang.org/cl/
3364041
Adam Langley [Tue, 30 Nov 2010 21:58:59 +0000 (16:58 -0500)]
crypto/elliptic: use a Jacobian transform
(Speeds up the code about 25x)
R=r
CC=golang-dev
https://golang.org/cl/
3359042
Rob Pike [Tue, 30 Nov 2010 20:59:52 +0000 (12:59 -0800)]
fmt.Scan: accept Inf and NaN
Fixes #1308.
R=rsc, r2
CC=golang-dev
https://golang.org/cl/
3280045
Rob Pike [Tue, 30 Nov 2010 20:53:42 +0000 (12:53 -0800)]
strconv: Atof on Infs and NaNs
R=rsc
CC=golang-dev
https://golang.org/cl/
3359041
Rob Pike [Tue, 30 Nov 2010 18:37:57 +0000 (10:37 -0800)]
sort: avoid overflow in pivot calculation.
thanks to snilsson@nada.kth.se for the original CL.
R=gri
CC=golang-dev, snilsson
https://golang.org/cl/
3280044
Eoghan Sherry [Tue, 30 Nov 2010 18:23:27 +0000 (10:23 -0800)]
big: fix (*Rat) SetFrac64(a, b) when b < 0.
R=gri
CC=golang-dev
https://golang.org/cl/
3352041
Robert Griesemer [Tue, 30 Nov 2010 18:23:07 +0000 (10:23 -0800)]
add Eoghan Sherry as author and contributor
R=r, r2
CC=golang-dev
https://golang.org/cl/
3311043
Luuk van Dijk [Tue, 30 Nov 2010 17:21:26 +0000 (18:21 +0100)]
runtime: parallel definitions in Go for all C structs.
R=rsc
CC=golang-dev
https://golang.org/cl/
3308041
Peter Mundy [Mon, 29 Nov 2010 22:31:24 +0000 (14:31 -0800)]
godoc: fix doc typo
Consistently use 6060 as the port number.
R=gri
CC=golang-dev
https://golang.org/cl/
3287042
Luuk van Dijk [Mon, 29 Nov 2010 18:25:33 +0000 (19:25 +0100)]
[68]l: correct dwarf location for globals and ranges for arrays.
R=rsc
CC=golang-dev
https://golang.org/cl/
3306042
Anschel Schaffer-Cohen [Mon, 29 Nov 2010 17:17:28 +0000 (09:17 -0800)]
doc/code.html: fix reference to "gomake build"
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
3288042
Rob Pike [Mon, 29 Nov 2010 15:30:36 +0000 (07:30 -0800)]
fmt: allow "% X" as well as "% x"
R=rsc, cw, PeterGo
CC=golang-dev
https://golang.org/cl/
3319042
Peter Mundy [Mon, 29 Nov 2010 01:10:02 +0000 (10:10 +0900)]
doc: fix docs typos
R=adg
CC=golang-dev
https://golang.org/cl/
3315041
Anschel Schaffer-Cohen [Sun, 28 Nov 2010 22:25:31 +0000 (09:25 +1100)]
exp/eval: build fix for parser.ParseFile API change.
R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/
3283042
Ian Lance Taylor [Sat, 27 Nov 2010 00:16:47 +0000 (16:16 -0800)]
A+C: Add Harley Laue (individual CLA)
R=rsc, adg
CC=golang-dev
https://golang.org/cl/
3316041
Mathieu Lonjaret [Fri, 26 Nov 2010 02:05:22 +0000 (13:05 +1100)]
compress/flate: fix typo in comment.
R=golang-dev, nigeltao_gnome, nigeltao
CC=golang-dev
https://golang.org/cl/
3334041
Alex Brainman [Wed, 24 Nov 2010 00:47:35 +0000 (11:47 +1100)]
runtime: fix SysFree to really free memory on Windows
Fixes #1294.
R=golang-dev, PeterGo, iant
CC=golang-dev
https://golang.org/cl/
3271041
Andrew Gerrand [Tue, 23 Nov 2010 23:49:22 +0000 (10:49 +1100)]
tag release.2010-11-23
R=nigeltao
CC=golang-dev
https://golang.org/cl/
3294041
Andrew Gerrand [Tue, 23 Nov 2010 23:47:59 +0000 (10:47 +1100)]
release.2010-11-23
R=nigeltao
CC=golang-dev
https://golang.org/cl/
3293041
Yves Junqueira [Mon, 22 Nov 2010 23:43:16 +0000 (10:43 +1100)]
doc: add link to codewalks.
Fixes #1281.
R=adg
CC=golang-dev
https://golang.org/cl/
3150041
Yves Junqueira [Mon, 22 Nov 2010 23:42:04 +0000 (10:42 +1100)]
Documentation: how to write Makefiles for commands.
Fixes #1282.
R=adg
CC=golang-dev
https://golang.org/cl/
3152041
Wei Guangjing [Mon, 22 Nov 2010 16:01:30 +0000 (11:01 -0500)]
net: add ReadFrom and WriteTo windows version.
Fixes #1275.
R=rsc, brainman
CC=golang-dev
https://golang.org/cl/
3136042
Anthony Martin [Mon, 22 Nov 2010 15:59:51 +0000 (10:59 -0500)]
gc: better error message for bad type in channel send
# test program
1 package main
2
3 type C chan int
4
5 func F(c C) {
6 c <- true
7 }
# old error
test.go:6: cannot use true (type bool) as type int in function argument
# new error
test.go:6: cannot use true (type bool) as type int in channel send
R=rsc, ejsherry
CC=golang-dev
https://golang.org/cl/
3231042
Robert Griesemer [Sun, 21 Nov 2010 05:30:36 +0000 (21:30 -0800)]
position.go: more flexible AddFile method
This will make it easier to use Pos values
together with suffix arrays by slightly de-
coupling the mapping of Pos values to global
offsets.
R=rsc
CC=golang-dev
https://golang.org/cl/
3231041
Ken Thompson [Sat, 20 Nov 2010 23:58:28 +0000 (15:58 -0800)]
more on dynamic hash in compound literals.
thanks to vskrap, andrey mirtchovski,
and Eoghan Sherry.
R=rsc
CC=golang-dev
https://golang.org/cl/
3245041
Robert Griesemer [Fri, 19 Nov 2010 22:05:12 +0000 (14:05 -0800)]
godoc: use correct time stamp to indicate accuracy of search result
- compare against fsModified to check if index is out of date
- don't change fsModified if there are no user-mapped file systems
R=rsc, iant
CC=golang-dev
https://golang.org/cl/
3213041
Adam Langley [Fri, 19 Nov 2010 21:17:58 +0000 (16:17 -0500)]
crypto/cipher: add CFB and OCFB mode.
(Files which I left out of the initial commit to keep it small.)
R=rsc
CC=golang-dev
https://golang.org/cl/
3183043
Russ Cox [Fri, 19 Nov 2010 21:04:25 +0000 (16:04 -0500)]
index/suffixarray: use sort.Search
R=gri
CC=golang-dev
https://golang.org/cl/
3200041
Adam Langley [Fri, 19 Nov 2010 19:12:07 +0000 (14:12 -0500)]
crypto/cipher: add package
cipher is intended to replace crypto/block over time. This
change only adds basic parts: CBC and CTR mode and doesn't add
the package to the top-level Makefile.
R=r, rsc
CC=golang-dev
https://golang.org/cl/
3069041
Robert Griesemer [Fri, 19 Nov 2010 03:55:38 +0000 (19:55 -0800)]
godoc: compute search index for all file systems under godoc's observation
R=rsc
CC=golang-dev
https://golang.org/cl/
3209041
Ken Thompson [Thu, 18 Nov 2010 21:07:34 +0000 (13:07 -0800)]
adjustable hash code in
typecheck of composit literals
to get rid of n^2 behavior.
R=rsc
CC=golang-dev
https://golang.org/cl/
3208041
Ian Lance Taylor [Thu, 18 Nov 2010 20:34:47 +0000 (12:34 -0800)]
Makefiles: Don't define _64BIT now that 6c does it by default.
R=rsc
CC=golang-dev
https://golang.org/cl/
3207041
Ian Lance Taylor [Thu, 18 Nov 2010 20:34:04 +0000 (12:34 -0800)]
cgo: Print required space after parameter name in wrapper function.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/
3206041
Ian Lance Taylor [Thu, 18 Nov 2010 18:26:41 +0000 (10:26 -0800)]
6c: automatically #define _64BIT.
This makes it much easier to use a tool like Swig which needs
to run either 8c or 6c on generated code which #include's
"runtime.h".
R=ken2, rsc
CC=golang-dev
https://golang.org/cl/
3205041
Russ Cox [Thu, 18 Nov 2010 16:46:07 +0000 (11:46 -0500)]
sort: invert meaning of f in Search
Backwards incompatible change, but makes
it easier to reason about non-idiomatic searches:
now f specifies what is sought.
R=gri
CC=golang-dev
https://golang.org/cl/
3195042