Commit graph

1348 commits

Author SHA1 Message Date
Bob Hyman
65e639eb88 Merge branch 'master' into is3474 2020-03-29 16:14:54 -04:00
Bob Hyman
bd313eef53 Fix test case for changing or deleting colors 2020-03-29 16:05:10 -04:00
Anthony Scopatz
feeb6315cc
Merge pull request #3482 from laloch/execx-evalx-newline
Fix execx / evalx trailing newline
2020-03-19 11:50:33 -04:00
David Strobach
702bd2acc3 Add execx/evalx EOL tests 2020-03-19 11:56:11 +01:00
David Strobach
60f87bc1ba test tools: remove input sanitization from test function 2020-03-19 11:54:56 +01:00
Noortheen Raja
0851866ebf feat: add HISTCONTROL(erasedups) support to sqlite backend
fixes part of !3478
2020-03-19 12:58:31 +05:30
Bob Hyman
9fe865169e color_files() never returns None for token. 2020-03-14 23:03:11 -04:00
Anthony Scopatz
2e30f330c0
Exitcode (#3465) 2020-03-01 15:06:33 -05:00
Jerzy Drozdz
b37675a6e8
Loading rc in non-interactive login shell (#3422)
* Setting -l flag loads environment on non-interactive shell
* Added checking dash existance in sys.argv[0]
* Fixed -a switch behaviour
* Added tests for xexec
* Added test for python<3.7 on Windows
* Testing non existent command with mocked execvpe
2020-03-01 12:56:23 -05:00
Anthony Scopatz
d5e79d14e0
Merge pull request #3441 from astronouth7303/fix-imphooks-get_source
Fix get_source()
2020-02-28 15:22:54 -05:00
Anthony Scopatz
97bcf9fa48
Merge branch 'master' into ls-color 2020-02-28 14:50:28 -05:00
Bob Hyman
94ac8f67f5
black-fix - split from ls_color for separate review (#3431)
* black-fix - split from ls_color for separate review
2020-02-14 09:09:34 -05:00
Jamie Bliss
5087ca0378 Add test 2020-02-11 13:37:20 -05:00
Mike Crowe
11e760a966 "Adding test to validate additional color stripping." 2020-02-08 18:31:53 -05:00
Bob Hyman
ab7ba68462 Merge branch 'master' 49cd2812bb into ls-color 2020-01-31 22:13:07 -05:00
Bob Hyman
248b5cb73a fix #3418 2020-01-12 14:45:52 -05:00
Bob Hyman
f54129342b Hammer lint errors flat. 2020-01-04 13:56:02 -05:00
Bob Hyman
0c31a90e46 Blacken test file corresponding to flake8 config 2020-01-04 09:55:58 -05:00
Bob Hyman
afd3cada69 Legit unit test failure 2020-01-04 09:29:09 -05:00
Bob Hyman
258c849c69 Initialize file_colors in XonshStyle; eliminate pre-cmdloop event 2020-01-03 21:30:14 -05:00
Bob Hyman
148748960b
CI Failures for files outside unit test environment.
/dev/sda and /dev/tty do exist in some Travis test environments but not others.  Eventually should add internal files for block and character device files.  For now, I'm relying on works-on-my-machine tests (which are passing).
2019-12-26 09:04:42 -05:00
Bob Hyman
6082b61fc3 ls-colors -- colorize file arguments in subproc mode command lines 2019-12-26 05:51:48 -05:00
Morten Enemark Lund
104fbe738f
Merge pull request #3370 from xonsh/webconfig
Webconfig
2019-11-05 17:12:43 +01:00
Anthony Scopatz
ca7acecc96 fix ptk tests 2019-10-23 18:38:16 -04:00
Anthony Scopatz
c7a509d4c3 minor fixes all around 2019-10-23 18:14:23 -04:00
Morten Enemark Lund
5648b8d528
Merge pull request #3342 from xonsh/lydia
👻 Spoooky! Ctrl+Z Fix!
2019-10-17 19:02:06 +02:00
Anthony Scopatz
e9f7e85784
Merge pull request #3347 from xonsh/remvoe_unicode_console
Remove built-in support for win unicode console.
2019-10-07 17:41:24 -04:00
Anthony Scopatz
bdf5c730b7 single blank line 2019-10-07 17:07:42 -04:00
Morten Enemark Lund
ea21723dd8 Remove reference to win_unicode_console in tets 2019-10-07 22:23:06 +02:00
Anthony Scopatz
232c573638 more color code fixes and robustness 2019-10-07 14:39:10 -04:00
Anthony Scopatz
dc8728bdaf Added THREAD_SUBPROCS env var 2019-10-05 16:37:45 -04:00
Morten Enemark Lund
50155c66e3
Merge pull request #3329 from xonsh/ctxvars
Context vars fix
2019-10-03 21:53:08 +02:00
Anthony Scopatz
2f0b04f4e5
version_info 2019-10-03 10:27:38 -04:00
Anthony Scopatz
5e7df84548 color modifier fix 2019-10-02 16:37:16 -04:00
Anthony Scopatz
f0160e54d8 fix tests for <v3.7 2019-10-01 17:01:20 -04:00
Anthony Scopatz
5afba70f1e Context vars fix 2019-10-01 16:56:27 -04:00
Christopher J. Wright
7a2fe402cd remove dict edge case 2019-09-11 12:14:48 -04:00
Christopher J. Wright
ba17914524 add test 2019-09-11 11:56:38 -04:00
Gil Forsyth
9acc111d65
Merge pull request #3277 from astronouth7303/xontrib-autovox
Add autovox xontrib
2019-09-09 16:32:55 -04:00
Morten Enemark Lund
7829074d9a
Merge pull request #3307 from xonsh/fnf_exit_1
Non-zero exit code when script path not found
2019-09-09 22:12:41 +02:00
Gil Forsyth
6e09e3c266
Non-zero exit code when script path not found 2019-09-09 14:39:36 -04:00
Jamie Bliss
0b9ab83c86 Only run autovox test on Py3.6+ 2019-08-28 15:02:41 -04:00
Jamie Bliss
f8e5e9521b Write test for autovox 2019-08-28 14:50:27 -04:00
Jamie Bliss
3586da78da Add is_manually_set() to DummyEnv 2019-08-28 14:50:07 -04:00
Jamie Bliss
f0b49f0c81 Add ... support to DummyEnv 2019-08-28 14:30:04 -04:00
Jamie Bliss
cf45a946eb Fix masked test names 2019-08-28 14:07:27 -04:00
Anthony Scopatz
4975977b2b new check_output() test 2019-08-27 11:03:26 -04:00
Anthony Scopatz
dd16d59d86
Merge pull request #3251 from cjrh/vox-activate-absolute-path
vox activate: use absolute path in $PATH
2019-08-25 13:21:16 -04:00
Gil Forsyth
e4fada56b0 Allow logical operators within aliases
This fixes #3270 and logical operators within aliases now resolve correctly.

I've added in `&&`, `||`, `and`, and `or`

```
(base)   ~/githu/xonsh/xonsh logical_op_aliases $ aliases['echocat'] = 'echo "hi" and echo "there"'
(base)   ~/githu/xonsh/xonsh logical_op_aliases $ echocat
hi
there
(base)   ~/githu/xonsh/xonsh logical_op_aliases $ aliases['echocat'] = 'echo "hi" or echo "there"'
(base)   ~/githu/xonsh/xonsh logical_op_aliases $ echocat
hi
(base)   ~/githu/xonsh/xonsh logical_op_aliases $ aliases['echocat'] = 'echo "hi" && echo "there"'
(base)   ~/githu/xonsh/xonsh logical_op_aliases $ echocat
hi
there
(base)   ~/githu/xonsh/xonsh logical_op_aliases $ aliases['echocat'] = 'echo "hi" || echo "there"'
(base)   ~/githu/xonsh/xonsh logical_op_aliases $ echocat
hi
```
2019-08-16 15:17:31 -04:00
Caleb Hattingh
3b8d8472cb Trying to fix CI failure on Windows Python 3.5 2019-08-16 20:33:51 +10:00