diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b2fc7a..e2c9378 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ ## [Unreleased] +## [0.4.1] +### Changed +- Temporarily disabled the Create index menu option. + ## [0.4.0] ### Changed - New supported IDE version range: 2024.2 - 2024.3.*. diff --git a/gradle.properties b/gradle.properties index 6d6fddc..90e030f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ pluginGroup = com.picimako.lucas pluginName = Lucas pluginRepositoryUrl = https://github.com/picimako/lucas # SemVer format -> https://semver.org -pluginVersion = 0.4.0 +pluginVersion = 0.4.1 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 242 @@ -22,7 +22,7 @@ platformPlugins = platformBundledPlugins = # Gradle Releases -> https://github.com/gradle/gradle/releases -gradleVersion = 8.9 +gradleVersion = 8.10.2 # Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib kotlin.stdlib.default.dependency = false diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index e644113..2c35211 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 09523c0..df97d72 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index b740cf1..f5feea6 100755 --- a/gradlew +++ b/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -84,7 +86,8 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s +' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/gradlew.bat b/gradlew.bat index 25da30d..9d21a21 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ########################################################################## diff --git a/src/main/java/com/picimako/org/apache/lucene/luke/app/desktop/components/MenuBarProvider.java b/src/main/java/com/picimako/org/apache/lucene/luke/app/desktop/components/MenuBarProvider.java index 5dbebe0..2e32f74 100644 --- a/src/main/java/com/picimako/org/apache/lucene/luke/app/desktop/components/MenuBarProvider.java +++ b/src/main/java/com/picimako/org/apache/lucene/luke/app/desktop/components/MenuBarProvider.java @@ -23,7 +23,7 @@ import com.picimako.org.apache.lucene.luke.app.DirectoryHandler; import com.picimako.org.apache.lucene.luke.app.IndexHandler; import com.picimako.org.apache.lucene.luke.app.desktop.components.dialog.menubar.CheckIndexDialogFactory; -import com.picimako.org.apache.lucene.luke.app.desktop.components.dialog.menubar.CreateIndexDialogFactory; +//import com.picimako.org.apache.lucene.luke.app.desktop.components.dialog.menubar.CreateIndexDialogFactory; import com.picimako.org.apache.lucene.luke.app.desktop.components.dialog.menubar.ExportTermsDialogFactory; import com.picimako.org.apache.lucene.luke.app.desktop.components.dialog.menubar.OpenIndexDialogFactory; import com.picimako.org.apache.lucene.luke.app.desktop.components.dialog.menubar.OptimizeIndexDialogFactory; @@ -58,7 +58,7 @@ public final class MenuBarProvider { private final JMenuItem reopenIndexMItem = new JBMenuItem(MessageUtils.getLocalizedMessage("menu.item.reopen_index")); - private final JMenuItem createIndexMItem = new JBMenuItem(MessageUtils.getLocalizedMessage("menu.item.create_index")); +// private final JMenuItem createIndexMItem = new JBMenuItem(MessageUtils.getLocalizedMessage("menu.item.create_index")); private final JMenuItem closeIndexMItem = new JBMenuItem(MessageUtils.getLocalizedMessage("menu.item.close_index")); @@ -104,8 +104,8 @@ private JMenu createFileMenu() { reopenIndexMItem.addActionListener(listeners::reopenIndex); fileMenu.add(reopenIndexMItem); - createIndexMItem.addActionListener(listeners::showCreateIndexDialog); - fileMenu.add(createIndexMItem); +// createIndexMItem.addActionListener(listeners::showCreateIndexDialog); +// fileMenu.add(createIndexMItem); closeIndexMItem.setEnabled(false); closeIndexMItem.addActionListener(listeners::closeIndex); @@ -139,13 +139,13 @@ void showOpenIndexDialog(ActionEvent e) { } } - void showCreateIndexDialog(ActionEvent e) { - try { - new CreateIndexDialogFactory(project).show(); - } catch (IOException ex) { - throw new LukeException(ex); - } - } +// void showCreateIndexDialog(ActionEvent e) { +// try { +// new CreateIndexDialogFactory(project).show(); +// } catch (IOException ex) { +// throw new LukeException(ex); +// } +// } void reopenIndex(ActionEvent e) { indexHandler.reOpen();