- 23 Apr, 2012 6 commits
-
-
Mikkel Krautz authored
This changes the misc/dist program to generate OS X packages using pkgbuild and productbuild. The productbuild utility makes it easy to generate packages with a custom Distribution file. This allows us to add an installcheck script that presents a friendly message to users who are running on an old version of Mac OS X. The change also fixes a few issues with the postinstall script: - In-repo version of the script has been made executable. Installers generated using the new tools couldn't execute it otherwise. - It now uses -d for checking for the existence of the Xcode specs directory. - The call to sudo.bash has been dropped since cov and prof aren't bundled with the binary distributions. Fixes #3455. Tested on 10.5.8, 10.6.0, 10.6.8 and 10.7.3. R=adg, golang-dev CC=golang-dev https://golang.org/cl/5987044
-
Luuk van Dijk authored
Fixes #3545. R=rsc CC=golang-dev https://golang.org/cl/6061043
-
Pascal S. de Kloe authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/6099043
-
Shenghou Ma authored
Obtained on 700MHz OMAP4460: benchmark old ns/op new ns/op delta BenchmarkAbs 61 23 -61.63% R=dave, remyoudompheng, mtj, rsc CC=golang-dev https://golang.org/cl/6094047
-
Rob Pike authored
Moves the error detection back into execution, where it used to be, and improves the error message. Rolls back most of 6009048, which broke lower-case keys in maps. If it weren't for maps we could detect this at compile time rather than execution time. Fixes #3542. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6098051
-
Rob Pike authored
Fixes #3549. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6107047
-
- 22 Apr, 2012 1 commit
-
-
Andrew Balholm authored
Don't set framesetOK to false for hidden input elements. Handle <param>, <source>, <track>, <textarea>, <iframe>, <noembed>, and <noscript> Pass 7 additional tests. R=nigeltao CC=golang-dev https://golang.org/cl/6094045
-
- 21 Apr, 2012 4 commits
-
-
Rémy Oudompheng authored
benchmark old ns/op new ns/op delta BenchmarkAtof64Decimal 344 71 -79.22% BenchmarkAtof64Float 397 90 -77.15% BenchmarkAtof64FloatExp 445 241 -45.84% BenchmarkAtof64Big 731 324 -55.68% BenchmarkAtof64RandomBits 761 453 -40.47% BenchmarkAtof64RandomFloats 690 314 -54.49% R=dave, rsc CC=golang-dev, remy https://golang.org/cl/5988053
-
Quan Yong Zhai authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/6058043
-
Michael Chaten authored
R=golang-dev, dave, rsc CC=golang-dev, minux.ma https://golang.org/cl/6070043
-
Dave Cheney authored
Fixes #3507. Applied the suggested fix from rsc. If the connection is in closing state then errClosing will bubble up to the caller. The fix has been applied to udp, ip and unix as well as their code path include nil'ing c.fd on close. Func tests are available in the linked issue that verified the bug existed there as well. R=rsc, fullung, alex.brainman, mikioh.mikioh CC=golang-dev https://golang.org/cl/6002053
-
- 20 Apr, 2012 8 commits
-
-
Andrew Balholm authored
Reorder some cases. Handle <pre>, <listing>, </form>, </li>, </dd>, </dt>, </h1>, </h2>, </h3>, </h4>, </h5>, and </h6> tags. Pass 6 additional tests. R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/6089043
-
Ian Lance Taylor authored
This lets the test pass on PPC64 GNU/Linux, which uses a much larger page size and thus uses more memory to hold blocks allocated for memory profiling. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6048054
-
Colby Ranger authored
The reverseproxy test depended on the behavior of runtime.NumGoroutines(), which makes no guarantee when goroutines are reaped. Instead, modify the flushLoop() to invoke a callback when it returns, so the exit from the loop can be tested, instead of the number of gorountines running. R=bradfitz CC=golang-dev https://golang.org/cl/6068046
-
Shenghou Ma authored
Introduced "runoutput" cmd for running generated program R=golang-dev, iant, bradfitz, remyoudompheng CC=golang-dev https://golang.org/cl/5869049
-
Andrew Gerrand authored
Fixes #3522. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6063054
-
Andrew Balholm authored
Reorder some start tags. Improve handling of </body>. Handle </html>. Pass 2 additional tests (by handling </html>). R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/6082043
-
Andrew Balholm authored
pass one additional test R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/6048051
-
Andrew Balholm authored
Clean up the flow of control. Fix the TODO for handling <html> tags. Add a case to ignore doctype declarations. Pass one additional test. R=nigeltao CC=golang-dev https://golang.org/cl/6072047
-
- 19 Apr, 2012 7 commits
-
-
Akshat Kumar authored
syscall.Exit would originally kill only the calling Go proc, leaving behind other procs in the same group. This change makes syscall.Exit call runtime·exit, which due to CL https://golang.org/cl/5617048 will cleanly exit all the Go procs in the group. R=golang-dev, rsc, rminnich, remyoudompheng, ality, john CC=golang-dev, mirtchovski https://golang.org/cl/6036051
-
Andrew Balholm authored
Clean up the flow of control, and add a case for doctype tokens (to ignore them). R=nigeltao CC=golang-dev https://golang.org/cl/6069045
-
Shenghou Ma authored
Fixes #3530. R=golang-dev, rsc, bradfitz CC=golang-dev https://golang.org/cl/6032052
-
Brad Fitzpatrick authored
R=golang-dev, kevlar CC=golang-dev https://golang.org/cl/6075045
-
Brad Fitzpatrick authored
R=golang-dev, kevlar CC=golang-dev https://golang.org/cl/6075044
-
Andrew Balholm authored
This method will allow us to be explicit about what we're doing when we insert an implied token, and avoid repeating the logic involved in multiple places. R=nigeltao CC=golang-dev https://golang.org/cl/6060048
-
Benny Siegert authored
Fixes #3474. R=nigeltao CC=golang-dev https://golang.org/cl/6048050
-
- 18 Apr, 2012 5 commits
-
-
Colby Ranger authored
When FlushInterval is specified on ReverseProxy, the ResponseWriter is wrapped with a maxLatencyWriter that periodically flushes in a goroutine. That goroutine was not being cleaned up at the end of the request. This resulted in a panic when Flush() was being called on a ResponseWriter that was closed. The code was updated to always send the done message to the flushLoop() goroutine after copying the body. Futhermore, the code was refactored to allow the test to verify the maxLatencyWriter behavior. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6033043
-
Adam Langley authored
Previously we capped lengths at 2**24 rather than 2**31. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/6050050
-
Andrew Balholm authored
Add a case to ignore doctype tokens. Clean up the flow of control to more clearly match the spec. Pass one more test. R=nigeltao CC=golang-dev https://golang.org/cl/6062047
-
Andrew Balholm authored
Add case for doctype tokens (which are ignored). This CL does not change the status of any tests. R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/6061047
-
Brad Fitzpatrick authored
Don't require the home directory to exist. Just check that it returns something. Fixes #3531 R=golang-dev, adg CC=golang-dev https://golang.org/cl/6056045
-
- 17 Apr, 2012 7 commits
-
-
Dave Cheney authored
Fixes #3534. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6035054
-
Anthony Martin authored
Docstrings were not being set for the wrapper functions returned by the hgcommand decorator. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6059043
-
Andrew Balholm authored
Currently, the html package only runs a limited subset of the tests in the testdata directory. This tends to limit development of the parser to fixing the bug that causes the first failing test. This CL gives it the ability to run all the tests and produce a log showing the status of each test. (It does it when tests are run with 'go test --update-logs') The status is listed as PASS, FAIL, or PARSE (PARSE means that parsing produced the correct tree, but rendering and re-parsing does not produce the same tree). When 'go test' is run without --update-logs, it runs the tests marked 'PASS' in the logs (and the parsing portion of the tests marked 'PARSE'). Thus it will fail if there has been a regression since the last time the logs were updated. My goal for this CL is to allow develoment of the html package to be less test-driven, while still having the advantages of regression tests. In other words, one can work on any portion of the parser and quickly see whether he is breaking things or improving them. Current statistics of the tests: $ grep ^PASS *.log|wc -l 1017 $ grep ^PARSE *.log|wc -l 46 $ grep ^FAIL *.log|wc -l 181 R=nigeltao CC=golang-dev https://golang.org/cl/6031049
-
David Symonds authored
R=golang-dev, r, r CC=golang-dev https://golang.org/cl/6051044
-
Anthony Martin authored
R=golang-dev, bradfitz, akumar CC=golang-dev https://golang.org/cl/5629054
-
Anthony Martin authored
R=golang-dev, bradfitz, akumar CC=golang-dev https://golang.org/cl/6017043
-
Akshat Kumar authored
This change comes from CL 5536043, created by Andrey Mirtchovski. His description follows: "The plan9 exec child handler does not manage dup-ed fds from the parent correctly: when a dup-ed file descriptor appears in the child's fd list it is closed when first encountered and then subsequent attempt to dup it later in Pass 2 fails, resulting in 'fork/exec: fd out of range or not open'." R=golang-dev, rminnich, ality CC=golang-dev, mirtchovski, rsc https://golang.org/cl/6009046
-
- 16 Apr, 2012 2 commits
-
-
Brad Fitzpatrick authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/6037052
-
Shenghou Ma authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5989045
-