Commit graph

1048 commits

Author SHA1 Message Date
Morten Enemark Lund
931e4ecb68 Added binstar build configuration to build conda packages.
It builds using the linux-64 worker on Anaconda.org, then converts the conda packages to osx-64, linux-32, win-32, win-64
2015-07-24 13:08:12 +02:00
adam j hartz
92adb19259 Merge branch 'scopatz-command-not-found' 2015-07-21 18:52:32 -04:00
adam j hartz
c15fcc05d7 Merge branch 'clf' of github.com:scopatz/xonsh into scopatz-command-not-found 2015-07-21 18:51:32 -04:00
Anthony Scopatz
2766f7c709 Merge branch 'adqm-vim_suspend' 2015-07-20 16:15:01 -05:00
adam j hartz
40c731af17 first attempt at a fix for vim/emacs not coming back from background 2015-07-18 09:06:54 -04:00
Anthony Scopatz
29fa205a20 Merge branch 'BYK-fix-hg-errors' 2015-07-16 08:56:42 -07:00
Anthony Scopatz
b17a1eb6f1 Merge branch 'fix-hg-errors' of https://github.com/BYK/xonsh into BYK-fix-hg-errors 2015-07-16 08:56:03 -07:00
Anthony Scopatz
a79bad5278 Merge branch 'melund-pretty_print' 2015-07-16 08:51:24 -07:00
Morten Enemark Lund
e5c16530f9 Added _repr_pretty_() functions to Aliases and Env classes. 2015-07-16 12:58:00 +02:00
Morten Enemark Lund
82cd08f5fb Added IPython copyright notice to pretty.py 2015-07-16 12:58:00 +02:00
Morten Enemark Lund
5567dba56b Added the pretty module to the documentation 2015-07-16 12:58:00 +02:00
Morten Enemark Lund
5b3a903d15 Register the pretty print display hook in main 2015-07-16 12:57:59 +02:00
Morten Enemark Lund
c049a49fb9 Commented the py2/3 handling in the pretty.py module 2015-07-16 12:57:59 +02:00
Morten Enemark Lund
a44aec143a Added pretty print module from the IPython project 2015-07-16 12:57:59 +02:00
Burak Yigit Kaya
541fd02425 Fix a bunch of hg related errors on Windows
xonsh throws an exception and quits when I `cd` into a Mercurial
directory. This patch fixes a few issues causing it to throw exceptions
on Windows when trying to get the `hg` branch name and info.
2015-07-16 12:41:47 +03:00
Anthony Scopatz
1c0a37b7fe Merge branch 'BYK-where-on-windows' 2015-07-15 13:57:32 -07:00
Anthony Scopatz
55a302aff5 Merge branch 'where-on-windows' of https://github.com/BYK/xonsh into BYK-where-on-windows 2015-07-15 13:56:48 -07:00
Anthony Scopatz
105910e0d4 Merge pull request #304 from asmeurer/conda-recipe-fix
Remove the Python version restriction from the conda recipe
2015-07-15 12:43:02 -07:00
Aaron Meurer
245ad69108 Remove the Python version restriction from the conda recipe
conda build adds this to the package automatically.
2015-07-15 12:53:57 -05:00
Burak Yigit Kaya
81722c9842 Enable locate_binary on Windows
This makes Git and Mercurial integrations more robust on windows.

Prerequisite for #300.
2015-07-15 09:31:11 +03:00
Morten Enemark Lund
8355d31881 Remove OSError catch.
It was never intended to be there. FileNotFoundError is the subclass of OSError that we want to catch.
2015-07-15 09:31:10 +03:00
mel
56075e6c8f Catch cases where the commands are not found. subprocess.CalledProcessError is only raise if the command is found but it returned a non-zero exit code. 2015-07-15 09:31:09 +03:00
Anthony Scopatz
b559c03ff2 Merge branch 'melund-check_subprocess_result' 2015-07-14 17:45:49 -07:00
Anthony Scopatz
5c016b4cf9 Merge branch 'check_subprocess_result' of https://github.com/melund/xonsh into melund-check_subprocess_result 2015-07-14 17:44:25 -07:00
Morten Enemark Lund
d3adcd24f0 Remove OSError catch.
It was never intended to be there. FileNotFoundError is the subclass of OSError that we want to catch.
2015-07-14 22:34:04 +02:00
Anthony Scopatz
f15dd455de implemented --no-failure-msg since debian doesnot support it 2015-07-14 12:47:15 -05:00
Anthony Scopatz
6a56b7915d fix printing 2015-07-14 12:39:59 -05:00
Anthony Scopatz
0031c32a7f Merge branch 'master' into clf 2015-07-14 12:24:31 -05:00
Anthony Scopatz
37fcd9534b Merge branch 'blueyed-use-set-for-complete-funcs' 2015-07-12 16:55:43 -05:00
Anthony Scopatz
3ad5c8c9dd Merge branch 'use-set-for-complete-funcs' of https://github.com/blueyed/xonsh into blueyed-use-set-for-complete-funcs 2015-07-12 16:46:17 -05:00
Daniel Hahler
9cd65b4593 bash completions: use set() with declare -F
This changes `_load_bash_complete_files` to get the definition of each
bash completion function only once, and uses a single call to
`declare -F`.

The output of `complete -p`, which is used in
`completer._load_bash_complete_funcs` can be rather large and full of
duplicates, e.g. via ubuntu-dev-tools's
`/etc/bash_completion.d/pbuilder-dist`, where a list of aliases is
being defined:

    [ "$have" ] && _pbuilder-aliases()
    {
        local distro builder arch
        for distro in $(ubuntu-distro-info --all; debian-distro-info --all) stable testing unstable; do
            for builder in pbuilder cowbuilder; do
                echo "$builder-$distro"
                for arch in i386 amd64 armel armhf; do
                    echo "$builder-$distro-$arch"
                done
            done
        done
        return 0
    }
    [ "$have" ] && complete -F _pbuilder-dist -o filenames pbuilder-dist cowbuilder-dist $(_pbuilder-aliases)
2015-07-12 17:48:26 +02:00
Rob Brewer
4c004dd540 Merge pull request #271 from scopatz/mantest
improved man tests
2015-07-12 10:28:25 -04:00
Anthony Scopatz
66048b817f added command-not-found capability for ubuntu and debian 2015-07-11 12:15:12 -05:00
Anthony Scopatz
aa48e80282 Merge pull request #284 from melund/melund-conda_build_workaround
Temporary work-around for bug in conda-build
2015-07-11 10:13:28 -05:00
Morten Enemark Lund
77ee167307 Temporary work-around for bug in conda-build
Removing (>=) in the version specification should allow conda convert to correctly convert conda packages build for linux can be converted to windows.
2015-07-10 13:54:10 +02:00
mel
defac4df0c Catch cases where the commands are not found. subprocess.CalledProcessError is only raise if the command is found but it returned a non-zero exit code. 2015-07-08 14:17:58 +02:00
Anthony Scopatz
93f3832205 Merge branch 'naufraghi-cdpath' 2015-07-06 10:12:51 +03:00
Matteo Bertini
5ef6ddff04 Add CDPATH to the table of special xonsh env vars 2015-07-04 01:09:45 +02:00
Matteo Bertini
e130c6f96f Add support for CDPATH 2015-07-04 01:06:27 +02:00
Anthony Scopatz
e846616756 Merge pull request #279 from melund/master
Update to conda recipe
2015-07-02 10:40:04 +03:00
mel
6e867aa1a3 Addded "bld.bat" file to the conda recipe, since the entry "script: python setup.py install" in meta.yaml does seem to work on windows. 2015-06-26 14:56:46 +02:00
mel
6a16d036f2 Added entry point to conda build recipe. This causes the conda build machinery to generate xonsh.exe file in scripts folder and a xonsh-script.py file. It overrides any similar named scripts in setup.py. 2015-06-26 14:53:46 +02:00
mel
2decec8631 Update the conda recipe to build directly from the git repository.
The version is taken from the most recent tag, and the build-no is the number of commits since the tag.
2015-06-26 14:51:45 +02:00
Rob Brewer
c8c35d379f Merge pull request #270 from BYK/fix-runnables-on-win
Favor runnable extensions on Windows
2015-06-21 22:55:21 -04:00
Anthony Scopatz
c1ecff25f8 Merge branch 'mic-e-master' 2015-06-19 14:54:11 +03:00
Anthony Scopatz
32dbded523 Merge branch 'master' of https://github.com/mic-e/xonsh into mic-e-master 2015-06-19 14:50:19 +03:00
Anthony Scopatz
05d1167182 improved man tests 2015-06-19 14:40:11 +03:00
Anthony Scopatz
693c638faf Merge branch 'zajaczajac-master' 2015-06-19 14:30:22 +03:00
Anthony Scopatz
c4a38cc9b2 Merge branch 'master' of https://github.com/zajaczajac/xonsh into zajaczajac-master 2015-06-19 14:25:36 +03:00
adam j hartz
cbb91d2da7 Merge branch 'rbrewer-windows-cmds' 2015-06-18 21:39:58 -04:00