aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-05release.2010-05-04weekly.2010-05-04Andrew Gerrand
R=r, rsc CC=golang-dev https://golang.org/cl/1094043
2010-05-04go spec: clarification of make arguments,Robert Griesemer
specification of runtime exceptions for make and division by zero R=r, rsc, ken2, iant CC=golang-dev https://golang.org/cl/1081041
2010-05-03allow data statements for simpleKen Thompson
external variable assignements. R=rsc CC=golang-dev https://golang.org/cl/1094041
2010-05-03big: completed set of Int division routines & cleanupsRobert Griesemer
- 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 https://golang.org/cl/1091041
2010-05-03gc: bug264Russ Cox
Fixes #692. R=ken2 CC=golang-dev https://golang.org/cl/1092041
2010-05-03test/bench: import new fasta C reference, update Go, optimizationsRuss Cox
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 https://golang.org/cl/1054041
2010-05-03runtime, strconv: tiny cleanupsRuss Cox
R=r CC=golang-dev https://golang.org/cl/1081042
2010-05-03test: test of static initialization (fails)Russ Cox
R=ken2 CC=golang-dev https://golang.org/cl/1090041
2010-05-03gc: bug267Russ Cox
R=ken2 CC=golang-dev https://golang.org/cl/1067042
2010-05-03gc: error for nested functions, one semicolon problemRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/1046042
2010-05-03big: fix memory corruption in nat.shrRuss Cox
R=gri CC=golang-dev https://golang.org/cl/1084041
2010-05-03runtime/arm: fix buildRuss Cox
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 https://golang.org/cl/1079041
2010-05-03test: fix run-arm to count bugs correctlyRuss Cox
TBR=kaib CC=golang-dev https://golang.org/cl/1080041
2010-05-03big: Add bitwise methods for IntEvan Shaw
R=gri CC=golang-dev https://golang.org/cl/987041
2010-05-03nacl: another attempt at fixing buildRuss Cox
TBR=r CC=golang-dev https://golang.org/cl/1077041
2010-05-03syscall: fix arm build (fix bugs in generator, to add O_LARGEFILE)Russ Cox
R=r CC=golang-dev https://golang.org/cl/1021043
2010-05-03Add _cgo_export.[ch] targets so that make knows how they areIan Lance Taylor
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 #723. R=rsc CC=golang-dev https://golang.org/cl/1073041
2010-05-03bytes: Change IndexAny to look for UTF-8 encoded characters.Rob Pike
Also improve the implementations of Equals and Compare. R=rsc CC=golang-dev https://golang.org/cl/969047
2010-05-03dashboard: fix benchmark json outputAndrew Gerrand
Fixes #722. R=rsc CC=golang-dev https://golang.org/cl/1065041
2010-05-03runtime: update godefs usage comment for GOARCH=386 GOOS={darwin,freebsd}Giles Lean
When trying to regenerate src/pkg/runtime/darwin/386/defs.h on a 64 bit capable Snow Leopard (OS X 10.6.3) system I needed to add -f -m32 to godefs, as this OS and hardware combination defaults to 64 bit compilation. For safety, make the same change to the 32 bit FreeBSD instructions in .../freebsd/defs.c. (Tested OK and no problems introduced.) R=golang-dev, rsc CC=golang-dev https://golang.org/cl/1052042
2010-05-03fix nacl buildRuss Cox
TBR=r CC=golang-dev https://golang.org/cl/1063042
2010-05-02math: fix typo in Cbrt descriptionCharles L. Dorian
R=rsc CC=golang-dev https://golang.org/cl/979043
2010-05-03codelab/wiki: switch edit/view, as they were backwardsAndrew Gerrand
Fixes #757. R=rsc CC=golang-dev https://golang.org/cl/1064041
2010-05-01big: cleanup and removal of redundant functionalityRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/1048041
2010-05-01gc: be pickier about slice, chan, array, and map sizesRuss Cox
Fixes #589. R=ken2 CC=golang-dev https://golang.org/cl/1032044
2010-05-01gmp: fix bug in SetStringRuss Cox
R=adg CC=golang-dev https://golang.org/cl/1004045
2010-05-01vector: use correct capacity in call to makeRuss Cox
R=gri, r, bflm CC=golang-dev https://golang.org/cl/1032043
2010-04-30big: use fast shift routinesRobert Griesemer
- fixed a couple of bugs in the process (shift right was incorrect for negative numbers) - added more tests and made some tests more robust - changed pidigits back to using shifts to multiply by 2 instead of add This improves pidigit -s -n 10000 by approx. 5%: user 0m6.496s (old) user 0m6.156s (new) R=rsc CC=golang-dev https://golang.org/cl/963044
2010-04-30big/arith: assembly routines for 386 long shifts (2nd round)Robert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/986044
2010-04-308g: bug272Russ Cox
Fixes #589. R=ken2 CC=golang-dev https://golang.org/cl/1043042
2010-04-30gc: bug271Russ Cox
Fixes #662. R=ken2 CC=golang-dev https://golang.org/cl/978043
2010-04-30gc: bug270Russ Cox
Fixes #746. R=ken2 CC=golang-dev https://golang.org/cl/1040042
2010-04-308l: fix absolute path detection on WindowsRuss Cox
Fixes #755. R=ken2 CC=golang-dev https://golang.org/cl/965047
2010-04-30syscall: handle EOF on pipe - special case on WindowsAlex Brainman
R=rsc CC=golang-dev https://golang.org/cl/962046
2010-04-30fix buildRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/1044041
2010-04-30big: improved computation of "karatsuba length" for faster multipliesRobert Griesemer
This results in an improvement of > 35% for the existing Mul benchmark using the same karatsuba threshold, and an improvement of > 50% with a slightly higher threshold (32 instead of 30): big.BenchmarkMul 500 6731846 ns/op (old alg.) big.BenchmarkMul 500 4351122 ns/op (new alg.) big.BenchmarkMul 500 3133782 ns/op (new alg., new theshold) Also: - tweaked calibrate.go, use same benchmark as for Mul benchmark R=rsc CC=golang-dev https://golang.org/cl/1037041
2010-04-30big: assembly routines for 386 long shiftsRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/974043
2010-04-30big: implemented core shift routines in arith.go andRobert Griesemer
provide assembly versions (for x86-64 for now) (Not yet used - waiting for previous CL to clear) R=rsc CC=golang-dev https://golang.org/cl/1040041
2010-04-30Add EWOULDBLOCK to sycall_nacl.go.Nigel Tao
R=rsc CC=go-dev, golang-dev https://golang.org/cl/1006045
2010-04-29rename GOOS=mingw to GOOS=windowsAlex Brainman
R=rsc, Joe Poirier CC=golang-dev https://golang.org/cl/1015043
2010-04-29syscall: force O_LARGEFILE in Linux open system callRuss Cox
Fixes #717. R=adg, PeterGo CC=golang-dev https://golang.org/cl/1032041
2010-04-29syscall: mingw SleepJoe Poirier
R=rsc, brainman CC=golang-dev https://golang.org/cl/961047
2010-04-29gc: never include ( ) on singleton func return typeRuss Cox
Fixes #749. R=ken2 CC=golang-dev https://golang.org/cl/963043
2010-04-29gc: bug268Russ Cox
Fixes #745. R=ken2 CC=golang-dev https://golang.org/cl/1008045
2010-04-29net: use short variable declarationChristopher Wedgwood
R=rsc CC=golang-dev https://golang.org/cl/1019043
2010-04-29net: parser should handle EOF without newline properly.Christopher Wedgwood
Fixes #686. R=rsc CC=adg, golang-dev https://golang.org/cl/979044
2010-04-29go spec: fix iota descriptionRobert Griesemer
R=r, rsc CC=golang-dev https://golang.org/cl/946046
2010-04-29codelab/index.html: a few typos.Andrey Mirtchovski
R=adg CC=golang-dev https://golang.org/cl/993042
2010-04-29codelab/index.html "os" needs to be imported because os.Error is used almost ↵Andrey Mirtchovski
immediately Also, calling fmt, ioutil and os "builtin" is probably confusing. R=adg CC=golang-dev https://golang.org/cl/965045
2010-04-28darwin: bsdthread_create can fail; print good errorRuss Cox
Fixes #549. R=adg CC=golang-dev https://golang.org/cl/1019042