Jean-Benoist Leger
98f4a9f057
News item for ipython unthreadable.
2017-07-16 18:02:25 +02:00
Jean-Benoist Leger
7ecaf86193
IPython should not be threadable
2017-07-16 01:46:24 +02:00
Gil Forsyth
cee3a71650
Merge pull request #2408 from nathan-hoad/alias-command
...
Implement an alias alias, matching what sh's alias does.
2017-07-09 15:50:31 -04:00
Gil Forsyth
126004482f
Merge pull request #2426 from xonsh/xontrib-schedule
...
Add xontrib-schedule
2017-07-09 15:46:09 -04:00
Jamie Bliss
2bb9b87971
Add news item
2017-07-09 13:46:44 -04:00
Jamie Bliss
6dbec65450
Add xontrib-schedule
2017-07-09 13:42:14 -04:00
Nathan Hoad
b05a5d4bf5
Implement an alias alias, matching what sh's alias does.
2017-07-08 15:35:21 +10:00
Jamie Bliss
afa9f2f6eb
Merge pull request #2424 from moigagoo/patch-1
...
Fix incorrect branch colorization
2017-07-06 10:37:17 -04:00
Konstantin Molchanov
769e2012e1
Fix news item formatting.
2017-07-06 18:14:22 +04:00
Konstantin Molchanov
d38ff4db8d
Add .rst extension to the news item.
2017-07-06 18:08:56 +04:00
Konstantin Molchanov
662f1ecbab
Add news item for the branch colorization fix.
2017-07-06 18:07:55 +04:00
Konstantin Molchanov
d467415365
Fix incorrect branch colorization
...
If 'git' or 'hg' commands are aliases, repository state was determined incorrectly.
This commit adds explicit alias ignoring.
2017-07-06 12:56:39 +04:00
Konstantinos Tsakiltzidis
72f3bc0d08
Merge pull request #2419 from xonsh/compute-prompt-after-event
...
Fire on_pre_prompt before any prompt calculations are done.
2017-07-05 20:15:36 +03:00
Jamie Bliss
f1efed3c79
Add news item
2017-06-30 10:37:25 -04:00
Jamie Bliss
a6cfb694e2
Fire on_pre_prompt before any prompt calculations are done.
2017-06-30 10:29:40 -04:00
Konstantinos Tsakiltzidis
26b0340d70
Merge pull request #2412 from rossnomann/feature/issue-448-add-append_if_no_newline-var
...
Add $APPEND_IF_NO_NEWLINE environment variable
2017-06-29 23:44:52 +03:00
Ross Nomann
a9967c0f5d
Add $XONSH_APPEND_NEWLINE environment variable
2017-06-27 09:10:36 +03:00
Jamie Bliss
7f88c0fe89
Merge pull request #2415 from xonsh/envc
...
pass env into git branch detection
2017-06-24 19:10:43 -04:00
Anthony Scopatz
9036fa666f
pass env into git branch detection
2017-06-24 14:16:41 -04:00
Anthony Scopatz
7c66acbf51
Merge pull request #2407 from nh2/issue-2403-xontrib-whole_word_jumping
...
Add whole_word_jumping xontrib. Implements #2403
2017-06-21 08:27:50 -07:00
Anthony Scopatz
476ab1ba44
Merge pull request #2402 from nh2/fix-gistatus-for-detached-head-no-tags
...
gistatus: Fix hash not being shown when in detaced HEAD and there are…
2017-06-19 16:03:28 -07:00
Anthony Scopatz
b1b936e1ad
Merge pull request #2406 from nh2/gitstatus-fix-leftover-index-lock
...
gistatus: Don't SIGKILL git to avoid leftover .git/index.lock.
2017-06-19 16:02:11 -07:00
Niklas Hambüchen
266e8f39ec
gistatus: Fix hash not being shown when in detaced HEAD and there are no tags.
...
The `git describe --exact-match` used until fails with
fatal: No names found, cannot describe anything.
if there are no tags at all in the repository.
In that case, it exits with exit code 128, and thus the
control flow was aborted, and the fallback `git rev-parse`
was not executed.
As a workaround, `git describe --always` can be used,
which achieves the intended result without increasing the
number of `git` invocations.
See also:
https://stackoverflow.com/questions/4916492/git-describe-fails-with-fatal-no-names-found-cannot-describe-anything
2017-06-19 23:05:10 +02:00
Niklas Hambüchen
5ef4981ecf
gistatus: Don't SIGKILL git to avoid leftover .git/index.lock.
...
Instead, ask it nicely to terminate using SIGTERM.
2017-06-19 23:01:41 +02:00
Niklas Hambüchen
c3b13d10a9
Add whole_word_jumping xontrib. Implements #2403
2017-06-19 21:18:18 +02:00
Jamie Bliss
f05c4d86b8
Merge pull request #2398 from Jitsusama/spelling_fixes
...
Spelling Fixes
2017-06-16 11:12:05 -04:00
Joel Gerber
f0601817d0
Reword BaseShell().format_color() docstring
2017-06-10 10:47:34 -04:00
Joel Gerber
d6387bc66e
Switch @deprecated StrictVersion usage to LooseVersion
...
It appears that the circleci build process introduces a non-SemVer
compliant version number into xonsh.__init__ during build, thus
breaking my test. Switching to LooseVersion checks over
StrictVersion, as this should hopefully allow CI/CD to pass.
2017-06-10 10:45:52 -04:00
Joel Gerber
5d9c40b171
Correct improper word usage in timeit_alias
2017-06-10 10:37:44 -04:00
Joel Gerber
a9e1a31c2c
Correct spelling issue in make_pygments_style
2017-06-10 10:36:34 -04:00
Joel Gerber
17b102da04
Fix incorrect word usage in the CompoundColorMap docstring
2017-06-10 10:35:49 -04:00
Joel Gerber
5494325ac9
Fix incorrect word usage and improve the grammar of _signal_int
2017-06-10 10:31:57 -04:00
Joel Gerber
a2a54292be
Fix spelling error in lopen_loc docstring
2017-06-10 10:28:19 -04:00
Joel Gerber
e7a2d019fc
Fix spelling error and adjust grammar for the --timings argument
2017-06-10 10:27:34 -04:00
Joel Gerber
f128571e3c
Reword the History.append method docstring
...
This hopefully contains an accurate and readable description of
the cmd parameter that is passed in a History().append() call.
2017-06-10 10:23:37 -04:00
Joel Gerber
c33abf0ebf
Mark make_pallete() as deprecated
...
Using the new deprecated() decorator, mark make_pallete() as
deprecated in version 0.5.10 and removed in version 0.6.0.
2017-06-10 10:13:07 -04:00
Joel Gerber
0b94c3ceec
raise AssertionError on deprecated when removed_in exceeded
...
As there was some worry raised over whether people would remember
to remove a deprecated function once the removed_in version had been
reached, I've decided to add functionality that will force the
issue. When a @deprecated function is tagged with a removed_in
release that is greater than or equal to the current release, the
@deprecated decorator will raise an AssertionError, which will
hopefully break CI/CD and force the function to be removed.
2017-06-10 09:57:49 -04:00
Gil Forsyth
132fbcf6a5
version bump to 0.5.12
2017-06-10 09:05:15 -04:00
Gil Forsyth
788df00700
add news item
2017-06-10 09:01:40 -04:00
Gil Forsyth
e74b932fef
Fix release script dirtying the repo
...
Also manually fixed up the CHANGELOG to remove the duplicated release
lines
2017-06-10 09:00:06 -04:00
laerus
22b7f8cea2
version bump to 0.5.11
2017-06-10 14:40:12 +03:00
laerus
33642bb875
version bump to 0.5.11
2017-06-10 14:36:32 +03:00
Joel Gerber
5c33aac9f2
Introduce deprecated function/method decorator
...
This method allows for import time modification of a decorated
method/function such that it's docstring will reflect when the
function was deprecated, when it will be removed and that it is in
fact deprecated. It will also use the warnings system to flag
a DeprecationWarning that Python will report on when run with the
`-W` flag, or, when run through certain static/dynamic code
analyzers.
2017-06-09 21:50:38 -04:00
Joel Gerber
8a220e1514
Slight rewording of msg text in rewrite_imports function
2017-06-09 11:09:06 -04:00
Joel Gerber
9e3d6bfa14
Reword docstring on class While as well as its __init__ method
2017-06-09 11:07:56 -04:00
Joel Gerber
f85bbf4776
Reword populate_buffer docstring
2017-06-09 11:07:01 -04:00
Joel Gerber
b6670b3f2b
Change subprocess' to subprocesses in _fix_null_cmd_bytes() comment
2017-06-09 11:06:24 -04:00
Joel Gerber
177ba80b8a
Reword sentence regarding bounding parentheses.
2017-06-09 11:04:43 -04:00
Konstantinos Tsakiltzidis
8941dfddb7
Merge pull request #2399 from xonsh/dummyflush
...
Add flush method to tests/tools::DummyHistory
2017-06-07 23:04:39 +03:00
laerus
9edfafaf99
Add flush method to tests/tools::DummyHistory
2017-06-07 21:55:04 +03:00