- 03 Jan, 2013 1 commit
-
-
Robert Griesemer authored
A composite literal may be parenthesized when used as operand for the unary operator &. R=rsc, iant, r, ken CC=golang-dev https://golang.org/cl/6996053
-
- 02 Jan, 2013 18 commits
-
-
Rémy Oudompheng authored
Before: (erf.go:188) TEXT Erf+0(SB),$220 (erf.go:265) TEXT Erfc+0(SB),$204 (lgamma.go:174) TEXT Lgamma+0(SB),$948 After: (erf.go:188) TEXT Erf+0(SB),$84 (erf.go:265) TEXT Erfc+0(SB),$84 (lgamma.go:174) TEXT Lgamma+0(SB),$44 SSE before vs. SSE after: benchmark old ns/op new ns/op delta BenchmarkAcosh 81 49 -39.14% BenchmarkAsinh 109 109 +0.00% BenchmarkAtanh 73 74 +0.68% BenchmarkLgamma 138 42 -69.20% BenchmarkModf 24 15 -36.95% BenchmarkSqrtGo 565 556 -1.59% R=rsc CC=golang-dev https://golang.org/cl/7028048
-
Russ Cox authored
This makes dist safe for CL 7035043 (but keeps working now too). R=golang-dev, remyoudompheng CC=golang-dev https://golang.org/cl/7029047
-
Brad Fitzpatrick authored
It already did so for its sibling, *strings.Reader, as well as *bytes.Buffer. R=edsrzf, dave, adg, kevlar, remyoudompheng, adg, rsc CC=golang-dev https://golang.org/cl/7031045
-
Thomas Kappler authored
Add a check for this case and don't try to follow the anonymous type's non-existent fields. Fixes #4474. R=rsc CC=golang-dev https://golang.org/cl/6945065
-
Russ Cox authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7038049
-
Rick Arnold authored
Request.URL had no documentation before and some people were expecting all fields to be populated. Fixes #3805. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7008046
-
Rémy Oudompheng authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7045043
-
Rémy Oudompheng authored
A new environment variable GO386 is introduced to choose between code generation targeting 387 or SSE2. No auto-detection is performed and the setting defaults to 387 to preserve previous behaviour. The patch is a reorganization of CL6549052 by rsc. Fixes #3912. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/6962043
-
Russ Cox authored
Update #599. R=dvyukov, iant, minux.ma CC=golang-dev https://golang.org/cl/7001056
-
Rémy Oudompheng authored
Unnamed types like structs with embedded fields can have methods. These methods are generated on-the-fly by the compiler and it may happen for identical types in different packages. The linker must accept these multiple definitions. Fixes #4590. R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/7030051
-
Russ Cox authored
Fixes #4510. R=ken2 CC=golang-dev https://golang.org/cl/7001054
-
Russ Cox authored
Multiple files with the same package all get compiled together. R=golang-dev, iant, dave CC=golang-dev https://golang.org/cl/7005053
-
Russ Cox authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7035045
-
Robert Griesemer authored
Also: Return first error whether an error handler is set in the context or not (bug fix). R=adonovan CC=golang-dev https://golang.org/cl/7024043
-
Dmitriy Vyukov authored
R=minux.ma, franciscossouza, rsc, adg, adg CC=golang-dev https://golang.org/cl/6948043
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7034044
-
Andrew Gerrand authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7038046
-
Kamil Kisiel authored
Fixes #4211. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6970051
-
- 01 Jan, 2013 2 commits
-
-
Dave Cheney authored
sysarch requires arguments to be passed on the stack, not in registers. Credit to Shenghou Ma (minux) for the fix. R=minux.ma, devon.odell CC=golang-dev https://golang.org/cl/7037043
-
Dave Cheney authored
Under FreeBSD-CURRENT on arm, cgo enabled binaries segfault. Disable cgo support for the moment so we can have a freebsd/arm builder on the dashboard. R=minux.ma, rsc, iant CC=golang-dev https://golang.org/cl/7031044
-
- 30 Dec, 2012 3 commits
-
-
Russ Cox authored
Fixes #2443. R=ken2 CC=golang-dev https://golang.org/cl/6997048
-
Ryan Slade authored
Allows encoding and decoding of maps with key of string kind, not just string type. Fixes #3519. R=rsc, dave CC=golang-dev https://golang.org/cl/6943047
-
Russ Cox authored
Fixes #4597. R=ken2 CC=golang-dev https://golang.org/cl/7032043
-
- 29 Dec, 2012 3 commits
-
-
Dave Cheney authored
R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/7025044
-
Sébastien Paolacci authored
Used to then die on a nil pointer situation. Most Linux standard setups are rather restrictive regarding the default amount of lockable memory. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/6997049
-
Adam Langley authored
While half of all numbers don't have their most-significant bit set, this is becoming increasingly impermissible for RSA moduli. In an attempt to exclude weak keys, several bits of software either do, or will, enforce that RSA moduli are >= 1024-bits. However, Go often generates 1023-bit RSA moduli which this software would then reject. This change causes crypto/rsa to regenerate the primes in the event that the result is shorter than requested. It also alters crypto/rand in order to remove the performance impact of this: The most important change to crypto/rand is that it will now set the top two bits in a generated prime (OpenSSL does the same thing). Multiplying two n/2 bit numbers, where each have the top two bits set, will always result in an n-bit product. (The effectively makes the crypto/rsa change moot, but that seems too fragile to depend on.) Also this change adds code to crypto/rand to rapidly eliminate some obviously composite numbers and reduce the number of Miller-Rabin tests needed to generate a prime. R=rsc, minux.ma CC=golang-dev https://golang.org/cl/7002050
-
- 28 Dec, 2012 8 commits
-
-
Péter Surányi authored
CL6449105 changed godoc id attributes to ensure uniqueness. This CL updates links to godoc pages in documents that used the old id attributes. R=golang-dev, dsymonds CC=golang-dev, speter.go1 https://golang.org/cl/7015051
-
Robert Griesemer authored
- introduced type Method for methods - renamed StructField -> Field - removed ObjList - methods are not sorted anymore in interfaces (for now) R=adonovan CC=golang-dev https://golang.org/cl/7023043
-
Robert Griesemer authored
This is a just a file move with no other changes besides the manual import path adjustments in these two files: src/pkg/exp/gotype/gotype.go src/pkg/exp/gotype/gotype_test.go Note: The go/types API continues to be subject to possibly significant changes until Go 1.1. Do not rely on it being stable at this point. R=adonovan CC=golang-dev https://golang.org/cl/7013049
-
Robert Griesemer authored
The parser/resolver cannot accurately resolve composite literal keys that are identifiers; it needs type information. Instead, try to resolve them but leave final judgement to the type checker. R=adonovan CC=golang-dev https://golang.org/cl/6994047
-
Brad Fitzpatrick authored
Fixes #4589 R=golang-dev, iant, dvyukov CC=golang-dev https://golang.org/cl/7011047
-
Dmitriy Vyukov authored
Fixes #4383. R=golang-dev, minux.ma, rsc, iant CC=golang-dev https://golang.org/cl/6996060
-
Dave Cheney authored
These files are identical, so probably pre date // +build. With a little work, fd_darwin could be merged as well. R=mikioh.mikioh, jsing, devon.odell, lucio.dere, minux.ma CC=golang-dev https://golang.org/cl/7004053
-
Dave Cheney authored
Fixes #4592. Thanks to minux for the suggestion. R=minux.ma, iant CC=golang-dev https://golang.org/cl/7017048
-
- 27 Dec, 2012 2 commits
-
-
Jan Ziak authored
The new garbage collector (CL 6114046) may find the fake *[]byte value and interpret its contents as bytes rather than as potential pointers. This may lead the garbage collector to free memory blocks that shouldn't be freed. R=dvyukov, rsc, dave, minux.ma, remyoudompheng, iant CC=golang-dev https://golang.org/cl/7000059
-
Akshat Kumar authored
Proper local system log semantics still need to be created for Plan 9. In the meantime, the test suite (viz., exp/gotype) expects there to be some Go source for each import path. Thus, here is a stub, equivalent to syslog_windows, for this purpose. R=golang-dev, rsc, alex.brainman CC=golang-dev https://golang.org/cl/7000062
-
- 26 Dec, 2012 2 commits
-
-
Robert Griesemer authored
R=adonovan, bradfitz CC=golang-dev https://golang.org/cl/7018046
-
Robert Griesemer authored
- added Context type for configuration of type checker - type check all function and method bodies - (partial) fixes to shift hinting (still not complete) - revamped test harness - does not rely on specific position representation anymore, just a standard (compiler) error message - lots of bug fixes R=adonovan, rsc CC=golang-dev https://golang.org/cl/6948071
-
- 25 Dec, 2012 1 commit
-
-
Oling Cat authored
R=golang-dev, iant CC=golang-dev, minux.ma https://golang.org/cl/6998055
-