summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-24fix windows buildAlex Brainman1-0/+11
R=golang-dev, adg CC=golang-dev http://codereview.appspot.com/1209048 Committer: Andrew Gerrand <adg@golang.org>
2010-05-24Make draw/x11 treat $DISPLAY the same way x-go-bindings does.Nigel Tao2-44/+97
This ought to make draw/x11 work on a Mac. R=rsc CC=golang-dev http://codereview.appspot.com/1265042
2010-05-24big: prevent errors in Exp in the face of aliasingAdam Langley3-2/+8
R=gri CC=golang-dev, golang-dev http://codereview.appspot.com/1244044
2010-05-24syscall: update freebsd_amd64Andrew Gerrand2-523/+604
R=rsc, r CC=golang-dev http://codereview.appspot.com/1268041 Committer: Russ Cox <rsc@golang.org>
2010-05-23kate: convert isn't a built in functionEvan Shaw1-1/+0
I have no idea how that got in there. R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/1240046 Committer: Russ Cox <rsc@golang.org>
2010-05-23spec: Fix a code tagEvan Shaw1-1/+1
R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/1266042 Committer: Robert Griesemer <gri@golang.org>
2010-05-23When making images, allocate one big buffer instead of many small ones.Nigel Tao1-24/+30
R=rsc, r CC=golang-dev http://codereview.appspot.com/1267041
2010-05-21go/printer, gofmt: fix printing of labels,Robert Griesemer8-20/+53
apply gofmt to src, misc Fixes issue 752. R=rsc CC=golang-dev http://codereview.appspot.com/1240044 Committer: Robert Griesemer <gri@golang.org>
2010-05-21test/hilbert.go: convert to test case and benchmark for big.RatRobert Griesemer3-169/+173
R=rsc CC=golang-dev http://codereview.appspot.com/1231044 Committer: Robert Griesemer <gri@golang.org>
2010-05-21roll back 1193046 - fix buildRuss Cox1-5/+0
R=dho CC=golang-dev http://codereview.appspot.com/1257043
2010-05-21cgo: better error for no C symbolsDevon H. O'Dell1-0/+5
R=rsc, iant CC=golang-dev, graeme.perrow http://codereview.appspot.com/1193046 Committer: Russ Cox <rsc@golang.org>
2010-05-21net: implement raw socketsChristopher Wedgwood8-10/+519
R=rsc CC=golang-dev http://codereview.appspot.com/684041 Committer: Russ Cox <rsc@golang.org>
2010-05-21big: Add Rat typeEvan Shaw4-1/+459
Implementations are pretty rough and simple at this point, but it's a start. R=gri CC=golang-dev http://codereview.appspot.com/1250043 Committer: Robert Griesemer <gri@golang.org>
2010-05-21issue 789: keep test caseRobert Griesemer1-0/+23
R=rsc CC=golang-dev http://codereview.appspot.com/1242045
2010-05-21runtime: correct tracebacks for nascent goroutines, even closuresRuss Cox2-2/+92
Fixes issue 780. R=r CC=golang-dev http://codereview.appspot.com/1221042
2010-05-21syscall: add Utimes, Futimes stubs for NaCl - fix buildRuss Cox1-0/+8
TBR=nigeltao CC=golang-dev http://codereview.appspot.com/1262042
2010-05-21syscall: regenerate zsyscall_linux_arm.go - fix buildRuss Cox1-2/+2
R=kaib CC=golang-dev http://codereview.appspot.com/1209047
2010-05-21big: fix Int.SetString comment, simplify implementation,Robert Griesemer2-18/+14
always return z for nat.scan R=rsc CC=golang-dev http://codereview.appspot.com/1236043
2010-05-21bignum: deprecate by moving into exp directoryRobert Griesemer18-13/+23
R=rsc CC=golang-dev http://codereview.appspot.com/1211047
2010-05-20big: implemented Int.Binomial (to be used in test/hilbert.go with theRobert Griesemer1-9/+18
forthcoming implementation of big.Rat) R=rsc CC=golang-dev http://codereview.appspot.com/1229047 Committer: Robert Griesemer <gri@golang.org>
2010-05-20gc: handle use of builtin function outside function callRuss Cox4-3/+23
tweaks & tests of last bug fix too. R=ken2 CC=golang-dev http://codereview.appspot.com/1207044
2010-05-20gc: line number bug fixRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/1243044
2010-05-20clean up bug 275Ken Thompson1-0/+0
R=rsc CC=golang-dev http://codereview.appspot.com/1224044
2010-05-20fix bug 275Ken Thompson2-9/+11
R=rsc CC=golang-dev http://codereview.appspot.com/1198046
2010-05-20gc: disallow ยท in Go programsRuss Cox1-1/+1
Fixes issue 793. R=ken2 CC=golang-dev http://codereview.appspot.com/1249043
2010-05-20fix issue 798Ken Thompson9-0/+51
cannot allocate an audomatic temp while real registers are allocated. there is a chance that the automatic will be allocated to one of the allocated registers. the fix is to not registerize such variables. R=rsc CC=golang-dev http://codereview.appspot.com/1202042
2010-05-20netFD: fix race between Close and Read/WriteMichael Hoisie1-2/+9
Fixes issue 783. R=rsc, cw CC=golang-dev http://codereview.appspot.com/1207043 Committer: Russ Cox <rsc@golang.org>
2010-05-20Fix Rectangle.Canon()Roger Peppe1-2/+2
R=rsc, r, gri CC=golang-dev http://codereview.appspot.com/1239043 Committer: Robert Griesemer <gri@golang.org>
2010-05-20Fast-ish path for drawing onto an image.RGBA destination.Nigel Tao2-13/+121
Time to draw.Draw a 200x200 image fell from 18.4ms (and 1 malloc) to 5.6ms (and 0 mallocs). It's still relatively slow since it assumes nothing about the src or mask images, but it does remove the malloc. There are existing faster, more specialized paths for copies, fills and image glyph masks. Also added a "compare to a slow but obviously correct implementation" check to draw_test.go. R=rsc, r CC=golang-dev http://codereview.appspot.com/1223044
2010-05-20syscall: linux, implement BindToDeviceChristopher Wedgwood1-0/+5
R=rsc CC=adg, golang-dev, r http://codereview.appspot.com/1253043 Committer: Russ Cox <rsc@golang.org>
2010-05-20syscall: bsd, stub BindToDeviceChristopher Wedgwood1-0/+9
R=rsc CC=adg, golang-dev, r http://codereview.appspot.com/1257041 Committer: Russ Cox <rsc@golang.org>
2010-05-19runtime: avoid allocation for fixed stringsRuss Cox12-14/+25
R=r CC=golang-dev http://codereview.appspot.com/1083041
2010-05-19dashboard: reintroduce Benchmark modelAndrew Gerrand1-2/+4
R=rsc CC=golang-dev http://codereview.appspot.com/1217046
2010-05-19os: add Chtimes functionBrad Fitzpatrick2-0/+58
R=rsc, r CC=golang-dev http://codereview.appspot.com/1103041 Committer: Russ Cox <rsc@golang.org>
2010-05-19syscall: add Utimes on Darwin/FreeBSD, add Futimes everywhereRuss Cox7-10/+62
Needed for CL 1103041 and beyond. R=adg, bradfitzpatrick CC=bradfitz, golang-dev http://codereview.appspot.com/1172042
2010-05-19bug275: cannot apply real() to a complex array elementRobert Griesemer2-0/+24
R=r, ken2 CC=golang-dev http://codereview.appspot.com/1260041
2010-05-19runtime: allow large map valuesRuss Cox2-12/+93
Fixes issue 772. R=ken2 CC=golang-dev http://codereview.appspot.com/1206043
2010-05-19big: potential bug fix, cleanupsRobert Griesemer4-19/+61
- implemented setWord, use it where setUint64 is wrong - divLarge: use fast mulWW, divWW; implemented mulWW, divWW - better assembly code for addMulVVW R=rsc CC=golang-dev http://codereview.appspot.com/1258042
2010-05-18fix build - arm testsRuss Cox2-12/+1
TBR=kaib CC=golang-dev http://codereview.appspot.com/1256042
2010-05-18fix build - no netchan tests under NaClRuss Cox1-0/+1
TBR=r CC=golang-dev http://codereview.appspot.com/1230042
2010-05-18bytes: add Trim, TrimLeft, TrimRight, and generic functionsMichael Hoisie2-20/+134
R=rsc, r CC=golang-dev http://codereview.appspot.com/946045 Committer: Russ Cox <rsc@golang.org>
2010-05-18gc: Better error when computing remainder of non-intEvan Shaw1-1/+1
Previously the compiler would just emit "internal compiler error" when trying to compute the remainder of floats or complex types. R=rsc CC=golang-dev http://codereview.appspot.com/1243041 Committer: Russ Cox <rsc@golang.org>
2010-05-18math: amd64 versions of fdim, fmax, fminCharles L. Dorian4-2/+37
Uses the SSE2 max, min instructions. Also shorter sqrt_amd64.s R=rsc CC=golang-dev http://codereview.appspot.com/1216042 Committer: Russ Cox <rsc@golang.org>
2010-05-18math: signed zero Sqrt special caseCharles L. Dorian3-6/+12
IEEE 754 says: sqrt(-0) = -0 R=rsc CC=golang-dev http://codereview.appspot.com/1098041 Committer: Russ Cox <rsc@golang.org>
2010-05-18big: bug fix for divisionRobert Griesemer1-2/+7
Fixes issue 784. R=rsc CC=golang-dev http://codereview.appspot.com/1196043
2010-05-18 Trivial optimization.Kyle Consalus1-6/+7
Cached string indexing in inner loop of Btoui64. Before: strconv_test.BenchmarkAtoi 5000000 309 ns/op strconv_test.BenchmarkAtoiNeg 5000000 325 ns/op strconv_test.BenchmarkAtoi64 5000000 465 ns/op strconv_test.BenchmarkAtoi64Neg 5000000 469 ns/op After: strconv_test.BenchmarkAtoi 10000000 182 ns/op strconv_test.BenchmarkAtoiNeg 10000000 193 ns/op strconv_test.BenchmarkAtoi64 10000000 251 ns/op strconv_test.BenchmarkAtoi64Neg 10000000 258 ns/op R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/1227042 Committer: Robert Griesemer <gri@golang.org>
2010-05-17Add Error member to yyLexer type (yyErrorRoger Peppe3-8/+11
has no access to yylex) R=ken2, ken3 CC=golang-dev http://codereview.appspot.com/813047 Committer: Ken Thompson <ken@golang.org>
2010-05-15big: implemented format support for fmt library, MulRangeRobert Griesemer4-79/+234
- support for binary prefix 0b (to match fmt.Format) - renamed nat.new -> nat.setUint64 for consistency - more tests R=r CC=golang-dev http://codereview.appspot.com/1233041 Committer: Robert Griesemer <gri@golang.org>
2010-05-15build; allow MAKEFLAGS to be set outside the build scriptsChristopher Wedgwood1-1/+2
R=rsc, r CC=golang-dev http://codereview.appspot.com/1231041 Committer: Rob Pike <r@golang.org>
2010-05-15cmath: add package descriptionCharles L. Dorian3-2/+4
Also update range of Phase and Polar due to signed zero. [Phase(cmplx(-1, +0)) = pi and Phase(cmplx(-1, -0)) = -pi] R=rsc, r CC=golang-dev http://codereview.appspot.com/1235041 Committer: Rob Pike <r@golang.org>