{"push_id":1056834957,"size":11,"distinct_size":11,"ref":"refs/heads/master","head":"4aadec200082f30876c29f2c53a025f4e7d1f05a","before":"b388a6730c2f924a74b1849cc898e68b655d3bf1","commits":[{"sha":"aa57d5c0f0c71eb01b97d1a81e911fea9738ba12","author":{"email":"de3e21482d297103c92e3a0cd1e3574c8553d0bf@gmail.com","name":"Ben Jackson"},"message":"Don't send non-javascript files to tern","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/aa57d5c0f0c71eb01b97d1a81e911fea9738ba12"},{"sha":"dc8e8c6dfef14221767b568716b2292fcea5d49b","author":{"email":"1a73af9e7ae00182733b2292511b814be66f065f@micbou.com","name":"micbou"},"message":"Add tests for completion cache\n\nCheck if completions are properly cached according to:\n - line number;\n - start column;\n - completion type.","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/dc8e8c6dfef14221767b568716b2292fcea5d49b"},{"sha":"85c8c20a1ad9d06366af82ace3d78239f76108d8","author":{"email":"1a73af9e7ae00182733b2292511b814be66f065f@micbou.com","name":"micbou"},"message":"Clean up CompletionsCache class","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/85c8c20a1ad9d06366af82ace3d78239f76108d8"},{"sha":"352b88a159863a145c51a074b1fa774f4c1f00b9","author":{"email":"5c2bd99229d434a2f7174ea3f8798d821bc7f9ae@barosl.com","name":"Homu"},"message":"Auto merge of #442 - micbou:cache, r=puremourning\n\n[READY] Add tests for cache completion\n\nAdd tests for cache completion and clean up CompletionsCache class.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/valloric/ycmd/442)\n<!-- Reviewable:end -->","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/352b88a159863a145c51a074b1fa774f4c1f00b9"},{"sha":"c3e6904f436463f7fdb3aed5055552e893774009","author":{"email":"5c2bd99229d434a2f7174ea3f8798d821bc7f9ae@barosl.com","name":"Homu"},"message":"Auto merge of #440 - puremourning:fix-js-crash-filetypes, r=micbou\n\n[READY] Don't send non-javascript files to tern\n\nThis fixes a _rare_ tern server crash noticed when editing a Python file and a JavaScript file simultaneously. It's not completely fair to expect tern server to parse Python, so it can occasionally crash doing so. As a result, only include files who have the `javascript` filetype.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/valloric/ycmd/440)\n<!-- Reviewable:end -->","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/c3e6904f436463f7fdb3aed5055552e893774009"},{"sha":"645c49fc9326ccf9026530b4ccea1e3d6a0b356d","author":{"email":"1a73af9e7ae00182733b2292511b814be66f065f@micbou.com","name":"micbou"},"message":"Add python-future to Python path before packages\n\nWe add python-future to Python path before the 'site-packages' folder\n(or 'dist-packages' on Debian-like distributions) so that its modules\nare not overridden by installed packages.","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/645c49fc9326ccf9026530b4ccea1e3d6a0b356d"},{"sha":"5b3a345347f3780e5b1ca691368d253a7490cb41","author":{"email":"1a73af9e7ae00182733b2292511b814be66f065f@micbou.com","name":"micbou"},"message":"Add tests for sys.path modification","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/5b3a345347f3780e5b1ca691368d253a7490cb41"},{"sha":"89f0c5b335ea5a244bdf62ee5a1431c6ce2c5ff2","author":{"email":"5c2bd99229d434a2f7174ea3f8798d821bc7f9ae@barosl.com","name":"Homu"},"message":"Auto merge of #448 - micbou:fix-future-import, r=puremourning\n\n[READY] Add python-future to sys.path just before packages path\n\n### Problem\n\nModules from our `python-future` package may be overridden by ones from already installed packages: a package using the same name for its modules (ex: `builtins`) or a different version of `python-future`.\n\n### How to reproduce\n\nWith a package installing a `builtins` module:\n```sh\npip install pies2overrides\n```\nresults in:\n```\nTraceback (most recent call last):\n  File \"<string>\", line 24, in <module>\n  File \"C:\\\\Users\\\\micbou\\\\.vim\\\\bundle\\\\YouCompleteMe\\\\autoload\\..\\python\\ycm\\setup.py\", line 49, in SetUpYCM\n    base.LoadJsonDefaultsIntoVim()\n  File \"C:\\\\Users\\\\micbou\\\\.vim\\\\bundle\\\\YouCompleteMe\\\\autoload\\..\\python\\ycm\\base.py\", line 55, in LoadJsonDefaultsIntoVim\n    defaults = user_options_store.DefaultOptions()\n  File \"C:\\Users\\micbou\\.vim\\bundle\\YouCompleteMe\\python\\ycm\\..\\..\\third_party\\ycmd\\ycmd\\user_options_store.py\", line 55, in DefaultOptions\n    options = json.loads( ReadFile( settings_path ) )\n  File \"C:\\Users\\micbou\\.vim\\bundle\\YouCompleteMe\\python\\ycm\\..\\..\\third_party\\ycmd\\ycmd\\utils.py\", line 55, in ReadFile\n    with open( filepath, encoding = 'utf8' ) as f:\nTypeError: 'encoding' is an invalid keyword argument for this function\n```\n\nWith a different version of `python-future`:\n```sh\npip install future==0.10.0\n```\ngives this error:\n```\nTraceback (most recent call last):\n  File \"<string>\", line 22, in <module>\n  File \"C:\\\\Users\\\\micbou\\\\.vim\\\\bundle\\\\YouCompleteMe\\\\autoload\\..\\python\\ycm\\base.py\", line 23, in <module>\n    standard_library.install_aliases()\nAttributeError: 'module' object has no attribute 'install_aliases'\n```\n\n### Solution\n\nInstead of appending `python-future` to `sys.path`, insert it just before the first `site-packages` (`dist-packages` on Debian-like distributions) path. If no `site/dist-packages` are found, fall back to appending it.\n\nTested on Windows 7, Ubuntu 14.04, and OS X 10.11.\n\nFixes Valloric/YouCompleteMe#2024\nCloses #446\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/valloric/ycmd/448)\n<!-- Reviewable:end -->","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/89f0c5b335ea5a244bdf62ee5a1431c6ce2c5ff2"},{"sha":"d2ebef1d18c3bc1bcd926250d5f9622b68050ae4","author":{"email":"39f69c278f46165447f30d10acf54277aaa3d5fc@markovic.io","name":"Val Markovic"},"message":"More tests for hmac_utils\n\nThe file should now have 100% test coverage.","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/d2ebef1d18c3bc1bcd926250d5f9622b68050ae4"},{"sha":"09f216441f99c02d51f9460e006683c5fe83669e","author":{"email":"5c2bd99229d434a2f7174ea3f8798d821bc7f9ae@barosl.com","name":"Homu"},"message":"Auto merge of #449 - Valloric:cov-plus, r=vheon\n\nMore tests for hmac_utils\n\nThe file should now have 100% test coverage.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/valloric/ycmd/449)\n<!-- Reviewable:end -->","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/09f216441f99c02d51f9460e006683c5fe83669e"},{"sha":"4aadec200082f30876c29f2c53a025f4e7d1f05a","author":{"email":"b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@vincentwoo.com","name":"Vincent Woo"},"message":"Permanently disable caching","distinct":true,"url":"https://api.github.com/repos/CoderPad/ycmd/commits/4aadec200082f30876c29f2c53a025f4e7d1f05a"}]}