- 09 Oct, 2012 3 commits
-
-
Rob Pike authored
Fixes #4214. R=golang-dev, dsymonds, bradfitz CC=golang-dev https://golang.org/cl/6637047
-
Robin Eklind authored
debug/pe: support PE files which contain no symbol table (if NumberOfSymbols is equal to 0 in the IMAGE_FILE_HEADER structure). No longer assume that e_lfanew (in the IMAGE_DOS_HEADER strcuture) is always one byte. It is now regarded as a 4 byte uint32. Fixes #4177. R=golang-dev, alex.brainman, dave, minux.ma CC=golang-dev https://golang.org/cl/6587048
-
Robert Griesemer authored
R=alex.brainman, r CC=golang-dev https://golang.org/cl/6643045
-
- 08 Oct, 2012 13 commits
-
-
Andrew Gerrand authored
Updates setup-godoc-app.bash to produce a working godoc app by substituting the go1.0.x go/... packages with those from tip. R=gri CC=golang-dev https://golang.org/cl/6587080
-
David Symonds authored
Fixes #3902. R=golang-dev, minux.ma, rsc, r CC=golang-dev https://golang.org/cl/6611059
-
David Symonds authored
Fixes #4136. R=golang-dev, r CC=golang-dev https://golang.org/cl/6615061
-
David Symonds authored
Fixes #4175. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6610068
-
Daniel Morsing authored
testlib will complain about any unmatched errors left in errorchecks while run.go will not. Fixes #4141. R=golang-dev, minux.ma, remyoudompheng, rsc CC=golang-dev https://golang.org/cl/6614060
-
David Symonds authored
Mercurial has supported environment variables in hgrc files since version 1.4 (released November 2009). R=golang-dev, dave, minux.ma CC=golang-dev https://golang.org/cl/6619067
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/6612066
-
Robert Griesemer authored
- Changed Check signature to take function parameters for more flexibility: Now a client can interrupt type checking early (via panic in one the upcalls) once the desired type information or number of errors is reached. Default use is still simple. - Cleaned up main typechecking loops. Now does not neglect _ declarations anymore. - Various other cleanups. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/6612049
-
Robert Griesemer authored
Still lots of pieces missing, but basic framework working. Lots of tests. R=rsc CC=golang-dev https://golang.org/cl/6594054
-
Robert Griesemer authored
This code has been reviewed before. The most significant change is to check_test which now can handle more than one error at the same error position (due to spurious errors - should not happen in praxis once error handling has been fine-tuned). This change makes check_test easier to use during development. R=rsc CC=golang-dev https://golang.org/cl/6584057
-
Robert Griesemer authored
Also: apply gofmt -w -s to existing tables. R=mpvl, minux.ma, rsc CC=golang-dev https://golang.org/cl/6611051
-
Robert Griesemer authored
Bug introduced with CL 6624047. R=r CC=golang-dev https://golang.org/cl/6620073
-
Brad Fitzpatrick authored
No JavaScript in HTML anymore. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6619066
-
- 07 Oct, 2012 24 commits
-
-
Andrew Gerrand authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/6614064
-
Dave Cheney authored
Address several instances of unneeded temporaries when using gcmp. func M(m map[int]bool) int { return len(m) } --- prog list "M" --- 0000 (/home/dfc/src/map.go:3) TEXT M+0(SB),$0-8 0001 (/home/dfc/src/map.go:4) MOVW m+0(FP),R0 0002 (/home/dfc/src/map.go:4) MOVW $0,R1 0003 (/home/dfc/src/map.go:4) CMP R1,R0, 0004 (/home/dfc/src/map.go:4) BEQ ,6(APC) 0005 (/home/dfc/src/map.go:4) MOVW 0(R0),R0 0006 (/home/dfc/src/map.go:4) MOVW R0,.noname+4(FP) 0007 (/home/dfc/src/map.go:4) RET , after: --- prog list "M" --- 0000 (/home/dfc/src/map.go:3) TEXT M+0(SB),$0-8 0001 (/home/dfc/src/map.go:4) MOVW m+0(FP),R0 0002 (/home/dfc/src/map.go:4) CMP $0,R0, 0003 (/home/dfc/src/map.go:4) BEQ ,5(APC) 0004 (/home/dfc/src/map.go:4) MOVW 0(R0),R0 0005 (/home/dfc/src/map.go:4) MOVW R0,.noname+4(FP) 0006 (/home/dfc/src/map.go:4) RET , func C(c chan int) int { return cap(c) } --- prog list "C" --- 0000 (/home/dfc/src/map.go:3) TEXT C+0(SB),$0-8 0001 (/home/dfc/src/map.go:4) MOVW c+0(FP),R0 0002 (/home/dfc/src/map.go:4) MOVW $0,R1 0003 (/home/dfc/src/map.go:4) CMP R1,R0, 0004 (/home/dfc/src/map.go:4) BEQ ,6(APC) 0005 (/home/dfc/src/map.go:4) MOVW 4(R0),R0 0006 (/home/dfc/src/map.go:4) MOVW R0,.noname+4(FP) 0007 (/home/dfc/src/map.go:4) RET , after: --- prog list "C" --- 0000 (/home/dfc/src/map.go:3) TEXT C+0(SB),$0-8 0001 (/home/dfc/src/map.go:4) MOVW c+0(FP),R0 0002 (/home/dfc/src/map.go:4) CMP $0,R0, 0003 (/home/dfc/src/map.go:4) BEQ ,5(APC) 0004 (/home/dfc/src/map.go:4) MOVW 4(R0),R0 0005 (/home/dfc/src/map.go:4) MOVW R0,.noname+4(FP) 0006 (/home/dfc/src/map.go:4) RET , R=rsc, minux.ma, remyoudompheng CC=golang-dev https://golang.org/cl/6618054
-
Rémy Oudompheng authored
Update #4139. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6609051
-
Rémy Oudompheng authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6620071
-
Russ Cox authored
R=ken CC=golang-dev https://golang.org/cl/6614063
-
Russ Cox authored
R=ken CC=golang-dev https://golang.org/cl/6610065
-
Russ Cox authored
This keeps the BOM runes from causing other errors. R=golang-dev, remyoudompheng CC=golang-dev https://golang.org/cl/6625062
-
Shenghou Ma authored
1. R_ARM_CALL can also be used to call a PLT entry 2. add support for R_ARM_PC24 and R_ARM_JUMP24 3. refactor, remove D_PLT32 in favor of D_CALL Fixes #4006. R=rsc, dave CC=fullung, golang-dev https://golang.org/cl/6622057
-
Shenghou Ma authored
Fixes #4131. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6614061
-
Rémy Oudompheng authored
The test is not about type mismatches and it causes an extra error to appear. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6614062
-
Russ Cox authored
If we're benchmarking 8g, use gcc -m32. If we're benchmarking 6g, use gcc -m64. R=golang-dev, bradfitz, minux.ma, remyoudompheng CC=golang-dev https://golang.org/cl/6625061
-
Rémy Oudompheng authored
The protection against segfaults does not completely solve crashes and breaks test/fixedbugs/bug365.go R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6615058
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/6609052
-
Dmitriy Vyukov authored
See issue 3970 (it's already marked as Fixed). R=rsc, minux.ma CC=golang-dev https://golang.org/cl/6624059
-
Dmitriy Vyukov authored
This is a part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 R=rsc, remyoudompheng CC=gobot, golang-dev https://golang.org/cl/6536059
-
Dmitriy Vyukov authored
This is a part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 R=rsc, minux.ma CC=gobot, golang-dev https://golang.org/cl/6529053
-
Dmitriy Vyukov authored
This is a part of a bigger change that adds data race detection feature: https://golang.org/cl/6456044 R=rsc CC=gobot, golang-dev https://golang.org/cl/6535050
-
Shenghou Ma authored
Also add call to GC() to make it easier to re-enable the test. Update #4155. When we have precise GC merged, re-enable this test. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6622058
-
Shenghou Ma authored
R=golang-dev, daniel.morsing CC=golang-dev https://golang.org/cl/6624060
-
Brad Fitzpatrick authored
Don't assume the test has a clean environment within /tmp. Use an actual new tempdir for its tests. Fixes FreeBSD build failure as seen at: http://build.golang.org/log/396738676356d7fb6bab6eaf1b97cac820f8a90f --- FAIL: TestMkdirAllWithSymlink (0.00 seconds) path_test.go:178: Mkdir /tmp/dir: mkdir /tmp/dir: file exists FAIL FAIL os 1.091s R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6615057
-
Brad Fitzpatrick authored
Also adds tests, which didn't exist before. Fixes #4188 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6613062
-
Rémy Oudompheng authored
Update #4139. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6620070
-
Shenghou Ma authored
t.Log("line 1\nline 2\nline 3") Old output: === RUN TestLine3 --- PASS: TestLine3 (0.00 seconds) testing_test.go:25: line 1 line 2 line 3 PASS New output: === RUN TestLine3 --- PASS: TestLine3 (0.00 seconds) testing_test.go:24: line 1 line 2 line 3 PASS R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6613069
-
Shenghou Ma authored
R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/6615055
-