Skip to content

Commit 781763d

Browse files
authored
Merge pull request #818 from SeeSharpSoft/rel_330
Release 3.3.0
2 parents d2155b8 + 90c872b commit 781763d

24 files changed

+252
-167
lines changed

.github/workflows/CronEAP.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@ jobs:
2424
- name: Build with Gradle
2525
env:
2626
IDEA_VERSION: LATEST-EAP-SNAPSHOT
27-
GRAMMAR_KIT_VERSION: 2021.1.2
2827
IDEA_SOURCES: false
2928
run: xvfb-run ./gradlew test

.github/workflows/PublishStable.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,11 @@ jobs:
1717
matrix:
1818
include:
1919
- ideaVersion: 2022.2.1
20-
gkVersion: 2021.1.2
2120
- ideaVersion: 2022.3.1
22-
gkVersion: 2021.1.2
2321
- ideaVersion: 2023.1.1
24-
gkVersion: 2021.1.2
2522
- ideaVersion: 2023.2.1
26-
gkVersion: 2021.1.2
23+
- ideaVersion: 2023.3.1
2724
- ideaVersion: LATEST-EAP-SNAPSHOT
28-
gkVersion: 2021.1.2
2925

3026
steps:
3127
- uses: actions/checkout@v2
@@ -39,7 +35,6 @@ jobs:
3935
- name: Build with Gradle
4036
env:
4137
IDEA_VERSION: ${{ matrix.ideaVersion }}
42-
GRAMMAR_KIT_VERSION: ${{ matrix.gkVersion }}
4338
IDEA_SOURCES: false
4439
JI_CHANNELS: Stable
4540
JI_TOKEN: ${{ secrets.JI_TOKEN }}

.github/workflows/PullRequest.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
include:
1919
- ideaVersion: 2022.2.1
2020
ideaType: PS
21-
gkVersion: 2021.1.2
2221
- ideaVersion: 2022.2.3
2322
ideaType: PY
24-
gkVersion: 2021.1.2
23+
- ideaVersion: 2023.3.1
24+
ideaType: IC
2525

2626
steps:
2727
- uses: actions/checkout@v2
@@ -36,6 +36,5 @@ jobs:
3636
env:
3737
IDEA_VERSION: ${{ matrix.ideaVersion }}
3838
IDEA_TYPE: ${{ matrix.ideaType }}
39-
GRAMMAR_KIT_VERSION: ${{ matrix.gkVersion }}
4039
IDEA_SOURCES: false
4140
run: xvfb-run ./gradlew test

CHANGELOG

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
3.3.0
2+
Feb 24, 2024
3+
4+
CHORE: Update gradle build
5+
FIX: PluginException: xxx ms to call on EDT CsvChangeSeparatorActionGroup#update@EditorPopup #401
6+
FIX: AlreadyDisposedException: Already disposed #639
7+
FIX: Exceptions occurred on invoking the intention 'Unquote' on a copy of the file #670 #816
8+
FIX: StringIndexOutOfBoundsException: begin 0, end -1, length 5993 #801
9+
FIX: Unhandled exception in [CoroutineName(PsiAwareFileEditorManagerImpl)] #666
10+
111
3.2.3
212
Nov 05, 2023
313

build.gradle

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
plugins {
22
// https://github.com/JetBrains/gradle-intellij-plugin
3-
id 'org.jetbrains.intellij' version '1.13.3'
3+
id 'org.jetbrains.intellij' version '1.17.2'
44
id 'jacoco'
55
id 'com.github.kt3k.coveralls' version '2.8.4'
66
id 'com.github.ManifestClasspath' version '0.1.0-RELEASE'
77
// https://github.com/JetBrains/gradle-grammar-kit-plugin
8-
id 'org.jetbrains.grammarkit' version '2021.2.2'
8+
id 'org.jetbrains.grammarkit' version '2022.3.2.2'
99
}
1010

1111
jacoco {
@@ -38,7 +38,7 @@ dependencies {
3838
sourceSets {
3939
main {
4040
java {
41-
srcDirs = ['src/main/java', 'gen']
41+
srcDirs = ['src/main/java', 'src/gen/java']
4242
}
4343
resources {
4444
srcDirs = ['src/main/resources']
@@ -67,15 +67,15 @@ idea {
6767
}
6868

6969
var final EAP_VERSION = 'LATEST-EAP-SNAPSHOT'
70-
var final EAP_BUILD = '233'
70+
var final EAP_BUILD = '241'
7171

7272
var final DEFAULT_VERSION = '2022.2.1' //'LATEST-EAP-SNAPSHOT' //
7373

7474
// IDE version - https://www.jetbrains.com/intellij-repository/releases
7575
var idea_version = System.getenv().getOrDefault('IDEA_VERSION', DEFAULT_VERSION)
7676
var build_version = idea_version == EAP_VERSION ? EAP_BUILD : idea_version.substring(2, 4) + idea_version.charAt(5) // extract e.g. '221' from '2022.1.1'
7777

78-
version '3.2.3-' + build_version
78+
version '3.3.0-' + build_version
7979

8080
apply plugin: 'org.jetbrains.intellij'
8181
intellij {
@@ -96,8 +96,12 @@ patchPluginXml {
9696
sinceBuild = build_version
9797

9898
changeNotes = """<pre style="font-family: sans-serif">
99-
NEW: Prevent github issue submitter spam
100-
FIX: Improve issue duplicate finder
99+
CHORE: Update gradle build
100+
FIX: PluginException: xxx ms to call on EDT CsvChangeSeparatorActionGroup#update@EditorPopup #401
101+
FIX: AlreadyDisposedException: Already disposed #639
102+
FIX: Exceptions occurred on invoking the intention 'Unquote' on a copy of the file #670 #816
103+
FIX: StringIndexOutOfBoundsException: begin 0, end -1, length 5993 #801
104+
FIX: Unhandled exception in [CoroutineName(PsiAwareFileEditorManagerImpl)] #666
101105
</pre>"""
102106
}
103107
publishPlugin {
@@ -122,24 +126,25 @@ grammarKit {
122126
// version of IntelliJ patched JFlex - https://bintray.com/jetbrains/intellij-third-party-dependencies/jflex
123127
jflexRelease = '1.7.0-1'
124128
// tag or short commit hash of Grammar-Kit to use - https://github.com/JetBrains/Grammar-Kit
125-
grammarKitRelease = System.getenv().getOrDefault('GRAMMAR_KIT_VERSION', '2021.1.2')
129+
// USE DEFAULT
130+
// grammarKitRelease = System.getenv().getOrDefault('GRAMMAR_KIT_VERSION', '2022.3.2')
126131
}
127132

128133
tasks.named("generateParser").configure {
129-
source = 'src/main/java/net/seesharpsoft/intellij/plugins/csv/Csv.bnf'
130-
targetRoot = 'gen'
131-
pathToParser = '/net/seesharpsoft/intellij/plugins/csv/parser/CsvParser.java'
132-
pathToPsiRoot = '/net/seesharpsoft/intellij/plugins/csv/psi'
134+
sourceFile = file('src/main/java/net/seesharpsoft/intellij/plugins/csv/Csv.bnf')
135+
targetRootOutputDir = file('src/gen/java')
136+
pathToParser = 'net/seesharpsoft/intellij/plugins/csv/parser/CsvParser.java'
137+
pathToPsiRoot = 'net/seesharpsoft/intellij/plugins/csv/psi'
133138
purgeOldFiles = true
134139
}
135140

136141
tasks.named("generateLexer").configure {
137142
dependsOn generateParser
138143

139-
source = 'src/main/java/net/seesharpsoft/intellij/plugins/csv/CsvLexer.flex'
140-
targetDir = './gen/net/seesharpsoft/intellij/plugins/csv/'
144+
sourceFile = file('src/main/java/net/seesharpsoft/intellij/plugins/csv/CsvLexer.flex')
145+
targetOutputDir = file('src/gen/java/net/seesharpsoft/intellij/plugins/csv')
141146
targetClass = 'CsvLexer'
142-
purgeOldFiles = true
147+
purgeOldFiles = false
143148
}
144149

145150
compileJava {

gen/info/README.MD

Lines changed: 0 additions & 5 deletions
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

2.36 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)