]>
Cypherpunks repositories - gostls13.git/log
Russ Cox [Tue, 14 Dec 2010 19:57:12 +0000 (14:57 -0500)]
compress/flate: implement Flush
This Flush is equivalent to zlib's Z_SYNC_FLUSH.
The addition of the explicit Writer type opens the
door to adding a PartialFlush if needed for SSH
and maybe even FullFlush. It also opens the door
for a SetDictionary method to be added.
http://www.bolet.org/~pornin/deflate-flush.html
documents the various intricacies of flushing a
DEFLATE stream.
R=agl1, r
CC=golang-dev
https://golang.org/cl/
3637041
Rob Pike [Tue, 14 Dec 2010 19:15:32 +0000 (11:15 -0800)]
regexp: speed up by about 30%.
The code used interfaces in a pretty, pedagogical way but not efficiently.
Remove unnecessary interface code for significant speedups.
Before:
regexp.BenchmarkLiteral
1000000 2629 ns/op
regexp.BenchmarkNotLiteral 100000 18131 ns/op
regexp.BenchmarkMatchClass 100000 26647 ns/op
regexp.BenchmarkMatchClass_InRange 100000 27092 ns/op
regexp.BenchmarkReplaceAll 100000 27014 ns/op
After:
regexp.BenchmarkLiteral
1000000 2077 ns/op
regexp.BenchmarkNotLiteral 100000 13738 ns/op
regexp.BenchmarkMatchClass 100000 20418 ns/op
regexp.BenchmarkMatchClass_InRange 100000 20999 ns/op
regexp.BenchmarkReplaceAll 100000 21825 ns/op
There's likely more to do without major surgery, but this is a simple, significant step.
R=rsc
CC=golang-dev
https://golang.org/cl/
3572042
Robert Griesemer [Tue, 14 Dec 2010 18:22:00 +0000 (10:22 -0800)]
suffixarray: rename Data() -> Bytes()
R=rsc
CC=golang-dev
https://golang.org/cl/
3540042
Anthony Martin [Tue, 14 Dec 2010 17:26:30 +0000 (12:26 -0500)]
http: include DEL in the test for unprintable chars
R=adg, rsc
CC=golang-dev
https://golang.org/cl/
3631041
Anthony Martin [Tue, 14 Dec 2010 17:22:40 +0000 (12:22 -0500)]
build: remove intermediate yacc files in Make.ccmd
R=rsc
CC=golang-dev
https://golang.org/cl/
3545042
Anthony Martin [Tue, 14 Dec 2010 17:22:28 +0000 (12:22 -0500)]
crypto/tls: use rand.Reader in cert generation example
R=rsc, agl1
CC=golang-dev
https://golang.org/cl/
3536043
Anthony Martin [Tue, 14 Dec 2010 17:22:08 +0000 (12:22 -0500)]
smtp: add *tls.Config argument to StartTLS
R=rsc, agl1
CC=golang-dev
https://golang.org/cl/
3573044
Russ Cox [Tue, 14 Dec 2010 16:52:42 +0000 (11:52 -0500)]
runtime: write only to standard error
Will mail a warning to golang-nuts once this is submitted.
R=r, niemeyer
CC=golang-dev
https://golang.org/cl/
3573043
Russ Cox [Tue, 14 Dec 2010 16:33:17 +0000 (11:33 -0500)]
typo
R=iant
CC=golang-dev
https://golang.org/cl/
3582042
Anthony Martin [Tue, 14 Dec 2010 06:19:41 +0000 (22:19 -0800)]
go spec: fix two grammar typos
R=gri
CC=golang-dev
https://golang.org/cl/
3580042
Robert Griesemer [Tue, 14 Dec 2010 01:08:40 +0000 (17:08 -0800)]
token/position: provide files iterator
R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/
3541044
Robert Griesemer [Tue, 14 Dec 2010 01:08:01 +0000 (17:08 -0800)]
suffixarray: provide accessor to data
R=r
CC=golang-dev
https://golang.org/cl/
3574044
Russ Cox [Mon, 13 Dec 2010 22:08:27 +0000 (17:08 -0500)]
go_mem: goroutine exit is not special
R=r
CC=golang-dev
https://golang.org/cl/
3628041
Russ Cox [Mon, 13 Dec 2010 21:57:35 +0000 (16:57 -0500)]
runtime: remove paranoid mapping at 0
Too many programs complain that we even try.
This was a bit of security paranoia and not worth
the bother.
Fixes #1340.
R=r, r2
CC=golang-dev
https://golang.org/cl/
3579042
Rob Pike [Mon, 13 Dec 2010 21:52:19 +0000 (13:52 -0800)]
time: fix bug in Ticker: shutdown using channel rather than memory
R=rsc
CC=golang-dev
https://golang.org/cl/
3609042
Russ Cox [Mon, 13 Dec 2010 21:51:19 +0000 (16:51 -0500)]
gc: issue 1231
Fixes #1231.
R=ken2
CC=golang-dev
https://golang.org/cl/
3627041
Russ Cox [Mon, 13 Dec 2010 21:22:19 +0000 (16:22 -0500)]
gc: align structs according to max alignment of fields
cc: same
runtime: test cc alignment (required moving #define of offsetof to runtime.h)
fix bug260
Fixes #482.
Fixes #609.
R=ken2, r
CC=golang-dev
https://golang.org/cl/
3563042
Russ Cox [Mon, 13 Dec 2010 20:51:11 +0000 (15:51 -0500)]
json: check for invalid UTF-8
Fixes #1250.
R=r
CC=golang-dev
https://golang.org/cl/
3562042
Russ Cox [Mon, 13 Dec 2010 20:50:57 +0000 (15:50 -0500)]
build: add a few missing --no-print-directory
Reported by W. Michael Petullo <mike@flyn.org>
Fixes #1269.
R=r, r2
CC=golang-dev
https://golang.org/cl/
3618041
Russ Cox [Mon, 13 Dec 2010 20:50:47 +0000 (15:50 -0500)]
godefs: guard against structs with pad fields
Fixes #1162.
R=r
CC=golang-dev
https://golang.org/cl/
3619041
Russ Cox [Mon, 13 Dec 2010 20:34:45 +0000 (15:34 -0500)]
gc: complex(0)
Fixes #1232.
R=ken2
CC=golang-dev
https://golang.org/cl/
3621041
Russ Cox [Mon, 13 Dec 2010 20:26:52 +0000 (15:26 -0500)]
ld: missing prototype
R=ken2
CC=golang-dev
https://golang.org/cl/
3620041
Russ Cox [Mon, 13 Dec 2010 18:42:51 +0000 (13:42 -0500)]
gc: another shift bug
Fixes #1316.
R=ken2
CC=golang-dev
https://golang.org/cl/
3575042
Russ Cox [Mon, 13 Dec 2010 18:20:04 +0000 (13:20 -0500)]
cgo: do not reset tag generator between files
Clean up an error message and error exit too.
Insert blank line after "DO NOT EDIT" comment
to keep it from being a doc comment.
Fixes #1213.
Fixes #1222.
R=r
CC=golang-dev
https://golang.org/cl/
3608042
Russ Cox [Mon, 13 Dec 2010 16:57:41 +0000 (11:57 -0500)]
gc: introduce explicit alignments
No semantic changes here, but working
toward being able to align structs based
on the maximum alignment of the fields
inside instead of having a fixed alignment
for all structs (issue 482).
R=ken2
CC=golang-dev
https://golang.org/cl/
3617041
Russ Cox [Mon, 13 Dec 2010 15:05:20 +0000 (10:05 -0500)]
gc: emit reflect correct reflect types
Fixes #1169.
R=ken2
CC=golang-dev
https://golang.org/cl/
3595043
Russ Cox [Mon, 13 Dec 2010 15:05:07 +0000 (10:05 -0500)]
ld: allow .o files with no symbols
Don't crash in dwarf for foreign functions.
R=ken2
CC=golang-dev
https://golang.org/cl/
3576043
Russ Cox [Mon, 13 Dec 2010 15:04:53 +0000 (10:04 -0500)]
runtime/linux/386: set FPU to 64-bit precision
Fixes #550.
R=r
CC=golang-dev
https://golang.org/cl/
3469044
Alex Brainman [Mon, 13 Dec 2010 06:02:01 +0000 (17:02 +1100)]
syscall: remove terminating \r and \n from windows error messages
R=rsc, peterGo
CC=golang-dev
https://golang.org/cl/
3095042
Wei Guangjing [Mon, 13 Dec 2010 05:41:02 +0000 (16:41 +1100)]
Fix windows build.
R=brainman, rsc
CC=golang-dev
https://golang.org/cl/
3533041
Gustavo Niemeyer [Sun, 12 Dec 2010 22:16:37 +0000 (14:16 -0800)]
A selection of trivials.
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
3606043
Robert Griesemer [Sun, 12 Dec 2010 21:13:07 +0000 (13:13 -0800)]
godoc: improved textual search
- improved search result page
- clicking on files shows highlighted search phrase
(.go files loose their godoc-specific formatting and
highlighting in this mode - a better solution is in
the works)
- support for textual results
- fixed bug with non-URL escaped URL parameter (Query)
R=rsc, adg
CC=golang-dev
https://golang.org/cl/
3585041
Eoghan Sherry [Sun, 12 Dec 2010 19:40:19 +0000 (14:40 -0500)]
5g/8g, 8l, ld, prof: fix output of 32-bit values
If an %lld argument can be 32 or 64 bits wide, cast to vlong.
If always 32 bits, drop the ll.
Fixes #1336.
R=brainman, rsc
CC=golang-dev
https://golang.org/cl/
3580041
Nigel Tao [Sun, 12 Dec 2010 09:27:29 +0000 (20:27 +1100)]
reflect: rename reflect.ArrayCopy to be reflect.Copy.
R=r
CC=golang-dev
https://golang.org/cl/
3601041
Mikio Hara [Sat, 11 Dec 2010 21:49:45 +0000 (13:49 -0800)]
gofmt -s -w src
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
3592041
Robert Griesemer [Fri, 10 Dec 2010 22:40:22 +0000 (14:40 -0800)]
godoc: first cut at textual search
To enable use -fulltext flag; e.g.: godoc -v -fulltext -http=:7777
Enabling the fulltext index will use significantly more memory as
the text of all source code, the respective suffixarray, and the
file set data structure is kept in memory. At the moment there is
about 6Mb of source code (~1400 files) indexed under GOROOT.
Source code + suffix array together consume 5*(size of source) or
about 30Mb. The file set data structure consumes about 4b/src line.
By default only up to 5000 results are shown for now.
The presentation of the results needs tuning. In particular,
if a string is found, clicking on the respective file does not
highlight them, yet.
At the moment, only Go source files are indexed. Eventually,
the full text index should encompass other files as well.
R=rsc, adg
CC=golang-dev
https://golang.org/cl/
3182043
Russ Cox [Fri, 10 Dec 2010 19:39:09 +0000 (11:39 -0800)]
math: s/MinFloat/SmallestNonzeroFloat/
R=r, gri
CC=golang-dev
https://golang.org/cl/
3547042
Russ Cox [Fri, 10 Dec 2010 19:32:58 +0000 (11:32 -0800)]
cgo: avoid self-interference of global names
Fixes #1332.
R=iant, iant2
CC=golang-dev
https://golang.org/cl/
3555041
Russ Cox [Fri, 10 Dec 2010 19:32:48 +0000 (11:32 -0800)]
nm: silently ignore .o files in .a files
Update #1334.
R=r
CC=golang-dev
https://golang.org/cl/
3553041
Nigel Tao [Fri, 10 Dec 2010 01:20:14 +0000 (12:20 +1100)]
html: parse <table><tr><td> tags.
Also, shorten fooInsertionMode to fooIM.
R=gri
CC=golang-dev
https://golang.org/cl/
3504042
Ryan Hitchman [Thu, 9 Dec 2010 23:43:45 +0000 (10:43 +1100)]
os: make MkdirAll work with symlinks
Fixes #1149.
R=adg
CC=golang-dev
https://golang.org/cl/
3564041
Ken Thompson [Thu, 9 Dec 2010 22:45:27 +0000 (14:45 -0800)]
arm floating point simulation
R=rsc
CC=golang-dev
https://golang.org/cl/
3565041
Andrew Gerrand [Thu, 9 Dec 2010 21:51:13 +0000 (08:51 +1100)]
http: ServeFile to handle Range header for partial requests
and send Content-Length.
Also includes some testing of the server code.
R=rsc
CC=golang-dev
https://golang.org/cl/
2831041
Andrew Gerrand [Thu, 9 Dec 2010 21:29:34 +0000 (08:29 +1100)]
dashboard: fix project tag filter
R=rsc
CC=golang-dev
https://golang.org/cl/
3439043
Rob Pike [Thu, 9 Dec 2010 21:18:31 +0000 (16:18 -0500)]
tutorial: a couple of minor fixes.
Fixes #1333.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/
3556041
Nigel Kerr [Thu, 9 Dec 2010 19:51:01 +0000 (14:51 -0500)]
xml: disallow invalid Unicode code points
Fixes #1259.
R=rsc
CC=golang-dev
https://golang.org/cl/
2967041
Russ Cox [Thu, 9 Dec 2010 19:49:21 +0000 (14:49 -0500)]
A+C: Lorenzo Stoakes, Nigel Kerr (both individual CLA)
R=r
CC=golang-dev, lstoakes, nk
https://golang.org/cl/
3549041
Russ Cox [Thu, 9 Dec 2010 19:49:13 +0000 (14:49 -0500)]
os: fix test of RemoveAll
Fixes #22. (again)
R=r
CC=golang-dev
https://golang.org/cl/
3547041
Mikio Hara [Thu, 9 Dec 2010 18:55:59 +0000 (13:55 -0500)]
syscall: add network interface constants for linux/386, linux/amd64
R=rsc
CC=golang-dev
https://golang.org/cl/
3266042
Ryan Hitchman [Thu, 9 Dec 2010 18:41:24 +0000 (13:41 -0500)]
gc: syntax error for incomplete chan type
Fixes #932.
R=rsc
CC=golang-dev
https://golang.org/cl/
3515041
Robert Griesemer [Thu, 9 Dec 2010 18:22:01 +0000 (10:22 -0800)]
go/ast: fix ast.Walk
- change Walk signature to use an ast.Node instead of interface{}
- add Pos functions to a couple of ast types to make them proper nodes
- explicit nil checks where a node can be nil; incorrect ASTs cause Walk to crash
For now ast.Walk is exercised extensively as part of godoc's indexer;
so we have some confidence in its correctness. But this needs a test,
eventually.
Fixes #1326.
R=rsc, r
CC=golang-dev
https://golang.org/cl/
3481043
Robert Griesemer [Thu, 9 Dec 2010 18:11:57 +0000 (10:11 -0800)]
gofmt: simplify "x, _ = range y" to "x = range y"
(inspired by CL
3529041 by hitchmanr@gmail.com)
R=rsc
CC=golang-dev
https://golang.org/cl/
3527042
Balazs Lecz [Thu, 9 Dec 2010 18:11:39 +0000 (13:11 -0500)]
os/inotify: new package
This patch adds a new package: os/inotify, which
provides a Go wrapper to the Linux inotify system.
R=rsc, albert.strasheim, rog, jacek.masiulaniec
CC=golang-dev
https://golang.org/cl/
2049043
Robert Griesemer [Thu, 9 Dec 2010 18:11:00 +0000 (10:11 -0800)]
go/token,scanner: fix comments so godoc aligns properly
R=iant, r2
CC=golang-dev
https://golang.org/cl/
3532042
Rob Pike [Thu, 9 Dec 2010 17:37:18 +0000 (12:37 -0500)]
govet: a new static checker for Go programs.
At the moment, and for the forseeable future, it only checks arguments to print calls.
R=rsc, gri, niemeyer, iant2, rog, lstoakes, jacek.masiulaniec, cw
CC=golang-dev
https://golang.org/cl/
3522041
Rob Pike [Thu, 9 Dec 2010 16:01:32 +0000 (11:01 -0500)]
gob: fix bug sending zero-length top-level slices and maps
Fixes #1278.
R=rsc
CC=golang-dev
https://golang.org/cl/
3434046
Ryan Hitchman [Thu, 9 Dec 2010 05:36:56 +0000 (21:36 -0800)]
throughout: simplify two-variable ranges with unused second variable
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
3529041
Rob Pike [Wed, 8 Dec 2010 22:12:25 +0000 (17:12 -0500)]
event.go: another print glitch from gocheck.
R=rsc
CC=golang-dev
https://golang.org/cl/
3524041
Andrew Gerrand [Wed, 8 Dec 2010 21:59:29 +0000 (08:59 +1100)]
doc: fix invalid id attribute in faq
R=r
CC=golang-dev
https://golang.org/cl/
3516042
Russ Cox [Wed, 8 Dec 2010 21:49:49 +0000 (16:49 -0500)]
arm: more fixes
R=ken2
CC=golang-dev
https://golang.org/cl/
3523041
Russ Cox [Wed, 8 Dec 2010 21:35:05 +0000 (16:35 -0500)]
runtime/cgo: adapt files copied from libcgo
Necessary but not sufficient step toward
making those builds work.
R=r
CC=golang-dev
https://golang.org/cl/
3411043
Rob Pike [Wed, 8 Dec 2010 21:25:14 +0000 (16:25 -0500)]
a few more errors caught by the print checker
R=rsc
CC=golang-dev
https://golang.org/cl/
3431046
Russ Cox [Wed, 8 Dec 2010 20:44:59 +0000 (15:44 -0500)]
5l (and 6l, 8l, ld): more arm build fixes
R=ken2
CC=golang-dev
https://golang.org/cl/
3521041
Russ Cox [Wed, 8 Dec 2010 20:37:51 +0000 (15:37 -0500)]
5l: fix build
Makes 5l build with recent changes, but not yet tested on ARM hardware.
R=ken2
CC=golang-dev
https://golang.org/cl/
3449044
Adam Langley [Wed, 8 Dec 2010 20:01:53 +0000 (15:01 -0500)]
crypto/elliptic: remove mistakenly commited code
One of my own experiments ended up getting mistakenly commited when
switching to Jacobian transformations.
R=rsc
CC=golang-dev
https://golang.org/cl/
3473044
Russ Cox [Wed, 8 Dec 2010 19:36:45 +0000 (14:36 -0500)]
fix build: more libcgo references
R=r
CC=golang-dev
https://golang.org/cl/
3448043
Russ Cox [Wed, 8 Dec 2010 19:33:17 +0000 (14:33 -0500)]
libcgo: delete (replaced by runtime/cgo)
Move unported files (freebsd*, windows*, nacl*) to runtime/cgo.
Step toward fixing FreeBSD build.
R=r
TBR=r
CC=golang-dev
https://golang.org/cl/
3497042
Russ Cox [Wed, 8 Dec 2010 19:31:46 +0000 (14:31 -0500)]
syscall: fix linux/arm build
bug introduced at
https://golang.org/cl/
2331044
R=ken2
CC=golang-dev
https://golang.org/cl/
3440046
Russ Cox [Wed, 8 Dec 2010 19:10:00 +0000 (14:10 -0500)]
runtime/cgo: take 2
This is a second attempt at submitting
https://golang.org/cl/
3420043
A Mercurial problem lost the new files
in that submit.
TBR=r
CC=golang-dev
https://golang.org/cl/
3511043
Russ Cox [Wed, 8 Dec 2010 18:56:51 +0000 (13:56 -0500)]
cgo: new cgo
Very few changes here: the subtle ones are in Make.pkg.
Note that incredibly (and importantly) there are
no changes necessary to the test programs in misc/cgo.
R=iant
CC=golang-dev
https://golang.org/cl/
3504041
Russ Cox [Wed, 8 Dec 2010 18:56:43 +0000 (13:56 -0500)]
6l, 8l: support for linking ELF and Mach-O .o files
More support for references to dynamic symbols,
including full GOT and PLT for ELF objects.
For Mach-O everything ends up in the GOT: dealing
with the real lazy PLT is too hard for now so we punt.
R=iant, iant2
CC=golang-dev
https://golang.org/cl/
3491042
Russ Cox [Wed, 8 Dec 2010 18:53:30 +0000 (13:53 -0500)]
runtime/cgo: runtime changes for new cgo
Formerly known as libcgo.
Almost no code here is changing; the diffs
are shown relative to the originals in libcgo.
R=r
CC=golang-dev
https://golang.org/cl/
3420043
Russ Cox [Wed, 8 Dec 2010 18:53:24 +0000 (13:53 -0500)]
ld: reading of Mach-O object files
R=iant
CC=golang-dev
https://golang.org/cl/
3431045
Russ Cox [Wed, 8 Dec 2010 18:53:19 +0000 (13:53 -0500)]
debug/elf, debug/macho: add ImportedLibraries, ImportedSymbols
R=r, iant
CC=golang-dev
https://golang.org/cl/
3470044
Russ Cox [Wed, 8 Dec 2010 18:53:13 +0000 (13:53 -0500)]
gopack: allow ELF/Mach-O objects in .a files without clearing allobj
R=iant
CC=golang-dev
https://golang.org/cl/
3503041
Russ Cox [Wed, 8 Dec 2010 18:53:07 +0000 (13:53 -0500)]
6l, 8l: minor changes & cleanup
R=ken2, ken3
CC=golang-dev
https://golang.org/cl/
3505041
Russ Cox [Wed, 8 Dec 2010 18:52:59 +0000 (13:52 -0500)]
ld: reading of ELF object files
R=iant
CC=golang-dev
https://golang.org/cl/
3507041
Russ Cox [Wed, 8 Dec 2010 18:52:50 +0000 (13:52 -0500)]
ld: re-add ELF symbol tables
R=iant
CC=golang-dev
https://golang.org/cl/
3506041
Rob Pike [Wed, 8 Dec 2010 14:58:46 +0000 (09:58 -0500)]
path: fix printf glitch in test
R=rh, gri
CC=golang-dev
https://golang.org/cl/
3514041
Peter Mundy [Wed, 8 Dec 2010 09:27:45 +0000 (20:27 +1100)]
doc: fix installation $GOOS choices
The $GOOS choices text and combinations list should match.
R=adg
CC=golang-dev
https://golang.org/cl/
3485046
Robert Griesemer [Wed, 8 Dec 2010 05:55:32 +0000 (21:55 -0800)]
godoc: use file instead of file set for computing line info
Reduces indexing time by ~10%; from ~44s to ~39s, best of 3 runs.
R=rsc
CC=golang-dev
https://golang.org/cl/
3510041
Robert Griesemer [Wed, 8 Dec 2010 05:50:08 +0000 (21:50 -0800)]
token/position.go: provide FileSet.File(), minor optimizations
R=rsc
CC=golang-dev
https://golang.org/cl/
3399042
Alex Brainman [Wed, 8 Dec 2010 05:20:30 +0000 (16:20 +1100)]
syscall: restrict access rights param of OpenProcess() to the minimum needed
Fixes #1270.
R=vcc, rsc
CC=golang-dev
https://golang.org/cl/
3299041
Andrew Gerrand [Wed, 8 Dec 2010 03:30:44 +0000 (14:30 +1100)]
tag release.2010-12-08
R=rsc
CC=golang-dev
https://golang.org/cl/
3426042
Andrew Gerrand [Wed, 8 Dec 2010 03:24:35 +0000 (14:24 +1100)]
release.2010-12-08
R=rsc
CC=golang-dev
https://golang.org/cl/
3463043
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