Samuel Bronson
a624d8de15
Misc improvements to the doc search JavaScript code
...
* Stamp "plt-index.js" with the path of its generator.
* Fix most of the "use strict" and js2-mode warnings in scribble's
JavaScript.
* Some code improvements in the generating code too.
(With some edits by Eli.)
2012-10-10 11:05:25 -04:00
Eli Barzilay
6b2b784e79
Further improvements to the documentation search.
...
Revise the subword matching to have three different levels for full
match (= a permutation of the input), a generic match for all parts, and
everything else.
2012-06-14 15:46:53 -04:00
Eli Barzilay
ecc43ff104
Improve the documentation search code.
...
Instead of just one array for exact results and one for all the rest,
use one array for each possible comparison result, and concatenate them
all for the final list.
2012-06-14 15:46:53 -04:00
Sam Tobin-Hochstadt
ab70fed8a8
Scheme -> Racket in styles
...
Scribble style names.
.tex and .css files
2010-06-08 16:40:47 -04:00
Matthew Flatt
ed1d7f81c9
move drscheme and tests/drscheme to drracket and tests/drracket
2010-05-09 15:34:50 -06:00
Eli Barzilay
c0be5f0d12
* Propagate all url arguments to links (except ones that are present)
...
* Use ctxtname for the displayed label
* `langindicator' -> `contextindicator' in css
svn: r17073
2009-11-26 20:45:40 +00:00
Eli Barzilay
dccc4bcb95
thread lang parameter through search results
...
svn: r17044
2009-11-24 15:13:55 +00:00
Eli Barzilay
142d33d67f
Make it possible to register multiple onload handlers.
...
(Needed because all pages must have an onload, and the search page needs an
additional initialization function.)
svn: r17032
2009-11-24 09:11:09 +00:00
Eli Barzilay
212eb82314
use the utility function for the query parameter
...
svn: r17028
2009-11-24 06:52:40 +00:00
Eli Barzilay
65be0295cf
Added A:{ ... } and O:{ ... } for and' and
or' queries, and Q:foo for
...
"quoted" things so "}" can be included in these. Not documented at the
user level for now, since I'm not sure that this will work fine in
general, but it's good enough to reactivate context-sensitive searches.
svn: r16944
2009-11-21 21:55:34 +00:00
Eli Barzilay
128da973df
Truing to use JS `eval' in several ways doesn't seem to be doing
...
anything for speed. So dump all attempts at making things faster this
way. Also, it seems that things are responsive enough with any break in
the searching "thread", so shorten that time. (And one other random
optimization: abort early when an item doesn't match.)
svn: r16943
2009-11-21 21:53:06 +00:00
Eli Barzilay
3ccb9082dc
stupid typo
...
svn: r16917
2009-11-20 08:35:43 +00:00
Eli Barzilay
b9f4662af9
Very partial change, the only visible effect should be that "Pre-Query"
...
is no longer part of the interface in any way.
svn: r16136
2009-09-27 14:13:57 +00:00
Matthew Flatt
345c17e85c
major Scribble revision (v4.2.1.2)
...
svn: r15569
2009-07-25 20:25:33 +00:00
Eli Barzilay
55ebce5466
minor
...
svn: r13405
2009-02-04 04:18:00 +00:00
Eli Barzilay
f5a019f23d
better message if no results and we have a context
...
svn: r11830
2008-09-22 04:30:31 +00:00
Eli Barzilay
24aff20196
switch to N: for negation
...
svn: r11030
2008-08-02 04:17:08 +00:00
Eli Barzilay
e7184d8d29
add "-foo" for negated search terms, fix occasional problem with aborted searches
...
svn: r10911
2008-07-25 13:51:51 +00:00
Eli Barzilay
a104bb0453
scroll a panel into view when activated
...
svn: r10895
2008-07-24 11:05:10 +00:00
Eli Barzilay
56320ded96
Much improved support for context, reorganize dom using divs only, improve html part, and more
...
svn: r10894
2008-07-24 10:43:22 +00:00
Eli Barzilay
ea3c3687dc
improved search indicator thing
...
svn: r10880
2008-07-23 16:14:29 +00:00
Eli Barzilay
2628b28770
fix keyboard response
...
svn: r10790
2008-07-16 13:58:24 +00:00
Eli Barzilay
dc5211f363
improve status message clearing for input fields ("" is false in javascript)
...
svn: r10716
2008-07-11 08:48:53 +00:00
Eli Barzilay
f44a06a4da
Added an `hq' argument for a pre-filter argument, parsed on a separate
...
page instead of in index.html, so that it can be removed from the url
to avoid resetting the cookie on every refresh.
svn: r10715
2008-07-11 08:40:11 +00:00
Eli Barzilay
14cd61f353
fix prefiltering
...
svn: r10705
2008-07-10 07:12:40 +00:00
Eli Barzilay
4f76d0d589
hint when there are no results
...
svn: r10679
2008-07-08 15:56:19 +00:00
Eli Barzilay
f787d68b71
some interaction improvements, PR9564
...
svn: r10554
2008-07-02 06:48:14 +00:00
Eli Barzilay
f5969e0e65
typo in normalizing spaces
...
svn: r10514
2008-06-30 03:51:19 +00:00
Eli Barzilay
e7339d7415
shorted delays in bg search
...
svn: r10489
2008-06-28 12:57:11 +00:00
Eli Barzilay
ee0632bbba
* Searching happens now in the background so you can continue typing
...
* Searching for words in the term too
* Added clarifying tooltips for "provided from" and "in" links
svn: r10485
2008-06-28 04:32:53 +00:00
Eli Barzilay
2b1507220f
partial match explanation
...
svn: r10213
2008-06-11 02:45:32 +00:00
Eli Barzilay
532b9924d1
document S+C+Enter
...
svn: r10212
2008-06-11 02:39:04 +00:00
Eli Barzilay
e4b8a771df
* C-S-Enter scrolls back
...
* abstract html preference boilerplate code
* added help blurbs on prefs
* reorganize search code (better for adding tests in the future)
* added some "test cases", basically queries to try
* added pre-query that pre-filters the data
svn: r10127
2008-06-04 13:30:27 +00:00
Matthew Flatt
99ee31946a
fix typo and normalize use of periods in search help
...
svn: r10121
2008-06-04 11:23:35 +00:00
Eli Barzilay
7f394fe73d
use Ctrl+Enter for scrolling
...
svn: r10117
2008-06-04 01:24:14 +00:00
Eli Barzilay
154595d454
proper encode/decode of query strings
...
svn: r10116
2008-06-04 00:58:07 +00:00
Eli Barzilay
bec07c55bc
fix url->manual-dir conversion
...
svn: r10103
2008-06-03 00:31:45 +00:00
Eli Barzilay
01eaba93f5
Finish with search improvements, added javascript file missing from previous commit
...
svn: r10097
2008-06-02 23:38:39 +00:00