- 05 Nov, 2010 5 commits
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/2934041
-
Rob Pike authored
underlying type; otherwise encoding fails when sending a pointer value. R=rsc CC=golang-dev https://golang.org/cl/2922041
-
Adam Langley authored
Previously we checked the certificate chain from the leaf upwards and expected to jump from the last cert in the chain to a root certificate. Although technically correct, there are a number of sites with problems including out-of-order certs, superfluous certs and missing certs. The last of these requires AIA chasing, which is a lot of complexity. However, we can address the more common cases by using a pool building algorithm, as browsers do. We build a pool of root certificates and a pool from the server's chain. We then try to build a path to a root certificate, using either of these pools. This differs from the behaviour of, say, Firefox in that Firefox will accumulate intermedite certificate in a persistent pool in the hope that it can use them to fill in gaps in future chains. We don't do that because it leads to confusing errors which only occur based on the order to sites visited. This change also enabled SNI for tls.Dial so that sites will return the correct certificate chain. R=rsc CC=golang-dev https://golang.org/cl/2916041
-
Alex Brainman authored
R=rsc CC=golang-dev https://golang.org/cl/2923041
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/2925041
-
- 04 Nov, 2010 10 commits
-
-
Robert Griesemer authored
Consistency argument: A valid Go program should remain valid after stripping leading and trailing whitespace. This was not true so far if the last text in the source was a line comment. R=iant, ken2, r, rsc, r2 CC=golang-dev https://golang.org/cl/2906041
-
Graham Miller authored
Small addition to previous optimization of memequal as discussed here: http://groups.google.com/group/golang-nuts/browse_thread/thread/f591ba36d83723c0/9aba02d344045f38 R=golang-dev, r, r2 CC=golang-dev https://golang.org/cl/2880041
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/2908041
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/2907041
-
Russ Cox authored
Prefix all external symbols in runtime by runtime·, to avoid conflicts with possible symbols of the same name in linked-in C libraries. The obvious conflicts are printf, malloc, and free, but hide everything to avoid future pain. The symbols left alone are: ** known to cgo ** _cgo_free _cgo_malloc libcgo_thread_start initcgo ncgocall ** known to linker ** _rt0_$GOARCH _rt0_$GOARCH_$GOOS text etext data end pclntab epclntab symtab esymtab ** known to C compiler ** _divv _modv _div64by32 etc (arch specific) Tested on darwin/386, darwin/amd64, linux/386, linux/amd64. Built (but not tested) for freebsd/386, freebsd/amd64, linux/arm, windows/386. R=r, PeterGo CC=golang-dev https://golang.org/cl/2899041
-
Russ Cox authored
To annoy hg: Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα. R=r CC=golang-dev https://golang.org/cl/2900041
-
Ian Lance Taylor authored
http://dwarfstd.org/ShowIssue.php?issue=101014.1&type=open Informally accepted for future DWARF 5. R=lvd CC=golang-dev, rsc https://golang.org/cl/2881042
-
Chris Jones authored
R=rsc, chris CC=golang-dev https://golang.org/cl/2420041
-
Russ Cox authored
R=r CC=cjyar, golang-dev https://golang.org/cl/2818041
-
Ken Thompson authored
currently, softfloat does not work and there are some unsigned-to-float conversion errors. R=rsc CC=golang-dev https://golang.org/cl/2886041
-
- 03 Nov, 2010 6 commits
-
-
Rob Pike authored
R=ken2, ken3 CC=golang-dev https://golang.org/cl/2865041
-
Rob Pike authored
R=rsc, gri CC=golang-dev https://golang.org/cl/2853042
-
Adam Langley authored
Previously all the functions took two arguments: src, dst. This is the reverse of the usual Go style and worth changing sooner rather than later. Unfortunately, this is a change that the type system doesn't help with. However, it's not a subtle change: any unittest worth the name should catch this. R=rsc, r CC=golang-dev https://golang.org/cl/2751042
-
Adam Langley authored
CAST5 is the default OpenPGP cipher. (This won't make Rob any happier about the size of crypto/, of course.) It already has dst, src in that order but it doesn't have any users yet so I figure it's better than changing it later. R=rsc, gri, r CC=golang-dev https://golang.org/cl/2762042
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/2848041
-
Andrew Gerrand authored
R=golang-dev, gri, r2, r CC=golang-dev https://golang.org/cl/2846041
-
- 02 Nov, 2010 6 commits
-
-
Robert Griesemer authored
R=rsc, adg CC=golang-dev https://golang.org/cl/2841041
-
Kai Backman authored
regularly when client connections are flaky (probably another issue). (credits to jussi@tinkercad.com for finding the issue) R=rsc, r CC=golang-dev, jussi https://golang.org/cl/2831042
-
Rob Pike authored
There's no need to hold the client mutex when calling encode, since encode itself uses a mutex to make the writes atomic. However, we need to keep the messages ordered, so add a mutex for that purpose alone. Fixes #1244. R=rsc CC=golang-dev https://golang.org/cl/2833041
-
Robert Griesemer authored
First step towards a more light-weight implementation of token.Position: - only use token.Position for reporting token and error position - use offsets only for scanner control - no interface changes yet R=rsc CC=golang-dev https://golang.org/cl/2825041
-
Rob Pike authored
R=rsc, gri, iant CC=golang-dev https://golang.org/cl/2821041
-
Rob Pike authored
(written by ken) R=ken2 CC=golang-dev https://golang.org/cl/2823042
-
- 01 Nov, 2010 13 commits
-
-
Alex Brainman authored
Restore ability to have different file and section alignment in generated pe file. Stop generating .bss pe section, it is part of .data now. Some code refactoring. R=rsc, vcc CC=golang-dev https://golang.org/cl/2731041
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/2820041
-
Brad Fitzpatrick authored
R=r CC=golang-dev, r2, rsc https://golang.org/cl/2819041
-
Robert Griesemer authored
go/printer: do not remove parens around composite literals starting with a type name in control clauses (even when they are nested inside an expression). Fixes #1243. R=rsc CC=golang-dev https://golang.org/cl/2817041
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/2770044
-
Wei Guangjing authored
R=rsc, mattn CC=golang-dev https://golang.org/cl/1976045
-
Brad Fitzpatrick authored
Tiny helper to avoid strings.Index(s, sub) != -1 R=rsc, r2, r CC=golang-dev https://golang.org/cl/2265044
-
Rob Pike authored
gofmt will leave alone. R=rsc, bradfitz, bradfitzpatrick CC=golang-dev https://golang.org/cl/2816041
-
Albert Strasheim authored
R=rsc CC=golang-dev https://golang.org/cl/2303043
-
Fazlul Shahriar authored
Fixes #1218. R=rsc CC=golang-dev https://golang.org/cl/2664041
-
Roger Peppe authored
R=rsc CC=golang-dev https://golang.org/cl/2506042
-
Michael Hoisie authored
R=rsc, adg CC=golang-dev https://golang.org/cl/2723041
-
Russ Cox authored
Fixes #1234. R=r, r2 CC=golang-dev https://golang.org/cl/2735043
-