Commit Graph

1616 Commits

Author SHA1 Message Date
Dax T. Games
f1e2fb5697 prevent timer results every time. 2023-02-26 18:00:26 -08:00
Dax T Games
615ba5f816
Delete user_init.optional.cmd 2023-02-18 05:57:12 -08:00
Dax T. Games
9cbc1845fb cleanup 2023-02-18 05:56:09 -08:00
Dax T. Games
3a2e747d22 add cleanup of unused env vars 2023-02-18 05:40:46 -08:00
Dax T. Games
1e623ecab4 auto generate cmd user_init.cmd 2023-02-12 09:48:27 -08:00
Dax T. Games
02154a8f88 Update to only collext cmder env vars 2023-02-12 09:46:16 -08:00
Dax T. Games
727a99b479 shared or user user_init.cmd 2023-02-11 19:27:15 -08:00
Dax T. Games
7e50f50863 add vendor/user_init.optional.cmd 2023-02-11 18:57:50 -08:00
Dax T. Games
56f45a81ca add debugging of path adds 2023-02-11 18:57:27 -08:00
Dax T. Games
274cce1f00 optimize for speed 2023-02-10 19:19:50 -08:00
David Refoua
b3af7c3983
Merge pull request #2819 from daxgames/more_speed
Remove unnecessary git actions in fast init
2023-02-05 17:39:23 +03:30
Dax T. Games
d82fece61e Remove unnecessary git actions in fiast init 2023-01-23 19:16:44 -08:00
Dax T. Games
6bd2e260f0 Add time to debug output 2023-01-22 12:30:30 -08:00
David Refoua
c9d2b33792
Update Clink to v1.4.10 2023-01-16 19:16:20 +03:30
DRSDavidSoft
9e87f375f1 ⬆️ Update dependencies (clink v1.4.10) 2023-01-16 13:41:30 +00:00
David Refoua
84262c4476
Major updates to Cmder 2023-01-15 19:17:51 +03:30
DRSDavidSoft
0b01ea6f63 ⬆️ Update dependencies (clink v1.4.9, clink-completions v0.4.4) 2023-01-15 13:41:12 +00:00
David Refoua
af6472cb57 remove duplicate variable settings 2022-12-25 17:55:56 +00:00
David Refoua
fd12ece9af test github token 2022-12-25 17:49:14 +00:00
David Refoua
b5ae5eb711 display all env vars 2022-12-25 17:33:10 +00:00
David Refoua
c9e872e826 don't display the headers variable 2022-12-25 17:30:01 +00:00
David Refoua
f99480fd49 update vendor scripts 2022-12-25 17:13:44 +00:00
David Refoua
834940cddb
Merge pull request #2807 from cmderdev/update-vendor
Updates to `2` vendored dependencies
2022-12-22 17:42:15 +03:30
DRSDavidSoft
5135370ec1 ⬆️ Update dependencies (git-for-windows v2.39.0.windows.2, clink v1.4.6) 2022-12-22 13:40:52 +00:00
David Refoua
f22943212b
Return error level 2 in Clink when fatal error, related to #2800 2022-12-22 10:25:17 +03:30
Martin Kemp
dc2bc9bda7
Draft a release on a tag being pushed (#2804)
Signed-off-by: Martin Kemp <me@martinke.mp>

Signed-off-by: Martin Kemp <me@martinke.mp>
2022-12-21 18:08:49 +00:00
DRSDavidSoft
a03ad615f1 ⬆️ Update dependencies (clink v1.4.5) 2022-12-21 13:40:56 +00:00
David Refoua
8b3f38ad21 fix misspellings 2022-12-21 02:35:11 +03:30
David Refoua
9e55c48200 fix checking for clink injection 2022-12-21 02:29:31 +03:30
David Refoua
3b6e1cbf5f
Fix error from profile.d PowerShell scripts 2022-12-21 01:56:28 +03:30
Brian Dukes
e1bf703f50
Fix error from profile.d PowerShell scripts
When there are `ps1` files in `profile.d`, the following error is logged:

>A positional parameter cannot be found that accepts argument 'Sourcing'.
2022-12-20 10:50:44 -06:00
David Refoua
2e9b512102
adjust history settings to more suitable default values 2022-12-20 10:45:09 +03:30
David Refoua
9bbc97c981
Use New-TimeSpan to calculate total elapsed time 2022-12-20 10:19:00 +03:30
Martin Kemp
4766425ad3
Create dependabot.yml 2022-12-19 10:20:34 +00:00
Martin Kemp
470808838f
TotalSecond -> TotalSeconds
Signed-off-by: Martin Kemp <me@martinke.mp>
2022-12-19 10:15:02 +00:00
Martin Kemp
328f4b3073
Use New-TimeSpan to calculate total elapsed time
Fixes #2797

Signed-off-by: Martin Kemp <me@martinke.mp>
2022-12-19 10:13:34 +00:00
Martin Kemp
691addb95c
Use CodeQL Scanning (#2795)
* Use CodeQL Scanning

* run on windows

Signed-off-by: Martin Kemp <me@martinke.mp>

* Use our build scripts

Signed-off-by: Martin Kemp <me@martinke.mp>

Signed-off-by: Martin Kemp <me@martinke.mp>
2022-12-19 09:16:06 +00:00
Martin Kemp
efa2e576d0
Update conemu to mitigate CVE-2022-46387 (#2794)
Signed-off-by: Martin Kemp <me@martinke.mp>

Signed-off-by: Martin Kemp <me@martinke.mp>
2022-12-19 08:33:35 +00:00
David Refoua
5eaf0d0396 use github token when available 2022-12-15 21:05:13 +00:00
David Refoua
0e34d925ce
⬆️ Update dependencies (clink v1.4.4) 2022-12-14 17:50:30 +03:30
DRSDavidSoft
9d2ac373c5 ⬆️ Update dependencies (clink v1.4.4) 2022-12-14 13:41:25 +00:00
David Refoua
835343f9d6
Merge pull request #2786 from cmderdev/update-vendor
Updates to `3` vendored dependencies
2022-12-13 17:46:38 +03:30
DRSDavidSoft
271fe4c822 ⬆️ Update dependencies (git-for-windows v2.39.0.windows.1, clink v1.4.3, clink-completions v0.4.2) 2022-12-13 13:41:54 +00:00
David Refoua
24ba9c3fa5
Merge pull request #2791 from chrisant996/fix_2789
Fix https://github.com/cmderdev/cmder/issues/2789
2022-12-06 01:38:22 +03:30
Chris Antos
0fdcda98cf Fix https://github.com/cmderdev/cmder/issues/2789
Holding ^C made git.exe hang while cmd.exe (Clink) updated the prompt.

The prompt script had three problems:

1.  It invoked `git config` every time a prompt was displayed, to
    figure out where to skip invoking `git status`.  But it even did
    that if the current directory wasn't part of a git repo.
2.  It invoked `git config` two times for every single prompt, to
    attempt to improve performance if the user disables `git status`
    coloring.  But two times for every single prompt is expensive, so
    it has the opposite effect in the general case, and noticeably
    degrades performance.
3.  It invoked `git config` using a blocking call, instead of using the
    async prompt support in Clink.  That significantly reduced the
    benefit of having used async prompt filtering for `git status`.

Now the `git config` invocations use async prompt filtering, which lets
the prompt display instantaneously.  It also now uses a timer to avoid
invoking `git config` repeatedly when new prompts show up in rapid
succession.

Also, the `cmderGitStatusOptIn` variable is no longer leaked into the
Lua global namespace.

These changes resolve the issue: holding ^C is very fast and no longer
causes git.exe to hang.
2022-12-05 13:52:14 -08:00
Dax T. Games
42df6cd05b fix git bash GIT_INSTALL_ROOT 2022-11-19 02:32:02 +00:00
David Refoua
a4fa8d5333
Merge pull request #2780 from cmderdev/update-vendor
Updates to `1` vendored dependencies
2022-11-07 18:16:27 +03:30
David Refoua
1ba542e915 added links to labels 2022-11-07 17:38:30 +03:30
David Refoua
2c656a9c34 added a word 2022-11-07 17:33:59 +03:30
DRSDavidSoft
0adbc47c7e ⬆️ Update dependencies (clink v1.4.0) 2022-11-07 13:54:22 +00:00