Andy Kipp
2042d78d0d
Removed GTM ( #4870 )
...
Update index.html
2022-07-09 15:40:48 +05:30
Gil Forsyth
386f9542ff
Updated CHANGELOG for 0.13.0
2022-07-08 09:38:09 -04:00
Gil Forsyth
ef699390fb
bumped version to 0.13.0
2022-07-08 09:37:54 -04:00
Gil Forsyth
7087e84245
Updated authorship for 0.13.0
2022-07-08 09:37:54 -04:00
Gil Forsyth
402e0e051d
chore(release): update authors list
2022-07-08 08:41:32 -04:00
Andy Kipp
ff7b2741ff
Added Google Tag Manager
2022-07-07 01:41:22 +04:00
Andy Kipp
1fe85ea5b7
Rewrite xontribs section
2022-07-06 00:58:44 +04:00
cmidkiff87
ce0b8e04c6
Fix free_cwd xontrib loading ( #4865 )
...
issue #4864
see also: ecc1ab1020
2022-07-05 22:13:30 +05:30
Gil Forsyth
013fa760a0
refactor(amalgamate): remove amalgamation ( #4858 )
...
Co-authored-by: Noorhteen Raja NJ <jnoortheen@gmail.com>
2022-07-04 10:40:16 +05:30
Noorhteen Raja NJ
cbf23e60fb
Pre commit ci ( #4863 )
2022-07-01 11:47:01 -04:00
Eddie Peters
8b9a7e2782
fix(pyghooks): Fix some errors caused by an unset Xonsh session env when using XonshLexer as a Pygments plugin. ( #4860 )
2022-06-30 10:40:58 -04:00
Noorhteen Raja NJ
52a12aaf85
chore: update project license info ( #4857 )
2022-06-29 09:13:43 -04:00
Gil Forsyth
b7541180c2
docs(devguide): update how to build the docs ( #4854 )
...
Also stripped out reference to an imaginary release process and cleaned
up some style issues in the RST
2022-06-28 07:59:06 +05:30
Hannes Römer
349dee75a3
#4845 : conditional import of ptk_win32 → windows only ( #4853 )
...
* #4845 : conditional import of ptk_win32 -> windows only
* #4845 : added news entry
* #4845 : moved news entry to separate file
2022-06-28 07:51:34 +05:30
Gil Forsyth
5401a246c6
Updated CHANGELOG for 0.12.6
2022-06-21 10:44:07 -04:00
Gil Forsyth
976f38bdf8
bumped version to 0.12.6
2022-06-21 10:44:06 -04:00
Gil Forsyth
bd664802b9
Updated authorship for 0.12.6
2022-06-21 10:44:06 -04:00
Noorhteen Raja NJ
5b98d9d735
fix-pypi-gha ( #4843 )
2022-06-21 10:42:47 -04:00
Peter Ye
ed213f852b
fix: string literal concatenation ( #4838 )
...
* fix: string literal concatenation
Fix string literal concatenation involving f-strings and path literals.
Raise SyntaxError when string literal concatenation is attempted between
different literal types (e.g. str and bytes).
* Add tests
Make nodes_equal() check whether the values of Constant nodes are equal.
* add news
* update nodes_equal() error msg
2022-06-18 08:34:34 +05:30
Gil Forsyth
e3a7e8718c
hotfix gha publish to pypi
2022-06-17 12:49:58 -04:00
Gil Forsyth
db5141006e
Updated CHANGELOG for 0.12.5
2022-06-17 12:46:08 -04:00
Gil Forsyth
98f3b6b9e5
bumped version to 0.12.5
2022-06-17 12:46:07 -04:00
Gil Forsyth
e684663618
Updated authorship for 0.12.5
2022-06-17 12:46:07 -04:00
Gil Forsyth
34cbe6665b
Update authors and remove ghpages from rever release
2022-06-17 12:45:13 -04:00
Noorhteen Raja NJ
3716f3da86
Pr5 xontrib entrypoints ( #4827 )
2022-06-17 12:39:12 -04:00
dependabot[bot]
538c26f0e3
chore(deps): bump actions/setup-python from 3 to 4 ( #4837 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
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>
2022-06-13 10:13:26 +05:30
amukher3
84c349f142
Fixed the syntax error for "timeit" function
2022-06-13 01:22:40 +05:30
Peter Ye
b2c42ed2f3
feat: f-glob strings ( #4835 )
...
* feat: add support for f-glob strings
Move xonsh_pathsearch() into the BaseParser class because it needs to use self._set_error()
Parametrize 6 backtick tests in test_parser.py into test_backtick() (and add cases for f-glob strings)
* add news
* docs: update tutorial
* fix news file
2022-06-12 13:45:16 +05:30
dependabot[bot]
0ddc05e82e
chore(deps): bump actions/setup-python from 2 to 3 ( #4834 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v3 )
---
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>
2022-06-08 19:22:20 +05:30
dependabot[bot]
daa5d5300b
chore(deps): bump actions/checkout from 2 to 3 ( #4833 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [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/v2...v3 )
---
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>
2022-06-08 19:14:34 +05:30
dependabot[bot]
0c9c593d1b
chore(deps): bump codecov/codecov-action from 2 to 3 ( #4832 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
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>
2022-06-08 19:13:32 +05:30
Naveen
40383d1f09
chore: Included githubactions in the dependabot config ( #4831 )
...
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.
Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot
GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-08 10:50:42 +05:30
Peter Ye
0202affb1a
Fix ExecAlias return value ( #4829 )
2022-06-06 10:43:22 +05:30
Naveen
8088a3e62e
chore: Set permissions for GitHub actions ( #4830 )
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-06 10:41:33 +05:30
Peter Ye
be604e7f48
Change ![] to return an object for background command ( #4823 )
...
* Change ![] to return an object for background command
* Fix `fg` for commands started in the background
Fixes #4595
This issue was caused by `CommandPipeline.term_pgid` not being set for commands started in the background.
2022-06-05 21:10:21 +05:30
Italo Cunha
1e81146bd6
Support deletion in whole_word_jumping xontrib ( #4788 )
...
This binds Alt/Control+Delete/Backspace to support deletion matching
the motion bindings in `whole_word_jumping`.
Should work mostly out of the box on terminals that generate `\x7f`
when `backspace` is pressed and `\x08` when `control+backspace` is
pressed. Tested to work on Microsoft Terminal (WSL2). For
incompatible terminals, users can set `$XONSH_WHOLE_WORD_CTRL_BKSP
= False` to avoid configuration of the `control+backspace` binding.
2022-06-05 20:38:06 +05:30
Noorhteen Raja NJ
347bf201de
fix: docs building ( #4820 )
2022-05-30 20:49:38 +05:30
Noorhteen Raja NJ
ecc1ab1020
xontrib load/unload ( #4817 )
...
* feat: add function to make event registration from function signature
* docs: add xontrib special functions description
* feat: handle xontribs with special functions
also reduce usage of XSH singleton
* fix: missing XSH
for now import singleton
* docs: fix .rst format
* fix: failing tests
* feat: implement primitive xontrib-unload and xontrib-reload
* chore: give explicit name
* docs: update doc
2022-05-30 15:33:17 +05:30
jbw3
42f081c8c7
Documenting the HISTCONTROL ignorespace option ( #4825 )
2022-05-28 21:22:27 +05:30
Peter Ye
259fbe540c
fix: do not append empty/comment-only input to history ( #4822 )
...
* add test for importing empty .xsh file
* test: empty lines do not get appended to history
prompt-toolkit needs its own test outside of test_base_shell.py because it uses a custom _push() method
* fix: do not append empty/comment-only input to history
Adds a compile_empty_tree argument to Execer.compile()
By default, the argument is `True`, and `compile()` returns a compiled `pass` statement for comment-only input.
When the argument is `False`, `compile()` returns `None` for comment-only input.
The base shell and prompt-toolkit shell use `compile_empty_tree = False` so that they get `None` as the compiled code and don't append the command to the history.
* add news
* fix tests
2022-05-26 17:50:08 +05:30
Peter Ye
8e1593b6e7
Update prompt-toolkit to 3.0.29 and remove xfail ( #4818 )
...
This fixes the failing test_ptk_prompt() test on Windows.
2022-05-25 09:16:34 +05:30
Noorhteen Raja NJ
e7ab9a4eb8
fix: checking news item pattern ( #4814 )
2022-05-23 10:19:14 -04:00
Noorhteen Raja NJ
93821fb363
refactor: removing prompt_ret_code xontrib ( #4815 )
2022-05-23 10:18:11 -04:00
Noorhteen Raja NJ
1e4eb3ade0
feat: filter completions from fish ( #4765 )
...
* feat: filter completions from fish
* docs:
2022-05-22 22:44:36 +05:30
Timmy Welch
b123273319
Fix environment variable completion in strings ( #4804 )
2022-05-21 10:54:36 +05:30
Peter Ye
11b2d6d086
Send SIGHUP instead of SIGKILL to clean up jobs ( #4811 )
...
Allows `nohup` command to work properly.
2022-05-20 23:09:24 +05:30
Gil Forsyth
400d2d6c56
fix: workaround method calls on attributes set to None
( #4812 )
2022-05-20 22:45:15 +05:30
Peter Ye
57f1e4bcbd
Fix bg
command behaviour ( #4810 )
2022-05-20 08:45:03 +05:30
Gil Forsyth
572ebb576d
docs: change theme to furo ( #4809 )
...
Trying out a new theme -- I really like the way `furo` looks and I think
it makes it easier to navigate our overly dense docs pages.
2022-05-18 20:36:45 +05:30
Noorhteen Raja NJ
ed4421ddf4
pr5-pep621 ( #4803 )
2022-05-10 11:39:43 -04:00