Skip to content

Commit 45a3d79

Browse files
Merge remote-tracking branch 'origin/main' into lsp-provider
2 parents 8efba40 + f2caddf commit 45a3d79

File tree

205 files changed

+4680
-2182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+4680
-2182
lines changed

.all-contributorsrc

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,8 @@
647647
"avatar_url": "https://avatars.githubusercontent.com/u/1909987?v=4",
648648
"profile": "https://github.com/armartinez",
649649
"contributions": [
650-
"bug"
650+
"bug",
651+
"code"
651652
]
652653
},
653654
{
@@ -667,6 +668,69 @@
667668
"contributions": [
668669
"bug"
669670
]
671+
},
672+
{
673+
"login": "ibrahimcetin",
674+
"name": "İbrahim Çetin",
675+
"avatar_url": "https://avatars.githubusercontent.com/u/33904390?v=4",
676+
"profile": "http://ibrahimcetin.dev",
677+
"contributions": [
678+
"bug"
679+
]
680+
},
681+
{
682+
"login": "phlpsong",
683+
"name": "phlpsong",
684+
"avatar_url": "https://avatars.githubusercontent.com/u/103433299?v=4",
685+
"profile": "https://github.com/phlpsong",
686+
"contributions": [
687+
"bug"
688+
]
689+
},
690+
{
691+
"login": "infinitepower18",
692+
"name": "Ahnaf Mahmud",
693+
"avatar_url": "https://avatars.githubusercontent.com/u/44692189?v=4",
694+
"profile": "http://ahnafmahmud.com",
695+
"contributions": [
696+
"code"
697+
]
698+
},
699+
{
700+
"login": "DanKlaver15",
701+
"name": "Dan K",
702+
"avatar_url": "https://avatars.githubusercontent.com/u/9391497?v=4",
703+
"profile": "https://github.com/DanKlaver15",
704+
"contributions": [
705+
"code"
706+
]
707+
},
708+
{
709+
"login": "knotbin",
710+
"name": "Roscoe Rubin-Rottenberg",
711+
"avatar_url": "https://avatars.githubusercontent.com/u/118622417?v=4",
712+
"profile": "http://knotbin.xyz",
713+
"contributions": [
714+
"code"
715+
]
716+
},
717+
{
718+
"login": "plbstl",
719+
"name": "Paul Ebose",
720+
"avatar_url": "https://avatars.githubusercontent.com/u/49006567?v=4",
721+
"profile": "https://github.com/plbstl",
722+
"contributions": [
723+
"bug"
724+
]
725+
},
726+
{
727+
"login": "danielzsh",
728+
"name": "Daniel Zhu",
729+
"avatar_url": "https://avatars.githubusercontent.com/u/65467530?v=4",
730+
"profile": "http://danielz.xyz",
731+
"contributions": [
732+
"bug"
733+
]
670734
}
671735
],
672736
"contributorsPerLine": 7,

.github/workflows/pre-release.yml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Build CodeEdit
4949
env:
5050
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
51-
run: xcodebuild -scheme CodeEdit -configuration Alpha -derivedDataPath "$RUNNER_TEMP/DerivedData" -archivePath "$RUNNER_TEMP/CodeEdit.xcarchive" -skipPackagePluginValidation DEVELOPMENT_TEAM=$APPLE_TEAM_ID archive
51+
run: xcodebuild -scheme CodeEdit -configuration Pre -derivedDataPath "$RUNNER_TEMP/DerivedData" -archivePath "$RUNNER_TEMP/CodeEdit.xcarchive" -skipPackagePluginValidation DEVELOPMENT_TEAM=$APPLE_TEAM_ID archive
5252

5353
############################
5454
# Sign
@@ -59,7 +59,10 @@ jobs:
5959
run: |
6060
REV=$(git rev-parse --short HEAD)
6161
echo "REV=$REV" >> $GITHUB_ENV
62-
codesign --sign "$CODESIGN_SIGN" -vvv --verbose --strict --options=runtime --prefix app.codeedit.CodeEdit. --force --deep --timestamp "$RUNNER_TEMP/CodeEdit.xcarchive/Products/Applications/CodeEdit.app"
62+
codesign --sign "$CODESIGN_SIGN" -vvv --verbose --strict --options=runtime --prefix app.codeedit.CodeEdit. --force --timestamp "$RUNNER_TEMP/CodeEdit.xcarchive/Products/Applications/CodeEdit.app/Contents/Frameworks/CodeEditKit.framework"
63+
codesign --sign "$CODESIGN_SIGN" -vvv --verbose --strict --options=runtime --prefix app.codeedit.CodeEdit. --force --deep --timestamp "$RUNNER_TEMP/CodeEdit.xcarchive/Products/Applications/CodeEdit.app/Contents/Frameworks/Sparkle.framework"
64+
codesign --sign "$CODESIGN_SIGN" -vvv --verbose --strict --options=runtime --prefix app.codeedit.CodeEdit. --force --timestamp --entitlements "$RUNNER_TEMP/../CodeEdit/CodeEdit/OpenWithCodeEdit/OpenWithCodeEdit.entitlements" "$RUNNER_TEMP/CodeEdit.xcarchive/Products/Applications/CodeEdit.app/Contents/PlugIns/OpenWithCodeEdit.appex"
65+
codesign --sign "$CODESIGN_SIGN" -vvv --verbose --strict --options=runtime --prefix app.codeedit.CodeEdit. --force --timestamp "$RUNNER_TEMP/CodeEdit.xcarchive/Products/Applications/CodeEdit.app"
6366
6467
############################
6568
# DMG & Notarize
@@ -76,20 +79,24 @@ jobs:
7679
echo "REV=$REV" >> $GITHUB_ENV
7780
security unlock-keychain -p "$RUNNER_PW"
7881
xcrun notarytool store-credentials CodeEdit --apple-id "$APPLE_ID" --team-id "$APPLE_TEAM_ID" --password "$APPLE_ID_PWD"
82+
cp "$RUNNER_TEMP/../CodeEdit/CodeEdit/Resources/dmgBackground.png" "$RUNNER_TEMP/.background.png"
83+
epochdate=$(($(date +'%s * 1000 + %-N / 1000000')))
84+
tcc_service_appleevents="replace into access (service,client,client_type,auth_value,auth_reason,auth_version,indirect_object_identifier_type,indirect_object_identifier,flags,last_modified) values (\"kTCCServiceAppleEvents\",\"/usr/sbin/sshd\",1,2,4,1,0,\"com.apple.finder\",0,$epochdate);"
85+
echo $RUNNER_PW | sudo -S sqlite3 "/Users/administrator/Library/Application Support/com.apple.TCC/TCC.db" "$tcc_service_appleevents"
7986
create-dmg \
8087
--volname "CodeEdit" \
8188
--window-pos 200 120 \
82-
--window-size 800 400 \
83-
--icon-size 100 \
84-
--icon "CodeEdit.app" 200 190 \
89+
--window-size 699 518 \
90+
--background "$RUNNER_TEMP/.background.png" \
91+
--icon-size 128 \
92+
--icon "CodeEdit.app" 170 210 \
8593
--hide-extension "CodeEdit.app" \
86-
--app-drop-link 600 185 \
94+
--app-drop-link 530 210 \
8795
--codesign "$CODESIGN_SIGN" \
8896
--notarize "CodeEdit" \
89-
--skip-jenkins \
90-
"$RUNNER_TEMP/CodeEdit-$REV.dmg" \
97+
"$RUNNER_TEMP/CodeEdit.dmg" \
9198
"$RUNNER_TEMP/CodeEdit.xcarchive/Products/Applications/"
92-
security lock-keychain
99+
echo $RUNNER_PW | sudo -S security lock-keychain
93100
94101
############################
95102
# Get Version and Build number
@@ -122,9 +129,9 @@ jobs:
122129
SPARKLE_ARCHIVE="$RUNNER_TEMP/Sparkle_Archive"
123130
echo -n "$SPARKLE_KEY" | tee "$RUNNER_TEMP/sparkle_key"
124131
mkdir "$SPARKLE_ARCHIVE"
125-
cp "$RUNNER_TEMP/CodeEdit-$REV.dmg" "$SPARKLE_ARCHIVE"
126-
SPARKLE_SIG=$("$SPARKLE_BIN/sign_update" --ed-key-file "$RUNNER_TEMP/sparkle_key" "$SPARKLE_ARCHIVE/CodeEdit-$REV.dmg" | cut -d\" -f2)
127-
"$SPARKLE_BIN/generate_appcast" --ed-key-file "$RUNNER_TEMP/sparkle_key" --download-url-prefix "${{ env.SPARKLE_DL_PREFIX }}/${{ env.APP_VERSION }}-alpha.${{ env.APP_BUILD }}/" --link "$SPARKLE_LINK" --channel "$SPARKLE_CHANNEL" --maximum-deltas 0 "$SPARKLE_ARCHIVE"
132+
cp "$RUNNER_TEMP/CodeEdit.dmg" "$SPARKLE_ARCHIVE"
133+
SPARKLE_SIG=$("$SPARKLE_BIN/sign_update" --ed-key-file "$RUNNER_TEMP/sparkle_key" "$SPARKLE_ARCHIVE/CodeEdit.dmg" | cut -d\" -f2)
134+
"$SPARKLE_BIN/generate_appcast" --ed-key-file "$RUNNER_TEMP/sparkle_key" --download-url-prefix "${{ env.SPARKLE_DL_PREFIX }}/v${{ env.APP_VERSION }}/" --link "$SPARKLE_LINK" --channel "$SPARKLE_CHANNEL" --maximum-deltas 0 "$SPARKLE_ARCHIVE"
128135
129136
############################
130137
# Publish Pre Release
@@ -135,13 +142,14 @@ jobs:
135142
APP_VERSION: ${{ env.APP_VERSION }}
136143
APP_BUILD: ${{ env.APP_BUILD }}
137144
with:
138-
title: "${{ env.APP_VERSION }}-alpha.${{ env.APP_BUILD }}"
145+
title: "v${{ env.APP_VERSION }}"
139146
files: |
140-
${{ RUNNER.TEMP }}/Sparkle_Archive/CodeEdit-${{ env.REV }}.dmg
147+
${{ RUNNER.TEMP }}/Sparkle_Archive/CodeEdit.dmg
141148
${{ RUNNER.TEMP }}/Sparkle_Archive/appcast.xml
142-
automatic_release_tag: "${{ env.APP_VERSION }}-alpha.${{ env.APP_BUILD }}"
149+
automatic_release_tag: "v${{ env.APP_VERSION }}"
143150
prerelease: false
144151
repo_token: "${{ secrets.GITHUB_TOKEN }}"
152+
draft: true
145153

146154
############################
147155
# Cleanup Secrets

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Tap the **"Fork"** button on the top of the site. After forking clone the forked
1111

1212
## Explore Issues
1313

14-
Find issues from the [Issues tab](https://github.com/CodeEditApp/CodeEdit/issues) or from the To Do column in our [project](https://github.com/orgs/CodeEditApp/projects/3/views/2). If you find an issue you want to work on, please indicate it in the issue and/or attach a draft PR once available. An admin or maintainer will then assign the Issue and/or PR to you.
14+
Find issues from the [Issues tab](https://github.com/CodeEditApp/CodeEdit/issues) or from the To Do column in our [project](https://github.com/orgs/CodeEditApp/projects/3). If you find an issue you want to work on, please indicate it in the issue and/or attach a draft PR once available. An admin or maintainer will then assign the Issue and/or PR to you.
1515

1616
## Getting Started
1717

0 commit comments

Comments
 (0)