aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-10-18[release-branch.r60] doc: document release.r60.3release.r60.3release-branch.r60Andrew Gerrand
««« CL 5267049 / eeca0d4a91a3 doc: document release.r60.3 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5267049 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5296041
2011-10-17[release-branch.r60] reflect: disallow Interface method on Value obtained ↵Russ Cox
via unexported name exp/datafmt is incompatible with this change, so delete it. It was scheduled for deletion soon anyway. ««« CL 5266054 / f798c2579fbd reflect: disallow Interface method on Value obtained via unexported name Had been allowing it for use by fmt, but it is too hard to lock down. Fix other packages not to depend on it. R=r, r CC=golang-dev https://golang.org/cl/5266054 »»» R=golang-dev, r CC=golang-dev https://golang.org/cl/5286051
2011-10-05[release-branch.r60] doc: document r60.2release.r60.2Andrew Gerrand
««« CL 5204041 / 1fb56f387a76 doc: document r60.2 R=rsc, dsymonds CC=golang-dev https://golang.org/cl/5204041 »»» R=bradfitz CC=golang-dev https://golang.org/cl/5204043
2011-10-05[release-branch.r60] doc: link to A Tour of GoAndrew Gerrand
««« CL 5181045 / bc48691295c8 doc: link to A Tour of Go R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/5181045 »»» R=dsymonds CC=golang-dev https://golang.org/cl/5203041
2011-10-05[release-branch.r60] doc: update tutorial.Andrew Gerrand
««« CL 5175052 / e144a6dec55e doc: update tutorial. Fix for new regexp library ($ isn't end of line any more). Don't assume . is in PATH. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5175052 »»» R=dsymonds CC=golang-dev https://golang.org/cl/5199042
2011-10-05[release-branch.r60] documentation: Debugging Go code with GDB tutorial.Andrew Gerrand
««« CL 5168046 / 320d83ed794a documentation: Debugging Go code with GDB tutorial. R=adg, cw, lvd CC=golang-dev https://golang.org/cl/5168046 »»» R=dsymonds CC=golang-dev https://golang.org/cl/5172053
2011-10-05[release-branch.r60] doc: link to image/draw blog post.Andrew Gerrand
««« CL 5154046 / 087a4bd61f20 doc: link to image/draw blog post. R=adg TBR=adg CC=golang-dev https://golang.org/cl/5154046 »»» R=dsymonds CC=golang-dev https://golang.org/cl/5202041
2011-10-05[release-branch.r60] doc: link to image blog postAndrew Gerrand
««« CL 5086048 / 09032e16d47c doc: link to image blog post R=golang-dev, r CC=golang-dev https://golang.org/cl/5086048 »»» R=dsymonds CC=golang-dev https://golang.org/cl/5201041
2011-10-03[release-branch.r60] runtime: fix map memory leakRuss Cox
««« CL 5158045 / aaf8ddb0c780 runtime: fix map memory leak The map implementation was using the C idiom of using a pointer just past the end of its table as a limit pointer. Unfortunately, the garbage collector sees that pointer as pointing at the block adjacent to the map table, pinning in memory a block that would otherwise be freed. Fix by making limit pointer point at last valid entry, not just past it. Reviewed by Mike Burrows. R=golang-dev, bradfitz, lvd, r CC=golang-dev https://golang.org/cl/5158045 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5169047
2011-09-19[release-branch.r60] doc: update release.r60.1 notesrelease.r60.1Andrew Gerrand
««« CL 5045045 / d101b482f64e doc: update release.r60.1 notes R=dsymonds CC=golang-dev https://golang.org/cl/5045045 »»» R=dsymonds CC=golang-dev https://golang.org/cl/5063041
2011-09-19[release-branch.r60] json: add struct tag option to wrap literals in stringsAndrew Gerrand
««« CL 4918051 / ba6daf799367 json: add struct tag option to wrap literals in strings Since JavaScript doesn't have [u]int64 types, some JSON APIs encode such types as strings to avoid losing precision. This adds a new struct tag option ",string" to cause fields to be wrapped in JSON strings on encoding and unwrapped from strings when decoding. R=rsc, gustavo CC=golang-dev https://golang.org/cl/4918051 »»» R=dsymonds CC=golang-dev https://golang.org/cl/5049043
2011-09-19[release-branch.r60] json: fix decode bug with struct tag names with ,opts ↵Andrew Gerrand
being ignored ««« CL 4965049 / f8e4df3c4048 json: fix decode bug with struct tag names with ,opts being ignored When the encoder was updated to respect the ",omitempty" struct tag options, the decoder half was never updated to know about the new struct tag format. (the format is now an optional name, followed by zero or more ",option" strings) This only affected people who used ",omitempty" along with a field name. In that case, the serialized JSON wouldn't decode to the original value. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/4965049 »»» R=dsymonds CC=golang-dev https://golang.org/cl/5029043
2011-09-15[release-branch.r60] doc: release.r60.1Andrew Gerrand
««« CL 5002041 / d21944c38c39 doc: release.r60.1 R=r CC=golang-dev https://golang.org/cl/5002041 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5019044
2011-09-13[release-branch.r60] doc: link to notable blog postsAndrew Gerrand
««« CL 4996041 / f6fdb6a54203 doc: link to notable blog posts R=golang-dev, r CC=golang-dev https://golang.org/cl/4996041 »»» R=dsymonds CC=golang-dev https://golang.org/cl/4969081
2011-09-13[release-branch.r60] misc/goplay: another template fixAndrew Gerrand
««« CL 4950063 / 775543b0795c misc/goplay: another template fix Fixes #2219. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4950063 »»» R=dsymonds CC=golang-dev https://golang.org/cl/5000041
2011-09-13[release-branch.r60] misc/goplay: Fix template outputAndrew Gerrand
««« CL 4960052 / da491846e511 misc/goplay: Fix template output Fixes #2219. R=golang-dev, r CC=golang-dev https://golang.org/cl/4960052 »»» R=dsymonds CC=golang-dev https://golang.org/cl/4960067
2011-09-12[release-branch.r60] ld: grow dwarf includestack on demand.Andrew Gerrand
««« CL 4988048 / c0abe3f34cec ld: grow dwarf includestack on demand. Fixes #2241 while not breaking issue 1878 again. R=rsc CC=golang-dev https://golang.org/cl/4988048 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4973075
2011-09-08[release-branch.r60] doc: release.r60release.r60Andrew Gerrand
««« CL 4981047 / c0fea223bc90 doc: release.r60 R=dsymonds, r, rsc CC=golang-dev https://golang.org/cl/4981047 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4961072
2011-09-08[release-branch.r60] template: indirect or dereference function arguments if ↵Andrew Gerrand
necessary to match the type of the formal. ««« CL 4967056 / a163a464ef59 template: indirect or dereference function arguments if necessary to match the type of the formal. Fixes #2235 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4967056 »»» R=dsymonds CC=golang-dev https://golang.org/cl/4992043
2011-09-08[release-branch.r60] template: fix deadlock.Andrew Gerrand
««« CL 4963054 / c581abafc917 template: fix deadlock. No need for lexInsideAction to loop. Fixes #2217. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4963054 »»» R=dsymonds CC=golang-dev https://golang.org/cl/4974068
2011-09-08[release-branch.r60] template: range over channelAndrew Gerrand
««« CL 4951046 / 379452c085ab template: range over channel R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4951046 »»» R=dsymonds CC=golang-dev https://golang.org/cl/4983052
2011-09-08[release-branch.r60] template: Grammar fix for template documentation.Andrew Gerrand
««« CL 4944043 / 6577cd4b870f template: Grammar fix for template documentation. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4944043 »»» R=dsymonds CC=golang-dev https://golang.org/cl/4978058
2011-09-08[release-branch.r60] exp/template: remove else and end nodes from public view.Andrew Gerrand
««« CL 4905052 / 508513bbf607 exp/template: remove else and end nodes from public view. They are used internally and do not appear in the final parse tree. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4905052 »»» R=dsymonds CC=golang-dev https://golang.org/cl/4951069
2011-09-08[release-branch.r60] gc: fix pc/line tableAndrew Gerrand
««« CL 4938042 / 5671737303a0 gc: fix pc/line table When a line directive was encountered we would push a new 'z' entry into the history to indicate the start of new file attributation, and a 'Z' entry to change line numbering. However we didn't pop the 'z' entry, so we were actually corrupting the history stack. The most obvious occurance of this was in the code that build the symbol tables for the DWARF information - where an internal stack in the linker would overflow when more than a few line directives were encountered in a single stack (Issue 1878). So now we pop the 'z' entry when we encounter the end of the file that the directive was in, which maintains the history stack integrity. Also, although new 'z' entries for new files had relative paths expanded, the same was not done for line directives. Now we do it for line directives also - so that the now correct DWARF information has the full path available. Fixes #1878. R=rsc CC=golang-dev https://golang.org/cl/4938042 »»» R=golang-dev CC=golang-dev https://golang.org/cl/4973069
2011-09-08[release-branch.r60] gofix: do not convert url in field namesAndrew Gerrand
««« CL 4972052 / 0f7a647510f9 gofix: do not convert url in field names There's some ambiguity in the U{url: url} case as it could be both a map or a struct literal, but given context it's more likely a struct, so U{url: url_} rather than U{url_: url_}. At least that was the case for me. R=golang-dev, rsc, adg CC=golang-dev https://golang.org/cl/4972052 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4962058
2011-09-08[release-branch.r60] gofix: forgot to rename the URL typeAndrew Gerrand
««« CL 4952041 / c51a2f3f897a gofix: forgot to rename the URL type Fixes #2182 R=golang-dev, gri CC=golang-dev https://golang.org/cl/4952041 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4951068
2011-09-08[release-branch.r60] gofix: osopen: fixed=true when changing O_CREATAndrew Gerrand
««« CL 4921047 / 15cefddbe963 gofix: osopen: fixed=true when changing O_CREAT R=rsc, r CC=golang-dev https://golang.org/cl/4921047 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4961071
2011-09-08[release-branch.r60] goinstall: select the tag that is closest to ↵Andrew Gerrand
runtime.Version ««« CL 4873057 / db63f3a1f992 goinstall: select the tag that is closest to runtime.Version release.r50 looks for newest tag <= go.r50 weekly.2010-10-10 looks for newest tag <= go.2010-10-10 Implements behavior for hg, git, and bzr. R=dsymonds, rsc, n13m3y3r CC=golang-dev https://golang.org/cl/4873057 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4974067
2011-09-08[release-branch.r60] goinstall: report lack of $GOPATH on errorsAndrew Gerrand
««« CL 4929047 / 7bfbbfb1ad42 goinstall: report lack of $GOPATH on errors Fixes #2175. R=alex.brainman, rsc, gustavo, adg CC=golang-dev https://golang.org/cl/4929047 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4964068
2011-09-08[release-branch.r60] goinstall: error out with paths that end with '/'Andrew Gerrand
««« CL 4807048 / ae3b2b092cf7 goinstall: error out with paths that end with '/' R=adg, rsc, tarmigan+golang CC=golang-dev https://golang.org/cl/4807048 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4968077
2011-09-08create release-branch.r60Andrew Gerrand
2011-08-18weekly.2011-08-17weekly.2011-08-17Andrew Gerrand
R=golang-dev, r CC=golang-dev https://golang.org/cl/4914042
2011-08-18gofix: walk names in ValueSpecsRob Pike
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4887048
2011-08-18test/chan/select5.go: change "with" to "if" in templateaRob Pike
I converted this program yesterday and the output is the same as it used to be, ignoring space, but the result is not the best expression of the algorithm. The old {.section Maybe} pieces are now {{with .Maybe}}, as a direct translation, but I they should be {{if .Maybe}} as the output is just a bool and there is no cascading. I have verified that the output of the program is unaffected. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4889053
2011-08-18misc/vim: command complete using autoload helper function.Yasuhiro Matsumoto
R=golang-dev, dsymonds, jnwhiteh, n13m3y3r, gustavo CC=golang-dev https://golang.org/cl/4837051
2011-08-18http: remove a TODO due to new behavior of nil mapsRob Pike
R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/4907049
2011-08-18exp/template/html: defines a parse context for a subset of HTML.Mike Samuel
This defines just enough context to distinguish HTML URI attributes from parsed character data. It does not affect any public module API as I thought I would get early comment on style for defining enumerations and tables. R=rsc, r, nigeltao, r CC=golang-dev https://golang.org/cl/4906043
2011-08-18doc/codelab: use new template packageAndrew Gerrand
R=golang-dev, r CC=golang-dev https://golang.org/cl/4897048
2011-08-17godoc: template cleanupRobert Griesemer
Use naming convention for template variables to indicate "escaped-ness" for easier reviewing. (per suggestion from bradfitz) R=bradfitz CC=golang-dev https://golang.org/cl/4914041
2011-08-17test: new nil semanticsRuss Cox
R=gri CC=golang-dev https://golang.org/cl/4644052
2011-08-17gc: implement nil chan supportRuss Cox
The spec has defined nil chans this way for months. I'm behind. R=ken2 CC=golang-dev https://golang.org/cl/4897050
2011-08-17gc: implement nil map supportRuss Cox
The spec has defined nil maps this way for months. I'm behind. R=ken2 CC=golang-dev https://golang.org/cl/4901052
2011-08-17gc: fix mkbuiltinRuss Cox
Broken by Plan 9 changes. R=ken2 CC=golang-dev https://golang.org/cl/4896050
2011-08-17go/parser: disallow for statements w/ illegal range clausesRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/4908047
2011-08-17net: Plan 9 supportFazlul Shahriar
All tests enabled by default passes except those in timeout_test.go. For TestLookupPort, add an entry for "bootps" in /lib/ndb/common (Plan 9 calls it "bootp"). I've sent out a patch to fix this. R=paulzhol, rsc, mikioh.mikioh CC=ality, golang-dev https://golang.org/cl/4779041
2011-08-17go/parser: do not accept type literals where not permitted in generalRobert Griesemer
- Resolves a long-standing TODO. - Replacement for CL 4908042 by befelemepeseveze@gmail.com Fixes #2155. R=rsc CC=golang-dev https://golang.org/cl/4904048
2011-08-17xml: escape string chardata in xml.MarshalKyle Lemons
Fixes #2150. R=golang-dev, nigeltao, rsc CC=golang-dev https://golang.org/cl/4890042
2011-08-17asn1: add support for unmarshalling structs with int32 membersDave Cheney
Also improve error message for unsupported integer types R=agl, rsc CC=golang-dev https://golang.org/cl/4873049
2011-08-17exp/norm: implementation of decomposition and composing functionality.Marcel van Lohuizen
forminfo.go: - Wrappers for table data. - Per Form dispatch table. composition.go: - reorderBuffer type. Implements decomposition, reordering, and composition. - Note: decompose and decomposeString fields in formInfo could be replaced by a pointer to the trie for the respective form. The proposed design makes testing easier, though. normalization.go: - Temporarily added panic("not implemented") methods to make the tests run. These will be removed again with the next CL, which will introduce the implementation. R=r, rogpeppe, mpvl, rsc CC=golang-dev https://golang.org/cl/4875043
2011-08-17test/chan/select5.go: update to new templatesRob Pike
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4911041