|
From: <nic...@us...> - 2013-10-24 16:10:33
|
Revision: 4666
http://sourceforge.net/p/mp-plugins/code/4666
Author: nicsergio
Date: 2013-10-24 16:10:30 +0000 (Thu, 24 Oct 2013)
Log Message:
-----------
Modified Paths:
--------------
trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/Files/ShortCuter.dll
trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/ShortCuter.xmp2
trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/ShortCuterInstall.png
trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/ShortCuterProgress.png
trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/Screenshots/Config.png
trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/Screenshots/LinksList.png
trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.ChangeLog.txt
trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.Update.xml
trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.mpe1
trunk/plugins/ShortCuter&SkinEditor/Source/MediaPortalPlugins.sln
trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/KeyboardHookWorker.cs
trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuter.csproj
trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuterForm.Designer.cs
trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuterForm.cs
Modified: trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/Files/ShortCuter.dll
===================================================================
(Binary files differ)
Modified: trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/ShortCuter.xmp2
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/ShortCuter.xmp2 2013-10-22 17:51:35 UTC (rev 4665)
+++ trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/ShortCuter.xmp2 2013-10-24 16:10:30 UTC (rev 4666)
@@ -267,7 +267,7 @@
<Version>
<Major>2</Major>
<Minor>0</Minor>
- <Build>0</Build>
+ <Build>1</Build>
<Revision>0</Revision>
</Version>
<ExtensionDescription>ShortCut'er let you create keyboard shortcuts to any MP screen, like TV, Videos, Music, etc..
@@ -278,7 +278,7 @@
<VersionDescription>This is a remake of the great process plugin ShortCut'er.</VersionDescription>
<DevelopmentStatus>Stable</DevelopmentStatus>
<OnlineLocation>https://svn.code.sf.net/p/mp-plugins/code/trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.mpe1</OnlineLocation>
- <ReleaseDate>2013-09-24T23:10:13.1876942+02:00</ReleaseDate>
+ <ReleaseDate>2013-10-22T23:10:13</ReleaseDate>
<Tags>shortcut keys keyboard</Tags>
<Location>..\ShortCuter.mpe1</Location>
<Params>
@@ -326,21 +326,21 @@
<Param1 />
<UpdateOption>OverwriteIfOlder</UpdateOption>
<LocalFileName>ShortCuterInstall.png</LocalFileName>
- <ZipFileName>Installer{CopyFile}\{86f4e397-73ad-4a1f-b9d7-01ead5bbd6f4}-ShortCuterInstall.png</ZipFileName>
+ <ZipFileName>Installer{CopyFile}\{d8f4c09b-ae8a-4ba5-89e0-fd7cf4fc8eec}-ShortCuterInstall.png</ZipFileName>
<DestinationFilename />
</FileItem>
<FileItem InstallType="CopyFile" SystemFile="true" Modified="true">
<Param1 />
<UpdateOption>OverwriteIfOlder</UpdateOption>
<LocalFileName>ShortCuterProgress.png</LocalFileName>
- <ZipFileName>Installer{CopyFile}\{13fc5a3a-ff6e-4e07-864c-60243cf112b4}-ShortCuterProgress.png</ZipFileName>
+ <ZipFileName>Installer{CopyFile}\{522dae79-d629-4d04-9496-8560d36d71ba}-ShortCuterProgress.png</ZipFileName>
<DestinationFilename />
</FileItem>
<FileItem InstallType="CopyFile" SystemFile="true" Modified="true">
<Param1 />
<UpdateOption>OverwriteIfOlder</UpdateOption>
<LocalFileName>ShortCuter.png</LocalFileName>
- <ZipFileName>Installer{CopyFile}\{51358564-55b2-4df5-9841-c400714709eb}-ShortCuter.png</ZipFileName>
+ <ZipFileName>Installer{CopyFile}\{42c804b6-2b5d-485c-8c03-83f89e4a1755}-ShortCuter.png</ZipFileName>
<DestinationFilename />
</FileItem>
</Items>
Modified: trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/ShortCuterInstall.png
===================================================================
(Binary files differ)
Modified: trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/ShortCuterProgress.png
===================================================================
(Binary files differ)
Modified: trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/Screenshots/Config.png
===================================================================
(Binary files differ)
Modified: trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/Screenshots/LinksList.png
===================================================================
(Binary files differ)
Modified: trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.ChangeLog.txt
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.ChangeLog.txt 2013-10-22 17:51:35 UTC (rev 4665)
+++ trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.ChangeLog.txt 2013-10-24 16:10:30 UTC (rev 4666)
@@ -1,3 +1,14 @@
-- V2.0.0 (01/10/2013)
+- V2.0.1 (10/24/2013)
+ > inserted skin links treeview display, to facilitate the search of the elements
+ > fixed bug in moving lines with hook active
+ > added button to save settings without exiting the page
+ > implemented control unsaved settings when closing form
+ > request confirmation with reset configuration
+ > improved display changes in the gridview
+ > automatic backup configuration file (ShortCuter.xml.old) during installation
+
+
+- V2.0.0 (10/01/2013)
+
Initial release: the old plugin has been completely rewritten
\ No newline at end of file
Modified: trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.Update.xml
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.Update.xml 2013-10-22 17:51:35 UTC (rev 4665)
+++ trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.Update.xml 2013-10-24 16:10:30 UTC (rev 4666)
@@ -117,5 +117,121 @@
</ProjectSettings>
<IsSkin>false</IsSkin>
</PackageClass>
+ <PackageClass>
+ <Version>2.0</Version>
+ <Groups>
+ <Items>
+ <GroupItem Name="Binaries">
+ <DisplayName>Binaries</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Binaries</Description>
+ <Files>
+ <Items />
+ </Files>
+ </GroupItem>
+ </Items>
+ </Groups>
+ <Sections>
+ <Items />
+ </Sections>
+ <Dependencies>
+ <Items>
+ <DependencyItem>
+ <Type>MediaPortal</Type>
+ <Id />
+ <MinVersion>
+ <Major>1</Major>
+ <Minor>1</Minor>
+ <Build>6</Build>
+ <Revision>27644</Revision>
+ </MinVersion>
+ <MaxVersion>
+ <Major>1</Major>
+ <Minor>1</Minor>
+ <Build>6</Build>
+ <Revision>27644</Revision>
+ </MaxVersion>
+ <WarnOnly>false</WarnOnly>
+ <Message>requires MediaPortal version 1.1.6.27644 to 1.1.6.27644.</Message>
+ <Name>MediaPortal</Name>
+ </DependencyItem>
+ </Items>
+ </Dependencies>
+ <PluginDependencies>
+ <Items>
+ <PluginDependencyItem AssemblyName="ShortCuter.dll">
+ <CompatibleVersion>
+ <Items>
+ <CompatibleVersionItem>
+ <MinRequiredVersion>1.1.6.27644</MinRequiredVersion>
+ <DesignedForVersion>1.1.6.27644</DesignedForVersion>
+ </CompatibleVersionItem>
+ </Items>
+ </CompatibleVersion>
+ <SubSystemsUsed>
+ <Items />
+ </SubSystemsUsed>
+ </PluginDependencyItem>
+ </Items>
+ </PluginDependencies>
+ <GeneralInfo>
+ <Name>ShortCut'er</Name>
+ <Id>8f7a9dd8-c238-4d3d-b50d-20b7ca8d296e</Id>
+ <Author>nicsergio</Author>
+ <HomePage>http://www.team-mediaportal.com/extensions/input-output/shortcuter</HomePage>
+ <ForumPage>http://forum.team-mediaportal.com/threads/shortcuter-plugin-v2.121721/</ForumPage>
+ <UpdateUrl>https://svn.code.sf.net/p/mp-plugins/code/trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.Update.xml</UpdateUrl>
+ <Version>
+ <Major>2</Major>
+ <Minor>0</Minor>
+ <Build>1</Build>
+ <Revision>0</Revision>
+ </Version>
+ <ExtensionDescription>ShortCut'er let you create keyboard shortcuts to any MP screen, like TV, Videos, Music, etc..
+
+For each shortcut you can define a keystroke combination such as:
+
+<CTRL> + <ALT> + <SHIFT> + <KEY></ExtensionDescription>
+ <VersionDescription>This is a remake of the great process plugin ShortCut'er.</VersionDescription>
+ <DevelopmentStatus>Stable</DevelopmentStatus>
+ <OnlineLocation>https://svn.code.sf.net/p/mp-plugins/code/trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.mpe1</OnlineLocation>
+ <ReleaseDate>2013-10-22T23:10:13</ReleaseDate>
+ <Tags>shortcut keys keyboard</Tags>
+ <Location>..\ShortCuter.mpe1</Location>
+ <Params>
+ <Items>
+ <SectionParam Name="Online Icon">
+ <Value>https://svn.code.sf.net/p/mp-plugins/code/trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/MpeProject/ShortCuter.png</Value>
+ <ValueType>String</ValueType>
+ <Description>The icon file of the package stored online (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Configuration file">
+ <Value>%Plugins%\process\ShortCuter.dll</Value>
+ <ValueType>Template</ValueType>
+ <Description>The file used to configure the extension.
+ If it has .exe extension the will be executed.
+ If it has .dll extension it's started like MP plugin configuration.</Description>
+ </SectionParam>
+ <SectionParam Name="Online Screenshots">
+ <Value>https://svn.code.sf.net/p/mp-plugins/code/trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/Screenshots/Config.png</Value>
+ <ValueType>String</ValueType>
+ <Description>Online stored screenshot urls separated by ; </Description>
+ </SectionParam>
+ <SectionParam Name="Force to uninstall on update">
+ <Value>YES</Value>
+ <ValueType>Bool</ValueType>
+ <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ </GeneralInfo>
+ <UniqueFileList>
+ <Items />
+ </UniqueFileList>
+ <ProjectSettings>
+ <FolderGroups />
+ </ProjectSettings>
+ <IsSkin>false</IsSkin>
+ </PackageClass>
</Items>
</ExtensionCollection>
\ No newline at end of file
Modified: trunk/plugins/ShortCuter&SkinEditor/Release/ShortCuter/ShortCuter.mpe1
===================================================================
(Binary files differ)
Modified: trunk/plugins/ShortCuter&SkinEditor/Source/MediaPortalPlugins.sln
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Source/MediaPortalPlugins.sln 2013-10-22 17:51:35 UTC (rev 4665)
+++ trunk/plugins/ShortCuter&SkinEditor/Source/MediaPortalPlugins.sln 2013-10-24 16:10:30 UTC (rev 4666)
@@ -47,7 +47,6 @@
{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Release|Any CPU.Build.0 = Release|Any CPU
{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
Modified: trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/KeyboardHookWorker.cs
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/KeyboardHookWorker.cs 2013-10-22 17:51:35 UTC (rev 4665)
+++ trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/KeyboardHookWorker.cs 2013-10-24 16:10:30 UTC (rev 4666)
@@ -62,14 +62,18 @@
{
if (hookThread.IsAlive)
{
- if (hookForm != null)
- hookForm.Invoke((MethodInvoker)delegate //--> invocazione (sul thread secondario) del delegato per stoppare il thread
- {
- if (keyboardHook != null)
- keyboardHook = null; //--> distruzione hook
- Application.ExitThread(); //--> terminazione thread secondario
- });
- hookThread.Join(); //--> attesa sul thread principale della terminazione del thread secondario
+ try
+ {
+ if (hookForm != null)
+ hookForm.Invoke((MethodInvoker)delegate //--> invocazione (sul thread secondario) del delegato per stoppare il thread
+ {
+ if (keyboardHook != null)
+ keyboardHook = null; //--> distruzione hook
+ Application.ExitThread(); //--> terminazione thread secondario
+ });
+ hookThread.Join(); //--> attesa sul thread principale della terminazione del thread secondario
+ }
+ catch { }
}
hookThread = null;
}
Modified: trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuter.csproj
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuter.csproj 2013-10-22 17:51:35 UTC (rev 4665)
+++ trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuter.csproj 2013-10-24 16:10:30 UTC (rev 4666)
@@ -6,7 +6,7 @@
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{20CEBE32-A39E-4A61-B2BD-90BF16E2AEE8}</ProjectGuid>
- <OutputType>WinExe</OutputType>
+ <OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ProcessPlugins.ShortCuter</RootNamespace>
<AssemblyName>ShortCuter</AssemblyName>
Modified: trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuterForm.Designer.cs
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuterForm.Designer.cs 2013-10-22 17:51:35 UTC (rev 4665)
+++ trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuterForm.Designer.cs 2013-10-24 16:10:30 UTC (rev 4666)
@@ -82,6 +82,7 @@
this.shortCutsDataGridView.ColumnHeadersHeight = 30;
this.shortCutsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.shortCutsDataGridView.Location = new System.Drawing.Point(12, 253);
+ this.shortCutsDataGridView.MultiSelect = false;
this.shortCutsDataGridView.Name = "shortCutsDataGridView";
this.shortCutsDataGridView.RowHeadersWidth = 20;
this.shortCutsDataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
Modified: trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuterForm.cs
===================================================================
--- trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuterForm.cs 2013-10-22 17:51:35 UTC (rev 4665)
+++ trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuterForm.cs 2013-10-24 16:10:30 UTC (rev 4666)
@@ -101,6 +101,7 @@
soundEffectColumn.HeaderText = "Sound Effect";
soundEffectColumn.Width = 130;
soundEffectColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
+ soundEffectColumn.FlatStyle = FlatStyle.Flat; //--> necessario con Win7 per aggiornare il colore di sfondo se selezionato
soundEffectColumn.DataSource = mySkin.SkinSounds;
shortCutsDataGridView.Columns.Add(captionColumn);
@@ -186,6 +187,7 @@
{
forceCell = true;
int index = shortCutsDataGridView.CurrentRow.Index;
+ shortCutsDataGridView.CurrentCell = shortCutsDataGridView[0, index]; //Importante cambiare la colonna prima di muovere la riga se posizionati su KeyCode (Hook attivo)
ShortCut sc = myShortCuts.Items[index];
myShortCuts.Items.RemoveAt(index);
if (dirUp)
@@ -193,8 +195,9 @@
else
index++;
myShortCuts.Items.Insert(index, sc);
- //shortCutsDataGridView.CurrentCell = shortCutsDataGridView[shortCutsDataGridView.CurrentCell.ColumnIndex, index];
shortCutsDataGridView.CurrentCell = shortCutsDataGridView[0, index];
+ shortCutsDataGridView.Rows[index].Selected = true;
+ shortCutsDataGridView.Focus();
forceCell = false;
}
}
@@ -264,7 +267,7 @@
{
if (unsavedChanges) //Se presenti modifiche non salvate
{ //Richiesta conferma per chiusura applicazione
- if (!Tools.QuestionMessage("Closing the application will lose unsaved changes...\nYou want to continue?"))
+ if (!Tools.QuestionMessage("Unsaved changes will be lost...\nDo you want to proceed?"))
{
e.Cancel = true; //--> annullamento chiusura form
return;
@@ -341,6 +344,7 @@
ShortCut sc = new ShortCut();
myShortCuts.Items.Add(sc);
shortCutsDataGridView.CurrentCell = shortCutsDataGridView[0, shortCutsDataGridView.RowCount - 1];
+ shortCutsDataGridView.Rows[shortCutsDataGridView.RowCount - 1].Selected = true;
}
private void rowRemoveButton_Click(object sender, EventArgs e)
{
@@ -355,7 +359,6 @@
{
MoveItemList(true);
}
-
private void rowDownButton_Click(object sender, EventArgs e)
{
MoveItemList(false);
@@ -450,7 +453,7 @@
}
private void resetButton_Click(object sender, EventArgs e)
{
- if (Tools.QuestionMessage("Configuration data will be overwritten...\nYou want to continue?"))
+ if (Tools.QuestionMessage("Configuration data will be overwritten...\nDo you want to proceed?"))
{
myShortCuts.LoadConfig(true);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|