aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-05hgtags: delete "release" (prepare for new release)weekly.2010-01-05Russ Cox
R=r CC=golang-dev https://golang.org/cl/183123
2010-01-058a, 8l: Add FCOMI, FCOMIP, FUCOMI, FUCOMIP instructionsEvan Shaw
Fixes #447 R=rsc CC=golang-dev https://golang.org/cl/183047
2010-01-05rollback of https://golang.org/cl/181077Russ Cox
(broke build) TBR=dho https://golang.org/cl/181139
2010-01-05xml: Fix comment so that example code compilesEvan Shaw
R=rsc CC=golang-dev https://golang.org/cl/181138
2010-01-05Update Emacs go-mode for new semicolon rule.Austin Clements
Fixes #415. R=rsc CC=golang-dev https://golang.org/cl/183104
2010-01-05big: fix ProbablyPrime bug, commentsRuss Cox
(changes adopted from alc, agl) R=agl1, agl CC=golang-dev https://golang.org/cl/181137
2010-01-05Fix missing explicit GOBIN in src/pkg/Makefile. Clean up creation of ↵Devon H. O'Dell
QUOTED_GOBIN Fixes #468 R=rsc CC=golang-dev https://golang.org/cl/181077
2010-01-05syscall: add nanosleep on FreeBSDDevon H. O'Dell
Fixes #461 R=rsc CC=golang-dev https://golang.org/cl/181059
2010-01-05net: make Dial correctly return nil on error.Roger Peppe
R=rsc CC=golang-dev https://golang.org/cl/181135
2010-01-04remove reference to "basic literal" since it's never definedRobert Griesemer
R=rsc, r CC=golang-dev https://golang.org/cl/183113
2010-01-04Simplified parser interface.Robert Griesemer
R=rsc, r CC=golang-dev, rog https://golang.org/cl/183116
2010-01-05Check for errors when writing fields of a struct.Rob Pike
R=rsc CC=golang-dev, jack.palevich https://golang.org/cl/183109
2010-01-04Allow a nil Ident to print without crashing.Roger Peppe
Allow Walk of []Decl R=gri CC=golang-dev, rsc https://golang.org/cl/183112
2010-01-04fix up YB and add ZB, EB in exampleRob Pike
R=rsc CC=golang-dev https://golang.org/cl/183107
2010-01-02Remove redundant size check in resize. Let callers worry about that and ↵Yongjian Xu
resize should just do "resize". R=golang-dev, r CC=golang-dev https://golang.org/cl/181111
2009-12-31trivial bug: []byte is special but [3]byte is not.Rob Pike
modify a test to verify the fix. R=rsc CC=golang-dev https://golang.org/cl/183090
2009-12-30More Xcode support.Robert Griesemer
Recognize special comments starting with TODO or BUG. R=r CC=golang-dev https://golang.org/cl/183095
2009-12-29Document how to build gccgo to use gold.Ian Lance Taylor
This provides full support for discontiguous stacks. R=r CC=golang-dev https://golang.org/cl/183088
2009-12-29Test case for issue 475 and related bug.Robert Griesemer
R=iant CC=golang-dev https://golang.org/cl/183087
2009-12-29Improved Xcode supportKen Friedenbach
Added definition for raw string. Added definitions for function and method declarations. Enabled function, method, and type declarations to appear in Editor pop up menu. Fixes #466. R=golang-dev, gri CC=golang-dev https://golang.org/cl/183065
2009-12-29added author/contributorRobert Griesemer
R=iant CC=golang-dev https://golang.org/cl/181099
2009-12-29test case for issue 471Robert Griesemer
R=iant CC=golang-dev https://golang.org/cl/183084
2009-12-30improve some type switches now that multiple types per case are supported.Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/181089
2009-12-29Apply symmetric changes to sha1 and sha256 as to md4 and md5.Robert Griesemer
R=agl, agl1 CC=golang-dev https://golang.org/cl/183083
2009-12-29PNG decoder now handles transparent paletted images.Nigel Tao
Fixes #439. R=r CC=golang-dev https://golang.org/cl/181087
2009-12-29JPEG decoder now handles RST (restart) markers.Nigel Tao
R=r CC=golang-dev https://golang.org/cl/181075
2009-12-29add a debugging printer to the gob package.Rob Pike
used only for debugging, debug.go is not normally part of the package source. also add a dump program to call it. R=rsc CC=golang-dev https://golang.org/cl/183075
2009-12-29remove all references to gobType() from the decoder.Rob Pike
Fixes #470. R=rsc CC=golang-dev https://golang.org/cl/183074
2009-12-28Fix bug in godoc tab conversion filter:Robert Griesemer
tabs after an empty line where not converted. Also, made it more robust in the presence of (unexpected) ' ' and '\v' chars in indentation mode. R=r CC=golang-dev https://golang.org/cl/181085
2009-12-28Symmetric changes to md4.go as for md5.go.Robert Griesemer
Use uint index variables in some cases instead of int to enable strength reduction; this makes it possible for the compiler to reduce % into masks. Old code: 6g -S md4.go md4block.go | grep "md4block.go:44" 0471 (md4block.go:44) MOVL AX,BX 0472 (md4block.go:44) MOVL AX,BP 0473 (md4block.go:44) MOVL AX,R8 0474 (md4block.go:44) SARL $31,R8 0475 (md4block.go:44) SHRL $30,R8 0476 (md4block.go:44) ADDL R8,BP 0477 (md4block.go:44) SARL $2,BP 0478 (md4block.go:44) IMULL $4,BP 0479 (md4block.go:44) SUBL BP,BX 0480 (md4block.go:44) MOVLQSX BX,BX 0481 (md4block.go:44) LEAQ shift1+0(SB),BP 0482 (md4block.go:44) CMPL BX,8(BP) 0483 (md4block.go:44) JCS ,485 0484 (md4block.go:44) CALL ,runtime.throwindex+0(SB) 0485 (md4block.go:44) MOVQ (BP),BP 0486 (md4block.go:44) MOVL (BP)(BX*4),DI New code: 6g -S md4.go md4block.go | grep "md4block.go:44" 0471 (md4block.go:44) MOVL AX,BX 0472 (md4block.go:44) ANDL $3,BX 0473 (md4block.go:44) MOVLQZX BX,BX 0474 (md4block.go:44) LEAQ shift1+0(SB),BP 0475 (md4block.go:44) CMPL BX,8(BP) 0476 (md4block.go:44) JCS ,478 0477 (md4block.go:44) CALL ,runtime.throwindex+0(SB) 0478 (md4block.go:44) MOVQ (BP),BP 0479 (md4block.go:44) MOVL (BP)(BX*4),DI R=agl, agl1 CC=golang-dev https://golang.org/cl/181086
2009-12-28A couple of tighter loops.Robert Griesemer
(I was looking at this code accidentally because of some gofmt issues and thought that one could write this more effectively. You may have deliberately chosen not to use ranges here to make the index range clearer. Just let me know.) R=agl, agl1 CC=golang-dev https://golang.org/cl/181084
2009-12-28Clarify section on tokens.Robert Griesemer
Fixes #457. R=r CC=golang-dev https://golang.org/cl/181083
2009-12-29fix dumb bug: must write out default values inside arrays and slicesRob Pike
Fixes #459. R=rsc, imkrasin, sonia CC=golang-dev https://golang.org/cl/181073
2009-12-28simplify some code that is using vectorsRobert Griesemer
R=agl, agl1 CC=golang-dev https://golang.org/cl/181080
2009-12-28crypto/tls: make Listener a pointer.Adam Langley
Listener contains private members and 6g now enforces that private members cannot be assigned outside of their package. R=rsc CC=golang-dev https://golang.org/cl/183073
2009-12-27gc: various C nits, found by plan 9 compiler.Russ Cox
reported by erik quanstrom. R=ken2 https://golang.org/cl/181071
2009-12-27add exceptions to the road map. i think this just was an oversight.Rob Pike
also a way to run code when object is deleted. both of these are possibilities, not certainties. R=rsc, iant CC=golang-dev https://golang.org/cl/181057
2009-12-25Update documentation around time.Sleep to specify its precision, and suggestDevon H. O'Dell
a possible interface for more granular sleep times. Fixes issue #260. R=rsc, r CC=golang-dev https://golang.org/cl/181058
2009-12-25fix naked < and > as reported by Peter Williams <>Rob Pike
(i thought these were legal in <pre> blocks) R=rsc CC=golang-dev, pwil3058 https://golang.org/cl/181055
2009-12-23Use t.Errorf for formatted error output.Ian Lance Taylor
R=dsymonds1 CC=golang-dev https://golang.org/cl/183049
2009-12-23Add a test for issue 337.Ian Lance Taylor
gccgo currently miscompiles this test. R=rsc CC=golang-dev https://golang.org/cl/181050
2009-12-23go_spec: use PrimaryExpr as type switch expressionRuss Cox
Without this change, the spec parses <-c.(type) as (<-c).(type) but parses <-c.(int) as <-(c.(int)). With this change, the former parses as <-(c.(type)). All three parsers already implement this rule, because they look for the "type" word during parsing of a standard type assertion. This change merely brings the spec in line with the implementations. http://code.google.com/p/go/source/browse/src/cmd/gc/go.y#801 http://code.google.com/p/go/source/browse/src/pkg/go/parser/parser.go#900 http://gcc.gnu.org/viewcvs/branches/gccgo/gcc/go/parse.cc?revision=155389&view=markup#l2469 Pointed out by Brett Kail on golang-nuts. R=gri CC=golang-dev https://golang.org/cl/182044
2009-12-24Add query to find number of subexpressions.Peter Froehlich
This was convenient for me to have without being forced to parse the regexp myself. I'd understand if it's not really wanted, but I also think that some meta information about compiled regexps would be fine. R=r, rsc CC=golang-dev https://golang.org/cl/183044
2009-12-23remove nums.shRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/181049
2009-12-24implement .repeats for maps.Rob Pike
Fixes #309. R=rsc CC=golang-dev https://golang.org/cl/181044
2009-12-24make 6prof (sic) architecture-independent.Rob Pike
for now, it's amd64 and 386 only but it's trivial to add more. Fixes #385. (why couldn't it have been issue 386?) tested for amd64 and 386 on darwin. R=rsc CC=golang-dev https://golang.org/cl/182043
2009-12-23crypto/tls: extensions and Next Protocol NegotiationAdam Langley
Add support for TLS extensions in general and Next Protocol Negotiation in particular. R=rsc CC=golang-dev https://golang.org/cl/181045
2009-12-23cgo: don't overwrite p.CrefsDevon H. O'Dell
It's expected to be shared between all files so that all types are output. Fixes bug reported on mailing list by Peter Froehlich. R=rsc, phf CC=golang-dev https://golang.org/cl/183043
2009-12-23Fix comment for Chmod.Peter Froehlich
R=r, rsc CC=golang-dev https://golang.org/cl/183042
2009-12-23fix documentation bug in exampleRob Pike
Fixes #452. R=gri CC=golang-dev, dougfelt https://golang.org/cl/181043