aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-13go1.1.2go1.1.2release-branch.go1.1Andrew Gerrand
R=golang-dev, r CC=golang-dev https://golang.org/cl/12837043
2013-08-13[release-branch.go1.1] doc: release notes for go1.1.2Andrew Gerrand
««« CL 12016043 / 897a42d03643 doc: release notes for go1.1.2 R=golang-dev, go.peter.90, rsc, r CC=golang-dev https://golang.org/cl/12016043 »»» Fixes #5928. R=golang-dev, r, dsymonds CC=golang-dev https://golang.org/cl/12835043
2013-07-29[release-branch.go1.1] bufio: check buffer availability before reading in ↵Andrew Gerrand
ReadFrom This change was applied by hand, as bufio has seen some refactoring since 1.1 was branched. The only difference between this and the original patch is the offset of the change, and s/flush/Flush/. ««« CL 11801043 / 3ffbc06b4874 bufio: check buffer availability before reading in ReadFrom Fixes issue 5947 . R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11801043 »»» Update #5928 R=golang-dev, r CC=golang-dev https://golang.org/cl/12002043
2013-07-29[release-branch.go1.1] syscall: prlimit argument error for Getrlimit and ↵Andrew Gerrand
Setrlimit on Linux 32-bit ««« CL 11803043 / ba52f6399462 syscall: prlimit argument error for Getrlimit and Setrlimit on Linux 32-bit The rlimit arguments for prlimit are reversed for linux 32-bit (386 and arm). Getrlimit becomes Setrlimit and vice versa. Fixes #5949. R=iant, mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/11803043 »»» Update #5928 R=golang-dev, dave CC=golang-dev https://golang.org/cl/11996043
2013-07-29[release-branch.go1.1] cmd/cgo: gccgo fixesAndrew Gerrand
««« CL 11406047 / 4d9c3095de9d cmd/cgo: gccgo fixes Don't require a full-scale callback for calls to the special prologue functions. Always use a simple wrapper function for C functions, so that we can handle static functions defined in the import "C" comment. Disable a test that relies on gc-specific function names. Fixes #5905. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11406047 »»» Update #5928 R=golang-dev, dave CC=golang-dev https://golang.org/cl/11887043
2013-07-26[release-branch.go1.1] cmd/gc: avoid passing unevaluated constant ↵Andrew Gerrand
expressions to backends. ««« CL 11107044 / 5baf6060648e cmd/gc: avoid passing unevaluated constant expressions to backends. Backends do not exactly expect receiving binary operators with constant operands or use workarounds to move them to register/stack in order to handle them. Fixes #5841. R=golang-dev, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/11107044 »»» Update #5928 R=golang-dev, dave CC=golang-dev https://golang.org/cl/11879044
2013-07-23[release-branch.go1.1] undo 6efaa14e2e7fAndrew Gerrand
It breaks the build. R=golang-dev CC=golang-dev https://golang.org/cl/11584045
2013-07-23[release-branch.go1.1] runtime: prevent sysmon from polling network excessivlyAndrew Gerrand
««« CL 11569043 / 6b3c351c7fe6 runtime: prevent sysmon from polling network excessivly If the network is not polled for 10ms, sysmon starts polling network on every iteration (every 20us) until another thread blocks in netpoll. Fixes issue 5922 . R=golang-dev, iant CC=golang-dev https://golang.org/cl/11569043 »»» Update #5928 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11438044
2013-07-23[release-branch.go1.1] cmd/8g: Make clearfat non-interleaved with pointer ↵Andrew Gerrand
calculations. ««« CL 11383043 / dc24634de6c5 cmd/8g: Make clearfat non-interleaved with pointer calculations. clearfat (used to zero initialize structures) will use AX for x86 block ops. If we write to AX while calculating the dest pointer, we will fill the structure with incorrect values. Since 64-bit arithmetic uses AX to synthesize a 64-bit register, getting an adress by indexing with 64-bit ops can clobber the register. Fixes #5820. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11383043 »»» Update #5928 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11698043
2013-07-23[release-branch.go1.1] runtime: properly set G status after syscallAndrew Gerrand
««« CL 9307045 / fab6ba2a2d10 runtime: properly set G status after syscall R=golang-dev, r, dave CC=golang-dev https://golang.org/cl/9307045 »»» R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11694043
2013-07-23[release-branch.go1.1] cmd/6g, cmd/8g: prevent constant propagation of ↵Andrew Gerrand
non-constant LEA. ««« CL 10785043 / cf792c00f410 cmd/6g, cmd/8g: prevent constant propagation of non-constant LEA. Fixes #5809. R=golang-dev, dave, rsc, nigeltao CC=golang-dev https://golang.org/cl/10785043 »»» Update #5928 R=golang-dev, dave CC=golang-dev https://golang.org/cl/11515045
2013-07-22[release-branch.go1.1] cmd/gc: fix issue with method wrappers not having ↵Andrew Gerrand
escape analysis run on them. ««« CL 10383048 / 58e15340e78f cmd/gc: fix issue with method wrappers not having escape analysis run on them. Escape analysis needs the right curfn value on a dclfunc node, otherwise it will not analyze the function. When generating method value wrappers, we forgot to set the curfn correctly. Fixes #5753. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/10383048 »»» Update #5928 R=golang-dev, dave CC=golang-dev https://golang.org/cl/11669043
2013-07-22[release-branch.go1.1] time: prevent a panic from leaving the timer mutex heldAndrew Gerrand
««« CL 10373047 / 974a69ed9fcf time: prevent a panic from leaving the timer mutex held When deleting a timer, a panic due to nil deref would leave a lock held, possibly leading to a deadlock in a defer. Instead return false on a nil timer. Fixes #5745. R=golang-dev, daniel.morsing, dvyukov, rsc, iant CC=golang-dev https://golang.org/cl/10373047 »»» Update #5928 R=golang-dev, dave CC=golang-dev https://golang.org/cl/11666046
2013-07-22[release-branch.go1.1] cmd/gc: fix missing export data for inlining in a few ↵Andrew Gerrand
other cases. ««« CL 10464043 / c224c549a3c7 cmd/gc: fix missing export data for inlining in a few other cases. Exported inlined functions that perform a string conversion using a non-exported named type may miss it in export data. Fixes #5755. R=rsc, golang-dev, ality, r CC=golang-dev https://golang.org/cl/10464043 »»» Update #5928 R=golang-dev, dave CC=golang-dev https://golang.org/cl/11629044
2013-07-22[release-branch.go1.1] cmd/gc: fix pointer composite literals in exported if ↵Andrew Gerrand
statements. ««« CL 10470043 / d04e6b0bcacf cmd/gc: fix pointer composite literals in exported if statements. Fixes #4230 (again). R=rsc, golang-dev, r CC=golang-dev https://golang.org/cl/10470043 »»» Update #5928 R=golang-dev, dave CC=golang-dev https://golang.org/cl/11455045
2013-06-13[release-branch.go1.1] doc: add go1.1.1 to the release notesgo1.1.1Andrew Gerrand
««« CL 10236045 / 3cda43260443 doc: add go1.1.1 to the release notes R=golang-dev, iant CC=golang-dev https://golang.org/cl/10236045 »»» R=golang-dev, iant CC=golang-dev https://golang.org/cl/10245044
2013-06-13go1.1.1Andrew Gerrand
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/10253043
2013-06-13[release-branch.go1.1] remove release tag from release branchAndrew Gerrand
This should have been done before tagging go1.1. Better late than never. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/10252043
2013-06-13[release-branch.go1.1] cmd/gc: compute initialization order for top-level ↵Andrew Gerrand
blank vars too. ««« CL 8601044 / 3a74e15c5d56 cmd/gc: compute initialization order for top-level blank vars too. Fixes #5244. R=golang-dev, rsc, iant, r, daniel.morsing CC=golang-dev https://golang.org/cl/8601044 »»» R=iant, rsc CC=golang-dev https://golang.org/cl/10250043
2013-06-13[release-branch.go1.1] cmd/gc: save local var list before inliningAndrew Gerrand
««« CL 10210043 / b357e33bb414 cmd/gc: save local var list before inlining This avoids problems with inlining in genwrappers, which occurs after functions have been compiled. Compiling a function may cause some unused local vars to be removed from the list. Since a local var may be unused due to optimization, it is possible that a removed local var winds up beingused in the inlined version, in which case hilarity ensues. Fixes #5515. R=golang-dev, khr, dave CC=golang-dev https://golang.org/cl/10210043 »»» R=iant, rsc CC=golang-dev https://golang.org/cl/10242044
2013-06-11[release-branch.go1.1] doc: GCC 4.8.1 is not updated to Go 1.1Shenghou Ma
««« CL 9663045 / 6c64135360c2 doc: GCC 4.8.1 is not updated to Go 1.1 I will try again for 4.8.2. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/9663045 »»» R=golang-dev, iant CC=golang-dev https://golang.org/cl/9914045
2013-06-05[release-branch.go1.1] cmd/gc: fix missing slice/array types in export data.Andrew Gerrand
««« CL 9953044 / 0e1b2f7384d2 cmd/gc: fix missing slice/array types in export data. Fixes #5614. R=golang-dev CC=golang-dev https://golang.org/cl/9953044 »»» R=iant, remyoudompheng, dsymonds CC=golang-dev https://golang.org/cl/10033043
2013-06-05[release-branch.go1.1] runtime: fix heap corruption during GCAndrew Gerrand
««« CL 9831043 / e84e7204b01b runtime: fix heap corruption during GC The 'n' variable is used during rescan initiation in GC_END case, but it's overwritten with chan capacity in GC_CHAN case. As the result rescan is done with the wrong object size. Fixes #5554. R=golang-dev, khr CC=golang-dev https://golang.org/cl/9831043 »»» R=dvyukov, khr, dave CC=golang-dev https://golang.org/cl/10028044
2013-06-05[release-branch.go1.1] test: do not run the test that relies on precise GC ↵Andrew Gerrand
on 32-bits ««« CL 9573043 / c0f8999bd970 test: do not run the test that relies on precise GC on 32-bits Currently most of the 32-bit builder are broken. Fixes #5516. R=golang-dev, dave, iant CC=golang-dev https://golang.org/cl/9573043 »»» R=dvyukov, iant, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/10032043
2013-06-05[release-branch.go1.1] runtime: zeroize g->fnstart to not prevent GC of the ↵Andrew Gerrand
closure ««« CL 9557043 / 2c128d417029 runtime: zeroize g->fnstart to not prevent GC of the closure Fixes #5493. R=golang-dev, minux.ma, iant CC=golang-dev https://golang.org/cl/9557043 »»» R=dvyukov, iant, minux.ma, bradfitz, dave CC=golang-dev https://golang.org/cl/10031043
2013-06-05[release-branch.go1.1] cmd/gc: repair make(T) in export data for inlining.Andrew Gerrand
««« CL 9303050 / 9a73efa2cd4e cmd/gc: repair make(T) in export data for inlining. When T was an unexported type it could be forgotten. Fixes #5470. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/9303050 »»» R=bradfitz, iant, remyoudompheng CC=golang-dev https://golang.org/cl/10029043
2013-06-05[release-branch.go1.1] runtime: fix GC scanning of slicesAndrew Gerrand
««« CL 9372044 / 1abed5873071 runtime: fix GC scanning of slices If a slice points to an array embedded in a struct, the whole struct can be incorrectly scanned as the slice buffer. Fixes #5443. R=cshapiro, iant, r, cshapiro, minux.ma CC=bradfitz, gobot, golang-dev https://golang.org/cl/9372044 »»» R=cshapiro, iant CC=golang-dev https://golang.org/cl/10027043
2013-06-05[release-branch.go1.1] cmd/gc: do not corrupt init() with initializers of _ ↵Andrew Gerrand
in closures. ««« CL 9952043 / c42a7c218440 cmd/gc: do not corrupt init() with initializers of _ in closures. Fixes #5607. R=golang-dev, daniel.morsing, r, dsymonds CC=golang-dev https://golang.org/cl/9952043 »»» R=daniel.morsing, dsymonds, r, remyoudompheng CC=golang-dev https://golang.org/cl/9895044
2013-06-04[release-branch.go1.1] runtime: introduce cnewarray() to simplify allocation ↵Andrew Gerrand
of typed arrays ««« CL 9648044 / 139919984600 runtime: introduce cnewarray() to simplify allocation of typed arrays R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/9648044 »»» R=dsymonds, dvyukov, dave CC=golang-dev https://golang.org/cl/9780050
2013-06-03[release-branch.go1.1] doc: add Go 1.1 to release.htmlAndrew Gerrand
««« CL 9853051 / 103cf9db59e1 doc: add Go 1.1 to release.html Fixes #5468. R=golang-dev, r CC=golang-dev https://golang.org/cl/9853051 »»» R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/9738054
2013-06-03[release-branch.go1.1] doc: update linux tarball version for Go 1.1Andrew Gerrand
««« CL 9819044 / 0f679c4c5ebe doc: update linux tarball version for Go 1.1 R=adg CC=golang-dev https://golang.org/cl/9819044 »»» R=golang-dev, dave CC=golang-dev https://golang.org/cl/9858048
2013-05-13go1.1go1.1Andrew Gerrand
2013-05-13[release-branch.go1.1] runtime/race: improve public documentationAndrew Gerrand
««« CL 9144050 / d29da2ced72b runtime/race: improve public documentation Move the documentation from race.go to doc.go, because race.go uses +build race, so it's not normally parsed by go doc. Rephrase the documentation for end users, provide link to race detector manual. Fixes #5444. R=golang-dev, minux.ma, adg, r CC=golang-dev https://golang.org/cl/9144050 »»» R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/9387043
2013-05-13[release-branch.go1.1] doc: add a "New packages" section to the 1.1 release ↵Andrew Gerrand
notes. ««« CL 9344044 / 880991592ded doc: add a "New packages" section to the 1.1 release notes. R=adg, r CC=golang-dev https://golang.org/cl/9344044 »»» R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/9386043
2013-05-08go1.1rc3go1.1rc3Andrew Gerrand
R=golang-dev, r CC=golang-dev https://golang.org/cl/9315044
2013-05-08[release-branch.go1.1] runtime: fix crash in selectAndrew Gerrand
««« CL 9311043 / 53bc96b4c0c7 runtime: fix crash in select runtime.park() can access freed select descriptor due to a racing free in another thread. See the comment for details. Slightly modified version of dvyukov's CL 9259045. No test yet. Before this CL, the test described in issue 5422 would fail about every 40 times for me. With this CL, I ran the test 5900 times with no failures. Fixes #5422. R=golang-dev, r CC=golang-dev https://golang.org/cl/9311043 »»» R=golang-dev, r CC=golang-dev https://golang.org/cl/9304044
2013-05-08[release-branch.go1.1] spec: fix incorrect exampleAndrew Gerrand
««« CL 9305043 / 87762a7629b4 spec: fix incorrect example Fixes #5430. R=golang-dev, r CC=golang-dev https://golang.org/cl/9305043 »»» R=golang-dev, r CC=golang-dev https://golang.org/cl/9308044
2013-05-08[release-branch.go1.1] doc: pull front page featured articles using new blog ↵Andrew Gerrand
JSON feed ««« CL 9288045 / 5785ebd7acfb doc: pull front page featured articles using new blog JSON feed R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/9288045 »»» R=golang-dev, r CC=golang-dev https://golang.org/cl/9050046
2013-05-08[release-branch.go1.1] cmd/cgo: pass -Wsystem-headers when looking for errorsAndrew Gerrand
««« CL 9120045 / e4f62df3e6c9 cmd/cgo: pass -Wsystem-headers when looking for errors This works around a bug in GCC 4.8.0. Fixes #5118. R=golang-dev, r, minux.ma CC=golang-dev https://golang.org/cl/9120045 »»» R=golang-dev, r CC=golang-dev https://golang.org/cl/9259047
2013-05-08[release-branch.go1.1] net: fix dial race on plan9 and windowsAndrew Gerrand
««« CL 9159043 / f1ddc3ce3dfe net: fix dial race on plan9 and windows Fixes #5349. R=golang-dev, lucio.dere, dsymonds, bradfitz, iant, adg, dave, r CC=golang-dev https://golang.org/cl/9159043 »»» R=golang-dev CC=golang-dev https://golang.org/cl/9315043
2013-05-08[release-branch.go1.1] effective_go.html: be more accepting in the ↵Andrew Gerrand
guidelines for interface names ««« CL 9274043 / bbe324079abe effective_go.html: be more accepting in the guidelines for interface names Fixes #5421. R=golang-dev, bradfitz, adg CC=golang-dev https://golang.org/cl/9274043 »»» R=golang-dev, r CC=golang-dev https://golang.org/cl/9137045
2013-05-06go1.1rc2go1.1rc2Andrew Gerrand
2013-05-06api: add go1.1.txt; update cmd/api to use itBrad Fitzpatrick
R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/9250043
2013-05-06runtime: fix crash in badsignal()Dmitriy Vyukov
The linker can generate split stack prolog when a textflag 7 function makes an indirect function call. If it happens, badsignal() crashes trying to dereference g. Fixes #5337. R=bradfitz, dave, adg, iant, r, minux.ma CC=adonovan, golang-dev https://golang.org/cl/9226043
2013-05-07runtime: reduce max arena size on windows/amd64 to 32 GiBShenghou Ma
Update #5236 Update #5402 This CL reduces gofmt's committed memory from 545864 KiB to 139568 KiB. Note: Go 1.0.3 uses about 70MiB. R=golang-dev, r, iant, nightlyone CC=golang-dev https://golang.org/cl/9245043
2013-05-06database/sql: remove an unused field from RowsBrad Fitzpatrick
Found while debugging memory usage. Nobody accesses this field anymore. R=golang-dev, i.caught.air, adg, r CC=golang-dev https://golang.org/cl/9108043
2013-05-06doc: add FAQ entry about language changesAndrew Gerrand
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/9244043
2013-05-07syscall: fix prototype of Fchflags (API change)Shenghou Ma
API change, but the old API is obviously wrong. R=golang-dev, iant, r, rsc CC=golang-dev https://golang.org/cl/9157044
2013-05-06go/doc/example: Fix bug causing false negatives for Example playability.Jeremiah Harmsen
Allows Examples with KeyValue expressions to be playable in godoc. During the traversal of the abstract syntax tree any KeyValueExpr Key.Name was incorrectly being added as an unresolved identifier. Since this identifier could not be provided the Example was marked as unplayable. This updates the AST traversal to skip Keys (but continue traversing the Values). Example of problematic AST now fixed (see L99 where "UpperBound" was being added as a missing identifier): 81 . . . . . . . . . Values: []ast.Expr (len = 1) { 82 . . . . . . . . . . 0: *ast.UnaryExpr { 83 . . . . . . . . . . . OpPos: 12:19 84 . . . . . . . . . . . Op: & 85 . . . . . . . . . . . X: *ast.CompositeLit { 86 . . . . . . . . . . . . Type: *ast.SelectorExpr { 87 . . . . . . . . . . . . . X: *ast.Ident { 88 . . . . . . . . . . . . . . NamePos: 12:20 89 . . . . . . . . . . . . . . Name: "t_proto" 90 . . . . . . . . . . . . . } 91 . . . . . . . . . . . . . Sel: *ast.Ident { 92 . . . . . . . . . . . . . . NamePos: 12:41 93 . . . . . . . . . . . . . . Name: "BConfig" 94 . . . . . . . . . . . . . } 95 . . . . . . . . . . . . } 96 . . . . . . . . . . . . Lbrace: 12:79 97 . . . . . . . . . . . . Elts: []ast.Expr (len = 2) { 98 . . . . . . . . . . . . . 0: *ast.KeyValueExpr { 99 . . . . . . . . . . . . . . Key: *ast.Ident { 100 . . . . . . . . . . . . . . . NamePos: 13:3 101 . . . . . . . . . . . . . . . Name: "UpperBound" 102 . . . . . . . . . . . . . . } 103 . . . . . . . . . . . . . . Colon: 13:13 104 . . . . . . . . . . . . . . Value: *ast.CallExpr { 105 . . . . . . . . . . . . . . . Fun: *ast.SelectorExpr { 106 . . . . . . . . . . . . . . . . X: *ast.Ident { 107 . . . . . . . . . . . . . . . . . NamePos: 13:15 108 . . . . . . . . . . . . . . . . . Name: "proto" 109 . . . . . . . . . . . . . . . . } 110 . . . . . . . . . . . . . . . . Sel: *ast.Ident { 111 . . . . . . . . . . . . . . . . . NamePos: 13:21 112 . . . . . . . . . . . . . . . . . Name: "Float32" 113 . . . . . . . . . . . . . . . . } R=adg CC=gobot, golang-dev, gri https://golang.org/cl/8569045
2013-05-06C: add Jeremiah Harmsen (Google CLA)Andrew Gerrand
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/9229043