Permalink
Browse files

fixed 6699

Added additional validation of the downloaded files to the downloader that should now prevent any files from going missing
Fixed format of the source code
  • Loading branch information...
mkaring committed Jul 24, 2011
1 parent e1b3002 commit 6cb2de9095094d219721e68ba04d0f2ef08b5481
Showing with 880 additions and 267 deletions.
  1. +4 −4 illacommon/src/illarion/common/util/IllarionLookAndFeel.java
  2. +8 −3 illadownload/src/illarion/download/install/Installation.java
  3. +2 −2 illadownload/src/illarion/download/install/gui/MainScreen.java
  4. +2 −2 illadownload/src/illarion/download/install/gui/swing/AbstractContentSWING.java
  5. +2 −2 illadownload/src/illarion/download/install/gui/swing/AbstractProgressDetailDisplay.java
  6. +2 −2 illadownload/src/illarion/download/install/gui/swing/AppDirectorySWING.java
  7. +2 −2 illadownload/src/illarion/download/install/gui/swing/AppSelectionSWING.java
  8. +2 −2 illadownload/src/illarion/download/install/gui/swing/BaseSWING.java
  9. +2 −2 illadownload/src/illarion/download/install/gui/swing/FailedInformationSWING.java
  10. +2 −2 illadownload/src/illarion/download/install/gui/swing/ProgressSWING.java
  11. +2 −2 illadownload/src/illarion/download/install/gui/swing/UserDirectorySWING.java
  12. +2 −2 illadownload/src/illarion/download/install/resources/Resource.java
  13. +2 −2 illadownload/src/illarion/download/install/resources/ResourceDirectory.java
  14. +61 −75 illadownload/src/illarion/download/install/resources/ResourceManager.java
  15. +229 −0 illadownload/src/illarion/download/install/resources/db/DBFile.java
  16. +177 −0 illadownload/src/illarion/download/install/resources/db/DBResource.java
  17. +48 −0 illadownload/src/illarion/download/install/resources/db/ResourceCheckLevel.java
  18. +127 −0 illadownload/src/illarion/download/install/resources/db/ResourceDatabase.java
  19. +2 −2 illadownload/src/illarion/download/install/resources/dev/Books.java
  20. +2 −2 illadownload/src/illarion/download/install/resources/dev/Characters.java
  21. +2 −2 illadownload/src/illarion/download/install/resources/dev/Client.java
  22. +2 −2 illadownload/src/illarion/download/install/resources/dev/Common.java
  23. +2 −2 illadownload/src/illarion/download/install/resources/dev/DevelopmentDirectory.java
  24. +2 −2 illadownload/src/illarion/download/install/resources/dev/DevelopmentResource.java
  25. +2 −2 illadownload/src/illarion/download/install/resources/dev/DevelopmentResourceDirectory.java
  26. +2 −2 illadownload/src/illarion/download/install/resources/dev/EasyNpcEditor.java
  27. +2 −2 illadownload/src/illarion/download/install/resources/dev/Effects.java
  28. +2 −2 illadownload/src/illarion/download/install/resources/dev/Graphics.java
  29. +2 −2 illadownload/src/illarion/download/install/resources/dev/Gui.java
  30. +2 −2 illadownload/src/illarion/download/install/resources/dev/Input.java
  31. +2 −2 illadownload/src/illarion/download/install/resources/dev/Items.java
  32. +2 −2 illadownload/src/illarion/download/install/resources/dev/Manual.java
  33. +2 −2 illadownload/src/illarion/download/install/resources/dev/Mapeditor.java
  34. +2 −2 illadownload/src/illarion/download/install/resources/dev/Sound.java
  35. +2 −2 illadownload/src/illarion/download/install/resources/dev/Sounds.java
  36. +2 −2 illadownload/src/illarion/download/install/resources/dev/Tables.java
  37. +2 −2 illadownload/src/illarion/download/install/resources/dev/Tiles.java
  38. +2 −2 illadownload/src/illarion/download/install/resources/libs/Gluegen.java
  39. +2 −2 illadownload/src/illarion/download/install/resources/libs/JOGL.java
  40. +2 −2 illadownload/src/illarion/download/install/resources/libs/JSyntaxPane.java
  41. +2 −2 illadownload/src/illarion/download/install/resources/libs/Javolution.java
  42. +2 −2 illadownload/src/illarion/download/install/resources/libs/LWJGL.java
  43. +2 −2 illadownload/src/illarion/download/install/resources/libs/LibraryDirectory.java
  44. +2 −2 illadownload/src/illarion/download/install/resources/libs/LibraryResource.java
  45. +2 −2 illadownload/src/illarion/download/install/resources/libs/Log4j.java
  46. +2 −2 illadownload/src/illarion/download/install/resources/libs/Substance.java
  47. +2 −2 illadownload/src/illarion/download/install/resources/libs/Tabsplitter.java
  48. +2 −2 illadownload/src/illarion/download/install/resources/libs/Trove.java
  49. +2 −2 illadownload/src/illarion/download/install/resources/libs/VorbisSPI.java
  50. +2 −2 illadownload/src/illarion/download/tasks/clean/Cleaner.java
  51. +97 −70 illadownload/src/illarion/download/tasks/download/Download.java
  52. +2 −2 illadownload/src/illarion/download/tasks/download/DownloadCallback.java
  53. +2 −2 illadownload/src/illarion/download/tasks/download/DownloadManager.java
  54. +2 −2 illadownload/src/illarion/download/tasks/download/DownloadResult.java
  55. +2 −2 illadownload/src/illarion/download/tasks/launch/Launcher.java
  56. +2 −2 illadownload/src/illarion/download/tasks/unpack/CountBytesInputStream.java
  57. +2 −2 illadownload/src/illarion/download/tasks/unpack/FailMonitor.java
  58. +2 −2 illadownload/src/illarion/download/tasks/unpack/NonClosingInputStream.java
  59. +19 −5 illadownload/src/illarion/download/tasks/unpack/Unpack.java
  60. +2 −2 illadownload/src/illarion/download/tasks/unpack/UnpackCallback.java
  61. +2 −2 illadownload/src/illarion/download/tasks/unpack/UnpackManager.java
  62. +2 −2 illadownload/src/illarion/download/tasks/unpack/UnpackResult.java
  63. +2 −2 illadownload/src/illarion/download/util/Lang.java
  64. +2 −2 illadownload/src/illarion/download/util/OSDetection.java
@@ -58,14 +58,14 @@ public static void setupLookAndFeel() {
UIManager.put("info", yellow.darker());
UIManager.put("nimbusBase", background);
UIManager.put("nimbusDisabledText", background.darker());
- UIManager.put("nimbusFocus", background.brighter());
+ UIManager.put("nimbusFocus", background.brighter().brighter());
UIManager.put("nimbusGreen", green.brighter());
UIManager.put("nimbusInfoBlue", background.darker());
UIManager.put("nimbusLightBackground", background.brighter());
UIManager.put("nimbusOrange", green);
UIManager.put("nimbusRed", red);
UIManager.put("nimbusSelectedText", Color.white);
- UIManager.put("nimbusSelectionBackground", background.darker());
+ UIManager.put("nimbusSelectionBackground", background.darker().darker());
UIManager.put("text", Color.black);
UIManager.put("activeCaption", background.brighter());
@@ -84,9 +84,9 @@ public static void setupLookAndFeel() {
UIManager.put("nimbusBorder", background.darker());
UIManager.put("nimbusSelection", background.darker());
UIManager.put("scrollbar", background.brighter().brighter());
- UIManager.put("textBackground", background.brighter());
+ UIManager.put("textBackground", background.darker());
UIManager.put("textForeground", Color.black);
- UIManager.put("textHighlight", background.brighter());
+ UIManager.put("textHighlight", background.brighter().brighter());
UIManager.put("textHighlightText", background.brighter());
UIManager.put("textInactiveText", background.darker());
for (final LookAndFeelInfo info : UIManager
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -37,10 +37,15 @@
* This class is used to control the installation chain.
*
* @author Martin Karing
- * @version 1.00
+ * @version 1.01
* @since 1.00
*/
public final class Installation {
+ /**
+ * The text that contains the version string of this application.
+ */
+ public static final String VERSION = "1.01"; //$NON-NLS-1$
+
/**
* The GUI that is used to display the installation progress. While its
* created here it does not mean by all needs that its really displayed.
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
@@ -1,8 +1,8 @@
/*
* This file is part of the Illarion Download Manager.
- *
+ *
* Copyright © 2011 - Illarion e.V.
- *
+ *
* The Illarion Download Manager is free software: you can redistribute i and/or
* modify it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
Oops, something went wrong.

0 comments on commit 6cb2de9

Please sign in to comment.