summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-14gofmt: exclude test w/ illegal syntax from test casesRobert Griesemer1-1/+1
R=adg CC=golang-dev http://codereview.appspot.com/1228041
2010-05-14go/printer (gofmt): don't lose mandatory semicolonsRobert Griesemer4-17/+59
Fixes issue 779. R=r CC=golang-dev http://codereview.appspot.com/1218042
2010-05-14go spec: added imaginary literal to semicolon rules (was missing)Robert Griesemer1-12/+34
- also added links to the respective sections - reformatted section for better (source html) readability - added missing closing </li>'s in many places R=r CC=golang-dev http://codereview.appspot.com/1220041
2010-05-13Prevent Printf crashing when giving an extra nil argument.Roger Peppe1-2/+4
R=rsc, r CC=golang-dev http://codereview.appspot.com/1195041 Committer: Rob Pike <r@golang.org>
2010-05-13rename 'gordon' to 'gopher'Andrew Gerrand8-0/+0
R=r CC=golang-dev http://codereview.appspot.com/1207041
2010-05-13bug274: test case for issue 777Robert Griesemer2-0/+32
R=r, iant CC=golang-dev http://codereview.appspot.com/1195042
2010-05-11http: prevent crash if remote server is not responding with "HTTP/"Robert Griesemer1-1/+1
Fixes issue 775. R=rsc CC=golang-dev http://codereview.appspot.com/1180042
2010-05-11netchan: be less chatty during gotestRuss Cox1-6/+1
R=r CC=golang-dev http://codereview.appspot.com/1186041
2010-05-11json: fix array -> non-array decodingRuss Cox2-19/+30
Fixes issue 773. R=adg CC=golang-dev http://codereview.appspot.com/1120042
2010-05-11drawGlyphOver optimization.Nigel Tao1-4/+5
Timings (as for change 1122043) go from 49ms to 48ms ish. It's mostly lost in the noise, but it probably doesn't hurt. R=r CC=golang-dev http://codereview.appspot.com/1179041
2010-05-10exp/draw fast path for glyph images.Nigel Tao1-1/+43
To draw.Draw a 32x32 image.Alpha 10000 times, Before: 633ms with 10000 mallocs After: 49ms with 0 mallocs These times are just blitting an image.Alpha, and do not include rasterizing a glyph's vector contours to an image.Alpha. The "generic" test case in draw_test.go tests this fast path. R=rsc CC=golang-dev http://codereview.appspot.com/1122043
2010-05-09template: regularize the handling of interfaces, pointers, andRob Pike1-79/+56
methods when looking up names. Fixes issue 764. R=rsc CC=golang-dev http://codereview.appspot.com/1170041
2010-05-08json: accept escaped slash in string scannerMichael Hoisie2-1/+2
R=rsc CC=golang-dev http://codereview.appspot.com/1173041 Committer: Russ Cox <rsc@golang.org>
2010-05-08big: cleanups and performance tuningRobert Griesemer5-161/+142
- removed last argument (n) from all core arithmetic routines; instead, use the length of the result - simplified nat.make implementation and chose a better capacity for new values, removed a TODO in the process Changing the constant e from 1 (old) to 4 (new) improved pidigits -s -n 10000 by ~9% (on a 3.06GHz Intel Core 2 Duo): user 0m3.882s (old) user 0m3.549s (new) R=rsc CC=golang-dev http://codereview.appspot.com/1133043
2010-05-07big: more cleanupRobert Griesemer6-216/+183
- pass []Word instead of *Word to core arithmetic functions - remove dead code R=rsc CC=golang-dev http://codereview.appspot.com/1154042
2010-05-07go spec: simplify section on channel typesRobert Griesemer1-20/+18
R=rsc, iant, r CC=golang-dev http://codereview.appspot.com/1171041
2010-05-07compress: renamings.Rob Pike17-159/+159
NewDeflater -> NewWriter NewInflater -> NewReader Deflater -> Compressor Inflater -> Decompressor R=rsc CC=golang-dev http://codereview.appspot.com/1166041
2010-05-07gob: bug fix: errors encoding the payload were notRob Pike1-2/+6
returned to caller. R=rsc CC=golang-dev http://codereview.appspot.com/1164041
2010-05-07gob: add an internal commentary example showing how theRob Pike2-176/+249
values are encoded for transmission. R=rsc CC=golang-dev http://codereview.appspot.com/1146041
2010-05-06Save the scheduling state even predawn.Ian Lance Taylor1-4/+4
This permits cgo callbacks to work when run in init code. Otherwise cgocallback switches to the wrong stack address. R=rsc CC=golang-dev http://codereview.appspot.com/1123043
2010-05-06fix build (typo in arith_386.s)Robert Griesemer1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/1139042
2010-05-06big: implemented overlap-tolerant shifts in assemblyRobert Griesemer5-164/+188
- no need to make copies in cases of aliases - removed deprecated internal shift functions - minor unrelated simplifications This change improves pidigits -s -n10000 by almost 20%: user 0m6.156s (old) user 0m4.999s (new) (pidigits -s -n20000 goes from ~25s to ~19s) R=rsc CC=golang-dev http://codereview.appspot.com/1149041
2010-05-07codelab/wiki: fix typo in demo URLAndrew Gerrand2-2/+2
R=r CC=golang-dev http://codereview.appspot.com/1148041
2010-05-06runtime.GOMAXPROCS: hack it to have it return the old value.Rob Pike4-7/+16
R=rsc CC=golang-dev http://codereview.appspot.com/1140041
2010-05-06gob: add test for indirect maps, slices, arrays.Rob Pike2-3/+67
fix a bug in the handling of indirect maps. R=rsc CC=golang-dev http://codereview.appspot.com/1132042
2010-05-06gc: distinguish array, slice literal in error messagesRuss Cox1-1/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/1138041
2010-05-06Make exp/draw/x11 respect $XAUTHORITY.Nigel Tao1-13/+17
R=rsc, cw, nigeltao_golang CC=golang-dev http://codereview.appspot.com/1134041
2010-05-05gob: add support for maps.Rob Pike6-43/+254
Because maps are mostly a hidden type, they must be implemented using reflection values and will not be as efficient as arrays and slices. R=rsc CC=golang-dev http://codereview.appspot.com/1127041
2010-05-05pkg/Makefile: add netchan to standard package listRob Pike1-0/+1
R=golang-dev CC=golang-dev http://codereview.appspot.com/1121041
2010-05-05CONTRIBUTORS: add Brad Fitzpatrick (Google Inc)Russ Cox1-0/+1
R=r, bradfitzpatrick CC=golang-dev http://codereview.appspot.com/1118041
2010-05-05Conversion from loop to copy().Kyle Consalus1-3/+1
R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/1072041 Committer: Robert Griesemer <gri@golang.org>
2010-05-05Fix a typo in net/unixsockConrad Meyer1-1/+1
R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/1113041 Committer: Robert Griesemer <gri@golang.org>
2010-05-05release.2010-05-04 tagsAndrew Gerrand0-0/+0
R=rsc CC=golang-dev http://codereview.appspot.com/1112041
2010-05-05release.2010-05-04Andrew Gerrand1-0/+28
R=r, rsc CC=golang-dev http://codereview.appspot.com/1094043
2010-05-04go spec: clarification of make arguments,Robert Griesemer1-14/+17
specification of runtime exceptions for make and division by zero R=r, rsc, ken2, iant CC=golang-dev http://codereview.appspot.com/1081041
2010-05-03allow data statements for simpleKen Thompson2-7/+5
external variable assignements. R=rsc CC=golang-dev http://codereview.appspot.com/1094041
2010-05-03big: completed set of Int division routines & cleanupsRobert Griesemer8-172/+332
- renamed Len -> BitLen, simplified implementation - renamed old Div, Mod, DivMod -> Que, Rem, QuoRem - implemented Div, Mod, DivMod (Euclidian definition, more useful in a mathematical context) - fixed a bug in Exp (-0 was possible) - added extra tests to check normalized results everywhere - uniformly set Int.neg flag at the end of computations - minor cosmetic cleanups - ran all tests R=rsc CC=golang-dev http://codereview.appspot.com/1091041
2010-05-03gc: bug264Russ Cox3-17/+3
Fixes issue 692. R=ken2 CC=golang-dev http://codereview.appspot.com/1092041
2010-05-03test/bench: import new fasta C reference, update Go, optimizationsRuss Cox2-222/+297
OLD fasta -n 25000000 gcc -O2 fasta.c 7.59u 0.06s 7.74r gc fasta 9.54u 0.15s 9.84r gc_B fasta 9.48u 0.10s 9.62r NEW fasta -n 25000000 gcc -O2 fasta.c 2.59u 0.02s 2.66r gc fasta 3.00u 0.03s 3.09r gc_B fasta 2.72u 0.03s 2.81r R=r CC=golang-dev http://codereview.appspot.com/1054041
2010-05-03runtime, strconv: tiny cleanupsRuss Cox2-15/+6
R=r CC=golang-dev http://codereview.appspot.com/1081042
2010-05-03test: test of static initialization (fails)Russ Cox2-0/+103
R=ken2 CC=golang-dev http://codereview.appspot.com/1090041
2010-05-03gc: bug267Russ Cox3-4/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/1067042
2010-05-03gc: error for nested functions, one semicolon problemRuss Cox1-1/+6
R=ken2 CC=golang-dev http://codereview.appspot.com/1046042
2010-05-03big: fix memory corruption in nat.shrRuss Cox1-1/+1
R=gri CC=golang-dev http://codereview.appspot.com/1084041
2010-05-03runtime/arm: fix buildRuss Cox1-7/+7
Import _mulv from Inferno again, change R9 to R2. Not sure what the other differences were for, but they weren't working. TBR=kaib CC=golang-dev http://codereview.appspot.com/1079041
2010-05-03test: fix run-arm to count bugs correctlyRuss Cox1-2/+2
TBR=kaib CC=golang-dev http://codereview.appspot.com/1080041
2010-05-03big: Add bitwise methods for IntEvan Shaw4-12/+355
R=gri CC=golang-dev http://codereview.appspot.com/987041 Committer: Robert Griesemer <gri@golang.org>
2010-05-03nacl: another attempt at fixing buildRuss Cox1-1/+1
TBR=r CC=golang-dev http://codereview.appspot.com/1077041
2010-05-03syscall: fix arm build (fix bugs in generator, to add O_LARGEFILE)Russ Cox10-442/+662
R=r CC=golang-dev http://codereview.appspot.com/1021043
2010-05-03Add _cgo_export.[ch] targets so that make knows how they areIan Lance Taylor1-1/+1
built. Note that they are only built if a //export comment appears, so other targets should only use them if there is such a comment. Fixes issue 723. R=rsc CC=golang-dev http://codereview.appspot.com/1073041