summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2009-10-06another round of gofmt applicationsRuss Cox2-13/+13
R=gri DELTA=900 (106 added, 31 deleted, 763 changed) OCL=35384 CL=35396
2009-10-06apply gofmt to the LGTM-marked files from 34501Russ Cox12-82/+126
that have not changed since I applied gofmt. R=gri DELTA=456 (77 added, 3 deleted, 376 changed) OCL=35378 CL=35383
2009-10-05add a little more saturation to the background of <pre> so it doesn't ↵Rob Pike1-1/+1
disappear on bright monitors. verified as acceptable on my calibrated home monitor. R=gri DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35340 CL=35342
2009-10-05addressing gri's comments.Rob Pike1-24/+14
R=gri DELTA=31 (7 added, 17 deleted, 7 changed) OCL=35336 CL=35338
2009-10-05slicesRob Pike1-22/+171
methods on slices, pointers and values. R=iant,rsc,gri DELTA=173 (150 added, 1 deleted, 22 changed) OCL=35333 CL=35337
2009-10-05a few fixups. delete the TODO block.Rob Pike1-23/+3
R=rsc DELTA=23 (0 added, 20 deleted, 3 changed) OCL=35330 CL=35330
2009-10-03garbage collections, conversions, concurrencyRob Pike1-18/+97
R=iant,rsc,gri DELTA=106 (87 added, 8 deleted, 11 changed) OCL=35298 CL=35302
2009-10-01replace "ideal" with "untyped"Robert Griesemer1-3/+3
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35242 CL=35258
2009-10-01use the notion of "untyped constant" instead of "ideal constant"Robert Griesemer1-9/+10
R=iant DELTA=13 (1 added, 0 deleted, 12 changed) OCL=35241 CL=35246
2009-10-01Factored out boilerplate from all html docs in doc directory:Robert Griesemer7-351/+15
- the first HTML comment in those files is extracted as page title when serving them - lib/godoc.html is top-level template for all pages served - experimented a bit with package documentation layout (feedback welcome) - various related cleanups TODO: - The / page (doc/root.html) content repeats links that are in the navigation bar. It needs to be cleaned up. R=rsc DELTA=826 (86 added, 692 deleted, 48 changed) OCL=35230 CL=35245
2009-09-30- completed section on built-in functionsRobert Griesemer1-122/+139
- moved Conversions section out of built-in functions and into expressions - fixed syntax of conversions (parens are not mandatory if the type is not a TypeName) (this is the only change to the Conversions section; the rest of the text is just moved; old line: 4043, new line: 3078) - fixed syntax of composite literals (parens are allowed around LiteralType) DELTA=239 (115 added, 98 deleted, 26 changed) OCL=35118 CL=35159
2009-09-30another brace of questions: types, maps, bookkeepingRob Pike1-16/+123
DELTA=136 (120 added, 13 deleted, 3 changed) OCL=35133 CL=35147
2009-09-29make the sidebars consistentRob Pike4-11/+88
add Effective Go to the set of links DELTA=166 (62 added, 57 deleted, 47 changed) OCL=35085 CL=35089
2009-09-29more language FAQRob Pike1-15/+73
DELTA=79 (61 added, 3 deleted, 15 changed) OCL=35083 CL=35088
2009-09-28- assignments to structs are only legal if all struct fields are visibleRobert Griesemer1-34/+20
- removed section on Multiple-file packages as this seems now now covered sufficiently elsewhere DELTA=45 (11 added, 25 deleted, 9 changed) OCL=35065 CL=35071
2009-09-28another bite-sized checkpoint on the language design FAQRob Pike1-30/+82
R=rsc,iant DELTA=87 (54 added, 2 deleted, 31 changed) OCL=35058 CL=35061
2009-09-28start of a language design FAQ.Rob Pike1-0/+213
R=rsc DELTA=224 (214 added, 10 deleted, 0 changed) OCL=35041 CL=35050
2009-09-28disallow interface {x, y()}Russ Cox1-7/+10
R=gri DELTA=8 (3 added, 0 deleted, 5 changed) OCL=35045 CL=35047
2009-09-28- clarify type declaration (specifying status quo)Robert Griesemer1-17/+60
DELTA=68 (51 added, 8 deleted, 9 changed) OCL=35038 CL=35046
2009-09-27add a data section and start populating it with info about allocation, arraysRob Pike1-59/+262
R=rsc DELTA=331 (266 added, 61 deleted, 4 changed) OCL=35024 CL=35030
2009-09-25rewrite the section about importsRob Pike1-29/+28
DELTA=42 (10 added, 11 deleted, 21 changed) OCL=35017 CL=35020
2009-09-25- reworked section on import declarationsRobert Griesemer1-25/+53
- added missing <p> tags in various places DELTA=62 (32 added, 4 deleted, 26 changed) OCL=35014 CL=35014
2009-09-25- fixed sieve.go example (channel directions were wrong)Robert Griesemer1-30/+30
- cosmetic adjustments R=r DELTA=30 (0 added, 0 deleted, 30 changed) OCL=35010 CL=35012
2009-09-24rewording around ideal and basic typesRobert Griesemer1-228/+237
DELTA=355 (93 added, 85 deleted, 177 changed) OCL=34904 CL=34998
2009-09-23change code font to "monospace", which willRuss Cox1-4/+5
let the browser use the font the user has set up as the default fixed-width font, instead of forcing Courier. also set the size to 100%, which means 100% of the font size in the surrounding text. this looks a little better in the main body but much better when the code is in a heading (like Package unsafe). R=r DELTA=4 (1 added, 0 deleted, 3 changed) OCL=34947 CL=34947
2009-09-23process tutorial into new formatRob Pike3-17/+19
R=rsc DELTA=161 (57 added, 56 deleted, 48 changed) OCL=34926 CL=34929
2009-09-19hakuhoRob Pike1-1/+1
R=ken DELTA=1 (0 added, 0 deleted, 1 changed) OCL=34828 CL=34828
2009-09-18- added heading to operator precedence section so it's easy to findRobert Griesemer1-19/+17
- fixed broken link to function literals section - minor adjustments R=r DELTA=20 (1 added, 3 deleted, 16 changed) OCL=34792 CL=34794
2009-09-17check in the generated html for the tutorial so godoc can serve itRob Pike1-0/+1358
DELTA=1444 (1444 added, 0 deleted, 0 changed) OCL=34760 CL=34762
2009-09-17- silence ebnflint: mark syntax section as "ebnf" instead of "grammar"Robert Griesemer1-3/+3
- re-use MethodName production R=r DELTA=4 (1 added, 1 deleted, 2 changed) OCL=34734 CL=34734
2009-09-17A step towards "externalizing" some Go docs.Larry Hosken5-20/+1093
+ style sheet: like code.google.com but less feature-ful + JS with table-of-contents generation + tweaked go_spec.html and go_mem.html to use new style+JS + static-HTML-ified a few other Go docs: + static HTML versions of some wiki pages (which I'll turn into links to these pages). A notable thing that is _not_ in this changelist: any change to the godoc tool or whatever thing generates http://go/godoc R=r APPROVED=r DELTA=2472 (2307 added, 113 deleted, 52 changed) OCL=34644 CL=34728
2009-09-16slight refinement of select: evaluation is top to bottom, as in switches.Rob Pike1-7/+5
DELTA=9 (2 added, 4 deleted, 3 changed) OCL=34690 CL=34692
2009-09-16- added syntax for conversions (was missing)Robert Griesemer1-2/+12
- added TODO for syntax for built-ins (require type as first argument) - removed duplicate definition of Index DELTA=13 (11 added, 1 deleted, 1 changed) OCL=34668 CL=34688
2009-09-15Deriving functions from methodsRob Pike1-119/+121
DELTA=238 (118 added, 116 deleted, 4 changed) OCL=34653 CL=34660
2009-09-15last round: non-package codeRuss Cox1-1/+1
R=r DELTA=127 (38 added, 3 deleted, 86 changed) OCL=34640 CL=34650
2009-09-15an attempt to define initialization order within a package.Rob Pike1-4/+22
DELTA=23 (19 added, 1 deleted, 3 changed) OCL=34646 CL=34649
2009-09-15minutiae: pass 1Rob Pike1-108/+163
DELTA=174 (65 added, 10 deleted, 99 changed) OCL=34625 CL=34639
2009-09-14make SimpleStmt include EmptyStmt and the grammar simplifies a bit.Rob Pike1-8/+8
SimpleStmt was always used as an option. fix bug: divide is a right shift DELTA=8 (0 added, 0 deleted, 8 changed) OCL=34612 CL=34614
2009-09-14fix "declared and not used" errors in non-test code.Russ Cox2-2/+2
R=r DELTA=112 (6 added, 57 deleted, 49 changed) OCL=34610 CL=34610
2009-09-14functionsRob Pike1-16/+97
R=rsc DELTA=125 (103 added, 22 deleted, 0 changed) OCL=34586 CL=34598
2009-09-11correct and clarify the rules about integer conversions.Rob Pike1-9/+14
DELTA=15 (6 added, 1 deleted, 8 changed) OCL=34549 CL=34564
2009-09-10gccgo does not yet implement _Rob Pike1-0/+1
OCL=34517 CL=34517
2009-09-10- blank identifierRobert Griesemer1-17/+48
- fixed some links DELTA=51 (32 added, 1 deleted, 18 changed) OCL=34497 CL=34515
2009-09-09update type switch to match spec.Russ Cox1-1/+0
R=ken OCL=34471 CL=34471
2009-09-08string rangeRob Pike1-3/+22
R=rsc DELTA=22 (19 added, 0 deleted, 3 changed) OCL=34463 CL=34463
2009-09-08cosmetic changes:Robert Griesemer1-27/+25
- fixed a couple of broken links - changed some explicit section references into implicit ones R=r DELTA=27 (0 added, 2 deleted, 25 changed) OCL=34461 CL=34461
2009-09-03silence hlintRobert Griesemer1-7/+3
R=r DELTA=7 (0 added, 4 deleted, 3 changed) OCL=34310 CL=34312
2009-09-03unsafe is not declared in the outermost scopeRuss Cox1-3/+0
R=gri DELTA=3 (0 added, 3 deleted, 0 changed) OCL=34305 CL=34305
2009-09-02Update restriction on declarations of methods.Stephen Ma1-1/+1
APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=34289 CL=34289
2009-09-02for loopsRob Pike1-2/+60
comment out incomplete stuff R=rsc DELTA=61 (58 added, 0 deleted, 3 changed) OCL=34278 CL=34281