- 27 Jul, 2012 3 commits
-
-
Andrew Balholm authored
Also convert NUL to U+FFFD in comments. Pass 23 additional tests. R=nigeltao CC=golang-dev https://golang.org/cl/6446055
-
Ian Lance Taylor authored
When a cgo program calls setuid, setgid, etc., the GNU/Linux pthread library sends signal SIGSETXID to each thread to tell it to update its UID info. If Go is permitted to intercept the default SIGSETXID signal handler, the program will hang. This patch tells the runtime package to not try to intercept SIGSETXID on GNU/Linux. This will be odd if a Go program wants to try to use that signal, but it means that cgo programs that call setuid, etc., won't hang. Fixes #3871. R=rsc, r, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/6455050
-
Robert Griesemer authored
The go/ast comment for FuncType.Params says that the field may be nil. Make sure the printer accepts such a value. The go/parser always sets the field (to provide parenthesis position information), but a program creating a Go AST from scatch may not. Added corresponding test case. Fixes #3870. R=golang-dev, r CC=golang-dev https://golang.org/cl/6448060
-
- 26 Jul, 2012 4 commits
-
-
Andrew Balholm authored
If NUL bytes occur inside certain elements, convert them to U+FFFD replacement character. Pass 1 additional test. R=nigeltao CC=golang-dev https://golang.org/cl/6452047
-
Andrew Wilkins authored
Fixed creation of Func's, taking IsVariadic from parameter list rather than results. Updated checkObj to process ast.Fun objects. R=gri CC=golang-dev https://golang.org/cl/6402046
-
Robert Griesemer authored
R=rsc, minux.ma, iant CC=golang-dev https://golang.org/cl/6447050
-
Andrew Balholm authored
Pass 1 additional test. R=nigeltao CC=golang-dev https://golang.org/cl/6443048
-
- 25 Jul, 2012 4 commits
-
-
Ian Lance Taylor authored
Declare crosscall2. Declare the functions passed to it as returning void, rather than relying on implicit return type. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6432060
-
Dave Cheney authored
Fixes #3453. R=golang-dev, gri, jeff, bradfitz CC=golang-dev https://golang.org/cl/6350086
-
Brad Fitzpatrick authored
Notably, allow concurrent logging and failing. R=golang-dev, r CC=golang-dev https://golang.org/cl/6453045
-
Andrew Balholm authored
If the body of an HTML document contains text, the <frameset> tag is ignored. But not if the text is only whitespace. Pass 4 additional tests. R=nigeltao CC=golang-dev https://golang.org/cl/6442043
-
- 24 Jul, 2012 2 commits
-
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/6435044
-
Mikio Hara authored
RemoteAddr returns not only UDPAddr but IPAddr. R=golang-dev, dave CC=golang-dev https://golang.org/cl/6401054
-
- 23 Jul, 2012 4 commits
-
-
Rob Pike authored
If the key is not present, return value of the type of the element not the type of the key. Also fix a test that should have caught this case. Fixes #3850. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6405078
-
Rob Pike authored
Add commentary to explain better what's going on, but the code change is a simple one-line reversal to the previous form. R=rsc CC=golang-dev https://golang.org/cl/6428072
-
David Symonds authored
R=nigeltao CC=golang-dev https://golang.org/cl/6431055
-
Andrew Balholm authored
Don't unescape entities in attributes when they don't end with a semicolon and they are followed by '=', a letter, or a digit. Pass 6 more tests from the WebKit test suite, plus one that was commented out in token_test.go. R=nigeltao CC=golang-dev https://golang.org/cl/6405073
-
- 22 Jul, 2012 2 commits
-
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6422056
-
Patrick Mylund Nielsen authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6432062
-
- 21 Jul, 2012 2 commits
-
-
Mikio Hara authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/6434043
-
Mikio Hara authored
R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/6430062
-
- 20 Jul, 2012 2 commits
-
-
Ian Lance Taylor authored
R=golang-dev, r, iant CC=golang-dev https://golang.org/cl/6416056
-
Gustavo Niemeyer authored
Fixes #3844. R=golang-dev, r CC=golang-dev https://golang.org/cl/6432054
-
- 19 Jul, 2012 3 commits
-
-
Mikio Hara authored
R=golang-dev, bsiegert, r CC=golang-dev https://golang.org/cl/6428050
-
Rob Pike authored
Surrogates are still admitted, but I have sent mail to golang-dev on that topic. Fixes #3785. R=golang-dev, rogpeppe, iant CC=golang-dev https://golang.org/cl/6398049
-
Rob Pike authored
Fixes #3839. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6428053
-
- 18 Jul, 2012 1 commit
-
-
Brad Fitzpatrick authored
If a Client's CheckRedirect function returns an error, we again return both a non-nil *Response and a non-nil error. Fixes #3795 R=golang-dev, n13m3y3r CC=golang-dev https://golang.org/cl/6429044
-
- 17 Jul, 2012 1 commit
-
-
Rémy Oudompheng authored
Fixes #3830. R=golang-dev, r CC=golang-dev, remy https://golang.org/cl/6373047
-
- 16 Jul, 2012 4 commits
-
-
Rob Pike authored
By default, all are still run, but a particular test can be selected with the new flags. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6395053
-
Rob Pike authored
Fixes #3822. R=golang-dev, r, dsymonds, minux.ma, adg CC=golang-dev https://golang.org/cl/6395043
-
Adam Langley authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6392065
-
Nigel Tao authored
Fixes #3815. R=r CC=golang-dev https://golang.org/cl/6352109
-
- 15 Jul, 2012 1 commit
-
-
Benny Siegert authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6399047
-
- 14 Jul, 2012 2 commits
-
-
Dmitriy Vyukov authored
Some tests currently fail with GOMAXPROCS>1 R=golang-dev CC=golang-dev https://golang.org/cl/6398044
-
Dmitriy Vyukov authored
Some class of bugs (data races, runtime bugs) can be found only with real parallelism. Note that GOMAXPROCS=32 is somewhat different from go test -cpu=32, this intentionally uses GOMAXPROCS to stress program bootstrap, testing code, garbage collections, etc. Package selection is mostly random. R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/6346070
-
- 13 Jul, 2012 5 commits
-
-
Rob Pike authored
They can generate huge amounts of memory, causing failure on small machines. Also they can be very slow. So slow that one test was commented out! We uncomment it and use a flag. Fixes #3742. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6373044
-
Marcel van Lohuizen authored
- Changed the representation of colElem to support a few cases for some languages not supported by the current format. - Changed offsets for implicit primary values. This makes the values both easier to read and debug (last 4 nibbles are identical to implicit primary value) and also results in better packing. - Fixed bug in weight conversion code that did not pop up yet by sheer luck. Note that tables.go also includes changes to the contraction trie from CL 6346092. R=r, mpvl CC=golang-dev https://golang.org/cl/6392060
-
Marcel van Lohuizen authored
which has a rather large contraction table. The value of the next state offset now starts after the current block, instead of before. This is slightly less efficient (on extra addition per state change), but gives some extra range for the offsets. Also introduced constants for final (0) and noIndex (0xFF). tables.go is updated in a separate CL. R=r CC=golang-dev https://golang.org/cl/6346092
-
Rémy Oudompheng authored
Fixes #3334. R=golang-dev, r CC=golang-dev, remy https://golang.org/cl/6350103
-
Rob Pike authored
Gob decoding reads a whole message into memory and then copies it into a bytes.Buffer. For large messages this wastes an entire copy of the message. In this CL, we use a staging buffer to avoid the large temporary. Update #2539 RSS drops to 775MB from 1GB. Active memory drops to 858317048 from 1027878136, essentially the size of one copy of the input file. R=dsymonds, nigeltao CC=golang-dev https://golang.org/cl/6392057
-