Anschel Schaffer-Cohen
84fc1e20f1
Fix documentation typo.
...
This is really insignificant, but it might as well be fixed.
R=golang-dev, brainman
CC=golang-dev
https://golang.org/cl/3832045
2010-12-31 10:37:55 +11:00
Stefan Nilsson
834fda37c5
atof: added 'E' as valid token for exponent
...
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/3827042
2010-12-27 10:12:10 -08:00
Sebastien Binet
33145c4868
simple fix to not have 'exp/eval' panic in presence of slices like s[:2]
...
R=golang-dev, gri
CC=binet, golang-dev
https://golang.org/cl/3782044
2010-12-27 10:05:32 -08:00
Adam Langley
03e259664f
crypto/cipher: fix OCFB
...
I messed up when reading the OCFB spec.
TBR=rsc
R=rsc
CC=golang-dev
https://golang.org/cl/3739042
2010-12-27 12:55:49 -05:00
Caine Tighe
784788ba44
goinstall/download.go: Add checkout concept and helper functions to clean and fix implementation (Issue 1265)
...
R=rsc, niemeyer, adg
CC=golang-dev
https://golang.org/cl/3536041
2010-12-24 11:48:45 +11:00
Andrew Gerrand
fc325c4df4
A+C: Caine Tighe
...
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/3824043
2010-12-24 09:24:33 +11:00
Andrew Gerrand
2cf6c6eb80
6l: fix documentation of -L flag
...
R=rsc, iant2, iant
CC=golang-dev
https://golang.org/cl/3802044
2010-12-24 09:04:53 +11:00
Andrew Gerrand
8ccee48d06
tag release.2010-12-22
...
R=r
CC=golang-dev
https://golang.org/cl/3799045
2010-12-23 13:33:40 +11:00
Andrew Gerrand
7d557ebc1d
release.2010-12-22
...
R=r
CC=golang-dev
https://golang.org/cl/3809042
2010-12-23 13:32:20 +11:00
Eoghan Sherry
04a231d406
testing: fix error message on invalid regexp
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/3831041
2010-12-23 11:40:10 +11:00
Nigel Tao
ea70b0d51d
hash/crc64: fix typo in Sum.
...
R=agl1
CC=golang-dev
https://golang.org/cl/3772043
2010-12-22 10:28:22 +11:00
Stefan Nilsson
8cfd9e0676
bufio: removed dead code
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/3779043
2010-12-22 08:43:35 +11:00
Rob Pike
d3866ddc65
template: fix trivial bug: integers are not "empty"
...
Fixes #1357 .
R=adg, gri
CC=golang-dev
https://golang.org/cl/3809041
2010-12-20 13:36:47 -08:00
David Symonds
8bfa9175a3
expvar: quote StringFunc output, same as String output.
...
R=adg
CC=golang-dev
https://golang.org/cl/3797041
2010-12-20 17:35:21 +11:00
Robert Griesemer
2662b99f39
suffixarray: implememted FindAllIndex regexp search
...
Implementation uses fast suffixarray lookup to find
initial matches if the regular expression starts with
a suitable prefix without meta characters.
R=r, rsc
CC=golang-dev
https://golang.org/cl/3720042
2010-12-17 14:00:46 -08:00
Robert Griesemer
8f68b23b8d
go/scanner: interpret filenames in //line filename:line comments
...
relative to the source file directory
R=r, rsc
CC=golang-dev
https://golang.org/cl/3752041
2010-12-17 13:54:37 -08:00
Rob Pike
ae6bfe3687
tls: fix argument mistake in Error call.
...
R=agl, agl1, rsc
CC=golang-dev
https://golang.org/cl/3753041
2010-12-17 13:47:52 -08:00
Rob Pike
18b39f20ef
json: fix Fatal call in test
...
R=rsc
CC=golang-dev
https://golang.org/cl/3751041
2010-12-17 13:43:59 -08:00
Russ Cox
3832389036
fix cgo build
...
R=r
CC=golang-dev
https://golang.org/cl/3750041
2010-12-17 13:22:20 -08:00
Russ Cox
6c6d53052e
cgo: handle references to symbols in shared libraries
...
Fixes #1334 .
R=r
CC=golang-dev
https://golang.org/cl/3746041
2010-12-17 11:37:11 -08:00
Rob Pike
a9e7c9381e
regexp: change Expr() to String(); add HasOperator method to Regexp.
...
It reports whether a regular expression has operators
as opposed to matching literal text.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/3731041
2010-12-17 10:23:46 -08:00
Russ Cox
8ec6f7cd11
ld: ignore stab symbols
...
Makes 6l work better on OS X 10.5.
Fixes #1352 .
Fixes #1353 .
R=r
CC=golang-dev
https://golang.org/cl/3661042
2010-12-17 10:03:43 -08:00
Russ Cox
01464cf956
ld: allow relocations pointing at ELF .bss symbols
...
R=r, r2
CC=golang-dev
https://golang.org/cl/3710042
2010-12-17 09:53:50 -08:00
Russ Cox
0cd3475386
misc/cgo/life: fix, add to build
...
#pragma dynexport is no longer needed for
this use of cgo, since the gcc and gc code are
now linked together into the same binary.
It may still be necessary later.
On the Mac, you cannot use the GOT to resolve
symbols that exist in the current binary, so 6l and 8l
translate the GOT-loading mov instructions into lea
instructions.
On ELF systems, we could use the GOT for those
symbols, but for consistency 6l and 8l apply the
same translation.
The translation is sketchy in the extreme
(depending on the relocation being in a mov
instruction) but it verifies that the instruction
is a mov before rewriting it to lea.
Also makes typedefs global across files.
Fixes #1335 .
Fixes #1345 .
R=iant, r
CC=golang-dev
https://golang.org/cl/3650042
2010-12-17 09:51:55 -08:00
Anthony Martin
a890d70cc1
crypto/hmac: add HMAC-SHA256
...
R=agl1, rsc
CC=golang-dev
https://golang.org/cl/3730041
2010-12-17 12:19:37 -05:00
Rob Pike
5bd4094d2e
regexp: add HasMeta and regexp.Expr().
...
The former is a boolean function to test whether a string
contains a regular expression metacharacter; the second
returns the string used to compile the regexp.
R=gri, rsc
CC=golang-dev
https://golang.org/cl/3728041
2010-12-16 16:55:26 -08:00
Adam Langley
be45ba712b
crypto/tls: missed a file
...
R=rsc
CC=golang-dev
https://golang.org/cl/3674043
2010-12-16 17:14:02 -05:00
Adam Langley
4883b73982
crypto/tls: add ECDHE support
...
(ECDHE is "Elliptic Curve Diffie Hellman Ephemeral")
R=rsc
CC=golang-dev
https://golang.org/cl/3668042
2010-12-16 17:10:50 -05:00
Rob Pike
2e8be52ff7
time: explain the formats a little better.
...
R=gri, rsc
CC=golang-dev
https://golang.org/cl/3719042
2010-12-16 13:25:41 -08:00
Adam Langley
1e3b9524d2
crypto/elliptic: add serialisation and key pair generation.
...
This is a prerequisite to ECDHE support in crypto/tls.
R=r, rsc
CC=golang-dev
https://golang.org/cl/3685043
2010-12-16 16:04:01 -05:00
Russ Cox
b3e8fdce8d
darwin, freebsd: ignore write failure (during print, panic)
...
The other operating systems already ignore write failures.
Fixes #1279 .
R=r, r2
CC=golang-dev
https://golang.org/cl/3723041
2010-12-16 12:46:56 -08:00
Rob Pike
aa78cec69c
test/bench: update numbers for regex-dna after speedup to regexp
...
R=rsc
CC=golang-dev
https://golang.org/cl/3634042
2010-12-16 12:38:14 -08:00
Christopher Wedgwood
678a70e3b6
govet: fix comment
...
R=r, r2
CC=golang-dev
https://golang.org/cl/3712041
2010-12-16 12:35:38 -08:00
Adam Langley
fd021cbe8f
crypto/tls: check in support code.
...
This support code helps in generating the handshake scripts
which are used for testing.
R=rsc, ality
CC=golang-dev
https://golang.org/cl/3680041
2010-12-16 10:39:53 -05:00
Nigel Tao
0bf2aa1aa7
exp/draw: remove Border function.
...
It was only used by exp/4s, and even if it is general purpose, I think
it belongs in a graphics library atop exp/draw, not in exp/draw itself.
R=rsc
CC=golang-dev
https://golang.org/cl/3705041
2010-12-16 15:11:10 +11:00
Andrew Gerrand
319ab4782c
tag release.2010-12-15.1
...
R=rsc
CC=golang-dev
https://golang.org/cl/3709041
2010-12-16 14:47:08 +11:00
Andrew Gerrand
db2263c46b
release.2010-12-15.1
...
R=rsc
CC=golang-dev
https://golang.org/cl/3690042
2010-12-16 14:46:19 +11:00
Russ Cox
1116ec4f20
ld: text segment should not be writable
...
R=adg
CC=golang-dev
https://golang.org/cl/3708041
2010-12-15 19:29:53 -08:00
Andrew Gerrand
e253d37d3e
doc/devel: release notes tweak
...
R=r
CC=golang-dev
https://golang.org/cl/3707041
2010-12-16 12:51:01 +11:00
Andrew Gerrand
b05dd118ce
tag release.2010-12-15
...
R=rsc, r2
CC=golang-dev
https://golang.org/cl/3683042
2010-12-16 12:46:08 +11:00
Andrew Gerrand
e4fbcb2c23
release.2010-12-15
...
R=rsc
CC=golang-dev
https://golang.org/cl/3646043
2010-12-16 12:29:10 +11:00
Alex Brainman
f8b7eda5f6
8l: remove unneeded windows check
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/3691042
2010-12-16 12:19:59 +11:00
Alex Brainman
c83451971e
runtime: move windows goargs implementation from runtime and into os package
...
R=rsc
CC=golang-dev
https://golang.org/cl/3702041
2010-12-16 12:18:18 +11:00
Alex Brainman
bb53b1c250
build: add another --no-print-directory
...
Fixes #1344 .
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/3584042
2010-12-16 10:46:25 +11:00
Russ Cox
1063ed8f3b
5l: fix arm build
...
R=r
CC=golang-dev
https://golang.org/cl/3701041
2010-12-15 14:57:49 -08:00
Russ Cox
33405ecc86
fix freebsd build
...
R=iant, r
CC=dho, golang-dev
https://golang.org/cl/3687041
2010-12-15 17:20:26 -05:00
Adam Langley
1a072f4b37
crypto/tls: commit fixes which I hadn't saved.
...
R=rsc
CC=golang-dev
https://golang.org/cl/3685041
2010-12-15 13:58:57 -05:00
Eoghan Sherry
976e45726c
math: change float64 bias constant from 1022 to 1023
...
This makes some subtle code easier to understand.
R=rsc
CC=golang-dev
https://golang.org/cl/3444043
2010-12-15 13:20:52 -05:00
Adam Langley
eedf5c4529
crypto/tls: support CBC ciphers
...
This is largely based on ality's CL 2747042.
crypto/rc4: API break in order to conform to crypto/cipher's
Stream interface
cipher/cipher: promote to the default build
Since CBC differs between TLS 1.0 and 1.1, we downgrade and
support only 1.0 at the current time. 1.0 is what most of the
world uses.
Given this CL, it would be trival to add support for AES 256,
SHA 256 etc, but I haven't in order to keep the change smaller.
R=rsc
CC=ality, golang-dev
https://golang.org/cl/3659041
2010-12-15 11:49:55 -05:00
Eoghan Sherry
2f8ff0b81d
codereview: keep quiet when not in use
...
This prevents status messages from filling the
screen when using a command like 'hg log | less'.
R=rsc
CC=golang-dev
https://golang.org/cl/3666042
2010-12-15 11:49:43 -05:00