Skip to content

Commit de9402a

Browse files
committed
Merge remote-tracking branch 'origin/development-dax' into sources-update
* origin/development-dax: (105 commits) spacing update profile.ps1's debug output Make PowerShell profile.ps1's debug and verbose working correctly Redirect Verbose and Debug stream ignore git commit fix line endings adjust comments Update PowerShell test to set CMDER_DEBUG env variable inline improve CI PowrShell profile test debug/verbose output Modify PowerShell test command for debug output fix incorrect comment adjust comments adjust comments adjust comments Avoid duplicating cmd.exe prompt definition Consolidate terminal conditionals and add shell integration for bash and cmd.exe Add OSC 133;D support for command exit code tracking Initial plan adjust comments simplify regex ...
2 parents f604b06 + f461904 commit de9402a

28 files changed

Lines changed: 780 additions & 389 deletions

.git-blame-ignore-revs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# List of whitespace-only commits to ignore in the Git blame;
2+
# to improve tracking changes and avoid noise
3+
58db4e3419bf1e5cc1bb61fcd7ce2ebbca89243a
4+
efb3338f5cf0eec21e8a75abc62ee14965cb4a7e
5+
3859f6ffc088b2ae78748abc84986f4adcadcd41
6+
d6569192fc91167f555c3eff58402ff01f1197ea
7+
67de97a492c9389f95499db38f9474a1c20ec585
8+
a0d085f93eaa69c22449d0217e8daf9eaea2b180
9+
1cfba25beb46c74bb1debca2bcfe7ac470e96172
10+
f6bc623284914489e891bbac923feb774c862b99
11+
abbab3f8b477e917d0a175d0de23cce121096631
12+
126347025f9cade241beff182738b2527da7535e
13+
4740b836f300658b27e6ad4d79efac63c9c24c24
14+
be44bac95670b1cbbc91bd657882d985989846f9
15+
f67e5704eda60526d495be758572181f01a6cac8

.github/workflows/branches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Steps represent a sequence of tasks that will be executed as part of the job
2020
steps:
2121
# Checks-out the repository under $GITHUB_WORKSPACE, so the job can access it
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
with:
2424
fetch-depth: 0 # fetch all history for all branches and tags
2525

.github/workflows/build.yml

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
discussions: write
3636
steps:
3737
- name: Check out repository code (Action from GitHub)
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v5
3939
with:
4040
fetch-depth: 0
4141

@@ -52,46 +52,67 @@ jobs:
5252
working-directory: scripts
5353
run: .\pack.ps1 -verbose -terminal all
5454

55+
- name: Upload artifact (cmder_win_mini.zip)
56+
uses: actions/upload-artifact@v4
57+
with:
58+
path: build/cmder_win_mini.zip
59+
name: cmder_win_mini.zip
60+
if-no-files-found: error
61+
62+
- name: Upload artifact (cmder_win.7z)
63+
uses: actions/upload-artifact@v4
64+
with:
65+
path: build/cmder_win.7z
66+
name: cmder_win.7z
67+
if-no-files-found: error
68+
69+
- name: Upload artifact (cmder_win.zip)
70+
uses: actions/upload-artifact@v4
71+
with:
72+
path: build/cmder_win.zip
73+
name: cmder_win.zip
74+
if-no-files-found: error
75+
5576
- name: Upload artifact (cmder_wt.zip)
56-
uses: actions/upload-artifact@v3
77+
uses: actions/upload-artifact@v4
5778
with:
5879
path: build/cmder_wt.zip
5980
name: cmder_wt.zip
6081
if-no-files-found: error
6182

6283
- name: Upload artifact (cmder_wt.7z)
63-
uses: actions/upload-artifact@v3
84+
uses: actions/upload-artifact@v4
6485
with:
6586
path: build/cmder_wt.7z
6687
name: cmder_wt.7z
6788

6889
- name: Upload artifact (cmder_wt_mini.zip)
69-
uses: actions/upload-artifact@v3
90+
uses: actions/upload-artifact@v4
7091
with:
7192
path: build/cmder_wt_mini.zip
7293
name: cmder_wt_mini.zip
7394

7495
- name: Upload artifact (cmder.zip)
75-
uses: actions/upload-artifact@v4
96+
uses: actions/upload-artifact@v5
7697
with:
7798
path: build/cmder.zip
7899
name: cmder.zip
79100
if-no-files-found: error
80101

81102
- name: Upload artifact (cmder.7z)
82-
uses: actions/upload-artifact@v4
103+
uses: actions/upload-artifact@v5
83104
with:
84105
path: build/cmder.7z
85106
name: cmder.7z
86107

87108
- name: Upload artifact (cmder_mini.zip)
88-
uses: actions/upload-artifact@v4
109+
uses: actions/upload-artifact@v5
89110
with:
90111
path: build/cmder_mini.zip
91112
name: cmder_mini.zip
92113

93114
- name: Upload artifact (hashes.txt)
94-
uses: actions/upload-artifact@v4
115+
uses: actions/upload-artifact@v5
95116
with:
96117
path: build/hashes.txt
97118
name: hashes.txt

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ jobs:
4545

4646
steps:
4747
- name: Checkout repository
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v5
4949

5050
# Initializes the CodeQL tools for scanning.
5151
- name: Initialize CodeQL
52-
uses: github/codeql-action/init@v3
52+
uses: github/codeql-action/init@v4
5353
with:
5454
languages: ${{ matrix.language }}
5555
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -68,6 +68,6 @@ jobs:
6868
run: .\build.ps1 -Compile -verbose
6969

7070
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v3
71+
uses: github/codeql-action/analyze@v4
7272
with:
7373
category: "/language:${{matrix.language}}"

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
continue-on-error: false
3939

4040
steps:
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v5
4242
- name: Initialize vendors
4343
shell: pwsh
4444
working-directory: scripts
@@ -48,7 +48,7 @@ jobs:
4848
cmd /c vendor\init.bat /v /d /t
4949
- name: Testing PowerShell
5050
run: |
51-
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "Invoke-Expression '. ''vendor\profile.ps1'''"
51+
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "$env:CMDER_DEBUG='1'; . 'vendor\profile.ps1'"
5252
- name: Testing Bash
5353
run: |
5454
bash vendor/cmder.sh

.github/workflows/vendor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
pull-requests: write
2525

2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828
with:
2929
fetch-depth: 0
3030

@@ -51,7 +51,7 @@ jobs:
5151
Set-GHVariable -Name LIST_UPDATED -Value $listUpdated.Trim(', ')
5252
echo "UPDATE_MESSAGE<<<EOF`n$updateMessage`n<EOF" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
5353
54-
- uses: peter-evans/create-pull-request@v6
54+
- uses: peter-evans/create-pull-request@v7
5555
if: env.COUNT_UPDATED > 0
5656
with:
5757
title: 'Updates to `${{ env.COUNT_UPDATED }}` vendored dependencies'

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
- Fixes #2940
88

9+
### Adds
10+
11+
- Cmder for Windows
12+
- Uses Windows and Git for Windows Native Terminals.
13+
- Does not contain a terminal emulator like ConEmu or Windows Terminal.
14+
915
## [1.3.20](https://github.com/cmderdev/cmder/tree/v1.3.20) (2022-03-18)
1016

1117
### Changes

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,10 @@ Cmder by default comes with a vendored ConEmu installation as the underlying ter
352352

353353
However, Cmder can in fact run in a variety of other terminal emulators, and even integrated IDEs. Assuming you have the latest version of Cmder, follow the following instructions to get Cmder working with your own terminal emulator.
354354

355+
*Note:* Cmder includes built-in support for Windows Terminal directory tracking via OSC 9;9 sequences. This enables "Duplicate Tab" and "Split Pane" features to preserve the current working directory for both `cmd.exe` and PowerShell sessions.
356+
357+
*Note:* Cmder also includes built-in support for [Windows Terminal shell integration](https://learn.microsoft.com/en-us/windows/terminal/tutorials/shell-integration) via OSC 133 sequences (A, B, C, D) for PowerShell sessions. This enables features like command navigation (jump between commands), command selection, visual command separators, command exit code tracking, and improved command history management in Windows Terminal.
358+
355359
For instructions on how to integrate Cmder with your IDE, please read our [Wiki section](https://github.com/cmderdev/cmder/wiki#cmder-integration).
356360

357361
## Upgrading

config/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Config
22

3-
All config files must be in this folder. If there is no option to set this folder
3+
All config files must be in this folder. If there is no option to set this folder
44
directly, it has to be hardlinked.
55

66
* `user_aliases.cmd`: aliases in cmd; called from vendor\init.bat; autocreated from

launcher/CmderLauncher.vcxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@
188188
<ItemGroup>
189189
<ClCompile Include="src\CmderLauncher.cpp" />
190190
</ItemGroup>
191+
<ItemGroup>
192+
<Image Include="..\icons\cmder.ico" />
193+
</ItemGroup>
191194
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
192195
<ImportGroup Label="ExtensionTargets">
193196
</ImportGroup>

0 commit comments

Comments
 (0)