summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17net: enforce timeouts for ReadFrom/WriteToRuss Cox5-23/+81
Fixes issue 153. R=r http://codereview.appspot.com/154177
2009-11-17syscall: use correct pointer in recvfrom/sendto.Russ Cox2-15/+15
linux/386 stack trace: use 32-bit hex. Fixes issue 159. R=r http://codereview.appspot.com/154178
2009-11-17Pass ui into PostMessage to avoid nasty/confusing exceptionDevon H. O'Dell1-4/+4
R=rsc http://codereview.appspot.com/155079 Committer: Russ Cox <rsc@golang.org>
2009-11-17FreeBSD-specific porting work.Devon H. O'Dell36-8/+3956
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 http://codereview.appspot.com/152142 Committer: Russ Cox <rsc@golang.org>
2009-11-16Rework gobs to fix bad bug related to sharing of id's between encoder and ↵Rob Pike6-225/+138
decoder side. Fix is to move all decoder state into the decoder object. Fixes issue 215. R=rsc CC=golang-dev http://codereview.appspot.com/155077
2009-11-16fix bug causing empty strings to be become non-nil errors on client side of ↵Rob Pike2-2/+9
rpc connection. R=rsc CC=golang-dev http://codereview.appspot.com/155078
2009-11-16fix typo in Append return typeRob Pike1-1/+1
R=rsc http://codereview.appspot.com/155058
2009-11-16bug218.go: testcase for issue 238Robert Griesemer2-0/+27
R=rsc http://codereview.appspot.com/154172
2009-11-16runtime: make signal handler work on 386Russ Cox2-7/+18
R=r http://codereview.appspot.com/154171
2009-11-16gc: change "can we const evaluate this" from blacklist to whitelistRuss Cox1-6/+30
R=ken2 http://codereview.appspot.com/155074
2009-11-166l: fix divide by zero in glibc linker.Russ Cox1-5/+12
repeats 8l change http://code.google.com/p/go/source/detail?r=7594e16b5cf9 Fixes issue 179. R=iant http://codereview.appspot.com/154145
2009-11-16unsafe: documentation typo.Adam Langley1-1/+1
Fixes issue 236. R=r CC=golang-dev http://codereview.appspot.com/155072
2009-11-16Add id attribute to h2 and h3 tags so that they exist when referringRobert Griesemer2-12/+12
to generated pages even if Javascript has not introduced them yet. R=rsc http://codereview.appspot.com/154167
2009-11-16Don't emit line tags when source code is printed as part ofRobert Griesemer1-3/+10
package documentation using templates. The line tag interferes with the anchor tag introduces by the template. This fixes an an issue where some headers lost their ability to link to the respective source code. R=rsc http://codereview.appspot.com/154166
2009-11-16Add some primitive type aliases to exp/iterable and define Iter on them.David Symonds3-11/+78
R=rsc http://codereview.appspot.com/155065 Committer: Russ Cox <rsc@golang.org>
2009-11-16 An asked-for-in #go-nuts extension to quickly create a repeatedDavid G. Andersen4-0/+79
copy of a string or a byte array. strings.Repeat("-", 50) bytes.Repeat(b, 99) R=rsc http://codereview.appspot.com/155063 Committer: Russ Cox <rsc@golang.org>
2009-11-16Adding my name to authors/contributors. I'm waiting to hearDavid G. Andersen2-0/+2
back from Carnegie Mellon about whether they're interested in signing the agreement (do you know if they have already?). In the meantime, I'm submitting these changes on my own time. If CMU has already signed the corporate contributor agreement, please remove my name from the AUTHORS list. R=rsc http://codereview.appspot.com/154161 Committer: Russ Cox <rsc@golang.org>
2009-11-16s/AJMP/AB/ to fix build breakage.Kai Backman1-3/+3
R=rsc http://codereview.appspot.com/155069
2009-11-16doc: fix typo.Adam Langley1-1/+1
Fixes issue 218 R=r CC=golang-dev http://codereview.appspot.com/155067 Committer: Rob Pike <r@golang.org>
2009-11-16- Clarify that struct composite literal keys are field names not selectors.Robert Griesemer1-19/+22
- Slight re-phrasing of struct type section since "field name" was not properly introduced. Fixes issue 164. R=r, rsc, iant http://codereview.appspot.com/155061
2009-11-15Use ElementType consistently.Robert Griesemer1-5/+4
Fixes issue 173. R=r, rsc, r1 http://codereview.appspot.com/154156
2009-11-15gc: fix up floating point NaN comparisonsRuss Cox7-38/+181
Fixes issue 167. R=ken2 http://codereview.appspot.com/155062
2009-11-15crypto/md5: fix comment typo.Adam Langley1-1/+1
Fixes issue 210. R=rsc CC=golang-dev http://codereview.appspot.com/155057
2009-11-15add a paragraph about GOMAXPROCSRob Pike1-0/+16
R=rsc CC=golang-dev http://codereview.appspot.com/154153
2009-11-15godefs: avoid gcc 4'isms in command line.Russ Cox1-2/+2
Fixes issue 97. R=r http://codereview.appspot.com/155054
2009-11-15godocs.js: fix bad variable nameRuss Cox1-1/+1
Thanks to anno.langen. Fixes issue 103. R=r http://codereview.appspot.com/155050
2009-11-15makefiles: use correct gcc order in case --as-needed is in use.Russ Cox2-2/+2
Suggested by eostapets. Fixes issue 141. R=r http://codereview.appspot.com/155049
2009-11-15cgo: arrange for English error messagesRuss Cox1-0/+5
Fixes issue 21. R=r http://codereview.appspot.com/155048
2009-11-15runtime: avoid crash in CallerRuss Cox2-2/+2
Fixes issue 176. R=r http://codereview.appspot.com/154146
2009-11-15gc: five bug fixes, one better error.Russ Cox17-65/+246
* check for struct literal assignment to private fields. * record, fix crash involving parallel map assignment. * avoid infinite recursion in exportassignok. * make floating point bounds check precise. * avoid crash on invalid receiver. * add context to error about implicit assignment. Fixes issue 86. Fixes issue 88. Fixes issue 158. Fixes issue 174. Fixes issue 201. Fixes issue 204. R=ken2 http://codereview.appspot.com/154144
2009-11-15http.URLEscape: escape all bytes required by RFC 2396Russ Cox2-8/+10
Fixes issue 125. R=r http://codereview.appspot.com/154143
2009-11-15gotest: show the test file pattern in "no test files" errorRuss Cox1-1/+1
Fixes issue 190. R=r http://codereview.appspot.com/154142
2009-11-15fix some typos in the documentationRob Pike3-5/+5
Fixes issue 196. R=rsc http://codereview.appspot.com/154152
2009-11-15fix bug in bytes.Map and add test cases for Map in both strings and bytes ↵Rob Pike3-3/+56
packages. thanks to ulrik.sverdrup for the test case. Fixes issue 191. R=rsc CC=golang-dev http://codereview.appspot.com/155056
2009-11-15Use // to start comment instead of #.Robert Griesemer1-4/+4
Fixes issue 189. R=r CC=rsc http://codereview.appspot.com/155055
2009-11-15cc: drop redundant strcpyRuss Cox1-2/+0
Fixes issue 192. R=ken2 http://codereview.appspot.com/155047
2009-11-14cc: eliminate two fixed-size buffersRuss Cox2-25/+25
Fixes bug 168. Alternative to http://codereview.appspot.com/152143. R=ken2 http://codereview.appspot.com/155042
2009-11-14complain if GOARCH != arm. fix build break caused by gomakeKai Backman1-0/+31
introduction. R=rsc http://codereview.appspot.com/152109
2009-11-14crypto/rsa: handle the case of non-coprime blinds.Adam Langley2-11/+26
We are dealing with the multiplicative group ℤ/pqℤ. Multiples of either p or q are not members of the group since they cannot have an inverse. (Such numbers are 0 in the subgroup ℤ/pℤ.) With p and q of typical size (> 512 bits), the probability of a random blind [1..pq-1] being a multiple of p or q is negligible. However, in the unit tests, much smaller sizes are used and the event could occur. This change checks the result of the ext GCD and deals with this case. It also increases the size of p and q in the unit test as a large number of the keys selected were p, q = 227,169. R=rsc CC=golang-dev http://codereview.appspot.com/154141 Committer: Russ Cox <rsc@golang.org>
2009-11-14make arm pass match what's working on real hardwareKai Backman1-41/+4
R=rsc http://codereview.appspot.com/154097
2009-11-14test/interface/receiver.go: expand to do dynamicRuss Cox1-0/+8
versions of static checks in receiver1.go R=r http://codereview.appspot.com/155045
2009-11-14Build changes to support work on the BSDs.Devon H. O'Dell20-48/+65
This does still contain some FreeBSD-specific bits, but it's a pain to do partial diffs. R=rsc http://codereview.appspot.com/152138 Committer: Russ Cox <rsc@golang.org>
2009-11-14Adding myself to AUTHORS/CONTRIBUTORS for Go.Devon H. O'Dell2-0/+2
R=rsc http://codereview.appspot.com/155041 Committer: Russ Cox <rsc@golang.org>
2009-11-14encoding/binary: implemented the Write functionMôshe van der Sterre2-18/+121
The ByteOrder.Put* methods are already available, this change uses them to implement the Write function. R=golang-dev, agl1, rsc, r http://codereview.appspot.com/152141 Committer: Russ Cox <rsc@golang.org>
2009-11-14Adding my name to CONTRIBUTORS and AUTHORSMôshe van der Sterre2-0/+2
As Adam Langley mentioned, this should go in with http://codereview.appspot.com/152141 R=rsc CC=agl1 http://codereview.appspot.com/154138 Committer: Russ Cox <rsc@golang.org>
2009-11-14gc: do not try to constant-evaluate (interface{})("bar")Russ Cox1-0/+1
Fixes issue 183. R=ken http://codereview.appspot.com/154139
2009-11-14move evaluation of null-matching instructions one iteration earlier.Rob Pike3-41/+61
performance hit of about 20% but more intuitive results for submatches. we need a good regexp package at some point. Fixes issue 110. R=rsc CC=golang-dev http://codereview.appspot.com/152131
2009-11-14 xml: Fixed CDATA parsing.Abhinav Gupta2-5/+9
Fixes issue 128. R=r, rsc http://codereview.appspot.com/154126 Committer: Russ Cox <rsc@golang.org>
2009-11-14Added self to AUTHORS and CONTRIBUTORS.Abhinav Gupta2-0/+2
R=rsc http://codereview.appspot.com/154128 Committer: Russ Cox <rsc@golang.org>
2009-11-14typosRuss Cox2-2/+2
Fixes issue 171. Fixes issue 172. R=agl1 http://codereview.appspot.com/154136