summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-04goinstall: an experiment in (external) package installationRuss Cox11-3/+745
R=adg, r CC=cw, golang-dev http://codereview.appspot.com/224043
2010-03-04A+C: add Spring Mc (individual CLA)Russ Cox2-0/+2
R=adg CC=golang-dev http://codereview.appspot.com/240041
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
2010-03-04add a test that structures pack. 6g fails.Rob Pike2-0/+46
R=rsc CC=golang-dev http://codereview.appspot.com/237041
2010-03-04Spec for complex numbersRob Pike1-35/+153
R=rsc, ken2, gri, iant CC=cw, golang-dev http://codereview.appspot.com/227041
2010-03-04release.2010-03-04 part twoAndrew Gerrand0-0/+0
R=rsc CC=golang-dev http://codereview.appspot.com/229050
2010-03-03math: added ilogb, logb, remainder, tests and special conditionsCharles L. Dorian9-5/+331
Also added expm1_386 and remainder_386; shortened exp_386 R=rsc CC=golang-dev http://codereview.appspot.com/217109 Committer: Russ Cox <rsc@golang.org>
2010-03-04release.2010-03-04Andrew Gerrand1-0/+28
R=rsc CC=golang-dev http://codereview.appspot.com/229048
2010-03-04First run at a Programming FAQAndrew Gerrand3-56/+277
Moved a couple of FAQs from the main FAQ, and added some others R=r, rsc, iant, gri CC=golang-dev http://codereview.appspot.com/218070
2010-03-03net: put [ ] around IPv6 addresses for DialRuss Cox1-1/+5
Update issue 538. R=r CC=golang-dev http://codereview.appspot.com/229045
2010-03-03net: fix nil deref in testTimeout when Dial failsRuss Cox1-1/+2
Pointed out by Scott Schwartz. Fixes issue 637. R=scotts CC=golang-dev http://codereview.appspot.com/225042
2010-03-03gc: fix imported and not used message - show pathRuss Cox4-4/+27
R=ken2 CC=golang-dev http://codereview.appspot.com/229046
2010-03-03encoding/binary: fix error reporting bugRob Pike1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/224096
2010-03-03net: fix network timeout boundary condition.Stephen Ma1-1/+1
Fixes issue 472. R=golang-dev CC=golang-dev http://codereview.appspot.com/223108
2010-03-03net: correct DNS configurationStephen Ma2-3/+3
Set defaults to the same values as various C DNS resolver libraries. Use the timeout value from the configuration. Fixes issue 632. R=rsc CC=golang-dev http://codereview.appspot.com/223094
2010-03-02test: fix 386 build (missing complex)Russ Cox4-8/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/223106
2010-03-02more on type complex.Ken Thompson11-10/+442
getting close. R=rsc CC=golang-dev http://codereview.appspot.com/224105
2010-03-02gofmt: fix alignment of multi-line var declarationsRobert Griesemer6-34/+82
- gofmt -w src misc R=rsc, r CC=golang-dev http://codereview.appspot.com/223101
2010-03-03codereview.py: fix for compatibility with hg >=1.4.3Andrew Gerrand1-1/+1
hg.parseurl now returns a two-value tuple; codereview.py expected 3. Changed to merely take the first return value. R=rsc, iant CC=golang-dev http://codereview.appspot.com/223087
2010-03-03http: corrected comment for Response.GetHeader.Andrew Gerrand1-7/+6
Fixes issue 622. R=rsc CC=golang-dev http://codereview.appspot.com/224084
2010-03-02gofmt: experiment: align values in map composites where possibleRobert Griesemer72-1836/+1870
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev http://codereview.appspot.com/223076
2010-03-01Minor mistake in docs.Robert Griesemer1-1/+1
Fixes issue 633. R=adg CC=golang-dev http://codereview.appspot.com/224090
2010-03-02strings.Bytes -> []byte for documentation example, src/pkg/* comments, and ↵Andrey Mirtchovski4-14/+12
htmlgen.go R=rsc, adg CC=golang-dev http://codereview.appspot.com/224087 Committer: Andrew Gerrand <adg@golang.org>
2010-02-28gotest: set $AS to $GOBIN/$ASAndrew Gerrand1-0/+1
May address issue 624. R=rsc CC=golang-dev http://codereview.appspot.com/223083
2010-02-28Count utf8 runes, not bytes when determining string width. NoteStephen Ma3-2/+6
that pad() still counts bytes, but it's currently only used for 1 byte runes. Fixes issue 612. R=r CC=golang-dev http://codereview.appspot.com/217064 Committer: Rob Pike <r@golang.org>
2010-02-26testing/benchmark: paranoia - make sure n always growsRuss Cox1-1/+9
R=wcn CC=golang-dev http://codereview.appspot.com/223075
2010-02-26crypto/blowfish: new packageRaif S. Naffah6-0/+585
R=rsc CC=golang-dev http://codereview.appspot.com/217116 Committer: Russ Cox <rsc@golang.org>
2010-02-26A+C: add Raif S. Naffah (individual CLA)Russ Cox2-0/+2
R=gri CC=golang-dev http://codereview.appspot.com/223073
2010-02-26go/parser cleanup: remove some state by writing more functional codeRobert Griesemer1-16/+17
R=rsc CC=golang-dev http://codereview.appspot.com/223071
2010-02-268g: fix out of register bug in byte(x) codeRuss Cox1-6/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/223070
2010-02-26Add -r option to 6l/8l/5l.Ian Lance Taylor12-3/+26
This permits more flexibility with cgo and swig in cases where the program is run on a machine other than the one on which it is built. Rather than storing the absolute path to the shared library in the DT_NEEDED entry, we can store just the name, and let the dynamic linker find it using DT_RUNPATH or the LD_LIBRARY_PATH environment variable. R=rsc CC=golang-dev http://codereview.appspot.com/223068
2010-02-268g: make a[byte(x)] truncate xRuss Cox2-1/+24
R=ken2 CC=golang-dev http://codereview.appspot.com/223069
2010-02-26go/scanner: the position of '\n's chars must be the last position of the ↵Robert Griesemer2-8/+12
current line Background: This didn't matter until recently, because '\n' don't appear as token starts in source code and thus the exact position was irrelevant (and set as was easiest in the code). With auto semicolon insertion, a virtual semicolon may be inserted when a '\n' is seen. The position of the semicolon is the position of the '\n'. Without this fix, these semicolons appeared on the next line instead of the line where they were inserted. This affected the association of comments to declarations in the parser. As a result, some lead comments where considered line comments, not collected in the ast, and not shown in godoc pages. (This affected only godoc pages, not gofmt-formatted programs). Fixes issue 592. R=rsc CC=golang-dev http://codereview.appspot.com/224068
2010-02-26Fix a couple of bugs referencing data values in template.Micah Stetson2-0/+18
Adds tests and fixes for two cases that fail with the current release. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/217115 Committer: Rob Pike <r@golang.org>
2010-02-26add micah.stetson to C&ARob Pike2-0/+2
R=rsc CC=golang-dev http://codereview.appspot.com/223061
2010-02-25doc: Use byte("...") over byte{...}Christopher Wedgwood1-1/+1
R=rsc, r CC=golang-dev http://codereview.appspot.com/224069 Committer: Rob Pike <r@golang.org>
2010-02-25use []byte("abc") in place of []byte{'a', 'b', 'c'}Russ Cox4-12/+12
R=gri CC=golang-dev http://codereview.appspot.com/223059
2010-02-25go/printer, gofmt: align comments in multi-line expression listsRobert Griesemer11-67/+115
- gofmt -w src misc - improves several lists and fixes minor degradation introduced with the fix for issue 628 - removed some dead code (stringList) R=rsc CC=golang-dev http://codereview.appspot.com/223058
2010-02-25strings: delete Runes, BytesRuss Cox65-311/+240
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2010-02-25tabwriter: make use of new []byte() conversionRobert Griesemer1-2/+2
R=rsc CC=golang-dev http://codereview.appspot.com/224063
2010-02-25gc: implement []int(string) and []byte(string)Russ Cox8-14/+175
R=ken2 CC=golang-dev http://codereview.appspot.com/224060
2010-02-25Fix small typo in net package.Stephen Weinberg1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/224061 Committer: Russ Cox <rsc@golang.org>
2010-02-25go/printer, gofmt: correct indentation after certain /*-style commentsRobert Griesemer5-36/+53
- applied gofmt to src and misc Note: This fix improved formatting of src/pkg/math/all_test.go but leads to a degradation in src/pkg/exp/4s/xs.go. The latter happened to "work" before accidentally. Fixing the alignment in that case in general will be a separate CL. Fixes issue 628. R=rsc CC=golang-dev http://codereview.appspot.com/223054
2010-02-25tabwriter: indicate section breaks if Debug flag is setRobert Griesemer2-0/+10
R=rsc CC=golang-dev http://codereview.appspot.com/224057
2010-02-25dashboard: more performance tuningRuss Cox2-176/+235
various caching. make benchmark data a list in a single per-builder,benchmark record instead of having one record for each data point. significant reduction in datastore cpu charges. R=agl1, agl CC=golang-dev http://codereview.appspot.com/217111
2010-02-25Use consistent types in .h file and .c file.Ian Lance Taylor2-2/+2
R=rsc CC=golang-dev http://codereview.appspot.com/224053
2010-02-25strings: remove a couple of redundant testsRobert Griesemer1-2/+4
(per suggestion from Heresy.Mc@gmail.com) R=rsc CC=golang-dev http://codereview.appspot.com/223052
2010-02-25path: Fix bug in Match with non-greedy starsKevin Ballard2-1/+9
path.Match() errors out when testing "*x" against "xxx" because it matches the star non-greedily. Ensure that the last chunk consumes the rest of the name. R=r, rsc CC=golang-dev http://codereview.appspot.com/223050 Committer: Russ Cox <rsc@golang.org>
2010-02-25%q in fmt: if the object is a Stringer, use String() to get the value to quote.Rob Pike3-1/+11
R=rsc CC=golang-dev http://codereview.appspot.com/224051