- 20 Aug, 2012 7 commits
-
-
Volker Dobler authored
If ParseUint is like ParseInt it should have the same parameter names, thus rename b to to base as in ParseInt's documentation. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6453152
-
Dmitriy Vyukov authored
benchmark old ns/op new ns/op delta BenchmarkClientServerParallel 155909 154454 -0.93% BenchmarkClientServerParallel-2 86012 82986 -3.52% BenchmarkClientServerParallel-4 70211 55168 -21.43% BenchmarkClientServerParallel-8 80755 47862 -40.73% BenchmarkClientServerParallel-12 77753 51478 -33.79% BenchmarkClientServerParallel-16 77920 50278 -35.47% The benchmark is https://golang.org/cl/6441134 The machine is 2 x 4 HT cores (16 HW threads total). Fixes #3946. Now contention moves to net.pollServer.AddFD(). R=bradfitz CC=bradfitz, dave, dsymonds, gobot, golang-dev, remyoudompheng https://golang.org/cl/6454142
-
Marcel van Lohuizen authored
with table changes. NOTE: there is no test for this, but 1) the code has now the same control flow as scan in exp/locale/collate/contract.go, which is tested and 2) Builder verifies the generated table so bugs in this code are quickly and easily found (which is how this bug was discovered). R=r CC=golang-dev https://golang.org/cl/6461082
-
Marcel van Lohuizen authored
The main table will need to get a slightly different collation table as the one used by regtest, as the regtest is based on the standard UCA DUCET, while the locale-specific tables are all based on a CLDR root table. This change allows changing the table without affecting the regression test. R=r CC=golang-dev https://golang.org/cl/6453089
-
Marcel van Lohuizen authored
default as ICU. R=r CC=golang-dev https://golang.org/cl/6445080
-
Marcel van Lohuizen authored
against previously generated tables. R=r CC=golang-dev https://golang.org/cl/6441098
-
Nigel Tao authored
instead of touching the tokenizer's internal state. R=andybalholm CC=golang-dev https://golang.org/cl/6446153
-
- 18 Aug, 2012 2 commits
-
-
Mikkel Krautz authored
If we aren't explicit about the KeyUsages, the verifier will treat the certificate as a server certificate and require it to have a ExtKeyUsageServerAuth key usage. R=golang-dev CC=golang-dev https://golang.org/cl/6453148
-
Alex Brainman authored
- pprof is a perl script, so go command should invoke perl instead of trying to run pprof directly; - pprof should use "go tool nm" unconditionally on windows, no one else can extract symbols from Go program; - pprof should use "go tool nm" instead of "6nm". Fixes #3879. R=golang-dev, r CC=golang-dev https://golang.org/cl/6445082
-
- 17 Aug, 2012 7 commits
-
-
Rob Pike authored
Before, pointers always appeared as 0x1234ABCD. This CL keeps that as the default for %p and %v, but lets explicit numeric verbs override the default. Fixes #3936. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6441152
-
Rob Pike authored
Only affects some tests and none seem likely to be problematic, but let's fix them. Fixes #3971. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6463060
-
Robert Griesemer authored
R=r, rsc, iant, ken, iant CC=golang-dev https://golang.org/cl/6450150
-
Joel Sing authored
When manipulating the stack pointer use the UESP register instead of the ESP register, since the UESP register is the one that gets restored from the machine context. Fixes broken tests on netbsd/386. R=golang-dev, minux.ma, r, bsiegert CC=golang-dev https://golang.org/cl/6465054
-
Alex Brainman authored
see issus 3358 for similar problem R=golang-dev CC=golang-dev, minux.ma https://golang.org/cl/6464072
-
Shenghou Ma authored
I don't know why this relocation is used. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6464070
-
Shenghou Ma authored
I guess this is the problem as I can't reproduce the failure. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/6465060
-
- 16 Aug, 2012 3 commits
-
-
Shenghou Ma authored
This CL adds a step to the build procedure for cgo programs. It uses 'ld -r' to combine all gcc compiled object file and generate a relocatable object file for our ld. Additionally, this linking step will combine some static linking gcc library into the relocatable object file, so that we can use libgcc, libmingwex and libmingw32 without problem. Fixes #3261. Fixes #1741. Added a testcase for linking in libgcc. TODO: 1. still need to fix the INDIRECT_SYMBOL_LOCAL problem on Darwin/386. 2. still need to enable the libgcc test on Linux/ARM, because 5l can't deal with thumb libgcc. Tested on Darwin/amd64, Darwin/386, FreeBSD/amd64, FreeBSD/386, Linux/amd64, Linux/386, Linux/ARM, Windows/amd64, Windows/386 R=iant, rsc, bradfitz, coldredlemur CC=golang-dev https://golang.org/cl/5822049
-
Dave Cheney authored
R=golang-dev, minux.ma, iant CC=golang-dev https://golang.org/cl/6459091
-
Alex Brainman authored
R=golang-dev, dave, minux.ma, remyoudompheng CC=golang-dev https://golang.org/cl/6460093
-
- 15 Aug, 2012 11 commits
-
-
Daniel Morsing authored
Fixes #3465. R=golang-dev, rsc, remyoudompheng, iant CC=golang-dev https://golang.org/cl/6448097
-
Andrew Balholm authored
Now that the parser passes all tests in the test suite, it is no longer necessary to keep track of which tests pass and which don't. So remove the testlogs directory and the code that uses it. R=nigeltao CC=golang-dev https://golang.org/cl/6453124
-
Ian Lance Taylor authored
Wrote code that was the basis for https://golang.org/cl/6454046/ R=golang-dev, r CC=golang-dev https://golang.org/cl/6450142
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/6450136
-
Joel Sing authored
This currently fails on NetBSD due to the cloned file descriptors that result from opening /dev/urandom. Disable the additional checking until this is investigated and properly fixed. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6443129
-
Joel Sing authored
Disable the crash handler test on NetBSD until I can figure out why it triggers failures in later tests. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6460090
-
Joel Sing authored
Provide sockoptip for NetBSD, based on sockoptip for OpenBSD. R=golang-dev, rsc, mikioh.mikioh, minux.ma CC=golang-dev https://golang.org/cl/6308053
-
Francisco Souza authored
Fixes #3896. R=rsc, rogpeppe, r CC=golang-dev https://golang.org/cl/6457075
-
Andrew Balholm authored
All of the remaining tests that had as status of PARSE rather than PASS had good reasons for not passing the render-and-reparse step: the correct parse tree is badly formed, so when it is rendered out as HTML, the result doesn't parse into the same tree. So add them to the list of tests where that step is skipped. Also, I discovered that it is possible to end up with HTML elements (not just text) inside a raw text element through reparenting. So change the rendering routines to handle that situation as sensibly as possible (which still isn't very sensible, but this is HTML5). R=nigeltao CC=golang-dev https://golang.org/cl/6446137
-
Robert Hencke authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/6446131
-
Benny Siegert authored
R=golang-dev, nigeltao, minux.ma CC=golang-dev https://golang.org/cl/6441138
-
- 14 Aug, 2012 2 commits
-
-
Robert Griesemer authored
Optimize some common cases. benchmark old ns/op new ns/op delta BenchmarkScanFile 718907 667960 -7.09% benchmark old MB/s new MB/s speedup BenchmarkScanFile 23.03 25.51 1.11x R=r CC=golang-dev https://golang.org/cl/6454150
-
Adam Langley authored
This package has moved to go.net. R=golang-dev, minux.ma, r, dave CC=golang-dev https://golang.org/cl/6461056
-
- 13 Aug, 2012 4 commits
-
-
Andrew Balholm authored
When generating replacement elements for an <isindex> tag, the old addSyntheticElement method was producing the wrong nesting. Replace it with parseImpliedToken. Pass the one remaining test in the test suite. R=nigeltao CC=golang-dev https://golang.org/cl/6453114
-
Dmitriy Vyukov authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6454145
-
Dmitriy Vyukov authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/6460082
-
Andrew Balholm authored
If a tag doesn't have a closing '>', it isn't considered a tag; it is just ignored and EOF is returned instead. Pass one additional test in the test suite. Change tokenizer tests to match correct behavior. R=nigeltao CC=golang-dev https://golang.org/cl/6454131
-
- 12 Aug, 2012 1 commit
-
-
Robert Griesemer authored
Partial fix for issue 3943. R=r CC=golang-dev https://golang.org/cl/6458115
-
- 10 Aug, 2012 2 commits
-
-
Rob Pike authored
Incorrect syntax for comment was erroneously accepted. Fixes #3919. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6453105
-
Shenghou Ma authored
Fixes #3921. R=iant CC=golang-dev https://golang.org/cl/6448132
-
- 09 Aug, 2012 1 commit
-
-
Andrew Balholm authored
In HTML content, having a self-closing tag is a parse error unless the tag would be self-closing anyway (like <img>). The only place a self-closing tag actually makes a difference is in XML-based foreign content. Pass 1 additional test. R=nigeltao CC=golang-dev https://golang.org/cl/6450109
-