aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
AgeCommit message (Collapse)Author
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-09Merge pull request #707 from smblott-github/small-bugsJez Ng
Minor fixes.
2012-11-07Fix incorrect/misleading comment.Stephen Blott
2012-11-05Avoid empty query terms.Stephen Blott
With the previous version, a query like "hello there" yielded: [ "hello", "", "", "there" ] as the queryTerms.
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-03Fix race condition in tabInfo deletion.Jez Ng
Also initialize tabInfo fields at once, so as to avoid unnecessary hidden class transitions.
2012-11-03scrollStepSize migration will now be done in v1.43.Jez Ng
2012-11-03Handle update messages that arrive after a tab has closed.Jez Ng
Previously, we were throwing errors when trying to modify nonexistent members of `openTabs`, due to messages arriving after the onRemoved notification. We now delay garbage-collecting openTabs, and rename openTabs to tabInfoMap to reflect that the tabs are not necessarily open.
2012-11-03Remove some parentheses.Jez Ng
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-29Move a bunch of stuff under pages/ for tidiness.Jez Ng
Also correct a bug with the show / hide advanced commands button.
2012-10-29Implement marks.Jez Ng
2012-10-29Convert strings to numbers when saving options page.Jez Ng
This avoids the need to continually re-parse the strings each time we load the option value.
2012-10-29Split out compareVersions into the Utils file.Jez Ng
2012-10-29Make the numbers used in the filtered link hints configurable.Jez Ng
Closes #380.
2012-10-29Don't restore view-source: tabs.Jez Ng
2012-10-29List all tabs in Vomnibar even before user starts typing.Jez Ng
Closes #671.
2012-10-28Make the default value for scrollStepSize a string.Stephen Blott
This interacts with these lines from settings.coffee: don't store the value if it is equal to the default, so we can change the defaults in the future if (value == @defaults[key]) @clear(key) If the default value is numeric, then this test NEVER succeeds (because "==" is compiled to "===", and the types don't match). So, scrollStepSize is stored in localStorage even if it has its default value. Which obviates the intention of the line quoted above.
2012-10-24Use insertCSS() API instead of manually created style element.Jez Ng
For some reason addCssToPage seemed to break on Chrome 24. Closes #676.
2012-10-23Code cleanup, as requested by in3/Jez Ng here:Stephen Blott
- https://github.com/philc/vimium/pull/682.
2012-10-21Missed off one key line in previous commit.Stephen Blott
2012-09-12Use block stringsDarren Jeacocke
2012-09-09More lint fixes.Jez Ng
2012-09-09Add more tests, and remove old settings code.Jez Ng
2012-09-09Merge branch '1.39'Jez Ng
2012-09-09Fix default hint styling.Jez Ng
2012-09-08Merge branch 'next-release'Jez Ng
2012-09-08Change the default CSS template.Jez Ng
'background-color' is no longer sufficient to override our default styling. Refs #626.
2012-09-08Set up PhantomJS testing.Jez Ng
2012-09-08Fix completion key generation.Jez Ng
2012-09-04Style fixes.Jez Ng
Errors were detected using coffeelint.
2012-09-04More misc cleanups.Jez Ng
2012-09-03Merge pull request #640 from mgarriott/get_showadvanced_from_settingsJez Ng
The help dialog now gets showAdvancedCommands directly from settings.
2012-09-03Make hints tests pass again.Jez Ng
Convert them to Coffeescript at the same time. We really need to set up some automated way of running these tests, to ensure they don't keep breaking.
2012-09-03Fixes and cleanups for main.coffee.Jez Ng