From: <an...@us...> - 2008-01-04 23:10:14
|
Revision: 1206 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1206&view=rev Author: and-81 Date: 2008-01-04 15:10:04 -0800 (Fri, 04 Jan 2008) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Applications/Debug Client/MainForm.cs trunk/plugins/IR Server Suite/Applications/Debug Client/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/IR Blast/Program.cs trunk/plugins/IR Server Suite/Applications/IR Blast/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Program.cs trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/IR Server/Config.Designer.cs trunk/plugins/IR Server Suite/Applications/IR Server/Config.cs trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs trunk/plugins/IR Server Suite/Applications/Translator/Configuration.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs trunk/plugins/IR Server Suite/Applications/Translator/Program.cs trunk/plugins/IR Server Suite/Applications/Translator/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Tray Launcher/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/MainForm.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/MainForm.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Web Remote/Program.cs trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Applications/Web Remote/Setup.cs trunk/plugins/IR Server Suite/Applications/Web Remote/WebServer.cs trunk/plugins/IR Server Suite/Common/IrssComms/Client.cs trunk/plugins/IR Server Suite/Common/IrssComms/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Common/IrssComms/Server.cs trunk/plugins/IR Server Suite/Common/IrssUtils/IrssLog.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Common/IrssUtils/Win32.cs trunk/plugins/IR Server Suite/Common/MPUtils/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/Custom HID Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Custom HID Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver/FusionRemoteReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/Girder Plugin.cs trunk/plugins/IR Server Suite/IR Server Plugins/Girder Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/IRServerPluginBase.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/ITransmitIR.cs trunk/plugins/IR Server Suite/IR Server Plugins/IR Server Plugin Interface/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/IRMan Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRMan Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/IRTransTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IRTrans Transceiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/IgorPlug Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/IgorPlug Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Driver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DriverVista.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/DriverXP.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/IrCode.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/MicrosoftMceTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Microsoft MCE Transceiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/RedEye Blaster/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/RedEye Blaster/RedEye Blaster.cs trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Serial IR Blaster/Serial IR Blaster.cs trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/UirtTransceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Wii Remote Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Wii Remote Receiver/Wii Remote Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/WinLirc Transceiver/WinLirc Transceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/Windows Message Receiver/Windows Message Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/X10 Transceiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/X10 Transceiver/X10Transceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/XBCDRC Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/XBCDRC Receiver/XBCDRC Receiver.cs trunk/plugins/IR Server Suite/IR Server Suite.sln trunk/plugins/IR Server Suite/Input Service/Input Service/InputService.cs trunk/plugins/IR Server Suite/Input Service/Input Service/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Config.Designer.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Input Service Configuration.exe.manifest trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Program.cs trunk/plugins/IR Server Suite/Input Service/Input Service Configuration/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Forms/SetupForm.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/MPBlastZonePlugin.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Blast Zone Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Forms/SetupForm.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/MPControlPlugin.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/MP Control Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/ExternalChannels.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/SetupForm.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Forms/StbSetup.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV2 Blaster Plugin/TV2BlasterPlugin.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/MacroEditor.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/PluginSetup.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Forms/StbSetup.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/MediaPortal Plugins/TV3 Blaster Plugin/TV3BlasterPlugin.cs Added Paths: ----------- trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/ trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/Direct Input Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/DirectInputListener.cs trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/DirectInputReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/Properties/ trunk/plugins/IR Server Suite/IR Server Plugins/Direct Input Receiver/Properties/AssemblyInfo.cs Removed Paths: ------------- trunk/plugins/IR Server Suite/Set Top Boxes/Dreambox HTTP TEST.xml Modified: trunk/plugins/IR Server Suite/Applications/Debug Client/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Debug Client/MainForm.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Debug Client/MainForm.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -521,6 +521,7 @@ } catch (Exception ex) { + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Failed to load help", MessageBoxButtons.OK, MessageBoxIcon.Error); } } Modified: trunk/plugins/IR Server Suite/Applications/Debug Client/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Debug Client/Properties/AssemblyInfo.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Debug Client/Properties/AssemblyInfo.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -33,8 +33,8 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] +[assembly: AssemblyVersion("1.0.4.1")] +[assembly: AssemblyFileVersion("1.0.4.1")] [assembly: CLSCompliant(true)] [assembly: GuidAttribute("8eeb5fcb-322c-45ee-80a9-3d30cc08a48c")] Modified: trunk/plugins/IR Server Suite/Applications/IR Blast/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Blast/Program.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/IR Blast/Program.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -358,7 +358,7 @@ static void Error(Exception ex) { Console.WriteLine(ex.Message); - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } #endregion Log Commands Modified: trunk/plugins/IR Server Suite/Applications/IR Blast/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Blast/Properties/AssemblyInfo.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/IR Blast/Properties/AssemblyInfo.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -33,8 +33,8 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] +[assembly: AssemblyVersion("1.0.4.1")] +[assembly: AssemblyFileVersion("1.0.4.1")] [assembly: CLSCompliant(true)] [assembly: GuidAttribute("5eeca936-da49-4952-ab3b-9f11ec57e4aa")] Modified: trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Program.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Program.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -169,7 +169,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } StopClient(); @@ -284,7 +284,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } Modified: trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Properties/AssemblyInfo.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/IR Blast (No Window)/Properties/AssemblyInfo.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -33,8 +33,8 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] +[assembly: AssemblyVersion("1.0.4.1")] +[assembly: AssemblyFileVersion("1.0.4.1")] [assembly: CLSCompliant(true)] [assembly: GuidAttribute("81eb136b-cc74-4eed-976d-f96ebccd1ce4")] Modified: trunk/plugins/IR Server Suite/Applications/IR Server/Config.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Server/Config.Designer.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/IR Server/Config.Designer.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -28,139 +28,139 @@ /// </summary> private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Config)); - this.buttonOK = new System.Windows.Forms.Button(); - this.buttonCancel = new System.Windows.Forms.Button(); - this.toolTips = new System.Windows.Forms.ToolTip(this.components); - this.checkBoxRunAtBoot = new System.Windows.Forms.CheckBox(); - this.buttonAdvanced = new System.Windows.Forms.Button(); - this.buttonDetect = new System.Windows.Forms.Button(); - this.groupBoxTransceiver = new System.Windows.Forms.GroupBox(); - this.gridPlugins = new SourceGrid.Grid(); - this.buttonHelp = new System.Windows.Forms.Button(); - this.groupBoxTransceiver.SuspendLayout(); - this.SuspendLayout(); - // - // buttonOK - // - this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.buttonOK.Location = new System.Drawing.Point(352, 304); - this.buttonOK.Name = "buttonOK"; - this.buttonOK.Size = new System.Drawing.Size(64, 24); - this.buttonOK.TabIndex = 5; - this.buttonOK.Text = "OK"; - this.buttonOK.UseVisualStyleBackColor = true; - this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); - // - // buttonCancel - // - this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.buttonCancel.Location = new System.Drawing.Point(424, 304); - this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.Size = new System.Drawing.Size(64, 24); - this.buttonCancel.TabIndex = 6; - this.buttonCancel.Text = "Cancel"; - this.buttonCancel.UseVisualStyleBackColor = true; - this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); - // - // checkBoxRunAtBoot - // - this.checkBoxRunAtBoot.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.checkBoxRunAtBoot.AutoSize = true; - this.checkBoxRunAtBoot.Location = new System.Drawing.Point(8, 272); - this.checkBoxRunAtBoot.Name = "checkBoxRunAtBoot"; - this.checkBoxRunAtBoot.Size = new System.Drawing.Size(165, 17); - this.checkBoxRunAtBoot.TabIndex = 1; - this.checkBoxRunAtBoot.Text = "&Start IR Server with Windows"; - this.toolTips.SetToolTip(this.checkBoxRunAtBoot, "Run IR Server when windows boots up?"); - this.checkBoxRunAtBoot.UseVisualStyleBackColor = true; - // - // buttonAdvanced - // - this.buttonAdvanced.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.buttonAdvanced.Location = new System.Drawing.Point(80, 304); - this.buttonAdvanced.Name = "buttonAdvanced"; - this.buttonAdvanced.Size = new System.Drawing.Size(64, 24); - this.buttonAdvanced.TabIndex = 3; - this.buttonAdvanced.Text = "Advanced"; - this.toolTips.SetToolTip(this.buttonAdvanced, "Click here for advanced options"); - this.buttonAdvanced.UseVisualStyleBackColor = true; - this.buttonAdvanced.Click += new System.EventHandler(this.buttonAdvanced_Click); - // - // buttonDetect - // - this.buttonDetect.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.buttonDetect.Location = new System.Drawing.Point(216, 304); - this.buttonDetect.Name = "buttonDetect"; - this.buttonDetect.Size = new System.Drawing.Size(80, 24); - this.buttonDetect.TabIndex = 4; - this.buttonDetect.Text = "Auto-Detect"; - this.toolTips.SetToolTip(this.buttonDetect, "Click here to automatically detect attached devices"); - this.buttonDetect.UseVisualStyleBackColor = true; - this.buttonDetect.Click += new System.EventHandler(this.buttonDetect_Click); - // - // groupBoxTransceiver - // - this.groupBoxTransceiver.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.groupBoxTransceiver.Controls.Add(this.gridPlugins); - this.groupBoxTransceiver.Location = new System.Drawing.Point(8, 8); - this.groupBoxTransceiver.Name = "groupBoxTransceiver"; - this.groupBoxTransceiver.Size = new System.Drawing.Size(480, 256); - this.groupBoxTransceiver.TabIndex = 0; - this.groupBoxTransceiver.TabStop = false; - this.groupBoxTransceiver.Text = "Device plugins"; - // - // gridPlugins - // - this.gridPlugins.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.gridPlugins.BackColor = System.Drawing.SystemColors.Window; - this.gridPlugins.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.gridPlugins.Location = new System.Drawing.Point(16, 24); - this.gridPlugins.Name = "gridPlugins"; - this.gridPlugins.OptimizeMode = SourceGrid.CellOptimizeMode.ForRows; - this.gridPlugins.SelectionMode = SourceGrid.GridSelectionMode.Row; - this.gridPlugins.Size = new System.Drawing.Size(448, 216); - this.gridPlugins.TabIndex = 0; - this.gridPlugins.TabStop = true; - this.gridPlugins.ToolTipText = ""; - // - // buttonHelp - // - this.buttonHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.buttonHelp.Location = new System.Drawing.Point(8, 304); - this.buttonHelp.Name = "buttonHelp"; - this.buttonHelp.Size = new System.Drawing.Size(64, 24); - this.buttonHelp.TabIndex = 2; - this.buttonHelp.Text = "Help"; - this.buttonHelp.UseVisualStyleBackColor = true; - this.buttonHelp.Click += new System.EventHandler(this.buttonHelp_Click); - // - // Config - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(496, 343); - this.Controls.Add(this.buttonDetect); - this.Controls.Add(this.buttonAdvanced); - this.Controls.Add(this.buttonHelp); - this.Controls.Add(this.checkBoxRunAtBoot); - this.Controls.Add(this.groupBoxTransceiver); - this.Controls.Add(this.buttonCancel); - this.Controls.Add(this.buttonOK); - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.MinimumSize = new System.Drawing.Size(504, 370); - this.Name = "Config"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "IR Server - Configuration"; - this.groupBoxTransceiver.ResumeLayout(false); - this.ResumeLayout(false); - this.PerformLayout(); + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Config)); + this.buttonOK = new System.Windows.Forms.Button(); + this.buttonCancel = new System.Windows.Forms.Button(); + this.toolTips = new System.Windows.Forms.ToolTip(this.components); + this.checkBoxRunAtBoot = new System.Windows.Forms.CheckBox(); + this.buttonAdvanced = new System.Windows.Forms.Button(); + this.buttonDetect = new System.Windows.Forms.Button(); + this.groupBoxTransceiver = new System.Windows.Forms.GroupBox(); + this.gridPlugins = new SourceGrid.Grid(); + this.buttonHelp = new System.Windows.Forms.Button(); + this.groupBoxTransceiver.SuspendLayout(); + this.SuspendLayout(); + // + // buttonOK + // + this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonOK.Location = new System.Drawing.Point(352, 304); + this.buttonOK.Name = "buttonOK"; + this.buttonOK.Size = new System.Drawing.Size(64, 24); + this.buttonOK.TabIndex = 5; + this.buttonOK.Text = "OK"; + this.buttonOK.UseVisualStyleBackColor = true; + this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); + // + // buttonCancel + // + this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.buttonCancel.Location = new System.Drawing.Point(424, 304); + this.buttonCancel.Name = "buttonCancel"; + this.buttonCancel.Size = new System.Drawing.Size(64, 24); + this.buttonCancel.TabIndex = 6; + this.buttonCancel.Text = "Cancel"; + this.buttonCancel.UseVisualStyleBackColor = true; + this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); + // + // checkBoxRunAtBoot + // + this.checkBoxRunAtBoot.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.checkBoxRunAtBoot.AutoSize = true; + this.checkBoxRunAtBoot.Location = new System.Drawing.Point(8, 272); + this.checkBoxRunAtBoot.Name = "checkBoxRunAtBoot"; + this.checkBoxRunAtBoot.Size = new System.Drawing.Size(165, 17); + this.checkBoxRunAtBoot.TabIndex = 1; + this.checkBoxRunAtBoot.Text = "&Start IR Server with Windows"; + this.toolTips.SetToolTip(this.checkBoxRunAtBoot, "Run IR Server when windows boots up?"); + this.checkBoxRunAtBoot.UseVisualStyleBackColor = true; + // + // buttonAdvanced + // + this.buttonAdvanced.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.buttonAdvanced.Location = new System.Drawing.Point(80, 304); + this.buttonAdvanced.Name = "buttonAdvanced"; + this.buttonAdvanced.Size = new System.Drawing.Size(64, 24); + this.buttonAdvanced.TabIndex = 3; + this.buttonAdvanced.Text = "Advanced"; + this.toolTips.SetToolTip(this.buttonAdvanced, "Click here for advanced options"); + this.buttonAdvanced.UseVisualStyleBackColor = true; + this.buttonAdvanced.Click += new System.EventHandler(this.buttonAdvanced_Click); + // + // buttonDetect + // + this.buttonDetect.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.buttonDetect.Location = new System.Drawing.Point(216, 304); + this.buttonDetect.Name = "buttonDetect"; + this.buttonDetect.Size = new System.Drawing.Size(80, 24); + this.buttonDetect.TabIndex = 4; + this.buttonDetect.Text = "Detect"; + this.toolTips.SetToolTip(this.buttonDetect, "Click here to automatically detect attached devices"); + this.buttonDetect.UseVisualStyleBackColor = true; + this.buttonDetect.Click += new System.EventHandler(this.buttonDetect_Click); + // + // groupBoxTransceiver + // + this.groupBoxTransceiver.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.groupBoxTransceiver.Controls.Add(this.gridPlugins); + this.groupBoxTransceiver.Location = new System.Drawing.Point(8, 8); + this.groupBoxTransceiver.Name = "groupBoxTransceiver"; + this.groupBoxTransceiver.Size = new System.Drawing.Size(480, 256); + this.groupBoxTransceiver.TabIndex = 0; + this.groupBoxTransceiver.TabStop = false; + this.groupBoxTransceiver.Text = "Device plugins"; + // + // gridPlugins + // + this.gridPlugins.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gridPlugins.BackColor = System.Drawing.SystemColors.Window; + this.gridPlugins.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.gridPlugins.Location = new System.Drawing.Point(16, 24); + this.gridPlugins.Name = "gridPlugins"; + this.gridPlugins.OptimizeMode = SourceGrid.CellOptimizeMode.ForRows; + this.gridPlugins.SelectionMode = SourceGrid.GridSelectionMode.Row; + this.gridPlugins.Size = new System.Drawing.Size(448, 216); + this.gridPlugins.TabIndex = 0; + this.gridPlugins.TabStop = true; + this.gridPlugins.ToolTipText = ""; + // + // buttonHelp + // + this.buttonHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.buttonHelp.Location = new System.Drawing.Point(8, 304); + this.buttonHelp.Name = "buttonHelp"; + this.buttonHelp.Size = new System.Drawing.Size(64, 24); + this.buttonHelp.TabIndex = 2; + this.buttonHelp.Text = "Help"; + this.buttonHelp.UseVisualStyleBackColor = true; + this.buttonHelp.Click += new System.EventHandler(this.buttonHelp_Click); + // + // Config + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(496, 343); + this.Controls.Add(this.buttonDetect); + this.Controls.Add(this.buttonAdvanced); + this.Controls.Add(this.buttonHelp); + this.Controls.Add(this.checkBoxRunAtBoot); + this.Controls.Add(this.groupBoxTransceiver); + this.Controls.Add(this.buttonCancel); + this.Controls.Add(this.buttonOK); + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MinimumSize = new System.Drawing.Size(504, 370); + this.Name = "Config"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "IR Server - Configuration"; + this.groupBoxTransceiver.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); } Modified: trunk/plugins/IR Server Suite/Applications/IR Server/Config.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Server/Config.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/IR Server/Config.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -133,7 +133,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); checkBoxRunAtBoot.Checked = false; } @@ -245,7 +245,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } this.DialogResult = DialogResult.OK; Modified: trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -147,7 +147,7 @@ /// <summary> /// Start the server. /// </summary> - /// <returns>success.</returns> + /// <returns><c>true</c> if successful, otherwise <c>false</c>.</returns> internal bool Start() { try @@ -274,7 +274,7 @@ catch (Exception ex) { IrssLog.Error("Failed to start receive plugin: \"{0}\"", plugin.Name); - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); removePlugins.Add(plugin); } @@ -299,7 +299,7 @@ catch (Exception ex) { IrssLog.Error("Failed to start transmit plugin: \"{0}\"", _pluginNameTransmit); - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); _pluginTransmit = null; } @@ -315,7 +315,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); return false; } } @@ -372,7 +372,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -386,7 +386,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } finally { @@ -413,7 +413,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -454,7 +454,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } _inConfiguration = false; @@ -484,7 +484,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } } @@ -497,7 +497,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -529,7 +529,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } } @@ -542,7 +542,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -681,7 +681,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); return false; } } @@ -710,7 +710,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); return false; } } @@ -1004,7 +1004,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); return false; } } @@ -1049,7 +1049,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } return status; @@ -1411,7 +1411,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); IrssMessage response = new IrssMessage(MessageType.Error, MessageFlags.Notify, ex.Message); SendTo(combo.Manager, response); } @@ -1451,7 +1451,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); IrssMessage response = new IrssMessage(MessageType.Error, MessageFlags.Notify, ex.Message); _client.Send(response); } @@ -1508,7 +1508,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); return; } @@ -1571,7 +1571,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } void CreateDefaultSettings() @@ -1594,7 +1594,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } Modified: trunk/plugins/IR Server Suite/Applications/Translator/Configuration.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Configuration.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Translator/Configuration.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -91,7 +91,7 @@ /// </summary> /// <param name="config">Configuration to save.</param> /// <param name="fileName">File to save to.</param> - /// <returns>true if successful, otherwise false.</returns> + /// <returns><c>true</c> if successful, otherwise <c>false</c>.</returns> internal static bool Save(Configuration config, string fileName) { try @@ -104,7 +104,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); return false; } } @@ -128,7 +128,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } return null; Modified: trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Translator/Forms/ButtonMappingForm.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -621,6 +621,7 @@ } catch (Exception ex) { + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Failed to load help", MessageBoxButtons.OK, MessageBoxIcon.Error); } } Modified: trunk/plugins/IR Server Suite/Applications/Translator/Forms/MacroEditor.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Forms/MacroEditor.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Translator/Forms/MacroEditor.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -114,7 +114,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -138,7 +138,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -287,7 +287,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Failed to add macro command", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -347,7 +347,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Test failed", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -382,7 +382,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Failed writing macro to file", MessageBoxButtons.OK, MessageBoxIcon.Error); } @@ -522,7 +522,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Failed to edit macro item", MessageBoxButtons.OK, MessageBoxIcon.Error); } } Modified: trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -127,7 +127,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); checkBoxAutoRun.Checked = false; } @@ -839,6 +839,7 @@ } catch (Exception ex) { + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Test failed", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -894,8 +895,8 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); - MessageBox.Show(ex.ToString(), "Failed to rename file", MessageBoxButtons.OK, MessageBoxIcon.Error); + IrssLog.Error(ex); + MessageBox.Show(ex.Message, "Failed to rename file", MessageBoxButtons.OK, MessageBoxIcon.Error); } } private void listViewMacro_AfterLabelEdit(object sender, LabelEditEventArgs e) @@ -940,8 +941,8 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); - MessageBox.Show(ex.ToString(), "Failed to rename file", MessageBoxButtons.OK, MessageBoxIcon.Error); + IrssLog.Error(ex); + MessageBox.Show(ex.Message, "Failed to rename file", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -1204,12 +1205,13 @@ } catch (Exception ex) { + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Failed to load help", MessageBoxButtons.OK, MessageBoxIcon.Error); } } private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { - MessageBox.Show(this, "Translator\nVersion 1.0.4.0 for IR Server Suite\nBy Aaron Dinnage, 2007", "About Translator", MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show(this, "Translator\nVersion 1.0.4.1 for IR Server Suite\nBy Aaron Dinnage, 2007", "About Translator", MessageBoxButtons.OK, MessageBoxIcon.Information); } private void addProgramToolStripMenuItem_Click(object sender, EventArgs e) Modified: trunk/plugins/IR Server Suite/Applications/Translator/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Program.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Translator/Program.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -158,7 +158,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); clientStarted = false; } @@ -315,6 +315,7 @@ { Thread thread = new Thread(new ThreadStart(MenuThread)); thread.Name = "Translator OSD"; + thread.IsBackground = true; thread.Start(); } } @@ -326,7 +327,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -466,7 +467,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); MessageBox.Show(ex.Message, "Macro failed", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -534,7 +535,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); MessageBox.Show(ex.Message, "Action failed", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -763,7 +764,7 @@ catch (Exception ex) { _learnIRFilename = null; - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -790,7 +791,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } IrssLog.Debug("Active program not found in Translator program list"); @@ -815,7 +816,7 @@ { ProcessCommand(buttonMap.Command, true); } - catch (Exception ex) { IrssLog.Error(ex.ToString()); } + catch (Exception ex) { IrssLog.Error(ex); } return; } } @@ -832,7 +833,7 @@ { ProcessCommand(buttonMap.Command, true); } - catch (Exception ex) { IrssLog.Error(ex.ToString()); } + catch (Exception ex) { IrssLog.Error(ex); } return; } } @@ -849,7 +850,7 @@ { ProcessCommand(buttonMap.Command, true); } - catch (Exception ex) { IrssLog.Error(ex.ToString()); } + catch (Exception ex) { IrssLog.Error(ex); } return; } } @@ -906,7 +907,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } } @@ -917,7 +918,7 @@ /// Learn an IR command. /// </summary> /// <param name="fileName">File to place learned IR command in (absolute path).</param> - /// <returns>true if successful, otherwise false.</returns> + /// <returns><c>true</c> if successful, otherwise <c>false</c>.</returns> internal static bool LearnIR(string fileName) { try @@ -948,7 +949,7 @@ catch (Exception ex) { _learnIRFilename = null; - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); return false; } @@ -996,12 +997,12 @@ { Thread newThread = new Thread(new ParameterizedThreadStart(ProcCommand)); newThread.Name = ProcessCommandThreadName; - newThread.Priority = ThreadPriority.BelowNormal; + newThread.IsBackground = true; newThread.Start(command); } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } else @@ -1183,7 +1184,7 @@ catch (Exception ex) { if (Thread.CurrentThread.Name.Equals(ProcessCommandThreadName, StringComparison.OrdinalIgnoreCase)) - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); else throw; } Modified: trunk/plugins/IR Server Suite/Applications/Translator/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Properties/AssemblyInfo.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Translator/Properties/AssemblyInfo.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -33,8 +33,8 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] +[assembly: AssemblyVersion("1.0.4.1")] +[assembly: AssemblyFileVersion("1.0.4.1")] [assembly: CLSCompliant(true)] Modified: trunk/plugins/IR Server Suite/Applications/Tray Launcher/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Tray Launcher/Properties/AssemblyInfo.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Tray Launcher/Properties/AssemblyInfo.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -33,8 +33,8 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] +[assembly: AssemblyVersion("1.0.4.1")] +[assembly: AssemblyFileVersion("1.0.4.1")] [assembly: CLSCompliant(true)] [assembly: GuidAttribute("2011f0d4-cec8-43d2-8678-79f24cd6c517")] Modified: trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Tray Launcher/Tray.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -124,7 +124,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); MessageBox.Show("Failed to start IR Server communications, refer to log file for more details.", "Tray Launcher - Error", MessageBoxButtons.OK, MessageBoxIcon.Error); clientStarted = false; } @@ -145,7 +145,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } return false; @@ -178,7 +178,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); _autoRun = false; } @@ -195,7 +195,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); _serverHost = "localhost"; _programFile = String.Empty; @@ -214,7 +214,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } try @@ -238,7 +238,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -427,11 +427,11 @@ catch (Win32Exception ex) { if (ex.ErrorCode != -2147467259) // Ignore "Unable to enumerate the process modules" errors. - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -458,7 +458,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); MessageBox.Show(ex.Message, "Tray Launcher", MessageBoxButtons.OK, MessageBoxIcon.Error); } } Modified: trunk/plugins/IR Server Suite/Applications/Virtual Remote/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote/MainForm.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote/MainForm.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -123,7 +123,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -159,6 +159,7 @@ } catch (Exception ex) { + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Virtual Remote - Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -208,6 +209,7 @@ } catch (Exception ex) { + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Failed to load help", MessageBoxButtons.OK, MessageBoxIcon.Error); } } Modified: trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -184,7 +184,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); clientStarted = false; } @@ -223,7 +223,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); _installFolder = "."; } @@ -236,7 +236,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); _serverHost = "localhost"; _remoteSkin = DefaultSkin; @@ -268,7 +268,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -403,7 +403,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } Modified: trunk/plugins/IR Server Suite/Applications/Virtual Remote/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote/Properties/AssemblyInfo.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote/Properties/AssemblyInfo.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -33,8 +33,8 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] +[assembly: AssemblyVersion("1.0.4.1")] +[assembly: AssemblyFileVersion("1.0.4.1")] [assembly: CLSCompliant(true)] [assembly: GuidAttribute("b9084277-405c-48e6-80d1-c0d0e1dae27d")] Modified: trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/MainForm.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/MainForm.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -135,6 +135,7 @@ } catch (Exception ex) { + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Failed to load help", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -485,7 +486,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); _serverHost = "localhost"; } @@ -510,7 +511,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -610,6 +611,7 @@ } catch (Exception ex) { + IrssLog.Error(ex); MessageBox.Show(this, ex.Message, "Virtual Remote Skin Editor Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } Modified: trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/Properties/AssemblyInfo.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/Properties/AssemblyInfo.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -30,7 +30,7 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] +[assembly: AssemblyVersion("1.0.4.1")] +[assembly: AssemblyFileVersion("1.0.4.1")] [assembly: CLSCompliant(true)] \ No newline at end of file Modified: trunk/plugins/IR Server Suite/Applications/Web Remote/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Web Remote/Program.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Web Remote/Program.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -136,7 +136,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); clientStarted = false; } @@ -161,7 +161,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } _notifyIcon.Visible = true; @@ -239,8 +239,8 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); - MessageBox.Show(ex.ToString(), "Web Remote - Setup Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + IrssLog.Error(ex); + MessageBox.Show(ex.Message, "Web Remote - Setup Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } _inConfiguration = false; @@ -378,7 +378,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); _installFolder = "."; } @@ -391,7 +391,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); _serverHost = "localhost"; _remoteSkin = DefaultSkin; @@ -429,7 +429,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } @@ -535,7 +535,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } } Modified: trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/AssemblyInfo.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Web Remote/Properties/AssemblyInfo.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -29,5 +29,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] +[assembly: AssemblyVersion("1.0.4.1")] +[assembly: AssemblyFileVersion("1.0.4.1")] Modified: trunk/plugins/IR Server Suite/Applications/Web Remote/Setup.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Web Remote/Setup.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Web Remote/Setup.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -113,7 +113,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.Message); + IrssLog.Error(ex); } } Modified: trunk/plugins/IR Server Suite/Applications/Web Remote/WebServer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Web Remote/WebServer.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Applications/Web Remote/WebServer.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -119,7 +119,7 @@ } catch (Exception ex) { - IrssLog.Error(ex.ToString()); + IrssLog.Error(ex); } finally { Modified: trunk/plugins/IR Server Suite/Common/IrssComms/Client.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssComms/Client.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Common/IrssComms/Client.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -134,7 +134,7 @@ /// <summary> /// Start the client communications. /// </summary> - /// <returns>true if successful, otherwise false.</returns> + /// <returns><c>true</c> if successful, otherwise <c>false</c>.</returns> public bool Start() { if (_processConnectionThread) @@ -194,7 +194,7 @@ /// Send a message to the server. /// </summary> /// <param name="message">Message to send.</param> - /// <returns>true if successful, otherwise false.</returns> + /// <returns><c>true</c> if successful, otherwise <c>false</c>.</returns> public bool Send(IrssMessage message) { if (message == null) Modified: trunk/plugins/IR Server Suite/Common/IrssComms/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssComms/Properties/AssemblyInfo.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Common/IrssComms/Properties/AssemblyInfo.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -33,8 +33,8 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.4.0")] -[assembly: AssemblyFileVersion("1.0.4.0")] +[assembly: AssemblyVersion("1.0.4.1")] +[assembly: AssemblyFileVersion("1.0.4.1")] [assembly: CLSCompliant(true)] Modified: trunk/plugins/IR Server Suite/Common/IrssComms/Server.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssComms/Server.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Common/IrssComms/Server.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -125,7 +125,7 @@ /// <summary> /// Start the server. /// </summary> - /// <returns>true if successful, otherwise false.</returns> + /// <returns><c>true</c> if successful, otherwise <c>false</c>.</returns> public bool Start() { if (_processConnectionThread) @@ -215,7 +215,7 @@ /// </summary> /// <param name="sendTo">Client to send to.</param> /// <param name="message">Message to send.</param> - /// <returns>true if successful, otherwise false.</returns> + /// <returns><c>true</c> if successful, otherwise <c>false</c>.</returns> public bool Send(ClientManager sendTo, IrssMessage message) { if (!_clientManagers.Contains(sendTo)) Modified: trunk/plugins/IR Server Suite/Common/IrssUtils/IrssLog.cs =================================================================== --- trunk/plugins/IR Server Suite/Common/IrssUtils/IrssLog.cs 2008-01-04 23:08:43 UTC (rev 1205) +++ trunk/plugins/IR Server Suite/Common/IrssUtils/IrssLog.cs 2008-01-04 23:10:04 UTC (rev 1206) @@ -208,13 +208,31 @@ /// <summary> /// Log an Error. /// </summary> + /// <param name="ex">Exception to log.</param> + public static void Error(Exception ex) + { + if (_streamWriter != null && _logLevel >= Level.Error) + { + string message = String.Format("{0:yyyy-MM-dd HH:mm:ss.ffffff} - Error:\t{1}", DateTime.Now, ex.ToString()); + + _streamWriter.WriteLine(message); +#if TRACE + Trace.WriteLine(message); +#endif + } + } + + /// <summary> + /// Log an Error. + /// </summary> /// <param name="format">String format.</param> /// <param name="args">String format arguments.</param> public static void Error(string format, params object[] args) { if (_streamWriter != null && _logLevel >= Level.Error) { - string message = DateTime... [truncated message content] |