Commit Graph

692 Commits

Author SHA1 Message Date
Joe Poirier
d37e87c1b2 gp_spec typo fix: code example in the "Handling panics" section
R=rsc, adg
CC=golang-dev
https://golang.org/cl/881047
2010-04-08 10:25:57 +10:00
Rob Pike
a3db32d2a6 Language FAQ: editing tweaks after iant.
R=iant
CC=golang-dev
https://golang.org/cl/874043
2010-04-07 16:13:14 -07:00
Rob Pike
956926ee31 Language FAQ: update the entry on exceptions.
R=rsc, iant
CC=golang-dev
https://golang.org/cl/824045
2010-04-07 16:03:12 -07:00
David Symonds
cc99ba0a96 doc/go_mem: remove semicolons
R=adg
CC=golang-dev
https://golang.org/cl/893041
2010-04-06 11:14:44 +10:00
Andrew Gerrand
fb2758167f programming_faq: added question on T vs *T method sets
Adding this question on Russ' recommendation - not sure if
there is some detail here I'm missing.

The associated discussion was:
http://groups.google.com/group/golang-nuts/t/ec6b27e332ed7f77

R=rsc, r
CC=golang-dev
https://golang.org/cl/887042
2010-04-05 18:17:08 +10:00
Robert Griesemer
d4a1619733 go spec: correct clarification of type declaration
R=rsc, r
CC=golang-dev
https://golang.org/cl/855043
2010-04-01 12:48:34 -07:00
Robert Griesemer
735e00d4a0 go spec: clarification of type declarations
R=r, rsc
CC=golang-dev
https://golang.org/cl/849044
2010-03-31 16:37:22 -07:00
Andrew Gerrand
c2f3737cb0 release 2010-03-30
R=rsc, gri
CC=golang-dev
https://golang.org/cl/821045
2010-03-31 11:40:57 +11:00
Robert Griesemer
e8e4987ba3 godoc: support for title and subtitle headers when serving .html docs
and use it to show version (date) of go spec

Fixes #68.

R=rsc
CC=golang-dev, r
https://golang.org/cl/848042
2010-03-30 17:37:42 -07:00
Rob Pike
4710642d41 Effective Go: update maps description regarding lookup of nonexistent entry.
R=rsc, gri, iant
CC=golang-dev
https://golang.org/cl/821044
2010-03-30 11:21:50 -07:00
Russ Cox
00f9f0c056 single argument panic
note that sortmain.go has been run through hg gofmt;
only the formatting of the day initializers changed.
i'm happy to revert that formatting if you'd prefer.

stop on error in doc/progs/run

R=r
CC=golang-dev
https://golang.org/cl/850041
2010-03-30 10:34:57 -07:00
Andrew Gerrand
10b77f7a2b spec: typo in switch sample code, missing semicolon
Fixes #697

R=r
CC=golang-dev
https://golang.org/cl/804042
2010-03-29 13:12:08 +11:00
Russ Cox
97d0e8fe6c gc: allow taking address of out parameters
Fixes #186.

R=ken2
CC=golang-dev
https://golang.org/cl/793041
2010-03-26 18:01:02 -07:00
Rob Pike
5bb29fb116 spec changes for panic and recover.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/763041
2010-03-25 17:59:59 -07:00
Nigel Tao
16e543163b Sydney University tech talk.
R=adg
CC=golang-dev
https://golang.org/cl/744042
2010-03-25 16:15:52 +11:00
Rob Pike
bf9b8f2c17 Delete panicln from the spec.
R=rsc, gri, iant, ken2
CC=golang-dev
https://golang.org/cl/738041
2010-03-24 15:17:00 -07:00
Robert Griesemer
48f0cd2bd5 go spec: modification of defer statement
R=r, rsc, ken2, iant
CC=golang-dev
https://golang.org/cl/708041
2010-03-23 17:30:14 -07:00
Rob Pike
6b3031beaa FAQ: Protocol buffers are now supported. Update the entry.
R=rsc, adg
CC=golang-dev
https://golang.org/cl/702042
2010-03-23 17:03:28 -07:00
Robert Griesemer
29f1ca528b Go spec: map indexing never raises a runtime exception.
Also: Actual map key must be assignment-compatible with
formal map key type.

Fixes #357.

R=r, iant, rsc, ken2
CC=golang-dev
https://golang.org/cl/673042
2010-03-23 14:01:51 -07:00
Andrew Gerrand
a1723941e0 release.2010-03-22
R=rsc
CC=golang-dev
https://golang.org/cl/643042
2010-03-23 12:56:39 +11:00
Andrew Gerrand
7190fdd3bf website: add Go Blog widget to frontpage,
add Blog and Wiki links to sideba

R=r, rsc, gri
CC=golang-dev
https://golang.org/cl/611042
2010-03-20 11:42:57 +11:00
James Toy
791a26734f doc/htmlgen.go: remove unnecessary semicolons
R=rsc
CC=golang-dev
https://golang.org/cl/589043
2010-03-19 16:17:18 -07:00
Russ Cox
a24f8144e4 doc/install: tweak port text; drop redundant list of operating systems.
R=adg
CC=golang-dev, r
https://golang.org/cl/597041
2010-03-16 18:45:16 -07:00
Robert Griesemer
74fac99d05 godoc: initial support for showing popup information
for identifiers in Go source code

- at the moment just show identifier kind (var, func, etc.) and name
  (eventually should show declaration, type, etc.)
- JavaScript parts by adg

R=rsc
CC=adg, golang-dev
https://golang.org/cl/578042
2010-03-16 14:17:42 -07:00
Andrew Gerrand
6f9272f5dd release.2010-03-15
R=rsc
CC=golang-dev
https://golang.org/cl/579041
2010-03-16 10:44:13 +11:00
Andrew Gerrand
9aff17f0d7 install.html: elaborate on shell profile instructions
R=r, rsc
CC=golang-dev
https://golang.org/cl/556041
2010-03-16 09:42:34 +11:00
Ian Lance Taylor
11a218444f Revert previous change: complexN only converts to complexN.
This was discussed with Ken and Russ.  6g has been changed,
and both compilers now work this way.  This avoids a double
type conversion--first to the float type, then to the complex
type.

R=r
CC=golang-dev, ken2, rsc
https://golang.org/cl/419042
2010-03-10 20:38:38 -08:00
Robert Griesemer
7cd4de6a07 install.html: add section on C tools
R=rsc
CC=golang-dev
https://golang.org/cl/238042
2010-03-10 16:31:09 -08:00
Robert Griesemer
ef4c2b85a0 go_spec.html: fix typo and link
R=r
CC=golang-dev
https://golang.org/cl/382045
2010-03-10 15:29:36 -08:00
Andrey Mirtchovski
9a44578806 missing ';' renders the code snippet incorrectly on website
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/367041
2010-03-09 14:21:34 -08:00
Ian Lance Taylor
18187e7d49 Complex values may only be compared for equality or inequality.
R=gri, r
CC=golang-dev
https://golang.org/cl/294042
2010-03-08 14:05:46 -08:00
Ian Lance Taylor
5cf707b499 Clarify that conversions to complex are OK.
R=r
CC=golang-dev
https://golang.org/cl/296042
2010-03-08 13:45:03 -08:00
Rob Pike
7297087101 Spec for complex numbers
R=rsc, ken2, gri, iant
CC=cw, golang-dev
https://golang.org/cl/227041
2010-03-04 12:35:16 -08:00
Andrew Gerrand
baa65fd106 release.2010-03-04
R=rsc
CC=golang-dev
https://golang.org/cl/229048
2010-03-04 13:00:29 +11:00
Andrew Gerrand
1d5af1553c First run at a Programming FAQ
Moved a couple of FAQs from the main FAQ, and added some others

R=r, rsc, iant, gri
CC=golang-dev
https://golang.org/cl/218070
2010-03-04 12:56:08 +11:00
Robert Griesemer
36ea8bb7bf Minor mistake in docs.
Fixes #633.

R=adg
CC=golang-dev
https://golang.org/cl/224090
2010-03-01 16:22:22 -08:00
Andrey Mirtchovski
1f3222a57b strings.Bytes -> []byte for documentation example, src/pkg/* comments, and htmlgen.go
R=rsc, adg
CC=golang-dev
https://golang.org/cl/224087
2010-03-02 11:18:22 +11:00
Christopher Wedgwood
5de2e1c5bb doc: Use byte("...") over byte{...}
R=rsc, r
CC=golang-dev
https://golang.org/cl/224069
2010-02-25 20:06:41 -08:00
Andrew Gerrand
ef81b024b6 release.2010-02-23 part one
R=rsc
CC=golang-dev
https://golang.org/cl/217108
2010-02-23 16:35:31 -08:00
Andrew Gerrand
2551cf9d1a go_mem: clarified unbuffered channel sync example
R=rsc
CC=golang-dev
https://golang.org/cl/218063
2010-02-22 16:51:28 -08:00
Andrew Gerrand
766c3ff735 effective_go: clarified small comment
R=rsc, cw
CC=golang-dev
https://golang.org/cl/217085
2010-02-22 14:51:22 -08:00
Robert Griesemer
d17ffb9753 godoc: path cleanups, fixed a race condition, initial support for a menu on pages
R=rsc
CC=adg, golang-dev
https://golang.org/cl/215050
2010-02-18 17:40:50 -08:00
Andrew Gerrand
d3a6cd4cd4 release 2010-02-17 part one
R=rsc
CC=golang-dev
https://golang.org/cl/212047
2010-02-17 16:31:52 -08:00
Robert Griesemer
f42e8833b3 language spec: make NUL byte rule an implementation restriction
R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/211041
2010-02-17 15:50:34 -08:00
Andrew Gerrand
77525dc866 install: Added gcc, build-essential to apt-get command line.
Mercury now requires build tools to install.

R=rsc
CC=golang-dev
https://golang.org/cl/210042
2010-02-16 17:48:43 -08:00
Russ Cox
b7d9ffeecd spec: disallow NUL in source files
R=r
CC=golang-dev
https://golang.org/cl/209042
2010-02-16 16:47:18 -08:00
Rob Pike
1811fac7cb specification of []int(string) and []byte(string).
also clarify other string conversions.

R=rsc, iant, gri, ken2
CC=golang-dev
https://golang.org/cl/207103
2010-02-17 11:26:09 +11:00
Andrew Gerrand
e6004b3de3 release.2010-02-04 step one
R=rsc
CC=golang-dev
https://golang.org/cl/202054
2010-02-04 17:37:46 -08:00
Kai Backman
cd4a684214 added note about the GOARM env variable
R=rsc, r
CC=golang-dev
https://golang.org/cl/198074
2010-02-02 18:09:07 -08:00
Rob Pike
810def8484 ...T is now implemented
R=rsc, gri
CC=golang-dev
https://golang.org/cl/198050
2010-02-01 18:59:23 -08:00
Rob Pike
cecd163625 language FAQ entry on braces and semicolons
R=rsc, iant, gri
CC=golang-dev
https://golang.org/cl/196075
2010-02-01 20:45:29 +11:00
Rob Pike
65e671b903 add link to go build dashboard.
break the list into two pieces

R=golang-dev
CC=golang-dev
https://golang.org/cl/196088
2010-02-01 17:38:26 +11:00
Rob Pike
44db1ab526 the package global name space problem is addressed; update road map
R=rsc, iant
CC=golang-dev
https://golang.org/cl/196087
2010-02-01 16:59:42 +11:00
Ian Lance Taylor
bf57520e1c Long-overdue update for semicolon change.
Fixes #485.

R=r
CC=golang-dev
https://golang.org/cl/196071
2010-01-29 16:37:50 -08:00
Ian Lance Taylor
8653acb191 The gccgo frontend has moved to a new repository.
Update the documents accordingly.  Also document gccgo
specific options.

R=r
CC=golang-dev
https://golang.org/cl/196070
2010-01-29 16:37:20 -08:00
Russ Cox
05f26366e5 two minor build fixes
Fixes #572.
Fixes #570.

R=r
CC=golang-dev
https://golang.org/cl/194134
2010-01-28 18:18:40 -08:00
Russ Cox
cb4fff0bc6 prepare for release.2010-01-27
R=r
CC=golang-dev
https://golang.org/cl/195080
2010-01-27 16:18:33 -08:00
Russ Cox
9f48f7e67d ucsd cns talk, focused on networking
R=r
CC=golang-dev
https://golang.org/cl/186230
2010-01-27 15:50:29 -08:00
Rob Pike
22a4952bd2 note that ...T is not yet implemented.
R=rsc
CC=golang-dev
https://golang.org/cl/194114
2010-01-27 13:45:16 -08:00
Rob Pike
b81065d07f add definition of new parameter style
... T
for trailing arguments of type T.

R=rsc, gri, ken2, iant
CC=golang-dev
https://golang.org/cl/194100
2010-01-27 13:14:40 -08:00
Robert Griesemer
1c369bd55f Clarify parsing of channel types.
R=r, rsc
CC=golang-dev
https://golang.org/cl/194091
2010-01-27 09:35:39 -08:00
Russ Cox
46871692c2 spec: allow func() func().
no longer ambiguous at top level, thanks to new semicolon rules.

use gofmt layout for function types.

Fixes #528.

R=gri
CC=golang-dev
https://golang.org/cl/194077
2010-01-26 10:25:56 -08:00
Christopher Wedgwood
34191d943b Remove top-level (src/) Makefile.
R=rsc, dho, r
CC=golang-dev
https://golang.org/cl/194045
2010-01-25 00:09:46 -08:00
Rob Pike
5c7b0caa17 list awk in the dependencies needed for installation
(it is installed by apt-get install gawk, I believe)

Fixes #557.

R=rsc
CC=golang-dev
https://golang.org/cl/194050
2010-01-25 13:46:57 +11:00
Rob Pike
3909b6b479 log.Fatal does not exist. Use log.Crash.
R=rsc
CC=golang-dev
https://golang.org/cl/193075
2010-01-25 07:48:31 +11:00
Russ Cox
16205a3534 spec: mention Inf and NaN are supported at run time.
add hyperlink at mention of package reflect.

Fixes #438.

R=r
CC=golang-dev
https://golang.org/cl/190042
2010-01-18 15:59:14 -08:00
Rob Pike
49a35a632e be more explicit about initialization of embedded fields.
R=rsc
CC=golang-dev
https://golang.org/cl/186161
2010-01-15 11:59:53 +11:00
Russ Cox
b41c694297 doc/devel/release.html: fix dumb typo
R=r
CC=golang-dev
https://golang.org/cl/186148
2010-01-13 18:22:16 -08:00
Russ Cox
495936b58c release.2010-01-13: final checkin, release notes
R=r
CC=golang-dev
https://golang.org/cl/186147
2010-01-13 17:08:59 -08:00
Russ Cox
c6336155f1 contribute.html: suggest hg mail instead of hg upload
R=r
CC=golang-dev
https://golang.org/cl/186145
2010-01-13 16:44:40 -08:00
Russ Cox
6c2e0fe1f9 create doc/talks/.
move talk-20091030 down.
add talk given at Stanford 2010/01/12.
add doc/go-logo-white.png.

R=r
CC=golang-dev
https://golang.org/cl/186132
2010-01-13 16:26:22 -08:00
Ian Lance Taylor
ae13f43810 Clarify when expressions are evaluated for a range clause.
R=gri, rsc
CC=golang-dev
https://golang.org/cl/189057
2010-01-13 12:50:45 -08:00
Rob Pike
632a98592d fix typo found by kevin ballard
R=gri
CC=golang-dev
https://golang.org/cl/186113
2010-01-13 12:06:33 +11:00
Bill Neubauer
14992a4e4b doc/contribute.html: change copyright year
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/184055
2010-01-11 13:06:58 -08:00
Rob Pike
7ec0856f01 fix typo
R=gri, iant
CC=golang-dev
https://golang.org/cl/183160
2010-01-09 07:32:26 +11:00
Russ Cox
c918c41c58 add doc/devel/index.html, linked from nav bar
R=r
CC=golang-dev
https://golang.org/cl/181156
2010-01-07 18:23:41 -08:00
Russ Cox
e0a4046662 add release log as doc/devel/release.html
won't appear online until next release

R=r
CC=golang-dev
https://golang.org/cl/183126
2010-01-06 15:46:09 -08:00
Robert Griesemer
30e5ed249d remove reference to "basic literal" since it's never defined
R=rsc, r
CC=golang-dev
https://golang.org/cl/183113
2010-01-04 17:28:02 -08:00
Rob Pike
c05f86a46a fix up YB and add ZB, EB in example
R=rsc
CC=golang-dev
https://golang.org/cl/183107
2010-01-04 07:36:39 +11:00
Ian Lance Taylor
1d5e1f578c Document how to build gccgo to use gold.
This provides full support for discontiguous stacks.

R=r
CC=golang-dev
https://golang.org/cl/183088
2009-12-29 14:59:08 -08:00
Robert Griesemer
eb109a765d Clarify section on tokens.
Fixes #457.

R=r
CC=golang-dev
https://golang.org/cl/181083
2009-12-28 14:40:42 -08:00
Rob Pike
316cb50db1 add exceptions to the road map. i think this just was an oversight.
also a way to run code when object is deleted.
both of these are possibilities, not certainties.

R=rsc, iant
CC=golang-dev
https://golang.org/cl/181057
2009-12-27 07:57:57 +11:00
Rob Pike
77f6f16660 fix naked < and > as reported by Peter Williams <>
(i thought these were legal in <pre> blocks)

R=rsc
CC=golang-dev, pwil3058
https://golang.org/cl/181055
2009-12-25 07:13:14 +11:00
Russ Cox
c1045db1d8 go_spec: use PrimaryExpr as type switch expression
Without this change, the spec parses <-c.(type) as (<-c).(type)
but parses <-c.(int) as <-(c.(int)).

With this change, the former parses as <-(c.(type)).

All three parsers already implement this rule, because
they look for the "type" word during parsing of a standard
type assertion.  This change merely brings the
spec in line with the implementations.

http://code.google.com/p/go/source/browse/src/cmd/gc/go.y#801
http://code.google.com/p/go/source/browse/src/pkg/go/parser/parser.go#900
http://gcc.gnu.org/viewcvs/branches/gccgo/gcc/go/parse.cc?revision=155389&view=markup#l2469

Pointed out by Brett Kail on golang-nuts.

R=gri
CC=golang-dev
https://golang.org/cl/182044
2009-12-23 13:48:44 -08:00
Rob Pike
617a6a519f fix documentation bug in example
Fixes #452.

R=gri
CC=golang-dev, dougfelt
https://golang.org/cl/181043
2009-12-23 13:47:58 +11:00
Rob Pike
96ee38bfc2 make it more explicit that design discussions should happen before code reviews
R=rsc
CC=golang-dev
https://golang.org/cl/180075
2009-12-17 12:12:47 +11:00
Ian Lance Taylor
2e5a720647 Add roadmap document.
Also adds Development heading on navbar, with Roadmap being
the only current entry.

R=r
CC=golang-dev
https://golang.org/cl/180069
2009-12-16 15:30:39 -08:00
Russ Cox
3269647502 doc/install.html: how to update to a new release
Fixes #422.

R=r
CC=golang-dev
https://golang.org/cl/180057
2009-12-15 19:16:56 -08:00
Rob Pike
163ecdac1a new semicolon rule in effective_go.html.
eliminate all tab characters while we're here.

R=rsc
CC=golang-dev
https://golang.org/cl/180055
2009-12-16 12:31:18 +11:00
Rob Pike
34356e9a6a update tutorial.
R=rsc
CC=golang-dev
https://golang.org/cl/179063
2009-12-16 10:29:53 +11:00
Rob Pike
bbd4cb382a fix naked < as reported by pwil3058@gmail.com
R=rsc
CC=pwil3058
https://golang.org/cl/174087
2009-12-14 13:30:11 +11:00
Devon H. O'Dell
857d4cf1a9 Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/src
This change removes the necessity to have GOBIN in $PATH,
and also doesn't assume that the build is being run from
$GOROOT/src. This is a minimal set of necessary changes
to get Go to build happily from the FreeBSD ports
collection.

R=rsc
CC=golang-dev
https://golang.org/cl/171044
2009-12-11 15:14:09 -08:00
Devon H. O'Dell
ddde7f6625 Add a Makefile in place of all.bash. Update docs to reflect
this change.

R=rsc
CC=golang-dev
https://golang.org/cl/171048
2009-12-11 12:48:55 -08:00
Robert Griesemer
130ac74010 Spec modified to reflect new semicolon rules.
R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/166066
2009-12-10 16:43:01 -08:00
Russ Cox
5facb84770 doc/contribute: try to make it clearer that you send a review with hg mail, not hg submit.
R=r
https://golang.org/cl/171046
2009-12-09 14:39:41 -08:00
Russ Cox
d55abfd2c9 doc: split contribute.html into code.html and contribute.html
R=r
https://golang.org/cl/170042
2009-12-09 14:05:12 -08:00
Russ Cox
2a5f0c67ca spec: document that built-ins cannot be used as func values
R=gri
CC=golang-dev
https://golang.org/cl/164088
2009-12-04 10:23:12 -08:00
Russ Cox
6301fb4134 faq: add question about translation
R=jini, r
https://golang.org/cl/163092
2009-12-03 17:23:33 -08:00
Rob Pike
acf4dd4d56 change the naming example from Vector to Ring due to loss of vector.New()
R=rsc
CC=golang-dev
https://golang.org/cl/164082
2009-12-02 13:46:02 -08:00
Ian Lance Taylor
ccd026486a Add copy to the list of predeclared functions.
R=gri
https://golang.org/cl/164081
2009-12-02 13:26:39 -08:00
Robert Griesemer
e919275825 Integrated feedback by Ken.
Easy stuff in this round, more to come.

R=iant, rsc, r, ken2
https://golang.org/cl/163058
2009-12-01 16:15:53 -08:00
Robert Griesemer
9e450880e9 some godoc cleanup:
- simplified dealing with parse errors: no need to intersperse them in the source
- improve visibility of highlighted identifiers by showing them in bold

R=rsc
https://golang.org/cl/163051
2009-12-01 09:15:05 -08:00
Fazlul Shahriar
330139e3f2 Fix typo in spec
R=golang-dev, rsc
https://golang.org/cl/164052
2009-11-30 21:23:58 -08:00
Fumitoshi Ukai
65112628dc Fix example Makefile to avoid $GOROOT in case it has spaces.
R=rsc, sergio
https://golang.org/cl/162058
2009-11-29 21:22:05 -08:00
Rob Pike
53ab6a0ad1 add freebsd to the list of os'es.
make the GOOS/GOARCH pair a table to avoid the confusion caused when it was of the form linux/386.

R=rsc
CC=golang-dev
https://golang.org/cl/160061
2009-11-24 16:00:19 -08:00
Rob Pike
2cbeb1dbb1 change the rules for maintaining AUTHORS and CONTRIBUTORS files.
the current system is too painful, so instead let's just have the coders tell us the details.
we can update the files ourselves.

R=rsc, r1
CC=golang-dev
https://golang.org/cl/157158
2009-11-24 14:04:43 -08:00
Ian Lance Taylor
568465a931 Mention golang-dev as a default code review destination.
R=rsc
CC=r
https://golang.org/cl/160056
2009-11-24 13:36:54 -08:00
Rob Pike
bdecae9e00 add an FAQ entry about the logo and mascot
R=rsc
CC=golang-dev, reneefrench
https://golang.org/cl/157144
2009-11-23 17:34:23 -08:00
Sergio Luis O. B. Correia
6fc820729e go: makes it build for the case $GOROOT has whitespaces
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.

this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.

Fixes #115.

R=rsc, dsymonds1
https://golang.org/cl/157067
2009-11-23 17:32:51 -08:00
Rob Pike
ff6a8fd779 mention arrays of arrays and slices of slices
Fixes #113.

R=gri, rsc
CC=golang-dev
https://golang.org/cl/159049
2009-11-20 15:47:15 -08:00
Russ Cox
69039e5a5a build Make.deps during make.bash instead
of keeping a checked-in copy.  doesn't
slow down make.bash appreciably.

R=r
https://golang.org/cl/156099
2009-11-19 16:27:13 -08:00
Robert Griesemer
1a8ebcc4b8 Allow optional second expression in slice expressions.
Built-in function copy.
Addresses issue 203.

R=rsc, r, iant
https://golang.org/cl/156089
2009-11-18 19:15:25 -08:00
Ian Lance Taylor
9e8d136888 On 32-bit x86, one should configure with --with-arch=.
R=r
https://golang.org/cl/156080
2009-11-18 12:48:48 -08:00
Russ Cox
43bcf47912 make all.bash finish on FreeBSD
R=dho
CC=golang-dev
https://golang.org/cl/156067
2009-11-18 09:11:17 -08:00
Rob Pike
33d10e4d32 explain the situation with unicode and identifiers
R=rsc
CC=golang-dev
https://golang.org/cl/156044
2009-11-17 14:40:07 -08:00
Rob Pike
bcb46c8560 fix typo in Append return type
R=rsc
https://golang.org/cl/155058
2009-11-16 21:56:38 -08:00
Adam Langley
4085364a20 doc: fix typo.
Fixes #218

R=r
CC=golang-dev
https://golang.org/cl/155067
2009-11-16 11:56:18 -08:00
Robert Griesemer
d3b1565716 - Clarify that struct composite literal keys are field names not selectors.
- Slight re-phrasing of struct type section since "field name" was not
properly introduced.

Fixes #164.

R=r, rsc, iant
https://golang.org/cl/155061
2009-11-16 08:58:55 -08:00
Robert Griesemer
0660d243b1 Use ElementType consistently.
Fixes #173.

R=r, rsc, r1
https://golang.org/cl/154156
2009-11-15 17:42:27 -08:00
Rob Pike
dc3b4932d8 add a paragraph about GOMAXPROCS
R=rsc
CC=golang-dev
https://golang.org/cl/154153
2009-11-15 13:09:43 -08:00
Russ Cox
dee5ad5c24 godocs.js: fix bad variable name
Thanks to anno.langen.
Fixes #103.

R=r
https://golang.org/cl/155050
2009-11-15 12:57:33 -08:00
Rob Pike
029c39f45a fix some typos in the documentation
Fixes #196.

R=rsc
https://golang.org/cl/154152
2009-11-15 12:09:59 -08:00
Robert Griesemer
13ad5d40c4 Use // to start comment instead of #.
Fixes #189.

R=r
CC=rsc
https://golang.org/cl/155055
2009-11-15 11:33:20 -08:00
Rob Pike
8f47890135 fix typo
R=rsc
https://golang.org/cl/152128
2009-11-13 16:00:55 -08:00
Rob Pike
9549eeecd1 add a paragraph about semicolons to the tutorial.
fix a typo caught by kakugawa@gmail.com

Fixes #92.

R=rsc
CC=golang-dev
https://golang.org/cl/152105
2009-11-12 14:10:16 -08:00
Rob Pike
cf16443c69 fix a couple of typos.
add a mention of range to the tutorial.
change tutorial's title.

R=rsc
CC=golang-dev
https://golang.org/cl/152098
2009-11-12 11:05:20 -08:00
Rob Pike
0c83f23d44 fix typo in ByteSize example
R=rsc, agl1
CC=golang-dev
https://golang.org/cl/154076
2009-11-11 19:39:57 -08:00
Russ Cox
ef7c370a20 typo
Fixes #69.

R=r
https://golang.org/cl/152082
2009-11-11 14:52:38 -08:00
Russ Cox
0343509915 point at how to get easy_install on Ubuntu.
Fixes #59.

Add note about export.

R=r
https://golang.org/cl/152079
2009-11-11 14:51:53 -08:00
Rob Pike
d8134e73c7 add a paragraph in the FAQ about the situation with Windows support
R=rsc, iant
CC=golang-dev
https://golang.org/cl/154059
2009-11-11 11:44:27 -08:00
Adam Langley
7f4860640b docs: list make as a build dep.
Fixes #45.

R=rsc, r1
CC=golang-dev
https://golang.org/cl/154055
2009-11-11 11:18:17 -08:00
Russ Cox
4a29a733ec install.html: ed needs to be installed too
Fixes #14.

R=r
https://golang.org/cl/152052
2009-11-10 19:34:31 -08:00
Rob Pike
8db6370d78 fix final program to have Html->HTML
R=rsc
CC=go-dev
https://golang.org/cl/152050
2009-11-10 18:24:06 -08:00
Russ Cox
6672eb3797 change code review link to appspot.
R=r
https://golang.org/cl/153051
2009-11-10 18:06:50 -08:00
Russ Cox
78c47c36b2 update video links
R=r
http://go/go-review/1024048
2009-11-10 14:09:01 -08:00
Russ Cox
c9b5ca457d correct mailing list URL
R=r
http://go/go-review/1024047
2009-11-10 09:44:04 -08:00
Russ Cox
4414442442 remove internal references from doc/install.html
and doc/contribute.html.

add #go-nuts to help section on nav bar.

R=r
http://go/go-review/1025035
2009-11-10 09:37:03 -08:00
Ian Lance Taylor
cc6720aab7 Minor tweaks.
The text changes are trivial and may be ignored, but there are
two code corrections.

R=r, rsc
CC=go-dev
http://go/go-review/1024045
2009-11-10 00:09:53 -08:00
Rob Pike
6898f95dec make the titles of the FAQs match their links; adds clarity too. requested by rsc.
R=rsc
CC=go-dev
http://go/go-review/1025034
2009-11-09 23:54:35 -08:00
Russ Cox
c9ac862aab in addition to bison, need to have gcc and c libraries installed.
R=r
http://go/go-review/1024043
2009-11-09 23:12:09 -08:00
Rob Pike
7685a67fe8 add a q&a about google's internal use of go
R=rsc
CC=go-dev
http://go/go-review/1026035
2009-11-09 20:25:45 -08:00
Russ Cox
1a821b32da noted by kaib: explicit assignment initialization
didn't match the composite literal initialization.

R=r
CC=kaib
http://go/go-review/1024039
2009-11-09 17:09:33 -08:00
Russ Cox
6c7f9f6340 add id tags to contribute.html
R=r
http://go/go-review/1025033
2009-11-09 16:56:17 -08:00
Robert Griesemer
c110269579 cleanup style:
- consistently remove all underbars from links
- this removes need for noline style
- removed unused info style

R=r, rsc
http://go/go-review/1025032
2009-11-09 16:19:38 -08:00
Rob Pike
0b4de7aa8a comment out red TODO clauses except for the last one
R=rsc
CC=go-dev
http://go/go-review/1024037
2009-11-09 16:09:57 -08:00
Robert Griesemer
fb5fce5532 fix for incorrect composite literal grammar
(issue found by ken)

R=go-dev, rsc
http://go/go-review/1025030
2009-11-09 12:35:56 -08:00
Rob Pike
0c7e20ba67 delete commented-out section; details now covered elsewhere
R=rsc
CC=go-dev
http://go/go-review/1025028
2009-11-09 09:46:10 -08:00
Russ Cox
8b04ceff62 copy help section to install doc,
since most people won't get to the second one.

R=r
http://go/go-review/1024031
2009-11-08 23:38:30 -08:00
Russ Cox
bb097d4649 change highlight color from green to yellow
(fits better in the color scheme).

eliminate background color on line numbers at
bottom of search results, now that they are grouped.

live at http://r45:3456/search?q=Reader

R=r, gri
http://go/go-review/1024030
2009-11-08 23:37:46 -08:00
Russ Cox
6fff7b2399 mention license in install.html.
tighter nav list.

R=r
http://go/go-review/1024029
2009-11-08 22:12:51 -08:00