aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/completion_engines.coffee
AgeCommit message (Collapse)Author
2015-06-06Re-work completions: extend engine wrapper to handle prefixes.Stephen Blott
This commit contains the bulk og the material changes for which the previous commits established the basis. 1) Add a general framework for detecting query prefixes in search URLs, adding them to query sent to the completion engine, and stripping them from the resulting suggestions. This allows the user to have a search engine... j: http://www.google.com/search?q=javascript+%s Javascript and have the prefix "javascript" included (automatically) in queries sent to completion engines, which results in substantially better suggestions. 2) Re-work completion for Google Maps in a simpler form.
2015-06-06Re-work completions: initial refactor.Stephen Blott
The original completion-engine interface was based on three functions. With some experience, it seems there is a pattern involving explicit regular expressions which is used by all actual engine implementations. This is a refactoring to make those regular expressions explicit (and required), and is a first step towards adding additional fucntionality. This also simplifies the completion cache key (use JSON instead of some weird hash).
2015-06-03Completion page; add example DECLARATIONS to page.Stephen Blott
Instead of just giving an example search URL, we can give the actual declaration (which the user can copy, paste and tweak).
2015-06-03Completion page; make examples data (not comments).Stephen Blott
For each completion engine, this adds an @example properties (not comments)
2015-05-31Re-write class with inheritence.Stephen Blott
2015-05-31Tweak Google Maps URL.Stephen Blott
Conflicts: misc/completion_engines/completion_engines.md
2015-05-31Fix completion engine regular expressions.Stephen Blott
We need to use "\\." to get a literal ".".
2015-05-30Search completion; refactor regexp parsing (simplification).Stephen Blott
2015-05-30Search completion; simplify completion-engine definitions.Stephen Blott
2015-05-30Search completion; remove unused code.Stephen Blott
This removes a couple of lines which should have been removed previously.
2015-05-30Search completion; add support for Google Maps completion.Stephen Blott
2015-05-14Search completion; add Merriam-Webster.Stephen Blott
2015-05-12Search completion; simplify engine definitions.Stephen Blott
2015-05-11Search completion; fix typos and small bugs.Stephen Blott
Bugs: - The serch-engine completer wasn't being configured correctly for the case when we don't have a completion engine. - Handle Control-Shift-Left/Right in vomnibar. Also: better comments.
2015-05-11Search completion; pre-merge tweaks.Stephen Blott
2015-05-10Search completion; move completion engines to their own file.Stephen Blott
2015-05-10Search completion; even more minor tweaks.Stephen Blott
2015-05-10Search completion; more minor tweaks.Stephen Blott
2015-05-10Search completion; strip duplicated code.Stephen Blott
2015-05-10Search completion; use cached suggestions synchronously.Stephen Blott
Conflicts: background_scripts/completion_engines.coffee
2015-05-10Search completion; reuse previous query.Stephen Blott
2015-05-10Search completion; use cached suggestions synchronously.Stephen Blott
2015-05-10Search completion; reuse previous query.Stephen Blott
2015-05-08Search completion; reduce delay.Stephen Blott
2015-05-08Search completion; exclusion [WIP].Stephen Blott
2015-05-08Search completion; exclusivity.Stephen Blott
If we have a custom search engine with a completer, then exclude suggestions from other completion engines.
2015-05-08Search completion; add front end cache.Stephen Blott
2015-05-08Search completion; tweak timeouts and caching.Stephen Blott
2015-05-07Search completion; tweak domain completer.Stephen Blott
2015-05-06Search completion; fix yet more tweaks.Stephen Blott
2015-05-06Search completion; yet more tweaks.Stephen Blott
2015-05-06Search completion; more tweaks.Stephen Blott
2015-05-05Search completion; misc.Stephen Blott