Commit graph

105 commits

Author SHA1 Message Date
Gil Forsyth
7acb86e813 Make ptk xontribs compatible with ptk1 and ptk2 2018-07-20 12:50:00 -04:00
Anthony Scopatz
23251a4a67 some remaining style fixes 2018-07-16 09:43:36 -04:00
Anthony Scopatz
ca49e2e246 more style fixes 2018-07-15 17:26:22 -05:00
Anthony Scopatz
b3a2102220 fix binding on whole word jumping 2018-07-15 15:33:34 -05:00
Gil Forsyth
073cff806f Fix for bashisms on ptk2
but we need to make this backwards compatible, too.... ARGH
2018-07-14 22:36:16 -04:00
Morten Enemark Lund
3d8c350127 Fix bug with free_cwd xontrib
The _chdir_up() returned a pathlike object, which
isn't handled well by  __xonsh_env__['PWD']. Fixed
by returning the absolute path as a string.
2018-04-25 09:26:32 +02:00
Maximilian Köhl
dbe03b105e add ON_MSYS across all modules 2017-12-31 16:32:19 +01:00
Morten Enemark Lund
93a72c0b85 Use pathlib for path manipulations 2017-12-03 21:35:32 +01:00
Morten Enemark Lund
1e10c8ca53 Fix doc typos 2017-12-03 21:34:51 +01:00
Morten Enemark Lund
f066f6bf20 Ensure free_cwd is only active on pure windows 2017-12-03 21:34:04 +01:00
Jamie Bliss
6e47ce54e6
Fix vox activate
Fix a typo in `vox activate`
2017-11-10 17:44:15 -05:00
Nathan Hoad
b05a5d4bf5 Implement an alias alias, matching what sh's alias does. 2017-07-08 15:35:21 +10:00
Niklas Hambüchen
c3b13d10a9 Add whole_word_jumping xontrib. Implements #2403 2017-06-19 21:18:18 +02:00
Joel Gerber
2abb24f4f6
Docstring and comment spelling corrections
A number of common spelling typos found within various docstrings and
comments found within source code files have been identified and resolved.
2017-06-07 11:51:17 -04:00
Gil Forsyth
da1f0a3d91 Merge pull request #2368 from anddam/anddam-patch-1
Minor change: fix typo, rephrase sentence
2017-05-01 09:24:05 -04:00
Andrea D'Amore
4784f7cd1a Minor change: fix typo, rephrase sentence 2017-04-28 23:23:34 +02:00
Konstantinos Tsakiltzidis
b2d8cefb3f Merge pull request #2303 from xonsh/release_cwd
Release cwd on Windows while prompt is displayed
2017-03-16 11:49:04 +02:00
Gil Forsyth
4e20ad035e add Alt-. cmd to recall last arg to bashisms 2017-03-11 11:59:56 -05:00
Morten Enemark Lund
502fb9f1a6 flake8 again 2017-03-10 08:20:16 +01:00
Morten Enemark Lund
20a0db2d35 Get the logic right 2017-03-09 23:02:26 +01:00
Morten Enemark Lund
049c3931d6 forgot to import print_exception 2017-03-09 22:32:58 +01:00
Morten Enemark Lund
f6a5c85cb0 Move to a xontrib 2017-03-09 22:29:49 +01:00
Anthony Scopatz
a3b6424bda better semantics for jedi 2017-02-21 11:56:33 -05:00
Anthony Scopatz
87f52530e5 Merge branch 'master' into rtnjdei 2017-02-21 11:47:15 -05:00
Anthony Scopatz
3b793fb18a more show fixes and news 2017-02-19 17:49:40 -05:00
Anthony Scopatz
22e7345090 should work 2017-02-19 15:40:06 -05:00
Anthony Scopatz
c7a61bbf5d cleanup 2017-02-14 15:27:40 -05:00
Anthony Scopatz
498fca5aaa new xoreutils 2017-02-12 18:07:26 -05:00
Hugo Wang
67caabd8d0 keep foreground in proc 2017-02-12 17:16:42 +08:00
Hugo Wang
5368d720fe moved unthreadable etc decorators to tools 2017-02-12 11:01:24 +08:00
Anthony Scopatz
feb0c9b209 Return of the Jedi 2017-02-07 22:53:28 -05:00
Jamie Bliss
39102ee401 Update vox_on_* 2017-01-14 19:06:49 -05:00
Jamie Bliss
fdb4a6ac35 Update on_transform_command 2017-01-14 18:13:27 -05:00
Jamie Bliss
972ae6e689 Merge remote-tracking branch 'upstream/master' into event-transform_command 2017-01-12 13:22:23 -05:00
Jamie Bliss
5b83ef8040 Add on_transform_command event, seperate from on_precommand. 2017-01-01 19:59:12 -05:00
Jean-Benoist Leger
b6d339a825 ret_code should return None not '' when rc==0
When the return code is 0, nothing is displayed in the prompt. Empty string was
returned. Returning None have the same behavior, but allows user to use the
syntax "{retcode:{} }" in the prompt for different spacing.
2017-01-02 01:27:34 +01:00
Jamie Bliss
d2de666ac7 Merge remote-tracking branch 'upstream/master' into vox-fs 2016-12-15 22:21:33 -05:00
Hugo Wang
b47aabf654 updated for ut 2016-12-15 22:54:45 +08:00
Hugo Wang
6926a21b9c updated XONSH_DEBUG debug levels 2016-12-15 22:30:26 +08:00
Jamie Bliss
5e5921802d add fspath support to vox 2016-12-09 23:14:41 -05:00
Anthony Scopatz
69969988ef some flake cleanup 2016-11-20 18:49:26 -05:00
Anthony Scopatz
d0ac0c2efc some cleanup 2016-11-20 17:32:53 -05:00
Anthony Scopatz
8f5aa9d73d initial bashisms, super broken 2016-11-15 01:01:34 -05:00
laerus
927dd300b6 renamed FORMATTER_DICT to PROMPT_FIELDS 2016-11-02 16:06:35 +02:00
Anthony Scopatz
b8e4adbaf3 Merge pull request #1790 from derekbrokeit/xontrib-mpl_copy-fig
xontrib-mpl makes a copy of the current figure before modifying it
2016-10-10 22:35:27 -05:00
Derek Thomas
da250793e7 add iterm2 and inline-image support for xontrib-mpl
- requires the use of `iTerm2.app` app for OSX
- requires the presence of package `iterm2_tools` to work
2016-10-09 22:55:42 +08:00
Derek Thomas
99c43bd28e add doc-string for mplhooks.show 2016-10-09 22:53:32 +08:00
Derek Thomas
ffded5cc7c add returns to the doc-string for mpl
- also, remove the link to forked method because the current methodology
has diverged from it entirely
2016-10-09 22:49:30 +08:00
Derek Thomas
0806b0ff48 mpl now relies on a buffer method as the recommended way to save figure
- also, removes reliance on the canvas object in favor of simple
high-level figure methods
2016-10-09 22:47:35 +08:00
Derek Thomas
33c49e55f1 refactor xontrib-mpl
- add environment configuration: $XONTRIB_MPL_MINIMAL_DEFAULT
    + defines if the plot will plot will minimize all plots and reduce
    margins to nearly nothing
    + if false, the printed plot will attempt meet the same layout as
    the figure is meant to contain, but text will look mostly like
    single characters unless font size is particularly large compared to
    the plot area.
- split the array generation into two functions
    + figure_to_rgb_array now is a simple function that generates a
    numpy array of the image representation of the figure.
    + figure_to_tight_array replaces the old figure_to_rgb_array by
    taking in a width, height, and minimal boolean.
2016-10-09 21:23:22 +08:00