Commit graph

7949 commits

Author SHA1 Message Date
Anthony Scopatz
a03e7d7797 try to fix CI tests 2018-12-05 19:17:26 -05:00
Anthony Scopatz
8018a35754 added run-test.xsh script for isolating tests in their own processes as needed 2018-12-05 18:53:33 -05:00
Gil Forsyth
69e5a6fa5f
Merge pull request #2952 from vaaaaanquish/eoferror
fix EOFError when press c-d
2018-12-05 11:01:11 -05:00
vaaaaanquish
b3b225c966 fix eoferror 2018-12-05 23:26:31 +09:00
Anthony Scopatz
0e543aaf66 Merge branch 'master' into execalias 2018-12-02 19:27:57 -05:00
Gil Forsyth
eac1333f79
Merge pull request #2942 from halloleo/doco-arbitrary-paths-in-vox
Doco arbitrary paths in vox
2018-11-29 07:34:58 -05:00
halloleo
f412938f0e Merge remote-tracking branch 'upstream/master' 2018-11-29 12:52:27 +11:00
halloleo
fbfa273ba1 Merge branch 'doco-arbitrary-paths-in-vox' of https://github.com/halloleo/xonsh into doco-arbitrary-paths-in-vox 2018-11-29 10:59:02 +11:00
halloleo
45b13446de PEP8 style changes to help strings 2018-11-29 10:56:51 +11:00
Gil Forsyth
6b6c29bf0c
Update news/doco-arbitrary-paths-in-vox.rst
Co-Authored-By: halloleo <halloleo@users.noreply.github.com>
2018-11-29 00:38:15 +11:00
Gil Forsyth
8fe0562318
Merge pull request #2938 from JakeHedman/timings-crash
--timings crash fix
2018-11-28 08:20:02 -05:00
halloleo
233c6f026e Merge remote-tracking branch 'upstream/master' 2018-11-28 15:56:02 +11:00
Gil Forsyth
8030240d3e
Update news/doco-arbitrary-paths-in-vox.rst
Co-Authored-By: halloleo <halloleo@users.noreply.github.com>
2018-11-28 11:34:25 +11:00
Jake Hedman
5c812fcc66 Add changelog item for --timings crash fix 2018-11-27 22:30:29 +01:00
Jake Hedman
2b566e8a70 Don't crash on --timings
Create `builtins.__xonsh__` before the `setup_timings()` call since it's
is needed by the event decorators called by `setup_timings()`.

`XonshSession()` is pretty much instant so calling it before
`setup_timings` seems OK.
2018-11-27 22:30:29 +01:00
Jake Hedman
7d9e2c617c premain --timings test
Add (currently failing) test to make sure the --timings flag does not
crash xonsh on start.
2018-11-27 22:30:29 +01:00
Jake Hedman
90784cdcf2 setup_timings argv argument
Use `argv` from `premain` in `setup_timings` instead of `sys.argv` for
testability
2018-11-27 22:30:29 +01:00
Jake Hedman
cd730aef4f Reset XonshSession in teach main.py test
Unset builtins.__xonsh__ in shell fixture to make sure main.py tests
pass even if the XonshSession has not been touched by previous tests.

Also set $XONSH_CACHE_SCRIPTS in os.environ instead of
builtins.__xonsh__.env since it's not yet created.
2018-11-27 22:30:29 +01:00
Gil Forsyth
e9866478b4
Merge pull request #2937 from gsaga/vox_no_pyvenv_cfg
addressed issue #2929
2018-11-27 16:19:53 -05:00
Gil Forsyth
d2d5602e90
Merge pull request #2945 from qqhann/qqhann/update-collapsed-pwd
Update _collapsed_pwd to return two chars if a dir begins with "."
2018-11-27 15:59:13 -05:00
Qiushi Pan
4684af2007 Add news for update _collapsed_pwd 2018-11-25 05:31:34 +09:00
Qiushi Pan
58f15d6659 Update _collapsed_pwd to print 2 chars if it dir begins with "." 2018-11-25 05:18:47 +09:00
Anthony Scopatz
2c6abbf401 more test failure fixes 2018-11-19 23:24:32 -05:00
Anthony Scopatz
e84bb926ea try to fix tests 2018-11-19 21:56:58 -05:00
Anthony Scopatz
b32823d236 replace yield fixtures 2018-11-19 20:22:18 -05:00
Anthony Scopatz
a1e2c40688 xonsh execer on AST test 2018-11-19 20:08:44 -05:00
Anthony Scopatz
6320361150 Merge branch 'master' into execalias 2018-11-19 20:06:02 -05:00
Anthony Scopatz
fe82924ca9 add execer 2018-11-19 20:01:20 -05:00
Anthony Scopatz
2287067a11 try to fix alias tests by removing global state 2018-11-19 19:51:15 -05:00
halloleo
d62e770dfa
Typo
Could fixed this one thanks to @astronouth7303. :-)
2018-11-19 17:44:22 +11:00
halloleo
848daf240b Corrected RST syntax 2018-11-17 11:27:11 +11:00
halloleo
3a3554eaa0 Document arbitrary paths in vox.
* Added the possibility of arbitrary paths to the help strings in `vox activate` and
  `vox remove`
* Also updated the documentation accordingly.
2018-11-15 22:35:45 +11:00
Sagar Tewari
9ceba90335 fixed news.rst and made vox check for python executable to find venvs 2018-11-14 20:22:18 +05:30
halloleo
7e799979b8
Merge pull request #3 from xonsh/master
base sync
2018-11-14 16:32:34 +11:00
Sagar Tewari
97acffb8b1 addressed issue 2929 2018-11-13 23:39:26 +05:30
Anthony Scopatz
79ac577d2e
Merge pull request #2936 from sushobhana/docfix
Removed duplicate API link in sidebar
2018-11-13 09:52:28 -05:00
sushobhana
987f5b4021 removed extra api link 2018-11-13 17:04:47 +05:30
Anthony Scopatz
c3c694d088 try builtins 2018-11-11 09:15:23 -06:00
Anthony Scopatz
1502efeef5 try to fix tests 2018-11-10 00:25:47 -06:00
Anthony Scopatz
9211f3a4da fix quote stripping 2018-11-10 00:03:31 -06:00
Anthony Scopatz
cc5d098b55 Added import 2018-11-09 23:25:31 -06:00
Anthony Scopatz
d3c03fe244 better filename 2018-11-09 23:19:47 -06:00
Anthony Scopatz
9ce8b07310 even more news 2018-11-09 23:11:37 -06:00
Anthony Scopatz
0de6493864 news updated 2018-11-09 23:09:16 -06:00
Anthony Scopatz
9084c376b2 execalias 2018-11-09 13:49:33 -06:00
Anthony Scopatz
15cec77f3c
Merge pull request #2916 from BoboTiG/fix-resource-warnings
Fix several ResourceWarning: unclosed file
2018-11-09 06:48:51 -05:00
Anthony Scopatz
224321d9b1
Merge pull request #2932 from philopon/fix-exec-candidates
fix no candidates if no permission files in PATH
2018-11-09 06:45:24 -05:00
Mickaël Schoentgen
ba2fd9bb00 Fix several ResourceWarning: unclosed file in tests 2018-11-09 10:08:03 +01:00
Hirotomo Moriwaki
7bb8aa8d00 fix no candidates if no permission files in PATH 2018-11-09 14:19:22 +09:00
Gil Forsyth
d53fc4f40a
Merge pull request #2930 from xonsh/andash
More and/or subprocess token fixes.
2018-11-08 15:01:19 -05:00