|
From: <kro...@us...> - 2010-11-07 16:52:29
|
Revision: 3906
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3906&view=rev
Author: kroko_koenig
Date: 2010-11-07 16:52:18 +0000 (Sun, 07 Nov 2010)
Log Message:
-----------
initial release
Added Paths:
-----------
trunk/plugins/BrowseTheWeb/Release/
trunk/plugins/BrowseTheWeb/Release/BrowseTheWeb.mpe1
trunk/plugins/BrowseTheWeb/Release/BrowseTheWeb.xmp2
trunk/plugins/BrowseTheWeb/Release/Files/
trunk/plugins/BrowseTheWeb/Release/Files/unzip.exe
trunk/plugins/BrowseTheWeb/Release/Files/xulrunner.zip
trunk/plugins/BrowseTheWeb/Release/Plugins/
trunk/plugins/BrowseTheWeb/Release/Plugins/Windows/
trunk/plugins/BrowseTheWeb/Release/Plugins/Windows/BrowseTheWeb.dll
trunk/plugins/BrowseTheWeb/Release/Plugins/Windows/HtmlAgilityPack.dll
trunk/plugins/BrowseTheWeb/Release/Plugins/Windows/Skybound.Gecko.dll
trunk/plugins/BrowseTheWeb/Release/Skin/
trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/
trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/Media/
trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/Media/hover_browsetheweb.png
trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/browsetheweb.xml
trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/browsethewebbook.xml
trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/
trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/Media/
trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/Media/hover_browsetheweb.png
trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/browsetheweb.xml
trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/browsethewebbook.xml
trunk/plugins/BrowseTheWeb/Release/bookmarks.jpg
trunk/plugins/BrowseTheWeb/Release/browser1.jpg
trunk/plugins/BrowseTheWeb/Release/browser2.jpg
trunk/plugins/BrowseTheWeb/Release/browserOSD.jpg
trunk/plugins/BrowseTheWeb/Release/readme.txt
trunk/plugins/BrowseTheWeb/Release/setup1.jpg
trunk/plugins/BrowseTheWeb/Release/setup2.jpg
trunk/plugins/BrowseTheWeb/Release/setup3.jpg
trunk/plugins/BrowseTheWeb/Release/setup4.jpg
trunk/plugins/BrowseTheWeb/Source/
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Bookmark.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/BrowseTheWeb.csproj
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/BrowseTheWeb.csproj.user
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GUIBookmark.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GUIPlugin.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GetFolder.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GetFolder.designer.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GetFolder.resx
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GetUrl.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GetUrl.designer.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GetUrl.resx
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/HtmlInputType.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/HtmlLinkNumber.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/OSD_LinkId.Designer.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/OSD_LinkId.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/OSD_LinkId.resx
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Properties/
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Properties/AssemblyInfo.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Properties/Resources.Designer.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Properties/Resources.resx
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Setup.Designer.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Setup.cs
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Setup.resx
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/res/
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/res/delete-icon.png
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/res/edit-icon.png
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/res/fav-b-icon.png
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/res/file-icon.png
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/res/folder-icon.png
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/todo.txt
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/xulrunner.png
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/xulrunnerOff.png
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb.sln
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb.suo
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/AutoJSContext.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/ChromeDialog.Designer.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/ChromeDialog.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/ChromeDialog.resx
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/ConfirmDialog.Designer.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/ConfirmDialog.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/ConfirmDialog.resx
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/GeckoDom.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/GeckoDomEvents.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/GeckoFX.snk
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/GeckoHistoryEntry.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/GeckoPreferences.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/GeckoResponse.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/GeckoSelection.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/GeckoStyle.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/GeckoWebBrowser.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/PasswordDialog.Designer.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/PasswordDialog.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/PasswordDialog.resx
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/PromptDialog.Designer.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/PromptDialog.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/PromptDialog.resx
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/PromptService.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/Properties/
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/Properties/AssemblyInfo.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/PropertiesDialog.Designer.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/PropertiesDialog.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/PropertiesDialog.resx
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/Readme.txt
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/Skybound.Gecko.csproj
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/Skybound.Gecko.csproj.user
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/Skybound.Gecko.sln
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/Skybound.Gecko.suo
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/Xpcom.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsIContentViewer.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsIDOMStorage.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsIDocShell.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsIDocShellLoadInfo.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsIDocumentCharsetInfo.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsIMarkupDocumentViewer.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsISHEntry.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsISecureBrowserUI.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsInterfaces.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsString.cs
trunk/plugins/BrowseTheWeb/Source/Skybound.Gecko/nsURI.cs
Added: trunk/plugins/BrowseTheWeb/Release/BrowseTheWeb.mpe1
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/BrowseTheWeb.mpe1
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/BrowseTheWeb.xmp2
===================================================================
--- trunk/plugins/BrowseTheWeb/Release/BrowseTheWeb.xmp2 (rev 0)
+++ trunk/plugins/BrowseTheWeb/Release/BrowseTheWeb.xmp2 2010-11-07 16:52:18 UTC (rev 3906)
@@ -0,0 +1,434 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PackageClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <Version>2.0</Version>
+ <Groups>
+ <Items>
+ <GroupItem Name="Default">
+ <ParentGroup />
+ <DisplayName>Default</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Default</Description>
+ <Files>
+ <Items>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Files\xulrunner.zip</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{c9cda48b-d308-439e-9997-5d29e02e898d}-xulrunner.zip</ZipFileName>
+ <DestinationFilename>%Cache%\xulrunner.zip</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Files\unzip.exe</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{f8239056-5461-4664-99ae-baedfed8cc25}-unzip.exe</ZipFileName>
+ <DestinationFilename>%Cache%\unzip.exe</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Plugins\Windows\BrowseTheWeb.dll</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{1506466c-26c2-4a8f-bbe3-20b5be6eefdf}-BrowseTheWeb.dll</ZipFileName>
+ <DestinationFilename>%Plugins%\Windows\BrowseTheWeb.dll</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Plugins\Windows\HtmlAgilityPack.dll</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{3c35cede-0ef8-455e-8ea5-f341e7d0398e}-HtmlAgilityPack.dll</ZipFileName>
+ <DestinationFilename>%Plugins%\Windows\HtmlAgilityPack.dll</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Plugins\Windows\Skybound.Gecko.dll</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{a57471fc-683c-417b-8a58-b57de15ace66}-Skybound.Gecko.dll</ZipFileName>
+ <DestinationFilename>%Plugins%\Windows\Skybound.Gecko.dll</DestinationFilename>
+ </FileItem>
+ </Items>
+ </Files>
+ </GroupItem>
+ <GroupItem Name="Blue3">
+ <DisplayName>Blue3</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Blue3</Description>
+ <Files>
+ <Items>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3\browsetheweb.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{f5702498-f4fe-4d93-a3e4-147b4259f022}-browsetheweb.xml</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3\browsetheweb.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3\browsethewebbook.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{ff6dcc58-3934-4b17-9304-ba0969411580}-browsethewebbook.xml</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3\browsethewebbook.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3\Media\hover_browsetheweb.png</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{a8509fba-5a4e-45c8-ad6c-5c6a50931b30}-hover_browsetheweb.png</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3\Media\hover_browsetheweb.png</DestinationFilename>
+ </FileItem>
+ </Items>
+ </Files>
+ </GroupItem>
+ <GroupItem Name="Blue3wide">
+ <DisplayName>Blue3wide</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Blue3wide</Description>
+ <Files>
+ <Items>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3wide\browsetheweb.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{682a1fa4-16db-4bc3-961f-e05e59ce1787}-browsetheweb.xml</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3wide\browsetheweb.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3wide\browsethewebbook.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{d4d67df8-81ad-4d73-b98e-350693b4644b}-browsethewebbook.xml</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3wide\browsethewebbook.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3wide\Media\hover_browsetheweb.png</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{261f9f9e-cace-4e95-b709-c1db6c350606}-hover_browsetheweb.png</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3wide\Media\hover_browsetheweb.png</DestinationFilename>
+ </FileItem>
+ </Items>
+ </Files>
+ </GroupItem>
+ </Items>
+ </Groups>
+ <Sections>
+ <Items>
+ <SectionItem Guid="0e2b5186-4083-4773-992d-669cce5d27f7" Name="Welcome Screen" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Header text">
+ <Value>Welcome to the Extension Installer for [Name]</Value>
+ <ValueType>String</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Description">
+ <Value>This will install [Name] version [Version] on your computer.
+It is recommended that you close all other applications before continuing.
+Click Next to continue or Cancel to exit Setup.</Value>
+ <ValueType>String</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Left part image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Header image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>Image in upper right part</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <Actions>
+ <Items />
+ </Actions>
+ <IncludedGroups />
+ <PanelName>Welcome Screen</PanelName>
+ <WizardButtonsEnum>NextCancel</WizardButtonsEnum>
+ </SectionItem>
+ <SectionItem Guid="f787cbf1-9aaa-46eb-8e68-d8a0eb6dd35d" Name="Install Section" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Header Title">
+ <Value>Install files</Value>
+ <ValueType>String</ValueType>
+ <Description>Header title</Description>
+ </SectionParam>
+ <SectionParam Name="Header description">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Description of section, shown in under section title</Description>
+ </SectionParam>
+ <SectionParam Name="Header image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>Image in upper right part</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <Actions>
+ <Items>
+ <ActionItem Name="InstallFiles" ActionType="InstallFiles" ConditionGroup="Default">
+ <Params>
+ <Items />
+ </Params>
+ <ExecuteLocation>AfterPanelShow</ExecuteLocation>
+ </ActionItem>
+ </Items>
+ </Actions>
+ <IncludedGroups />
+ <PanelName>Install Section</PanelName>
+ <WizardButtonsEnum>Next</WizardButtonsEnum>
+ </SectionItem>
+ <SectionItem Guid="e0c3a914-a347-4f81-ad22-0c87e70ecbe6" Name="Install Section" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Header Title">
+ <Value>Configure plugin</Value>
+ <ValueType>String</ValueType>
+ <Description>Header title</Description>
+ </SectionParam>
+ <SectionParam Name="Header description">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Description of section, shown in under section title</Description>
+ </SectionParam>
+ <SectionParam Name="Header image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>Image in upper right part</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <Actions>
+ <Items>
+ <ActionItem Name="ConfigurePlugin" ActionType="ConfigurePlugin" ConditionGroup="Default">
+ <Params>
+ <Items>
+ <SectionParam Name="Path to plugin">
+ <Value>%Plugins%\windows\browsetheweb.dll</Value>
+ <ValueType>Template</ValueType>
+ <Description>Path to the plugin like
+ %Plugins%\Windows\plugin.dll</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <ExecuteLocation>AfterPanelShow</ExecuteLocation>
+ </ActionItem>
+ </Items>
+ </Actions>
+ <IncludedGroups />
+ <PanelName>Install Section</PanelName>
+ <WizardButtonsEnum>Next</WizardButtonsEnum>
+ </SectionItem>
+ <SectionItem Guid="67389f75-db2b-4081-b553-91600f1cbcca" Name="Setup Complete" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Header text">
+ <Value>The Extension Installer Wizard has successfully installed [Name].</Value>
+ <ValueType>String</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Left part image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Show radio buttons">
+ <Value />
+ <ValueType>Bool</ValueType>
+ <Description>Use radiobutton in place of combobox</Description>
+ </SectionParam>
+ <SectionParam Name="Header image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>Image in upper right part</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <Actions>
+ <Items />
+ </Actions>
+ <IncludedGroups />
+ <PanelName>Setup Complete</PanelName>
+ <WizardButtonsEnum>Finish</WizardButtonsEnum>
+ </SectionItem>
+ </Items>
+ </Sections>
+ <Dependencies>
+ <Items />
+ </Dependencies>
+ <GeneralInfo>
+ <Name>Browse The Web</Name>
+ <Id>2869e8cd-579e-4fdb-ad6d-19ff5bd4e46f</Id>
+ <Author>Mark Koenig (kroko) 2010</Author>
+ <HomePage>http://www.team-mediaportal.com</HomePage>
+ <ForumPage />
+ <UpdateUrl />
+ <Version>
+ <Major>0</Major>
+ <Minor>1</Minor>
+ <Build>0</Build>
+ <Revision>0</Revision>
+ </Version>
+ <ExtensionDescription>Webrowser based on xulrunner and the "Gecko Browser" / " Webbrowser.
+
+</ExtensionDescription>
+ <VersionDescription>inital release</VersionDescription>
+ <DevelopmentStatus>Stable</DevelopmentStatus>
+ <OnlineLocation />
+ <ReleaseDate>2010-11-06T15:09:04.5514802+01:00</ReleaseDate>
+ <Tags>webbrowser, internet, web</Tags>
+ <Location>C:\AAA\BrowseTheWeb\Release\BrowseTheWeb.mpe1</Location>
+ <Params>
+ <Items>
+ <SectionParam Name="Icon">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>The icon file of the package (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Online Icon">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>The icon file of the package stored online (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Configuration file">
+ <Value />
+ <ValueType>Template</ValueType>
+ <Description>The file used to configure the extension.
+ If have .exe extension the will be executed
+ If have .dll extension used like MP plugin configuration</Description>
+ </SectionParam>
+ <SectionParam Name="Online Screenshots">
+ <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>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Files\xulrunner.zip</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{c9cda48b-d308-439e-9997-5d29e02e898d}-xulrunner.zip</ZipFileName>
+ <DestinationFilename>%Cache%\xulrunner.zip</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Files\unzip.exe</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{f8239056-5461-4664-99ae-baedfed8cc25}-unzip.exe</ZipFileName>
+ <DestinationFilename>%Cache%\unzip.exe</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Plugins\Windows\BrowseTheWeb.dll</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{1506466c-26c2-4a8f-bbe3-20b5be6eefdf}-BrowseTheWeb.dll</ZipFileName>
+ <DestinationFilename>%Plugins%\Windows\BrowseTheWeb.dll</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Plugins\Windows\HtmlAgilityPack.dll</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{3c35cede-0ef8-455e-8ea5-f341e7d0398e}-HtmlAgilityPack.dll</ZipFileName>
+ <DestinationFilename>%Plugins%\Windows\HtmlAgilityPack.dll</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Plugins\Windows\Skybound.Gecko.dll</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{a57471fc-683c-417b-8a58-b57de15ace66}-Skybound.Gecko.dll</ZipFileName>
+ <DestinationFilename>%Plugins%\Windows\Skybound.Gecko.dll</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3\browsetheweb.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{f5702498-f4fe-4d93-a3e4-147b4259f022}-browsetheweb.xml</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3\browsetheweb.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3\browsethewebbook.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{ff6dcc58-3934-4b17-9304-ba0969411580}-browsethewebbook.xml</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3\browsethewebbook.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3\Media\hover_browsetheweb.png</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{a8509fba-5a4e-45c8-ad6c-5c6a50931b30}-hover_browsetheweb.png</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3\Media\hover_browsetheweb.png</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3wide\browsetheweb.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{682a1fa4-16db-4bc3-961f-e05e59ce1787}-browsetheweb.xml</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3wide\browsetheweb.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3wide\browsethewebbook.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{d4d67df8-81ad-4d73-b98e-350693b4644b}-browsethewebbook.xml</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3wide\browsethewebbook.xml</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>Skin\Blue3wide\Media\hover_browsetheweb.png</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{261f9f9e-cace-4e95-b709-c1db6c350606}-hover_browsetheweb.png</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3wide\Media\hover_browsetheweb.png</DestinationFilename>
+ </FileItem>
+ </Items>
+ </UniqueFileList>
+ <ProjectSettings>
+ <FolderGroups>
+ <FolderGroup InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName />
+ <ZipFileName>Installer{CopyFile}\{65cd0963-1418-4979-8453-c97cd8dcb02e}-</ZipFileName>
+ <DestinationFilename>%Plugins%\Windows</DestinationFilename>
+ <Folder>Plugins\Windows</Folder>
+ <Group>Default</Group>
+ <Recursive>true</Recursive>
+ </FolderGroup>
+ <FolderGroup InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName />
+ <ZipFileName>Installer{CopyFile}\{8b965339-4bf4-4bd8-af6b-3e88ccd8dcc5}-</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3wide</DestinationFilename>
+ <Folder>Skin\Blue3wide</Folder>
+ <Group>Blue3wide</Group>
+ <Recursive>true</Recursive>
+ </FolderGroup>
+ <FolderGroup InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName />
+ <ZipFileName>Installer{CopyFile}\{498c8a98-0745-46db-b751-8090812bde0d}-</ZipFileName>
+ <DestinationFilename>%Skin%\Blue3</DestinationFilename>
+ <Folder>Skin\Blue3</Folder>
+ <Group>Blue3</Group>
+ <Recursive>true</Recursive>
+ </FolderGroup>
+ </FolderGroups>
+ <ProjectFilename>C:\AAA\BrowseTheWeb\Release\BrowseTheWeb.xmp2</ProjectFilename>
+ <UpdatePath1 />
+ <UpdatePath2 />
+ <UpdatePath3 />
+ </ProjectSettings>
+</PackageClass>
\ No newline at end of file
Added: trunk/plugins/BrowseTheWeb/Release/Files/unzip.exe
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/Files/unzip.exe
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/Files/xulrunner.zip
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/Files/xulrunner.zip
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/Plugins/Windows/BrowseTheWeb.dll
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/Plugins/Windows/BrowseTheWeb.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/Plugins/Windows/HtmlAgilityPack.dll
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/Plugins/Windows/HtmlAgilityPack.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/Plugins/Windows/Skybound.Gecko.dll
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/Plugins/Windows/Skybound.Gecko.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/Media/hover_browsetheweb.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/Media/hover_browsetheweb.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/browsetheweb.xml
===================================================================
--- trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/browsetheweb.xml (rev 0)
+++ trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/browsetheweb.xml 2010-11-07 16:52:18 UTC (rev 3906)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<window>
+ <id>54537689</id>
+ <defaultcontrol>2</defaultcontrol>
+ <allowoverlay>no</allowoverlay>
+ <disabletopbar>true</disabletopbar>
+ <controls>
+ <control>
+ <description>background image</description>
+ <type>image</type>
+ <id>1</id>
+ <width>720</width>
+ <height>576</height>
+ </control>
+
+ <control>
+ <description>Status label</description>
+ <type>label</type>
+ <id>9</id>
+ <posX>7</posX>
+ <posY>540</posY>
+ <label>#btWeb.status</label>
+ <font>font12</font>
+ <align>left</align>
+ <textcolor>ffffffff</textcolor>
+ </control>
+ <control>
+ <description>Link id label</description>
+ <type>label</type>
+ <id>9</id>
+ <posX>900</posX>
+ <posY>540</posY>
+ <label>#btWeb.linkid</label>
+ <font>font10</font>
+ <align>left</align>
+ <textcolor>ffffffff</textcolor>
+ </control>
+
+ </controls>
+</window>
\ No newline at end of file
Added: trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/browsethewebbook.xml
===================================================================
--- trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/browsethewebbook.xml (rev 0)
+++ trunk/plugins/BrowseTheWeb/Release/Skin/Blue3/browsethewebbook.xml 2010-11-07 16:52:18 UTC (rev 3906)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<window>
+ <id>54537689</id>
+ <defaultcontrol>50</defaultcontrol>
+ <allowoverlay>yes</allowoverlay>
+ <autohidetopbar>yes</autohidetopbar>
+ <controls>
+
+ <control>
+ <description>BackGround</description>
+ <type>image</type>
+ <id>1</id>
+ <posX>0</posX>
+ <posY>0</posY>
+ <width>720</width>
+ <height>576</height>
+ <texture>background.png</texture>
+ </control>
+
+
+ <control>
+ <description>listcontrol</description>
+ <type>listcontrol</type>
+ <id>50</id>
+ <posX>120</posX>
+ <posY>120</posY>
+ <width>480</width>
+ <height>450</height>
+ <animation effect="zoom" start="20,20" end="100,100" center="640,360" time="250">WindowOpen</animation>
+ <animation effect="zoom" start="100,100" end="1,1" center="640,360" time="250">WindowClose</animation>
+ </control>
+
+ </controls>
+</window>
\ No newline at end of file
Added: trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/Media/hover_browsetheweb.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/Media/hover_browsetheweb.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/browsetheweb.xml
===================================================================
--- trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/browsetheweb.xml (rev 0)
+++ trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/browsetheweb.xml 2010-11-07 16:52:18 UTC (rev 3906)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<window>
+ <id>54537689</id>
+ <defaultcontrol>2</defaultcontrol>
+ <allowoverlay>no</allowoverlay>
+ <disabletopbar>true</disabletopbar>
+ <controls>
+ <control>
+ <description>background image</description>
+ <type>image</type>
+ <id>1</id>
+ <width>1280</width>
+ <height>720</height>
+ </control>
+
+ <control>
+ <description>Status label</description>
+ <type>label</type>
+ <id>9</id>
+ <posX>7</posX>
+ <posY>690</posY>
+ <label>#btWeb.status</label>
+ <font>font12</font>
+ <align>left</align>
+ <textcolor>ffffffff</textcolor>
+ </control>
+ <control>
+ <description>Link id label</description>
+ <type>label</type>
+ <id>9</id>
+ <posX>900</posX>
+ <posY>690</posY>
+ <label>#btWeb.linkid</label>
+ <font>font10</font>
+ <align>left</align>
+ <textcolor>ffffffff</textcolor>
+ </control>
+
+ </controls>
+</window>
\ No newline at end of file
Added: trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/browsethewebbook.xml
===================================================================
--- trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/browsethewebbook.xml (rev 0)
+++ trunk/plugins/BrowseTheWeb/Release/Skin/Blue3wide/browsethewebbook.xml 2010-11-07 16:52:18 UTC (rev 3906)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<window>
+ <id>54537689</id>
+ <defaultcontrol>50</defaultcontrol>
+ <allowoverlay>yes</allowoverlay>
+ <autohidetopbar>yes</autohidetopbar>
+ <controls>
+
+ <control>
+ <description>BackGround</description>
+ <type>image</type>
+ <id>1</id>
+ <posX>0</posX>
+ <posY>0</posY>
+ <width>1280</width>
+ <height>720</height>
+ <texture>background.png</texture>
+ </control>
+
+
+ <control>
+ <description>listcontrol</description>
+ <type>listcontrol</type>
+ <id>50</id>
+ <posX>120</posX>
+ <posY>120</posY>
+ <width>580</width>
+ <height>450</height>
+ <animation effect="zoom" start="20,20" end="100,100" center="640,360" time="250">WindowOpen</animation>
+ <animation effect="zoom" start="100,100" end="1,1" center="640,360" time="250">WindowClose</animation>
+ </control>
+
+ </controls>
+</window>
\ No newline at end of file
Added: trunk/plugins/BrowseTheWeb/Release/bookmarks.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/bookmarks.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/browser1.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/browser1.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/browser2.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/browser2.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/browserOSD.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/browserOSD.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/readme.txt
===================================================================
--- trunk/plugins/BrowseTheWeb/Release/readme.txt (rev 0)
+++ trunk/plugins/BrowseTheWeb/Release/readme.txt 2010-11-07 16:52:18 UTC (rev 3906)
@@ -0,0 +1,68 @@
+[Plugin] Browse The Web
+
+Hi there,
+
+yes I know there are other webbrowser plugins as well, but I found both of them have their advantages but I missed some features.
+Also I like to play with HTML and web content so I started to biuld my own webbrowser.
+
+see
+
+FirefoxIntegrator
+http://forum.team-mediaportal.com/mediaportal-plugins-47/webbrowser-firefoxintegrator-48903/
+
+Author : zunixnuz
+
+or
+
+GeckoBrowser
+http://forum.team-mediaportal.com/mediaportal-plugins-47/geckobrowser-v0-1-21-04-2010-new-70005/
+
+Author : edsche
+
+
+Anyhow I like the design of the GeckoBrowser browsing by ID. Also I a fan of fullscreen action. And of course we need bookmarks...
+So because of missing features I started to play arround. Very interessting is the Skybound.Gecko engine. I just add the zoom function
+and ScrollTo funtion to the interface and this works great.
+
+So what is this plugin for ? Browse the web and have fun !
+
+Features:
+
+Set homepage / blank screen
+Edit/Save bookmarks in the setup
+Save bookmark inside the MP
+Zomm in/out
+Move the window in all direction
+Set font / zoom size in setup
+Rename the plugin
+Alternate OSD to show selected link ID
+Optional show staus bar on bottom
+
+Keyboard / Remote layout:
+
+Keyboard Remote Function
+------------------------------------------------
+P Play select a url
+B Stop blank page
+Space Pause home page
+0-9 0-9 Select a link ID
+U # confirm link ID
+Page up P+ zoom out
+Page down P- zoom in
+F7 Step backw go backward
+F8 Step forw. go forward
+F9 Yellow show favorites
+R Rec add bookmark
+up up move up
+down down move down
+left left move left
+right right move right
+ESC ESC leave plugin
+M Mute toggle mute
+X Red toggle statusbar
+
+Thanks goes to the authors from the other plugins for many ideas.
+This is also using the xulrunner engine.
+
+Cheers
+kroko
\ No newline at end of file
Added: trunk/plugins/BrowseTheWeb/Release/setup1.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/setup1.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/setup2.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/setup2.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/setup3.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/setup3.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Release/setup4.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/BrowseTheWeb/Release/setup4.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Bookmark.cs
===================================================================
--- trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Bookmark.cs (rev 0)
+++ trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/Bookmark.cs 2010-11-07 16:52:18 UTC (rev 3906)
@@ -0,0 +1,332 @@
+#region Copyright (C) 2005-2010 Team MediaPortal
+
+/*
+ * Copyright (C) 2005-2010 Team MediaPortal
+ * http://www.team-mediaportal.com
+ *
+ * This Program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This Program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Make; see the file COPYING. If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ *
+ */
+#endregion
+
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Xml;
+using System.IO;
+using System.Windows.Forms;
+using System.Net;
+
+namespace BrowseTheWeb
+{
+ public class Bookmark
+ {
+ private static XmlTextWriter textWriter;
+ private static XmlDocument xmlDocument;
+
+ // main
+ public string Name = string.Empty;
+ public string Url = string.Empty;
+ // statistics
+ public int Visited = 0;
+ public DateTime LastVisited;
+ public DateTime Created = DateTime.Now;
+ // helper for folder / sub-folder
+ public bool isFolder = false;
+ public bool isSubFolder = false;
+
+ public static bool Save(TreeView Treeview, string Path)
+ {
+ bool result = false;
+
+ try
+ {
+ textWriter = new XmlTextWriter(Path, null);
+ textWriter.Formatting = Formatting.Indented;
+
+ textWriter.WriteStartDocument();
+ textWriter.WriteStartElement("Bookmarks");
+
+ foreach (TreeNode t in Treeview.Nodes[0].Nodes)
+ {
+ Bookmark bkm = (Bookmark)t.Tag;
+ if (bkm != null)
+ {
+ WriteOneEntry(bkm);
+
+ foreach (TreeNode sub in t.Nodes)
+ {
+ Bookmark bkm2 = (Bookmark)sub.Tag;
+ WriteOneEntry(bkm2);
+ }
+ }
+ }
+
+ textWriter.WriteEndElement();
+
+ textWriter.WriteEndDocument();
+ textWriter.Close();
+
+ result = true;
+ }
+ catch
+ {
+ // error
+ }
+ finally
+ {
+ if (textWriter != null) textWriter.Close();
+ }
+
+ return result;
+ }
+ public static void Load(TreeView Treeview, string Path)
+ {
+ Treeview.Nodes.Clear();
+
+ TreeNode main = Treeview.Nodes.Add("Bookmarks", "Bookmarks");
+ main.ImageIndex = 2;
+ main.SelectedImageIndex = 2;
+
+ try
+ {
+ xmlDocument = new XmlDocument();
+ xmlDocument.Load(Path);
+
+ TreeNode akt = new TreeNode();
+
+ XmlNodeList col = xmlDocument.GetElementsByTagName("Entry");
+ foreach (XmlNode node in col)
+ {
+ Bookmark bkm = GetData(node);
+
+ if (bkm.isFolder)
+ {
+ akt = main.Nodes.Add(bkm.Name);
+ akt.Tag = bkm;
+ akt.ImageIndex = 1;
+ akt.SelectedImageIndex = 1;
+ }
+ if (bkm.isSubFolder)
+ {
+ string name = bkm.Name.Replace("\0", "");
+ TreeNode sub = akt.Nodes.Add(name);
+ sub.Tag = bkm;
+ }
+ if ((!bkm.isFolder) && (!bkm.isSubFolder))
+ {
+ TreeNode add = main.Nodes.Add(bkm.Name);
+ add.Tag = bkm;
+ }
+
+ }
+
+ Treeview.Invalidate();
+
+ }
+ catch { }
+ }
+
+ public static void AddSavedFolder(string Path)
+ {
+ if (!File.Exists(Path))
+ {
+ string s = "<?xml version=\"1.0\"?>\n<Bookmarks />";
+ StreamWriter sr = new StreamWriter(Path);
+ sr.Write(s);
+ sr.Close();
+ }
+ try
+ {
+ xmlDocument = new XmlDocument();
+ xmlDocument.Load(Path);
+
+ bool found = false;
+
+ foreach (XmlNode r in xmlDocument.ChildNodes)
+ {
+ foreach (XmlNode one in r.ChildNodes)
+ {
+ if (one.FirstChild.InnerText == "Saved by MP") found = true;
+ }
+ }
+
+ if (!found)
+ {
+ XmlElement childElement = xmlDocument.CreateElement("Entry");
+
+ XmlElement sub1 = xmlDocument.CreateElement("Name"); sub1.InnerText = "Saved by MP";
+ childElement.AppendChild(sub1);
+ XmlElement sub2 = xmlDocument.CreateElement("URL"); sub2.InnerText = string.Empty;
+ childElement.AppendChild(sub2);
+ XmlElement sub3 = xmlDocument.CreateElement("Visited"); sub3.InnerText = "0";
+ childElement.AppendChild(sub3);
+ XmlElement sub4 = xmlDocument.CreateElement("LastVisited"); sub4.InnerText = "0001-01-01T00:00:00";
+ childElement.AppendChild(sub4);
+ XmlElement sub5 = xmlDocument.CreateElement("Created"); sub5.InnerText = "0001-01-01T00:00:00";
+ childElement.AppendChild(sub5);
+ XmlElement sub6 = xmlDocument.CreateElement("isFolder"); sub6.InnerText = "true";
+ childElement.AppendChild(sub6);
+ XmlElement sub7 = xmlDocument.CreateElement("isSubFolder"); sub7.InnerText = "false";
+ childElement.AppendChild(sub7);
+
+ XmlNode parentNode = xmlDocument.SelectSingleNode("Bookmarks");
+ parentNode.InsertBefore(childElement, parentNode.FirstChild);
+ }
+ xmlDocument.Save(Path);
+ }
+ catch
+ { }
+ }
+ public static bool SavaBookmark(string Title, string Url, string Path)
+ {
+ try
+ {
+ xmlDocument = new XmlDocument();
+ xmlDocument.Load(Path);
+
+ bool found = false;
+ XmlNode folder = null;
+
+ foreach (XmlNode r in xmlDocument.ChildNodes)
+ {
+
+ foreach (XmlNode one in r.ChildNodes)
+ {
+ if (one.FirstChild.InnerText == Title) found = true;
+ if (one.FirstChild.InnerText == "Saved by MP") folder = one;
+ }
+ }
+
+ if ((!found) && (folder != null))
+ {
+ XmlElement childElement = xmlDocument.CreateElement("Entry");
+
+ XmlElement sub1 = xmlDocument.CreateElement("Name"); sub1.InnerText = Title;
+ childElement.AppendChild(sub1);
+ XmlElement sub2 = xmlDocument.CreateElement("URL"); sub2.InnerText = Url;
+ childElement.AppendChild(sub2);
+ XmlElement sub3 = xmlDocument.CreateElement("Visited"); sub3.InnerText = "0";
+ childElement.AppendChild(sub3);
+ XmlElement sub4 = xmlDocument.CreateElement("LastVisited"); sub4.InnerText = "0001-01-01T00:00:00";
+ childElement.AppendChild(sub4);
+ XmlElement sub5 = xmlDocument.CreateElement("Created"); sub5.InnerText = "0001-01-01T00:00:00";
+ childElement.AppendChild(sub5);
+ XmlElement sub6 = xmlDocument.CreateElement("isFolder"); sub6.InnerText = "false";
+ childElement.AppendChild(sub6);
+ XmlElement sub7 = xmlDocument.CreateElement("isSubFolder"); sub7.InnerText = "true";
+ childElement.AppendChild(sub7);
+
+ XmlNode parentNode = xmlDocument.SelectSingleNode("Bookmarks");
+ parentNode.InsertAfter(childElement, folder);
+
+ xmlDocument.Save(Path);
+ return true;
+ }
+
+ }
+ catch
+ { }
+ return false;
+ }
+
+ private static void WriteOneEntry(Bookmark bkm)
+ {
+ textWriter.WriteStartElement("Entry");
+
+ textWriter.WriteStartElement("Name");
+ textWriter.WriteValue(bkm.Name);
+ textWriter.WriteEndElement();
+
+ textWriter.WriteStartElement("URL");
+ textWriter.WriteValue(bkm.Url);
+ textWriter.WriteEndElement();
+
+ textWriter.WriteStartElement("Visited");
+ textWriter.WriteValue(bkm.Visited);
+ textWriter.WriteEndElement();
+
+ textWriter.WriteStartElement("LastVisited");
+ textWriter.WriteValue(bkm.LastVisited);
+ textWriter.WriteEndElement();
+
+ textWriter.WriteStartElement("Created");
+ textWriter.WriteValue(bkm.Created);
+ textWriter.WriteEndElement();
+
+ textWriter.WriteStartElement("isFolder");
+ textWriter.WriteValue(bkm.isFolder);
+ textWriter.WriteEndElement();
+
+ textWriter.WriteStartElement("isSubFolder");
+ textWriter.WriteValue(bkm.isSubFolder);
+ textWriter.WriteEndElement();
+
+ textWriter.WriteEndElement();
+
+ }
+ private static Bookmark GetData(XmlNode Node)
+ {
+ Bookmark result = new Bookmark();
+
+ result.Name = Node.SelectSingleNode("Name").InnerText;
+ result.Url = Node.SelectSingleNode("URL").InnerText;
+
+ result.Visited = Convert.ToInt32(Node.SelectSingleNode("Visited").InnerText);
+ result.LastVisited = Convert.ToDateTime(Node.SelectSingleNode("LastVisited").InnerText);
+ result.Created = Convert.ToDateTime(Node.SelectSingleNode("Created").InnerText);
+
+ result.isFolder = Convert.ToBoolean(Node.SelectSingleNode("isFolder").InnerText);
+ result.isSubFolder = Convert.ToBoolean(Node.SelectSingleNode("isSubFolder").InnerText);
+
+ return result;
+ }
+
+ public static bool Exists(TreeView Treeview, string Name)
+ {
+ foreach (TreeNode t in Treeview.Nodes[0].Nodes)
+ {
+ if (Name == t.Text)
+ return true;
+ foreach (TreeNode sub in t.Nodes)
+ {
+ if (Name == sub.Text)
+ return true;
+ }
+ }
+ return false;
+ }
+
+ public static bool isValidUrl(string URL)
+ {
+ try
+ {
+ Uri urlCheck = new Uri(URL);
+ WebRequest request = WebRequest.Create(urlCheck);
+ request.Timeout = 3000;
+
+ WebResponse response;
+
+ response = request.GetResponse();
+ }
+ catch (Exception)
+ {
+ return false; //url does not exist
+ }
+ return true;
+ }
+ }
+}
Added: trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/BrowseTheWeb.csproj
===================================================================
--- trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/BrowseTheWeb.csproj (rev 0)
+++ trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/BrowseTheWeb.csproj 2010-11-07 16:52:18 UTC (rev 3906)
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{70ECF0E8-19B6-43A9-B3B5-B1BB13F6E241}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>BrowseTheWeb</RootNamespace>
+ <AssemblyName>BrowseTheWeb</AssemblyName>
+ <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>..\..\..\..\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="Core, Version=1.1.1.11854, Culture=neutral, processorArchitecture=x86">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\..\..\Program Files\Team MediaPortal\MediaPortal\Core.dll</HintPath>
+ </Reference>
+ <Reference Include="Dialogs, Version=1.1.1.11860, Culture=neutral, processorArchitecture=x86">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\..\..\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\Dialogs.dll</HintPath>
+ </Reference>
+ <Reference Include="HtmlAgilityPack, Version=1.4.0.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\..\..\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\HtmlAgilityPack.dll</HintPath>
+ </Reference>
+ <Reference Include="Skybound.Gecko, Version=1.9.1.1, Culture=neutral, PublicKeyToken=3209ac31600d1857, processorArchitecture=x86">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\..\..\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\Skybound.Gecko.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.Web" />
+ <Reference Include="System.Windows.Forms" />
+ <Reference Include="System.Xml" />
+ <Reference Include="Utils, Version=2.2.7.11849, Culture=neutral, processorArchitecture=x86">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\..\..\Program Files\Team MediaPortal\MediaPortal\Utils.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Bookmark.cs" />
+ <Compile Include="GetFolder.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="GetFolder.designer.cs">
+ <DependentUpon>GetFolder.cs</DependentUpon>
+ </Compile>
+ <Compile Include="GetUrl.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="GetUrl.designer.cs">
+ <DependentUpon>GetUrl.cs</DependentUpon>
+ </Compile>
+ <Compile Include="GUIBookmark.cs" />
+ <Compile Include="GUIPlugin.cs" />
+ <Compile Include="HtmlInputType.cs" />
+ <Compile Include="HtmlLinkNumber.cs" />
+ <Compile Include="OSD_LinkId.cs">
+ <SubType>UserControl</SubType>
+ </Compile>
+ <Compile Include="OSD_LinkId.Designer.cs">
+ <DependentUpon>OSD_LinkId.cs</DependentUpon>
+ </Compile>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="Properties\Resources.Designer.cs">
+ <AutoGen>True</AutoGen>
+ <DesignTime>True</DesignTime>
+ <DependentUpon>Resources.resx</DependentUpon>
+ </Compile>
+ <Compile Include="Setup.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="Setup.Designer.cs">
+ <DependentUpon>Setup.cs</DependentUpon>
+ </Compile>
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="GetFolder.resx">
+ <DependentUpon>GetFolder.cs</DependentUpon>
+ <SubType>Designer</SubType>
+ </EmbeddedResource>
+ <EmbeddedResource Include="GetUrl.resx">
+ <DependentUpon>GetUrl.cs</DependentUpon>
+ <SubType>Designer</SubType>
+ </EmbeddedResource>
+ <EmbeddedResource Include="Properties\Resources.resx">
+ <Generator>ResXFileCodeGenerator</Generator>
+ <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+ <SubType>Designer</SubType>
+ </EmbeddedResource>
+ <EmbeddedResource Include="Setup.resx">
+ <DependentUpon>Setup.cs</DependentUpon>
+ <SubType>Designer</SubType>
+ </EmbeddedResource>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="res\folder-icon.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="res\delete-icon.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="res\file-icon.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="res\edit-icon.png" />
+ <Content Include="res\fav-b-icon.png" />
+ <Content Include="todo.txt" />
+ <EmbeddedResource Include="OSD_LinkId.resx">
+ <DependentUpon>OSD_LinkId.cs</DependentUpon>
+ <SubType>Designer</SubType>
+ </EmbeddedResource>
+ <EmbeddedResource Include="xulrunner.png" />
+ <EmbeddedResource Include="xulrunnerOff.png" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
\ No newline at end of file
Added: trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/BrowseTheWeb.csproj.user
===================================================================
--- trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/BrowseTheWeb.csproj.user (rev 0)
+++ trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/BrowseTheWeb.csproj.user 2010-11-07 16:52:18 UTC (rev 3906)
@@ -0,0 +1,9 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <StartAction>Program</StartAction>
+ <StartProgram>C:\Program Files\Team MediaPortal\MediaPortal\Configuration.exe</StartProgram>
+ </PropertyGroup>
+ <PropertyGroup>
+ <ProjectView>ProjectFiles</ProjectView>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
Added: trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/GUIBookmark.cs
===================================================================
--- ...
[truncated message content] |