aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.coffee
AgeCommit message (Collapse)Author
2014-11-06Add (initial, basic) isUrl tests (more needed).Stephen Blott
2014-11-06Include scheme for domain suggestions; tighter test for valid domain.Stephen Blott
2014-11-06Don't suggest domains which aren't.Stephen Blott
2014-11-02Refactor Utils.hasChromePrefix and add tests.Stephen Blott
2014-11-02Fix browser prefix detectionmrmr1993
2014-04-19Handle data: URIs as a chrome prefixmrmr1993
2013-05-09Fix utils.getCurrentVersion()sainaen
The code of this function before patch doesn't work for two reasons: 1) it makes async call, so it actually returns `undefined` 2) you need appropriate permission to call chrome.management.get() in manifest
2013-03-07Replaces workaround and should let travis work againTimo Sand
2013-01-02Make smartcase locale-aware.Jez Ng
2012-11-13Include "chrome-extension" in chrome prefixes.Stephen Blott
You can bookmark chrome-extension://... pages. But you can't use them: vimium sends you to the default search engine. This commit fixes the issue.
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-10-29Split out compareVersions into the Utils file.Jez Ng
2012-10-29Factor out scrolling code into a new file.Jez Ng
Also fix a bunch of div-scrolling behavior. Closes #486.
2012-10-23Revert previous change whereby "+" characters inserted between searchStephen Blott
terms are not URLencoded.
2012-10-23Code cleanup, as requested by in3/Jez Ng here:Stephen Blott
- https://github.com/philc/vimium/pull/682.
2012-10-21Configurable vomnibox default/fallback search engine.Stephen Blott
2012-09-06Touching up.Jez Ng
2012-09-06Remove unused ClassJohan Liesén
2012-09-06Move instant tests to the top of the function: return early if possibleJohan Liesén
2012-09-06Lay out long TLDs on one lineJohan Liesén
2012-09-06Align regex comments on the same line as the expressionJohan Liesén
2012-09-05Tidy up if-statementJohan Liesén
2012-09-05Wrap lines at 110 charsJohan Liesén
2012-09-04More idiomatic CoffeeScriptJohan Liesén
2012-09-04More idiomatic CoffeeScript for Utils.isUrlJohan Liesén
2012-06-20Refactor prefix recognition, add about: prefix as well.Jez Ng
2012-06-20Teach URL canonicalizer about 'view-source:' prefix.Jez Ng
2012-06-17Use the browser's built-in bind() instead of our proxy()Phil Crosby
2012-06-12Add a global extend functionPhil Crosby
2012-06-12Port utils.js to coffeescriptPhil Crosby