summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-03-15image/jpeg: fix typosRobert Griesemer1-3/+3
Fixes issue 665. R=nigeltao, nigeltao_golang CC=golang-dev http://codereview.appspot.com/570041
2010-03-15runtime: lock finalizer table accessesRuss Cox1-4/+18
R=r CC=golang-dev http://codereview.appspot.com/462043
2010-03-15gofmt: fix for gofmt rewrite featureRobert Griesemer2-5/+15
Fixes issue 643. R=rsc CC=golang-dev http://codereview.appspot.com/576041
2010-03-12godoc: support for multiple packages in a directoryRobert Griesemer2-27/+64
- smartly select the "right" package - provide a list of other packages R=rsc CC=golang-dev http://codereview.appspot.com/466042
2010-03-12hash/crc64: new package implementing 64-bit CRCRuss Cox7-35/+232
hash/crc32: add Update function hash: add Sum64 interface R=r CC=golang-dev http://codereview.appspot.com/445042
2010-03-12gofmt: make sure there is a newline afterRobert Griesemer5-19/+30
a /*-style comment at the end of a file Some minor cleanups/typo fixes along the way. Fixes an issue where that newline was removed after applying gofmt. R=r CC=golang-dev http://codereview.appspot.com/476043
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-10math package: minor documentation fixRobert Griesemer1-3/+3
R=rsc CC=golang-dev http://codereview.appspot.com/424041
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-10godoc: provide mode which shows exported interface in "source form"Robert Griesemer2-16/+29
- 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-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 Thompson4-18/+13
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-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 Thompson13-254/+241
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 Prichard2-5/+2
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-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 Cox6-96/+82
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-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 Thompson14-139/+507
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-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 Cox9-3/+610
R=adg, r CC=cw, golang-dev http://codereview.appspot.com/224043
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