summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-12go/printer: fix a couple of hidden crashes that becomeRobert Griesemer5-3/+20
visible only when enabling internal debug mode: - in rare cases expression depth can underflow - when printing a single labeled statement, indentation may underflow if not setup correctly R=rsc CC=golang-dev http://codereview.appspot.com/484041
2010-03-11ast/filter.go: missing nil-check causes crashRobert Griesemer1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/461041
2010-03-11godoc: fix formatting of -src outputRobert Griesemer3-13/+123
- go/filter.go: make MergePackageFiles smarter - go/printer.go: handle positions from multiple files R=rsc CC=golang-dev http://codereview.appspot.com/460042
2010-03-11math, path: minor comment fixesRobert Griesemer2-2/+2
R=r CC=golang-dev http://codereview.appspot.com/444043
2010-03-11syslog: increase test timeout from 10ms to 100msChristopher Wedgwood1-1/+1
Problem pointed out by rsc. R=rsc CC=golang-dev http://codereview.appspot.com/444041 Committer: Russ Cox <rsc@golang.org>
2010-03-10Revert previous change: complexN only converts to complexN.Ian Lance Taylor1-1/+1
This was discussed with Ken and Russ. 6g has been changed, and both compilers now work this way. This avoids a double type conversion--first to the float type, then to the complex type. R=r CC=golang-dev, ken2, rsc http://codereview.appspot.com/419042
2010-03-10math package: minor documentation fixRobert Griesemer1-3/+3
R=rsc CC=golang-dev http://codereview.appspot.com/424041
2010-03-10install.html: add section on C toolsRobert Griesemer1-15/+17
R=rsc CC=golang-dev http://codereview.appspot.com/238042
2010-03-10godoc: change -x to -src, update doc.go (missed in previous CL)Robert Griesemer2-1/+3
R=rsc CC=golang-dev http://codereview.appspot.com/384044
2010-03-10go_spec.html: fix typo and linkRobert Griesemer1-4/+4
R=r CC=golang-dev http://codereview.appspot.com/382045
2010-03-10godoc: provide mode which shows exported interface in "source form"Robert Griesemer4-16/+37
- on the commandline: godoc -x big - in a webpage: provide form parameter ?m=src Known issues: - Positioning of comments incorrect in several cases. Separate CL. - Need a link/menu to switch between different modes of presentation in the web view. R=rsc CC=golang-dev http://codereview.appspot.com/376041
2010-03-10fix 386 a[i] = cmplx(r, j)Russ Cox1-6/+6
R=ken2 CC=golang-dev http://codereview.appspot.com/384043
2010-03-10fix amd64 build (golden.out)Russ Cox1-0/+9
R=ken2 CC=golang-dev http://codereview.appspot.com/417042
2010-03-10template: add ParseFile, MustParseFile, and associated testsAndrew Gerrand2-1/+37
R=r CC=golang-dev http://codereview.appspot.com/391041
2010-03-091. decommit complex(float) conversionKen Thompson7-24/+71
2. add complex algorithm for map/chan 3. test for use of complex in array, slice, field, chan, map, field, pointer. R=rsc CC=golang-dev http://codereview.appspot.com/384041
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