summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-09gc: remove duplicate errors, give better error for I.(T)Russ Cox1-7/+16
R=ken2 CC=golang-dev http://codereview.appspot.com/370041
2010-03-09syscall: minimal mingw version of syscall to call windows dllsAlex Brainman12-2/+356
lots of missing parts, but builds and can call dlls, see a sample code in syscall_mingw.go R=rsc CC=golang-dev http://codereview.appspot.com/218042 Committer: Russ Cox <rsc@golang.org>
2010-03-10reflect: typo in commentDean Prichard1-1/+1
R=golang-dev, adg CC=golang-dev http://codereview.appspot.com/369041 Committer: Andrew Gerrand <adg@golang.org>
2010-03-09missing ';' renders the code snippet incorrectly on websiteAndrey Mirtchovski1-1/+1
R=golang-dev, r CC=golang-dev http://codereview.appspot.com/367041 Committer: Rob Pike <r@golang.org>
2010-03-09fmt: enable the complex tests now that 8g supports complexRob Pike1-4/+0
R=rsc CC=golang-dev http://codereview.appspot.com/357043
2010-03-09fix bugs compiling things likeKen Thompson1-6/+13
c = cmplx(imag(c), real(c)) without a temporary R=rsc CC=golang-dev http://codereview.appspot.com/360043
2010-03-09identical complex implementationKen Thompson19-265/+271
for 6g and 8g. can also be used for 5g. 5g is still a stub. R=rsc CC=golang-dev http://codereview.appspot.com/362041
2010-03-08arm: cleanup build warningsDean Prichard3-6/+4
trivial stuff lex.c: these prototypes are in a.h asm.c: unused variables arm-pass.txt deal w/ sieve.go rename and addition of sieve2.go R=kaib, rsc CC=golang-dev http://codereview.appspot.com/244041 Committer: Russ Cox <rsc@golang.org>
2010-03-08crypto/ripemd160: new packageRaif S. Naffah5-0/+354
R=rsc CC=golang-dev http://codereview.appspot.com/224081 Committer: Russ Cox <rsc@golang.org>
2010-03-08crypto/sha256: add SHA-224Conrad Meyer2-23/+114
R=agl1, rsc CC=golang-dev http://codereview.appspot.com/253045 Committer: Russ Cox <rsc@golang.org>
2010-03-08encoding/base64: fix typo in commentGiles Lean1-1/+1
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/258041 Committer: Russ Cox <rsc@golang.org>
2010-03-08gc: avoid fixed length buffer cleanbufDean Prichard1-2/+3
R=rsc CC=golang-dev http://codereview.appspot.com/302042 Committer: Russ Cox <rsc@golang.org>
2010-03-08crypto/sha512: new packageConrad Meyer5-0/+357
R=rsc CC=golang-dev http://codereview.appspot.com/240043 Committer: Russ Cox <rsc@golang.org>
2010-03-08A+C: add Conrad Meyer (individual CLA)Russ Cox2-0/+2
R=r CC=cemeyer, golang-dev http://codereview.appspot.com/313041
2010-03-08gc: simplify complex typecheckRuss Cox3-31/+37
do not convert to float prematurely. R=ken2 CC=golang-dev http://codereview.appspot.com/311041
2010-03-085g/6g/8g: fix double function call in sliceRuss Cox7-96/+105
Fixes issue 654. R=ken2 CC=golang-dev http://codereview.appspot.com/310041
2010-03-08runtime: clock garbage collection on bytes allocated, not pages in useRuss Cox7-17/+57
This keeps fragmentation from delaying garbage collections (and causing more fragmentation). Cuts fresh godoc (with indexes) from 261M to 166M (120M live). Cuts toy wc program from 50M to 8M. Fixes issue 647. R=r, cw CC=golang-dev http://codereview.appspot.com/257041
2010-03-08Complex values may only be compared for equality or inequality.Ian Lance Taylor1-2/+2
R=gri, r CC=golang-dev http://codereview.appspot.com/294042
2010-03-08Clarify that conversions to complex are OK.Ian Lance Taylor1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/296042
2010-03-08crypto/rsa: don't use safe primes.Adam Langley2-11/+7
Previously we would require safe primes for our RSA key generation. Since this took rather a long time, this removes the requirement that the primes be safe. OpenSSL doesn't use safe primes for RSA key generation either (openssl-0.9.8l/crypto/rsa/rsa_gen.c:122) Fixes issue 649. R=rsc CC=golang-dev http://codereview.appspot.com/253041
2010-03-07regex: Remove unneeded imports from test.Christopher Wedgwood1-3/+0
R=rsc, adg, r CC=golang-dev http://codereview.appspot.com/264041 Committer: Rob Pike <r@golang.org>
2010-03-07regexp: add ReplaceAllFunc and ReplaceAllStringFuncAndrew Gerrand2-2/+64
R=r CC=golang-dev http://codereview.appspot.com/247041 Committer: Andrew Gerrand <adg@golang.org>
2010-03-06fix bug in complex printing: imaginary didn't have same format as real.Rob Pike3-10/+47
add tests. R=rsc, ken2, ken3 CC=golang-dev http://codereview.appspot.com/261041
2010-03-06PTALKen Thompson2-65/+80
R=r CC=golang-dev http://codereview.appspot.com/254043
2010-03-056g complex type usableKen Thompson17-142/+590
8g and 5g have stubs to ignore complex R=rsc CC=golang-dev http://codereview.appspot.com/257042
2010-03-05gc: fix crash on complicated arg to make slice.Russ Cox1-1/+1
Fixes issue 615. R=ken2 CC=golang-dev http://codereview.appspot.com/255043
2010-03-05math: faster hypotCharles L. Dorian5-24/+81
Use hardware sqrt for faster hypot; preserve software-only hypot as hypotGo (like sqrtGo); enable benchmarking of hypotGo. R=rsc CC=golang-dev http://codereview.appspot.com/229049 Committer: Russ Cox <rsc@golang.org>
2010-03-05gc: better compilation of floating point +=Russ Cox5-31/+63
R=ken2 CC=golang-dev http://codereview.appspot.com/255042
2010-03-05bufio: WriteRuneRob Pike3-1/+60
also fix a printing error in the test for bytes.Buffer R=golang-dev CC=golang-dev http://codereview.appspot.com/240042
2010-03-05big: fix mistakes with probablyPrimeAdam Langley2-4/+12
probablyPrime would return false negatives in some cases. This code has now been tested against GMP for several million iterations without issues. Fixes issue 638. R=rsc CC=golang-dev http://codereview.appspot.com/252041
2010-03-05Add ReadRune and WriteRune to bytes.BufferRob Pike2-6/+77
The comments mention bufio's WriteRune, which should come next. R=rsc CC=golang-dev http://codereview.appspot.com/245041
2010-03-05Generate same output on all architectures.Ian Lance Taylor2-9/+22
Passing an argument to bug260 will indicate which alignments are wrong. R=r CC=golang-dev http://codereview.appspot.com/231042
2010-03-05frexp.go: remove html from commentRobert Griesemer1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/250041
2010-03-05godoc: don't throw away function documentationRobert Griesemer1-4/+22
if there are multiple functions (for a package, type) with the same name Fixes issue 642. R=rsc CC=golang-dev http://codereview.appspot.com/243041
2010-03-04gofmt: modified algorithm for alignment of multi-line composite/list entriesRobert Griesemer13-185/+278
- only manual changes are in src/pkg/go/printer/nodes.go - use a heuristic to determine "outliers" such that not entire composites are forced to align with them - improves several places that were not unligned before due too simple heuristic - unalignes some cases that contain "outliers" - gofmt -w src misc Fixes issue 644. R=rsc, r CC=golang-dev http://codereview.appspot.com/241041
2010-03-04goinstall: an experiment in (external) package installationRuss Cox11-3/+745
R=adg, r CC=cw, golang-dev http://codereview.appspot.com/224043
2010-03-04A+C: add Spring Mc (individual CLA)Russ Cox2-0/+2
R=adg CC=golang-dev http://codereview.appspot.com/240041
2010-03-04strings: make Split(s, "", n) fasterSpring Mc1-17/+24
R=rsc CC=golang-dev http://codereview.appspot.com/223096 Committer: Russ Cox <rsc@golang.org>
2010-03-04cc: disallow ... argument unless NOSPLIT is set.Russ Cox8-8/+46
check that NOSPLIT functions don't use too much stack. correct some missing NOSPLITs in the runtime library. Fixes bug reported in https://groups.google.com/group/golang-nuts/t/efff68b73941eccf R=ken2 CC=golang-dev http://codereview.appspot.com/236041
2010-03-04add a test that structures pack. 6g fails.Rob Pike2-0/+46
R=rsc CC=golang-dev http://codereview.appspot.com/237041
2010-03-04Spec for complex numbersRob Pike1-35/+153
R=rsc, ken2, gri, iant CC=cw, golang-dev http://codereview.appspot.com/227041
2010-03-04release.2010-03-04 part twoAndrew Gerrand0-0/+0
R=rsc CC=golang-dev http://codereview.appspot.com/229050
2010-03-03math: added ilogb, logb, remainder, tests and special conditionsCharles L. Dorian9-5/+331
Also added expm1_386 and remainder_386; shortened exp_386 R=rsc CC=golang-dev http://codereview.appspot.com/217109 Committer: Russ Cox <rsc@golang.org>
2010-03-04release.2010-03-04Andrew Gerrand1-0/+28
R=rsc CC=golang-dev http://codereview.appspot.com/229048
2010-03-04First run at a Programming FAQAndrew Gerrand3-56/+277
Moved a couple of FAQs from the main FAQ, and added some others R=r, rsc, iant, gri CC=golang-dev http://codereview.appspot.com/218070
2010-03-03net: put [ ] around IPv6 addresses for DialRuss Cox1-1/+5
Update issue 538. R=r CC=golang-dev http://codereview.appspot.com/229045
2010-03-03net: fix nil deref in testTimeout when Dial failsRuss Cox1-1/+2
Pointed out by Scott Schwartz. Fixes issue 637. R=scotts CC=golang-dev http://codereview.appspot.com/225042
2010-03-03gc: fix imported and not used message - show pathRuss Cox4-4/+27
R=ken2 CC=golang-dev http://codereview.appspot.com/229046
2010-03-03encoding/binary: fix error reporting bugRob Pike1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/224096
2010-03-03net: fix network timeout boundary condition.Stephen Ma1-1/+1
Fixes issue 472. R=golang-dev CC=golang-dev http://codereview.appspot.com/223108