Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(944)

Issue 3699041: code review 3699041: godoc: support for regular expression full text search (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by gri
Modified:
13 years, 8 months ago
Reviewers:
CC:
r, r2, golang-dev, rsc
Visibility:
Public.

Description

godoc: support for regular expression full text search Missing: - indexing of non-.go files - fine tuning of result presentation

Patch Set 1 #

Patch Set 2 : code review 3699041: regexp search #

Patch Set 3 : code review 3699041: godoc: initial support for regular expression full text... #

Patch Set 4 : code review 3699041: godoc: initial support for regular expression full text... #

Patch Set 5 : code review 3699041: godoc: initial support for regular expression full text... #

Patch Set 6 : code review 3699041: godoc: initial support for regular expression full text... #

Patch Set 7 : code review 3699041: godoc: initial support for regular expression full text... #

Patch Set 8 : code review 3699041: godoc: initial support for regular expression full text... #

Patch Set 9 : code review 3699041: godoc: support for regular expression full text search #

Patch Set 10 : code review 3699041: godoc: support for regular expression full text search #

Patch Set 11 : code review 3699041: godoc: support for regular expression full text search #

Patch Set 12 : code review 3699041: godoc: support for regular expression full text search #

Patch Set 13 : code review 3699041: godoc: support for regular expression full text search #

Patch Set 14 : code review 3699041: godoc: support for regular expression full text search #

Patch Set 15 : code review 3699041: godoc: support for regular expression full text search #

Patch Set 16 : code review 3699041: godoc: support for regular expression full text search #

Patch Set 17 : code review 3699041: godoc: support for regular expression full text search #

Patch Set 18 : code review 3699041: godoc: support for regular expression full text search #

Total comments: 16

Patch Set 19 : code review 3699041: godoc: support for regular expression full text search #

Unified diffs Side-by-side diffs Delta from patch set Stats (+573 lines, -422 lines) Patch
M doc/all.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +22 lines, -1 line 0 comments Download
M lib/godoc/search.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +12 lines, -9 lines 0 comments Download
M lib/godoc/search.txt View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
R lib/godoc/source.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -20 lines 0 comments Download
M src/cmd/godoc/Makefile View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/godoc/doc.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
A src/cmd/godoc/format.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +342 lines, -0 lines 0 comments Download
M src/cmd/godoc/godoc.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 22 chunks +94 lines, -302 lines 0 comments Download
M src/cmd/godoc/index.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 9 chunks +79 lines, -47 lines 0 comments Download
M src/cmd/godoc/main.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 6 chunks +13 lines, -14 lines 0 comments Download
M src/cmd/godoc/snippet.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +7 lines, -25 lines 0 comments Download

Messages

Total messages: 7
gri
Hello r (cc: golang-dev@googlegroups.com, rsc), I'd like you to review this change.
14 years, 3 months ago (2010-12-21 02:35:34 UTC) #1
gri
Hello r (cc: golang-dev@googlegroups.com, rsc), Please take another look.
14 years, 3 months ago (2010-12-23 23:12:06 UTC) #2
gri
Hello r (cc: golang-dev@googlegroups.com, rsc), I'd like you to review this change.
14 years, 2 months ago (2011-01-07 01:33:28 UTC) #3
r2
this change does a lot more than add regexp. that's fine, but please update the ...
14 years, 2 months ago (2011-01-08 23:57:09 UTC) #4
r
LGTM but please update the CL description as requested in mail the formatter is nice ...
14 years, 2 months ago (2011-01-09 00:08:54 UTC) #5
gri
http://codereview.appspot.com/3699041/diff/55001/src/cmd/godoc/doc.go File src/cmd/godoc/doc.go (right): http://codereview.appspot.com/3699041/diff/55001/src/cmd/godoc/doc.go#newcode53 src/cmd/godoc/doc.go:53: interpret queries as regular expressions for full text search ...
14 years, 2 months ago (2011-01-10 23:15:01 UTC) #6
gri
14 years, 2 months ago (2011-01-10 23:34:35 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=b90a28e7f7c4 ***

godoc: support for regular expression full text search

Regular expressions may now be used in conjuction with full text
search. Godoc will show the first 10000 occurences in the source
code and highlight the respective text segments.

- added new flag -testDir to specify a small directory for testing
  (fast index creation; default = "")

- use new FormatText function to format text and Go source
  code in HTML, supporting multiple kinds of text selections
  simulatenously); this replaces the uses of go/printer
  Stylers

- for now removed currently unused mechanism for identifier-
  specific JS popups (will come back in some form once we
  have type or other useful information)

- various typo fixes and minor cleanups throughout

Missing:
- indexing of non-.go files

R=r, r2
CC=golang-dev, rsc
http://codereview.appspot.com/3699041

Committer: Robert Griesemer <gri@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b