Gil Forsyth
0f16fa7d64
Updated CHANGELOG for 0.14.4
2024-01-16 08:58:06 -05:00
Gil Forsyth
21c66739c8
bumped version to 0.14.4
2024-01-16 08:58:05 -05:00
Gil Forsyth
cd61c8e1d0
Updated authorship for 0.14.4
2024-01-16 08:58:05 -05:00
JamesParrott
2db06e700e
Use %COMSPEC% not "cmd" to prevent hijacking. Fixes #5254 ( #5255 )
...
* Use %COMSPEC% not "cmd" to prevent hijacking. Fixes #5254
* Update aliases.py
* Update aliases.py
---------
Co-authored-by: Andy Kipp <anki-code@users.noreply.github.com>
2024-01-16 08:56:07 -05:00
pre-commit-ci[bot]
235e5999ea
[pre-commit.ci] pre-commit autoupdate ( #5264 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.1.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.11...v0.1.13 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-15 23:11:15 +01:00
Nathan Monfils
5b20891975
Actually fully disable system clipboard ( #5155 ) ( #5261 )
...
Allow to fully disable system clipboard
Fixes #5155
In VI mode, disabling "delete" hotkeys isn't enough.
After discussion in #5261 , we don't change the default behavior but
allow fully disabling the system clipboard to better support the
use-case of VI mode user.
Co-authored-by: Nathan Monfils <nmo@escaux.com>
2024-01-15 15:55:23 +05:30
pre-commit-ci[bot]
062b84b30d
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 23.12.0 → 23.12.1](https://github.com/psf/black/compare/23.12.0...23.12.1 )
- [github.com/astral-sh/ruff-pre-commit: v0.1.8 → v0.1.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.8...v0.1.11 )
- [github.com/pre-commit/mirrors-mypy: v1.7.1 → v1.8.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.7.1...v1.8.0 )
2024-01-15 14:46:03 +05:30
Airat Makhmutov
66f0ba39f2
fix test_bash_completer for the date command ( #5258 )
...
see https://github.com/xonsh/xonsh/issues/5257
Co-authored-by: Ajrat Makhmutov <rauty@altlinux.org>
2023-12-31 16:08:28 +01:00
pre-commit-ci[bot]
e3a6dcf255
[pre-commit.ci] pre-commit autoupdate ( #5237 )
...
updates:
- [github.com/psf/black: 23.11.0 → 23.12.0](https://github.com/psf/black/compare/23.11.0...23.12.0 )
- [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.1.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.6...v0.1.8 )
- [github.com/pre-commit/mirrors-mypy: v1.7.0 → v1.7.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.7.0...v1.7.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-20 13:00:19 +01:00
Stefano Rivera
6513dea2f4
Add len() protocol to LazyObject to support Sphinx 5+ ( #5249 )
...
* Add len() protocol to LazyObject
Required by Sphinx 5+
Fixes : #5248
* Unrestrict maximum Sphinx version
2023-12-17 18:32:02 +01:00
Andy Kipp
a76a2f665f
Update config.yml: improve the text ( #5247 )
...
* Update config.yml
* Update config.yml
2023-12-14 11:51:44 +01:00
dependabot[bot]
919bedd190
Bump actions/setup-python from 4 to 5 ( #5243 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 10:58:51 +01:00
Gil Forsyth
23c50c215e
Updated CHANGELOG for 0.14.3
2023-12-05 10:47:54 -05:00
Gil Forsyth
5d8c975f34
bumped version to 0.14.3
2023-12-05 10:47:54 -05:00
Gil Forsyth
9dba3a06a3
Updated authorship for 0.14.3
2023-12-05 10:47:54 -05:00
Gil Forsyth
7a5d7c2886
fix(xpip): patch in user site packages for xpip where needed ( #5238 )
2023-12-05 10:46:49 -05:00
Jacqueline Leykam
f4e979a2f3
correct scandalous misrepresentation of the friendly interactive shell's feature set ( #5235 )
...
correct scandalous misrepresentation
2023-11-27 11:12:28 +01:00
pre-commit-ci[bot]
17a43bd073
[pre-commit.ci] pre-commit autoupdate ( #5230 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.5...v0.1.6 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-24 10:37:31 +01:00
Joshix-1
b2b23a8240
add generic on_pre_spec_run and on_post_spec_run ( #5232 )
...
* add generic on_pre_spec_run and on_post_spec_run
* black
* edit docs/events.rst
* news
* Update on_pre_spec_run-on_post_spec_run.rst
---------
Co-authored-by: Andy Kipp <anki-code@users.noreply.github.com>
2023-11-23 12:19:34 +01:00
Gil Forsyth
0b141e56ad
Updated CHANGELOG for 0.14.2
2023-11-17 10:58:12 -05:00
Gil Forsyth
e67d70cb74
bumped version to 0.14.2
2023-11-17 10:58:11 -05:00
Gil Forsyth
cc3d2f8d42
Updated authorship for 0.14.2
2023-11-17 10:58:11 -05:00
pre-commit-ci[bot]
bbb657d72e
[pre-commit.ci] pre-commit autoupdate ( #5228 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-16 10:23:53 -05:00
pre-commit-ci[bot]
82e0da6d18
[pre-commit.ci] pre-commit autoupdate ( #5209 )
...
updates:
- [github.com/psf/black: 23.9.1 → 23.10.1](https://github.com/psf/black/compare/23.9.1...23.10.1 )
- [github.com/astral-sh/ruff-pre-commit: v0.0.288 → v0.1.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.288...v0.1.4 )
- [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.6.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.5.1...v1.6.1 )
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-07 10:39:15 +01:00
doronz88
f308813f15
history: fix json file permissions upon sudo
( #5220 ) ( #5221 )
2023-10-25 16:26:04 -04:00
Gil Forsyth
0fe0a6c03e
fix(dirstack): use XSH.env for $HOME check, not os.path ( #5211 )
...
`os.path.expanduser` relies on the value of `$HOME` set in `os.environ`.
This meant that a user who set `$HOME` would then not end up in that
directory with a no-argument call to `cd` unless they had set
`UPDATE_OS_ENVIRON`.
Now the value of `$HOME` is respected regardless of the setting in `UPDATE_OS_ENVIRON`
2023-09-25 14:53:15 +06:00
pre-commit-ci[bot]
5305b54257
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-18 11:08:08 +05:30
pre-commit-ci[bot]
3c78f77eea
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-18 11:08:08 +05:30
Noorhteen Raja NJ
b4d196db17
fix: ruff linter errors
2023-09-18 11:08:08 +05:30
pre-commit-ci[bot]
aff0b681e8
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0...23.9.1 )
- [github.com/astral-sh/ruff-pre-commit: v0.0.281 → v0.0.288](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.281...v0.0.288 )
- [github.com/pre-commit/mirrors-mypy: v1.4.1 → v1.5.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.4.1...v1.5.1 )
2023-09-18 11:08:08 +05:30
dependabot[bot]
a6b6cf42c9
Bump tibdex/github-app-token from 1 to 2 ( #5203 )
...
Bumps [tibdex/github-app-token](https://github.com/tibdex/github-app-token ) from 1 to 2.
- [Release notes](https://github.com/tibdex/github-app-token/releases )
- [Commits](https://github.com/tibdex/github-app-token/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: tibdex/github-app-token
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 10:48:19 +05:30
dependabot[bot]
bb7c515a29
Bump actions/checkout from 3 to 4 ( #5204 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 10:44:38 +05:30
Andy Kipp
1674fdcc0b
Update README.rst: micro fix ( #5199 )
2023-09-04 19:48:35 +05:30
mgunyho
bb154fbfd7
Fix typo in installation instructions ( #5198 )
2023-09-04 17:37:18 +06:00
Andy Kipp
d4a0d7495a
Update README.rst: added one another way to help ( #5197 )
2023-09-04 14:07:33 +05:30
Andy Kipp
d8249abf38
Update packages.rst: fix link ( #5196 )
...
Update packages.rst
2023-09-04 13:51:20 +06:00
ShalokShalom
60f0145ed8
Mention 3.6 instead of 3.5 in docs ( #5193 )
...
* Update intro.rst to mention Python 3.6
The homepage mentions 3.6, so I update this section to be in line
* Create upgrade-python-version.rst
Add news item for https://github.com/xonsh/xonsh/pull/5193
2023-08-23 21:30:20 +06:00
Wilfried Pollan
b3c3e60a05
Fix/parse multiline foreign shell aliases ( #5191 )
...
* fix: Correctly multi line aliases
Bash aliases can span multi lines for readablity or if they are to long
for one line.
Here we just remove added the backslash before further processing.
* doc: Add news item for fix/parse-multiline-aliases branch
---------
Co-authored-by: Wilfried Pollan <wilfried.pollan@moqodow.com>
2023-08-23 00:47:47 +06:00
Gil Forsyth
16c91b71cc
Updated CHANGELOG for 0.14.1
2023-08-16 03:01:35 -04:00
Gil Forsyth
940a1a7c62
bumped version to 0.14.1
2023-08-16 03:01:28 -04:00
Gil Forsyth
ce91db5838
Updated authorship for 0.14.1
2023-08-16 03:01:16 -04:00
HackTheOxidation
44b661dcc0
Add history delete
#4929 ( #5172 )
...
* Add `history delete` #4929
* Add news and satisfy linter.
* Added `history delete` for sqlite backend
* Format with black.
* Use REGEXP instead of LIKE for sqlite backend.
* History delete: iterate over entries for sqlite backend.
* Use '='-operator instead of LIKE.
2023-08-14 22:42:26 +05:30
pre-commit-ci[bot]
b74d33abed
[pre-commit.ci] pre-commit autoupdate ( #5186 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.280 → v0.0.281](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.280...v0.0.281 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-02 00:21:06 +06:00
pre-commit-ci[bot]
7bd8f5da9f
[pre-commit.ci] pre-commit autoupdate ( #5180 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.278 → v0.0.280](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.278...v0.0.280 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix: ruff linter errors
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Noorhteen Raja NJ <jnoortheen@gmail.com>
2023-07-27 13:17:51 +05:30
Cosine Chen
0e229fcc8c
Always load rc files except --no-rc is passed ( #5099 )
2023-07-26 22:44:55 +00:00
pre-commit-ci[bot]
f84593291b
[pre-commit.ci] pre-commit autoupdate ( #5177 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.3.0 → 23.7.0](https://github.com/psf/black/compare/23.3.0...23.7.0 )
- [github.com/astral-sh/ruff-pre-commit: v0.0.277 → v0.0.278](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.277...v0.0.278 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-19 00:28:47 +05:30
Ivan Ogasawara
de74576464
fix: Fix wrong verification for the simple output, introduced by PR5072 ( #5174 )
...
* fix: Fix wrong verification for the simple output, introduced by PR5072
* add a news
2023-07-16 21:30:12 +05:30
pre-commit-ci[bot]
7219663159
[pre-commit.ci] pre-commit autoupdate ( #5171 )
...
updates:
- https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.0.276 → v0.0.277](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.276...v0.0.277 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-12 01:10:01 +06:00
pre-commit-ci[bot]
8b0dd5cae7
[pre-commit.ci] pre-commit autoupdate ( #5170 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.275 → v0.0.276](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.275...v0.0.276 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-04 22:21:50 +05:30
Noorhteen Raja NJ
769dfbe6aa
Py 312 pre-liminary support ( #5156 )
...
* refactor: project requires 3.9+
changed as per NEP-29
https://numpy.org/neps/nep-0029-deprecation_policy.html
* test: nose type tests are deprecated in pytest now
* fix: deprecation of ast.Str and ast.Bytes and .s attribute access
* fix: deprecation of ast.Num,ast.NameConstant,ast.Ellipsis
* refactor: upgrade code to be py39+ using ruff
the changes are auto-generated
* refactor: remove typing.Annotated compatibility code
* fix: temporarily disable having xonsh syntax inside f-strings
* test: skip failing tests
there is no workaround for this version. It might get solved in the
final release though
* refactor: make XonshSession.completer lazily populated
this speedsup the tests as cmd_cache would not be actively populated
when used in default_completers function
* refactor: make presence of walrus operator default
2023-07-04 22:18:37 +05:30