Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/1729046
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/1326042
|
|
This fixes a crash seen when viewing a directory list.
Fixes issue 747.
R=gri
CC=golang-dev, rsc
http://codereview.appspot.com/1010042
Committer: Robert Griesemer <gri@golang.org>
|
|
R=adg, gri
CC=golang-dev, r
http://codereview.appspot.com/1008042
|
|
$ godoc xml | grep Copy\(\)
func (c CharData) Copy() CharData
func (c Comment) Copy() Comment
func (d Directive) Copy() Directive
func (p ProcInst) Copy() ProcInst
func (e StartElement) Copy() StartElement
--------------------------------------------
$ godoc -src xml | grep Copy\(\)
func (c CharData) Copy() CharData
--------------------------------------------
$ godoc -src xml Copy
func (c CharData) Copy() CharData { return CharData(makeCopy(c)) }
--------------------------------------------
The command "godoc -src pkg_name" should output the interface of the named package, but it excludes all duplicate entries. Also the command "godoc -src pkg_name method_name" will output the source code only for one method even if there are more of them with the same name in the same package. This patch set fixes this issue.
R=gri
CC=golang-dev
http://codereview.appspot.com/883051
Committer: Robert Griesemer <gri@golang.org>
|
|
R=gri, r
CC=golang-dev, rsc
http://codereview.appspot.com/819042
Committer: Rob Pike <r@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/902042
|
|
and use it to show version (date) of go spec
Fixes issue 68.
R=rsc
CC=golang-dev, r
http://codereview.appspot.com/848042
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/844041
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/833044
|
|
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
http://codereview.appspot.com/850041
|
|
+ various minor cleanups
Usage: godoc -src math Sin
R=rsc
CC=golang-dev
http://codereview.appspot.com/791041
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/837041
|
|
expvar: default publishings for cmdline, memstats
godoc: import expvar
R=r
CC=golang-dev
http://codereview.appspot.com/815041
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/784041
|
|
- change the various url-xxx formatters to return a relative URL path
- make the leading '/' for URLs explicit in the template
- on the way change some |html formatters to |html-esc
(html should only be used for formatting AST nodes)
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/740041
|
|
(this will allow the use of golang.org for remote
searches)
R=rsc
CC=golang-dev
http://codereview.appspot.com/734041
|
|
Instead of returning the index lookup result via
RPC which has to be corrected for the client,
simply render it on the server and return the
final output.
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/669041
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/630043
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/664041
|
|
- show build version
- use build goroot when possible
R=rsc
CC=golang-dev
http://codereview.appspot.com/656043
|
|
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
|
|
The command-line search is using a running webserver
as index server; i.e., the search result is reflecting
the index at the server. See the documentation for
details.
Usage: godoc -q query1 query2 ...
Known issue: Results don't show the all-important
line numbers yet due to the way the index is organized.
Next CL.
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/648041
|
|
- gofmt -w src misc
- only manually modified file: src/pkg/go/printer/nodes.go
R=rsc
CC=golang-dev, r
http://codereview.appspot.com/606041
|
|
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
http://codereview.appspot.com/578042
|
|
- smartly select the "right" package
- provide a list of other packages
R=rsc
CC=golang-dev
http://codereview.appspot.com/466042
|
|
- go/filter.go: make MergePackageFiles smarter
- go/printer.go: handle positions from multiple files
R=rsc
CC=golang-dev
http://codereview.appspot.com/460042
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/384044
|
|
- on the commandline: godoc -x big
- in a webpage: provide form parameter ?m=src
Known issues:
- Positioning of comments incorrect in several cases. Separate CL.
- Need a link/menu to switch between different modes of presentation
in the web view.
R=rsc
CC=golang-dev
http://codereview.appspot.com/376041
|
|
- gofmt -w src misc
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/223101
|
|
- gofmt -w src misc
- looking for feedback
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/223076
|
|
- gofmt -w src misc
- improves several lists and fixes minor degradation introduced
with the fix for issue 628
- removed some dead code (stringList)
R=rsc
CC=golang-dev
http://codereview.appspot.com/223058
|
|
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
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/217058
|
|
- go/ast: removed StringList (not needed anymore)
- go/ast: changed import path and field list tag to a single string
- updated all dependencies
R=rsc
CC=golang-dev
http://codereview.appspot.com/217056
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/216054
|
|
pages
R=rsc
CC=adg, golang-dev
http://codereview.appspot.com/215050
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/207112
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/206109
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/207111
|
|
Example use: godoc -path=/home/user1:/home/build/foo -http=:6666
will start a local godoc that maps urls starting with /pkg/user1 or
/pkg/foo to the respective roots specified in the path.
Missing: Handling of overlapping package directories, multiple
packages per directory.
R=rsc
CC=golang-dev
http://codereview.appspot.com/206078
|
|
(implementation was swapped)
R=adg
CC=golang-dev, rsc
http://codereview.appspot.com/207069
|
|
The Mapping object implements a flexible
mapping of relative to absolute paths and
vice versa.
R=rsc
CC=golang-dev
http://codereview.appspot.com/206067
|
|
Go source outside $GOROOT.
If the argument is a path starting with / or ., disregard $GOROOT.
Also, disable the check for package name matching the directory,
which is counterproductive in this case.
Apologies for the violence to the code but we need some help documenting
Go code outside the standard repository.
R=gri
CC=golang-dev
http://codereview.appspot.com/201064
Committer: Rob Pike <r@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/199045
|
|
Fixes buggy links in the devel subdirectory.
Code from rsc; tested by me.
R=rsc, gri
CC=golang-dev
http://codereview.appspot.com/197041
|
|
- provide scope to parse functions; if non-nil, parser uses the scope
to declare and lookup identifiers
- resolve forward references where possible
R=rsc
CC=golang-dev
http://codereview.appspot.com/194098
|
|
R=rsc, r, gri
CC=golang-dev
http://codereview.appspot.com/186255
Committer: Rob Pike <r@golang.org>
|