- 07 Jun, 2011 5 commits
-
-
Caine Tighe authored
R=rsc, gri CC=golang-dev https://golang.org/cl/4564048
-
Brad Fitzpatrick authored
Fixes #1916 R=golang-dev, gri CC=golang-dev https://golang.org/cl/4590041
-
Rob Pike authored
add QuoteToASCII. The Quote and QuoteRune functions now let printable runes (as defined by unicode.IsPrint) through. When true 7-bit clean stuff is necessary, there are now two new functions: QuoteToASCII and QuoteRuneToASCII. Printf("%q") uses Quote. To get the old behavior, it will now be necessary to say Printf("%s", strconv.QuoteToASCII(s)) but that should rarely be necessary. R=golang-dev, gri, r CC=golang-dev https://golang.org/cl/4561061
-
Rob Pike authored
need to ReadFull, not Read, to get extension data. R=nigeltao CC=golang-dev https://golang.org/cl/4576043
-
Dave Cheney authored
R=adg CC=golang-dev https://golang.org/cl/4528124
-
- 06 Jun, 2011 16 commits
-
-
Brad Fitzpatrick authored
Fixes #1890 R=nigeltao CC=golang-dev https://golang.org/cl/4528102
-
Rob Pike authored
The single file was getting unwieldy. Also remove use of vector; a slice works fine - although it's an unusual one. R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/4576042
-
Graham Miller authored
Fixes #1922. R=golang-dev, gri CC=golang-dev https://golang.org/cl/4551098
-
Adam Langley authored
This change moves a number of common PKIX structures into crypto/x509/pkix, from where x509, and ocsp can reference them, saving duplication. It also removes x509/crl and merges it into x509 and x509/pkix. x509 is changed to take advantage of the big.Int support that now exists in asn1. Because of this, the public/private key pair in http/httptest/server.go had to be updated because it was serialised with an old version of the code that didn't zero pad ASN.1 INTEGERs. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/4532115
-
Alex Brainman authored
1) runLog to return err==nil if program runs, but returns exitcode!=0; 2) runLog to return err!=nil when fails to create log file; 3) print failed program name, not just "all.bash". R=golang-dev, adg CC=golang-dev https://golang.org/cl/4532117
-
Dave Cheney authored
To build under clang, pass the path to clang in CC when calling ./make.bash CC=/opt/llvm/llvm-2.9/bin/clang ./make.bash Credit goes to jmhodges for suggestions. R=jeff, r, ality CC=golang-dev https://golang.org/cl/4527098
-
Evan Shaw authored
R=alex.brainman, r, rsc, krasin, iant, rsc, r CC=golang-dev https://golang.org/cl/4437091
-
Jeffrey M Hodges authored
The brace style in these files are a little inconsistent so I rolled with it on a per-file basis. R=dave, r CC=golang-dev https://golang.org/cl/4515194
-
David Jakob Fritz authored
Fixes #1868. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/4550093
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4572043
-
David Symonds authored
R=golang-dev, r, r CC=golang-dev https://golang.org/cl/4547084
-
Andrew Gerrand authored
Fixes #1919. R=golang-dev, r CC=golang-dev https://golang.org/cl/4530110
-
Benny Siegert authored
At the moment, 16-bit samples are reduced to 8 bits, this will be changed in a separate CL. R=nigeltao CC=golang-dev https://golang.org/cl/4552057
-
Andrew Gerrand authored
doc: update go_tutorial R=golang-dev, r CC=golang-dev https://golang.org/cl/4568056
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4535104
-
Alex Brainman authored
R=golang-dev, r, adg CC=golang-dev https://golang.org/cl/4561062
-
- 05 Jun, 2011 2 commits
-
-
Andrew Gerrand authored
go/build: include command output in error values go/build: add syslist.go to .hgignore R=golang-dev, r CC=golang-dev https://golang.org/cl/4550118
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/4515191
-
- 04 Jun, 2011 1 commit
-
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4433047
-
- 03 Jun, 2011 16 commits
-
-
Rob Pike authored
s/ASCIIMax/MaxASCII/ R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/4539109
-
Rob Pike authored
The long-term goal is that %q will use IsPrint to decide what to show natively vs. as hexadecimal. R=rsc, r CC=golang-dev https://golang.org/cl/4526095
-
Robert Griesemer authored
(pointed out by jan.mercl@nic.cz) R=iant, jan.mercl, rsc CC=golang-dev https://golang.org/cl/4515189
-
Brad Fitzpatrick authored
Fixes #1891 R=rsc CC=golang-dev https://golang.org/cl/4550112
-
Mikio Hara authored
R=rsc CC=golang-dev https://golang.org/cl/4539108
-
Mikio Hara authored
This CL introduces new API into package net to identify the network interface. A functionality of new API is very similar to RFC3493 - "Interface Identification". R=r, gri, bradfitz, robert.hencke, fullung, rsc CC=golang-dev https://golang.org/cl/4437087
-
Russ Cox authored
Input code like 0000 (x.go:2) TEXT main+0(SB),$36-0 0001 (x.go:3) MOVL $5,i+-8(SP) 0002 (x.go:3) MOVL $0,i+-4(SP) 0003 (x.go:4) MOVL $1,BX 0004 (x.go:4) MOVL i+-8(SP),AX 0005 (x.go:4) MOVL i+-4(SP),DX 0006 (x.go:4) MOVL AX,autotmp_0000+-20(SP) 0007 (x.go:4) MOVL DX,autotmp_0000+-16(SP) 0008 (x.go:4) MOVL autotmp_0000+-20(SP),CX 0009 (x.go:4) CMPL autotmp_0000+-16(SP),$0 0010 (x.go:4) JNE ,13 0011 (x.go:4) CMPL CX,$32 0012 (x.go:4) JCS ,14 0013 (x.go:4) MOVL $0,BX 0014 (x.go:4) SHLL CX,BX 0015 (x.go:4) MOVL BX,x+-12(SP) 0016 (x.go:5) MOVL x+-12(SP),AX 0017 (x.go:5) CDQ , 0018 (x.go:5) MOVL AX,autotmp_0001+-28(SP) 0019 (x.go:5) MOVL DX,autotmp_0001+-24(SP) 0020 (x.go:5) MOVL autotmp_0001+-28(SP),AX 0021 (x.go:5) MOVL autotmp_0001+-24(SP),DX 0022 (x.go:5) MOVL AX,(SP) 0023 (x.go:5) MOVL DX,4(SP) 0024 (x.go:5) CALL ,runtime.printint+0(SB) 0025 (x.go:5) CALL ,runtime.printnl+0(SB) 0026 (x.go:6) RET , is problematic because the liveness range for autotmp_0000 (0006-0009) is nested completely inside a span where BX holds a live value (0003-0015). Because the register allocator only looks at 0006-0009 to see which registers are used, it misses the fact that BX is unavailable and uses it anyway. The n->pun = anyregalloc() check in tempname is a workaround for this bug, but I hit it again because I did the tempname call before allocating BX, even though I then used the temporary after storing in BX. This should fix the real bug, and then we can remove the workaround in tempname. The code creates pseudo-variables for each register and includes that information in the liveness propagation. Then the regu fields can be populated using that more complete information. With that approach, BX is marked as in use on every line in the whole span 0003-0015, so that the decision about autotmp_0000 (using only 0006-0009) still has all the information it needs. This is not specific to the 386, but it only happens in generated code of the form load R1 ... load var into R2 ... store R2 back into var ... use R1 and for the most part the other compilers generate the loads for a given compiled line before any of the stores. Even so, this may not be the case everywhere, so the change is worth making in all three. R=ken2, ken, ken CC=golang-dev https://golang.org/cl/4529106
-
Dmitriy Vyukov authored
Plus fix spoiling of GOMAXPROCS in 2 existing rwmutex tests. Plus fix benchmark output to stdout (now it outputs to stderr like all other output). R=rsc CC=golang-dev https://golang.org/cl/4529111
-
Lucio De Re authored
These changes are not particularly invasive and have been tested as broadly as possible. 8l/l.h: - #pragma varargck: added some, removed duplicates. ld/dwarf.c: - As Plan 9 has no NULL, changed all occurrences to nil. - Added USED(size); where necessary. - Added (void) argument in definition of finddebugruntimepath(). - Plan 9 compiler was complaining about multiple assignments, repeaired by breaking up the commands. - Correction: havedynamic = 1; restored. ld/go.c: - Needed USED(file); in two functions. - Removed unused assignments flagged by the Plan 9 compiler. ld/lib.c: - Replaced unlink() with remove() which seems available everywhere. - Removed USED(c4); and USED(magic) no longer required. - Removed code flagged as unused by the Plan 9 compiler. - Added attributes to a number of format strings. R=rsc CC=golang-dev https://golang.org/cl/4435047
-
Luuk van Dijk authored
also inlined a typechecking function in dcl away. R=rsc CC=golang-dev https://golang.org/cl/4550115
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4547082
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/4539104
-
Luuk van Dijk authored
This is in preparation of escape analysis; function parameters can now be tagged with interesting bits by the compiler by assigning to n->note. tested by having typecheck put a fake tag on all parameters of pointer type and compiling the tree. R=rsc CC=golang-dev https://golang.org/cl/4524092
-
Nigel Tao authored
image: add Rectangle.ContainsRectangle method. R=r, rsc CC=golang-dev https://golang.org/cl/4517130
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4551092
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4548091
-