- 08 Feb, 2012 32 commits
-
-
Russ Cox authored
Otherwise, the registration semantics are init-order-dependent, which I was trying very hard to avoid in the API. This may break broken programs. Fixes #2900. R=golang-dev, r, bradfitz, dsymonds, balasanjay, kevlar CC=golang-dev https://golang.org/cl/5644051
-
Russ Cox authored
Fixes #1955. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5643058
-
Robert Griesemer authored
R=r, rsc CC=golang-dev https://golang.org/cl/5639053
-
Dmitriy Vyukov authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5642059
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5646053
-
Russ Cox authored
Same idea as heap profile: how did each thread get created? Low memory (256 bytes per OS thread), high reward for programs that suddenly have many threads running. Fixes #1477. R=golang-dev, r, dvyukov CC=golang-dev https://golang.org/cl/5639059
-
Jamie Gennis authored
This changes makes constant propagation compare 'from' values using node pointers rather than symbol names when checking to see whether a set operation is redundant. When a function is inlined multiple times in a calling function its arguments will share symbol names even though the values are different. Prior to this fix the bug409 test would hit a case with 6g where an LEAQ instruction was incorrectly eliminated from the second inlined function call. 8g appears to have had the same bug, but the test did not fail there. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5646044
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5646051
-
Russ Cox authored
Fixes #2918. TBR=golang-dev CC=golang-dev https://golang.org/cl/5639062
-
Andrew Pritchard authored
- convert from nil pointers to the nil interface{} - dereference non-nil pointers - convert from nil interface{}s to nil pointers - allocate pointers for non-nil interface{}s - tests for all of the above R=golang-dev, bradfitz, rsc, rogpeppe CC=golang-dev https://golang.org/cl/5630052
-
Brad Fitzpatrick authored
Fixes #2875 R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5641052
-
Russ Cox authored
R=golang-dev, r, iant CC=golang-dev https://golang.org/cl/5641051
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5646049
-
Russ Cox authored
Add Expand, ExpandString for access to the substitution functionality. Fixes #2736. R=r, bradfitz, r, rogpeppe, n13m3y3r CC=golang-dev https://golang.org/cl/5638046
-
Russ Cox authored
encoding/xml: handle time.Time as recognized type The long term plan is to define an interface that time.Time can implement and that encoding/xml can call, but we are not going to try to define that interface before Go 1. Instead, special-case time.Time in package xml, because it is such a fundamental type, as a stop-gap. The eventual methods will behave this way. Fixes #2793. R=golang-dev, r, r, n13m3y3r CC=golang-dev https://golang.org/cl/5634051
-
Russ Cox authored
Fixes #2642. R=remyoudompheng, r, r CC=golang-dev https://golang.org/cl/5639052
-
Russ Cox authored
Fixes #2851. R=golang-dev, r CC=golang-dev https://golang.org/cl/5644048
-
Rob Pike authored
It appears to want a * on an indirect function call (assembly language) TBR=rsc R=golang-dev CC=golang-dev https://golang.org/cl/5643054
-
Rob Pike authored
TBR=rsc R=golang-dev CC=golang-dev https://golang.org/cl/5647049
-
Gustavo Niemeyer authored
This also changes the behavior of attribute marshalling so that strings and byte slices are marshalled even if empty. The omitempty flag may be used to obtain the previous behavior. Fixes #2899. R=rsc CC=golang-dev https://golang.org/cl/5645050
-
Andrew Gerrand authored
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/5645052
-
Andrew Gerrand authored
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5615056
-
Andrew Gerrand authored
Fixes #2835. R=golang-dev, n13m3y3r, r, bradfitz CC=golang-dev https://golang.org/cl/5645051
-
Rob Pike authored
Fixes #2847. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5641050
-
Brad Fitzpatrick authored
to help debug Issue 2651 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5644049
-
Rob Pike authored
The function has a bizarre signature: it was the only public function there that exposed the reflect package. Also, its definition is peculiar and hard to explain. It doesn't merit being exported. This is an API change but really, it should never have been exported and it's certain very few programs will depend on it: it's too weird. Fixes #2846. R=golang-dev, gri, bradfitz CC=golang-dev https://golang.org/cl/5639054
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5626045
-
Rob Pike authored
It complicates the interface unnecessarily. Document this in go1.html. Also update the go/doc Makefile. Fixes #2836. R=golang-dev, gri, bradfitz CC=golang-dev https://golang.org/cl/5642054
-
Brad Fitzpatrick authored
Fixes #2853 R=golang-dev, r CC=golang-dev https://golang.org/cl/5642056
-
Rob Pike authored
Also simplify the tests. Fixes #2849. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5643045
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/5636045
-
Rob Pike authored
Fixes #2862. R=golang-dev, n13m3y3r, iant CC=golang-dev https://golang.org/cl/5646048
-
- 07 Feb, 2012 8 commits
-
-
Rob Pike authored
It's disabled and unreproducible. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5642053
-
Robert Griesemer authored
Be careful when printing line comments with incorrect position information. Maintain additional state impliedSemi: when set, a comment containing a newline would imply a semicolon and thus placement must be delayed. Precompute state information pertaining to the next comment for faster checks (the printer is marginally faster now despite additional checks for each comment). No effect on existing src, misc sources. Fixes #1505. R=rsc CC=golang-dev https://golang.org/cl/5598054
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5643050
-
Russ Cox authored
Fixes #2902. TBR=golang-dev CC=golang-dev https://golang.org/cl/5641047
-
David Symonds authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5639046
-
Rob Pike authored
Also bring the names in doc.go in line with the source. More radical resolutions are possible but require substantial internal changes for very little benefit. Fixing it this way lets us keep the embedding, which has a huge simplifying effect, and guarantees binary compatibility. Fixes #2848. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5644045
-
Rob Pike authored
Fixes #2850. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5645043
-
Rob Pike authored
Updates #2836. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5639045
-