- 24 Jun, 2013 1 commit
-
-
Dave Cheney authored
The tradition is to use _posix when the platform extends beyond unix variants. As windows has its own file, rename to the more usual _unix. R=golang-dev, r CC=golang-dev https://golang.org/cl/10320043
-
- 23 Jun, 2013 1 commit
-
-
Rémy Oudompheng authored
Fixes #4230 (again). R=rsc, golang-dev, r CC=golang-dev https://golang.org/cl/10470043
-
- 22 Jun, 2013 2 commits
-
-
Rick Arnold authored
If time.Sub results in a value that won't fit in a Duration (int64), return either the min or max int64 value as appropriate. Fixes #5011. R=golang-dev, bradfitz, r, rsc CC=golang-dev https://golang.org/cl/10328043
-
Dave Cheney authored
See discussion: https://groups.google.com/forum/#!topic/golang-dev/zSmH0lQxKAs Part 1 of several. Move identical types and functions to syscall_unix.go. R=rsc, mikioh.mikioh, r CC=golang-dev https://golang.org/cl/10392048
-
- 21 Jun, 2013 6 commits
-
-
Robert Griesemer authored
The existing compilers convert empty strings to empty but non-nil byte and rune slices. The spec required a nil byte and rune slice in those cases. That seems an odd additional requirement. Adjust the spec to match the reality. Also, removed over-specification for conversions of nil []byte and []rune: such nil slices already act like empty slices and thus don't need extra language. Added extra examples instead. Fixes #5704. R=rsc, r, iant CC=golang-dev https://golang.org/cl/10440045
-
Robert Griesemer authored
The go/ast ImportSpec always requires a non-nil path. R=adonovan CC=golang-dev https://golang.org/cl/10402047
-
Rob Pike authored
R=adg, rsc CC=golang-dev https://golang.org/cl/10392049
-
Robert Griesemer authored
Experimental, per rsc's proposal. R=rsc CC=golang-dev https://golang.org/cl/10204043
-
Adam Langley authored
This Intel instruction implements multiplication in binary fields. R=golang-dev, minux.ma, dave, rsc CC=golang-dev https://golang.org/cl/10428043
-
Dave Cheney authored
trivial: it is not a serious problem to leak a fd in a short lived process, but it was obscuring my investigation of issue 5593. R=golang-dev, iant, bradfitz CC=golang-dev https://golang.org/cl/10391043
-
- 20 Jun, 2013 8 commits
-
-
Rob Pike authored
These are not erroneous, just poor or confusing. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/10448043
-
Ian Lance Taylor authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/10401046
-
Brad Fitzpatrick authored
The old code worked, somewhat on accident, but was confusing, and had a useless assignment to the inner err. It worked because url.Parse parses just about anything, so the outer err was always nil, so it always fell through to the bottom return statement, even without the "err = nil" line. Instead, just have two return statements, and add a comment. R=golang-dev, r CC=golang-dev https://golang.org/cl/10448044
-
Rob Pike authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/10328044
-
Rob Pike authored
Output now: ok crypto/aes 0.060s coverage: 89.8% of statements ok crypto/des 0.074s coverage: 92.2% of statements ok crypto/dsa 0.056s coverage: 34.5% of statements ok crypto/ecdsa 0.058s coverage: 86.8% of statements ok crypto/elliptic 0.039s coverage: 94.6% of statements ok crypto/hmac 0.037s coverage: 93.5% of statements ok crypto/md5 0.031s coverage: 96.2% of statements ok crypto/rand 0.074s coverage: 9.9% of statements ok crypto/rc4 0.090s coverage: 66.7% of statements ok crypto/rsa 0.253s coverage: 83.5% of statements R=rsc, adg CC=golang-dev https://golang.org/cl/10413044
-
Adam Langley authored
This complements the parsing function that we already have. R=golang-dev, r CC=golang-dev https://golang.org/cl/10426043
-
Rémy Oudompheng authored
R=iant, golang-dev CC=golang-dev https://golang.org/cl/10365052
-
Andrew Gerrand authored
Fixes #5655. R=golang-dev, minux.ma, r CC=golang-dev https://golang.org/cl/10410045
-
- 19 Jun, 2013 3 commits
-
-
Adam Langley authored
TLS clients send ciphersuites in preference order (most prefereable first). This change alters the order so that ECDHE comes before plain RSA, and RC4 comes before AES (because of the Lucky13 attack). This is unlikely to have much effect: as a server, the code uses the client's ciphersuite order by default and, as a client, the non-Go server probably imposes its order. R=golang-dev, r, raggi, jsing CC=golang-dev https://golang.org/cl/10372045
-
Rob Pike authored
The -cover flag is now just enable/disable and is implied if either of the other flags is set. R=rsc CC=golang-dev https://golang.org/cl/10420043
-
Rob Pike authored
The single flag -cover provides the default simplest behavior. The other flags, -covermode and -coverprofile, provide more control. The three flags interconnect to work well. R=rsc, adg CC=golang-dev https://golang.org/cl/10364044
-
- 18 Jun, 2013 8 commits
-
-
Rob Pike authored
Move the data dumper to the testing package, where it has access to file I/O. Print a percentage value at the end of the run. R=rsc, adg CC=golang-dev https://golang.org/cl/10264045
-
Robert Griesemer authored
Pointed out by go vet. R=r CC=golang-dev https://golang.org/cl/10368048
-
Russ Cox authored
(By not using the tail-call wrappers when the race detector is enabled.) R=golang-dev, minux.ma, dvyukov, daniel.morsing CC=golang-dev https://golang.org/cl/10227043
-
Cosmos Nicolaou authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/9103045
-
Dave Cheney authored
Fixes #5714. R=golang-dev, iant CC=golang-dev https://golang.org/cl/10386043
-
Andrew Gerrand authored
Fixes #5589. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/10272051
-
David Bürgin authored
This basic Vim ftplugin sets the 'comments' and 'commentstring' settings to sensible values. Future filetype settings for Go would go in the same file. The ftplugin was added as misc/vim/ftplugin/go/go.vim, this way the installation instructions in readme.txt remain valid. Fixes #5715. R=dsymonds CC=gobot, golang-dev https://golang.org/cl/10323043
-
David Symonds authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/10372043
-
- 17 Jun, 2013 11 commits
-
-
Alex Jin authored
R=rsc, dave, bradfitz CC=golang-dev https://golang.org/cl/10082044
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/10286045
-
Paul van Brouwershaven authored
Support for CRL Distribution Points R=golang-dev, agl, bradfitz CC=golang-dev https://golang.org/cl/10258043
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/10332046
-
Nicolas Owens authored
use correct field count when resolving nameservers via /net/dns on Plan 9. we incorrectly check for 4 fields instead of 3 when parsing the result of /net/dns, and get no results R=golang-dev, ality CC=golang-dev https://golang.org/cl/10182044
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/10335044
-
Dan Peterson authored
R=golang-dev, r, kr CC=golang-dev https://golang.org/cl/10263043
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/10340043
-
Brad Fitzpatrick authored
Don't panic when the underlying Writer isn't a Closer. And document what Close does and clarify that it's not a Flush. R=golang-dev, agl CC=golang-dev https://golang.org/cl/10310043
-
Dmitriy Vyukov authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/10257043
-
Dmitriy Vyukov authored
I've hit it several times already. Currently it crashes with nil deref. R=golang-dev, daniel.morsing, r CC=golang-dev https://golang.org/cl/10317045
-