aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-08release.2010-12-08weekly.2010-12-08Andrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/3463043
2010-12-08runtime: fix windows buildAlex Brainman
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/3419043
2010-12-07runtime: add GoroutinesKeith Rarick
R=rsc CC=golang-dev https://golang.org/cl/3508041
2010-12-07ld: fix dwarf decoding of 64-bit reflect valuesEoghan Sherry
R=rsc CC=golang-dev https://golang.org/cl/3002041
2010-12-07runtime: debugging help on 386Russ Cox
R=r CC=golang-dev https://golang.org/cl/3502041
2010-12-08html: handle unexpected EOF during parsing.Nigel Tao
This lets us parse HTML like "<html>foo". R=gri CC=golang-dev https://golang.org/cl/3460043
2010-12-07cc: allow $ as letter in pragma argumentsRuss Cox
(Needed for Mac OS X symbol names.) R=ken2 CC=golang-dev https://golang.org/cl/3499041
2010-12-07go/parser: Better comment for ParseFile.Robert Griesemer
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
2010-12-07throughout: fix broken calls to Printf etc.Rob Pike
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
2010-12-08doc: add link to WindowsPort page from install.htmlAndrew Gerrand
R=r CC=golang-dev https://golang.org/cl/3442042
2010-12-07http: fix buildRuss Cox
R=dsymonds TBR=dsymonds CC=golang-dev https://golang.org/cl/3425044
2010-12-07gc: skip undefined symbols in import .Eoghan Sherry
Fixes #1284. R=ken3, rsc CC=golang-dev https://golang.org/cl/3210041
2010-12-07crypto/tls: add *Config argument to DialRuss Cox
Document undocumented exported names. Allow nil Rand, Time, RootCAs in Config. Fixes #1248. R=agl1 CC=golang-dev https://golang.org/cl/3481042
2010-12-07crypto/tls: fix build of certificate generation exampleChristian Himpel
R=agl1, rsc CC=golang-dev https://golang.org/cl/3366041
2010-12-07CONTRIBUTORS: add alias chressie@googlemail.com == chressie@gmail.comRuss Cox
R=r CC=golang-dev https://golang.org/cl/3485044
2010-12-07exec.LookPath: return os.PathError instad of os.ENOENT, it's more descriptive.Michael Hoisie
R=rsc CC=golang-dev https://golang.org/cl/3448042
2010-12-08html: move the sanity checking of the entity map from runtimeNigel Tao
(during init) to test-time (via gotest). R=gri CC=golang-dev https://golang.org/cl/3466044
2010-12-07http: Add EncodeQuery, a handy helper function for constructing URL query ↵David Symonds
strings. R=stephenm, rsc CC=golang-dev https://golang.org/cl/2985042
2010-12-078l : add dynimport to import table in Windows PE, initial make cgo dll work.Wei Guangjing
R=rsc, brainman, Joe Poirier, mattn CC=golang-dev https://golang.org/cl/2166041
2010-12-07build: Allow archiver to be specified in the environment with HOST_AR.Albert Strasheim
R=rsc CC=golang-dev https://golang.org/cl/2515043
2010-12-07errchk: accept multiple source filesEoghan Sherry
R=rsc, iant CC=golang-dev https://golang.org/cl/3217042
2010-12-07bufio: make Reader.Read implement io.Reader semanticsRoger Peppe
R=rsc CC=golang-dev https://golang.org/cl/3395042
2010-12-07syscall, net: Add Recvmsg and Sendmsg on Linux.Albert Strasheim
Working on issue 1101. R=rsc CC=golang-dev https://golang.org/cl/2331044
2010-12-07flag: handle multiple calls to flag.ParseRuss Cox
R=r CC=golang-dev https://golang.org/cl/3071041
2010-12-07go/scanner: remove Tokenize() - was only used in testsRobert Griesemer
R=r CC=golang-dev https://golang.org/cl/3415042
2010-12-07gc: fix method offsets of anonymous interfacesEoghan Sherry
Fixes #1290. R=rsc CC=golang-dev https://golang.org/cl/3259043
2010-12-07sync: small naming fix for armv5Dean Prichard
R=rsc CC=golang-dev https://golang.org/cl/3268042
2010-12-07runtime: fix build for naclAndrew Gerrand
R=lvd CC=golang-dev https://golang.org/cl/3391044
2010-12-07html: unescape numeric entities, and complete the named entities table, ↵Ryan Hitchman
including two-character entities. Fixes #1233. R=nigeltao CC=golang-dev https://golang.org/cl/3445041
2010-12-07html: first cut at a parser.Nigel Tao
R=gri CC=golang-dev https://golang.org/cl/3355041
2010-12-06godoc: don't call flush if position is not validRobert Griesemer
(fixes new godoc crash when looking at spec) R=rsc, r, iant CC=golang-dev https://golang.org/cl/3488041
2010-12-06 go/ast: use token.Pos instead of token.Position; adjust all dependent codeRobert Griesemer
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
2010-12-06net: fix TestDialGoogleRuss Cox
TBR=r CC=golang-dev https://golang.org/cl/3417042
2010-12-068l, runtime: fix Plan 9 386 build.Yuval Pavel Zholkover
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
2010-12-06LICENSE: separate, change PATENTS textRuss Cox
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
2010-12-06math: improve accuracy of Exp2Eoghan Sherry
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
2010-12-06time: fix buildRuss Cox
Allow less precise timing on build machines. TBR=r CC=golang-dev https://golang.org/cl/3391043
2010-12-06use the new %U format for runesRob Pike
R=rsc CC=golang-dev https://golang.org/cl/3483041
2010-12-06netchan: fix dumb locking bug introduced in recent editing.Rob Pike
-found by Dave Cheney R=rsc CC=golang-dev https://golang.org/cl/3460042
2010-12-06flag: fix format error in boolean error report. just use %q; the values are ↵Rob Pike
strings. R=rsc CC=golang-dev https://golang.org/cl/3418043
2010-12-06fmt: add %U format for standard Unicode representation of integer values.Rob Pike
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
2010-12-06time: make After use fewer goroutines and host processes.Roger Peppe
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
2010-12-06bytes: add Buffer.UnreadRune, Buffer.UnreadByteRoger Peppe
R=rsc, r CC=golang-dev https://golang.org/cl/3421041
2010-12-06builder: Allow buildroot to be passed as command-line argumentDevon H. O'Dell
R=adg CC=golang-dev https://golang.org/cl/3473041
2010-12-06A+C: add Ryan Hitchman.Nigel Tao
R=adg, r2 CC=golang-dev https://golang.org/cl/3430042
2010-12-05doc/install: describe GOHOSTOS and GOHOSTARCHAndrew Gerrand
Fixes #1303. R=rsc, PeterGo CC=golang-dev https://golang.org/cl/3442041
2010-12-03[68]l: generate debug info for builtin structured types. prettyprinting in gdb.Luuk van Dijk
R=rsc CC=golang-dev https://golang.org/cl/3309041
2010-12-03godoc: add separators between quick reference topicsAndrew Gerrand
R=bradfitz, dangabrad CC=golang-dev https://golang.org/cl/3433042
2010-12-03tag release.2010-12-02Andrew Gerrand
R=r, r2 CC=golang-dev https://golang.org/cl/3437041
2010-12-03release.2010-12-02weekly.2010-12-02Andrew Gerrand
R=r, r2 CC=golang-dev https://golang.org/cl/3433041