version 0.3 master v0.3
authorAntoine Jacquet <royale@zerezo.com>
Sat, 28 Feb 2004 23:00:00 +0000 (00:00 +0100)
committerAntoine Jacquet <royale@zerezo.com>
Sat, 28 Feb 2004 23:00:00 +0000 (00:00 +0100)
* crash fix when file has no name : use its ID

18 files changed:
CHANGELOG [new file with mode: 0644]
COPYING [changed mode: 0755->0644]
README [changed mode: 0755->0644]
build.bat [changed mode: 0755->0644]
build.xml [changed mode: 0755->0644]
build/icon.gif [changed mode: 0755->0644]
build/splash.jpg [changed mode: 0755->0644]
src/DonkeyCore.java [changed mode: 0755->0644]
src/DonkeyGui.java [changed mode: 0755->0644]
src/DownloadTableModel.java [changed mode: 0755->0644]
src/Main.java [changed mode: 0755->0644]
src/RefreshAbstractTableModel.java [changed mode: 0755->0644]
src/ResultTableModel.java [changed mode: 0755->0644]
src/ServerTableModel.java [changed mode: 0755->0644]
src/StatTableModel.java [changed mode: 0755->0644]
src/TableMap.java [changed mode: 0755->0644]
src/TableSorter.java [changed mode: 0755->0644]
src/manifest.txt [changed mode: 0755->0644]

diff --git a/CHANGELOG b/CHANGELOG
new file mode 100644 (file)
index 0000000..ed6177d
--- /dev/null
+++ b/CHANGELOG
@@ -0,0 +1,13 @@
+Change log file for jMoule
+
+version 0.3    (2004-02-29)
+       * crash fix when file has no name : use its ID
+
+version 0.2    (2003-06-08)
+       * More results for the searches
+       * ETA is now displayed (time remaining in hours)
+       * A statistics tab was added
+       * DonkeyCore class is now commented
+
+version 0.1    (2003-04-06)
+       * initial release
diff --git a/COPYING b/COPYING
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/README b/README
old mode 100755 (executable)
new mode 100644 (file)
index ec9d439..9c38171
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-jMoule 0.2\r
+jMoule 0.3\r
 site: http://royale.zerezo.com/jmoule/\r
 mail: royale@zerezo.com\r
 \r
 site: http://royale.zerezo.com/jmoule/\r
 mail: royale@zerezo.com\r
 \r
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index d0e1286..114b0e9
Binary files a/build/splash.jpg and b/build/splash.jpg differ
old mode 100755 (executable)
new mode 100644 (file)
index bd79353..c28066a
@@ -558,11 +558,26 @@ public class DonkeyCore extends Thread
                                        debug("FileInformation: ");\r
                                        id=new Long(readLong()); // id\r
                                        readLong(); // network\r
                                        debug("FileInformation: ");\r
                                        id=new Long(readLong()); // id\r
                                        readLong(); // network\r
-                                       n=readInt();\r
-                                       readString();\r
-                                       fileInfo.add(readString());\r
-                                       for (i=0;i<n-2;i++)     debug(readString()); // names\r
-                                       //for (i=0;i<n;i++)     debug(readString()); // names\r
+                                       n=readInt();
+                                       if (n==0)
+                                       {
+                                               // no name, this should not happen...
+                                               fileInfo.add("N/A");
+                                       }
+                                       else if (n==1)
+                                       {
+                                               // no name but the ID string\r
+                                               fileInfo.add(readString());
+                                       }
+                                       else
+                                       {
+                                               // skip the ID
+                                               readString();
+                                               // and get the first name\r
+                                               fileInfo.add(readString());\r
+                                               for (i=0;i<n-2;i++)     debug(readString()); // names\r
+                                               //for (i=0;i<n;i++)     debug(readString()); // names
+                                       }\r
                                        for (i=0;i<16;i++) readByte(); // hash\r
                                        //readLong(); // size\r
                                        //readLong(); // downloaded\r
                                        for (i=0;i<16;i++) readByte(); // hash\r
                                        //readLong(); // size\r
                                        //readLong(); // downloaded\r
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)