summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* doc: change "/s/..." links to be on golang.orgRuss Cox2014-11-061-8/+8
| | | | | | | | | | | | | | | People viewing this locally will not have a /s/ on their local godoc. tip.golang.org doesn't have one either. Also change all golang.org links to https, to avoid mixed content warnings when viewing https://golang.org/. Fixes issue 9028. LGTM=bradfitz, r R=r, bradfitz CC=adg, golang-codereviews https://codereview.appspot.com/168250043
* doc/go1.4.html: document new subrepo import pathsRuss Cox2014-11-051-9/+27
| | | | | | | LGTM=r, adg R=adg, r, 0xjnml, dr.volker.dobler CC=golang-codereviews https://codereview.appspot.com/166980044
* doc: document go get -f flag in 1.4 release notesAndrew Gerrand2014-11-031-0/+9
| | | | | | | LGTM=r, rsc R=r, rsc, adg CC=golang-codereviews https://codereview.appspot.com/168890043
* doc/go1.4.html: tweak http.Transport.DialTLS wordingBrad Fitzpatrick2014-10-301-2/+2
| | | | | | | | | It doesn't simplify, because it wasn't even possible before. LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/164250043
* doc/go1.4.html: fix typoMikio Hara2014-10-301-1/+1
| | | | | | | LGTM=adg R=r, adg CC=golang-codereviews https://codereview.appspot.com/165890043
* doc/go1.4.html: final library changesRob Pike2014-10-291-21/+129
| | | | | | | | | First draft now complete. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://codereview.appspot.com/170750043
* doc/go1.4.html: gccgo statusRob Pike2014-10-291-9/+8
| | | | | | | LGTM=iant, cmang R=cmang, iant, rsc CC=golang-codereviews https://codereview.appspot.com/169760043
* doc/go1.4.html: half of the small library changesRob Pike2014-10-291-31/+135
| | | | | | | LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://codereview.appspot.com/165090043
* doc/go1.4.html: GODEBUG and assembler changesRob Pike2014-10-281-9/+56
| | | | | | | LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://codereview.appspot.com/160660046
* doc/go1.4.html: breaking compiler change, no plugins in miscRob Pike2014-10-281-6/+50
| | | | | | | LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://codereview.appspot.com/166850043
* doc/asm: explain coordination with garbage collectorRuss Cox2014-10-281-20/+111
| | | | | | | | | | | Also a few other minor changes. Fixes issue 8712. LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/164150043
* doc/go1.4.html: new portsRob Pike2014-10-281-8/+31
| | | | | | | LGTM=rsc, aram, minux R=golang-codereviews, aram, minux, rsc CC=golang-codereviews https://codereview.appspot.com/162370045
* doc/go1.4.html: vanity imports and internal packagesRob Pike2014-10-281-14/+93
| | | | | | | LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://codereview.appspot.com/165800043
* doc/go1.4.html: much of the go command's changesRob Pike2014-10-271-38/+114
| | | | | | | | | still need to do internal and import comments LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://codereview.appspot.com/160600043
* doc/go1.4.html: runtime and performanceRob Pike2014-10-271-4/+77
| | | | | | | LGTM=adg, rsc R=golang-codereviews, adg, bradfitz, dave, rsc CC=golang-codereviews https://codereview.appspot.com/164090044
* doc/go_mem.html: don't be cleverRob Pike2014-10-271-0/+23
| | | | | | | | | | | | Add a short introductory section saying what most Go programmers really need to know, which is that you shouldn't have to read this document to understand the behavior of your program. LGTM=bradfitz, adg, tracey.brendan, iant, rsc, dsymonds R=golang-codereviews, bradfitz, tracey.brendan, adg, iant, rsc, dsymonds CC=golang-codereviews https://codereview.appspot.com/158500043
* spec: permit parentheses around builtin function namesRobert Griesemer2014-10-271-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not a language change. This is simply documenting the status quo which permits builtin function names to be parenthesized in calls; e.g., both len(s) and (((len)))(s) are accepted by all compilers and go/types. Changed the grammar by merging the details of BuiltinCall with ordinary Calls. Also renamed the Call production to Arguments which more clearly identifies that part of the grammar and also matches better with its counterpart on the declaration side (Parameters). The fact that the first argument can be a type (for builtins) or cannot be a type (for regular function calls) is expressed in the prose, no need to make the grammar more complicated. Fixes issue 9001. LGTM=iant, r, rsc R=r, rsc, iant, ken, dave CC=golang-codereviews https://codereview.appspot.com/160570043
* doc/go1.4.html: first pieces of release notesRob Pike2014-10-272-53/+256
| | | | | | | | | | Move the release notes into an HTML file. Start writing the text. LGTM=rsc R=golang-codereviews, bradfitz, kamil.kisiel, tracey.brendan, rsc CC=golang-codereviews https://codereview.appspot.com/161350043
* doc/go_faq.html: fix a couple of nitsRob Pike2014-10-261-2/+2
| | | | | | | | | Wrong article, one stylistic point that bothers someone (but not me). LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/156680043
* doc/go1.4.txt: unsafe is outside go1 compatibility guaranteesRob Pike2014-10-241-1/+2
| | | | | CC=golang-codereviews https://codereview.appspot.com/164770043
* unsafe: document that unsafe programs are not protectedRob Pike2014-10-241-0/+8
| | | | | | | | | | | | The compatibility guideline needs to be clear about this even though it means adding a clause that was not there from the beginning. It has always been understood, so this isn't really a change in policy, just in its expression. LGTM=bradfitz, gri, rsc R=golang-codereviews, bradfitz, gri, rsc CC=golang-codereviews https://codereview.appspot.com/162060043
* doc/go1.4: encoding/csvRuss Cox2014-10-241-0/+1
| | | | | CC=golang-codereviews https://codereview.appspot.com/162140043
* spec: minimal documention of unsafe.Pointer conversionsRobert Griesemer2014-10-231-5/+6
| | | | | | | | | | | | Per suggestion from rsc as a result of the dicussion of (abandoned) CL 153110044. Fixes issue 7192. LGTM=r, rsc, iant R=r, rsc, iant, ken CC=golang-codereviews https://codereview.appspot.com/163050043
* gccgo_install.html: the 4.9 release series supports Go 1.2Ian Lance Taylor2014-10-221-0/+4
| | | | | | | LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/163760043
* doc/go1.4.txt: add compress/* Reset noteBrad Fitzpatrick2014-10-201-0/+1
| | | | | CC=golang-codereviews https://codereview.appspot.com/156430043
* doc/go1.4.txt: flags can now be set at most onceRob Pike2014-10-191-0/+1
| | | | | CC=golang-codereviews https://codereview.appspot.com/161820043
* spec: define "variable"Robert Griesemer2014-10-161-25/+78
| | | | | | | | | Fixes issue 8496. LGTM=rsc, r, iant R=r, rsc, iant, ken CC=golang-codereviews https://codereview.appspot.com/148580043
* go1.4: add note about change to bufio.SplitFunc at EOFIan Lance Taylor2014-10-121-0/+1
| | | | | CC=golang-codereviews https://codereview.appspot.com/159800044
* doc: use "keyed" instead of "tagged" in Go 1 compatibility docAndrew Gerrand2014-10-081-5/+5
| | | | | | | LGTM=bradfitz, r R=r, bradfitz CC=golang-codereviews https://codereview.appspot.com/156730043
* doc/go1.4.txt: useless change to tickle buildersBrad Fitzpatrick2014-10-061-1/+1
| | | | | | | | Debugging the builders and need a commit to make them run. R=adg CC=golang-codereviews https://codereview.appspot.com/149600043
* doc/go1.4.txt: GOOS suffixes require underscores to act as build tagsRob Pike2014-10-061-0/+1
| | | | | CC=golang-codereviews https://codereview.appspot.com/151490043
* doc/go1.4: document memory consumption reductionDmitriy Vyukov2014-10-041-1/+1
| | | | | | R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/149370043
* doc/go1.4.txt: fmt: document printing of &map rather than just pointerRob Pike2014-10-031-0/+1
| | | | | CC=golang-codereviews https://codereview.appspot.com/152160043
* doc/go1.4: mention that we are going to need a new version of SWIGIan Lance Taylor2014-10-031-0/+1
| | | | | | | Update issue 8750 CC=golang-codereviews https://codereview.appspot.com/153950044
* doc/go_faq.html: explain the policy about unused imports a little betterRob Pike2014-10-011-5/+8
| | | | | | | | | This new text won't stop the whining but it might focus the whining a little more. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://codereview.appspot.com/146680044
* doc: document go1.3.3Andrew Gerrand2014-10-011-0/+5
| | | | | | | LGTM=r R=r CC=golang-codereviews https://codereview.appspot.com/149280044
* spec: clarify variable declaration type rulesRobert Griesemer2014-09-301-33/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not a language change. Several inaccuracies were fixed: 1) A variable declaration may declare more than just one variable. 2) Variable initialization follows the rules of assignments, including n:1 assignments. The existing wording implied a 1:1 or n:n rule and generally was somewhat unspecific. 3) The rules for variable declarations with no types and untyped initialization expressions had minor holes (issue 8088). 4) Clarified the special cases of assignments of untyped values (we don't just have untyped constants, but also untyped bools, e.g. from comparisons). The new wording is more direct. To that end, introduced the notion of an untyped constant's "default type" so that the same concept doesn't have to be repeatedly introduced. Fixes issue 8088. LGTM=iant, r, rsc R=r, rsc, iant, ken CC=golang-codereviews https://codereview.appspot.com/142320043
* spec: specify variable initialization order explicitlyRobert Griesemer2014-09-291-16/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing spec rules on package initialization were contradictory: They specified that 1) dependent variables are initialized in dependency order, and 2) independent variables are initialized in declaration order. This 2nd rule cannot be satisfied in general. For instance, for var ( c = b + 2 a = 0 b = 1 ) because of its dependency on b, c must be initialized after b, leading to the partial order b, c. Because a is independent of b but is declared before b, we end up with the order: a, b, c. But a is also independent of c and is declared after c, so the order b, c, a should also be valid in contradiction to a, b, c. The new rules are given in form of an algorithm which outlines initialization order explicitly. gccgo and go/types already follow these rules. Fixes issue 8485. LGTM=iant, r, rsc R=r, rsc, iant, ken, gordon.klaus, adonovan CC=golang-codereviews https://codereview.appspot.com/142880043
* doc/faq: update for 1.4Rob Pike2014-09-271-15/+38
| | | | | | | LGTM=iant R=golang-codereviews, bradfitz, iant CC=golang-codereviews https://codereview.appspot.com/150190043
* doc/go1.4: go test builds + links all test files (CL 150980043)Russ Cox2014-09-261-0/+1
| | | | | CC=golang-codereviews https://codereview.appspot.com/144660043
* doc/go1.4: add some cmd/go changesRuss Cox2014-09-261-0/+2
| | | | | CC=golang-codereviews https://codereview.appspot.com/143650043
* doc: document Go 1.3.2Andrew Gerrand2014-09-261-0/+5
| | | | | | LGTM=r R=r, rsc, iant, agl https://codereview.appspot.com/142650045
* doc/gopher: add biplane.jpgRob Pike2014-09-251-0/+0
| | | | | | | LGTM=0intro R=golang-codereviews, 0intro CC=golang-codereviews https://codereview.appspot.com/150960043
* spec: clarify scope and re-use of iteration variablesRobert Griesemer2014-09-251-1/+2
| | | | | | | | | Fixes issue 7834. LGTM=iant, rsc, r R=r, rsc, iant, ken CC=golang-codereviews https://codereview.appspot.com/148940044
* spec: clarify embedding of interfacesRobert Griesemer2014-09-251-12/+19
| | | | | | | | | Fixes issue 7886. LGTM=iant, r, rsc R=r, iant, rsc, ken CC=golang-codereviews https://codereview.appspot.com/149010043
* doc/go1.4.txt: document that C sources in non-cgo packages are no longer allowedRuss Cox2014-09-241-0/+1
| | | | | CC=golang-codereviews https://codereview.appspot.com/145890046
* doc/go1.4.txt: text/template comparison functions allow int==uintRob Pike2014-09-221-0/+1
| | | | | CC=golang-codereviews https://codereview.appspot.com/142450043
* spec: add dropped commaRob Pike2014-09-191-1/+1
| | | | | | | | | The proposed text in the last CL had a comma that was missing from the submitted spec. LGTM=gri R=gri CC=golang-codereviews https://codereview.appspot.com/150720043
* spec: clarify panic behavior when deferring nil functionsRobert Griesemer2014-09-191-4/+7
| | | | | | | | | Fixes issue 8107. LGTM=iant, rsc, r R=r, rsc, iant, ken CC=golang-codereviews https://codereview.appspot.com/145960043
* cmd/go, testing: add TestMain supportRuss Cox2014-09-191-0/+1
| | | | | | | | | Fixes issue 8202. LGTM=r, bradfitz R=r, josharian, bradfitz CC=golang-codereviews https://codereview.appspot.com/148770043