aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.coffee
AgeCommit message (Collapse)Author
2015-01-30Visual/edit modes: another minor code review.Stephen Blott
2015-01-28Visual/edit modes: yet more minor changes.Stephen Blott
- Use a has for singletons (as it was previously), but with a distinct identity generated by Utils.getIdentity. - Fix counts not be using in a number of places.
2015-01-21Edit mode: first working visual mode.Stephen Blott
2014-12-30Merge branch 'master' into post-1.46Stephen Blott
2014-12-30Merge branch 'passkeys---union-of-rules' of ↵Stephen Blott
https://github.com/smblott-github/vimium into smblott-github-passkeys---union-of-rules
2014-12-30Exclusions; use querySelector to find sub-elements.Stephen Blott
As @philc pointed out in #1366, this is less brittle.
2014-12-28Consistent treatment of search terms; update comment..Stephen Blott
2014-12-28Consistent treatment of search terms.Stephen Blott
2014-12-21Exclusion; fiddle with styling.Stephen Blott
2014-12-21Exclusion; warn on chrome pages.Stephen Blott
2014-12-21Exclusion; unique keys.Stephen Blott
2014-12-19Tidy cursor hider, move haveChromeVersion to utils.Stephen Blott
2014-12-14Merge branch 'vomnibarToPage' of https://github.com/smblott-github/vimium ↵Stephen Blott
into smblott-github-vomnibarToPage Conflicts: background_scripts/main.coffee content_scripts/vimium.css content_scripts/vomnibar.coffee lib/utils.coffee
2014-11-24Frames; eliminate Array::rotate.Stephen Blott
Array::rotate extends the array object, polluting its name space; so, instead, we just rotate the array manually.
2014-11-23Frames; tidy up.Stephen Blott
2014-11-23Monitor a tab's frames as a list with the current frame at its headmrmr1993
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-09-17Allow open popups from bookmarklets. Fix #968.Shrikant Sharat
Use the `openUrlInCurrentTab` message to open bookmarklets so they are opened via `chrome.tabs.update` instead of an injected script element. This allows bookmarklets to open popups.
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