aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-23weekly.2012-02-22weekly.2012-02-22Andrew Gerrand
R=golang-dev, r, bradfitz CC=golang-dev https://golang.org/cl/5698043
2012-02-23net/http: some more cookie testsBrad Fitzpatrick
Including a commented-out test we might tackle later, after seeing what browsers do. R=dsymonds, rsc CC=golang-dev https://golang.org/cl/5694045
2012-02-23encoding/xml: add example and docs for anon fieldsGustavo Niemeyer
Anonymous pointer fields is not yet supported. The problem is documented in issue 3108. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5694043
2012-02-23net: add a bit clarified multicast listener testsMikio Hara
Also adds -external flag to allow use of external networks on tests. R=rsc CC=golang-dev https://golang.org/cl/5693043
2012-02-22pprof: add Profile typeRuss Cox
Makes it possible for client code to maintain its own profiles, and also reduces the API surface by giving us a type that models built-in profiles. R=golang-dev, r CC=golang-dev https://golang.org/cl/5684056
2012-02-22runtime: goroutine profile, stack dumpsRuss Cox
R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5687076
2012-02-22encoding/xml: move Unmarshal example to functionGustavo Niemeyer
This also fixes MarshalIndent's example after the recent formatting convention changes. Fixes #2831. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5671062
2012-02-23time: run full TestTicker test even during short testsAlex Brainman
R=golang-dev, r, bradfitz, r CC=golang-dev https://golang.org/cl/5689076
2012-02-225a: fix same arm bugRuss Cox
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/5689073
2012-02-225c, 5g, 5l: fix arm bugRuss Cox
Using reg as the flag word was unfortunate, since the default value is not 0 but NREG (==16), which happens to be the bit NOPTR now. Clear it. If I say this will fix the build, it won't. R=golang-dev, r CC=golang-dev https://golang.org/cl/5690072
2012-02-22cmd/dist: fix install cmd/5g on non-arm systemRuss Cox
R=golang-dev, r CC=golang-dev https://golang.org/cl/5689072
2012-02-23net: make raw IP tests robustMikio Hara
Make it rely on underlying socket's address family. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5673091
2012-02-23net: make parseProcNetIGMP more robustMikio Hara
Suggested by Paul Borman. Fixes #2826. R=rsc, borman CC=golang-dev https://golang.org/cl/5689048
2012-02-23os: make the system info a value not a pointer on unixRob Pike
fix a couple of other minor related details. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5690071
2012-02-22builder: reuse existing workspace if possibleShenghou Ma
R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/5690069
2012-02-22net: delete debugging printRuss Cox
Fixes #3030. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5689071
2012-02-22builder: update for os.Wait changes.Brad Fitzpatrick
This compiles again. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/5687078
2012-02-22go/printer, gofmt: improved comma placementRobert Griesemer
Not a Go 1 issue, but appeared to be fairly easy to fix. - Note that a few existing test cases look slightly worse but those cases were not representative for real code. All real code looks better now. - Manual move of the comment in go/scanner/example_test.go before applying gofmt. - gofmt -w $GOROOT/src $GOROOT/misc Fixes #3062. R=rsc CC=golang-dev https://golang.org/cl/5674093
2012-02-22godoc: proper index range checking when extracting example codeRobert Griesemer
Fixes #3092. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5683075
2012-02-22cgo: fix definition of opaque typesGustavo Niemeyer
Fixes #3082. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5683074
2012-02-22go/doc: move firstSentence into go/docRobert Griesemer
- renamed firstSentence -> Synopsis - also deal with common abbreviations R=rsc CC=golang-dev https://golang.org/cl/5676088
2012-02-22net: replace error variable name oserr with errMikio Hara
This CL replaces the last two in source tree. R=golang-dev, r CC=golang-dev https://golang.org/cl/5685080
2012-02-21godoc: fix potential index out-of-bounds errorRobert Griesemer
R=golang-dev, bradfitz, dsymonds CC=golang-dev https://golang.org/cl/5683072
2012-02-22ld: get symbol table letters rightRuss Cox
Have to assign them before we create the symbol table. ARM debugging. TBR=r CC=golang-dev https://golang.org/cl/5689067
2012-02-22gc: new, less strict bool rulesRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/5688064
2012-02-22gc: never crash during a debugging printRuss Cox
TBR=lvd CC=golang-dev https://golang.org/cl/5686063
2012-02-22spec: refine the wording about variables in type switchesRob Pike
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5686064
2012-02-22cmd/go: add tool -n flagRuss Cox
As in gdb $(go tool -n 6g). R=golang-dev, r CC=golang-dev https://golang.org/cl/5689066
2012-02-22cmd/fix: remove os.Wait gofix.David Symonds
The os.Wait function has been removed entirely, so there's no point in fixing code that called it. R=r CC=golang-dev https://golang.org/cl/5685078
2012-02-22runtime: fix FreeBSD signal handling around thread creationDevon H. O'Dell
Ignore signals while we are spawning a new thread. Previously, a signal arriving just before runtime.minit setting up the signal handler triggers a "double fault" in signal trampolining. Fixes #3017. R=rsc, mikioh.mikioh, minux.ma, adg CC=golang-dev https://golang.org/cl/5684060
2012-02-21misc/dist/windows: fix broken icon, other miscJoe Poirier
fix, and shrink, the gopher icon, txt extensions for license and readme files, minor format changes in the wxs file R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5683054
2012-02-21ld: only set SNOPTRBSS during loadRuss Cox
dodata will convert to SNOPTRDATA if appropriate. Should fix arm build (hope springs eternal). TBR=golang-dev CC=golang-dev https://golang.org/cl/5687074
2012-02-22doc: move styles to style.cssAndrew Gerrand
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5685075
2012-02-21gc: return of ideal boolRuss Cox
This is a manual undo of CL 5674098. It does not implement the even less strict spec that we just agreed on, but it gets us back where we were at the last weekly. R=ken2 CC=golang-dev https://golang.org/cl/5683069
2012-02-21ld: add NOPTRBSS for large, pointer-free uninitialized dataRuss Cox
cc: add #pragma textflag to set it runtime: mark mheap to go into noptr-bss. remove special case in garbage collector Remove the ARM from.flag field created by CL 5687044. The DUPOK flag was already in p->reg, so keep using that. Otherwise test/nilptr.go creates a very large binary. Should fix the arm build. Diagnosed by minux.ma; replacement for CL 5690044. R=golang-dev, minux.ma, r CC=golang-dev https://golang.org/cl/5686060
2012-02-21spec: make all comparison results untyped boolRuss Cox
Or, depending on your point of view, make the comparisons satisfy any surrounding boolean type. Also, fix a few foo_bar -> fooBar in code fragments. Fixes #2561. R=golang-dev, r, bradfitz, gri, iant, kevlar CC=golang-dev https://golang.org/cl/5671096
2012-02-21godoc: fix absolute->relative mappingRobert Griesemer
Fixes #3096. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5690063
2012-02-22runtime: use SYSCALL instead of INT 0x80 in FreeBSD's runtime.osyield on amd64Devon H. O'Dell
R=mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/5690062
2012-02-22godoc: adjust line height in pre blocksAndrew Gerrand
R=gri, dsymonds CC=golang-dev https://golang.org/cl/5687071
2012-02-22net/http: update test to use time.Duration betterBrad Fitzpatrick
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5688063
2012-02-22net/textproto: accept bad MIME headers as browsers doBrad Fitzpatrick
Accept certain non-compliant response headers (in particular, when spaces preceed the colon). All major browser and curl seem to support this, and at least one webserver seems to send these. *shrug* R=golang-dev, gri CC=golang-dev https://golang.org/cl/5690059
2012-02-22test: use testlib in a few more cases.Rémy Oudompheng
R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/5688057
2012-02-22godoc: fix playground urlAndrew Gerrand
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5685070
2012-02-21text/tabwriter: fix documentation by adding an example.Robert Griesemer
R=rsc, r CC=golang-dev https://golang.org/cl/5685069
2012-02-22misc/goplay: remove redundant chdirAndrew Gerrand
R=ajstarks, r CC=golang-dev https://golang.org/cl/5687070
2012-02-22godoc: support flat directory view againAndrew Gerrand
R=bradfitz CC=golang-dev https://golang.org/cl/5690058
2012-02-22doc: support redirect-on-shareAndrew Gerrand
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5689056
2012-02-21cmd/dist: fix pprof permissionsBobby Powers
When installing pprof into the tools directory, it needs to have execute permissions on unix-like systems. Fixes issues 3077. R=golang-dev, rsc, minux.ma CC=golang-dev https://golang.org/cl/5675095
2012-02-21net/smtp: use EHLO then HELORuss Cox
Before we were using "ESMTP" in the banner as a clue, but that is not required by the RFC and breaks mailing to smtp.yandex.ru. Fixes #3045. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5687066
2012-02-21runtime: avoid malloc during mallocRuss Cox
A fault during malloc might lead to the program's first call to findfunc, which would in turn call malloc. Don't do that. Fixes #1777. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5689047