summaryrefslogtreecommitdiff
path: root/src/pkg/go/doc
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Imported Upstream version 1.4upstream/1.4Tianon Gravi58-6354/+0
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg3-14/+156
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg19-62/+213
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg10-55/+233
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg21-87/+543
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý53-754/+5183
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý3-0/+998
2011-09-13Imported Upstream version 60Ondřej Surý3-1043/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý2-2/+2
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-0/+24
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-1/+1
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý2-5/+5
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-1/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý3-62/+39
2010-07-01strings and bytes.Split: make count of 0 mean 0, not infinite.Rob Pike1-1/+1
Use a count of -1 for infinity. Ditto for Replace. R=rsc CC=golang-dev http://codereview.appspot.com/1704044 Committer: Rob Pike <r@golang.org>
2010-05-26godoc: collect package comments from all package files, not just the first ↵Robert Griesemer1-6/+23
one found R=r CC=golang-dev http://codereview.appspot.com/1331041
2010-03-29godoc: support for filtering of command-line output in -src modeRobert Griesemer1-41/+20
+ various minor cleanups Usage: godoc -src math Sin R=rsc CC=golang-dev http://codereview.appspot.com/791041
2010-03-26bytes, strings: IndexOfAnyRobert Griesemer1-9/+2
+ first use in go/doc R=r CC=golang-dev http://codereview.appspot.com/781041
2010-03-19godoc: improved comment formatting: recognize URLsRobert Griesemer1-39/+135
and highlight special words, if provided. Also: - related cleanups in src/pkg/go/doc/comment.go - fix typos in src/cmd/goinstall/doc.go Fixes issue 672. R=rsc CC=adg, golang-dev http://codereview.appspot.com/601042
2010-03-18go/doc cleanup: remove some unnecessary string conversionsRobert Griesemer1-3/+2
R=rsc CC=golang-dev http://codereview.appspot.com/642041
2010-03-05godoc: don't throw away function documentationRobert Griesemer1-4/+22
if there are multiple functions (for a package, type) with the same name Fixes issue 642. R=rsc CC=golang-dev http://codereview.appspot.com/243041
2010-02-25strings: delete Runes, BytesRuss Cox1-6/+6
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2010-02-24go/ast: streamline representation of field listsRobert Griesemer1-4/+4
- always include position information about opening/closing parens/braces - replace uses of []*ast.Field with *ast.FieldList Fixes issue 473. R=rsc CC=golang-dev http://codereview.appspot.com/223043
2010-02-19go/ast: use a slice instead of a linked list for the list of commentsRobert Griesemer1-2/+2
(this will simplify some further changes) removed several TODOs R=rsc CC=golang-dev http://codereview.appspot.com/216059
2010-02-16remove assumption that all files belonging to a package are in the same ↵Robert Griesemer1-5/+3
directory: - adjust ast.Package node and doc.PackageDoc correspondingly - introduce parser.ParseFiles R=rsc CC=golang-dev http://codereview.appspot.com/207087
2010-01-15 Steps towards tracking scopes for identifiers.Robert Griesemer1-10/+10
- Identifiers refer now to the language entity (Object) that they denote. At the moment this is at best an approximation. - Initial data structures for language entities (Objects) and expression types (Type) independent of the actual type notations. - Initial support for declaring and looking up identifiers. - Updated various dependent files and added support functions. - Extensively tested to avoid breakage. This is an AST change. R=rsc CC=golang-dev, rog http://codereview.appspot.com/189080
2009-12-151) Change default gofmt default settings forRobert Griesemer2-271/+271
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180048
2009-12-03- include type-associated consts and vars when filtering a PackageDocRobert Griesemer1-7/+9
- fixes a godoc issue (for instance, "godoc os EOF" now shows an entry) R=r CC=rsc http://codereview.appspot.com/165042
2009-11-24Change to container/vector interface:Robert Griesemer1-3/+3
- removed New(len int) in favor of new(Vector).Resize(len, cap) - removed Init(len int) in favor of Resize(len, cap) - runs all.bash Fixes issue 294. R=rsc, r, r1 http://codereview.appspot.com/157143
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-2/+2
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 issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox2-6/+6
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer2-8/+8
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1026036
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer2-48/+48
R=rsc, r http://go/go-review/1025029
2009-11-08assorted cleanupRuss Cox1-22/+8
R=r, iant CC=go-dev http://go/go-review/1025024
2009-11-08added package documentationRobert Griesemer1-0/+1
R=r, rsc http://go/go-review/1025023
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer2-24/+8
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-04gofmt-ify src/pkg/go (excluding printer directory due to pending CL,Robert Griesemer2-21/+20
and parser.go and scanner_test.go which have minor formatting issues) R=rsc http://go/go-review/1016042
2009-11-02use the new routine regexp.MustCompile to clean up some code that uses ↵Rob Pike1-15/+2
global regexps. R=rsc, gri CC=go-dev http://go/go-review/1016025
2009-10-27files that are okay from the last gofmt roundRuss Cox1-4/+4
R=gri http://go/go-review/1015011
2009-10-15Work-around for factory function heuristic failure:Robert Griesemer1-9/+27
only associate a couple of functions as factories for os.Error. Replaces CL 35628 (abandoned). R=rsc DELTA=35 (26 added, 0 deleted, 9 changed) OCL=35754 CL=35768
2009-10-08more lgtm files from gofmtRuss Cox1-71/+87
R=gri OCL=35485 CL=35488
2009-10-06fix build - missing from 35404Russ Cox1-0/+7
TBR=gri OCL=35411 CL=35411
2009-10-06more comment work.Russ Cox1-50/+21
got rid of regexps. primary bug fix is that // inside /* */ do not get stripped anymore, so that the text inside /* int a; // int b; int c; */ is int a; // int b; int c; before, the "int b;" line was being uncommented too. R=gri DELTA=65 (13 added, 42 deleted, 10 changed) OCL=35334 CL=35404
2009-10-05preserve blank lines in // commentsRuss Cox1-18/+19
R=gri DELTA=32 (13 added, 12 deleted, 7 changed) OCL=35317 CL=35332
2009-09-17unused importsRuss Cox2-4/+0
R=r OCL=34731 CL=34731
2009-09-16publish doc.CommentTextRuss Cox2-19/+17
R=gri DELTA=29 (10 added, 12 deleted, 7 changed) OCL=34709 CL=34712
2009-09-15more "declared and not used".Russ Cox2-6/+6
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-09-01don't show exported methods of non-exported typesRobert Griesemer1-33/+13
R=rsc DELTA=44 (10 added, 30 deleted, 4 changed) OCL=34195 CL=34200
2009-08-31simplified heuristic for associating const/var decls with typesRobert Griesemer1-21/+15
(per suggestion from rsc) R=rsc DELTA=24 (3 added, 9 deleted, 12 changed) OCL=34121 CL=34130
2009-08-31associate const and var declarations with a type where possibleRobert Griesemer1-18/+82
R=rsc DELTA=105 (87 added, 7 deleted, 11 changed) OCL=34062 CL=34119