- 25 Aug, 2011 15 commits
-
-
Mikio Hara authored
R=rsc CC=golang-dev https://golang.org/cl/4968044
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4957043
-
Gustavo Niemeyer authored
Fixes #2175. R=alex.brainman, rsc, gustavo, adg CC=golang-dev https://golang.org/cl/4929047
-
Russ Cox authored
This makes decimal a good test case for the escape analysis. With escape analysis: benchmark old ns/op new ns/op delta BenchmarkAtof64Decimal 1954 243 -87.56% BenchmarkAtof64Float 2008 293 -85.41% BenchmarkAtof64FloatExp 10106 8814 -12.78% BenchmarkAtof64Big 5113 3486 -31.82% R=golang-dev, gri CC=golang-dev https://golang.org/cl/4861042
-
Russ Cox authored
Also update $GOARM description. R=golang-dev, gri CC=golang-dev https://golang.org/cl/4972041
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4971042
-
Russ Cox authored
#include "go.h" (or "gg.h") becomes #include <u.h> #include <libc.h> #include "go.h" so that go.y can #include <stdio.h> after <u.h> but before "go.h". This is necessary on Plan 9. R=ken2 CC=golang-dev https://golang.org/cl/4971041
-
Russ Cox authored
Found with gcc 4.6 -Wunused -Wextra but should be applicable to Plan 9 too. R=ken2 CC=golang-dev https://golang.org/cl/4958044
-
Bill Neubauer authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4944043
-
Russ Cox authored
Probably will spark some discussion.
☺ R=lvd CC=golang-dev https://golang.org/cl/4948041 -
Dave Cheney authored
RFC2616 says servers should return this status code when rejecting requests that are too large. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.14 R=bradfitz CC=golang-dev https://golang.org/cl/4962041
-
Nigel Tao authored
R=mikesamuel CC=golang-dev https://golang.org/cl/4956042
-
Mike Samuel authored
The following testcases now pass: `<a href=x` tests that we do not error on partial unquoted attrs. `<a href=x ` tests that spaces do end unquoted attrs on spaces. `<a href=''` tests that we recognize the end of single quoted attrs. `<a href=""` tests that we recognize the end of double quoted attrs. R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/4932051
-
Gustavo Niemeyer authored
R=rsc CC=golang-dev https://golang.org/cl/4941047
-
Rob Pike authored
Fixes #2182 R=golang-dev, gri CC=golang-dev https://golang.org/cl/4952041
-
- 24 Aug, 2011 19 commits
-
-
Andrew Gerrand authored
Fixes #2164. R=r, rsc CC=golang-dev https://golang.org/cl/4927043
-
Evan Shaw authored
Scanning "0" with detected base did not actually set the nat to 0. R=gri CC=golang-dev https://golang.org/cl/4923050
-
Russ Cox authored
Merge escassign(N, x), escassign(x, N), escexpr(n), and escstmt(n) into esc(n). 1. Renaming https://golang.org/cl/4917050/diff2/1:2001/src/cmd/gc/esc.c 2. Merging. https://golang.org/cl/4917050/diff2/2001:4001/src/cmd/gc/esc.c 3. Simplify esccall. https://golang.org/cl/4917050/diff2/4001:5002/src/cmd/gc/esc.c R=lvd CC=golang-dev https://golang.org/cl/4917050
-
Russ Cox authored
Based on idea in http://patch-tracker.debian.org/patch/series/view/golang/1:59-1/008-emacs-mode-key-literal-indent.patch Fixes #2174. R=amdragon, ajmani, amdragon CC=golang-dev https://golang.org/cl/4922049
-
Volker Dobler authored
Pow10 failed for MinInt32 (endless loop until out of memory). Fix by returning 0 and +Inf for all arguments where the result is not representable in a float64. Fixes #2159. R=rsc CC=golang-dev https://golang.org/cl/4930041
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4926046
-
Lucio De Re authored
R=golang-dev CC=golang-dev, rsc https://golang.org/cl/4941048
-
Luuk van Dijk authored
For now it's switch-on-and-offable with -s, and the effects can be inspected with -m. Defaults are the old codepaths. R=rsc CC=golang-dev https://golang.org/cl/4634073
-
Robert Griesemer authored
Fix for godoc on app engine. R=dsymonds CC=golang-dev https://golang.org/cl/4922050
-
Luuk van Dijk authored
If you installed a 6g in /usr/bin it interferes with test/run otherwise. R=rsc CC=golang-dev https://golang.org/cl/4944046
-
Brad Fitzpatrick authored
My theory is that suse has larger TCP buffer sizes by default. I now check over 100MB, rather than over 2MB. 100MB is ~halfway between the 1MB limit and the 200MB request that's attempted. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4926048
-
Brad Fitzpatrick authored
Fixes #2160 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4930049
-
Marcel van Lohuizen authored
exp/norm: Reduced the size of the byte buffer used by reorderBuffer by half by reusing space when combining. R=r CC=golang-dev https://golang.org/cl/4939042
-
Russ Cox authored
This allows code that wants to handle []byte separately to get at the actual slice instead of just at individual bytes. It seems to come up often enough. R=r CC=golang-dev https://golang.org/cl/4942051
-
Russ Cox authored
A side-effect is that, just like foo_386.go is only built on 386, foo_386_test.go is only built for testing on 386. R=adg, r, mattn.jp CC=golang-dev https://golang.org/cl/4942050
-
Russ Cox authored
It's a balance between fetching too much and falling far enough behind that you can't catch up. We missed 20 commits in a row when the builders were down for a few days. This gives us a little more leeway. R=adg CC=golang-dev https://golang.org/cl/4936047
-
Russ Cox authored
The kludge is targeted at broken web browsers like Chrome and IE, but it gets in the way of sending 400 or 500-series error results with formatted bodies in response to AJAX requests made by pages executing in those browsers. Now the AJAX cases will work and Chrome and IE will be as broken with Go servers as they are with all the other servers. Fixes #2169. R=bradfitz, dsymonds CC=golang-dev https://golang.org/cl/4930047
-
Russ Cox authored
Some compilers care, sadly. R=iant, ken CC=golang-dev https://golang.org/cl/4931042
-
Paul Borman authored
ParseMAC parses a string representing MAC-48, EUI-48, or EUI-64 into a HardwareAddr. R=rsc, fshahriar CC=golang-dev https://golang.org/cl/4922048
-
- 23 Aug, 2011 6 commits
-
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4937048
-
Robert Griesemer authored
R=r, rsc CC=golang-dev https://golang.org/cl/4927046
-
Robert Griesemer authored
CL 4938041 made some incorrect changes to the filter function which caused a different doc/codelab/wiki/index.html file to be generated. Added FilterFileExports and FilterPackageExports function. Same as the existing FileExpors/PackageExports functions but using shared code. The old functions will be removed in the next CL. R=r, rsc CC=golang-dev https://golang.org/cl/4932048
-
Julian Phillips authored
When a line directive was encountered we would push a new 'z' entry into the history to indicate the start of new file attributation, and a 'Z' entry to change line numbering. However we didn't pop the 'z' entry, so we were actually corrupting the history stack. The most obvious occurance of this was in the code that build the symbol tables for the DWARF information - where an internal stack in the linker would overflow when more than a few line directives were encountered in a single stack (Issue 1878). So now we pop the 'z' entry when we encounter the end of the file that the directive was in, which maintains the history stack integrity. Also, although new 'z' entries for new files had relative paths expanded, the same was not done for line directives. Now we do it for line directives also - so that the now correct DWARF information has the full path available. Fixes #1878. R=rsc CC=golang-dev https://golang.org/cl/4938042
-
Russ Cox authored
Add -V flag to 6c command line to keep them fixed. R=ken2 CC=golang-dev https://golang.org/cl/4930046
-
Robert Griesemer authored
Introduce extra scope for the variable declared by a TypeSwitchGuard so that it doesn't conflict with vars declared by the initial SimpleStmt of a type switch. This is a replacement for CL 4896053 which caused a build breakage. Also: - explicitly detect type switches (as opposed to detecting expression switches and then do extra testing for type switches) - fix all outstanding TODOs in parser.go - ran all tests R=rsc CC=golang-dev https://golang.org/cl/4914044
-