William Josephson
57f62f6eae
Update legal.
...
R=rsc
https://golang.org/cl/156075
2009-11-18 09:17:47 -08:00
Devon H. O'Dell
659780b643
Add an intptr type to runtime; needed in FreeBSD
...
In thread.c, we need to cast to whatever the native
size of intptr is on the system, but we only have
uintptr available. They're the same size, but can't
do signed casts without this one :).
R=rsc
CC=golang-dev
https://golang.org/cl/156073
2009-11-18 09:11:39 -08:00
Russ Cox
43bcf47912
make all.bash finish on FreeBSD
...
R=dho
CC=golang-dev
https://golang.org/cl/156067
2009-11-18 09:11:17 -08:00
Devon H. O'Dell
b3f538a4fd
FreeBSD/i386 work
...
This patchset gets Go to pretty much the same state that
FreeBSD/amd64 is in.
R=rsc
https://golang.org/cl/157055
2009-11-17 23:58:51 -08:00
Eden Li
2115f514d0
cgo no longer translates function args that are void* into
...
unsafe.Pointer.
Fixes #254 .
R=rsc
https://golang.org/cl/157060
2009-11-17 23:42:21 -08:00
Eden Li
1ef0e0ed2c
Updated AUTHORS/CONTRIBUTORS files according to
...
http://golang.org/doc/contribute.html#copyright
R=rsc
https://golang.org/cl/156066
2009-11-17 23:42:15 -08:00
Evan Shaw
a269cdae8d
Added Kate syntax highlighting file.
...
R=rsc
https://golang.org/cl/155075
2009-11-17 23:34:08 -08:00
Evan Shaw
5a99927ddf
Adding my name to authors/contributors.
...
R=rsc
https://golang.org/cl/154169
2009-11-17 23:34:00 -08:00
Russ Cox
7db2c799ce
codereview: more attempts at robustness in the face of unexpected exceptions
...
R=r
https://golang.org/cl/156062
2009-11-17 23:23:18 -08:00
Trevor Strohman
01677dab31
Adds Trevor Strohman to CONTRIBUTORS.
...
Google is my employer so no AUTHORS change is needed.
R=rsc
https://golang.org/cl/154174
2009-11-17 23:22:41 -08:00
Russ Cox
744d5ae48a
runtime: add ARM memmove
...
R=ken2
https://golang.org/cl/156063
2009-11-17 22:54:20 -08:00
Russ Cox
ed0beea27b
copy tweaks
...
* move memmove to arch-specific subdirectories
* add memmove for arm
* add copyright notices marking them as copied from Inferno
R=ken2
https://golang.org/cl/156061
2009-11-17 22:16:55 -08:00
Rob Pike
ea5cc6c021
add a test for %+v in nested structures.
...
threw in an embedded one for good measure.
R=rsc
CC=golang-dev
https://golang.org/cl/157058
2009-11-17 22:14:34 -08:00
Ken Thompson
01c2de0c15
allow copy to be used without a return value
...
R=rsc
https://golang.org/cl/156060
2009-11-17 22:00:59 -08:00
Russ Cox
41554e2528
runtime: two trivial but important bug fixes
...
R=r
https://golang.org/cl/156059
2009-11-17 22:00:30 -08:00
Russ Cox
b90c39beee
release.2009-11-17: tag as of earlier this evening
...
R=r
https://golang.org/cl/156058
2009-11-17 22:00:17 -08:00
Ken Thompson
948f3e77e1
bug in copy
...
R=rsc
https://golang.org/cl/156056
2009-11-17 20:44:35 -08:00
Ken Thompson
c4606d05da
install copy predefined
...
did not test 386, but should work
shouldnt matter if copy is not used
R=rsc
https://golang.org/cl/156055
2009-11-17 20:41:44 -08:00
Adam Langley
a8ba40823c
crypto/rsa: add PKCS#1 v1.5 signature support.
...
R=rsc
CC=golang-dev
https://golang.org/cl/156051
2009-11-17 18:21:47 -08:00
Adam Langley
80b7f6a8d4
asn1:
...
* add Marshal
* add BitString.RightAlign
* change to using a *time.Time (from time.Time) since that's what
the time package uses.
* return the unparsed data from Unmarshal.
R=rsc
CC=golang-dev
https://golang.org/cl/156047
2009-11-17 18:09:41 -08:00
Russ Cox
aae0aefb70
codereview: handle spaces and other unexpected chars in nicknames
...
R=r
https://golang.org/cl/157053
2009-11-17 16:52:36 -08:00
Josh Goebel
d05fa26a7d
Let us have side by side git if we want
...
R=r, rsc
https://golang.org/cl/156046
2009-11-17 16:46:58 -08:00
Josh Goebel
ae2ee5470f
Add myself to authors and contributors
...
R=r
https://golang.org/cl/156045
2009-11-17 16:22:29 -08:00
Russ Cox
1dbd3c8d3d
reflect: document that PkgPath and Name return
...
empty string for unnamed types.
Fixes #249 .
R=r
https://golang.org/cl/156052
2009-11-17 16:03:14 -08:00
Russ Cox
849e6f99b8
http: do not crash accessing r.Form if ParseForm fails
...
Fixes #233 .
R=dsymonds1
https://golang.org/cl/154179
2009-11-17 14:45:10 -08:00
Russ Cox
4dfd7fdde5
runtime: do not create new threads during malloc.
...
the signal handling stack is a different size than
the normal stack, so it cannot be allocated using
the backup stack allocator.
Fixes #250 .
R=agl1
CC=golang-dev
https://golang.org/cl/157044
2009-11-17 14:42:08 -08:00
Rob Pike
33d10e4d32
explain the situation with unicode and identifiers
...
R=rsc
CC=golang-dev
https://golang.org/cl/156044
2009-11-17 14:40:07 -08:00
Ken Thompson
26b55e44d9
fix botch
...
R=rsc
https://golang.org/cl/157046
2009-11-17 14:11:50 -08:00
Ken Thompson
8a6da2f6a0
change a n^2 algorithm in
...
data initialization to n*log(n)
R=rsc
https://golang.org/cl/158041
2009-11-17 13:59:38 -08:00
Rob Pike
6240b0110a
improve documentation of runtime. there was no mention of types.
...
R=rsc
CC=golang-dev
https://golang.org/cl/157042
2009-11-17 11:44:15 -08:00
Rob Pike
c7ec6ef859
case insensitive matching in CONTRIBUTORS file
...
R=rsc
https://golang.org/cl/157043
2009-11-17 11:40:25 -08:00
Aron Nopanen
c51ee432d1
Make non-errored RPC calls return 'nil' error to caller.
...
Error information is carried from RPC server to client in the string
'Error' field of rpc.Response. An empty string is sent in the success
case. This empty string was being returned to the caller (of Client.Call
or Client.Go), resulting in a non-nil error response.
This change detects an empty-string Response.Error at the client, and
translates it into a nil value in Call.Error.
Tests updated to check error return in success cases.
R=r, rsc
https://golang.org/cl/154159
2009-11-17 11:29:02 -08:00
Aron Nopanen
3f00205a0a
Add myself to 'AUTHORS' and 'CONTRIBUTORS'
...
R=rsc, r
https://golang.org/cl/154175
2009-11-17 11:28:54 -08:00
Russ Cox
60df923916
codereview: discard \r characters (sigh)
...
R=r
https://golang.org/cl/157041
2009-11-17 09:08:54 -08:00
Sergio Luis O. B. Correia
bae4f5085e
cmd/cc: Fix -I switch to handle a path with blankspaces correctly
...
Currently, -I switch can't deal with a path containing spaces.
This commit simplify setinclude(), by removing the special case
of a string that had spaces. After this change, setinclude() will
merely add the given directories to the include path, if it does
not yet exist, and this approach works.
Will be needed for solving issue 115.
R=agl1, rsc, iant2, r
https://golang.org/cl/155059
2009-11-17 09:02:47 -08:00
Sergio Luis O. B. Correia
27c3147676
Add myself to list of AUTHORS/CONTRIBUTORS for Go.
...
R=rsc
https://golang.org/cl/154180
2009-11-17 09:02:41 -08:00
Russ Cox
1a2418f575
codereview: add clpatch --ignore_hgpatch_errors.
...
of limited utility but good for creating the metadata
for an AUTHORS/CONTRIBUTORS change even if
the patch doesn't apply cleanly.
R=r
https://golang.org/cl/154140
2009-11-17 08:47:48 -08:00
Russ Cox
b4586a7429
math: fix argument names in Atan2
...
(error introduced converting from arg1, arg2)
Fixes #220 .
R=r
https://golang.org/cl/156041
2009-11-17 08:39:56 -08:00
Russ Cox
c0e1ccf3ff
Make.pkg: have "make coverage" invoke 6cov with correct binary
...
Fixes #239 .
R=r
https://golang.org/cl/154176
2009-11-17 08:39:26 -08:00
Russ Cox
6e788e0f0f
net: enforce timeouts for ReadFrom/WriteTo
...
Fixes #153 .
R=r
https://golang.org/cl/154177
2009-11-17 08:39:17 -08:00
Russ Cox
a65bf95dd8
syscall: use correct pointer in recvfrom/sendto.
...
linux/386 stack trace: use 32-bit hex.
Fixes #159 .
R=r
https://golang.org/cl/154178
2009-11-17 08:39:04 -08:00
Devon H. O'Dell
152bfa03d8
Pass ui into PostMessage to avoid nasty/confusing exception
...
R=rsc
https://golang.org/cl/155079
2009-11-17 08:32:23 -08:00
Devon H. O'Dell
0489a260da
FreeBSD-specific porting work.
...
cgo/libmach remain unimplemented. However, compilers, runtime,
and packages are 100%. I still need to go through and implement
missing syscalls (at least make sure they're all listed), but
for all shipped functionality, this is done. Ship! ;)
R=rsc, VenkateshSrinivas
https://golang.org/cl/152142
2009-11-17 08:20:58 -08:00
Rob Pike
30b1b9a36a
Rework gobs to fix bad bug related to sharing of id's between encoder and decoder side.
...
Fix is to move all decoder state into the decoder object.
Fixes #215 .
R=rsc
CC=golang-dev
https://golang.org/cl/155077
2009-11-16 23:32:30 -08:00
Rob Pike
50c04132ac
fix bug causing empty strings to be become non-nil errors on client side of rpc connection.
...
R=rsc
CC=golang-dev
https://golang.org/cl/155078
2009-11-16 23:32:16 -08:00
Rob Pike
bcb46c8560
fix typo in Append return type
...
R=rsc
https://golang.org/cl/155058
2009-11-16 21:56:38 -08:00
Robert Griesemer
3c5dbb036b
bug218.go: testcase for issue 238
...
R=rsc
https://golang.org/cl/154172
2009-11-16 17:53:39 -08:00
Russ Cox
597b2a91a6
runtime: make signal handler work on 386
...
R=r
https://golang.org/cl/154171
2009-11-16 17:51:47 -08:00
Russ Cox
1ee83f851d
gc: change "can we const evaluate this" from blacklist to whitelist
...
R=ken2
https://golang.org/cl/155074
2009-11-16 17:40:47 -08:00
Russ Cox
44e51fad28
6l: fix divide by zero in glibc linker.
...
repeats 8l change http://code.google.com/p/go/source/detail?r=7594e16b5cf9
Fixes #179 .
R=iant
https://golang.org/cl/154145
2009-11-16 17:40:03 -08:00