Adam Langley
7748a7f159
crypto/x509: unwrap Subject Key Identifier
...
RFC 5280, 4.2.1.2 says:
SubjectKeyIdentifier ::= KeyIdentifier
KeyIdentifier ::= OCTET STRING
Previously, we were failing to unwrap the second level of OCTET STRING
encoding.
Fixes #993 .
R=rsc
CC=golang-dev
https://golang.org/cl/1917044
2010-08-03 12:26:48 -04:00
Russ Cox
3f19d8ae8d
gc: empty select
...
R=ken2
CC=golang-dev
https://golang.org/cl/1871057
2010-08-03 01:07:57 -07:00
Russ Cox
585eae3bce
gc: bug301
...
Fixes #990 .
R=ken2
CC=golang-dev
https://golang.org/cl/1742055
2010-08-03 01:07:40 -07:00
Russ Cox
c6cb303a8a
gc: bug299, bug300
...
R=ken2
CC=golang-dev
https://golang.org/cl/1731057
2010-08-03 00:53:32 -07:00
Russ Cox
b91c70ad52
A+C: Tarmigan Casebolt
...
R=adg
CC=golang-dev, tarm
https://golang.org/cl/1923041
2010-08-03 00:36:44 -07:00
Russ Cox
9bac9d23d3
gc: index bounds tests and fixes
...
move constant index checking to front end
x[2:1] is a compile-time error now too
R=ken2
CC=golang-dev
https://golang.org/cl/1848056
2010-08-03 00:26:02 -07:00
Scott Lawrence
0cd8777255
strings: fix Split("", "", -1)
...
Fixes #980 .
Made it return an empty array, rather than crash.
Added relevant test cases to strings.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/1914041
2010-08-03 13:35:14 +10:00
Rob Pike
b6c2bf7127
Add Scott Lawrence to C&A
...
R=adg
CC=golang-dev
https://golang.org/cl/1899044
2010-08-03 13:27:50 +10:00
Alex Brainman
a79a9098da
syscall: make sure go error numbers do not clash with windows system errors
...
R=rsc
CC=golang-dev
https://golang.org/cl/1857049
2010-08-03 12:04:41 +10:00
Andrew Gerrand
5443bbe292
builder: update script so it doesn't create tar-bombs
...
R=rsc
CC=golang-dev
https://golang.org/cl/1857048
2010-08-03 11:06:18 +10:00
Nigel Tao
244b6583b7
image: introduce Gray and Gray16 types, and remove the named colors
...
except for Black and White.
R=rsc
CC=golang-dev, mpl, r
https://golang.org/cl/1903049
2010-08-03 10:57:53 +10:00
Rob Pike
3f5966dcc0
io: consolidate multi_reader and multi_writer into a single file, multi.go
...
R=rsc
CC=golang-dev
https://golang.org/cl/1860046
2010-08-03 08:04:33 +10:00
Nigel Tao
55badd474b
image/png: use image-specific methods for checking opacity.
...
R=rsc
CC=golang-dev, mpl
https://golang.org/cl/1894047
2010-08-02 09:52:15 +10:00
Bill Neubauer
6d37724c15
websocket: fix bug involving spaces in header keys
...
R=rsc, ukai
CC=golang-dev
https://golang.org/cl/1669056
2010-07-30 12:27:03 -07:00
Russ Cox
1c4d380b80
CONTRIBUTORS: add wcn@google.com alias to match with code review
...
R=wcn
CC=golang-dev
https://golang.org/cl/1902043
2010-07-30 12:26:50 -07:00
Russ Cox
68b0a87966
runtime: do not fall through in SIGBUS/SIGSEGV
...
Faults beyond the first page are not expected
and should fail loudly. They are not subject to recover.
R=r
CC=golang-dev
https://golang.org/cl/1915042
2010-07-30 11:32:55 -07:00
Kai Backman
a0368180a7
arm: disable another flaky test.
...
these tests work fine on n1 and gumstix. it's unclear
why they keep failing on the godashboard build.
R=rsc
CC=golang-dev
https://golang.org/cl/1664056
2010-07-30 12:33:40 +03:00
Kai Backman
c44f95ff48
fix build
...
R=rsc
CC=golang-dev
https://golang.org/cl/1913042
2010-07-30 10:53:26 +03:00
Kai Backman
8d76a15122
arm: bugfixes (stack clobbering, indices)
...
also changed zerodivide to output "BUG"
R=rsc
CC=golang-dev
https://golang.org/cl/1871055
2010-07-30 10:37:51 +03:00
Kai Backman
96ad9adef3
arm: add gdb support to android launcher script
...
R=rsc
CC=golang-dev
https://golang.org/cl/1742050
2010-07-30 10:35:07 +03:00
Andrew Gerrand
fdbff04a94
tag release.2010-07-29
...
R=rsc
CC=golang-dev
https://golang.org/cl/1896044
2010-07-30 15:18:55 +10:00
Andrew Gerrand
b5d84bb0cf
release.2010-07-29
...
R=rsc
CC=golang-dev
https://golang.org/cl/1907045
2010-07-30 14:48:30 +10:00
Andrew Gerrand
3402c5e8fe
misc/builder: support for uploading tarballs to googlecode
...
R=rsc
CC=golang-dev
https://golang.org/cl/1784042
2010-07-30 14:00:59 +10:00
Joe Poirier
b57ffae094
cov and prof: implement windows version (just function stubs and build mods)
...
R=brainman, rsc
CC=golang-dev
https://golang.org/cl/1676054
2010-07-30 11:47:11 +10:00
Robert Griesemer
500425ac7b
bug300: literal types must not be parenthesized
...
( This CL is dependent on acceptance of
https://golang.org/cl/1913041/show )
R=go-dev
CC=golang-dev
https://golang.org/cl/1860045
2010-07-29 18:14:49 -07:00
Robert Griesemer
07cc6440dc
go_spec: don't allow parens around the literal type of composite literals
...
Background: The current spec is imprecise with respect to the parsing ambiguity
for composite literals: It says that the ambiguity arises when the TypeName form
of the LiteralType is used. The following code:
if (B) {} ...
is not using the TypeName form (but the parenthesized TypeName form) and thus
could be interpreted as:
if ((B){}) ...
instead of
if B {} ...
Both compilers and gofmt choose the latter interpretation. One could fix the
spec by making the clause regarding the parsing ambiguity more precise ("...using
the _possibly parenthesized_ TypeName form of the LiteralType..."). The alternative
(chosen here) is to simply disallow parenthesized literal types. Except for a single
test case (test/parentype.go) there appears to be no Go code under $GOROOT containing
parenthesized literal types. Furthermore, parentheses are never needed around a
literal type for correct parsing.
R=golang-dev
CC=golang-dev
https://golang.org/cl/1913041
2010-07-29 18:13:41 -07:00
Andrew Gerrand
bab711b184
doc: update front page and go_learning.html
...
This is a stop-gap change to give more current information visibility
before a more thorough reorganization.
R=r, rsc, gri
CC=golang-dev
https://golang.org/cl/1902042
2010-07-30 10:36:13 +10:00
Yuusei Kuwana
c21e2f3925
mime: add AddExtensionType
...
For example:
mime.AddExtensionType(".m3u8", "application/x-mpegURL")
mime.AddExtensionType(".ts", "video/MP2T")
R=rsc, rsc1
CC=golang-dev
https://golang.org/cl/1698046
2010-07-29 14:12:04 -07:00
Russ Cox
2ef1c6e2fc
A+C: Yuusei Kuwana (individual CLA)
...
R=r
CC=golang-dev
https://golang.org/cl/1871054
2010-07-29 13:49:01 -07:00
Robert Griesemer
bc0a1c61f7
scanner: better comment
...
R=rsc
CC=golang-dev
https://golang.org/cl/1900044
2010-07-29 13:02:27 -07:00
Robert Griesemer
7734ad5179
bug299: parenthesized receiver types/anonymous fields are illegal
...
R=r
CC=golang-dev
https://golang.org/cl/1846051
2010-07-29 10:54:03 -07:00
Rob Pike
2c0bbf99b9
fmt.Print: fix bug in placement of spaces introduced when ...T went in.
...
Fixes #976 .
R=rsc, chris tighe, r
CC=golang-dev
https://golang.org/cl/1697057
2010-07-29 10:50:09 -07:00
Alex Brainman
45e12c7cd3
runtime: fix bug introduced in revision 4a01b8d28570
...
R=rsc
CC=golang-dev
https://golang.org/cl/1874046
2010-07-29 16:54:01 +10:00
Wei Guangjing
adc13b1e48
net: implement windows version of LookupHost/Port/SRV
...
R=brainman, rsc
CC=golang-dev
https://golang.org/cl/1748042
2010-07-29 14:58:28 +10:00
Vinu Rajashekhar
1ea5d15407
test/sigchld.go: use syscall.Kill instead of a combination
...
of syscall.Syscall and syscall.SYS_KILL.
In RTEMS, there is no syscall.Syscall support, but it does
support POSIX signals. So, if this testcase is changed to use
syscall.Kill, then it would run fine on RTEMS, when using gccgo.
R=rsc, iant
CC=golang-dev
https://golang.org/cl/1863046
2010-07-28 18:26:29 -07:00
Russ Cox
491a3ca5b7
gc: fix SIGBUS
...
R=ken2
CC=golang-dev
https://golang.org/cl/1906042
2010-07-28 18:21:50 -07:00
Fazlul Shahriar
4f64ecfdda
http: add https client support
...
Fixes #851 .
R=rsc
CC=golang-dev
https://golang.org/cl/1729052
2010-07-28 18:13:56 -07:00
Rob Pike
518df525d8
fmt: move comment into doc.go.
...
Fix the documentation of newline handling in *f routines
to match the implementation.
R=rsc
CC=golang-dev
https://golang.org/cl/1899042
2010-07-28 13:11:22 -07:00
Brad Fitzpatrick
719cde2c47
io: MultiReader and MultiWriter
...
Little helpers I've found useful.
R=adg, rsc, r, gri
CC=golang-dev
https://golang.org/cl/1764043
2010-07-28 11:30:00 -07:00
Kai Backman
c6e4697141
arm: fix build (dodgy floats)
...
R=rsc
CC=golang-dev
https://golang.org/cl/1907041
2010-07-28 16:33:52 +03:00
Kai Backman
fa4da33315
arm: minor bugfixes.
...
R=rsc
CC=golang-dev
https://golang.org/cl/1692057
2010-07-28 15:58:35 +03:00
Russ Cox
f930d28164
5g: fix build
...
R=ken2
CC=golang-dev
https://golang.org/cl/1893042
2010-07-27 13:43:58 -07:00
Andrew Gerrand
4501e18aa5
bufio: fix optimisation test
...
Fixes #949 .
R=rsc
CC=golang-dev
https://golang.org/cl/1886046
2010-07-27 17:22:45 +10:00
Andrew Gerrand
fc4ba1546c
net: add nil checks to several String methods to avoid panics
...
Fixes #945 .
R=r
CC=golang-dev
https://golang.org/cl/1848049
2010-07-27 17:22:22 +10:00
Andrew Gerrand
8b821696cc
bytes, strings: mention the n < 0 case in Split/SplitAfter doc comment
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/1669055
2010-07-27 15:06:08 +10:00
Andrew Gerrand
88fc337fa2
spec: add recover to predeclared identifiers list
...
R=gri
CC=golang-dev
https://golang.org/cl/1894043
2010-07-27 15:03:30 +10:00
Andrew Gerrand
fc5a835b2e
dashboard: more aggressive caching for project/package pages
...
Plus automatic package<->project association script.
(This is just a helper script for now. I intend to fully automate
the associations further down the track.)
R=rsc
CC=golang-dev
https://golang.org/cl/1715054
2010-07-27 15:02:44 +10:00
Russ Cox
711f075987
gc: include signal.h (fix build)
...
R=ken2
CC=golang-dev
https://golang.org/cl/1871049
2010-07-26 18:41:36 -07:00
Robert Griesemer
0b133d8ac1
godoc: accept '.', '!', and '?' as end of first sentence of package documentation
...
R=rsc
CC=golang-dev
https://golang.org/cl/1875049
2010-07-26 17:34:40 -07:00
Russ Cox
f20c2e1cf5
gc: more crash avoidance
...
Fixes #961 .
Fixes #962 .
R=ken2
CC=golang-dev
https://golang.org/cl/1903043
2010-07-26 17:34:17 -07:00