From: <hor...@us...> - 2012-01-14 17:51:35
|
Revision: 4404 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=4404&view=rev Author: horned-reaper Date: 2012-01-14 17:51:27 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Modified Paths: -------------- trunk/plugins/FritzBox/Build/Build.log trunk/plugins/FritzBox/Docs/Ausstehend.txt trunk/plugins/FritzBox/Docs/Documentation/Data/FRITZ!Box Manager Phone Book.xml trunk/plugins/FritzBox/FritzBox/EditPhoneBook.Designer.cs trunk/plugins/FritzBox/FritzBox/EditPhoneBook.cs trunk/plugins/FritzBox/FritzBox/FritzBox.cs trunk/plugins/FritzBox/FritzBox/FritzManager/PhoneBook.cs trunk/plugins/FritzBox/FritzBox/bin/Release/FritzBox.dll trunk/plugins/FritzBox/FritzBox/bin/Release/FritzBox.pdb trunk/plugins/FritzBox/FritzBox/obj/Debug/FritzBox.dll trunk/plugins/FritzBox/FritzBox/obj/Debug/FritzBox.pdb trunk/plugins/FritzBox/FritzBox/obj/Debug/GenerateResource-ResGen.read.1.tlog trunk/plugins/FritzBox/FritzBox/obj/Release/FritzBox.dll trunk/plugins/FritzBox/FritzBox/obj/Release/FritzBox.pdb trunk/plugins/FritzBox/MpeRelease/FritzBox.xmp2 trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Debug/FritzBox.dll trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Debug/FritzBox.pdb trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Debug/FritzBoxConfigTester.exe trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Debug/FritzBoxConfigTester.pdb trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Release/FritzBox.dll trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Release/FritzBox.pdb trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Release/FritzBoxConfigTester.exe trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Release/FritzBoxConfigTester.pdb trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Debug/FritzBoxConfigTester.exe trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Debug/FritzBoxConfigTester.pdb trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Debug/ResolveAssemblyReference.cache trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Release/FritzBoxConfigTester.exe trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Release/FritzBoxConfigTester.pdb trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Release/ResolveAssemblyReference.cache trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Debug/FritzBox.dll trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Debug/FritzBox.pdb trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Debug/FritzBoxDebugger.exe trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Debug/FritzBoxDebugger.pdb trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Release/FritzBox.dll trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Release/FritzBox.pdb trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Release/FritzBoxDebugger.exe trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Release/FritzBoxDebugger.pdb trunk/plugins/FritzBox/Tools/FritzBoxDebugger/obj/Debug/FritzBoxDebugger.exe trunk/plugins/FritzBox/Tools/FritzBoxDebugger/obj/Debug/FritzBoxDebugger.pdb trunk/plugins/FritzBox/Tools/FritzBoxDebugger/obj/Release/FritzBoxDebugger.exe trunk/plugins/FritzBox/Tools/FritzBoxDebugger/obj/Release/FritzBoxDebugger.pdb trunk/plugins/FritzBox/releases/update.xml Added Paths: ----------- trunk/plugins/FritzBox/releases/FritzBox_v0.4.0.4403.mpe1 Modified: trunk/plugins/FritzBox/Build/Build.log =================================================================== --- trunk/plugins/FritzBox/Build/Build.log 2012-01-12 23:52:12 UTC (rev 4403) +++ trunk/plugins/FritzBox/Build/Build.log 2012-01-14 17:51:27 UTC (rev 4404) @@ -1,6 +1,6 @@ Running : C:\Program Files\TortoiseSVN\bin\SubWCRev.exe -SVN Version: 4402 +SVN Version: 4403 Updating: D:\FritzBox\FritzBox\Properties\AssemblyInfo.cs Updating: D:\FritzBox\MP2version\Listeners\FritzBox\Properties\AssemblyInfo.cs Updating: D:\FritzBox\MP2version\Properties\AssemblyInfo.cs @@ -10,7 +10,7 @@ [Microsoft .NET Framework, Version 4.0.30319.239] Copyright (C) Microsoft Corporation 2007. All rights reserved. -Build started 13.01.2012 00:47:42. +Build started 14.01.2012 18:41:28. Project "D:\FritzBox\FritzBox.sln" on node 1 (Rebuild target(s)). ValidateSolutionConfiguration: Building solution configuration "Release|Mixed Platforms". @@ -154,8 +154,8 @@ Deleting file "D:\FritzBox\Tools\FritzBoxDebugger\obj\Release\FritzBoxDebugger.DebugForm.resources". Deleting file "D:\FritzBox\Tools\FritzBoxDebugger\obj\Release\FritzBoxDebugger.exe". Deleting file "D:\FritzBox\Tools\FritzBoxDebugger\obj\Release\FritzBoxDebugger.pdb". - Deleting file "D:\FritzBox\Tools\FritzBoxDebugger\obj\Release\GenerateResource.read.6.tlog". - Deleting file "D:\FritzBox\Tools\FritzBoxDebugger\obj\Release\GenerateResource.write.6.tlog". + Deleting file "D:\FritzBox\Tools\FritzBoxDebugger\obj\Release\GenerateResource.read.7.tlog". + Deleting file "D:\FritzBox\Tools\FritzBoxDebugger\obj\Release\GenerateResource.write.7.tlog". CoreResGen: "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\resgen.exe" /useSourcePath /r:"C:\Program Files\Team MediaPortal\MediaPortal\Core.dll" /r:D:\FritzBox\FritzBox\bin\Release\FritzBox.dll /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /compile DebugForm.resx,obj\Release\FritzBoxDebugger.DebugForm.resources Processing resource file "DebugForm.resx" into "obj\Release\FritzBoxDebugger.DebugForm.resources". @@ -195,7 +195,7 @@ 0 Warning(s) 0 Error(s) -Time Elapsed 00:00:02.11 +Time Elapsed 00:00:02.20 Reverting to build 0 Updating: D:\FritzBox\FritzBox\Properties\AssemblyInfo.cs Updating: D:\FritzBox\MP2version\Listeners\FritzBox\Properties\AssemblyInfo.cs @@ -280,7 +280,7 @@ ..\FritzBox\Languages\Unsupported\strings_zh-CN.xml 36 File(s) copied MpeMaker version: 1.2.1.0 -Build started at 00:47:46 +Build started at 18:41:32 Building "D:\FritzBox\MpeRelease\FritzBox.xmp2" Output: "..\MpeRelease\FritzBox.mpe1" Writing UpdateXML to "update.xml" Modified: trunk/plugins/FritzBox/Docs/Ausstehend.txt =================================================================== --- trunk/plugins/FritzBox/Docs/Ausstehend.txt 2012-01-12 23:52:12 UTC (rev 4403) +++ trunk/plugins/FritzBox/Docs/Ausstehend.txt 2012-01-14 17:51:27 UTC (rev 4404) @@ -2,6 +2,7 @@ Einen kleinen Bug habe ich auch gefunden: Ich wollte gerade unter MyTVSeries die Sendung einer Serie weiterschauen - es wurde der Dialog angezeigt ob man die Folge bei Stelle X fortsetzen m\xF6chte - in diesem Moment kam ein Anruf - nach Beendigung des Anrufs wurde die Sendung dann automatisch gestartet/fortgesetzt Fehler beheben: +- auch bei einem "Unbekannten Anrufer" (unterdr\xFCckte bzw. nicht \xFCbertragene Rufnummer) \xF6ffnet sich \xFCber das Kontextrufen "zur\xFCckrufen". Sollte man deaktivieren - bei Auswahl einer MSN im Konfigurationsdialog werden die MSN-Eintr\xE4ge verdoppelt - Configuration: erste MSN wird nicht im Dropdown-Men\xFC angezeigt - btnModus umbenennen? @@ -10,12 +11,15 @@ - Problem beim Laden gro\xDFer meta0-Dateien, siehe "Problembeschreibung 1.txt" - blauer Hintergrund f\xFCr Default und DefaultWide Skins - GUI-Properties \xFCberpr\xFCfen und Dokumentation vervollst\xE4ndigen +- vertrauliche Daten im Log trotz "Extensive Logging"-Einstellung -Neue Funktionen: +Neue Funktionen/Erweiterungen: - Schalter zum Deaktivieren von Benachrichtigungen bei ausgehenden Anrufen - Rufnummer-Typ hinzuf\xFCgen - GUI-Adressbuch - Anruf-Benachrichtigungen +- Telefonbuch editierbar machen (f\xFCr FRITZ!Box-Versionen ohne Telefonbuch), ImageURL-Feld editierbar machen +- R\xFCckw\xE4rtssuche wieder integrieren - Kontextmen\xFC f\xFCr Telefonbuch - Wiki-Eintrag - Skin-Erweiterungen @@ -23,6 +27,7 @@ - geplante \xC4nderungen ver\xF6ffentlichen - wenn m\xF6glich GUI-Telefonbuch (und edit Phonebook) nach Kontakt gruppieren - Bei Anrufbenachrichtigungen: Auflistung von Kontaktnamen wenn eine Rufnummer mehrmals im Telefonbuch vorkommt +- Verbindungstest um Login, Anruflisten- und Telefonbuch-Download erweitern Anwenderw\xFCnsche: @@ -62,4 +67,7 @@ L\xF6schen von Anruflisten \xFCber die GUI creativ, 20.01.2012, 19:53: -Ausblenden bestimmter Kontakte in der GUI \ No newline at end of file +Ausblenden bestimmter Kontakte in der GUI + +AlfredENeuma, 13.01.2012, 12:10: +Vielleicht w\xE4re das eine M\xF6glichkeit f\xFCr die Zukunft: Im Telefonbuch des Plugins eine zus\xE4tzliche Spalte f\xFCr Bilder (lokal oder auf FB USB Stick). Diese Eintr\xE4ge k\xF6nnten dann verwendet werden, wenn die FB keine Eintr\xE4ge f\xFCr Bilder hat \ No newline at end of file Modified: trunk/plugins/FritzBox/Docs/Documentation/Data/FRITZ!Box Manager Phone Book.xml =================================================================== --- trunk/plugins/FritzBox/Docs/Documentation/Data/FRITZ!Box Manager Phone Book.xml 2012-01-12 23:52:12 UTC (rev 4403) +++ trunk/plugins/FritzBox/Docs/Documentation/Data/FRITZ!Box Manager Phone Book.xml 2012-01-14 17:51:27 UTC (rev 4404) @@ -14,7 +14,7 @@ <Name>Tom Hanks</Name> <UniqueID>1256</UniqueID> <PhoneNumbers> - <PhoneNumber prio="1" type="home">+00 (456) 78901</PhoneNumber> + <PhoneNumber prio="1" type="mobile">+00 (456) 78901</PhoneNumber> </PhoneNumbers> </PhoneBookItem> <PhoneBookItem> @@ -22,7 +22,7 @@ <Name>Bruce Willis</Name> <UniqueID>1224</UniqueID> <PhoneNumbers> - <PhoneNumber prio="1" type="home">+00 (789) 98745</PhoneNumber> + <PhoneNumber prio="1" type="work">+00 (789) 98745</PhoneNumber> </PhoneNumbers> </PhoneBookItem> </items> Modified: trunk/plugins/FritzBox/FritzBox/EditPhoneBook.Designer.cs =================================================================== --- trunk/plugins/FritzBox/FritzBox/EditPhoneBook.Designer.cs 2012-01-12 23:52:12 UTC (rev 4403) +++ trunk/plugins/FritzBox/FritzBox/EditPhoneBook.Designer.cs 2012-01-14 17:51:27 UTC (rev 4404) @@ -28,19 +28,20 @@ /// </summary> private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); this.dataGridView = new System.Windows.Forms.DataGridView(); - this.pictureBoxCaller = new System.Windows.Forms.PictureBox(); this.columnContactID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.columnName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.columnPhoneType = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.columnPhoneNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.columnShowCallNotification = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.columnRingTonePath = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.pictureBoxCaller = new System.Windows.Forms.PictureBox(); + this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxCaller)).BeginInit(); this.SuspendLayout(); @@ -54,14 +55,14 @@ this.dataGridView.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))); - dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.columnContactID, @@ -70,46 +71,36 @@ this.columnPhoneNumber, this.columnShowCallNotification, this.columnRingTonePath}); - dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle19.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridView.DefaultCellStyle = dataGridViewCellStyle19; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridView.DefaultCellStyle = dataGridViewCellStyle4; this.dataGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; this.dataGridView.Location = new System.Drawing.Point(31, 29); this.dataGridView.MultiSelect = false; this.dataGridView.Name = "dataGridView"; - dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle20; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle5; this.dataGridView.RowHeadersVisible = false; this.dataGridView.RowTemplate.Height = 23; this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; this.dataGridView.Size = new System.Drawing.Size(729, 582); this.dataGridView.TabIndex = 19; // - // pictureBoxCaller - // - this.pictureBoxCaller.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.pictureBoxCaller.Location = new System.Drawing.Point(785, 29); - this.pictureBoxCaller.Name = "pictureBoxCaller"; - this.pictureBoxCaller.Size = new System.Drawing.Size(122, 122); - this.pictureBoxCaller.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; - this.pictureBoxCaller.TabIndex = 23; - this.pictureBoxCaller.TabStop = false; - // // columnContactID // - dataGridViewCellStyle17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.columnContactID.DefaultCellStyle = dataGridViewCellStyle17; + dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.columnContactID.DefaultCellStyle = dataGridViewCellStyle2; this.columnContactID.HeaderText = "Contact ID"; this.columnContactID.Name = "columnContactID"; this.columnContactID.ReadOnly = true; @@ -117,8 +108,8 @@ // // columnName // - dataGridViewCellStyle18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.columnName.DefaultCellStyle = dataGridViewCellStyle18; + dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.columnName.DefaultCellStyle = dataGridViewCellStyle3; this.columnName.FillWeight = 3.825149F; this.columnName.HeaderText = "Name"; this.columnName.MinimumWidth = 150; @@ -160,11 +151,31 @@ this.columnRingTonePath.Name = "columnRingTonePath"; this.columnRingTonePath.Width = 225; // + // pictureBoxCaller + // + this.pictureBoxCaller.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.pictureBoxCaller.Location = new System.Drawing.Point(785, 29); + this.pictureBoxCaller.Name = "pictureBoxCaller"; + this.pictureBoxCaller.Size = new System.Drawing.Size(122, 122); + this.pictureBoxCaller.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBoxCaller.TabIndex = 23; + this.pictureBoxCaller.TabStop = false; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(782, 598); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(89, 13); + this.label1.TabIndex = 24; + this.label1.Text = "0 phone numbers"; + // // EditPhoneBook // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(933, 639); + this.Controls.Add(this.label1); this.Controls.Add(this.pictureBoxCaller); this.Controls.Add(this.dataGridView); this.Name = "EditPhoneBook"; @@ -174,6 +185,7 @@ ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxCaller)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } @@ -187,5 +199,6 @@ private System.Windows.Forms.DataGridViewTextBoxColumn columnPhoneNumber; private System.Windows.Forms.DataGridViewCheckBoxColumn columnShowCallNotification; private System.Windows.Forms.DataGridViewTextBoxColumn columnRingTonePath; + private System.Windows.Forms.Label label1; } } \ No newline at end of file Modified: trunk/plugins/FritzBox/FritzBox/EditPhoneBook.cs =================================================================== --- trunk/plugins/FritzBox/FritzBox/EditPhoneBook.cs 2012-01-12 23:52:12 UTC (rev 4403) +++ trunk/plugins/FritzBox/FritzBox/EditPhoneBook.cs 2012-01-14 17:51:27 UTC (rev 4404) @@ -30,18 +30,22 @@ { uniqueID = phoneBookItem.UniqueID; name = phoneBookItem.Name; + showCallNotification = phoneBookItem.ShowCallNotification; + ringTonePath = phoneBookItem.RingTonePath; foreach (PhoneNumber phoneNumber in phoneBookItem.PhoneNumbers) { - type = phoneNumber.type; - number = phoneNumber.Value; + if (!String.IsNullOrEmpty(phoneNumber.Value)) + { + type = phoneNumber.type; + number = phoneNumber.Value; + + dataGridView.Rows.Add(uniqueID, name, type, number, showCallNotification, ringTonePath); + } } + } - showCallNotification = phoneBookItem.ShowCallNotification; - ringTonePath = phoneBookItem.RingTonePath; - - dataGridView.Rows.Add(uniqueID, name, type, number, showCallNotification, ringTonePath); - } + label1.Text = dataGridView.Rows.Count + " phone numbers"; } private void EditPhoneBook_Load(object sender, EventArgs e) @@ -86,12 +90,27 @@ { case 4: contact.ShowCallNotification = (bool)newValue; + + // update "Show call notification" field in all rows + for (int i = 0; i < dataGridView.Rows.Count; i++) + { + dataGridView.Rows[i].Cells[4].Value = phoneBook.Items[dataGridView.Rows[i].Cells[0].Value.ToString()].ShowCallNotification; + } + break; case 5: contact.RingTonePath = (string)newValue; + + // update "Ring tone path" field in all rows + for (int i = 0; i < dataGridView.Rows.Count; i++) + { + dataGridView.Rows[i].Cells[5].Value = phoneBook.Items[dataGridView.Rows[i].Cells[0].Value.ToString()].RingTonePath; + } + break; } + // transfer changed contact to phone book phoneBook.EditItem(contact); } @@ -100,6 +119,10 @@ dataGridView.EndEdit(); // confirm open table changes phoneBook.SavePhoneBookToXMLFile(); + + // unregister event monitors + this.dataGridView.SelectionChanged -= new System.EventHandler(this.dataGridView_SelectionChanged); + dataGridView.CellValueChanged -= new DataGridViewCellEventHandler(dataGridView_CellValueChanged); } } } Modified: trunk/plugins/FritzBox/FritzBox/FritzBox.cs =================================================================== --- trunk/plugins/FritzBox/FritzBox/FritzBox.cs 2012-01-12 23:52:12 UTC (rev 4403) +++ trunk/plugins/FritzBox/FritzBox/FritzBox.cs 2012-01-14 17:51:27 UTC (rev 4404) @@ -967,7 +967,7 @@ if (voiceBoxItem.isNew > 0) { - if (lastNewCallerName == "") lastNewCallerName = caller.PhoneBookItem.Name; + if (lastNewCallerName == "" && caller.PhoneBookItem != null) lastNewCallerName = caller.PhoneBookItem.Name; newVoiceBoxItemsCount++; } Modified: trunk/plugins/FritzBox/FritzBox/FritzManager/PhoneBook.cs =================================================================== --- trunk/plugins/FritzBox/FritzBox/FritzManager/PhoneBook.cs 2012-01-12 23:52:12 UTC (rev 4403) +++ trunk/plugins/FritzBox/FritzBox/FritzManager/PhoneBook.cs 2012-01-14 17:51:27 UTC (rev 4404) @@ -86,6 +86,7 @@ if (normalizePhoneNumber(phoneNumber.Value) == normalizePhoneNumber(caller.PhoneNumber)) { if (Settings.ExtensiveLogging) Log.Info("Caller is identified by phone book as {0}", phoneBookItem.Name); + caller.PhoneBookItem = phoneBookItem; return caller; } @@ -160,9 +161,8 @@ { XmlSerializer xmlSerializer = new XmlSerializer(typeof(FritzPhoneBooks)); fritzPhoneBooks = (FritzPhoneBooks)xmlSerializer.Deserialize(new StringReader(fritzPhoneBooksSerialized)); - FritzManager.PhoneBook fritzPhoneBook = fritzPhoneBooks.Items[0]; // always choose first phone book - PhoneBookItem tempPhoneBookItem; + PhoneBookItem newPhoneBookItem; bool updateRequired, contactFound; string name, uniqueID = null, imageURL; @@ -186,11 +186,15 @@ if (phoneBook.ContainsKey(uniqueID)) { // check for differences + // ...on name and image URL fields + if (phoneBook[uniqueID].Name != name || imageURL != phoneBook[uniqueID].ImageURL) updateRequired = true; + + // ...on phone numbers for (int i = 0; i < contact.telephony.Length; i++) { try { - if (phoneBook[uniqueID].Name != name || !contact.telephony[i].Equals(phoneBook[uniqueID].PhoneNumbers[i]) || imageURL != phoneBook[uniqueID].ImageURL) updateRequired = true; + if (!contact.telephony[i].Equals(phoneBook[uniqueID].PhoneNumbers[i])) updateRequired = true; } catch { @@ -204,6 +208,7 @@ if (updateRequired) { if (Settings.ExtensiveLogging) Log.Info("Updating contact " + phoneBook[uniqueID].Name); + else Log.Info("Updating contact"); phoneBook[uniqueID].Name = name; phoneBook[uniqueID].PhoneNumbers = contact.telephony; @@ -215,14 +220,15 @@ else { if (Settings.ExtensiveLogging) Log.Info("Adding contact " + name); + else Log.Info("Adding contact"); - tempPhoneBookItem = new PhoneBookItem(); - tempPhoneBookItem.UniqueID = uniqueID; - tempPhoneBookItem.Name = name; - tempPhoneBookItem.PhoneNumbers = contact.telephony; - tempPhoneBookItem.ImageURL = imageURL; + newPhoneBookItem = new PhoneBookItem(); + newPhoneBookItem.UniqueID = uniqueID; + newPhoneBookItem.Name = name; + newPhoneBookItem.PhoneNumbers = contact.telephony; + newPhoneBookItem.ImageURL = imageURL; - phoneBook.Add(uniqueID, tempPhoneBookItem); + phoneBook.Add(uniqueID, newPhoneBookItem); phoneBookSortIsRequired = true; phoneBookChanges = true; @@ -232,6 +238,7 @@ // check for obsolete entries in local phone book (not existing in FRITZ!Box phone book anymore) string[] contactsToDelete = new string[phoneBook.Count]; int k = 0; + string uniqueIDOnFritzBox; foreach (PhoneBookItem phoneBookItem in phoneBook.Values) { @@ -239,9 +246,15 @@ foreach (Contact contact in fritzPhoneBook.contact) { - uniqueID = phoneBookItem.UniqueID; + name = contact.person[0].realName; - if (uniqueID == phoneBookItem.UniqueID) + if (contact.uniqueid != null) uniqueID = phoneBookItem.UniqueID; + else uniqueID = phoneBookItem.Name; // in compatibility mode the name is used as unique ID + + if (fritzPhoneBook.contact[0].uniqueid != null) uniqueIDOnFritzBox = contact.uniqueid; + else uniqueIDOnFritzBox = name; // in compatibility mode the name is used as unique ID + + if (uniqueID == uniqueIDOnFritzBox) { contactFound = true; break; @@ -261,9 +274,13 @@ if (_uniqueID != null) { if (Settings.ExtensiveLogging) Log.Info("Removing contact " + phoneBook[_uniqueID].Name); + else Log.Info("Removing contact"); + phoneBook.Remove(_uniqueID); + phoneBookChanges = true; } + else break; } } @@ -317,10 +334,7 @@ return picturePath; } } - else - { - picturePath = Settings.SkinMediaFolderPath + @"\FritzBox\CallMonitor.Missing.png"; - } + else picturePath = Settings.SkinMediaFolderPath + @"\FritzBox\CallMonitor.Missing.png"; } return picturePath; Modified: trunk/plugins/FritzBox/FritzBox/bin/Release/FritzBox.dll =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/FritzBox/bin/Release/FritzBox.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/FritzBox/obj/Debug/FritzBox.dll =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/FritzBox/obj/Debug/FritzBox.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/FritzBox/obj/Debug/GenerateResource-ResGen.read.1.tlog =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/FritzBox/obj/Release/FritzBox.dll =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/FritzBox/obj/Release/FritzBox.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/MpeRelease/FritzBox.xmp2 =================================================================== --- trunk/plugins/FritzBox/MpeRelease/FritzBox.xmp2 2012-01-12 23:52:12 UTC (rev 4403) +++ trunk/plugins/FritzBox/MpeRelease/FritzBox.xmp2 2012-01-14 17:51:27 UTC (rev 4404) @@ -559,7 +559,7 @@ <Items> <CompatibleVersionItem> <MinRequiredVersion>1.1.0.0</MinRequiredVersion> - <DesignedForVersion>1.1.7.4402</DesignedForVersion> + <DesignedForVersion>1.1.7.4403</DesignedForVersion> </CompatibleVersionItem> </Items> </CompatibleVersion> @@ -582,7 +582,7 @@ <Major>0</Major> <Minor>4</Minor> <Build>0</Build> - <Revision>4402</Revision> + <Revision>4403</Revision> </Version> <ExtensionDescription>With FRITZ!Box Manager you can access several AVM FRITZ!Box informations from MediaPortal. @@ -596,7 +596,7 @@ <VersionDescription /> <DevelopmentStatus>Stable</DevelopmentStatus> <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=118&cf_id=24</OnlineLocation> - <ReleaseDate>2012-01-13T00:47:46.7613728+01:00</ReleaseDate> + <ReleaseDate>2012-01-14T18:41:32.7676728+01:00</ReleaseDate> <Tags>fritzbox, fritzbox manager, callmonitor</Tags> <Location>..\MpeRelease\FritzBox.mpe1</Location> <Params> Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Debug/FritzBox.dll =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Debug/FritzBox.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Debug/FritzBoxConfigTester.exe =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Debug/FritzBoxConfigTester.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Release/FritzBox.dll =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Release/FritzBox.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Release/FritzBoxConfigTester.exe =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/bin/Release/FritzBoxConfigTester.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Debug/FritzBoxConfigTester.exe =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Debug/FritzBoxConfigTester.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Debug/ResolveAssemblyReference.cache =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Release/FritzBoxConfigTester.exe =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Release/FritzBoxConfigTester.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxConfigTester/obj/Release/ResolveAssemblyReference.cache =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Debug/FritzBox.dll =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Debug/FritzBox.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Debug/FritzBoxDebugger.exe =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Debug/FritzBoxDebugger.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Release/FritzBox.dll =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Release/FritzBox.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Release/FritzBoxDebugger.exe =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/bin/Release/FritzBoxDebugger.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/obj/Debug/FritzBoxDebugger.exe =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/obj/Debug/FritzBoxDebugger.pdb =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/obj/Release/FritzBoxDebugger.exe =================================================================== (Binary files differ) Modified: trunk/plugins/FritzBox/Tools/FritzBoxDebugger/obj/Release/FritzBoxDebugger.pdb =================================================================== (Binary files differ) Added: trunk/plugins/FritzBox/releases/FritzBox_v0.4.0.4403.mpe1 =================================================================== (Binary files differ) Property changes on: trunk/plugins/FritzBox/releases/FritzBox_v0.4.0.4403.mpe1 ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: trunk/plugins/FritzBox/releases/update.xml =================================================================== --- trunk/plugins/FritzBox/releases/update.xml 2012-01-12 23:52:12 UTC (rev 4403) +++ trunk/plugins/FritzBox/releases/update.xml 2012-01-14 17:51:27 UTC (rev 4404) @@ -88,7 +88,7 @@ <Items> <CompatibleVersionItem> <MinRequiredVersion>1.1.0.0</MinRequiredVersion> - <DesignedForVersion>1.1.7.4402</DesignedForVersion> + <DesignedForVersion>1.1.7.4403</DesignedForVersion> </CompatibleVersionItem> </Items> </CompatibleVersion> @@ -111,7 +111,7 @@ <Major>0</Major> <Minor>4</Minor> <Build>0</Build> - <Revision>4402</Revision> + <Revision>4403</Revision> </Version> <ExtensionDescription>With FRITZ!Box Manager you can access several AVM FRITZ!Box informations from MediaPortal. @@ -125,7 +125,7 @@ <VersionDescription /> <DevelopmentStatus>Stable</DevelopmentStatus> <OnlineLocation>http://www.team-mediaportal.com/index.php?option=com_mtree&task=att_download&link_id=118&cf_id=24</OnlineLocation> - <ReleaseDate>2012-01-13T00:47:46.7613728+01:00</ReleaseDate> + <ReleaseDate>2012-01-14T18:41:32.7676728+01:00</ReleaseDate> <Tags>fritzbox, fritzbox manager, callmonitor</Tags> <Location>..\MpeRelease\FritzBox.mpe1</Location> <Params> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |