Skip to content

Commit

Permalink
2.90
Browse files Browse the repository at this point in the history
  • Loading branch information
tonikelope committed Jan 25, 2018
1 parent 9d8a3ba commit 466a5c0
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 7 deletions.
5 changes: 4 additions & 1 deletion src/megabasterd/ChunkDownloader.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.io.IOException;
import java.io.InputStream;
import java.net.SocketTimeoutException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.logging.Level;
Expand Down Expand Up @@ -273,7 +274,9 @@ public void run() {
_download.getProgress_meter().secureNotify();
}

conta_error++;
if (!(ex instanceof SocketTimeoutException)) {
conta_error++;
}

if (!_exit) {

Expand Down
5 changes: 4 additions & 1 deletion src/megabasterd/ChunkUploader.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import java.io.RandomAccessFile;
import java.net.SocketTimeoutException;
import java.net.URI;
import java.net.URISyntaxException;
import java.security.InvalidAlgorithmParameterException;
Expand Down Expand Up @@ -364,7 +365,9 @@ public CloseableHttpResponse call() throws IOException {
_upload.getProgress_meter().secureNotify();
}

conta_error++;
if (!(ex instanceof SocketTimeoutException)) {
conta_error++;
}

if (!_exit) {

Expand Down
2 changes: 1 addition & 1 deletion src/megabasterd/DownloadView.form
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo">
<LineBorder roundedCorners="true" thickness="4">
<LineBorder roundedCorners="true" thickness="3">
<Color PropertyName="color" blue="ff" green="cc" red="99" type="rgb"/>
</LineBorder>
</Border>
Expand Down
2 changes: 1 addition & 1 deletion src/megabasterd/DownloadView.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private void initComponents() {
slot_status_label = new javax.swing.JLabel();
open_folder_button = new javax.swing.JButton();

setBorder(new javax.swing.border.LineBorder(new java.awt.Color(153, 204, 255), 4, true));
setBorder(new javax.swing.border.LineBorder(new java.awt.Color(153, 204, 255), 3, true));

status_label.setFont(new java.awt.Font("Dialog", 1, 20)); // NOI18N
status_label.setText("status");
Expand Down
2 changes: 1 addition & 1 deletion src/megabasterd/MainPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
*/
public final class MainPanel {

public static final String VERSION = "2.89";
public static final String VERSION = "2.90";
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
public static final int STREAMER_PORT = 1337;
Expand Down
10 changes: 10 additions & 0 deletions src/megabasterd/MainPanelView.form
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,11 @@
</Events>
</Component>
<Container class="javax.swing.JScrollPane" name="jScrollPane_down">
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="null"/>
</Property>
</Properties>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
<SubComponents>
Expand Down Expand Up @@ -493,6 +498,11 @@
</Events>
</Component>
<Container class="javax.swing.JScrollPane" name="jScrollPane_up">
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="null"/>
</Property>
</Properties>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
<SubComponents>
Expand Down
4 changes: 4 additions & 0 deletions src/megabasterd/MainPanelView.java
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
}
});

jScrollPane_down.setBorder(null);

jPanel_scroll_down.setLayout(new javax.swing.BoxLayout(jPanel_scroll_down, javax.swing.BoxLayout.Y_AXIS));
jScrollPane_down.setViewportView(jPanel_scroll_down);

Expand Down Expand Up @@ -341,6 +343,8 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
}
});

jScrollPane_up.setBorder(null);

jPanel_scroll_up.setLayout(new javax.swing.BoxLayout(jPanel_scroll_up, javax.swing.BoxLayout.Y_AXIS));
jScrollPane_up.setViewportView(jPanel_scroll_up);

Expand Down
2 changes: 1 addition & 1 deletion src/megabasterd/UploadView.form
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo">
<LineBorder roundedCorners="true" thickness="4">
<LineBorder roundedCorners="true" thickness="3">
<Color PropertyName="color" blue="ff" green="cc" red="99" type="rgb"/>
</LineBorder>
</Border>
Expand Down
2 changes: 1 addition & 1 deletion src/megabasterd/UploadView.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private void initComponents() {
folder_link_button = new javax.swing.JButton();
file_link_button = new javax.swing.JButton();

setBorder(new javax.swing.border.LineBorder(new java.awt.Color(153, 204, 255), 4, true));
setBorder(new javax.swing.border.LineBorder(new java.awt.Color(153, 204, 255), 3, true));

status_label.setFont(new java.awt.Font("Dialog", 1, 20)); // NOI18N
status_label.setText("status");
Expand Down

0 comments on commit 466a5c0

Please sign in to comment.