From 2a139d15c774804be4600a9f2922bb29a378f6ab Mon Sep 17 00:00:00 2001 From: crschnick Date: Tue, 16 Jul 2024 10:54:10 +0000 Subject: [PATCH] Small fixes --- .../xpipe/app/comp/base/SideMenuBarComp.java | 4 +- .../app/comp/store/DenseStoreEntryComp.java | 25 ++-- .../comp/store/StandardStoreEntryComp.java | 14 +- .../xpipe/app/comp/store/StoreEntryComp.java | 134 +++++++++--------- .../xpipe/app/core/window/ModifiedStage.java | 9 +- .../io/xpipe/app/ext/DataStoreProvider.java | 6 +- .../app/ext/EnabledParentStoreProvider.java | 4 +- .../xpipe/app/ext/EnabledStoreProvider.java | 4 +- .../ext/SingletonSessionStoreProvider.java | 2 +- .../io/xpipe/app/storage/DataStorage.java | 17 +-- .../io/xpipe/app/update/UpdateHandler.java | 5 + .../app/resources/style/store-entry-comp.css | 16 --- .../io/xpipe/app/resources/style/style.css | 2 +- dist/changelogs/{10.2.md => 10.1.1.md} | 0 dist/changelogs/10.1.1_incremental.md | 3 + dist/changelogs/10.2_incremental.md | 1 - .../base/script/ScriptGroupStoreProvider.java | 5 +- .../script/SimpleScriptStoreProvider.java | 5 +- .../AbstractServiceGroupStoreProvider.java | 15 +- .../service/AbstractServiceStoreProvider.java | 7 +- .../service/FixedServiceStoreProvider.java | 6 +- .../service/MappedServiceStoreProvider.java | 9 +- gradle/wrapper/gradle-wrapper.properties | 2 +- lang/base/strings/translations_da.properties | 3 - lang/base/strings/translations_de.properties | 3 - lang/base/strings/translations_en.properties | 3 - lang/base/strings/translations_es.properties | 3 - lang/base/strings/translations_fr.properties | 3 - lang/base/strings/translations_it.properties | 3 - lang/base/strings/translations_ja.properties | 3 - lang/base/strings/translations_nl.properties | 3 - lang/base/strings/translations_pt.properties | 3 - lang/base/strings/translations_ru.properties | 3 - lang/base/strings/translations_tr.properties | 3 - lang/base/strings/translations_zh.properties | 3 - version | 2 +- 36 files changed, 136 insertions(+), 197 deletions(-) rename dist/changelogs/{10.2.md => 10.1.1.md} (100%) create mode 100644 dist/changelogs/10.1.1_incremental.md delete mode 100644 dist/changelogs/10.2_incremental.md diff --git a/app/src/main/java/io/xpipe/app/comp/base/SideMenuBarComp.java b/app/src/main/java/io/xpipe/app/comp/base/SideMenuBarComp.java index d1cf12b38..0c26d5b09 100644 --- a/app/src/main/java/io/xpipe/app/comp/base/SideMenuBarComp.java +++ b/app/src/main/java/io/xpipe/app/comp/base/SideMenuBarComp.java @@ -75,7 +75,7 @@ public class SideMenuBarComp extends Comp> { } b.apply(new TooltipAugment<>(e.name(), shortcut)); b.apply(struc -> { - AppFont.setSize(struc.get(), 1); + AppFont.setSize(struc.get(), 2); struc.get().pseudoClassStateChanged(selected, value.getValue().equals(e)); value.addListener((c, o, n) -> { PlatformThread.runLaterIfNeeded(() -> { @@ -118,7 +118,7 @@ public class SideMenuBarComp extends Comp> { .tooltipKey("updateAvailableTooltip") .accessibleTextKey("updateAvailableTooltip"); b.apply(struc -> { - AppFont.setSize(struc.get(), 1); + AppFont.setSize(struc.get(), 2); }); b.hide(PlatformThread.sync(Bindings.createBooleanBinding( () -> { diff --git a/app/src/main/java/io/xpipe/app/comp/store/DenseStoreEntryComp.java b/app/src/main/java/io/xpipe/app/comp/store/DenseStoreEntryComp.java index 0b0b5f756..a6c5db926 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/DenseStoreEntryComp.java +++ b/app/src/main/java/io/xpipe/app/comp/store/DenseStoreEntryComp.java @@ -1,8 +1,10 @@ package io.xpipe.app.comp.store; +import io.xpipe.app.core.AppFont; import io.xpipe.app.fxcomps.Comp; import io.xpipe.app.fxcomps.augment.GrowAugment; import io.xpipe.app.fxcomps.util.PlatformThread; + import javafx.beans.binding.Bindings; import javafx.beans.property.SimpleStringProperty; import javafx.geometry.HPos; @@ -15,8 +17,8 @@ public class DenseStoreEntryComp extends StoreEntryComp { private final boolean showIcon; - public DenseStoreEntryComp(StoreSection section, boolean showIcon, Comp content) { - super(section, content); + public DenseStoreEntryComp(StoreEntryWrapper entry, boolean showIcon, Comp content) { + super(entry, content); this.showIcon = showIcon; } @@ -24,15 +26,16 @@ public class DenseStoreEntryComp extends StoreEntryComp { var information = new Label(); information.setGraphicTextGap(7); information.getStyleClass().add("information"); + AppFont.header(information); - var state = getWrapper().getEntry().getProvider() != null - ? getWrapper().getEntry().getProvider().stateDisplay(getWrapper()) + var state = wrapper.getEntry().getProvider() != null + ? wrapper.getEntry().getProvider().stateDisplay(wrapper) : Comp.empty(); information.setGraphic(state.createRegion()); - var info = getWrapper().getEntry().getProvider() != null ? getWrapper().getEntry().getProvider().informationString(section) : new SimpleStringProperty(); - var summary = getWrapper().getSummary(); - if (getWrapper().getEntry().getProvider() != null) { + var info = wrapper.getEntry().getProvider() != null ? wrapper.getEntry().getProvider().informationString(wrapper) : new SimpleStringProperty(); + var summary = wrapper.getSummary(); + if (wrapper.getEntry().getProvider() != null) { information .textProperty() .bind(PlatformThread.sync(Bindings.createStringBinding( @@ -40,7 +43,7 @@ public class DenseStoreEntryComp extends StoreEntryComp { var val = summary.getValue(); if (val != null && grid.isHover() - && getWrapper().getEntry().getProvider().alwaysShowSummary()) { + && wrapper.getEntry().getProvider().alwaysShowSummary()) { return val; } else { return info.getValue(); @@ -70,11 +73,11 @@ public class DenseStoreEntryComp extends StoreEntryComp { return grid.getWidth() / 2.5; }, grid.widthProperty())); - var notes = new StoreNotesComp(getWrapper()).createRegion(); + var notes = new StoreNotesComp(wrapper).createRegion(); if (showIcon) { - var storeIcon = createIcon(28, 24); - grid.getColumnConstraints().add(new ColumnConstraints(38)); + var storeIcon = createIcon(30, 24); + grid.getColumnConstraints().add(new ColumnConstraints(46)); grid.add(storeIcon, 0, 0); GridPane.setHalignment(storeIcon, HPos.CENTER); } diff --git a/app/src/main/java/io/xpipe/app/comp/store/StandardStoreEntryComp.java b/app/src/main/java/io/xpipe/app/comp/store/StandardStoreEntryComp.java index 074426dee..595e7bc56 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StandardStoreEntryComp.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StandardStoreEntryComp.java @@ -5,13 +5,12 @@ import io.xpipe.app.fxcomps.Comp; import javafx.geometry.HPos; import javafx.geometry.Insets; import javafx.geometry.Pos; -import javafx.geometry.VPos; import javafx.scene.layout.*; public class StandardStoreEntryComp extends StoreEntryComp { - public StandardStoreEntryComp(StoreSection section, Comp content) { - super(section, content); + public StandardStoreEntryComp(StoreEntryWrapper entry, Comp content) { + super(entry, content); } @Override @@ -21,21 +20,20 @@ public class StandardStoreEntryComp extends StoreEntryComp { protected Region createContent() { var name = createName().createRegion(); - var notes = new StoreNotesComp(getWrapper()).createRegion(); + var notes = new StoreNotesComp(wrapper).createRegion(); var grid = new GridPane(); - grid.setHgap(6); + grid.setHgap(7); grid.setVgap(0); - var storeIcon = createIcon(46, 40); + var storeIcon = createIcon(50, 40); grid.add(storeIcon, 0, 0, 1, 2); - grid.getColumnConstraints().add(new ColumnConstraints(56)); + grid.getColumnConstraints().add(new ColumnConstraints(66)); var nameAndNotes = new HBox(name, notes); nameAndNotes.setSpacing(1); nameAndNotes.setAlignment(Pos.CENTER_LEFT); grid.add(nameAndNotes, 1, 0); - GridPane.setValignment(nameAndNotes, VPos.CENTER); grid.add(createSummary(), 1, 1); var nameCC = new ColumnConstraints(); nameCC.setMinWidth(100); diff --git a/app/src/main/java/io/xpipe/app/comp/store/StoreEntryComp.java b/app/src/main/java/io/xpipe/app/comp/store/StoreEntryComp.java index 8ea05c3dc..045d05579 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StoreEntryComp.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StoreEntryComp.java @@ -51,25 +51,21 @@ public abstract class StoreEntryComp extends SimpleComp { App.getApp().getStage().widthProperty().divide(2.1).add(-100); public static final ObservableDoubleValue INFO_WITH_CONTENT_WIDTH = App.getApp().getStage().widthProperty().divide(2.1).add(-200); - protected final StoreSection section; + protected final StoreEntryWrapper wrapper; protected final Comp content; - public StoreEntryComp(StoreSection section, Comp content) { - this.section = section; + public StoreEntryComp(StoreEntryWrapper wrapper, Comp content) { + this.wrapper = wrapper; this.content = content; } - - public StoreEntryWrapper getWrapper() { - return section.getWrapper(); - } - public static StoreEntryComp create(StoreSection section, Comp content, boolean preferLarge) { + public static StoreEntryComp create(StoreEntryWrapper entry, Comp content, boolean preferLarge) { var forceCondensed = AppPrefs.get() != null && AppPrefs.get().condenseConnectionDisplay().get(); if (!preferLarge || forceCondensed) { - return new DenseStoreEntryComp(section, true, content); + return new DenseStoreEntryComp(entry, true, content); } else { - return new StandardStoreEntryComp(section, content); + return new StandardStoreEntryComp(entry, content); } } @@ -81,8 +77,8 @@ public abstract class StoreEntryComp extends SimpleComp { var forceCondensed = AppPrefs.get() != null && AppPrefs.get().condenseConnectionDisplay().get(); return forceCondensed - ? new DenseStoreEntryComp(e, true, null) - : new StandardStoreEntryComp(e, null); + ? new DenseStoreEntryComp(e.getWrapper(), true, null) + : new StandardStoreEntryComp(e.getWrapper(), null); } } @@ -99,11 +95,11 @@ public abstract class StoreEntryComp extends SimpleComp { button.setPadding(Insets.EMPTY); button.setMaxWidth(5000); button.setFocusTraversable(true); - button.accessibleTextProperty().bind(getWrapper().nameProperty()); + button.accessibleTextProperty().bind(wrapper.nameProperty()); button.setOnAction(event -> { event.consume(); ThreadHelper.runFailableAsync(() -> { - getWrapper().executeDefaultAction(); + wrapper.executeDefaultAction(); }); }); button.addEventFilter(MouseEvent.MOUSE_CLICKED, event -> { @@ -136,10 +132,9 @@ public abstract class StoreEntryComp extends SimpleComp { var loading = LoadingOverlayComp.noProgress( Comp.of(() -> button), - getWrapper().getEntry().getValidity().isUsable() - ? getWrapper().getBusy().or(getWrapper().getEntry().getProvider().busy(getWrapper())) - : getWrapper().getBusy()); - AppFont.normal(button); + wrapper.getEntry().getValidity().isUsable() + ? wrapper.getBusy().or(wrapper.getEntry().getProvider().busy(wrapper)) + : wrapper.getBusy()); return loading.createRegion(); } @@ -151,14 +146,15 @@ public abstract class StoreEntryComp extends SimpleComp { information .textProperty() .bind( - getWrapper().getEntry().getProvider() != null + wrapper.getEntry().getProvider() != null ? PlatformThread.sync( - getWrapper().getEntry().getProvider().informationString(section)) + wrapper.getEntry().getProvider().informationString(wrapper)) : new SimpleStringProperty()); information.getStyleClass().add("information"); + AppFont.header(information); - var state = getWrapper().getEntry().getProvider() != null - ? getWrapper().getEntry().getProvider().stateDisplay(getWrapper()) + var state = wrapper.getEntry().getProvider() != null + ? wrapper.getEntry().getProvider().stateDisplay(wrapper) : Comp.empty(); information.setGraphic(state.createRegion()); @@ -167,14 +163,14 @@ public abstract class StoreEntryComp extends SimpleComp { protected Label createSummary() { var summary = new Label(); - summary.textProperty().bind(getWrapper().getSummary()); + summary.textProperty().bind(wrapper.getSummary()); summary.getStyleClass().add("summary"); AppFont.small(summary); return summary; } protected void applyState(Node node) { - PlatformThread.sync(getWrapper().getValidity()).subscribe(val -> { + PlatformThread.sync(wrapper.getValidity()).subscribe(val -> { switch (val) { case LOAD_FAILED -> { node.pseudoClassStateChanged(FAILED, true); @@ -193,22 +189,24 @@ public abstract class StoreEntryComp extends SimpleComp { } protected Comp createName() { - LabelComp name = new LabelComp(getWrapper().nameProperty()); - name.apply(struc -> struc.get().setTextOverrun(OverrunStyle.CENTER_ELLIPSIS)); + LabelComp name = new LabelComp(wrapper.nameProperty()); + name.apply(struc -> struc.get().setTextOverrun(OverrunStyle.CENTER_ELLIPSIS)) + .apply(struc -> struc.get().setPadding(new Insets(5, 5, 5, 0))); + name.apply(s -> AppFont.header(s.get())); name.styleClass("name"); return name; } protected Node createIcon(int w, int h) { - var img = getWrapper().disabledProperty().get() + var img = wrapper.disabledProperty().get() ? "disabled_icon.png" - : getWrapper().getEntry() + : wrapper.getEntry() .getProvider() - .getDisplayIconFileName(getWrapper().getEntry().getStore()); + .getDisplayIconFileName(wrapper.getEntry().getStore()); var imageComp = PrettyImageHelper.ofFixedSize(img, w, h); var storeIcon = imageComp.createRegion(); - if (getWrapper().getValidity().getValue().isUsable()) { - new TooltipAugment<>(getWrapper().getEntry().getProvider().displayName(), null).augment(storeIcon); + if (wrapper.getValidity().getValue().isUsable()) { + new TooltipAugment<>(wrapper.getEntry().getProvider().displayName(), null).augment(storeIcon); } var stack = new StackPane(storeIcon); @@ -222,7 +220,7 @@ public abstract class StoreEntryComp extends SimpleComp { } protected Region createButtonBar() { - var list = new DerivedObservableList<>(getWrapper().getActionProviders(), false); + var list = new DerivedObservableList<>(wrapper.getActionProviders(), false); var buttons = list.mapped(actionProvider -> { var button = buildButton(actionProvider); return button != null ? button.createRegion() : null; @@ -241,8 +239,8 @@ public abstract class StoreEntryComp extends SimpleComp { buttons.subscribe(update); update.run(); ig.setAlignment(Pos.CENTER_RIGHT); + ig.setPadding(new Insets(5)); ig.getStyleClass().add("button-bar"); - AppFont.medium(ig); return ig; } @@ -251,17 +249,17 @@ public abstract class StoreEntryComp extends SimpleComp { var branch = p.getBranchDataStoreCallSite(); var cs = leaf != null ? leaf : branch; - if (cs == null || !cs.isMajor(getWrapper().getEntry().ref())) { + if (cs == null || !cs.isMajor(wrapper.getEntry().ref())) { return null; } var button = new IconButtonComp( - cs.getIcon(getWrapper().getEntry().ref()), + cs.getIcon(wrapper.getEntry().ref()), leaf != null ? () -> { ThreadHelper.runFailableAsync(() -> { - getWrapper().runAction( - leaf.createAction(getWrapper().getEntry().ref()), leaf.showBusy()); + wrapper.runAction( + leaf.createAction(wrapper.getEntry().ref()), leaf.showBusy()); }); } : null); @@ -278,8 +276,8 @@ public abstract class StoreEntryComp extends SimpleComp { return cm; })); } - button.accessibleText(cs.getName(getWrapper().getEntry().ref()).getValue()); - button.apply(new TooltipAugment<>(cs.getName(getWrapper().getEntry().ref()), null)); + button.accessibleText(cs.getName(wrapper.getEntry().ref()).getValue()); + button.apply(new TooltipAugment<>(cs.getName(wrapper.getEntry().ref()), null)); return button; } @@ -300,7 +298,7 @@ public abstract class StoreEntryComp extends SimpleComp { AppFont.normal(contextMenu.getStyleableNode()); var hasSep = false; - for (var p : getWrapper().getActionProviders()) { + for (var p : wrapper.getActionProviders()) { var item = buildMenuItemForAction(p); if (item == null) { continue; @@ -323,36 +321,36 @@ public abstract class StoreEntryComp extends SimpleComp { var notes = new MenuItem(AppI18n.get("addNotes"), new FontIcon("mdi2n-note-text")); notes.setOnAction(event -> { - getWrapper().getNotes().setValue(new StoreNotes(null, getDefaultNotes())); + wrapper.getNotes().setValue(new StoreNotes(null, getDefaultNotes())); event.consume(); }); - notes.visibleProperty().bind(BindingsHelper.map(getWrapper().getNotes(), s -> s.getCommited() == null)); + notes.visibleProperty().bind(BindingsHelper.map(wrapper.getNotes(), s -> s.getCommited() == null)); contextMenu.getItems().add(notes); if (AppPrefs.get().developerMode().getValue()) { var browse = new MenuItem(AppI18n.get("browseInternalStorage"), new FontIcon("mdi2f-folder-open-outline")); browse.setOnAction( - event -> DesktopHelper.browsePathLocal(getWrapper().getEntry().getDirectory())); + event -> DesktopHelper.browsePathLocal(wrapper.getEntry().getDirectory())); contextMenu.getItems().add(browse); var copyId = new MenuItem(AppI18n.get("copyId"), new FontIcon("mdi2c-content-copy")); copyId.setOnAction(event -> - ClipboardHelper.copyText(getWrapper().getEntry().getUuid().toString())); + ClipboardHelper.copyText(wrapper.getEntry().getUuid().toString())); contextMenu.getItems().add(copyId); } - if (DataStorage.get().isRootEntry(getWrapper().getEntry())) { + if (DataStorage.get().isRootEntry(wrapper.getEntry())) { var color = new Menu(AppI18n.get("color"), new FontIcon("mdi2f-format-color-fill")); var none = new MenuItem("None"); none.setOnAction(event -> { - getWrapper().getEntry().setColor(null); + wrapper.getEntry().setColor(null); event.consume(); }); color.getItems().add(none); Arrays.stream(DataStoreColor.values()).forEach(dataStoreColor -> { MenuItem m = new MenuItem(DataStoreFormatter.capitalize(dataStoreColor.getId())); m.setOnAction(event -> { - getWrapper().getEntry().setColor(dataStoreColor); + wrapper.getEntry().setColor(dataStoreColor); event.consume(); }); color.getItems().add(m); @@ -360,10 +358,10 @@ public abstract class StoreEntryComp extends SimpleComp { contextMenu.getItems().add(color); } - if (getWrapper().getEntry().getProvider() != null) { + if (wrapper.getEntry().getProvider() != null) { var move = new Menu(AppI18n.get("moveTo"), new FontIcon("mdi2f-folder-move-outline")); StoreViewState.get() - .getSortedCategories(getWrapper().getCategory().getValue().getRoot()) + .getSortedCategories(wrapper.getCategory().getValue().getRoot()) .getList() .forEach(storeCategoryWrapper -> { MenuItem m = new MenuItem(); @@ -371,12 +369,12 @@ public abstract class StoreEntryComp extends SimpleComp { .setValue(" ".repeat(storeCategoryWrapper.getDepth()) + storeCategoryWrapper.getName().getValue()); m.setOnAction(event -> { - getWrapper().moveTo(storeCategoryWrapper.getCategory()); + wrapper.moveTo(storeCategoryWrapper.getCategory()); event.consume(); }); if (storeCategoryWrapper.getParent() == null || storeCategoryWrapper.equals( - getWrapper().getCategory().getValue())) { + wrapper.getCategory().getValue())) { m.setDisable(true); } @@ -388,10 +386,10 @@ public abstract class StoreEntryComp extends SimpleComp { var order = new Menu(AppI18n.get("order"), new FontIcon("mdal-bookmarks")); var noOrder = new MenuItem(AppI18n.get("none"), new FontIcon("mdi2r-reorder-horizontal")); noOrder.setOnAction(event -> { - getWrapper().setOrder(null); + wrapper.setOrder(null); event.consume(); }); - if (getWrapper().getEntry().getExplicitOrder() == null) { + if (wrapper.getEntry().getExplicitOrder() == null) { noOrder.setDisable(true); } order.getItems().add(noOrder); @@ -399,20 +397,20 @@ public abstract class StoreEntryComp extends SimpleComp { var top = new MenuItem(AppI18n.get("stickToTop"), new FontIcon("mdi2o-order-bool-descending")); top.setOnAction(event -> { - getWrapper().setOrder(DataStoreEntry.Order.TOP); + wrapper.setOrder(DataStoreEntry.Order.TOP); event.consume(); }); - if (DataStoreEntry.Order.TOP.equals(getWrapper().getEntry().getExplicitOrder())) { + if (DataStoreEntry.Order.TOP.equals(wrapper.getEntry().getExplicitOrder())) { top.setDisable(true); } order.getItems().add(top); var bottom = new MenuItem(AppI18n.get("stickToBottom"), new FontIcon("mdi2o-order-bool-ascending")); bottom.setOnAction(event -> { - getWrapper().setOrder(DataStoreEntry.Order.BOTTOM); + wrapper.setOrder(DataStoreEntry.Order.BOTTOM); event.consume(); }); - if (DataStoreEntry.Order.BOTTOM.equals(getWrapper().getEntry().getExplicitOrder())) { + if (DataStoreEntry.Order.BOTTOM.equals(wrapper.getEntry().getExplicitOrder())) { bottom.setDisable(true); } order.getItems().add(bottom); @@ -425,14 +423,14 @@ public abstract class StoreEntryComp extends SimpleComp { del.disableProperty() .bind(Bindings.createBooleanBinding( () -> { - return !getWrapper().getDeletable().get() + return !wrapper.getDeletable().get() && !AppPrefs.get() .developerDisableGuiRestrictions() .get(); }, - getWrapper().getDeletable(), + wrapper.getDeletable(), AppPrefs.get().developerDisableGuiRestrictions())); - del.setOnAction(event -> getWrapper().delete()); + del.setOnAction(event -> wrapper.delete()); contextMenu.getItems().add(del); return contextMenu; @@ -443,12 +441,12 @@ public abstract class StoreEntryComp extends SimpleComp { var branch = p.getBranchDataStoreCallSite(); var cs = leaf != null ? leaf : branch; - if (cs == null || cs.isMajor(getWrapper().getEntry().ref())) { + if (cs == null || cs.isMajor(wrapper.getEntry().ref())) { return null; } - var name = cs.getName(getWrapper().getEntry().ref()); - var icon = cs.getIcon(getWrapper().getEntry().ref()); + var name = cs.getName(wrapper.getEntry().ref()); + var icon = cs.getIcon(wrapper.getEntry().ref()); var item = (leaf != null && leaf.canLinkTo()) || branch != null ? new Menu(null, new FontIcon(icon)) : new MenuItem(null, new FontIcon(icon)); @@ -474,21 +472,21 @@ public abstract class StoreEntryComp extends SimpleComp { run.textProperty().bind(AppI18n.observable("base.execute")); run.setOnAction(event -> { ThreadHelper.runFailableAsync(() -> { - getWrapper().runAction(leaf.createAction(getWrapper().getEntry().ref()), leaf.showBusy()); + wrapper.runAction(leaf.createAction(wrapper.getEntry().ref()), leaf.showBusy()); }); }); menu.getItems().add(run); var sc = new MenuItem(null, new FontIcon("mdi2c-code-greater-than")); - var url = "xpipe://action/" + p.getId() + "/" + getWrapper().getEntry().getUuid(); + var url = "xpipe://action/" + p.getId() + "/" + wrapper.getEntry().getUuid(); sc.textProperty().bind(AppI18n.observable("base.createShortcut")); sc.setOnAction(event -> { ThreadHelper.runFailableAsync(() -> { DesktopShortcuts.create( url, - getWrapper().nameProperty().getValue() + " (" + wrapper.nameProperty().getValue() + " (" + p.getLeafDataStoreCallSite() - .getName(getWrapper().getEntry().ref()) + .getName(wrapper.getEntry().ref()) .getValue() + ")"); }); }); @@ -518,7 +516,7 @@ public abstract class StoreEntryComp extends SimpleComp { event.consume(); ThreadHelper.runFailableAsync(() -> { - getWrapper().runAction(leaf.createAction(getWrapper().getEntry().ref()), leaf.showBusy()); + wrapper.runAction(leaf.createAction(wrapper.getEntry().ref()), leaf.showBusy()); }); }); diff --git a/app/src/main/java/io/xpipe/app/core/window/ModifiedStage.java b/app/src/main/java/io/xpipe/app/core/window/ModifiedStage.java index 63527e72b..960b678a1 100644 --- a/app/src/main/java/io/xpipe/app/core/window/ModifiedStage.java +++ b/app/src/main/java/io/xpipe/app/core/window/ModifiedStage.java @@ -3,6 +3,7 @@ package io.xpipe.app.core.window; import io.xpipe.app.fxcomps.util.PlatformThread; import io.xpipe.app.prefs.AppPrefs; import io.xpipe.core.process.OsType; + import javafx.animation.PauseTransition; import javafx.application.Platform; import javafx.collections.ListChangeListener; @@ -12,6 +13,8 @@ import javafx.stage.Stage; import javafx.stage.StageStyle; import javafx.stage.Window; import javafx.util.Duration; + +import lombok.SneakyThrows; import org.apache.commons.lang3.SystemUtils; public class ModifiedStage extends Stage { @@ -20,8 +23,12 @@ public class ModifiedStage extends Stage { return SystemUtils.IS_OS_WINDOWS_11; } + @SneakyThrows + @SuppressWarnings("unchecked") public static void init() { - ObservableList list = Window.getWindows(); + var windowsField = Window.class.getDeclaredField("windows"); + windowsField.setAccessible(true); + ObservableList list = (ObservableList) windowsField.get(null); list.addListener((ListChangeListener) c -> { if (c.next() && c.wasAdded()) { var added = c.getAddedSubList().getFirst(); diff --git a/app/src/main/java/io/xpipe/app/ext/DataStoreProvider.java b/app/src/main/java/io/xpipe/app/ext/DataStoreProvider.java index e3bca12be..9f27e842b 100644 --- a/app/src/main/java/io/xpipe/app/ext/DataStoreProvider.java +++ b/app/src/main/java/io/xpipe/app/ext/DataStoreProvider.java @@ -31,8 +31,6 @@ public interface DataStoreProvider { return true; } - default void onParentRefresh(DataStoreEntry entry) {} - default void onChildrenRefresh(DataStoreEntry entry) {} default ObservableBooleanValue busy(StoreEntryWrapper wrapper) { @@ -87,7 +85,7 @@ public interface DataStoreProvider { } default StoreEntryComp customEntryComp(StoreSection s, boolean preferLarge) { - return StoreEntryComp.create(s, null, preferLarge); + return StoreEntryComp.create(s.getWrapper(), null, preferLarge); } default StoreSectionComp customSectionComp(StoreSection section, boolean topLevel) { @@ -193,7 +191,7 @@ public interface DataStoreProvider { return null; } - default ObservableValue informationString(StoreSection section) { + default ObservableValue informationString(StoreEntryWrapper wrapper) { return new SimpleStringProperty(null); } diff --git a/app/src/main/java/io/xpipe/app/ext/EnabledParentStoreProvider.java b/app/src/main/java/io/xpipe/app/ext/EnabledParentStoreProvider.java index 21911e239..22e2c1a4d 100644 --- a/app/src/main/java/io/xpipe/app/ext/EnabledParentStoreProvider.java +++ b/app/src/main/java/io/xpipe/app/ext/EnabledParentStoreProvider.java @@ -15,7 +15,7 @@ public interface EnabledParentStoreProvider extends DataStoreProvider { @Override default StoreEntryComp customEntryComp(StoreSection sec, boolean preferLarge) { if (sec.getWrapper().getValidity().getValue() != DataStoreEntry.Validity.COMPLETE) { - return StoreEntryComp.create(sec, null, preferLarge); + return StoreEntryComp.create(sec.getWrapper(), null, preferLarge); } var enabled = StoreToggleComp.>enableToggle( @@ -35,6 +35,6 @@ public interface EnabledParentStoreProvider extends DataStoreProvider { })); } - return StoreEntryComp.create(sec, enabled, preferLarge); + return StoreEntryComp.create(sec.getWrapper(), enabled, preferLarge); } } diff --git a/app/src/main/java/io/xpipe/app/ext/EnabledStoreProvider.java b/app/src/main/java/io/xpipe/app/ext/EnabledStoreProvider.java index 35a11f689..cf236e9ad 100644 --- a/app/src/main/java/io/xpipe/app/ext/EnabledStoreProvider.java +++ b/app/src/main/java/io/xpipe/app/ext/EnabledStoreProvider.java @@ -12,7 +12,7 @@ public interface EnabledStoreProvider extends DataStoreProvider { @Override default StoreEntryComp customEntryComp(StoreSection sec, boolean preferLarge) { if (sec.getWrapper().getValidity().getValue() != DataStoreEntry.Validity.COMPLETE) { - return StoreEntryComp.create(sec, null, preferLarge); + return StoreEntryComp.create(sec.getWrapper(), null, preferLarge); } var enabled = StoreToggleComp.>enableToggle( @@ -20,6 +20,6 @@ public interface EnabledStoreProvider extends DataStoreProvider { var state = s.getState().toBuilder().enabled(aBoolean).build(); s.setState(state); }); - return StoreEntryComp.create(sec, enabled, preferLarge); + return StoreEntryComp.create(sec.getWrapper(), enabled, preferLarge); } } diff --git a/app/src/main/java/io/xpipe/app/ext/SingletonSessionStoreProvider.java b/app/src/main/java/io/xpipe/app/ext/SingletonSessionStoreProvider.java index c856c0121..0dc04c93d 100644 --- a/app/src/main/java/io/xpipe/app/ext/SingletonSessionStoreProvider.java +++ b/app/src/main/java/io/xpipe/app/ext/SingletonSessionStoreProvider.java @@ -30,7 +30,7 @@ public interface SingletonSessionStoreProvider extends DataStoreProvider { @Override default StoreEntryComp customEntryComp(StoreSection sec, boolean preferLarge) { var t = createToggleComp(sec); - return StoreEntryComp.create(sec, t, preferLarge); + return StoreEntryComp.create(sec.getWrapper(), t, preferLarge); } default StoreToggleComp createToggleComp(StoreSection sec) { diff --git a/app/src/main/java/io/xpipe/app/storage/DataStorage.java b/app/src/main/java/io/xpipe/app/storage/DataStorage.java index 55dc5b8e9..2573e747c 100644 --- a/app/src/main/java/io/xpipe/app/storage/DataStorage.java +++ b/app/src/main/java/io/xpipe/app/storage/DataStorage.java @@ -10,7 +10,9 @@ import io.xpipe.core.store.FixedChildStore; import io.xpipe.core.store.LocalStore; import io.xpipe.core.store.StorePath; import io.xpipe.core.util.UuidHelper; + import javafx.util.Pair; + import lombok.Getter; import lombok.NonNull; import lombok.Setter; @@ -343,14 +345,14 @@ public abstract class DataStorage { } public boolean refreshChildren(DataStoreEntry e, boolean throwOnFail) throws Exception { - if (!(e.getStore() instanceof FixedHierarchyStore h)) { + if (!(e.getStore() instanceof FixedHierarchyStore)) { return false; } e.incrementBusyCounter(); List> newChildren; try { - newChildren = h.listChildren(e).stream().filter(dataStoreEntryRef -> dataStoreEntryRef != null && dataStoreEntryRef.get() != null).toList(); + newChildren = ((FixedHierarchyStore) (e.getStore())).listChildren(e).stream().filter(dataStoreEntryRef -> dataStoreEntryRef != null && dataStoreEntryRef.get() != null).toList(); } catch (Exception ex) { if (throwOnFail) { throw ex; @@ -366,10 +368,6 @@ public abstract class DataStorage { var toRemove = oldChildren.stream() .filter(oc -> oc.getStore() instanceof FixedChildStore) .filter(oc -> { - if (!oc.getValidity().isUsable()) { - return true; - } - var oid = ((FixedChildStore) oc.getStore()).getFixedId(); if (oid.isEmpty()) { return false; @@ -396,7 +394,6 @@ public abstract class DataStorage { return oldChildren.stream() .filter(oc -> oc.getStore() instanceof FixedChildStore) - .filter(oc -> oc.getValidity().isUsable()) .filter(oc -> ((FixedChildStore) oc.getStore()) .getFixedId() .isPresent()) @@ -410,7 +407,6 @@ public abstract class DataStorage { .toList(); var toUpdate = oldChildren.stream() .filter(oc -> oc.getStore() instanceof FixedChildStore) - .filter(oc -> oc.getValidity().isUsable()) .map(oc -> { var oid = ((FixedChildStore) oc.getStore()).getFixedId(); if (oid.isEmpty()) { @@ -464,11 +460,10 @@ public abstract class DataStorage { }); refreshEntries(); saveAsync(); - e.getProvider().onChildrenRefresh(e); toAdd.forEach(dataStoreEntryRef -> - dataStoreEntryRef.get().getProvider().onParentRefresh(dataStoreEntryRef.getEntry())); + dataStoreEntryRef.get().getProvider().onChildrenRefresh(dataStoreEntryRef.getEntry())); toUpdate.forEach(dataStoreEntryRef -> - dataStoreEntryRef.getKey().getProvider().onParentRefresh(dataStoreEntryRef.getKey())); + dataStoreEntryRef.getKey().getProvider().onChildrenRefresh(dataStoreEntryRef.getKey())); return !newChildren.isEmpty(); } diff --git a/app/src/main/java/io/xpipe/app/update/UpdateHandler.java b/app/src/main/java/io/xpipe/app/update/UpdateHandler.java index 09b36c502..5890848df 100644 --- a/app/src/main/java/io/xpipe/app/update/UpdateHandler.java +++ b/app/src/main/java/io/xpipe/app/update/UpdateHandler.java @@ -72,6 +72,11 @@ public abstract class UpdateHandler { preparedUpdate.setValue(null); } + // Check if file has been deleted + if (preparedUpdate.getValue() != null && preparedUpdate.getValue().getFile() != null && !Files.exists(preparedUpdate.getValue().getFile())) { + preparedUpdate.setValue(null); + } + preparedUpdate.addListener((c, o, n) -> { AppCache.update("preparedUpdate", n); }); diff --git a/app/src/main/resources/io/xpipe/app/resources/style/store-entry-comp.css b/app/src/main/resources/io/xpipe/app/resources/style/store-entry-comp.css index d14b23437..10a77eb29 100644 --- a/app/src/main/resources/io/xpipe/app/resources/style/store-entry-comp.css +++ b/app/src/main/resources/io/xpipe/app/resources/style/store-entry-comp.css @@ -37,14 +37,6 @@ -fx-opacity: 0.5; } -.store-entry-grid .name { - -fx-padding: 2 0 0 0; -} - -.store-entry-grid.dense .name { - -fx-padding: 0 0 0 0; -} - .store-entry-grid .icon { -fx-background-color: -color-bg-overlay; -fx-background-radius: 5px; @@ -98,14 +90,6 @@ -fx-opacity: 0.2; } -.store-entry-comp .button-bar { - -fx-padding: 5; -} - -.store-entry-grid.dense .button-bar { - -fx-padding: 3; -} - .store-entry-comp .button-bar .button { -fx-padding: 6px; } diff --git a/app/src/main/resources/io/xpipe/app/resources/style/style.css b/app/src/main/resources/io/xpipe/app/resources/style/style.css index a964ddde4..a19000a00 100644 --- a/app/src/main/resources/io/xpipe/app/resources/style/style.css +++ b/app/src/main/resources/io/xpipe/app/resources/style/style.css @@ -63,7 +63,7 @@ } .toggle-switch:has-graphic { - -fx-font-size: 0.75em; + -fx-font-size: 0.8em; } .store-layout .split-pane-divider { diff --git a/dist/changelogs/10.2.md b/dist/changelogs/10.1.1.md similarity index 100% rename from dist/changelogs/10.2.md rename to dist/changelogs/10.1.1.md diff --git a/dist/changelogs/10.1.1_incremental.md b/dist/changelogs/10.1.1_incremental.md new file mode 100644 index 000000000..4f0cdd105 --- /dev/null +++ b/dist/changelogs/10.1.1_incremental.md @@ -0,0 +1,3 @@ +- Fix terminal window closing instantly if connection failed, not showing error messages +- Fix file browser editor sometimes not applying changes +- Fix various smaller bugs \ No newline at end of file diff --git a/dist/changelogs/10.2_incremental.md b/dist/changelogs/10.2_incremental.md deleted file mode 100644 index 15f2cb4ff..000000000 --- a/dist/changelogs/10.2_incremental.md +++ /dev/null @@ -1 +0,0 @@ -- Rework UI sizing to allow more content to be shown \ No newline at end of file diff --git a/ext/base/src/main/java/io/xpipe/ext/base/script/ScriptGroupStoreProvider.java b/ext/base/src/main/java/io/xpipe/ext/base/script/ScriptGroupStoreProvider.java index 2cc604ff4..ebbe867f0 100644 --- a/ext/base/src/main/java/io/xpipe/ext/base/script/ScriptGroupStoreProvider.java +++ b/ext/base/src/main/java/io/xpipe/ext/base/script/ScriptGroupStoreProvider.java @@ -2,7 +2,6 @@ package io.xpipe.ext.base.script; import io.xpipe.app.comp.base.SystemStateComp; import io.xpipe.app.comp.store.StoreEntryWrapper; -import io.xpipe.app.comp.store.StoreSection; import io.xpipe.app.comp.store.StoreViewState; import io.xpipe.app.ext.*; import io.xpipe.app.fxcomps.Comp; @@ -77,8 +76,8 @@ public class ScriptGroupStoreProvider implements EnabledStoreProvider, DataStore } @Override - public ObservableValue informationString(StoreSection section) { - ScriptGroupStore scriptStore = section.getWrapper().getEntry().getStore().asNeeded(); + public ObservableValue informationString(StoreEntryWrapper wrapper) { + ScriptGroupStore scriptStore = wrapper.getEntry().getStore().asNeeded(); return new SimpleStringProperty(scriptStore.getDescription()); } diff --git a/ext/base/src/main/java/io/xpipe/ext/base/script/SimpleScriptStoreProvider.java b/ext/base/src/main/java/io/xpipe/ext/base/script/SimpleScriptStoreProvider.java index 5d1fd3801..2a11010a8 100644 --- a/ext/base/src/main/java/io/xpipe/ext/base/script/SimpleScriptStoreProvider.java +++ b/ext/base/src/main/java/io/xpipe/ext/base/script/SimpleScriptStoreProvider.java @@ -4,7 +4,6 @@ import io.xpipe.app.comp.base.IntegratedTextAreaComp; import io.xpipe.app.comp.base.ListSelectorComp; import io.xpipe.app.comp.base.SystemStateComp; import io.xpipe.app.comp.store.StoreEntryWrapper; -import io.xpipe.app.comp.store.StoreSection; import io.xpipe.app.comp.store.StoreViewState; import io.xpipe.app.core.AppExtensionManager; import io.xpipe.app.core.AppI18n; @@ -207,8 +206,8 @@ public class SimpleScriptStoreProvider implements EnabledParentStoreProvider, Da } @Override - public ObservableValue informationString(StoreSection section) { - SimpleScriptStore scriptStore = section.getWrapper().getEntry().getStore().asNeeded(); + public ObservableValue informationString(StoreEntryWrapper wrapper) { + SimpleScriptStore scriptStore = wrapper.getEntry().getStore().asNeeded(); return new SimpleStringProperty((scriptStore.getMinimumDialect() != null ? scriptStore.getMinimumDialect().getDisplayName() + " " : "") diff --git a/ext/base/src/main/java/io/xpipe/ext/base/service/AbstractServiceGroupStoreProvider.java b/ext/base/src/main/java/io/xpipe/ext/base/service/AbstractServiceGroupStoreProvider.java index cdd79d56e..164927050 100644 --- a/ext/base/src/main/java/io/xpipe/ext/base/service/AbstractServiceGroupStoreProvider.java +++ b/ext/base/src/main/java/io/xpipe/ext/base/service/AbstractServiceGroupStoreProvider.java @@ -6,11 +6,9 @@ import io.xpipe.app.comp.store.StoreEntryComp; import io.xpipe.app.comp.store.StoreEntryWrapper; import io.xpipe.app.comp.store.StoreSection; import io.xpipe.app.comp.store.StoreViewState; -import io.xpipe.app.core.AppI18n; import io.xpipe.app.ext.DataStoreProvider; import io.xpipe.app.ext.DataStoreUsageCategory; import io.xpipe.app.fxcomps.Comp; -import io.xpipe.app.prefs.AppPrefs; import io.xpipe.app.storage.DataStorage; import io.xpipe.app.storage.DataStoreEntry; import io.xpipe.app.util.ThreadHelper; @@ -18,7 +16,6 @@ import io.xpipe.core.store.DataStore; import javafx.beans.binding.Bindings; import javafx.beans.property.SimpleObjectProperty; -import javafx.beans.value.ObservableValue; public abstract class AbstractServiceGroupStoreProvider implements DataStoreProvider { @@ -30,7 +27,7 @@ public abstract class AbstractServiceGroupStoreProvider implements DataStoreProv @Override public StoreEntryComp customEntryComp(StoreSection sec, boolean preferLarge) { var t = createToggleComp(sec); - return StoreEntryComp.create(sec, t, preferLarge); + return StoreEntryComp.create(sec.getWrapper(), t, preferLarge); } private StoreToggleComp createToggleComp(StoreSection sec) { @@ -65,16 +62,6 @@ public abstract class AbstractServiceGroupStoreProvider implements DataStoreProv return t; } - @Override - public ObservableValue informationString(StoreSection section) { - return Bindings.createStringBinding(() -> { - var all = section.getAllChildren().getList(); - var shown = section.getShownChildren().getList(); - var string = all.size() == shown.size() ? all.size() : shown.size() + "/" + all.size(); - return all.size() > 0 ? (all.size() == 1 ? AppI18n.get("hasService", string) : AppI18n.get("hasServices", string)) : AppI18n.get("noServices"); - }, section.getShownChildren().getList(), section.getAllChildren().getList(), AppPrefs.get().language()); - } - @Override public Comp stateDisplay(StoreEntryWrapper w) { return new SystemStateComp(new SimpleObjectProperty<>(SystemStateComp.State.SUCCESS)); diff --git a/ext/base/src/main/java/io/xpipe/ext/base/service/AbstractServiceStoreProvider.java b/ext/base/src/main/java/io/xpipe/ext/base/service/AbstractServiceStoreProvider.java index f577849d7..eb7053f33 100644 --- a/ext/base/src/main/java/io/xpipe/ext/base/service/AbstractServiceStoreProvider.java +++ b/ext/base/src/main/java/io/xpipe/ext/base/service/AbstractServiceStoreProvider.java @@ -1,7 +1,6 @@ package io.xpipe.ext.base.service; import io.xpipe.app.comp.base.SystemStateComp; -import io.xpipe.app.comp.store.DenseStoreEntryComp; import io.xpipe.app.comp.store.StoreEntryComp; import io.xpipe.app.comp.store.StoreEntryWrapper; import io.xpipe.app.comp.store.StoreSection; @@ -81,7 +80,7 @@ public abstract class AbstractServiceStoreProvider implements SingletonSessionSt return true; }, sec.getWrapper().getCache())); - return new DenseStoreEntryComp(sec, true, toggle); + return StoreEntryComp.create(sec.getWrapper(), toggle, preferLarge); } @Override @@ -99,8 +98,8 @@ public abstract class AbstractServiceStoreProvider implements SingletonSessionSt } @Override - public ObservableValue informationString(StoreSection section) { - AbstractServiceStore s = section.getWrapper().getEntry().getStore().asNeeded(); + public ObservableValue informationString(StoreEntryWrapper wrapper) { + AbstractServiceStore s = wrapper.getEntry().getStore().asNeeded(); if (s.getLocalPort() != null) { return new SimpleStringProperty("Port " + s.getLocalPort() + " <- " + s.getRemotePort()); } else { diff --git a/ext/base/src/main/java/io/xpipe/ext/base/service/FixedServiceStoreProvider.java b/ext/base/src/main/java/io/xpipe/ext/base/service/FixedServiceStoreProvider.java index 341d5c5cd..dedc7212c 100644 --- a/ext/base/src/main/java/io/xpipe/ext/base/service/FixedServiceStoreProvider.java +++ b/ext/base/src/main/java/io/xpipe/ext/base/service/FixedServiceStoreProvider.java @@ -1,6 +1,6 @@ package io.xpipe.ext.base.service; -import io.xpipe.app.comp.store.StoreSection; +import io.xpipe.app.comp.store.StoreEntryWrapper; import io.xpipe.app.storage.DataStorage; import io.xpipe.app.storage.DataStoreEntry; @@ -29,8 +29,8 @@ public class FixedServiceStoreProvider extends AbstractServiceStoreProvider { } @Override - public ObservableValue informationString(StoreSection section) { - FixedServiceStore s = section.getWrapper().getEntry().getStore().asNeeded(); + public ObservableValue informationString(StoreEntryWrapper wrapper) { + FixedServiceStore s = wrapper.getEntry().getStore().asNeeded(); return new SimpleStringProperty("Port " + s.getRemotePort()); } diff --git a/ext/base/src/main/java/io/xpipe/ext/base/service/MappedServiceStoreProvider.java b/ext/base/src/main/java/io/xpipe/ext/base/service/MappedServiceStoreProvider.java index c057051b7..1fb94c6c3 100644 --- a/ext/base/src/main/java/io/xpipe/ext/base/service/MappedServiceStoreProvider.java +++ b/ext/base/src/main/java/io/xpipe/ext/base/service/MappedServiceStoreProvider.java @@ -1,6 +1,7 @@ package io.xpipe.ext.base.service; -import io.xpipe.app.comp.store.StoreSection; +import io.xpipe.app.comp.store.StoreEntryWrapper; + import javafx.beans.property.SimpleStringProperty; import javafx.beans.value.ObservableValue; @@ -14,9 +15,9 @@ public class MappedServiceStoreProvider extends FixedServiceStoreProvider { } @Override - public ObservableValue informationString(StoreSection section) { - MappedServiceStore s = section.getWrapper().getEntry().getStore().asNeeded(); - return new SimpleStringProperty("Port " + s.getRemotePort() + " -> " + s.getContainerPort()); + public ObservableValue informationString(StoreEntryWrapper wrapper) { + MappedServiceStore s = wrapper.getEntry().getStore().asNeeded(); + return new SimpleStringProperty("Port " + s.getContainerPort() + " -> " + s.getRemotePort()); } @Override diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index dedd5d1e6..6f7a6eb33 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-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/lang/base/strings/translations_da.properties b/lang/base/strings/translations_da.properties index a8c3ea780..57d850e2b 100644 --- a/lang/base/strings/translations_da.properties +++ b/lang/base/strings/translations_da.properties @@ -167,6 +167,3 @@ customService.displayName=Service customService.displayDescription=Tilføj en brugerdefineret tjeneste til tunnel og åben fixedService.displayName=Service fixedService.displayDescription=Brug en foruddefineret tjeneste -noServices=Ingen tilgængelige tjenester -hasServices=$COUNT$ tilgængelige tjenester -hasService=$COUNT$ tilgængelig tjeneste diff --git a/lang/base/strings/translations_de.properties b/lang/base/strings/translations_de.properties index 9669d8ec6..55f04ac61 100644 --- a/lang/base/strings/translations_de.properties +++ b/lang/base/strings/translations_de.properties @@ -158,6 +158,3 @@ customService.displayName=Dienst customService.displayDescription=Einen benutzerdefinierten Dienst zum Tunnel hinzufügen und öffnen fixedService.displayName=Dienst fixedService.displayDescription=Einen vordefinierten Dienst verwenden -noServices=Keine verfügbaren Dienste -hasServices=$COUNT$ verfügbare Dienste -hasService=$COUNT$ verfügbarer Dienst diff --git a/lang/base/strings/translations_en.properties b/lang/base/strings/translations_en.properties index 38afa7820..08f77e1d2 100644 --- a/lang/base/strings/translations_en.properties +++ b/lang/base/strings/translations_en.properties @@ -156,8 +156,5 @@ customService.displayName=Service customService.displayDescription=Add a custom service to tunnel and open fixedService.displayName=Service fixedService.displayDescription=Use a predefined service -noServices=No available services -hasServices=$COUNT$ available services -hasService=$COUNT$ available service diff --git a/lang/base/strings/translations_es.properties b/lang/base/strings/translations_es.properties index 1281887b1..bbcd05db6 100644 --- a/lang/base/strings/translations_es.properties +++ b/lang/base/strings/translations_es.properties @@ -156,6 +156,3 @@ customService.displayName=Servicio customService.displayDescription=Añade un servicio personalizado para tunelizar y abrir fixedService.displayName=Servicio fixedService.displayDescription=Utilizar un servicio predefinido -noServices=No hay servicios disponibles -hasServices=$COUNT$ servicios disponibles -hasService=$COUNT$ servicio disponible diff --git a/lang/base/strings/translations_fr.properties b/lang/base/strings/translations_fr.properties index 80a30b1bb..476f18079 100644 --- a/lang/base/strings/translations_fr.properties +++ b/lang/base/strings/translations_fr.properties @@ -156,6 +156,3 @@ customService.displayName=Service customService.displayDescription=Ajouter un service personnalisé au tunnel et à l'ouverture fixedService.displayName=Service fixedService.displayDescription=Utiliser un service prédéfini -noServices=Aucun service disponible -hasServices=$COUNT$ services disponibles -hasService=$COUNT$ service disponible diff --git a/lang/base/strings/translations_it.properties b/lang/base/strings/translations_it.properties index 79e3e065e..11cdd26e5 100644 --- a/lang/base/strings/translations_it.properties +++ b/lang/base/strings/translations_it.properties @@ -156,6 +156,3 @@ customService.displayName=Servizio customService.displayDescription=Aggiungi un servizio personalizzato per il tunnel e l'apertura fixedService.displayName=Servizio fixedService.displayDescription=Utilizzare un servizio predefinito -noServices=Nessun servizio disponibile -hasServices=$COUNT$ servizi disponibili -hasService=$COUNT$ servizio disponibile diff --git a/lang/base/strings/translations_ja.properties b/lang/base/strings/translations_ja.properties index e33d06fcc..0dfaae5d6 100644 --- a/lang/base/strings/translations_ja.properties +++ b/lang/base/strings/translations_ja.properties @@ -156,6 +156,3 @@ customService.displayName=サービス customService.displayDescription=トンネルとオープンにカスタムサービスを追加する fixedService.displayName=サービス fixedService.displayDescription=定義済みのサービスを使う -noServices=利用可能なサービスはない -hasServices=$COUNT$ 利用可能なサービス -hasService=$COUNT$ 利用可能なサービス diff --git a/lang/base/strings/translations_nl.properties b/lang/base/strings/translations_nl.properties index 634935425..ea34666bc 100644 --- a/lang/base/strings/translations_nl.properties +++ b/lang/base/strings/translations_nl.properties @@ -156,6 +156,3 @@ customService.displayName=Service customService.displayDescription=Een aangepaste service toevoegen aan tunnel en openen fixedService.displayName=Service fixedService.displayDescription=Een vooraf gedefinieerde service gebruiken -noServices=Geen beschikbare diensten -hasServices=$COUNT$ beschikbare diensten -hasService=$COUNT$ beschikbare dienst diff --git a/lang/base/strings/translations_pt.properties b/lang/base/strings/translations_pt.properties index bdf43d927..58740c2d5 100644 --- a/lang/base/strings/translations_pt.properties +++ b/lang/base/strings/translations_pt.properties @@ -156,6 +156,3 @@ customService.displayName=Serviço customService.displayDescription=Adiciona um serviço personalizado ao túnel e abre fixedService.displayName=Serviço fixedService.displayDescription=Utiliza um serviço predefinido -noServices=Não há serviços disponíveis -hasServices=$COUNT$ serviços disponíveis -hasService=$COUNT$ serviço disponível diff --git a/lang/base/strings/translations_ru.properties b/lang/base/strings/translations_ru.properties index d88194bdb..a9ecfcb5a 100644 --- a/lang/base/strings/translations_ru.properties +++ b/lang/base/strings/translations_ru.properties @@ -156,6 +156,3 @@ customService.displayName=Сервис customService.displayDescription=Добавьте пользовательский сервис для туннелирования и открытия fixedService.displayName=Сервис fixedService.displayDescription=Использовать предопределенный сервис -noServices=Нет доступных сервисов -hasServices=$COUNT$ доступные сервисы -hasService=$COUNT$ доступный сервис diff --git a/lang/base/strings/translations_tr.properties b/lang/base/strings/translations_tr.properties index 2b43eb831..6a665bff3 100644 --- a/lang/base/strings/translations_tr.properties +++ b/lang/base/strings/translations_tr.properties @@ -156,6 +156,3 @@ customService.displayName=Hizmet customService.displayDescription=Tünele özel bir hizmet ekleyin ve açın fixedService.displayName=Hizmet fixedService.displayDescription=Önceden tanımlanmış bir hizmet kullanın -noServices=Mevcut hizmet yok -hasServices=$COUNT$ mevcut hi̇zmetler -hasService=$COUNT$ mevcut hizmet diff --git a/lang/base/strings/translations_zh.properties b/lang/base/strings/translations_zh.properties index 0cd88e0b8..e9973d8ba 100644 --- a/lang/base/strings/translations_zh.properties +++ b/lang/base/strings/translations_zh.properties @@ -156,6 +156,3 @@ customService.displayName=服务 customService.displayDescription=为隧道和开放添加自定义服务 fixedService.displayName=服务 fixedService.displayDescription=使用预定义服务 -noServices=无可用服务 -hasServices=$COUNT$ 可用服务 -hasService=$COUNT$ 可用服务 diff --git a/version b/version index 6bb790913..23127993a 100644 --- a/version +++ b/version @@ -1 +1 @@ -10.2-1 +10.1.1