зеркало из https://github.com/mozilla/gecko-dev.git
I hadn't realized that "ident" did case-sensitive exact matches instead of
regexp searches. Updated the instructions to reflect this.
This commit is contained in:
Родитель
012763518e
Коммит
21ebac08bd
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bonsaitools/bin/perl
|
||||
# $Id: ident,v 1.3 1998/06/12 22:27:22 jwz Exp $
|
||||
# $Id: ident,v 1.4 1998/06/13 18:26:54 jwz Exp $
|
||||
|
||||
# ident -- Look up identifiers
|
||||
#
|
||||
|
@ -43,10 +43,9 @@ use DB_File;
|
|||
sub ident {
|
||||
|
||||
print("<P ALIGN=CENTER>\n",
|
||||
"Free-text search for an identifier (function name, variable ",
|
||||
"name, typedef, etc.).\n",
|
||||
"<BR>(Need some <A HREF=\"search-help.html\">Hints</A> ",
|
||||
"on performing searches?)\n");
|
||||
"Type the full name of an identifier to summarize",
|
||||
"<BR>(a function name, variable name, typedef, etc.)\n",
|
||||
"<BR>Matches are case-sensitive.\n");
|
||||
|
||||
print("<form method=get action=\"ident\">\n");
|
||||
|
||||
|
|
|
@ -49,26 +49,6 @@
|
|||
<TR>
|
||||
<TD ALIGN=RIGHT VALIGN=TOP NOWRAP>
|
||||
|
||||
<FORM METHOD=GET ACTION="ident">
|
||||
<TABLE BORDER=0 CELLPADDING=2 CELLSPACING=0>
|
||||
<TR>
|
||||
<TD ALIGN=RIGHT VALIGN=CENTER>
|
||||
<A HREF="ident"><B>Identifier <BR>Search:</B></A>
|
||||
</TD>
|
||||
<TD>
|
||||
<INPUT TYPE=TEXT NAME="i" VALUE="" SIZE=6>
|
||||
<INPUT TYPE=SUBMIT VALUE="Find">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD></TD>
|
||||
<TD><FONT SIZE="-1">
|
||||
Use this field to search<BR>for C/C++ tokens.</FONT>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
|
||||
<FORM METHOD=GET ACTION="search">
|
||||
<TABLE BORDER=0 CELLPADDING=2 CELLSPACING=0>
|
||||
<TR>
|
||||
|
@ -109,6 +89,26 @@
|
|||
</TABLE>
|
||||
</FORM>
|
||||
|
||||
<FORM METHOD=GET ACTION="ident">
|
||||
<TABLE BORDER=0 CELLPADDING=2 CELLSPACING=0>
|
||||
<TR>
|
||||
<TD ALIGN=RIGHT VALIGN=CENTER>
|
||||
<A HREF="ident"><B>Identifier <BR>Search:</B></A>
|
||||
</TD>
|
||||
<TD>
|
||||
<INPUT TYPE=TEXT NAME="i" VALUE="" SIZE=6>
|
||||
<INPUT TYPE=SUBMIT VALUE="Find">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD></TD>
|
||||
<TD><FONT SIZE="-1">
|
||||
Use this field to find<BR>a particular function,<BR>variable, etc.</FONT>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
@ -129,18 +129,24 @@ in to the mainline of the mozilla.org
|
|||
these pages are updated many times a day, so they should
|
||||
be pretty close to the latest-<WBR>and-<WBR>greatest.
|
||||
|
||||
<P>Its possible to search among the <A HREF="ident">identifiers</A>
|
||||
(function and variable names, etc.) as well as the entire Mozilla
|
||||
source text. The <A HREF="search">free-text search</A> is implemented
|
||||
using <A HREF="http://glimpse.cs.arizona.edu">Glimpse</A>, so all the
|
||||
capabilities of Glimpse are available. <A HREF="search-help.html">Regular
|
||||
expression</A> searches are especially useful.
|
||||
<P>It's possible to search through the entire Mozilla source text;
|
||||
or to search for files whose name matches a pattern; or to search
|
||||
for the definitions of particular functions, variables, etc.
|
||||
|
||||
<P>An identifier is a macro, typedef, struct, enum, union, function,
|
||||
function prototype or variable. The individual files of the
|
||||
source code are formatted on the fly and presented with clickable
|
||||
identifiers. (This means: please don't use a web-crawler to try and
|
||||
download all of these pages.)
|
||||
<P>The individual files of the source code are formatted on the fly
|
||||
and presented with clickable identifiers. An <I>identifier</I> is a
|
||||
macro, typedef, struct, enum, union, function, function prototype or
|
||||
variable. Clicking on them shows you a summary of how and where they
|
||||
are used.
|
||||
|
||||
<P>The <A HREF="search">free-text search</A> command is implemented
|
||||
using <A HREF="http://glimpse.cs.arizona.edu">Glimpse</A>, so all the
|
||||
capabilities of Glimpse are available.
|
||||
<A HREF="search-help.html">Regular expression</A> searches are
|
||||
especially useful.
|
||||
|
||||
<P>(Don't use use a web-crawler to try and download all of these pages;
|
||||
the CGIs will feed you several <I>gigabytes</I> worth of generated HTML!)
|
||||
|
||||
<P>The pages here are generated by the
|
||||
<A HREF="http://lxr.linux.no/">LXR</A> tool, which was originally
|
||||
|
|
Загрузка…
Ссылка в новой задаче