From fa2ef3b7f87a5ebcc3e52d0a56420952fd2cead7 Mon Sep 17 00:00:00 2001 From: Alana Gilston Date: Thu, 29 Aug 2013 06:43:31 -0700 Subject: [PATCH] 6.1.0 --- Properties/AssemblyInfo.cs | 4 +- Properties/Resources.Designer.cs | 29 +-- Properties/Resources.resx | 137 +++++----- Resources/changelog.txt | 435 ++++++++++++++++--------------- Resources/github.png | Bin 0 -> 1161 bytes Switchex.csproj | 3 +- frmConfirmUpdate.Designer.cs | 79 ++++-- frmConfirmUpdate.cs | 19 +- frmMain.Designer.cs | 102 ++++---- frmMain.cs | 16 +- frmMain.resx | 21 ++ frmUpdates.cs | 5 +- 12 files changed, 478 insertions(+), 372 deletions(-) create mode 100644 Resources/github.png diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 93be017..621f9cd 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -33,6 +33,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.0.1.0")] -[assembly: AssemblyFileVersion("6.0.1.0")] +[assembly: AssemblyVersion("6.1.0")] +[assembly: AssemblyFileVersion("6.1.0")] [assembly: NeutralResourcesLanguageAttribute("en-US")] diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs index 9691555..dc1ca65 100644 --- a/Properties/Resources.Designer.cs +++ b/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18034 +// Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -131,22 +131,7 @@ internal class Resources { } /// - /// Looks up a localized string similar to 6.0.0.0 - ///======= - /// Date: - ///---------------------------------------------------------- - ///MAJOR: - /// - Converted to C# - /// - Allows you to open WoW after setting server - /// - Creates realmlist.wtf on open if it does not exist - /// - Downloads install executable on update from SourceForge project - /// - Added changelog to update form - /// - Added an addons manager - /// - Removed splashscreen - /// - Removed the Switchex Browser - /// - Removed color options - /// - Removed "Patch Mirrors" menu - /// - Performance improveme [rest of string was truncated]";. + /// A changelog for the program. /// internal static string changelog { get { @@ -224,6 +209,16 @@ internal class Resources { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap github { + get { + object obj = ResourceManager.GetObject("github", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/Properties/Resources.resx b/Properties/Resources.resx index 8f2e9a0..99f6c2c 100644 --- a/Properties/Resources.resx +++ b/Properties/Resources.resx @@ -118,98 +118,110 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ..\Resources\accept.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\application_edit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\application_get.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\arrow_refresh.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\world.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\battlenet.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\LICENSE.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 ..\Resources\changelog.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 - - ..\Resources\computer_link.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\drive.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\cross.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\zamwow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\page_white_text.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\drive.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\table_delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\pencil.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\folder.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\folder_add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\page_world.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\gotwarcraft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\cross.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\help.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\information.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\LICENSE.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + ..\Resources\wowpopular.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\page_white_text.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\wowprofessions.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\page_world.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\battlenet.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\pencil.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\Switchex Help.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 ..\Resources\sourceforge.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\wowwiki.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\computer_link.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\gotwarcraft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\arrow_refresh.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\switchex.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\switchex.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\thottbot.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\folder_add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\top100arena.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\application_edit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\topsitelist.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\world.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\wowpopular.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\thottbot.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\wowprofessions.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\page_save.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\wowwiki.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\top100arena.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\zamwow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\application_get.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\wrench.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\table_save.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\accept.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\arrow_undo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -217,22 +229,13 @@ ..\Resources\database_table.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\page_save.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\table_delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\table_save.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\wrench.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\wrench_orange.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\Switchex Help.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + ..\Resources\information.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\github.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/Resources/changelog.txt b/Resources/changelog.txt index a9815e0..60ab6de 100644 --- a/Resources/changelog.txt +++ b/Resources/changelog.txt @@ -1,462 +1,475 @@ +6.1.0 +===== +Date: 2013-08-29 +---------------------------------------------------------- +MINOR: +- Changed SourceForge to GitHub +- Removed link to SourceForge project +- Loads version file and readme from switchex.abluescarab.us +- Changed link to Abluescarab Designs to abluescarab.us +- Downloads new versions from GitHub +- Changed version numbering system +- Changed frmConfirmUpdate text + 6.0.1.0 ======= Date: 2013-07-31 ---------------------------------------------------------- MINOR: - - Removed AmdWow - - Added OK and Cancel buttons to Options window - - Options window does not save changes unless OK is clicked +- Removed AmdWow +- Added OK and Cancel buttons to Options window +- Options window does not save changes unless OK is clicked FIX: - - Bug when setting WoW path through the Options dialog (e.g. "Error: C:\Program Files\World of WarcraftWow.exe") +- Bug when setting WoW path through the Options dialog (e.g. "Error: C:\Program Files\World of WarcraftWow.exe") KNOWN ISSUES: - - Windows Explorer shell extensions can mess with the Open File/Folder dialogs - - Installing in Program Files can cause "Access denied" errors +- Windows Explorer shell extensions can mess with the Open File/Folder dialogs +- Installing in Program Files can cause "Access denied" errors 6.0.0.1 ======= Date: 2013-07-30 ---------------------------------------------------------- MINOR: - - Only downloads readme file from new versions if there is a new version +- Only downloads readme file from new versions if there is a new version FIX: - - Loading the program if no registry key is found - - ADODB 12.0 error on 64-bit systems - - "No updates available" message +- Loading the program if no registry key is found +- ADODB 12.0 error on 64-bit systems +- "No updates available" message 6.0.0.0 ======= Date: 2013-05-23 ---------------------------------------------------------- MAJOR: - - Converted to C# - - Allows you to open WoW after setting server - - Creates realmlist.wtf on open if it does not exist - - Downloads install executable on update from SourceForge project - - Added changelog to update form - - Added an addons manager - - Removed splashscreen - - Removed the Switchex Browser - - Removed color options - - Removed "Patch Mirrors" menu - - Performance improvements - - Support for 64-bit installation +- Converted to C# +- Allows you to open WoW after setting server +- Creates realmlist.wtf on open if it does not exist +- Downloads install executable on update from SourceForge project +- Added changelog to update form +- Added an addons manager +- Removed splashscreen +- Removed the Switchex Browser +- Removed color options +- Removed "Patch Mirrors" menu +- Performance improvements +- Support for 64-bit installation MINOR: - - Changed button FlatStyles to Standard - - Changed some icons - - Automatically makes new backup after successful restore - - Added link to official WoW site - - Added link to Battle.net - - Removed hotkeys for websites on Help menu - - Allowed roaming profiles - - Detects enGB installation - - Changes cursor to hourglass when waiting - - Removed defunct servers - - Changed the Abluescarab Software website link under the Help menu to Abluescarab Designs - - Changed text of "Restart?" dialog - - Removed ability to show/hide columns - - Cleaned server list - - Changed from NSIS back to Inno Setup +- Changed button FlatStyles to Standard +- Changed some icons +- Automatically makes new backup after successful restore +- Added link to official WoW site +- Added link to Battle.net +- Removed hotkeys for websites on Help menu +- Allowed roaming profiles +- Detects enGB installation +- Changes cursor to hourglass when waiting +- Removed defunct servers +- Changed the Abluescarab Software website link under the Help menu to Abluescarab Designs +- Changed text of "Restart?" dialog +- Removed ability to show/hide columns +- Cleaned server list +- Changed from NSIS back to Inno Setup frmMain: - - Changed "Help Websites" to "Guides and Wikis" - - Rearranged buttons - - Removed Server Lists > WoW-Private-Servers - - Removed Server Lists > Top.Org - - Changed Current Patch and Current Server to a toolstrip - - Changed dgvServers.SelectionMode to full row selection - - Allows opening multiple server links at once - - Changed window size - - Added File > Open Realmlist.wtf +- Changed "Help Websites" to "Guides and Wikis" +- Rearranged buttons +- Removed Server Lists > WoW-Private-Servers +- Removed Server Lists > Top.Org +- Changed Current Patch and Current Server to a toolstrip +- Changed dgvServers.SelectionMode to full row selection +- Allows opening multiple server links at once +- Changed window size +- Added File > Open Realmlist.wtf frmOptions: - - Removed "Open links from the Switchex Browser" option - - Removed "Reset Window Size" button - - Added "Reset Settings" button +- Removed "Open links from the Switchex Browser" option +- Removed "Reset Window Size" button +- Added "Reset Settings" button frmAbout: - - Change About window image +- Change About window image FIX: - - Fixed update downloader +- Fixed update downloader 5.1.1.1 ======= Date: 2012-01-10 ---------------------------------------------------------- FIX: - - Fixed updates not working without permissions +- Fixed updates not working without permissions 5.1.1.0 ======= Date: 2011-06-11 ---------------------------------------------------------- MINOR: - - Window size now setting and is no longer in the database - - Column width(s) now setting and is no longer in the database - - List sorting now setting and is no longer in the database - - World of Warcraft and realmlist.wtf locations are now settings and are no longer in the database - - Removed Server List tab in the Options window - - Changed splash screen and About window picture - - Changed splash screen text color - - Updated help file +- Window size now setting and is no longer in the database +- Column width(s) now setting and is no longer in the database +- List sorting now setting and is no longer in the database +- World of Warcraft and realmlist.wtf locations are now settings and are no longer in the database +- Removed Server List tab in the Options window +- Changed splash screen and About window picture +- Changed splash screen text color +- Updated help file 5.1.0.0 ======= Date: 2011-06-09 ---------------------------------------------------------- MAJOR: - - Now automatically downloads and updates Switchex +- Now automatically downloads and updates Switchex MINOR: - - Moved version.txt to http://abluescarab.users.sourceforge.net/updates/switchex/version.txt +- Moved version.txt to http://abluescarab.users.sourceforge.net/updates/switchex/version.txt 5.0.1.3 ======= Date: 2011-06-06 ---------------------------------------------------------- FIX: - - Fixed column order +- Fixed column order 5.0.1.2 ======= Date: 2011-06-06 ---------------------------------------------------------- MINOR: - - Improved database connections and SQL statements +- Improved database connections and SQL statements FIX: - - Allows user to restore database without error +- Allows user to restore database without error SERVERS: - - Miscellaneous updates - - Changed EpicWoW to Epic Games Network - - Changed Gamewal to Wowwal - - Changed World of Chris to Zul'Aman (World of Chris) - - Removed EvolutionWoW - - Removed Insain Funserver - - Added DeviantWoW - - Added second World of Chris +- Miscellaneous updates +- Changed EpicWoW to Epic Games Network +- Changed Gamewal to Wowwal +- Changed World of Chris to Zul'Aman (World of Chris) +- Removed EvolutionWoW +- Removed Insain Funserver +- Added DeviantWoW +- Added second World of Chris 5.0.1.1 ======= Date: 2011-06-05 ---------------------------------------------------------- MINOR: - - When checking for updates, directs user to correct SourceForge version folder +- When checking for updates, directs user to correct SourceForge version folder 5.0.1.0 ======= Date: 2011-06-05 ---------------------------------------------------------- MINOR: - - Main window buttons wider - - Main window list smaller - - Current Patch and Current Realmlist wider - - "Current Realmlist" changed to "Current Server" - - Updated link to Abluescarab Software website - - Updated favicons - - Updated names in menu - - Added new patches +- Main window buttons wider +- Main window list smaller +- Current Patch and Current Realmlist wider +- "Current Realmlist" changed to "Current Server" +- Updated link to Abluescarab Software website +- Updated favicons +- Updated names in menu +- Added new patches FIX: - - Fixed adding new servers when using patch number +- Fixed adding new servers when using patch number CODE: - - Cleaned up code +- Cleaned up code 5.0.0.2 ======= Date: 2011-04-10 ---------------------------------------------------------- MINOR: - - Changed installation directory and Start Menu directory to sub-folders of Abluescarab Software +- Changed installation directory and Start Menu directory to sub-folders of Abluescarab Software 5.0.0.1 ======= Date: 2011-01-25 ---------------------------------------------------------- FIX: - - "No updates available" message will appear when clicking the check for updates button +- "No updates available" message will appear when clicking the check for updates button 5.0.0.0 ======= Date: 2011-01-25 ---------------------------------------------------------- MAJOR: - - Added column "Patch Number" and support for column in all windows - - Updated all server information - - Updated changelog format - - Added "Patch Mirrors" menu - - Added "Current Realmlist" information - - Added "Current Patch" information +- Added column "Patch Number" and support for column in all windows +- Updated all server information +- Updated changelog format +- Added "Patch Mirrors" menu +- Added "Current Realmlist" information +- Added "Current Patch" information MINOR: - - Removed EchelonedWoW - - Removed Integral WoW - - Removed WoWTrance - - Removed WoWTorn - - Removed WoWolympc - - Removed Mystery Project - - Removed WoWGE - - Removed Remnants of Chaos - - Removed Underworld - - Removed WoW-Pwnage - - Added Divine Cataclysm - - Updated dialog boxes of Backup Database and Restore Database options - - Added "Show Patches" to right-click menu - - Changed "Show Paths" in right-click menu to "Show IPs" - - Moved Open website button - - Moved Open WoW button - - Moved Delete Server button - - Changed error text when trying to open nonexistant WoW.exe - - Moved Exit button - - Switchex opens in center screen - - Resized server list - - Opens realmlist.wtf file dialog if it doesn't exist when clicking "Set Server" - - Opens WoW.exe file dialog if it doesn't exist when clicking "Open WoW" - - Switchex Browser is off by default +- Removed EchelonedWoW +- Removed Integral WoW +- Removed WoWTrance +- Removed WoWTorn +- Removed WoWolympc +- Removed Mystery Project +- Removed WoWGE +- Removed Remnants of Chaos +- Removed Underworld +- Removed WoW-Pwnage +- Added Divine Cataclysm +- Updated dialog boxes of Backup Database and Restore Database options +- Added "Show Patches" to right-click menu +- Changed "Show Paths" in right-click menu to "Show IPs" +- Moved Open website button +- Moved Open WoW button +- Moved Delete Server button +- Changed error text when trying to open nonexistant WoW.exe +- Moved Exit button +- Switchex opens in center screen +- Resized server list +- Opens realmlist.wtf file dialog if it doesn't exist when clicking "Set Server" +- Opens WoW.exe file dialog if it doesn't exist when clicking "Open WoW" +- Switchex Browser is off by default FIX: - - Update notification window under splashscreen +- Update notification window under splashscreen 4.0.1.7 ======= Date: 2011-01-15 ---------------------------------------------------------- MAJOR: - - Changed version.txt download location to SourceForge website - - Removed "InstallWoW.exe" +- Changed version.txt download location to SourceForge website +- Removed "InstallWoW.exe" FIX: - - Startup error +- Startup error 4.0.1.6 ======= Date: 2010-10-22 ---------------------------------------------------------- MAJOR: - - Changed MIT license to GNU General Public License v3 - - "Backup Server List" and "Restore Server List" are now "Backup Database" and "Restore Database" +- Changed MIT license to GNU General Public License v3 +- "Backup Server List" and "Restore Server List" are now "Backup Database" and "Restore Database" MINOR: - - Set new location for Wow.exe when clicking "Open WoW" if Wow.exe does not exist +- Set new location for Wow.exe when clicking "Open WoW" if Wow.exe does not exist 4.0.1.5 ======= Date: 2010-08-10 ---------------------------------------------------------- MAJOR: - - Organized Help Websites menu +- Organized Help Websites menu MINOR: - - Added "WoWFaction" in the Server List +- Added "WoWFaction" in the Server List FIX: - - Apostrophes (') can now be added into server information +- Apostrophes (') can now be added into server information 4.0.1.4 ======= Date: 2010-07-28 ---------------------------------------------------------- MAJOR: - - Removed option for the Switchex Toolbar under the Help menu +- Removed option for the Switchex Toolbar under the Help menu MINOR: - - Changed icon under "Help" menu for the Switchex website +- Changed icon under "Help" menu for the Switchex website 4.0.1.3 ======= Date: 2010-07-27 ---------------------------------------------------------- MINOR: - - "No updates available" message will no longer appear when checking for updates at startup +- "No updates available" message will no longer appear when checking for updates at startup 4.0.1.2 ======= Date: 2010-07-26 ---------------------------------------------------------- MINOR: - - Add Server and Edit Server windows are now fixed tool windows - - Updated icon +- Add Server and Edit Server windows are now fixed tool windows +- Updated icon 4.0.1.1 ======= Date: 2010-07-26 ---------------------------------------------------------- MAJOR: - - Changed installer to NSIS (http://sourceforge.net/projects/nsis/) - - Changed "Check for Updates" msgbox to display current and new version when update is available +- Changed installer to NSIS (http://sourceforge.net/projects/nsis/) +- Changed "Check for Updates" msgbox to display current and new version when update is available MINOR: - - Updated server database +- Updated server database 4.0.1.0 ======= Date: 2010-07-08 ---------------------------------------------------------- MAJOR: - - Main window now resizable +- Main window now resizable MINOR: - - Added option to reset window size in General tab of Options +- Added option to reset window size in General tab of Options 4.0.0.0 ======= Date: 2010-05-26 ---------------------------------------------------------- MAJOR: - - Updated to VB.NET 2010 - - Added Options window (File > Options) - - Switchex is now portable - - From Options, can set colors of windows, buttons, etc. - - Now includes web browser (turn on and off from General tab in File > Options) - - "Server" column is now "Name" column - - "Server IP" column is now "Connection IP" column - - Updated the help file to CHM +- Updated to VB.NET 2010 +- Added Options window (File > Options) +- Switchex is now portable +- From Options, can set colors of windows, buttons, etc. +- Now includes web browser (turn on and off from General tab in File > Options) +- "Server" column is now "Name" column +- "Server IP" column is now "Connection IP" column +- Updated the help file to CHM MINOR: - - Add Server window now allows for adding multiple servers before closing the window - - Server List Sort By options are now in File > Options > Server List tab and are carried between program sessions - - WoW Path and Realmlist Path buttons have been moved to General tab in Options - - Moved "Check for updates on startup" to General tab in Options screen - - Restore and Backup options have been moved to General tab in Options - - Empty Server List has been moved to Server List tab in Options +- Add Server window now allows for adding multiple servers before closing the window +- Server List Sort By options are now in File > Options > Server List tab and are carried between program sessions +- WoW Path and Realmlist Path buttons have been moved to General tab in Options +- Moved "Check for updates on startup" to General tab in Options screen +- Restore and Backup options have been moved to General tab in Options +- Empty Server List has been moved to Server List tab in Options 3.3.2.0 ======= Date: 2010-05-21 ---------------------------------------------------------- MAJOR: - - Changed program executable icon - - Changed program icon +- Changed program executable icon +- Changed program icon MINOR: - - Changed remaining fonts - - Fixed window positions - - Changed text in splashscreen +- Changed remaining fonts +- Fixed window positions +- Changed text in splashscreen FIX: - - Textboxes filled with wrong information in Edit Server window - - Version.txt no longer stays in the install directory +- Textboxes filled with wrong information in Edit Server window +- Version.txt no longer stays in the install directory 3.3.0.1 ======= Date: 2010-05-17 ---------------------------------------------------------- FIX: - - "Check for updates on startup" bug +- "Check for updates on startup" bug 3.3.0.0 ======= Date: 2010-05-17 ---------------------------------------------------------- MAJOR: - - Added "Backup Current Realmlist.wtf" in File menu - - Added "Backup Current Server List" in File menu - - Added success messages and information messages - - Added Notes column - - Added option to check for updates at startup - - Right-click on list to turn on/off all columns except Names +- Added "Backup Current Realmlist.wtf" in File menu +- Added "Backup Current Server List" in File menu +- Added success messages and information messages +- Added Notes column +- Added option to check for updates at startup +- Right-click on list to turn on/off all columns except Names MINOR: - - Added support for Notes column in Add and Edit windows - - Changed Add Server and Edit Server windows - - Changed picture in About window - - Changed size of window +- Added support for Notes column in Add and Edit windows +- Changed Add Server and Edit Server windows +- Changed picture in About window +- Changed size of window 3.2.0.0 ======= Date: 2010-04-26 ---------------------------------------------------------- MAJOR: - - Added "Check for Updates..." under Help - - Added "Restore Server List" under File - - Changed name of menu "WoW Help Websites" to "Help Websites" - - Changed name of menu "Top WoW Server Lists" to "Server Lists" - - Added icons to rest of menus and sub-menus - - Replaced most website icons with matching favicons +- Added "Check for Updates..." under Help +- Added "Restore Server List" under File +- Changed name of menu "WoW Help Websites" to "Help Websites" +- Changed name of menu "Top WoW Server Lists" to "Server Lists" +- Added icons to rest of menus and sub-menus +- Replaced most website icons with matching favicons MINOR: - - Changed image of Splash screen - - Removed "Killer Guides" under "WoW Help Websites" - - Replaced icon for "Restore Realmlist" under "File" +- Changed image of Splash screen +- Removed "Killer Guides" under "WoW Help Websites" +- Replaced icon for "Restore Realmlist" under "File" FIX: - - Link for WoW-Professions under "Help Websites" - - Link for WoWWiki under "Help Websites" +- Link for WoW-Professions under "Help Websites" +- Link for WoWWiki under "Help Websites" 3.1.1.0 ======= Date: 2010-02-27 ---------------------------------------------------------- MAJOR: - - Added "Refresh Server List" under File menu (F5) - - Added "Visit the SourceForge Project" under Help menu (Ctrl+P) - - Added "Check for Updates..." under Help menu (F4) - - Add menu icons +- Added "Refresh Server List" under File menu (F5) +- Added "Visit the SourceForge Project" under Help menu (Ctrl+P) +- Added "Check for Updates..." under Help menu (F4) +- Add menu icons MINOR: - - "Success" message now pops up if Realmlist path, WoW path, or server are changed successfully - - Rearranged buttons - - Text under Help for the Changelog is now "Changelog..." instead of "Change Log..." +- "Success" message now pops up if Realmlist path, WoW path, or server are changed successfully +- Rearranged buttons +- Text under Help for the Changelog is now "Changelog..." instead of "Change Log..." 3.1.0.0 ======= Date: 2010-02-26 ---------------------------------------------------------- MAJOR: - - Added Rating column - - Changed size of window - - Added icons to buttons - - Added Splash Screen - - Changed the name of the program from "SwitchEx" to "Switchex" +- Added Rating column +- Changed size of window +- Added icons to buttons +- Added Splash Screen +- Changed the name of the program from "SwitchEx" to "Switchex" MINOR: - - "Set WoW Path" button is now "WoW Path" - - "Set RealmList Path" button is now "Realmlist Path" +- "Set WoW Path" button is now "WoW Path" +- "Set RealmList Path" button is now "Realmlist Path" 3.0.0.0 ======= Date: 2010-01-25 ---------------------------------------------------------- MAJOR: - - Added Install SwitchEx Toolbar under Help - - Added server Website column and added all server websites - - Allowed editing of server names, IPs, and websites - - Updated to VB.NET (VB 2008) +- Added Install SwitchEx Toolbar under Help +- Added server Website column and added all server websites +- Allowed editing of server names, IPs, and websites +- Updated to VB.NET (VB 2008) MINOR: - - Changed name of Server Path column to Server IP - - Changed size of the server grid to display 15 servers instead of 12 - - Changed size of window +- Changed name of Server Path column to Server IP +- Changed size of the server grid to display 15 servers instead of 12 +- Changed size of window 2.1.0.0 ======= Date: 2009-07-22 ---------------------------------------------------------- MAJOR: - - Added changelog - - Added MIT License (LICENSE.txt) +- Added changelog +- Added MIT License (LICENSE.txt) MINOR: - - Added shortcut to changelog under Help menu +- Added shortcut to changelog under Help menu 2.0.0.0 ======= Date: 2009-07-22 ---------------------------------------------------------- MAJOR: - - Added InstallWoW.exe to install World of Warcraft up to Wrath of the Lich King - - Added an option to empty server list (this cannot be undone) - - Doubled amount of realms in list - - Officially associated the program with Abluescarab Software - - Added an offline help file (press F1 in the program) - - Removed the version number from the title +- Added InstallWoW.exe to install World of Warcraft up to Wrath of the Lich King +- Added an option to empty server list (this cannot be undone) +- Doubled amount of realms in list +- Officially associated the program with Abluescarab Software +- Added an offline help file (press F1 in the program) +- Removed the version number from the title MINOR: - - Added a link to the Abluescarab Software webpage in the Help menu - - Added keyboard shortcuts to a few menu items \ No newline at end of file +- Added a link to the Abluescarab Software webpage in the Help menu +- Added keyboard shortcuts to a few menu items \ No newline at end of file diff --git a/Resources/github.png b/Resources/github.png new file mode 100644 index 0000000000000000000000000000000000000000..d459298e7e6a8a4272cc670812fb993e2a298991 GIT binary patch literal 1161 zcmZ`&J!lj`6rSDN%W1gTz1f-5Xc18>LB&Fnkbow7Az74D#70OFQkgEG9CjgsMIewa zCLvXbtzvDJLJKXlj1mG@Sx7`h?>szMzxUiZ_KtPo?fd!O`}WPZyUVw$Q?mbLzYs!3 z)0I2$C9)%ZLOAz-zHcJwo4YYpfydRl{%R5K=)&~92SQvtOXfU!cC{vicP^?-+#ONQ zpjZFH%_a&D;0zuYV|0~41aAoFHGnzV@Br4bG}eRR6jL74ddqQ~wkj6KEJz+hpSi&n zQD`GRK{)|hsV5d=Pv;<2=uEwO7IlfX)s0vV9xEqs=T zuIt9IM*4Ru6bj?0eX)bqE2S=UxJeuw=PQbXAf^94eMw-y>>z}Fkp{bB5Y=#$*AO(c g00pdbonly true bin\Release\ - TRACE + DEBUG;TRACE prompt 4 @@ -219,6 +219,7 @@ Always + PreserveNewest diff --git a/frmConfirmUpdate.Designer.cs b/frmConfirmUpdate.Designer.cs index a9c8963..8b30c7c 100644 --- a/frmConfirmUpdate.Designer.cs +++ b/frmConfirmUpdate.Designer.cs @@ -25,15 +25,19 @@ partial class frmConfirmUpdate { private void InitializeComponent() { this.btnNo = new System.Windows.Forms.Button(); this.btnYes = new System.Windows.Forms.Button(); - this.lblUpdate = new System.Windows.Forms.Label(); this.txtReadme = new System.Windows.Forms.TextBox(); + this.lblUpdate = new System.Windows.Forms.Label(); + this.lblCurrentVersion = new System.Windows.Forms.Label(); + this.lblDate = new System.Windows.Forms.Label(); + this.lblDownload = new System.Windows.Forms.Label(); + this.lblUpdateVersion = new System.Windows.Forms.Label(); this.SuspendLayout(); // // btnNo // this.btnNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnNo.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnNo.Location = new System.Drawing.Point(203, 234); + this.btnNo.Location = new System.Drawing.Point(203, 252); this.btnNo.Name = "btnNo"; this.btnNo.Size = new System.Drawing.Size(75, 31); this.btnNo.TabIndex = 0; @@ -44,7 +48,7 @@ partial class frmConfirmUpdate { // btnYes // this.btnYes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnYes.Location = new System.Drawing.Point(122, 234); + this.btnYes.Location = new System.Drawing.Point(122, 252); this.btnYes.Name = "btnYes"; this.btnYes.Size = new System.Drawing.Size(75, 31); this.btnYes.TabIndex = 1; @@ -52,20 +56,11 @@ partial class frmConfirmUpdate { this.btnYes.UseVisualStyleBackColor = true; this.btnYes.Click += new System.EventHandler(this.btnYes_Click); // - // lblUpdate - // - this.lblUpdate.AutoSize = true; - this.lblUpdate.Location = new System.Drawing.Point(13, 13); - this.lblUpdate.Name = "lblUpdate"; - this.lblUpdate.Size = new System.Drawing.Size(97, 78); - this.lblUpdate.TabIndex = 2; - this.lblUpdate.Text = "Update available!\r\n\r\nCURRENT:\r\nUPDATE:\r\n\r\nDownload update?"; - // // txtReadme // this.txtReadme.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtReadme.Location = new System.Drawing.Point(12, 98); + this.txtReadme.Location = new System.Drawing.Point(12, 116); this.txtReadme.Multiline = true; this.txtReadme.Name = "txtReadme"; this.txtReadme.ReadOnly = true; @@ -73,15 +68,63 @@ partial class frmConfirmUpdate { this.txtReadme.Size = new System.Drawing.Size(266, 130); this.txtReadme.TabIndex = 3; // + // lblUpdate + // + this.lblUpdate.AutoSize = true; + this.lblUpdate.Location = new System.Drawing.Point(12, 9); + this.lblUpdate.Name = "lblUpdate"; + this.lblUpdate.Size = new System.Drawing.Size(114, 13); + this.lblUpdate.TabIndex = 4; + this.lblUpdate.Text = "An update is available!"; + // + // lblCurrentVersion + // + this.lblCurrentVersion.AutoSize = true; + this.lblCurrentVersion.Location = new System.Drawing.Point(12, 48); + this.lblCurrentVersion.Name = "lblCurrentVersion"; + this.lblCurrentVersion.Size = new System.Drawing.Size(47, 13); + this.lblCurrentVersion.TabIndex = 5; + this.lblCurrentVersion.Text = "Current: "; + // + // lblDate + // + this.lblDate.AutoSize = true; + this.lblDate.Location = new System.Drawing.Point(12, 35); + this.lblDate.Name = "lblDate"; + this.lblDate.Size = new System.Drawing.Size(36, 13); + this.lblDate.TabIndex = 6; + this.lblDate.Text = "Date: "; + // + // lblDownload + // + this.lblDownload.Location = new System.Drawing.Point(12, 87); + this.lblDownload.Name = "lblDownload"; + this.lblDownload.Size = new System.Drawing.Size(266, 26); + this.lblDownload.TabIndex = 7; + this.lblDownload.Text = "Download the update? It will download to the program\'s install location."; + // + // lblUpdateVersion + // + this.lblUpdateVersion.AutoSize = true; + this.lblUpdateVersion.Location = new System.Drawing.Point(12, 61); + this.lblUpdateVersion.Name = "lblUpdateVersion"; + this.lblUpdateVersion.Size = new System.Drawing.Size(48, 13); + this.lblUpdateVersion.TabIndex = 8; + this.lblUpdateVersion.Text = "Update: "; + // // frmConfirmUpdate // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnNo; - this.ClientSize = new System.Drawing.Size(290, 277); + this.ClientSize = new System.Drawing.Size(290, 295); this.ControlBox = false; - this.Controls.Add(this.txtReadme); + this.Controls.Add(this.lblUpdateVersion); + this.Controls.Add(this.lblDownload); + this.Controls.Add(this.lblDate); + this.Controls.Add(this.lblCurrentVersion); this.Controls.Add(this.lblUpdate); + this.Controls.Add(this.txtReadme); this.Controls.Add(this.btnYes); this.Controls.Add(this.btnNo); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; @@ -100,7 +143,11 @@ partial class frmConfirmUpdate { private System.Windows.Forms.Button btnNo; private System.Windows.Forms.Button btnYes; - private System.Windows.Forms.Label lblUpdate; private System.Windows.Forms.TextBox txtReadme; + private System.Windows.Forms.Label lblUpdate; + private System.Windows.Forms.Label lblCurrentVersion; + private System.Windows.Forms.Label lblDate; + private System.Windows.Forms.Label lblDownload; + private System.Windows.Forms.Label lblUpdateVersion; } } \ No newline at end of file diff --git a/frmConfirmUpdate.cs b/frmConfirmUpdate.cs index c137bef..0d00c9c 100644 --- a/frmConfirmUpdate.cs +++ b/frmConfirmUpdate.cs @@ -16,10 +16,13 @@ public partial class frmConfirmUpdate: Form { } private void frmConfirmUpdate_Load(object sender, EventArgs e) { - lblUpdate.Text = "Update available!\n\nCurrent: " + Application.ProductVersion + "\nUpdate: " + frmMain.downloadVersion + - "\n\nDownload the update?"; + string date = getLine(Application.StartupPath + "\\readme.txt", 3).Remove(0, 6); - txtReadme.Text = File.ReadAllText(Application.StartupPath + "\\readme.txt"); + lblDate.Text = "Date: " + date; + lblCurrentVersion.Text = "Current: " + Application.ProductVersion; + lblUpdateVersion.Text = "Update: " + frmMain.downloadVersion; + + txtReadme.Text = File.ReadAllText(Application.StartupPath + "\\readme.txt").Replace("\n", Environment.NewLine); } private void btnYes_Click(object sender, EventArgs e) { @@ -31,5 +34,15 @@ public partial class frmConfirmUpdate: Form { private void btnNo_Click(object sender, EventArgs e) { Close(); } + + string getLine(string filename, int line) { + using(var sr = new StreamReader(filename)) { + for(int i = 1; i < line; i++) { + sr.ReadLine(); + } + + return sr.ReadLine(); + } + } } } diff --git a/frmMain.Designer.cs b/frmMain.Designer.cs index 09e3224..d454fe7 100644 --- a/frmMain.Designer.cs +++ b/frmMain.Designer.cs @@ -60,6 +60,7 @@ partial class frmMain { this.helpWebSwitchex = new System.Windows.Forms.ToolStripMenuItem(); this.helpWebAbluescarab = new System.Windows.Forms.ToolStripMenuItem(); this.helpWebSourceForge = new System.Windows.Forms.ToolStripMenuItem(); + this.helpWebGitHub = new System.Windows.Forms.ToolStripMenuItem(); this.helpWebWow = new System.Windows.Forms.ToolStripMenuItem(); this.helpWebBattlenet = new System.Windows.Forms.ToolStripMenuItem(); this.helpSep1 = new System.Windows.Forms.ToolStripSeparator(); @@ -127,20 +128,20 @@ partial class frmMain { this.fileOptions.Image = global::Switchex.Properties.Resources.application_edit; this.fileOptions.Name = "fileOptions"; this.fileOptions.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); - this.fileOptions.Size = new System.Drawing.Size(190, 22); + this.fileOptions.Size = new System.Drawing.Size(188, 22); this.fileOptions.Text = "Options"; this.fileOptions.Click += new System.EventHandler(this.fileOptions_Click); // // fileSep1 // this.fileSep1.Name = "fileSep1"; - this.fileSep1.Size = new System.Drawing.Size(187, 6); + this.fileSep1.Size = new System.Drawing.Size(185, 6); // // fileGameFolder // this.fileGameFolder.Image = global::Switchex.Properties.Resources.folder; this.fileGameFolder.Name = "fileGameFolder"; - this.fileGameFolder.Size = new System.Drawing.Size(190, 22); + this.fileGameFolder.Size = new System.Drawing.Size(188, 22); this.fileGameFolder.Text = "Open Game Folder"; this.fileGameFolder.Click += new System.EventHandler(this.fileGameFolder_Click); // @@ -148,7 +149,7 @@ partial class frmMain { // this.fileAddonsFolder.Image = global::Switchex.Properties.Resources.folder_add; this.fileAddonsFolder.Name = "fileAddonsFolder"; - this.fileAddonsFolder.Size = new System.Drawing.Size(190, 22); + this.fileAddonsFolder.Size = new System.Drawing.Size(188, 22); this.fileAddonsFolder.Text = "Open Addons Folder"; this.fileAddonsFolder.Click += new System.EventHandler(this.fileAddonsFolder_Click); // @@ -156,35 +157,35 @@ partial class frmMain { // this.fileOpenRealmlist.Image = global::Switchex.Properties.Resources.page_white_text; this.fileOpenRealmlist.Name = "fileOpenRealmlist"; - this.fileOpenRealmlist.Size = new System.Drawing.Size(190, 22); + this.fileOpenRealmlist.Size = new System.Drawing.Size(188, 22); this.fileOpenRealmlist.Text = "Open Realmlist.wtf"; this.fileOpenRealmlist.Click += new System.EventHandler(this.fileOpenRealmlist_Click); // // fileSep2 // this.fileSep2.Name = "fileSep2"; - this.fileSep2.Size = new System.Drawing.Size(187, 6); + this.fileSep2.Size = new System.Drawing.Size(185, 6); // // fileRefresh // this.fileRefresh.Image = global::Switchex.Properties.Resources.arrow_refresh; this.fileRefresh.Name = "fileRefresh"; this.fileRefresh.ShortcutKeys = System.Windows.Forms.Keys.F5; - this.fileRefresh.Size = new System.Drawing.Size(190, 22); + this.fileRefresh.Size = new System.Drawing.Size(188, 22); this.fileRefresh.Text = "Refresh Server List"; this.fileRefresh.Click += new System.EventHandler(this.fileRefresh_Click); // // fileSep3 // this.fileSep3.Name = "fileSep3"; - this.fileSep3.Size = new System.Drawing.Size(187, 6); + this.fileSep3.Size = new System.Drawing.Size(185, 6); // // fileExit // this.fileExit.Image = global::Switchex.Properties.Resources.cross; this.fileExit.Name = "fileExit"; this.fileExit.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q))); - this.fileExit.Size = new System.Drawing.Size(190, 22); + this.fileExit.Size = new System.Drawing.Size(188, 22); this.fileExit.Text = "Exit"; this.fileExit.Click += new System.EventHandler(this.fileExit_Click); // @@ -202,14 +203,14 @@ partial class frmMain { this.slSep3, this.slTop1000}); this.menuServerLists.Name = "menuServerLists"; - this.menuServerLists.Size = new System.Drawing.Size(78, 20); + this.menuServerLists.Size = new System.Drawing.Size(77, 20); this.menuServerLists.Text = "Server Lists"; // // slGamesTop100 // this.slGamesTop100.Image = ((System.Drawing.Image)(resources.GetObject("slGamesTop100.Image"))); this.slGamesTop100.Name = "slGamesTop100"; - this.slGamesTop100.Size = new System.Drawing.Size(188, 22); + this.slGamesTop100.Size = new System.Drawing.Size(181, 22); this.slGamesTop100.Text = "GamesTop100"; this.slGamesTop100.Click += new System.EventHandler(this.slGamesTop100_Click); // @@ -217,7 +218,7 @@ partial class frmMain { // this.slTop100Arena.Image = global::Switchex.Properties.Resources.top100arena; this.slTop100Arena.Name = "slTop100Arena"; - this.slTop100Arena.Size = new System.Drawing.Size(188, 22); + this.slTop100Arena.Size = new System.Drawing.Size(181, 22); this.slTop100Arena.Text = "Top 100 Arena"; this.slTop100Arena.Click += new System.EventHandler(this.slTop100Arena_Click); // @@ -225,20 +226,20 @@ partial class frmMain { // this.slXtremeTop100.Image = ((System.Drawing.Image)(resources.GetObject("slXtremeTop100.Image"))); this.slXtremeTop100.Name = "slXtremeTop100"; - this.slXtremeTop100.Size = new System.Drawing.Size(188, 22); + this.slXtremeTop100.Size = new System.Drawing.Size(181, 22); this.slXtremeTop100.Text = "XtremeTop100"; this.slXtremeTop100.Click += new System.EventHandler(this.slXtremeTop100_Click); // // slSep1 // this.slSep1.Name = "slSep1"; - this.slSep1.Size = new System.Drawing.Size(185, 6); + this.slSep1.Size = new System.Drawing.Size(178, 6); // // slGameSites200 // this.slGameSites200.Image = ((System.Drawing.Image)(resources.GetObject("slGameSites200.Image"))); this.slGameSites200.Name = "slGameSites200"; - this.slGameSites200.Size = new System.Drawing.Size(188, 22); + this.slGameSites200.Size = new System.Drawing.Size(181, 22); this.slGameSites200.Text = "GameSites200"; this.slGameSites200.Click += new System.EventHandler(this.slGameSites200_Click); // @@ -246,33 +247,33 @@ partial class frmMain { // this.slMmorpgTL.Image = ((System.Drawing.Image)(resources.GetObject("slMmorpgTL.Image"))); this.slMmorpgTL.Name = "slMmorpgTL"; - this.slMmorpgTL.Size = new System.Drawing.Size(188, 22); + this.slMmorpgTL.Size = new System.Drawing.Size(181, 22); this.slMmorpgTL.Text = "MMORPG Top List"; this.slMmorpgTL.Click += new System.EventHandler(this.slMmorpgTL_Click); // // slSep2 // this.slSep2.Name = "slSep2"; - this.slSep2.Size = new System.Drawing.Size(185, 6); + this.slSep2.Size = new System.Drawing.Size(178, 6); // // slWowServers // this.slWowServers.Image = global::Switchex.Properties.Resources.topsitelist; this.slWowServers.Name = "slWowServers"; - this.slWowServers.Size = new System.Drawing.Size(188, 22); + this.slWowServers.Size = new System.Drawing.Size(181, 22); this.slWowServers.Text = "#WoW Servers"; this.slWowServers.Click += new System.EventHandler(this.slWowServers_Click); // // slSep3 // this.slSep3.Name = "slSep3"; - this.slSep3.Size = new System.Drawing.Size(185, 6); + this.slSep3.Size = new System.Drawing.Size(178, 6); // // slTop1000 // this.slTop1000.Image = global::Switchex.Properties.Resources.topsitelist; this.slTop1000.Name = "slTop1000"; - this.slTop1000.Size = new System.Drawing.Size(188, 22); + this.slTop1000.Size = new System.Drawing.Size(181, 22); this.slTop1000.Text = "Top 1000 WoW Sites"; this.slTop1000.Click += new System.EventHandler(this.slTop1000_Click); // @@ -289,14 +290,14 @@ partial class frmMain { this.webWowProfessions, this.webWowPopular}); this.menuWebsites.Name = "menuWebsites"; - this.menuWebsites.Size = new System.Drawing.Size(110, 20); + this.menuWebsites.Size = new System.Drawing.Size(109, 20); this.menuWebsites.Text = "Guides and Wikis"; // // webWowWiki // this.webWowWiki.Image = global::Switchex.Properties.Resources.wowwiki; this.webWowWiki.Name = "webWowWiki"; - this.webWowWiki.Size = new System.Drawing.Size(184, 22); + this.webWowWiki.Size = new System.Drawing.Size(183, 22); this.webWowWiki.Text = "WoWWiki"; this.webWowWiki.Click += new System.EventHandler(this.webWowWiki_Click); // @@ -304,7 +305,7 @@ partial class frmMain { // this.webThottbot.Image = global::Switchex.Properties.Resources.thottbot; this.webThottbot.Name = "webThottbot"; - this.webThottbot.Size = new System.Drawing.Size(184, 22); + this.webThottbot.Size = new System.Drawing.Size(183, 22); this.webThottbot.Text = "Thottbot"; this.webThottbot.Click += new System.EventHandler(this.webThottbot_Click); // @@ -312,20 +313,20 @@ partial class frmMain { // this.webZamWow.Image = global::Switchex.Properties.Resources.zamwow; this.webZamWow.Name = "webZamWow"; - this.webZamWow.Size = new System.Drawing.Size(184, 22); + this.webZamWow.Size = new System.Drawing.Size(183, 22); this.webZamWow.Text = "ZAM WoW"; this.webZamWow.Click += new System.EventHandler(this.webZamWow_Click); // // webSep1 // this.webSep1.Name = "webSep1"; - this.webSep1.Size = new System.Drawing.Size(181, 6); + this.webSep1.Size = new System.Drawing.Size(180, 6); // // webGotWarcraft // this.webGotWarcraft.Image = global::Switchex.Properties.Resources.gotwarcraft; this.webGotWarcraft.Name = "webGotWarcraft"; - this.webGotWarcraft.Size = new System.Drawing.Size(184, 22); + this.webGotWarcraft.Size = new System.Drawing.Size(183, 22); this.webGotWarcraft.Text = "GotWarcraft"; this.webGotWarcraft.Click += new System.EventHandler(this.webGotWarcraft_Click); // @@ -333,7 +334,7 @@ partial class frmMain { // this.webFreeWarcraftGuides.Image = ((System.Drawing.Image)(resources.GetObject("webFreeWarcraftGuides.Image"))); this.webFreeWarcraftGuides.Name = "webFreeWarcraftGuides"; - this.webFreeWarcraftGuides.Size = new System.Drawing.Size(184, 22); + this.webFreeWarcraftGuides.Size = new System.Drawing.Size(183, 22); this.webFreeWarcraftGuides.Text = "Free Warcraft Guides"; this.webFreeWarcraftGuides.Click += new System.EventHandler(this.webFreeWarcraftGuides_Click); // @@ -341,7 +342,7 @@ partial class frmMain { // this.webOnlineMultiplayer.Image = ((System.Drawing.Image)(resources.GetObject("webOnlineMultiplayer.Image"))); this.webOnlineMultiplayer.Name = "webOnlineMultiplayer"; - this.webOnlineMultiplayer.Size = new System.Drawing.Size(184, 22); + this.webOnlineMultiplayer.Size = new System.Drawing.Size(183, 22); this.webOnlineMultiplayer.Text = "Online-Multiplayer"; this.webOnlineMultiplayer.Click += new System.EventHandler(this.webOnlineMultiplayer_Click); // @@ -349,7 +350,7 @@ partial class frmMain { // this.webWowProfessions.Image = global::Switchex.Properties.Resources.wowprofessions; this.webWowProfessions.Name = "webWowProfessions"; - this.webWowProfessions.Size = new System.Drawing.Size(184, 22); + this.webWowProfessions.Size = new System.Drawing.Size(183, 22); this.webWowProfessions.Text = "WoW-Professions"; this.webWowProfessions.Click += new System.EventHandler(this.webWowProfessions_Click); // @@ -357,7 +358,7 @@ partial class frmMain { // this.webWowPopular.Image = global::Switchex.Properties.Resources.wowpopular; this.webWowPopular.Name = "webWowPopular"; - this.webWowPopular.Size = new System.Drawing.Size(184, 22); + this.webWowPopular.Size = new System.Drawing.Size(183, 22); this.webWowPopular.Text = "WoWPopular"; this.webWowPopular.Click += new System.EventHandler(this.webWowPopular_Click); // @@ -367,6 +368,7 @@ partial class frmMain { this.helpWebSwitchex, this.helpWebAbluescarab, this.helpWebSourceForge, + this.helpWebGitHub, this.helpWebWow, this.helpWebBattlenet, this.helpSep1, @@ -383,7 +385,7 @@ partial class frmMain { // this.helpWebSwitchex.Image = global::Switchex.Properties.Resources.switchex; this.helpWebSwitchex.Name = "helpWebSwitchex"; - this.helpWebSwitchex.Size = new System.Drawing.Size(303, 22); + this.helpWebSwitchex.Size = new System.Drawing.Size(299, 22); this.helpWebSwitchex.Text = "Visit the Switchex Website"; this.helpWebSwitchex.Click += new System.EventHandler(this.helpWebSwitchex_Click); // @@ -391,7 +393,7 @@ partial class frmMain { // this.helpWebAbluescarab.Image = global::Switchex.Properties.Resources.page_world; this.helpWebAbluescarab.Name = "helpWebAbluescarab"; - this.helpWebAbluescarab.Size = new System.Drawing.Size(303, 22); + this.helpWebAbluescarab.Size = new System.Drawing.Size(299, 22); this.helpWebAbluescarab.Text = "Visit the Abluescarab Designs Website"; this.helpWebAbluescarab.Click += new System.EventHandler(this.helpWebAbluescarab_Click); // @@ -399,15 +401,24 @@ partial class frmMain { // this.helpWebSourceForge.Image = global::Switchex.Properties.Resources.sourceforge; this.helpWebSourceForge.Name = "helpWebSourceForge"; - this.helpWebSourceForge.Size = new System.Drawing.Size(303, 22); + this.helpWebSourceForge.Size = new System.Drawing.Size(299, 22); this.helpWebSourceForge.Text = "Visit the SourceForge Project"; + this.helpWebSourceForge.Visible = false; this.helpWebSourceForge.Click += new System.EventHandler(this.helpWebSourceForge_Click); // + // helpWebGitHub + // + this.helpWebGitHub.Image = global::Switchex.Properties.Resources.github; + this.helpWebGitHub.Name = "helpWebGitHub"; + this.helpWebGitHub.Size = new System.Drawing.Size(299, 22); + this.helpWebGitHub.Text = "Visit the GitHub Project"; + this.helpWebGitHub.Click += new System.EventHandler(this.helpWebGitHub_Click); + // // helpWebWow // this.helpWebWow.Image = global::Switchex.Properties.Resources.zamwow; this.helpWebWow.Name = "helpWebWow"; - this.helpWebWow.Size = new System.Drawing.Size(303, 22); + this.helpWebWow.Size = new System.Drawing.Size(299, 22); this.helpWebWow.Text = "Visit the World of Warcraft Official Website"; this.helpWebWow.Click += new System.EventHandler(this.helpWebWow_Click); // @@ -415,21 +426,21 @@ partial class frmMain { // this.helpWebBattlenet.Image = global::Switchex.Properties.Resources.battlenet; this.helpWebBattlenet.Name = "helpWebBattlenet"; - this.helpWebBattlenet.Size = new System.Drawing.Size(303, 22); + this.helpWebBattlenet.Size = new System.Drawing.Size(299, 22); this.helpWebBattlenet.Text = "Visit Battle.net"; this.helpWebBattlenet.Click += new System.EventHandler(this.helpWebBattlenet_Click); // // helpSep1 // this.helpSep1.Name = "helpSep1"; - this.helpSep1.Size = new System.Drawing.Size(300, 6); + this.helpSep1.Size = new System.Drawing.Size(296, 6); // // helpUpdates // this.helpUpdates.Image = global::Switchex.Properties.Resources.drive; this.helpUpdates.Name = "helpUpdates"; this.helpUpdates.ShortcutKeys = System.Windows.Forms.Keys.F4; - this.helpUpdates.Size = new System.Drawing.Size(303, 22); + this.helpUpdates.Size = new System.Drawing.Size(299, 22); this.helpUpdates.Text = "Check for Updates..."; this.helpUpdates.Click += new System.EventHandler(this.helpUpdates_Click); // @@ -437,21 +448,21 @@ partial class frmMain { // this.helpChangelog.Image = global::Switchex.Properties.Resources.page_white_text; this.helpChangelog.Name = "helpChangelog"; - this.helpChangelog.Size = new System.Drawing.Size(303, 22); + this.helpChangelog.Size = new System.Drawing.Size(299, 22); this.helpChangelog.Text = "Changelog..."; this.helpChangelog.Click += new System.EventHandler(this.helpChangelog_Click); // // helpSep2 // this.helpSep2.Name = "helpSep2"; - this.helpSep2.Size = new System.Drawing.Size(300, 6); + this.helpSep2.Size = new System.Drawing.Size(296, 6); // // helpHelpTopics // this.helpHelpTopics.Image = global::Switchex.Properties.Resources.help; this.helpHelpTopics.Name = "helpHelpTopics"; this.helpHelpTopics.ShortcutKeys = System.Windows.Forms.Keys.F1; - this.helpHelpTopics.Size = new System.Drawing.Size(303, 22); + this.helpHelpTopics.Size = new System.Drawing.Size(299, 22); this.helpHelpTopics.Text = "Help Topics"; this.helpHelpTopics.Click += new System.EventHandler(this.helpHelpTopics_Click); // @@ -459,7 +470,7 @@ partial class frmMain { // this.helpAbout.Image = global::Switchex.Properties.Resources.information; this.helpAbout.Name = "helpAbout"; - this.helpAbout.Size = new System.Drawing.Size(303, 22); + this.helpAbout.Size = new System.Drawing.Size(299, 22); this.helpAbout.Text = "About"; this.helpAbout.Click += new System.EventHandler(this.helpAbout_Click); // @@ -495,7 +506,7 @@ partial class frmMain { this.ServerOnline.HeaderText = "Online"; this.ServerOnline.Name = "ServerOnline"; this.ServerOnline.ReadOnly = true; - this.ServerOnline.Width = 41; + this.ServerOnline.Width = 43; // // ServerName // @@ -526,7 +537,7 @@ partial class frmMain { this.ServerPatch.Name = "ServerPatch"; this.ServerPatch.ReadOnly = true; this.ServerPatch.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.ServerPatch.Width = 58; + this.ServerPatch.Width = 60; // // ServerRating // @@ -534,7 +545,7 @@ partial class frmMain { this.ServerRating.HeaderText = "Rating"; this.ServerRating.Name = "ServerRating"; this.ServerRating.ReadOnly = true; - this.ServerRating.Width = 61; + this.ServerRating.Width = 63; // // ServerNotes // @@ -670,7 +681,7 @@ partial class frmMain { // this.lblCurrentServer.Margin = new System.Windows.Forms.Padding(5, 3, 0, 2); this.lblCurrentServer.Name = "lblCurrentServer"; - this.lblCurrentServer.Size = new System.Drawing.Size(40, 17); + this.lblCurrentServer.Size = new System.Drawing.Size(39, 17); this.lblCurrentServer.Text = "Server"; // // btnAddons @@ -789,6 +800,7 @@ partial class frmMain { private System.Windows.Forms.DataGridViewTextBoxColumn ServerPatch; private System.Windows.Forms.DataGridViewTextBoxColumn ServerRating; private System.Windows.Forms.DataGridViewTextBoxColumn ServerNotes; + private System.Windows.Forms.ToolStripMenuItem helpWebGitHub; } } diff --git a/frmMain.cs b/frmMain.cs index 3952e86..1dcb77d 100644 --- a/frmMain.cs +++ b/frmMain.cs @@ -15,9 +15,6 @@ using System.Windows.Forms; using Microsoft.Win32; -// DONE: change variables (e.g. gamePath, realmPath) to settings and call them using Properties.Settings -// TODO: change Settings on Options close - namespace Switchex { public partial class frmMain: Form { frmOptions frmOptions = new frmOptions(); @@ -346,17 +343,21 @@ public static string #region Help Menu private void helpWebSwitchex_Click(object sender, EventArgs e) { - Process.Start("http://switchex.host56.com/"); + Process.Start("http://switchex.abluescarab.us/"); } private void helpWebAbluescarab_Click(object sender, EventArgs e) { - Process.Start("http://abluescarab.net16.net/"); + Process.Start("http://www.abluescarab.us/"); } private void helpWebSourceForge_Click(object sender, EventArgs e) { Process.Start("http://sourceforge.net/projects/switchex/"); } + private void helpWebGitHub_Click(object sender, EventArgs e) { + Process.Start("http://github.com/abluescarab/Switchex/releases"); + } + private void helpWebWow_Click(object sender, EventArgs e) { Process.Start("http://us.battle.net/wow/en/"); } @@ -409,7 +410,7 @@ public static string File.Delete(versionFile); } - webClient.DownloadFile("http://abluescarab.users.sourceforge.net/updates/switchex/version.txt", versionFile); + webClient.DownloadFile("http://switchex.abluescarab.us/updates/version.txt", versionFile); downloadVersion = File.ReadAllText(versionFile); @@ -419,7 +420,8 @@ public static string } } else if(compareVersions(currentVersion, downloadVersion) == -1) { - webClient.DownloadFile("http://sourceforge.net/projects/switchex/files/" + downloadVersion + "/readme.txt/download", readmeFile); + Debug.Print("http://switchex.abluescarab.us/updates/" + downloadVersion + ".txt"); + webClient.DownloadFile("http://switchex.abluescarab.us/updates/" + downloadVersion + ".txt", readmeFile); frmConfirmUpdate.ShowDialog(); } diff --git a/frmMain.resx b/frmMain.resx index 6a4ca9f..9a339e4 100644 --- a/frmMain.resx +++ b/frmMain.resx @@ -268,6 +268,27 @@ True + + True + + + True + + + True + + + True + + + True + + + True + + + True + 17, 55 diff --git a/frmUpdates.cs b/frmUpdates.cs index 87ab3b1..814bd90 100644 --- a/frmUpdates.cs +++ b/frmUpdates.cs @@ -24,7 +24,7 @@ public partial class frmUpdates: Form { WebClient webClient = new WebClient(); string downloadFile = "Switchex_" + frmMain.downloadVersion + "_SETUP.exe"; - + if(!Directory.Exists(downloadLocation)) { Directory.CreateDirectory(downloadLocation); } @@ -35,8 +35,7 @@ public partial class frmUpdates: Form { webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(_DownloadFileCompleted); webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(_DownloadProgressChanged); - webClient.DownloadFileAsync(new Uri("http://sourceforge.net/projects/switchex/files/" + frmMain.downloadVersion + "/Switchex_" + frmMain.downloadVersion + - "_SETUP.exe/download"), downloadLocation + "\\" + downloadFile); + webClient.DownloadFileAsync(new Uri("https://github.com/abluescarab/Switchex/releases/download/" + frmMain.downloadVersion + "/" + downloadFile), downloadLocation + "\\" + downloadFile); } else { DialogResult result = MessageBox.Show("Downloaded file already exists. Close Switchex and install updates?", "Update", MessageBoxButtons.YesNo);