- 07 Dec, 2010 8 commits
-
-
Albert Strasheim authored
Working on issue 1101. R=rsc CC=golang-dev https://golang.org/cl/2331044
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/3071041
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/3415042
-
Eoghan Sherry authored
Fixes #1290. R=rsc CC=golang-dev https://golang.org/cl/3259043
-
Dean Prichard authored
R=rsc CC=golang-dev https://golang.org/cl/3268042
-
Andrew Gerrand authored
R=lvd CC=golang-dev https://golang.org/cl/3391044
-
Ryan Hitchman authored
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 authored
R=gri CC=golang-dev https://golang.org/cl/3355041
-
- 06 Dec, 2010 13 commits
-
-
Robert Griesemer authored
(fixes new godoc crash when looking at spec) R=rsc, r, iant CC=golang-dev https://golang.org/cl/3488041
-
Robert Griesemer authored
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 authored
TBR=r CC=golang-dev https://golang.org/cl/3417042
-
Yuval Pavel Zholkover authored
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 authored
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 authored
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 authored
Allow less precise timing on build machines. TBR=r CC=golang-dev https://golang.org/cl/3391043
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/3483041
-
Rob Pike authored
-found by Dave Cheney R=rsc CC=golang-dev https://golang.org/cl/3460042
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/3418043
-
Rob Pike authored
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 authored
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 authored
R=rsc, r CC=golang-dev https://golang.org/cl/3421041
-
- 05 Dec, 2010 3 commits
-
-
Devon H. O'Dell authored
R=adg CC=golang-dev https://golang.org/cl/3473041
-
Nigel Tao authored
R=adg, r2 CC=golang-dev https://golang.org/cl/3430042
-
Andrew Gerrand authored
Fixes #1303. R=rsc, PeterGo CC=golang-dev https://golang.org/cl/3442041
-
- 03 Dec, 2010 5 commits
-
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/3309041
-
Andrew Gerrand authored
R=bradfitz, dangabrad CC=golang-dev https://golang.org/cl/3433042
-
Andrew Gerrand authored
R=r, r2 CC=golang-dev https://golang.org/cl/3437041
-
Andrew Gerrand authored
R=r, r2 CC=golang-dev https://golang.org/cl/3433041
-
Andrew Gerrand authored
R=r, iant CC=golang-dev https://golang.org/cl/3434041
-
- 02 Dec, 2010 9 commits
-
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/3391042
-
Robert Griesemer authored
- 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 authored
Fixes #1179. R=gri CC=golang-dev https://golang.org/cl/3225042
-
Robert Griesemer authored
R=iant, r CC=golang-dev https://golang.org/cl/3416042
-
Stefan Nilsson authored
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 authored
R=rsc, iant2 CC=golang-dev https://golang.org/cl/3417041
-
Brad Fitzpatrick authored
Fixes #1306. R=rsc CC=golang-dev https://golang.org/cl/3332043
-
Rob Pike authored
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 authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/3395041
-
- 01 Dec, 2010 2 commits
-
-
Rob Pike authored
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 authored
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
-