- 14 Feb, 2012 2 commits
-
-
Shenghou Ma authored
1, IMO, the fatal error "regfree: not a register" from 5g when compiling runtime/debug.go is due to gcc miscompile, it doesn't show up when compiled with -O0. But I still haven't thought of a way to fix this, should all ARM builds be built with -O0? 2, fixed mksysnum_linux.pl, so zsysnum_linux_arm.go no longer needs to be hand-generated. 3, regen all in pkg syscall for Linux/ARM on Debian 6.0 This CL is somewhat big, I'd like to split it if necessary. R=rsc, dave CC=golang-dev https://golang.org/cl/5659044
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5657047
-
- 13 Feb, 2012 38 commits
-
-
Andrew Gerrand authored
This was an implementation detail that snuck into the public interface. *Writer.Create gives you an io.Writer, the *Writer itself was never meant to be written to. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5654076
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/5659045
-
Brad Fitzpatrick authored
I remembered that sendfile support was lacking a test. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5652079
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5661047
-
Russ Cox authored
Makes files like src/pkg/syscall/ztypes_linux_amd64.go easier to read. (The copy that is checked in predates the //line output mode, so this also preserves the status quo.) R=golang-dev, iant, gri CC=golang-dev https://golang.org/cl/5655068
-
Russ Cox authored
Fixes #2905. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5645088
-
Russ Cox authored
Also update build to be able to run mkbuiltin again. The export form has changed a little, so builtin.c has more diffs than unsafe.go. In CL 5650069, I just edited the documentation, a rarely successful method of change. R=ken2 CC=golang-dev https://golang.org/cl/5662043
-
Robert Griesemer authored
Fixes #2998. R=rsc CC=golang-dev https://golang.org/cl/5650078
-
Rob Pike authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5654077
-
Robert Griesemer authored
This was broken by https://golang.org/cl/5643066 which introduced lazy indentation printing. Fixes #2990. R=rsc CC=golang-dev https://golang.org/cl/5655067
-
Shenghou Ma authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5649086
-
Ian Lance Taylor authored
Drop reference to "machine type." Specify that integer overflow must be an error. Drop requirement that exponent must be 128 bits--that's a lot. Clarify that floating point expressions may be rounded, including intermediate values. This is a reworking of https://golang.org/cl/5577068/ . Fixes #2789. R=r, rsc, r, gri, ken, ken, iant CC=golang-dev, remyoudompheng https://golang.org/cl/5655049
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5645099
-
Darren Elwood authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5650076
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5650077
-
Russ Cox authored
Restore package os/signal, with new API: Notify replaces Incoming, allowing clients to ask for certain signals only. Also, signals go to everyone who asks, not just one client. This could plausibly move into package os now that there are no magic side effects as a result of the import. Update runtime for new API: move common Unix signal handling code into signal_unix.c. (It's so easy to do this now that we don't have to edit Makefiles!) Tested on darwin,linux 386,amd64. Fixes #1266. R=r, dsymonds, bradfitz, iant, borman CC=golang-dev https://golang.org/cl/3749041
-
Adam Langley authored
1) Remove the Reset() member in crypto/aes and crypto/des (and document the change). 2) Turn several empty error structures into vars. Any remaining error structures are either non-empty, or will probably become so in the future. 3) Implement SetWriteDeadline for TLS sockets. At the moment, the TLS status cannot be reused after a Write error, which is probably fine for most uses. 4) Make crypto/aes and crypto/des return a cipher.Block. R=rsc, r CC=golang-dev https://golang.org/cl/5625045
-
Marcel van Lohuizen authored
one trie lookup per rune is needed. See forminfo.go for a description of the new format. Also included leading and trailing canonical combining class in decomposition information. This will often avoid additional trie lookups. R=r, r CC=golang-dev https://golang.org/cl/5616071
-
Rob Pike authored
Thanks to Aaron Kemp for noticing. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5645097
-
Andrew Gerrand authored
This is not the finished product, but a good checkpoint from which to proceed with further development. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5571061
-
Andrew Gerrand authored
R=golang-dev, bradfitz, iant CC=golang-dev https://golang.org/cl/5639064
-
Anthony Martin authored
8g/cgen.c print format type mismatch 8l/asm.c resoff set and not used gc/pgen.c misleading comparison INT > 0x80000000 gc/reflect.c dalgsym must be static to match forward declaration gc/subr.c assumed_equal set and not used hashmem's second argument is not used gc/walk.c duplicated (unreachable) code R=rsc CC=golang-dev https://golang.org/cl/5651079
-
Ian Lance Taylor authored
hammerCompareAndSwapPointer64 was only passing on little-endian systems. hammerCompareAndSwapPointer32 was writing 8 bytes to a uint32 value on the heap. R=rsc, dvyukov CC=golang-dev https://golang.org/cl/5654065
-
Russ Cox authored
It did in fact break on the darwin/386 builder. Will investigate later; reopened issue 2917. R=golang-dev CC=golang-dev https://golang.org/cl/5654070
-
Russ Cox authored
You could argue for changing all the others, but Linux is outvoted, and the only time it matters is when newfd==-1, in which case you can call Dup. R=golang-dev, r CC=golang-dev https://golang.org/cl/5650073
-
Russ Cox authored
Fixes #2776. There was a previous attempt at CL 5592043 but that seems to have stalled. This one is simpler, and more up to date (correct handling of spdy, for example). R=golang-dev, r CC=golang-dev https://golang.org/cl/5645091
-
Hong Ruiqi authored
The Date-Modified header truncates sub-second precision, so use mtime < t+1s instead of mtime <= t to check for unmodified. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5655052
-
Hong Ruiqi authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5652078
-
Russ Cox authored
Sorry, Mercurial failed me. TBR=r, dsymonds CC=golang-dev https://golang.org/cl/5649080
-
Russ Cox authored
Among other things, this avoids putting a testing.go:nnn: prefix on every line of the stack trace. R=golang-dev, r, dsymonds, r CC=golang-dev https://golang.org/cl/5651081
-
Russ Cox authored
unsafe: delete Typeof, Reflect, Unreflect, New, NewArray Part of issue 2955 and issue 2968. R=golang-dev, r CC=golang-dev https://golang.org/cl/5650069
-
Russ Cox authored
Fixes #2690. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5650071
-
Russ Cox authored
Cannot reproduce the failure locally, but add explicit test in case some other machine can. Fixes #2917 (for now). R=golang-dev, r CC=golang-dev https://golang.org/cl/5651071
-
Rob Pike authored
Fixes #2943. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5649079
-
Russ Cox authored
Fixes #2919. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5645089
-
Russ Cox authored
I thought that -timeout was per-test, but it is for the whole program execution, so cmd/go can adjust its timer (also for whole program execution) accordingly. Fixes #2993. R=golang-dev, r CC=golang-dev https://golang.org/cl/5650070
-
Russ Cox authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5650068
-
Russ Cox authored
Fixes #2365. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5653070
-