/**
 * Default settings for a group of common apps.
 */
package com.mindprod.vercheck;

import com.mindprod.common11.BigDate;

/**
 * Default set of apps with their versions, Urls, and markers
 */
class DefaultApps
    {
    // ------------------------------ FIELDS ------------------------------

    /**
     * array of default applications to monitor
     */
    static final AppToWatch[] DEFAULTS = {
            new AppToWatch( "010 Editor", "3.0.3", "Hex/binary editor. Has templates for viewing/editing various binary structures.",
                    "http://www.sweetscape.com/download",
                    "http://www.sweetscape.com/download/",
                    "Version:   3.0.3<",
                    new BigDate( 2008, 10, 17 ) )
            ,
            new AppToWatch( "Ace Utilities", "4.2.0", "Registry cleaner. Junk file deleter. Autorun manager\u2026",
                    "registrycleaner.html#ACE",
                    "http://www.acelogix.com/downloads/au.ver",
                    "Version: \"4.2.0\"",
                    new BigDate( 2008, 8, 6 ) )
            // only post partial version number on http://www.acelogix.com/download.html
            // we use same mechanism that au.exe itself uses
            ,
            new AppToWatch( "Adobe Acrobat", "9.0", "PDF reader.", // same mechanism as Adobe updater uses
                    "acrobat.html",
                    " http://swupmf.adobe.com/manifest/60/win/reader9rdr-en_US.upd",
                    "<en_US>Adobe Reader 9.0 Language Support</en_US>",
                    new BigDate( 2008, 9, 18 ) )
            ,

            new AppToWatch( "Adobe Flash", "10.0.12.36", "lightweight animation viewer.",
                    "flash.html",
                    "http://www.macromedia.com/software/flash/about/",
                    ">10.0.12.36<",
                    new BigDate( 2008, 10, 15 ) )
            ,
            // won't work. Requires javascript
            //             new AppToWatch( "Adobe Media Player", "1.1", "video viewer.",
            //                    "adobemediaviewer.html",
            //                    "http://get.adobe.com/amp/",
            //                    "Adobe Media Player1.1 Installer<br />English",
            //                    new BigDate( 2008, 10, 15 ) )
            //            ,

            //          new AppToWatch( "Adobe Shockwave", // won't work. Marker generated by JavaScript
            //                            "11.0.0.465",
            //                            "http://www.adobe.com/shockwave/download/download.cgi",
            //                            ">Shockwave 11.0.0.465<",
            //                            new BigDate( 2008, 9, 18 ) )
            //          ,
            new AppToWatch( "AllChars", "4.0.321", "key accents and symbols.",
                    "allchars.html",
                    "http://sourceforge.net/project/platformdownload.php?group_id=188828&sel_platform=1634",
                    "AllChars-4.0.321.msi",
                    new BigDate( 2008, 3, 14 ) )
            ,
            new AppToWatch( "ANT", "1.7.1", "Java make utility and platform-independent scripting.",
                    "ant.html",
                    "http://ant.apache.org/bindownload.cgi",
                    "Apache Ant 1.7.1 is the best available version",
                    new BigDate( 2008, 6, 27 ) )
            ,
            new AppToWatch( "Apache Tomcat", "6.0.18", "Servlet Womb and HTTP server.",
                    "tomcat.html",
                    "http://tomcat.apache.org/download-60.cgi",
                    ">6.0.18<",
                    new BigDate( 2008, 7, 30 ) )
            ,
            new AppToWatch( "Apple iTunes", "8.0.1", "music player.",
                    "itunes.html",
                    /* use same query iTunes itself uses */
                    "http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version", //  redirected from http://itunes.com/version
                    "regex:<key>iTunesWindowsVersion</key>[\\n\\r ]*<string>8.0.1</string>",
                    new BigDate( 2008, 10, 2 ) )
            ,
            new AppToWatch( "Apple QuickTime", "7.5.5", "movie player",
                    "quicktime.html",
                    /* use same query QuickTime itself uses, discover via Wireshark */
                    "http://qtsoftware.apple.com/cgi-bin/query2?os=win&train=&qtvers=07558000&lang=us&osvers=00020600&news=full",
                    "QuickTime 7.5.5 for Windows",
                    new BigDate( 2008, 9, 9 ) )
            ,
            // if this changes, fix BestBrowsers,  colgroup bug, avant.html
            new AppToWatch( "Avant", "11.7", "browser",
                    "avant.html",
                    "http://www.avantbrowser.com/download.html",
                    "Avant Browser 11.7 Build 18",
                    new BigDate( 2008, 11, 3 ) )
            ,
            new AppToWatch( "BitTorrent", "6.1.2a", "large file downloader.",
                    "bittorrent.html",
                    "http://www.bittorrent.com/download",
                    "ver = '6.1.2a'",
                    new BigDate( 2008, 11, 17 ) )
            ,
            new AppToWatch( "Boot-It NG", "1.86", "partition manager.",
                    "../bgloss/bootit.html",
                    "http://www.terabyteunlimited.com/bootitng.html",
                    "Version 1.86 made",
                    new BigDate( 2008, 10, 27 ) )
            ,
            new AppToWatch( "Clipmate", "7.3.12:215", "extended cut/paste buffer.",
                    "clipmate.html",
                    "http://www.thornsoft.com/check4updates.php",
                    ">Latest ClipMate 7 Version: 7.3.12<",
                    new BigDate( 2008, 10, 3 ) )
            ,
            new AppToWatch( "Copernic Desktop", "3.0.0", "desktop index and search local disk.",
                    "copernic.html",
                    "http://www.copernic.com/en/products/desktop-search/home/download.html",
                    "Version 3.0 released on September 3, 2008",
                    new BigDate( 2008, 9, 2 ) )
            ,
            new AppToWatch( "Corel Paint Shop Pro X2", "12.01", "pixel paint program and photo retoucher",
                    "psp.html",
                    "http://www.corel.com/servlet/Satellite?c=Content_C1&cid=1153321224268&lc=en&pagename=CorelCom/Layout&pid=1184951547077",
                    "Corel Paint Shop Pro Photo 12.01 - English",
                    new BigDate( 2007, 10, 30 ) )
            ,
            new AppToWatch( "Creative Element", "2.9.910", "Associations editor, plus many other little utilities.",
                    "creativeelement.html",
                    "http://www.creativelement.com/powertools/#download",
                    "Version <b>2.9.910</b>",
                    new BigDate( 2008, 8, 6 ) )
            ,
            //            new AppToWatch( "Eudora", "7.1.0.9",
            //                    "http://www.eudora.com/download/",
            //                    "productid=EUDORA_win_7109\"",
            //                    new BigDate( 2006, 10, 11 ) )
            //            ,
            new AppToWatch( "Excelsior Jet", "6.4", "Native Java compiler for Windows and Linux.",
                    "jet.html",
                    "http://www.excelsior-usa.com/jetdleval.html",
                    "Excelsior&nbsp;JET&nbsp;6.4<BR>for&nbsp;Windows",
                    new BigDate( 2008, 6, 18 ) )
            ,
            new AppToWatch( "FastStone", "6.3", "screen capture.",
                    "faststone.html",
                    "http://faststone.org/",
                    "Capture 6.3<",
                    new BigDate( 2008, 10, 15 ) )
            ,
            // if this changes, fix BestBrowsers, colgroup bug, firefox.html
            new AppToWatch( "Firefox", "3.0.4", "browser.",
                    "firefox.html",
                    "http://en.www.mozilla.com/en/firefox/",
                    "product=firefox-3.0.4&amp;os=win",
                    new BigDate( 2008, 11, 18 ) )
            ,
            // if this changes, fix BestBrowsers, colgroup bug, flock.html
            new AppToWatch( "Flock", "2.0", "browser for social networking.",
                    "flock.html",
                    "http://www.flock.com/get-ready-to-flock/",
                    "flock-2.0&",
                    new BigDate( 2008, 10, 15 ) )
            ,
            new AppToWatch( "Forté Agent", "4.2:1118", "newsreader.",
                    "forteagent.html",
                    "http://www.forteinc.com/agent/download.php",
                    ">Agent&nbsp;4.2&nbsp;&middot;&nbsp;Build&nbsp;1118<",
                    new BigDate( 2007, 1, 30 ) )
            ,
            new AppToWatch( "FTP Voyager", "15.1.0.2", "FTP upload/download.",
                    "ftpvoyager.html",
                    "http://www.ftpvoyager.com/",
                    "English version 15.1.0.2",
                    new BigDate( 2008, 10, 14 ) )
            ,
            new AppToWatch( "Funduc SR", "5.9", "bulk search and replace, regex.",
                    "searchreplace.html",
                    "http://www.funduc.com/srpatch.htm",
                    "version 5.9, you have the latest",
                    new BigDate( 2006, 1, 1 )/* guess */ )
            ,
            new AppToWatch( "Frameworkx Shortcut Manager", "2.0", "manage Vista shortcuts.",
                    "shortcut.html",
                    "http://www.frameworkx.com/download.aspx?a=83&m=84",
                    ">Version 2.0:</strong> </p><p>Former Vista Shortcut Overlay Remover",
                    new BigDate( 2008, 9, 4 ) )
            ,
            new AppToWatch( "Goldwave", "5.25", "sound file editor and converter.",
                    "goldwave.html",
                    "http://www.goldwave.com/",
                    ">GoldWave v5.25<",
                    new BigDate( 2008, 5, 6 ) )
            ,
            new AppToWatch( "Google Chrome", "0.2.149.27 beta", "browser.",
                    "google.html#CHROME",
                    "http://www.google.com/chrome/eula.html",
                    "{8A69D345-D564-463C-AFF1-A69D9E530F96}",
                    new BigDate( 2008, 9, 2 ) )
            ,
            new AppToWatch( "HTMLValidator", "9.01", "ensures your HTML has no errors.",
                    "htmlvalidator.html",
                    "https://www.htmlvalidator.com/",
                    "Download v9.01 Pro",
                    new BigDate( 2008, 10, 6 ) )
            ,
            new AppToWatch( "Icon XP", "3.18", "icon/png editor.",
                    "iconxp.html",
                    "http://www.aha-soft.com/download.htm",
                    ">IconXP 3.18<",
                    new BigDate( 2008, 3, 31 ) )
            ,
            new AppToWatch( "IconLover", "4.26", "icon/png editor and icon manager.",
                    "iconxp.html",
                    "http://www.aha-soft.com/download.htm",
                    ">IconLover 4.26<",
                    new BigDate( 2008, 11, 4 ) )
            ,
            new AppToWatch( "IntelliJ Idea", "8.0", "IDE for composing Java programs.",
                    "intellij.html",
                    "http://www.jetbrains.com/updates/update.xml",
                    "<build>9013</build>",
                    new BigDate( 2008, 11, 6 ) )
            ,
            new AppToWatch( "Java JDK 1.4", "1.4.2_18", "ancient Java development kit.",
                    "jdk.html",
                    "http://java.sun.com/j2se/1.4.2/download.html",
                    ">J2SE v 1.4.2_18&",
                    new BigDate( 2008, 7, 8 ) )
            ,
            new AppToWatch( "Java JDK 1.5", "1.5.0_16", "old Java development kit.",
                    "jdk.html",
                    "http://java.sun.com/javase/downloads/index_jdk5.jsp",
                    "(JRE) 5.0 Update 16",
                    new BigDate( 2008, 7, 8 ) )
            ,
            new AppToWatch( "Java JDK 1.6", "1.6.0_10", "current Java development kit.",
                    "jdk.html",
                    "http://java.sun.com/javase/downloads/index.jsp",
                    ">Java SE Development Kit (JDK) 6 Update 10<",
                    new BigDate( 2008, 10, 15 ) )
            ,

            new AppToWatch( "JavaMail", "1.4.1", "Java email library.",
                    "javamail.html",
                    "http://java.sun.com/products/javamail/",
                    "JavaMail API 1.4.1 Release",
                    new BigDate( 2007, 10, 22 ) )
            ,
            new AppToWatch( "JMF", "2.1.1e", "Java Media Framework, library for playing sound or video.",
                    "jmf.html",
                    "http://java.sun.com/products/java-media/jmf/index.jsp",
                    ">JMF 2.1.1e Update Release<",
                    new BigDate( 2003, 5, 23 ) )
            ,
            // if this changes, fix BestBrowsers, colgroup bug, ie.html, won't detect version change.
            new AppToWatch( "MS IE 6", "6.0.2800", "browser",
                    "ie.html",
                    "http://www.microsoft.com/downloads/details.aspx?FamilyID=1E1550CB-5E5D-48F5-B02B-20B602228DE6&displaylang=en",
                    "ie6setup.exe",
                    new BigDate( 2005, 9, 21 ) )
            ,
            // if this changes, fix BestBrowsers,  colgroup bug, ie.html, won't detect version change.
            new AppToWatch( "MS IE 7 for XP", "7.0.6000", "browser",
                    "ie.html",
                    "http://www.microsoft.com/downloads/details.aspx?FamilyID=9ae91ebe-3385-447c-8a30-081805b2f90b&DisplayLang=en",
                    "Windows Internet Explorer 7 for Windows XP",
                    new BigDate( 2008, 5, 6 ) )
            ,
            // if this changes, fix BestBrowsers,  colgroup bug, ie.html, won't detect version change.
            new AppToWatch( "MS IE 8", "8.0.6001.18241 beta 2", "browser",
                    "ie.html",
                    "http://www.microsoft.com/windows/internet-explorer/beta/worldwide-sites.aspx",
                    "Internet Explorer 8 Beta 2 is available",
                    new BigDate( 2008, 9, 1 ) )
            ,
            new AppToWatch( "Mioplanet", "3.1", "pixel ruler.",
                    "pixelruler.html#mioplanet",
                    "http://www.mioplanet.com/products/pixelruler/index.htm",
                    "<b>Pixel Ruler v3.1</b>",
                    new BigDate( 2004, 6, 17 ) )
            ,
            new AppToWatch( "Nero 9", "9.0.9.4c", "CD/DVD rip, burn, backup, edit.",
                    "http://www.nero.com/enu/nero9-introduction.html",
                    "http://www.nero.com/enu/downloads-nero9-trial.php",
                    ">9.0.9.4c<",
                    new BigDate( 2008, 10, 16 ) )
            ,
            new AppToWatch( "Net Transport", "v2.72.435", "Download files by streaming protocols, e.g. video or audio files.",
                    "nettransport.html",
                    "http://www.net-xfer.com/download.htm",
                    ">Net Transport v2.72.435<",
                    new BigDate( 2008, 11, 20 ) )
            ,
            new AppToWatch( "NTRegOpt", "1.1j", "Compact the Windows registry",
                    "ntregopt.html",
                    "http://www.larshederer.homepage.t-online.de/erunt/",
                    "v1.1j, 10/20/2005",
                    new BigDate( 2005, 10, 20 ) )
            ,
            new AppToWatch( "O&O Defrag", "11.1", "disk defragger.",
                    "defragger.html#OO",
                    "http://www.oo-software.com/home/en/support/updates/index.php?upgradechecker=ood/pro/11.1.3362",
                    "up-to-date",
                    new BigDate( 2008, 11, 4 ) )
            ,
            new AppToWatch( "Open Office", "3.0", "office suite.",
                    "openoffice.html",
                    "http://www.openoffice.org",
                    "OpenOffice.org 3.0 for",
                    new BigDate( 2008, 10, 23 ) )
            ,
            // if this changes, fix BestBrowsers,  colgroup bug, opera.html
            new AppToWatch( "Opera browser", "9.62", "browser.",
                    "opera.html",
                    "http://www.opera.com/download/",
                    "Opera 9.62 for Windows",
                    new BigDate( 2008, 10, 30 ) )
            ,
            new AppToWatch( "PADGen", "3.0.1.38", "XML PAD (Portable Application Description) file generator.",
                    "padgen.html",
                    "http://www.asp-shareware.org/pad/?referrer=PADGen",
                    ">PADGen 3.0.1.38<",
                    new BigDate( 2008, 8, 4 ) )
            ,
            new AppToWatch( "Paragon Disk Manager", "2009:5905", "disk manager and defragger",
                    "defragger.html#PARAGON",
                    "http://www.paragon-software.com/home/total-defrag/",
                    "Total Defrag 2009 &",
                    new BigDate( 2008, 7, 19 ) )
            ,
            new AppToWatch( "POV-Ray", "3.6.1", "3D renderer.",
                    "povray.html",
                    "http://www.povray.org/download/",
                    "current official version of POV-Ray is 3.6.1,",
                    new BigDate( 2004, 6, 14 ) )
            ,
            // If this changes, fix BestBrowsers, colgroup bug, safari.html
            new AppToWatch( "Safari", "3.2", "browser.",
                    "safari.html",
                    "http://www.apple.com/safari/download/",
                    "showwin\">Download Safari 3.2 now",
                    new BigDate( 2008, 11, 13 ) )
            ,
            // if this changes, fix BestBrowsers, colgroup bug, seamonkey.html
            new AppToWatch( "SeaMonkey", "1.1.13", "browser.",
                    "seamonkey.html",
                    "http://www.seamonkey-project.org/",
                    "/seamonkey1.1.13/",
                    new BigDate( 2008, 11, 13 ) )
            ,
            // not good, this likely won't change on a product update.
            new AppToWatch( "SlickEdit", "2008", "text editor.",
                    "slickedit.html",
                    "http://www.slickedit.com/content/view/125/215/",
                    ">SlickEdit 2008<",
                    new BigDate( 2008, 3, 28 ) )
            ,
            new AppToWatch( "Subversion", "1.5.4", "version control system.",
                    "subversion.html",
                    "http://subversion.tigris.org/",
                    "Subversion is 1.5.4",
                    new BigDate( 2008, 10, 24 ) )
            ,
            new AppToWatch( "TakeCommand/4NT", "9.02:154", "replacement for cmd.exe command processor, both console and GUI. Includes 4NT.", "takecommand.html",
                    "http://www.jpsoft.com/download.htm",
                    ">9.02 Build 154<",
                    new BigDate( 2008, 11, 7 ) )
            ,
            // also update thunderbird.html
            new AppToWatch( "Thunderbird email", "2.0.0.18", "Email and newsreader.",
                    "thunderbird.html",
                    "http://www.mozilla.com/en-US/thunderbird/",
                    "thunderbird-2.0.0.18&amp;os=win",
                    new BigDate( 2008, 11, 19 ) )
            ,
            new AppToWatch( "TopStyle", "3.5.0.9", "edits and validates style sheets.",
                    "topstyle.html",
                    "http://www.bradsoft.com/topstyle/readme/",
                    "Build 3.5.0.9 /",
                    new BigDate( 2007, 10, 15 ) )
            ,
            new AppToWatch( "Trillian", "3.1.11.0", "integrates instant messenger services",
                    "trillian.html",
                    "http://www.trillian.cc/",
                    ">Trillian 3.1.11.0<",
                    new BigDate( 2008, 10, 3 ) )
            ,
            new AppToWatch( "Ubuntu", "8.10", "Free Linux distribution.",
                    "ubuntu.html",
                    "http://www.ubuntu.com/getubuntu/download",
                    "Ubuntu 8.10 <span class=\"version\">Desktop</span> (the latest version)",
                    new BigDate( 2008, 10, 30 ) )
            ,
            new AppToWatch( "Unlocker", "1.8.7", "unlocks a file or DLL so you can delete or rename it.",
                    "http://ccollomb.free.fr/unlocker/",
                    "http://ccollomb.free.fr/unlocker/",
                    "Unlocker 1.8.7 -",
                    new BigDate( 2008, 9, 18 ) )
            ,
            // also fix VerCheck.java, vercheck.html, use.txt, StompProject, vercheck.pad, prices.txt
            new AppToWatch( "VerCheck", "3.3", "This program. Checks if there are new versions of various software.",
                    "../applet/vercheck.html",
                    "http://mindprod.com/precis/vercheck.txt",
                    "VerCheck 3.3 build",
                    new BigDate( 2008, 11, 17 ) )
            ,
            new AppToWatch( "WinRAR", "3.80", "archiver, compressor.",
                    "winrar.html",
                    "http://www.rarlab.com/download.htm",
                    ">WinRAR 3.80<",
                    new BigDate( 2008, 10, 1 ) )
            ,
            new AppToWatch( "WinZip", "12.0", "archiver, compressor.",
                    "winzip.html",
                    "http://www.winzip.com/getcurrpage.cgi?lang=en&page=prodpagewz",
                    ">WinZip 12.0<",
                    new BigDate( 2008, 9, 10 ) )
            ,
            new AppToWatch( "WinZip Command Line", "2.3", "command line control of WinZip.",
                    "winzip.html",
                    "http://www.winzip.com/prodpagecl.htm",
                    "Add-On (v3.0)",
                    new BigDate( 2008, 9, 10 ) )
            ,
            new AppToWatch( "Wireshark", "1.0.4", "packet sniffer formerly known as Ethereal. Monitor Internet or LAN traffic.",
                    "wireshark.html",
                    "http://www.wireshark.org/",
                    ">1.0.4 for Windows<",
                    new BigDate( 2008, 10, 20 ) )
            ,
            new AppToWatch( "XaraXtreme", "4.0.1.5601", "graphics program for creating icons, including 3D extrusions.",
                    "xara.html",
                    "http://www.xara.com/us/downloads/xtreme/",
                    "4.0.1.5601",
                    new BigDate( 2008, 8, 4 ) )
            ,
            new AppToWatch( "Xenu", "1.2j", "ensures your HTML links are not broken.",
                    "xenu.html",
                    "http://home.snafu.de/tilman/xenulink.html",
                    "current version: 1.2j from",
                    new BigDate( 2007, 10, 8 ) )
    };

    /**
     * apps deleted
     */
    static final String[] OBSOLETE_APPS = {
            "Java JDK 1.6 Beta",
            "Adobe Media Player",
            "Nero Ultra 8",
            "Opera beta browser",
            "Nero",
            "HTMLValidator 8",
            "HTMLValidator 9",
            "Microsoft Internet Explorer 7 for XP",
            "Microsoft Internet Explorer 8"
    };
    }