Peter Mundy
5928e1d4dc
doc: fix go_spec spelling errors
...
R=gri
CC=golang-dev
https://golang.org/cl/2970042
2010-11-09 10:10:57 -08:00
Peter Mundy
9626180918
doc: fix go_spec spelling error
...
R=rsc, gri
CC=golang-dev
https://golang.org/cl/2985041
2010-11-09 08:46:13 -08:00
Andrey Mirtchovski
f1af2ecbab
doc/codewalk: update for changes in log package
...
R=adg, r
CC=golang-dev
https://golang.org/cl/2984041
2010-11-08 09:58:57 -08:00
Nigel Tao
fc98af93ac
doc: make root.html's blog section less cluttered.
...
R=r
CC=golang-dev
https://golang.org/cl/2925041
2010-11-05 16:13:58 +11:00
Robert Griesemer
d73d1c5f32
go spec: line comments may end in EOF
...
Consistency argument: A valid Go program should
remain valid after stripping leading and trailing
whitespace. This was not true so far if the last
text in the source was a line comment.
R=iant, ken2, r, rsc, r2
CC=golang-dev
https://golang.org/cl/2906041
2010-11-04 13:48:32 -07:00
Rob Pike
70d0b6b242
Effective Go: correct error in recent edit: "..." is in call to Sprintln, not Output.
...
R=rsc, gri
CC=golang-dev
https://golang.org/cl/2853042
2010-11-03 11:09:43 -07:00
Andrew Gerrand
1e86d46a76
release.2010-11-02
...
R=golang-dev, gri, r2, r
CC=golang-dev
https://golang.org/cl/2846041
2010-11-03 11:49:22 +11:00
Rob Pike
0808b199e0
Effective Go: append and a few words about ...
...
R=rsc, gri, iant
CC=golang-dev
https://golang.org/cl/2821041
2010-11-01 21:46:04 -07:00
Robert Griesemer
11684680fa
go spec: append is now implemented
...
R=r, r2
CC=golang-dev
https://golang.org/cl/2717043
2010-10-29 11:44:48 -07:00
Andrew Gerrand
9e4031ae56
release.2010-10-27
...
R=rsc
CC=golang-dev
https://golang.org/cl/2747044
2010-10-28 11:19:52 +11:00
Robert Griesemer
904adfdc46
go spec: clarify return type of append, argument type for ...T parameters
...
R=iant, ken2, r, rsc
CC=golang-dev
https://golang.org/cl/2774041
2010-10-27 10:44:31 -07:00
Robert Griesemer
a8abb64a71
go spec: note re: append() not being implemented yet
...
R=rsc
CC=golang-dev
https://golang.org/cl/2761041
2010-10-26 20:30:35 -07:00
Russ Cox
e8bde0ec19
install doc: arm is a little better
...
R=adg, r, r2
CC=golang-dev
https://golang.org/cl/2749041
2010-10-26 08:34:40 -07:00
Andrew Gerrand
e9860628ee
doc: update roadmap
...
R=rsc
CC=golang-dev
https://golang.org/cl/2735042
2010-10-26 16:29:21 +11:00
Andrew Gerrand
d7424b1a71
doc: update roadmap
...
R=r, rsc, iant
CC=golang-dev
https://golang.org/cl/2312042
2010-10-26 16:18:12 +11:00
Robert Griesemer
07e983a965
go spec: append built-in
...
R=iant, ken2, r, rsc
CC=golang-dev
https://golang.org/cl/2627043
2010-10-25 16:50:31 -07:00
Robert Griesemer
425bbadd3c
go_spec: allow copy() to copy bytes from a string into a []byte
...
(language change as discussed a while ago)
R=iant, ken2, r, rsc
CC=golang-dev
https://golang.org/cl/2716041
2010-10-25 16:41:06 -07:00
Robert Griesemer
a12141e5f4
go spec: relaxed syntax for array, slice, and map composite literals
...
For elements which are themselves composite literals, the type may
be omitted if it is identical to the element type of the containing
composite literal.
R=r, rsc, iant, ken2
CC=golang-dev
https://golang.org/cl/2661041
2010-10-22 08:58:52 -07:00
Andrew Gerrand
a89b0ed7e4
playground: s/it/this/
...
R=r, r2
CC=golang-dev
https://golang.org/cl/2663041
2010-10-22 10:49:29 +11:00
Andrew Gerrand
7de5e6e84d
go_tutorial: change wording slightly and sync .txt and .html post-gofmt
...
Fixes #1211 .
R=r, r2
CC=golang-dev
https://golang.org/cl/2635041
2010-10-21 14:59:23 +11:00
Andrew Gerrand
ec2c9937f4
release.2010-10-20
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/2629041
2010-10-21 11:33:41 +11:00
Rob Pike
122fc3b5b7
fix bug in example. need to convert Value to float in Abs example
...
R=adg
CC=golang-dev
https://golang.org/cl/2486043
2010-10-18 16:05:50 -07:00
Andrew Gerrand
6b21949a91
release.2010-10-13.1
...
R=r, r2
CC=golang-dev
https://golang.org/cl/2493043
2010-10-15 12:05:05 +11:00
Andrew Gerrand
1748dc34e7
doc: add The Expressiveness of Go talk to docs.html
...
R=r, r2
CC=golang-dev
https://golang.org/cl/2494042
2010-10-14 17:25:23 +11:00
Andrew Gerrand
39ee9a0396
release.2010-10-13
...
R=r, rsc, r2
CC=golang-dev
https://golang.org/cl/2499041
2010-10-14 14:52:08 +11:00
Rob Pike
e787f8276d
Effective Go: update examples to use new logging interface.
...
R=adg
CC=golang-dev
https://golang.org/cl/2468041
2010-10-12 16:56:50 -07:00
Andrew Gerrand
96868c70ea
doc: add Sydney University video, fix hlint warnings
...
R=r, r2, rsc, uriel
CC=golang-dev
https://golang.org/cl/2433042
2010-10-13 09:15:28 +11:00
Rob Pike
4138fdd850
playground.html: filesystem is not a word.
...
R=adg, rsc
CC=golang-dev
https://golang.org/cl/2370043
2010-10-06 23:56:13 +02:00
Russ Cox
bee2d5b0ad
gc, spec, tests: no auto-indirect of pointer to interface value
...
Implies no embedding of pointer to interface value either.
R=gri, iant, ken2, r, r2
CC=golang-dev
https://golang.org/cl/2289041
2010-09-30 14:59:41 -04:00
Andrew Gerrand
ab5b4283f7
release.2010-09-29
...
R=golang-dev, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/2329041
2010-09-30 17:33:07 +10:00
Andrew Gerrand
6b2c7ffbab
doc: add to and consolidate non-english doc references
...
R=r, r2
CC=golang-dev
https://golang.org/cl/2315042
2010-09-30 13:43:09 +10:00
Stephen Ma
a2332a32b8
doc: update http handler usage for new signature
...
R=adg, r2
CC=golang-dev
https://golang.org/cl/2302041
2010-09-30 13:19:33 +10:00
Andrew Gerrand
5ec55c5134
doc: faq updates part one
...
R=r, r2
CC=golang-dev
https://golang.org/cl/2301041
2010-09-30 11:23:39 +10:00
Robert Griesemer
686490ce17
install.html: minor sentence fix
...
R=r, r2
CC=golang-dev
https://golang.org/cl/2312041
2010-09-29 12:34:24 -07:00
Rob Pike
1edfb4cc75
Effective Go: update for new http interface.
...
R=rsc, stephenm
CC=golang-dev
https://golang.org/cl/2310041
2010-09-29 11:12:52 -07:00
Andrew Gerrand
4164d60cc2
doc: consolidate FAQs into a single file, go_faq.html
...
An entirely mechanical change, with these exceptions:
- removed 'stub questions' that reference the other FAQs
- removed "Why doesn't Go run on Windows yet?" - out of date
I will follow this CL with another that updates many of the
answers to make them more current.
R=r
CC=golang-dev
https://golang.org/cl/2300041
2010-09-29 16:52:22 +10:00
Robert Griesemer
5474e166bc
go spec: clarifications for range clause
...
R=iant, r, rsc, rog
CC=golang-dev
https://golang.org/cl/2226047
2010-09-28 14:44:19 -07:00
Russ Cox
00ffd59c1a
gc: fix reflect table method receiver
...
Fixes #451 .
Fixes #770 .
R=ken2
CC=golang-dev
https://golang.org/cl/2207045
2010-09-28 13:43:50 -04:00
Robert Griesemer
0e66a13d10
go_spec: EOF may insert a semicolon
...
R=rsc, r, iant
CC=golang-dev
https://golang.org/cl/2266043
2010-09-27 18:59:11 -07:00
Robert Griesemer
ac771a8a47
go spec: ... changes
...
Also: Fixed a bug in the BuiltinCall production.
R=iant, r, rsc
CC=golang-dev
https://golang.org/cl/2278041
2010-09-24 14:08:28 -07:00
Andrew Gerrand
71ee385ddf
release.2010-09-22
...
R=r
CC=golang-dev
https://golang.org/cl/2208046
2010-09-23 11:49:47 +10:00
Russ Cox
b7cb844ac8
build: make all.bash run on Ubuntu ARM
...
Sent from my phone.
R=adg
CC=golang-dev
https://golang.org/cl/2192049
2010-09-22 15:30:42 +10:00
Andrew Gerrand
c23f647e84
doc: variable-width layout
...
The front page remains fixed-width.
All other pages should look good in windows >=500px wide.
Includes additional styles for search result highlighting,
code comments, and general CSS clean-ups.
Tested with Chrome 6, Firefox 3.6, IE 7, and IE 8.
R=gri, r
CC=golang-dev
https://golang.org/cl/2229041
2010-09-22 10:43:01 +10:00
Joe Poirier
d4c8a54579
doc: fix typo in go_spec.html
...
R=rsc
CC=golang-dev
https://golang.org/cl/2250041
2010-09-20 10:51:05 -07:00
Rob Pike
b6ad32b183
doc/go_mem.html: update location of "once".
...
Fixes #1118 .
R=rsc
CC=golang-dev
https://golang.org/cl/2225044
2010-09-20 07:37:41 +10:00
Andrew Gerrand
7757fcc17a
doc: fix typo in go_for_cpp_programmers.html
...
R=rsc, gri
CC=golang-dev
https://golang.org/cl/2191043
2010-09-17 12:39:01 +10:00
Andrew Gerrand
4e84006e80
release.2010-09-15
...
R=r
CC=golang-dev
https://golang.org/cl/2227041
2010-09-16 14:02:24 +10:00
Andrew Gerrand
6ab8d24d72
golang.org redesign
...
R=r, rsc, gri
CC=golang-dev, iant, ken2, lvd, nigeltao_golang, stephenm
https://golang.org/cl/2182042
2010-09-16 14:01:02 +10:00
Andrew Gerrand
34fc24f4e5
doc: fix typo in Programming FAQ
...
R=rsc, r2
CC=golang-dev
https://golang.org/cl/2186041
2010-09-14 13:33:27 +10:00
Rob Pike
781462dc46
doc/tutorial: update for slice changes.
...
Awaiting the lower-bound change before checkin.
Fixes #1067 .
R=rsc, iant, gri
CC=golang-dev
https://golang.org/cl/2105043
2010-09-10 13:53:18 +10:00
Robert Griesemer
9e5bf27acb
go_spec: consistent use of 'low', 'high' in slices section
...
Also: Added examples for slices with omitted index expressions.
R=r, rsc
CC=golang-dev
https://golang.org/cl/2106047
2010-09-07 16:32:35 -07:00
Scott Lawrence
0c1695b42e
spec: Allow omission of low slice bound
...
See also https://golang.org/cl/1957045/
R=gri, rsc, r
CC=golang-dev
https://golang.org/cl/2163042
2010-09-07 14:30:17 -07:00
Robert Griesemer
947e2180e9
go_spec: fix typo (pointed out by Hiroshi Iwatani)
...
R=iant
CC=golang-dev
https://golang.org/cl/2128045
2010-09-07 11:14:36 -07:00
Andrew Gerrand
863ba0427b
release.2010-09-06
...
R=r
CC=golang-dev
https://golang.org/cl/2141043
2010-09-07 16:09:20 +10:00
Rob Pike
cd8f4cd206
tutorial: regenerate HTML to pick up change to progs/file.go.
...
Fixes #1075 .
R=gri
CC=golang-dev
https://golang.org/cl/2104048
2010-09-04 10:22:49 +10:00
Robert Griesemer
c423e95da6
go spec clarification: arrays must be addressable to be sliceable
...
R=rsc
CC=golang-dev, r
https://golang.org/cl/2141041
2010-09-02 10:16:31 -07:00
Rob Pike
cb2730e60c
spec: delete spurious space (missed fix from previous review)
...
No semantic change.
R=rsc
CC=golang-dev
https://golang.org/cl/2099041
2010-09-01 10:48:45 +10:00
Rob Pike
68f1609eb4
spec: fix a couple of tiny glitches
...
R=gri, rsc
CC=golang-dev
https://golang.org/cl/2078041
2010-09-01 10:40:50 +10:00
Nigel Tao
724b66fb15
doc: add round-robin flag to io2010 balance example.
...
R=r
CC=golang-dev
https://golang.org/cl/2050042
2010-08-31 11:00:43 +10:00
Christian Himpel
5c603dbb75
build: remove unnecessary references to GOBIN and GOROOT
...
All scripts and makefiles assume that GOBIN is correctly set
in PATH.
R=rsc
CC=golang-dev
https://golang.org/cl/2043041
2010-08-30 15:40:56 -04:00
Scott Lawrence
76dccbc2ed
doc: various changes for validating HTML
...
(Fixes missing tags, extra tags, missing attributes, and such found by tidy -e)
R=golang-dev, adg1, adg
CC=golang-dev
https://golang.org/cl/2039043
2010-08-30 09:58:27 +10:00
James Fysh
089ce17093
Documentation: Fix a bug in the example in Constants subsection
...
Not a bug per-se, the issue is that the fmt.Sprintf method inside the
ByteSize.String() method ends up calling itself to generate the String
representation of the ByteSize value. Infinite loops are bad.
Updated as per review comments
R=r
CC=golang-dev
https://golang.org/cl/1974046
2010-08-28 07:54:16 +10:00
Andrew Gerrand
20198d69f9
doc: fix margins in root.html
...
R=rsc, r2
CC=golang-dev
https://golang.org/cl/2041041
2010-08-27 14:14:42 +10:00
Andrew Gerrand
099243497a
doc: remove console.log line from root.html
...
R=r, rsc1
CC=golang-dev
https://golang.org/cl/2040041
2010-08-27 13:46:59 +10:00
Andrew Gerrand
91a141675f
doc: fix wiki codelab title and srcextract.go
...
R=r, rsc1
CC=golang-dev
https://golang.org/cl/1953048
2010-08-27 11:02:54 +10:00
Andrew Gerrand
f34e191691
doc/go_learning: add links to more German docs
...
R=r
CC=golang-dev
https://golang.org/cl/1933045
2010-08-26 10:17:14 +10:00
Andrew Gerrand
deb00ac3f4
release.2010-08-25
...
R=rsc
CC=golang-dev
https://golang.org/cl/2009043
2010-08-25 14:58:29 +10:00
Russ Cox
86920ad81d
build: update, streamline documentation for new $GOBIN
...
R=adg, r
CC=golang-dev
https://golang.org/cl/2025041
2010-08-24 20:00:50 -04:00
Rob Pike
7ddbe79842
effective go: fix errors caught by HaWe
...
R=rsc
CC=golang-dev
https://golang.org/cl/1959043
2010-08-24 12:37:51 +10:00
Ian Lance Taylor
659966a988
doc: Update gccgo information for recent changes.
...
R=r
CC=golang-dev
https://golang.org/cl/1941052
2010-08-23 17:50:30 -07:00
Christopher Wedgwood
c80746aa90
doc: add missing paren (pointed out by nbjoerg)
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/1983045
2010-08-19 10:03:58 +10:00
Russ Cox
da392d9136
build: no required environment variables
...
R=adg, r, PeterGo
CC=golang-dev
https://golang.org/cl/1942044
2010-08-18 10:08:49 -04:00
Rob Pike
132d2f11a8
spec: delete erroneous word 'pointer' in specification of select.
...
R=gri
CC=golang-dev
https://golang.org/cl/1960044
2010-08-16 06:42:41 +10:00
Stephen Ma
0d40e40f5e
spec: trivial syntax fix
...
R=golang-dev
CC=golang-dev
https://golang.org/cl/1982042
2010-08-14 10:27:24 +10:00
Andrew Gerrand
9e23f2b2ce
release.2010-08-11
...
R=rsc
CC=golang-dev
https://golang.org/cl/1954044
2010-08-12 15:51:11 +10:00
Andrew Gerrand
a1e3826730
release.2010-08-04
...
R=rsc
CC=golang-dev
https://golang.org/cl/1892049
2010-08-05 13:18:49 +10:00
Rob Pike
e45b58fe96
os: change the type of permissions argument for Open etc. to uint32.
...
Besides being more correct, it protects against people accidentally
exchanging the permission and open mode arguments to Open.
R=rsc
CC=golang-dev
https://golang.org/cl/1904045
2010-08-04 08:34:52 +10:00
Andrew Gerrand
b5d84bb0cf
release.2010-07-29
...
R=rsc
CC=golang-dev
https://golang.org/cl/1907045
2010-07-30 14:48:30 +10:00
Robert Griesemer
07cc6440dc
go_spec: don't allow parens around the literal type of composite literals
...
Background: The current spec is imprecise with respect to the parsing ambiguity
for composite literals: It says that the ambiguity arises when the TypeName form
of the LiteralType is used. The following code:
if (B) {} ...
is not using the TypeName form (but the parenthesized TypeName form) and thus
could be interpreted as:
if ((B){}) ...
instead of
if B {} ...
Both compilers and gofmt choose the latter interpretation. One could fix the
spec by making the clause regarding the parsing ambiguity more precise ("...using
the _possibly parenthesized_ TypeName form of the LiteralType..."). The alternative
(chosen here) is to simply disallow parenthesized literal types. Except for a single
test case (test/parentype.go) there appears to be no Go code under $GOROOT containing
parenthesized literal types. Furthermore, parentheses are never needed around a
literal type for correct parsing.
R=golang-dev
CC=golang-dev
https://golang.org/cl/1913041
2010-07-29 18:13:41 -07:00
Andrew Gerrand
bab711b184
doc: update front page and go_learning.html
...
This is a stop-gap change to give more current information visibility
before a more thorough reorganization.
R=r, rsc, gri
CC=golang-dev
https://golang.org/cl/1902042
2010-07-30 10:36:13 +10:00
Andrew Gerrand
88fc337fa2
spec: add recover to predeclared identifiers list
...
R=gri
CC=golang-dev
https://golang.org/cl/1894043
2010-07-27 15:03:30 +10:00
Vinu Rajashekhar
658d521358
gccgo_install.html: Description of the port to RTEMS added.
...
R=iant, r
CC=gofrontend-dev, golang-dev, joel.sherrill
https://golang.org/cl/1846047
2010-07-20 00:06:20 -07:00
Andrew Gerrand
7317c10f5e
release.2010-07-14
...
R=rsc
CC=golang-dev
https://golang.org/cl/1844041
2010-07-15 13:04:04 +10:00
Robert Griesemer
dc60c5a7ec
go spec: clarification of channel close()
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/1766042
2010-07-14 16:09:22 -07:00
Rob Pike
708d7160fa
tutorial: show how to compile helloworld3, which depends on ./file
...
make shell prompts consistent
R=rsc
CC=golang-dev
https://golang.org/cl/1824042
2010-07-14 13:29:12 -07:00
Rob Pike
041d11623f
Go specification: Lock down some details about channels and select:
...
- nil channel in regular send or receive panics
- empty select blocks forever
R=rsc, gri, iant, ken2
CC=golang-dev
https://golang.org/cl/1825043
2010-07-13 16:23:54 -07:00
Robert Griesemer
0c2e6b3637
go spec: specify len/cap for nil slices, maps, and channels
...
Fixes #891 .
R=r, rsc
CC=golang-dev
https://golang.org/cl/1760043
2010-07-13 11:54:57 -07:00
Robert Griesemer
73ca127e67
go/spec: fix typo
...
R=r
CC=golang-dev
https://golang.org/cl/1790041
2010-07-09 13:02:54 -07:00
Andrew Gerrand
eca2ec0786
doc/go_tutorial: mention order of compilation
...
In response to this recurring issue:
http://groups.google.com/group/golang-nuts/t/710d1e8347cd51fa
R=r
CC=golang-dev
https://golang.org/cl/1682050
2010-07-05 16:25:29 +10:00
Andrew Gerrand
520d5db4d3
Add various items to the Go Resources page.
...
R=r
CC=golang-dev
https://golang.org/cl/1674045
2010-07-02 13:32:02 +10:00
Russ Cox
f4429181df
spec: restrict when len(x) is constant
...
R=gri, iant, ken2, r
CC=golang-dev
https://golang.org/cl/1687047
2010-07-01 17:49:47 -07:00
Andrew Gerrand
4abbd32b53
release.2010-07-01
...
R=rsc
CC=golang-dev
https://golang.org/cl/1741047
2010-07-02 10:36:43 +10:00
Andrew Gerrand
71675c6fa0
doc/codewalk: Share Memory By Communicating
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/1727043
2010-06-30 16:56:30 +10:00
Andrew Gerrand
983353e79b
release.2010-06-21
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/1717046
2010-06-21 23:16:38 +01:00
Russ Cox
e495351ff7
spec: struct tags must be identical for types to be identical
...
We didn't mention this explicitly during our discussions,
but I think it fits the "identical types are spelled identically"
rule that we used.
R=gri, iant, ken2, r, rsc1
CC=golang-dev
https://golang.org/cl/1698043
2010-06-21 12:42:33 -07:00
Rob Pike
4fd7880d81
Effective Go: minor change to correct a comment in an example
...
R=rsc
CC=golang-dev
https://golang.org/cl/1689042
2010-06-18 20:33:03 -07:00
Rob Pike
99b23a1e5b
Effective Go: panic and recover
...
R=rsc, iant
CC=golang-dev
https://golang.org/cl/1718042
2010-06-18 10:52:37 -07:00
Rob Pike
050905b985
Effective Go: add a section on defer.
...
R=rsc, iant
CC=golang-dev
https://golang.org/cl/1694044
2010-06-16 13:47:36 -07:00
Rob Pike
6c08859b0e
Effective Go: update ... discussion.
...
R=rsc
CC=golang-dev
https://golang.org/cl/1698041
2010-06-14 22:40:35 -07:00
Rob Pike
b9055629c1
tutorial: update discussion of variadic functions
...
R=rsc
CC=golang-dev
https://golang.org/cl/1677042
2010-06-14 12:27:22 -07:00