mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-02 07:34:38 +02:00
7.14
-Unfreeze all button bug fix -MALFORMED ATTRIBUTES WINDOWS FIX
This commit is contained in:
parent
14741d9242
commit
c418d95bb1
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.tonikelope</groupId>
|
<groupId>com.tonikelope</groupId>
|
||||||
<artifactId>MegaBasterd</artifactId>
|
<artifactId>MegaBasterd</artifactId>
|
||||||
<version>7.13</version>
|
<version>7.14</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -885,10 +885,10 @@ public class FileGrabberDialog extends javax.swing.JDialog {
|
|||||||
|
|
||||||
for (Object p : object_path) {
|
for (Object p : object_path) {
|
||||||
|
|
||||||
path += "/" + p;
|
path += File.separator + p;
|
||||||
}
|
}
|
||||||
|
|
||||||
path = path.replaceAll("^//", "/").trim().replaceAll(" \\[[0-9,.]+ [A-Z]+\\]$", "");
|
path = path.replaceAll("^/+", "/").replaceAll("^\\+", "\\").trim().replaceAll(" \\[[0-9,.]+ [A-Z]+\\]$", "");
|
||||||
|
|
||||||
File file = new File(path);
|
File file = new File(path);
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ package com.tonikelope.megabasterd;
|
|||||||
import static com.tonikelope.megabasterd.MainPanel.*;
|
import static com.tonikelope.megabasterd.MainPanel.*;
|
||||||
import static com.tonikelope.megabasterd.MiscTools.*;
|
import static com.tonikelope.megabasterd.MiscTools.*;
|
||||||
import java.awt.Dialog;
|
import java.awt.Dialog;
|
||||||
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
@ -439,10 +440,10 @@ public class FolderLinkDialog extends javax.swing.JDialog {
|
|||||||
|
|
||||||
for (Object p : object_path) {
|
for (Object p : object_path) {
|
||||||
|
|
||||||
path += "/" + ((Map<String, Object>) p).get("name");
|
path += File.separator + ((Map<String, Object>) p).get("name");
|
||||||
}
|
}
|
||||||
|
|
||||||
path = path.replaceAll("^/+", "").trim();
|
path = path.replaceAll("^/+", "").replaceAll("^\\+", "").trim();
|
||||||
|
|
||||||
String url = "https://mega.nz/#N!" + ((Map<String, Object>) node.getUserObject()).get("h") + "!" + ((Map<String, Object>) node.getUserObject()).get("key") + "###n=" + folder_id;
|
String url = "https://mega.nz/#N!" + ((Map<String, Object>) node.getUserObject()).get("h") + "!" + ((Map<String, Object>) node.getUserObject()).get("key") + "###n=" + folder_id;
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ import javax.swing.UIManager;
|
|||||||
*/
|
*/
|
||||||
public final class MainPanel {
|
public final class MainPanel {
|
||||||
|
|
||||||
public static final String VERSION = "7.13";
|
public static final String VERSION = "7.14";
|
||||||
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
|
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
|
||||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||||
|
@ -271,7 +271,9 @@ public final class MainPanelView extends javax.swing.JFrame {
|
|||||||
|
|
||||||
String file_path = f.getParentFile().getAbsolutePath().replace(base_path, "");
|
String file_path = f.getParentFile().getAbsolutePath().replace(base_path, "");
|
||||||
|
|
||||||
String[] dirs = file_path.split("/");
|
LOG.log(Level.INFO, "{0} FILE_PATH -> {1}", new Object[]{Thread.currentThread().getName(), file_path});
|
||||||
|
|
||||||
|
String[] dirs = file_path.split("\\" + File.separator);
|
||||||
|
|
||||||
MegaDirNode current_node = file_paths;
|
MegaDirNode current_node = file_paths;
|
||||||
|
|
||||||
@ -279,6 +281,8 @@ public final class MainPanelView extends javax.swing.JFrame {
|
|||||||
|
|
||||||
for (String d : dirs) {
|
for (String d : dirs) {
|
||||||
|
|
||||||
|
LOG.log(Level.INFO, "{0} DIR -> {1}", new Object[]{Thread.currentThread().getName(), d});
|
||||||
|
|
||||||
if (!d.isEmpty()) {
|
if (!d.isEmpty()) {
|
||||||
|
|
||||||
if (current_node.getChildren().get(d) != null) {
|
if (current_node.getChildren().get(d) != null) {
|
||||||
|
@ -687,6 +687,11 @@ abstract public class TransferenceManager implements Runnable, SecureSingleThrea
|
|||||||
|
|
||||||
setPreprocessing_transferences(true);
|
setPreprocessing_transferences(true);
|
||||||
|
|
||||||
|
if (isPaused_all()) {
|
||||||
|
|
||||||
|
_paused_all = false;
|
||||||
|
}
|
||||||
|
|
||||||
THREAD_POOL.execute(() -> {
|
THREAD_POOL.execute(() -> {
|
||||||
|
|
||||||
Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
|
Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 194 KiB |
Loading…
x
Reference in New Issue
Block a user