aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/completion.coffee
AgeCommit message (Collapse)Author
2014-10-27Fix tests for favicons.Stephen Blott
2014-10-27Merge favicons for vomnibar.Stephen Blott
2014-06-14Merge pull request #1058 from mijoharas/custom_search_enginesPhil Crosby
Custom search engines
2014-05-29Adding in search engines feature to fix #1009mike-work
2014-05-18Document top-level folders.Stephen Blott
2014-05-18Just ignore known and enumerated top-level folders.Stephen Blott
2014-05-18Require bookmark folder separator to be first character of a query term.Stephen Blott
2014-05-18Strip top-level chrome folders.Stephen Blott
2014-05-18Import of bookmark-folder-search code and tests.Stephen Blott
2014-05-16Remove verbose commentary.Stephen Blott
2014-05-16Import relevancy improvement code.Stephen Blott
2014-04-18Minor cleanupsPhil Crosby
2014-04-16Highlight escaped HTML in Vomnibar results (fixes #914)mrmr1993
2014-03-02Escape HTML in vomnibar tab URLsAnton Rissanen
2013-10-17Fix to hide https:// from displayed urls hot just http://Lyall Hamilton
2013-10-09Add favicons to vomnibar completionsLyall Hamilton
Favicons are displayed as a background-image style next to urls in similar style to chrome's history page. For tabs the icon is fetched from the url specified by chrome tab's favIconUrl property. Unfortunately extensions to not have access to chrome://favicons/ to get bookmark favicons but fortunately most sites serve a favicon from protocol://hostname/favicon.ico (e.g. http://example.com/favicon.ico) so this url is tried for non-tab types.
2013-01-02Make smartcase locale-aware.Jez Ng
2012-11-14RegexpCache: reorganise and improve tests.Stephen Blott
2012-11-13Smartcase matching for vomnibar.Stephen Blott
Vomnibar queries are case insensitive, unless the query contains a capital letter.
2012-11-12Improve unit test structure and coverage.Stephen Blott
2012-11-11Changes in responce to philc's recommendations.Stephen Blott
See: https://github.com/philc/vimium/pull/715
2012-11-11More simplification/refactoring.Stephen Blott
2012-11-11Refactor domain maintenance code.Stephen Blott
2012-11-11Remove comments regarding non-existent bug.Stephen Blott
2012-11-11Extend removing entries to the domain completer.Stephen Blott
2012-11-11Remove history entries.Stephen Blott
When a chrome history entry is removed, remove that entry from our history too. Same when the entire history is removed.
2012-11-10Merge pull request #704 from smblott-github/relevancyJez Ng
Highlight all matches in a vomnibar suggestion, not just the first.
2012-11-07Fix incorrect/misleading comment.Stephen Blott
2012-11-05Looks like missing parentheses.Stephen Blott
This is looks wrong, and is inconsistent with the way the equivalent calculation is handled elsewhere. This commit fixes it.
2012-11-05Factor pushMatchingRanges, improve comments/testsStephen Blott
1. Factor out `pushMatchingRanges`: This then allows us to ... 2. Add unit tests for `pushMatchingRanges` In effect, these tests verify where matches are highlighted in suggestions. 3. Added Utils.zip. This helps simplify `pushMatchingRanges` unit tests. 4. Improve comments.
2012-11-04Highlight all matches, not just the first.Stephen Blott
2012-11-04Generalise RegexpCache, refactor, add tests.Stephen Blott
This is a no-op, currently. It's just setting up the RegexpCache interface for subsequent development.
2012-11-03Minor touchups.Jez Ng
2012-11-03Merge pull request #702 from smblott-github/relevancy-fixJez Ng
Improve consistency and fix bug in relevancy calculation.
2012-11-03Bug fix. Not all query terms matched.Stephen Blott
Additionally, add relevant test cases.
2012-11-03Refactor RankingUtils.matches() to use splat.Stephen Blott
2012-11-03Improve consistency and fix relevancy calculation.Stephen Blott
Problem: - The word relevancy calculation is case sensitive, all other matching is case insensitive. Improve consistency: - Highlighting of elements in the vomnibox is case insensitive; this does not match the case sensitive relevancy calculation. Fix: - Bookmark titles, in particular, tend to contain capital letters. Unless the query term also contains the relevant capital letters, then the term was scored at zero, pushing what seem to be good matches to the bottom of the list. In fact, they were only included in the list at all because they happen to pass the `RankingUtils.matches()` test.
2012-11-02Bookmark traversal fixes.Stephen Blott
Changes: - use natural order for bookmark traversal - eliminate use of O(N^2) `shift`
2012-10-29List all tabs in Vomnibar even before user starts typing.Jez Ng
Closes #671.
2012-09-12Use block stringsDarren Jeacocke
2012-09-04Style fixes.Jez Ng
Errors were detected using coffeelint.
2012-07-22Use vimium-specific class names, and use vimium reset. Now the vomnibar is ↵Phil Crosby
more resistant to a site's css. Previously the vomnibar didn't look great on Quora because of this.
2012-06-17Use the browser's built-in bind() instead of our proxy()Phil Crosby
2012-06-12Uppercase utils -> UtilsPhil Crosby
2012-06-10Add a few comments and eliminate an unnecessary parameter.Phil Crosby
2012-06-10hide relevancy. It's a debug option.Phil Crosby
2012-06-10Complete tabs in the omnibar.Phil Crosby
Right now this is triggered on Shift+T. Firefox also does tab matching in their omnibar. I'm not sure if collapsing the two searches into one UI is a good idea.
2012-06-10Ensure matches are case insensitive, and cache regexp's so they're not ↵Phil Crosby
created excessively.
2012-06-10Only allow one query to run at a timePhil Crosby
2012-06-10Update the timestamps of cached history entries when a new site is visited.Phil Crosby
This allows the vomnibar rankings to properly rank sites you've visited recently, after it populated its original cache.