- 19 Dec, 2011 3 commits
-
-
Nigel Tao authored
Passes tests10.dat, test 6: <!DOCTYPE html><body><table><svg><g>foo</g></svg></table> | <!DOCTYPE html> | <html> | <head> | <body> | <svg svg> | <svg g> | "foo" | <table> Also pass tests through test 12: <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</caption></table> R=andybalholm CC=golang-dev https://golang.org/cl/5495061
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5493075
-
Gustavo Niemeyer authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5494070
-
- 18 Dec, 2011 2 commits
-
-
Paul Sbarra authored
The filetype needs to be set during BufRead in order for the did_filetype() check to prevent the file being detected as a conf file. One example where this can occur is if a cgo file has a #include at the top of the file. The # is detected in vim's generic configuration (conf file) toward the bottom of filetype.vim R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5496066
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5491069
-
- 17 Dec, 2011 4 commits
-
-
Christopher Nielsen authored
Add NetBSD to mksignals.sh and generate files. While we're here, also add netbsd to the +build list where appropriate. R=golang-dev, jsing CC=golang-dev https://golang.org/cl/5492064
-
Rob Pike authored
reported by fred richter R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5494062
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5495073
-
Andrew Gerrand authored
This leads to really confusing messages in goinstall. R=golang-dev, r CC=golang-dev https://golang.org/cl/5495074
-
- 16 Dec, 2011 19 commits
-
-
Russ Cox authored
That was the last build that was close to working. I will try that change again next week. Make is being very subtle today. At the reverted-to CL, the ARM traceback appears to be broken. I'll look into that next week too. R=golang-dev, r CC=golang-dev https://golang.org/cl/5492063
-
Robert Griesemer authored
- no empty lines inside empty structs and interfaces - top-level declarations are separated by a blank line if a) they are of different kind (e.g. const vs type); or b) there are documentation comments associated with a declaration (this is new) - applied gofmt -w misc src The actual changes are in go/printer/nodes.go:397-400 (empty structs/interfaces), and go/printer/printer.go:307-309 (extra line break). The remaining changes are cleanups w/o changing the existing functionality. Fixes issue 2570. R=rsc CC=golang-dev https://golang.org/cl/5493057
-
Russ Cox authored
Why it was not failing anywhere else I don't know, but the Makefile was definitely wrong. The rules must not run in parallel. TBR=r CC=golang-dev https://golang.org/cl/5489069
-
Russ Cox authored
I am looking forward to not supporting two build systems simultaneously. Make complains about a circular dependency still, but I don't understand it and it's probably not worth the time to figure out. TBR=r CC=golang-dev https://golang.org/cl/5496058
-
Olivier Duperray authored
R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/5491063
-
Russ Cox authored
R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5493063
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/5493061
-
Russ Cox authored
Collapse the arch,os-specific directories into the main directory by renaming xxx/foo.c to foo_xxx.c, and so on. There are no substantial edits here, except to the Makefile. The assumption is that the Go tool will #define GOOS_darwin and GOARCH_amd64 and will make any file named something like signals_darwin.h available as signals_GOOS.h during the build. This replaces what used to be done with -I$(GOOS). There is still work to be done to make runtime build with standard tools, but this is a big step. After this we will have to write a script to generate all the generated files so they can be checked in (instead of generated during the build). R=r, iant, r, lucio.dere CC=golang-dev https://golang.org/cl/5490053
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5494059
-
Rob Pike authored
Fixes #2577. R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/5492058
-
Maxim Pimenov authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5489065
-
Volker Dobler authored
Types implementing CookieJar may be used in a Client to persist cookies. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/5399043
-
Miki Tebeka authored
Fixes #2569 (hg undo crashes when CL not found). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5489052
-
Mikio Hara authored
R=golang-dev, jsing CC=golang-dev https://golang.org/cl/5495062
-
Mikio Hara authored
R=golang-dev, jsing CC=golang-dev https://golang.org/cl/5493058
-
Alex Brainman authored
R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5490051
-
Russ Cox authored
Gotest tries to build things, for which it invokes make, and it was too hard to coordinate go invoking gotest invoking go to build the test binary, so put all the code here instead. Gotest will be deleted once we switch. The only code that really made sense to copy verbatim was the flag parsing. This remains a work in progress. There are still plenty of things to clean up and make better, but this is a good checkpoint. It can run all the tests in the tree (except runtime, which it can't build yet). $ go test all -short ok archive/tar ok archive/zip ok bufio ? builtin [no test files] ok bytes ok compress/bzip2 ok compress/flate ok compress/gzip ok compress/lzw ok compress/zlib ok container/heap ok container/list ok container/ring ? crypto [no test files] ok crypto/aes ok crypto/bcrypt ok crypto/blowfish ok crypto/cast5 ok crypto/cipher ok crypto/des ok crypto/dsa ok crypto/ecdsa ok crypto/elliptic ok crypto/hmac ok crypto/md4 ok crypto/md5 ok crypto/ocsp ok crypto/openpgp ok crypto/openpgp/armor ok crypto/openpgp/elgamal ? crypto/openpgp/error [no test files] ok crypto/openpgp/packet ok crypto/openpgp/s2k ok crypto/rand ok crypto/rc4 ok crypto/ripemd160 ok crypto/rsa ok crypto/sha1 ok crypto/sha256 ok crypto/sha512 ok crypto/subtle ok crypto/tls ok crypto/twofish ok crypto/x509 ? crypto/x509/pkix [no test files] ok crypto/xtea ok debug/dwarf ok debug/elf ok debug/gosym ok debug/macho ok debug/pe ok encoding/ascii85 ok encoding/asn1 ok encoding/base32 ok encoding/base64 ok encoding/binary ok encoding/csv ok encoding/git85 ok encoding/gob ok encoding/hex ok encoding/json ok encoding/pem ok encoding/xml ok errors ok exp/ebnf ? exp/ebnflint [no test files] ok exp/gotype ok exp/norm ok exp/spdy ok exp/sql ok exp/sql/driver ok exp/ssh ok exp/types ok expvar ok flag ok fmt ok go/ast ok go/build ok go/doc ok go/parser ok go/printer ok go/scanner ok go/token ? hash [no test files] ok hash/adler32 ok hash/crc32 ok hash/crc64 ok hash/fnv ok html ok html/template ok image ? image/bmp [no test files] ? image/color [no test files] ok image/draw ? image/gif [no test files] ok image/jpeg ok image/png ok image/tiff ok image/ycbcr ok index/suffixarray ok io ok io/ioutil ok log ok log/syslog ok math ok math/big ok math/cmplx ok math/rand ok mime ok mime/multipart ok net ? net/dict [no test files] ok net/http ok net/http/cgi ok net/http/fcgi ? net/http/httptest [no test files] ok net/http/httputil ? net/http/pprof [no test files] ok net/mail ok net/rpc ok net/rpc/jsonrpc ok net/smtp ok net/textproto ok net/url ok old/netchan ok old/regexp ok old/template ok os ok os/exec ok os/signal ok os/user ok patch ok path ok path/filepath ok reflect ok regexp ok regexp/syntax # cd /Users/rsc/g/go/src/pkg/runtime; 6g -o /var/folders/mw/qfnx8hhd1_s9mm9wtbng0hw80000gn/T/go-build874847916/runtime_test/_obj/_go_.6 -p runtime_test -I /var/folders/mw/qfnx8hhd1_s9mm9wtbng0hw80000gn/T/go-build874847916 append_test.go chan_test.go closure_test.go gc_test.go mfinal_test.go proc_test.go sema_test.go softfloat64_test.go symtab_test.go proc_test.go:87: undefined: runtime.Entersyscall proc_test.go:88: undefined: runtime.Exitsyscall proc_test.go:111: undefined: runtime.Entersyscall proc_test.go:116: undefined: runtime.Exitsyscall softfloat64_test.go:79: undefined: Fadd64 softfloat64_test.go:80: undefined: Fsub64 softfloat64_test.go:82: undefined: Fmul64 softfloat64_test.go:83: undefined: Fdiv64 softfloat64_test.go:94: undefined: F64to32 softfloat64_test.go:99: undefined: F32to64 softfloat64_test.go:99: too many errors exit status 1 FAIL runtime [build failed] ? runtime/cgo [no test files] ok runtime/debug ok runtime/pprof ok sort ok strconv ok strings ok sync ok sync/atomic ? syscall [no test files] ? testing [no test files] ? testing/iotest [no test files] ok testing/quick ok testing/script ok text/scanner ok text/tabwriter ok text/template ok text/template/parse ok time ok unicode ok unicode/utf16 ok unicode/utf8 ? unsafe [no test files] ok websocket $ R=golang-dev, r CC=golang-dev https://golang.org/cl/5495055
-
Andrew Gerrand authored
R=dsymonds CC=golang-dev https://golang.org/cl/5495060
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5492051
-
- 15 Dec, 2011 12 commits
-
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/5461047
-
Russ Cox authored
On a Mac, all the useful functions are deprecated. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5493054
-
Alex Brainman authored
enable cgo again on windows/amd64 R=rsc, vcc.163 CC=golang-dev https://golang.org/cl/5488074
-
Russ Cox authored
In 'go test' I deleted the leading package. prefix from all the test names, since it contained no actual information. Adjust the -test.run argument accordingly. This will still work with the current gotest too, since the argument is an unanchored pattern. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5491058
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5496052
-
Rob Pike authored
Also fix the errors it catches. Fixes #1654. R=rsc CC=golang-dev https://golang.org/cl/5489060
-
Volker Dobler authored
An example for a method M() of type T can be written as func ExampleT_M() { ... }. To differentiate between multiple examples for one function, type or method a suffix with a lowercase start may be appended to the name of the example function, e.g. ExampleFoo_basicUsage. Fixes #2465. R=golang-dev, adg, r, rsc, duperray.olivier, r CC=golang-dev https://golang.org/cl/5440100
-
Andrew Gerrand authored
bytes: add two Buffer examples R=golang-dev, r CC=golang-dev https://golang.org/cl/5490048
-
Nigel Tao authored
I'm not 100% sure I get all the corner cases right, for end tags, but I'll let the test suite smoke it out. Pass tests10.dat, test 1: <!DOCTYPE html><svg></svg><![CDATA[a]]> | <!DOCTYPE html> | <html> | <head> | <body> | <svg svg> | <!-- [CDATA[a]] --> Also pass tests through test 5: <!DOCTYPE html><body><table><svg></svg></table> R=andybalholm CC=golang-dev https://golang.org/cl/5495044
-
Robert Griesemer authored
In some rare cases, gofmt would accept more than the maximum number of empty lines (1) between source code snippets. The actual change is in printer.go, lines 773-775; the rest is some minor restructuring. Applied gofmt -w src misc . Fixes #2387. R=golang-dev, r CC=golang-dev https://golang.org/cl/5496047
-
Dave Cheney authored
If a Pipe method is called, return the underlying reader/writer from session.clientChan, bypassing the io.Copy and io.Pipe harness. StdoutPipe and StderrPipe now return an io.Reader not an io.ReadCloser as SSH cannot signal the close of the local reader to the remote process. R=rsc, agl, gustav.paul, cw CC=golang-dev https://golang.org/cl/5493047
-
Rob Pike authored
Just a rearrangement except for a couple of new functions and names so govet.go can have all the generic walk routines. R=rsc CC=golang-dev https://golang.org/cl/5489058
-