You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/12/07 23:51:50 UTC
[3/9] git commit: removed plugins, which don't belong here
removed plugins, which don't belong here
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/0e3a959c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/0e3a959c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/0e3a959c
Branch: refs/heads/master
Commit: 0e3a959c1c215e1519b34d89597cefcba7ae2576
Parents: 3bcb793
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Thu Dec 6 18:48:32 2012 -0800
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Thu Dec 6 18:48:32 2012 -0800
----------------------------------------------------------------------
plugins/App.xaml | 37 -
plugins/App.xaml.cs | 154 --
plugins/ApplicationIcon.png | Bin 4951 -> 0 bytes
plugins/Background.png | Bin 10259 -> 0 bytes
plugins/CordovaPlugins.csproj | 222 ---
plugins/CordovaPlugins.sln | 38 -
plugins/Images/appbar.back.rest.png | Bin 375 -> 0 bytes
plugins/Images/appbar.close.rest.png | Bin 359 -> 0 bytes
plugins/Images/appbar.feature.video.rest.png | Bin 433 -> 0 bytes
plugins/Images/appbar.next.rest.png | Bin 388 -> 0 bytes
plugins/Images/appbar.save.rest.png | Bin 297 -> 0 bytes
plugins/Images/appbar.stop.rest.png | Bin 350 -> 0 bytes
plugins/MainPage.xaml | 52 -
plugins/MainPage.xaml.cs | 72 -
plugins/Properties/AppManifest.xml | 6 -
plugins/Properties/AssemblyInfo.cs | 38 -
plugins/Properties/WMAppManifest.xml | 57 -
plugins/SplashScreenImage.jpg | Bin 33248 -> 0 bytes
plugins/cordova/debug.bat | 68 -
plugins/cordova/emulate.bat | 24 -
plugins/www/index.html | 8 -
plugins/www/master.css | 167 --
plugins/www/plugins/ChildBrowser/ChildBrowser.js | 99 --
.../plugins/ChildBrowser/ChildBrowserCommand.cs | 190 ---
plugins/www/plugins/ChildBrowser/browser.html | 31 -
plugins/www/plugins/Facebook/FBConnect.js | 131 --
plugins/www/plugins/Facebook/facebook.html | 167 --
plugins/www/plugins/Globalization/Globalization.cs | 1176 ---------------
plugins/www/plugins/Globalization/global.html | 143 --
plugins/www/plugins/Globalization/globalization.js | 540 -------
plugins/www/plugins/LiveTiles/LiveTiles.cs | 355 -----
plugins/www/plugins/LiveTiles/liveTiles.js | 49 -
.../www/plugins/LiveTiles/liveTilesExample.html | 124 --
plugins/www/plugins/PGMapLauncher/PGMapLauncher.cs | 113 --
plugins/www/plugins/PGMapLauncher/PGMapLauncher.js | 30 -
plugins/www/plugins/PGMapLauncher/map.html | 36 -
plugins/www/plugins/PGSocialShare/PGSocialShare.cs | 67 -
plugins/www/plugins/PGSocialShare/PGSocialShare.js | 25 -
plugins/www/plugins/PGSocialShare/share.html | 43 -
plugins/www/plugins/index.html | 55 -
40 files changed, 0 insertions(+), 4317 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/App.xaml
----------------------------------------------------------------------
diff --git a/plugins/App.xaml b/plugins/App.xaml
deleted file mode 100644
index 071e799..0000000
--- a/plugins/App.xaml
+++ /dev/null
@@ -1,37 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<Application
- x:Class="CordovaPlugins.App"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
- xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone">
-
- <!--Application Resources-->
- <Application.Resources>
- </Application.Resources>
-
- <Application.ApplicationLifetimeObjects>
- <!--Required object that handles lifetime events for the application-->
- <shell:PhoneApplicationService
- Launching="Application_Launching" Closing="Application_Closing"
- Activated="Application_Activated" Deactivated="Application_Deactivated"/>
- </Application.ApplicationLifetimeObjects>
-
-</Application>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/App.xaml.cs
----------------------------------------------------------------------
diff --git a/plugins/App.xaml.cs b/plugins/App.xaml.cs
deleted file mode 100644
index 0b91339..0000000
--- a/plugins/App.xaml.cs
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-*/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using Microsoft.Phone.Controls;
-using Microsoft.Phone.Shell;
-
-namespace CordovaPlugins
-{
- public partial class App : Application
- {
- /// <summary>
- /// Provides easy access to the root frame of the Phone Application.
- /// </summary>
- /// <returns>The root frame of the Phone Application.</returns>
- public PhoneApplicationFrame RootFrame { get; private set; }
-
- /// <summary>
- /// Constructor for the Application object.
- /// </summary>
- public App()
- {
- // Global handler for uncaught exceptions.
- UnhandledException += Application_UnhandledException;
-
- // Show graphics profiling information while debugging.
- if (System.Diagnostics.Debugger.IsAttached)
- {
- // Display the current frame rate counters.
- //Application.Current.Host.Settings.EnableFrameRateCounter = true;
-
- // Show the areas of the app that are being redrawn in each frame.
- //Application.Current.Host.Settings.EnableRedrawRegions = true;
-
- // Enable non-production analysis visualization mode,
- // which shows areas of a page that are being GPU accelerated with a colored overlay.
- //Application.Current.Host.Settings.EnableCacheVisualization = true;
- }
-
- // Standard Silverlight initialization
- InitializeComponent();
-
- // Phone-specific initialization
- InitializePhoneApplication();
- }
-
- // Code to execute when the application is launching (eg, from Start)
- // This code will not execute when the application is reactivated
- private void Application_Launching(object sender, LaunchingEventArgs e)
- {
- }
-
- // Code to execute when the application is activated (brought to foreground)
- // This code will not execute when the application is first launched
- private void Application_Activated(object sender, ActivatedEventArgs e)
- {
- }
-
- // Code to execute when the application is deactivated (sent to background)
- // This code will not execute when the application is closing
- private void Application_Deactivated(object sender, DeactivatedEventArgs e)
- {
- }
-
- // Code to execute when the application is closing (eg, user hit Back)
- // This code will not execute when the application is deactivated
- private void Application_Closing(object sender, ClosingEventArgs e)
- {
- }
-
- // Code to execute if a navigation fails
- private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
- {
- if (System.Diagnostics.Debugger.IsAttached)
- {
- // A navigation has failed; break into the debugger
- System.Diagnostics.Debugger.Break();
- }
- }
-
- // Code to execute on Unhandled Exceptions
- private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
- {
- if (System.Diagnostics.Debugger.IsAttached)
- {
- // An unhandled exception has occurred; break into the debugger
- System.Diagnostics.Debugger.Break();
- }
- }
-
- #region Phone application initialization
-
- // Avoid double-initialization
- private bool phoneApplicationInitialized = false;
-
- // Do not add any additional code to this method
- private void InitializePhoneApplication()
- {
- if (phoneApplicationInitialized)
- return;
-
- // Create the frame but don't set it as RootVisual yet; this allows the splash
- // screen to remain active until the application is ready to render.
- RootFrame = new PhoneApplicationFrame();
- RootFrame.Navigated += CompleteInitializePhoneApplication;
-
- // Handle navigation failures
- RootFrame.NavigationFailed += RootFrame_NavigationFailed;
-
- // Ensure we don't initialize again
- phoneApplicationInitialized = true;
- }
-
- // Do not add any additional code to this method
- private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e)
- {
- // Set the root visual to allow the application to render
- if (RootVisual != RootFrame)
- RootVisual = RootFrame;
-
- // Remove this handler since it is no longer needed
- RootFrame.Navigated -= CompleteInitializePhoneApplication;
- }
-
- #endregion
- }
-}
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/ApplicationIcon.png
----------------------------------------------------------------------
diff --git a/plugins/ApplicationIcon.png b/plugins/ApplicationIcon.png
deleted file mode 100644
index 6b69046..0000000
Binary files a/plugins/ApplicationIcon.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/Background.png
----------------------------------------------------------------------
diff --git a/plugins/Background.png b/plugins/Background.png
deleted file mode 100644
index 2667df4..0000000
Binary files a/plugins/Background.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/CordovaPlugins.csproj
----------------------------------------------------------------------
diff --git a/plugins/CordovaPlugins.csproj b/plugins/CordovaPlugins.csproj
deleted file mode 100644
index 0499980..0000000
--- a/plugins/CordovaPlugins.csproj
+++ /dev/null
@@ -1,222 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>10.0.20506</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}</ProjectGuid>
- <ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>CordovaPlugins</RootNamespace>
- <AssemblyName>CordovaPlugins</AssemblyName>
- <TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
- <SilverlightVersion>
- </SilverlightVersion>
- <TargetFrameworkProfile>
- </TargetFrameworkProfile>
- <TargetFrameworkIdentifier>WindowsPhone</TargetFrameworkIdentifier>
- <SilverlightApplication>true</SilverlightApplication>
- <SupportedCultures>en-US</SupportedCultures>
- <UICulture>en-US</UICulture>
- <XapOutputs>true</XapOutputs>
- <GenerateSilverlightManifest>true</GenerateSilverlightManifest>
- <XapFilename>CordovaPlugins.xap</XapFilename>
- <SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate>
- <SilverlightAppEntry>CordovaPlugins.App</SilverlightAppEntry>
- <ValidateXaml>true</ValidateXaml>
- <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
- <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
- <BackgroundAgentType />
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>Bin\Debug</OutputPath>
- <DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
- <NoStdLib>true</NoStdLib>
- <NoConfig>true</NoConfig>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <Prefer32Bit>false</Prefer32Bit>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>Bin\Release</OutputPath>
- <DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
- <NoStdLib>true</NoStdLib>
- <NoConfig>true</NoConfig>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- <Prefer32Bit>false</Prefer32Bit>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
- <DebugSymbols>true</DebugSymbols>
- <OutputPath>Bin\x86\Debug</OutputPath>
- <DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
- <NoStdLib>true</NoStdLib>
- <DebugType>full</DebugType>
- <PlatformTarget>
- </PlatformTarget>
- <ErrorReport>prompt</ErrorReport>
- <CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
- <Prefer32Bit>false</Prefer32Bit>
- <Optimize>false</Optimize>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
- <OutputPath>Bin\x86\Release</OutputPath>
- <DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
- <Optimize>true</Optimize>
- <NoStdLib>true</NoStdLib>
- <DebugType>pdbonly</DebugType>
- <PlatformTarget>
- </PlatformTarget>
- <ErrorReport>prompt</ErrorReport>
- <CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
- <Prefer32Bit>false</Prefer32Bit>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
- <DebugSymbols>true</DebugSymbols>
- <OutputPath>Bin\ARM\Debug</OutputPath>
- <DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
- <NoStdLib>true</NoStdLib>
- <DebugType>full</DebugType>
- <PlatformTarget>
- </PlatformTarget>
- <ErrorReport>prompt</ErrorReport>
- <CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
- <Prefer32Bit>false</Prefer32Bit>
- <Optimize>false</Optimize>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
- <OutputPath>Bin\ARM\Release</OutputPath>
- <DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
- <Optimize>true</Optimize>
- <NoStdLib>true</NoStdLib>
- <DebugType>pdbonly</DebugType>
- <PlatformTarget>
- </PlatformTarget>
- <ErrorReport>prompt</ErrorReport>
- <CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
- <Prefer32Bit>false</Prefer32Bit>
- </PropertyGroup>
- <ItemGroup>
- <Compile Include="App.xaml.cs">
- <DependentUpon>App.xaml</DependentUpon>
- </Compile>
- <Compile Include="MainPage.xaml.cs">
- <DependentUpon>MainPage.xaml</DependentUpon>
- </Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="www\plugins\ChildBrowser\ChildBrowserCommand.cs" />
- <Compile Include="www\plugins\Globalization\Globalization.cs" />
- <Compile Include="www\plugins\LiveTiles\LiveTiles.cs" />
- <Compile Include="www\plugins\PGMapLauncher\PGMapLauncher.cs" />
- <Compile Include="www\plugins\PGSocialShare\PGSocialShare.cs" />
- </ItemGroup>
- <ItemGroup>
- <ApplicationDefinition Include="App.xaml">
- <SubType>Designer</SubType>
- <Generator>MSBuild:Compile</Generator>
- </ApplicationDefinition>
- <Page Include="MainPage.xaml">
- <SubType>Designer</SubType>
- <Generator>MSBuild:Compile</Generator>
- </Page>
- </ItemGroup>
- <ItemGroup>
- <Content Include="CordovaLib\WPCordovaClassLib.dll" />
- <Content Include="Images\appbar.back.rest.png" />
- <Content Include="Images\appbar.close.rest.png" />
- <Content Include="Images\appbar.feature.video.rest.png" />
- <Content Include="Images\appbar.next.rest.png" />
- <Content Include="Images\appbar.save.rest.png" />
- <Content Include="Images\appbar.stop.rest.png" />
- <Content Include="www\cordova-2.2.0.js" />
- <Content Include="www\index.html" />
- <Content Include="www\master.css" />
- <Content Include="www\plugins\ChildBrowser\browser.html" />
- <Content Include="www\plugins\ChildBrowser\ChildBrowser.js" />
- <Content Include="www\plugins\Facebook\facebook.html" />
- <Content Include="www\plugins\Facebook\FBConnect.js" />
- <Content Include="www\plugins\Globalization\globalization.js" />
- <Content Include="www\plugins\Globalization\global.html" />
- <Content Include="www\plugins\index.html" />
- <Content Include="www\plugins\LiveTiles\liveTiles.js" />
- <Content Include="www\plugins\LiveTiles\liveTilesExample.html">
- <SubType>Designer</SubType>
- </Content>
- <Content Include="www\plugins\PGMapLauncher\map.html" />
- <Content Include="www\plugins\PGMapLauncher\PGMapLauncher.js" />
- <Content Include="www\plugins\PGSocialShare\PGSocialShare.js" />
- <Content Include="www\plugins\PGSocialShare\share.html" />
- <None Include="cordova\debug.bat" />
- <None Include="cordova\emulate.bat" />
- <None Include="Properties\AppManifest.xml">
- <SubType>Designer</SubType>
- </None>
- <None Include="Properties\WMAppManifest.xml">
- <SubType>Designer</SubType>
- </None>
- </ItemGroup>
- <ItemGroup>
- <Content Include="ApplicationIcon.png">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="Background.png">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="SplashScreenImage.jpg" />
- </ItemGroup>
- <ItemGroup>
- <WCFMetadata Include="Service References\" />
- </ItemGroup>
- <ItemGroup>
- <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Plugins\" />
- </ItemGroup>
- <ItemGroup>
- <Reference Include="WPCordovaClassLib">
- <HintPath>CordovaLib\WPCordovaClassLib.dll</HintPath>
- </Reference>
- </ItemGroup>
- <Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).$(TargetFrameworkVersion).Overrides.targets" />
- <Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).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>
- -->
- <ProjectExtensions />
- <PropertyGroup>
- </PropertyGroup>
- <PropertyGroup>
- <PostBuildEvent>
- </PostBuildEvent>
- </PropertyGroup>
-</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/CordovaPlugins.sln
----------------------------------------------------------------------
diff --git a/plugins/CordovaPlugins.sln b/plugins/CordovaPlugins.sln
deleted file mode 100644
index bd150e9..0000000
--- a/plugins/CordovaPlugins.sln
+++ /dev/null
@@ -1,38 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2012
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CordovaPlugins", "CordovaPlugins.csproj", "{3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|ARM = Debug|ARM
- Debug|Any CPU = Debug|Any CPU
- Debug|x86 = Debug|x86
- Release|ARM = Release|ARM
- Release|Any CPU = Release|Any CPU
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|ARM.ActiveCfg = Debug|ARM
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|ARM.Build.0 = Debug|ARM
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|ARM.Deploy.0 = Debug|ARM
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|x86.ActiveCfg = Debug|x86
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|x86.Build.0 = Debug|x86
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Debug|x86.Deploy.0 = Debug|x86
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|ARM.ActiveCfg = Release|ARM
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|ARM.Build.0 = Release|ARM
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|ARM.Deploy.0 = Release|ARM
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|Any CPU.Build.0 = Release|Any CPU
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|Any CPU.Deploy.0 = Release|Any CPU
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|x86.ActiveCfg = Release|x86
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|x86.Build.0 = Release|x86
- {3677C1B7-D68B-4CF9-BF8A-E869D437A6DF}.Release|x86.Deploy.0 = Release|x86
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/Images/appbar.back.rest.png
----------------------------------------------------------------------
diff --git a/plugins/Images/appbar.back.rest.png b/plugins/Images/appbar.back.rest.png
deleted file mode 100644
index 4bc2b92..0000000
Binary files a/plugins/Images/appbar.back.rest.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/Images/appbar.close.rest.png
----------------------------------------------------------------------
diff --git a/plugins/Images/appbar.close.rest.png b/plugins/Images/appbar.close.rest.png
deleted file mode 100644
index 8166a1c..0000000
Binary files a/plugins/Images/appbar.close.rest.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/Images/appbar.feature.video.rest.png
----------------------------------------------------------------------
diff --git a/plugins/Images/appbar.feature.video.rest.png b/plugins/Images/appbar.feature.video.rest.png
deleted file mode 100644
index baff565..0000000
Binary files a/plugins/Images/appbar.feature.video.rest.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/Images/appbar.next.rest.png
----------------------------------------------------------------------
diff --git a/plugins/Images/appbar.next.rest.png b/plugins/Images/appbar.next.rest.png
deleted file mode 100644
index ed577d7..0000000
Binary files a/plugins/Images/appbar.next.rest.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/Images/appbar.save.rest.png
----------------------------------------------------------------------
diff --git a/plugins/Images/appbar.save.rest.png b/plugins/Images/appbar.save.rest.png
deleted file mode 100644
index d49940e..0000000
Binary files a/plugins/Images/appbar.save.rest.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/Images/appbar.stop.rest.png
----------------------------------------------------------------------
diff --git a/plugins/Images/appbar.stop.rest.png b/plugins/Images/appbar.stop.rest.png
deleted file mode 100644
index 4dd724f..0000000
Binary files a/plugins/Images/appbar.stop.rest.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/MainPage.xaml
----------------------------------------------------------------------
diff --git a/plugins/MainPage.xaml b/plugins/MainPage.xaml
deleted file mode 100644
index d045ff3..0000000
--- a/plugins/MainPage.xaml
+++ /dev/null
@@ -1,52 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<phone:PhoneApplicationPage
- x:Class="CordovaPlugins.MainPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
- xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d" FontFamily="{StaticResource PhoneFontFamilyNormal}"
- FontSize="{StaticResource PhoneFontSizeNormal}"
- Foreground="{StaticResource PhoneForegroundBrush}"
- Background="Black"
- SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
- shell:SystemTray.IsVisible="True" d:DesignHeight="768" d:DesignWidth="480"
- xmlns:my="clr-namespace:WPCordovaClassLib;assembly=WPCordovaClassLib">
- <Grid x:Name="LayoutRoot" Background="Transparent" HorizontalAlignment="Stretch">
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <my:CordovaView HorizontalAlignment="Stretch"
- Margin="0,0,0,0"
- x:Name="CordovaView"
- VerticalAlignment="Stretch" />
- <Image Source="SplashScreenImage.jpg"
- x:Name="SplashImage"
- VerticalAlignment="Center"
- HorizontalAlignment="Stretch">
- <Image.Projection>
- <PlaneProjection x:Name="SplashProjector" CenterOfRotationX="0"/>
- </Image.Projection>
- </Image>
- </Grid>
-
-</phone:PhoneApplicationPage>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/MainPage.xaml.cs
----------------------------------------------------------------------
diff --git a/plugins/MainPage.xaml.cs b/plugins/MainPage.xaml.cs
deleted file mode 100644
index 6d98ba8..0000000
--- a/plugins/MainPage.xaml.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-*/
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Shapes;
-using Microsoft.Phone.Controls;
-using System.IO;
-using System.Windows.Media.Imaging;
-using System.Windows.Resources;
-
-
-namespace CordovaPlugins
-{
- public partial class MainPage : PhoneApplicationPage
- {
- // Constructor
- public MainPage()
- {
- InitializeComponent();
- this.CordovaView.Loaded += CordovaView_Loaded;
- }
-
- private void CordovaView_Loaded(object sender, RoutedEventArgs e)
- {
- this.CordovaView.Loaded -= CordovaView_Loaded;
- // first time load will have an animation
- Storyboard _storyBoard = new Storyboard();
- DoubleAnimation animation = new DoubleAnimation()
- {
- From = 0,
- Duration = TimeSpan.FromSeconds(0.6),
- To = 90
- };
- Storyboard.SetTarget(animation, SplashProjector);
- Storyboard.SetTargetProperty(animation, new PropertyPath("RotationY"));
- _storyBoard.Children.Add(animation);
- _storyBoard.Begin();
- _storyBoard.Completed += Splash_Completed;
- }
-
- void Splash_Completed(object sender, EventArgs e)
- {
- (sender as Storyboard).Completed -= Splash_Completed;
- LayoutRoot.Children.Remove(SplashImage);
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/Properties/AppManifest.xml
----------------------------------------------------------------------
diff --git a/plugins/Properties/AppManifest.xml b/plugins/Properties/AppManifest.xml
deleted file mode 100644
index 877ea4b..0000000
--- a/plugins/Properties/AppManifest.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
->
- <Deployment.Parts>
- </Deployment.Parts>
-</Deployment>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/Properties/AssemblyInfo.cs
----------------------------------------------------------------------
diff --git a/plugins/Properties/AssemblyInfo.cs b/plugins/Properties/AssemblyInfo.cs
deleted file mode 100644
index 94a4580..0000000
--- a/plugins/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Resources;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("GapAppProj")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("GapAppProj")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("9e27b972-0825-4386-ba17-63c695262c3d")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/Properties/WMAppManifest.xml
----------------------------------------------------------------------
diff --git a/plugins/Properties/WMAppManifest.xml b/plugins/Properties/WMAppManifest.xml
deleted file mode 100644
index f92ee46..0000000
--- a/plugins/Properties/WMAppManifest.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment" AppPlatformVersion="8.0">
- <DefaultLanguage xmlns="" code="en-US" />
- <App xmlns="" ProductID="{a7c1275f-a896-4a78-b657-0d61eae22626}" Title="CordovaPlugins" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="CordovaPlugins author" BitsPerPixel="32" Description="PhoneGap for Windows Phone 8" Publisher="CordovaPlugins" PublisherID="{bec53173-b2c8-4590-a66f-6ee3f3ad3585}">
- <IconPath IsRelative="true" IsResource="false">ApplicationIcon.png</IconPath>
- <Capabilities>
- <Capability Name="ID_CAP_IDENTITY_DEVICE" />
- <Capability Name="ID_CAP_IDENTITY_USER" />
- <Capability Name="ID_CAP_LOCATION" />
- <Capability Name="ID_CAP_NETWORKING" />
- <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
- <Capability Name="ID_CAP_APPOINTMENTS" />
- <Capability Name="ID_CAP_CONTACTS" />
- <Capability Name="ID_CAP_ISV_CAMERA" />
- <Capability Name="ID_CAP_MICROPHONE" />
- <Capability Name="ID_CAP_PHONEDIALER" />
- <Capability Name="ID_CAP_PUSH_NOTIFICATION" />
- <Capability Name="ID_CAP_SENSORS" />
- <Capability Name="ID_CAP_MEDIALIB_AUDIO" />
- <Capability Name="ID_CAP_MEDIALIB_PHOTO" />
- <Capability Name="ID_CAP_MEDIALIB_PLAYBACK" />
- </Capabilities>
- <Tasks>
- <DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
- </Tasks>
- <Tokens>
- <PrimaryToken TokenID="CordovaPluginsToken" TaskName="_default">
- <TemplateFlip>
- <SmallImageURI IsResource="false" IsRelative="true">Background.png</SmallImageURI>
- <Count>0</Count>
- <BackgroundImageURI IsResource="false" IsRelative="true">Background.png</BackgroundImageURI>
- <Title>CordovaPlugins</Title>
- <BackContent>
- </BackContent>
- <BackBackgroundImageURI>
- </BackBackgroundImageURI>
- <BackTitle>
- </BackTitle>
- <LargeBackgroundImageURI>
- </LargeBackgroundImageURI>
- <LargeBackContent>
- </LargeBackContent>
- <LargeBackBackgroundImageURI>
- </LargeBackBackgroundImageURI>
- <DeviceLockImageURI>
- </DeviceLockImageURI>
- <HasLarge>false</HasLarge>
- </TemplateFlip>
- </PrimaryToken>
- </Tokens>
- <ScreenResolutions>
- <ScreenResolution Name="ID_RESOLUTION_WVGA" />
- <ScreenResolution Name="ID_RESOLUTION_WXGA" />
- <ScreenResolution Name="ID_RESOLUTION_HD720P" />
- </ScreenResolutions>
- </App>
-</Deployment>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/SplashScreenImage.jpg
----------------------------------------------------------------------
diff --git a/plugins/SplashScreenImage.jpg b/plugins/SplashScreenImage.jpg
deleted file mode 100644
index d35501d..0000000
Binary files a/plugins/SplashScreenImage.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/cordova/debug.bat
----------------------------------------------------------------------
diff --git a/plugins/cordova/debug.bat b/plugins/cordova/debug.bat
deleted file mode 100644
index 4efc80c..0000000
--- a/plugins/cordova/debug.bat
+++ /dev/null
@@ -1,68 +0,0 @@
-
-@echo off
-goto start
-
-
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
-
-:start
-
-
-if /i "%1"=="help" goto usage
-if /i "%1"=="-help" goto usage
-if /i "%1"=="--help" goto usage
-if /i "%1"=="/help" goto usage
-if /i "%1"=="/?" goto usage
-
-
-if defined VCINSTALLDIR goto start-msbuild
-if not defined VS100COMNTOOLS goto msbuild-missing
-if not exist "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat" goto msbuild-missing
-call "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat"
-if not defined VCINSTALLDIR goto msbuild-missing
-goto start-msbuild
-
-
-:builderror
-echo Error level 1
-goto exit
-
-:msbuild-missing
-echo Error! Cannot run msbuild from this command prompt. Try running a VS Command prompt.
-goto exit
-
-
-:start-msbuild
-cd ..
-msbuild /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo /p:Configuration=Debug
-cd cordova
-if errorlevel 1 goto builderror
-goto deploy
-
-:usage
-echo "Usage: %0"
-echo "solution file is expected to be in the parent folder."
-goto exit
-
-:deploy
-CordovaDeploy ../Bin/Debug -d:1
-
-
-:exit
-
-
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/cordova/emulate.bat
----------------------------------------------------------------------
diff --git a/plugins/cordova/emulate.bat b/plugins/cordova/emulate.bat
deleted file mode 100644
index b3375fe..0000000
--- a/plugins/cordova/emulate.bat
+++ /dev/null
@@ -1,24 +0,0 @@
-
-@echo off
-goto start
-
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
-
-
-:start
-CordovaDeploy ../Bin/Debug -d:1
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/www/index.html
----------------------------------------------------------------------
diff --git a/plugins/www/index.html b/plugins/www/index.html
deleted file mode 100644
index 112d00a..0000000
--- a/plugins/www/index.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <META HTTP-EQUIV="refresh" CONTENT="0;URL=/www/plugins/index.html">
-</head>
- <body></body>
-</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/www/master.css
----------------------------------------------------------------------
diff --git a/plugins/www/master.css b/plugins/www/master.css
deleted file mode 100644
index 536cf39..0000000
--- a/plugins/www/master.css
+++ /dev/null
@@ -1,167 +0,0 @@
-/**
- PhoneFontSizeSmall=14pt
- PhoneFontSizeNormal = 15pt
- PhoneFontSizeMedium=17pt
- PhoneFontSizeMediumLarge=19pt
- PhoneFontSizeLarge=24pt
- PhoneFontSizeExtraLarge=32pt
- PhoneFontSizeExtraExtraLarge=54pt
- PhoneFontSizeHuge=140pt
-*/
-
-/**
-
-main wp color and fonts
-
-*/
-
-body, input, div
-{
- background: Background;
- color: Highlight;
- font-family: Segoe WP;
- font-size: 15pt; /* PhoneFontSizeNormal */
- margin-left:0.1em;
- filter: progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction=45);
-}
-
-h1, h2, h3, h4
-{
- display: block;
- font-family: Segoe WP Light;
- font-weight: bold;
- margin: 0 0.1em;
- min-height: 1.1em;
- outline: 0 none;
- overflow: hidden;
- padding: 0;
- text-align: left;
- white-space: nowrap;
- }
-
-h1
-{
- font-size: 32pt; /* PhoneFontSizeExtraLarge */
-}
-
-h2
-{
- font-size: 24pt; /* PhoneFontSizeLarge */
- font-weight: normal;
-}
-
-h3
-{
- font-size: 17pt; /* PhoneFontSizeMedium */
-}
-
-h4
-{
- font-size: 15pt; /* PhoneFontSizeNormal */
- font-weight: normal;
-}
-
-h4 > span
-{
- color: gray;
-}
-
-/**
-
-Buttons
-
-*/
-
-a.btn, div.btn
-{
- background: Background;
- color: Highlight;
- text-decoration: none;
- display:block;
- font-size: 15pt;
- text-decoration:none;
- padding:0.7em 0;
- margin:3px 0px 3px 5px;
-}
-
-a.backBtn, input[type="button"], input[type="submit"], button
-{
- background: Background;
- color: Highlight;
- border-color: Highlight;
- border-style: solid;
- padding: 4px 10px;
- border-width: 3px; /* PhoneBorderThickness */
- font-size: 17pt; /* PhoneFontSizeMedium */
- display: block;
- text-decoration:none;
- text-transform:lowercase;
-
-}
-
-input[type="button"], button {
- display:block;
- margin:10px 0px;
- font-size: 15px;
-}
-
-input[type="button"]:active, input[type="submit"]:active, button:active
-{
- background: white;
- color: black;
-}
-
-button {
- width: 95%;
- margin: 10px 6px;
-}
-
-/**
-
-Input fields
-
-*/
-
-input[type="text"]
-{
- width: 90%;
- padding:4px;
- margin-bottom: 5px;
- box-shadow: 0px 0px 12px #387bbe;
- background-color: #8c8e8b;
- border: 1px solid #B3B3B3;
- color: #3e3e3e;
- text-shadow: 0 1px 0 #FFFFFF;
-}
-
-input[type="text"]:focus,
-input[type="text"]:active {
- box-shadow: 0 0 12px #387BBE;
- background-color: #f0f0f0;
-}
-
-span.tb-label
-{
- padding: 4px 10px 8px 4px;
- font-size: 12pt;
- color: grey;
- display: block;
-}
-
-/**
-
-application specific styles
-
-*/
-
-#info {
- border-bottom: 1px solid #666666;
- border-top: 1px solid #666666;
-}
-
-#info table
-{
- font-family: Segoe WP Light;
-}
-
-
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/www/plugins/ChildBrowser/ChildBrowser.js
----------------------------------------------------------------------
diff --git a/plugins/www/plugins/ChildBrowser/ChildBrowser.js b/plugins/www/plugins/ChildBrowser/ChildBrowser.js
deleted file mode 100644
index ce1cbdb..0000000
--- a/plugins/www/plugins/ChildBrowser/ChildBrowser.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/* MIT licensed */
-// (c) 2010 Jesse MacFadyen, Nitobi
-
-/*global PhoneGap */
-
-function ChildBrowser() {
- // Does nothing
-}
-
-// Callback when the location of the page changes
-// called from native
-ChildBrowser._onLocationChange = function(newLoc)
-{
- // if there is event handler attached
- if (typeof window.plugins.childBrowser.onLocationChange !== 'undefined') {
- window.plugins.childBrowser.onLocationChange(newLoc);
- }
-};
-
-// Callback when the user chooses the 'Done' button
-// called from native
-ChildBrowser._onClose = function()
-{
- window.plugins.childBrowser.onClose();
-};
-
-// Callback when the user chooses the 'open in Safari' button
-// called from native
-ChildBrowser._onOpenExternal = function()
-{
- window.plugins.childBrowser.onOpenExternal();
-};
-
-// Pages loaded into the ChildBrowser can execute callback scripts, so be careful to
-// check location, and make sure it is a location you trust.
-// Warning ... don't exec arbitrary code, it's risky and could fuck up your app.
-// called from native
-ChildBrowser._onJSCallback = function(js,loc)
-{
- // Not Implemented
- //window.plugins.childBrowser.onJSCallback(js,loc);
-};
-
-/* The interface that you will use to access functionality */
-
-// Show a webpage, will result in a callback to onLocationChange
-ChildBrowser.prototype.showWebPage = function(loc,geolocationEnabled)
-{
- var success = function(msg)
- {
- console.log("ChildBrowser.showWebPage success :: " + msg);
-
- var event = msg;
-
- if (event.type == "locationChanged") {
- ChildBrowser._onLocationChange(event.location);
- }
- };
-
- var error = function(e)
- {
- console.log("ChildBrowser.showWebPage error :: " + e);
- };
-
- var options =
- {
- url:loc,
- geolocationEnabled:(geolocationEnabled == true)
-
- };
-
- Cordova.exec(success,error,"ChildBrowserCommand","showWebPage", options);
- //setTimeout(this.close,5000);
-};
-
-// close the browser, will NOT result in close callback
-ChildBrowser.prototype.close = function()
-{
- Cordova.exec(null,null,"ChildBrowserCommand","close", {});
-};
-
-// Not Implemented
-ChildBrowser.prototype.jsExec = function(jsString)
-{
- // Not Implemented!!
- //Cordova.exec("ChildBrowserCommand.jsExec",jsString);
-};
-
-// Note: this plugin does NOT install itself, call this method some time after deviceready to install it
-// it will be returned, and also available globally from window.plugins.childBrowser
-ChildBrowser.install = function()
-{
- if(!window.plugins) {
- window.plugins = {};
- }
-
- window.plugins.childBrowser = new ChildBrowser();
- return window.plugins.childBrowser;
-};
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/www/plugins/ChildBrowser/ChildBrowserCommand.cs
----------------------------------------------------------------------
diff --git a/plugins/www/plugins/ChildBrowser/ChildBrowserCommand.cs b/plugins/www/plugins/ChildBrowser/ChildBrowserCommand.cs
deleted file mode 100644
index d3f15aa..0000000
--- a/plugins/www/plugins/ChildBrowser/ChildBrowserCommand.cs
+++ /dev/null
@@ -1,190 +0,0 @@
-using System;
-using System.Runtime.Serialization;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Media;
-using Microsoft.Phone.Controls;
-using Microsoft.Phone.Shell;
-
-namespace WPCordovaClassLib.Cordova.Commands
-{
- [DataContract]
- public class BrowserOptions
- {
- [DataMember]
- public string url;
-
- [DataMember]
- public bool isGeolocationEnabled;
- }
-
- public class ChildBrowserCommand : BaseCommand
- {
-
- private static WebBrowser browser;
- private static ApplicationBarIconButton backButton;
- private static ApplicationBarIconButton fwdButton;
-
- // Display an inderminate progress indicator
- public void showWebPage(string options)
- {
- BrowserOptions opts = JSON.JsonHelper.Deserialize<BrowserOptions>(options);
-
- Uri loc = new Uri(opts.url);
-
- Deployment.Current.Dispatcher.BeginInvoke(() =>
- {
- if (browser != null)
- {
- browser.IsGeolocationEnabled = opts.isGeolocationEnabled;
- browser.Navigate(loc);
- }
- else
- {
- PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
- if (frame != null)
- {
- PhoneApplicationPage page = frame.Content as PhoneApplicationPage;
- if (page != null)
- {
- Grid grid = page.FindName("LayoutRoot") as Grid;
- if (grid != null)
- {
- browser = new WebBrowser();
- browser.Navigate(loc);
-
- browser.LoadCompleted += new System.Windows.Navigation.LoadCompletedEventHandler(browser_LoadCompleted);
-
- browser.Navigating += new EventHandler<NavigatingEventArgs>(browser_Navigating);
- browser.NavigationFailed += new System.Windows.Navigation.NavigationFailedEventHandler(browser_NavigationFailed);
- browser.Navigated += new EventHandler<System.Windows.Navigation.NavigationEventArgs>(browser_Navigated);
- browser.IsScriptEnabled = true;
- browser.IsGeolocationEnabled = opts.isGeolocationEnabled;
- grid.Children.Add(browser);
- }
-
- ApplicationBar bar = new ApplicationBar();
- bar.BackgroundColor = Colors.Black;
- bar.IsMenuEnabled = false;
-
- backButton = new ApplicationBarIconButton();
- backButton.Text = "Back";
- backButton.IconUri = new Uri("/Images/appbar.back.rest.png", UriKind.Relative);
- backButton.Click += new EventHandler(backButton_Click);
- backButton.IsEnabled = false;
- bar.Buttons.Add(backButton);
-
-
- fwdButton = new ApplicationBarIconButton();
- fwdButton.Text = "Forward";
- fwdButton.IconUri = new Uri("/Images/appbar.next.rest.png", UriKind.Relative);
- fwdButton.Click += new EventHandler(fwdButton_Click);
- fwdButton.IsEnabled = false;
- bar.Buttons.Add(fwdButton);
-
- ApplicationBarIconButton closeBtn = new ApplicationBarIconButton();
- closeBtn.Text = "Close";
- closeBtn.IconUri = new Uri("/Images/appbar.close.rest.png", UriKind.Relative);
- closeBtn.Click += new EventHandler(closeBtn_Click);
- bar.Buttons.Add(closeBtn);
-
- page.ApplicationBar = bar;
- }
-
- }
- }
- });
- }
-
- void browser_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e)
- {
-
- }
-
- void fwdButton_Click(object sender, EventArgs e)
- {
- if (browser != null)
- {
- try
- {
- browser.InvokeScript("execScript", "history.forward();");
- }
- catch(Exception)
- {
-
- }
- }
- }
-
- void backButton_Click(object sender, EventArgs e)
- {
- if (browser != null)
- {
- try
- {
- browser.InvokeScript("execScript", "history.back();");
- }
- catch (Exception)
- {
-
- }
- }
- }
-
- void closeBtn_Click(object sender, EventArgs e)
- {
- this.close();
- }
-
-
- public void close(string options="")
- {
- if (browser != null)
- {
- Deployment.Current.Dispatcher.BeginInvoke(() =>
- {
- PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
- if (frame != null)
- {
- PhoneApplicationPage page = frame.Content as PhoneApplicationPage;
- if (page != null)
- {
- Grid grid = page.FindName("LayoutRoot") as Grid;
- if (grid != null)
- {
- grid.Children.Remove(browser);
- }
- page.ApplicationBar = null;
- }
- }
- browser = null;
- });
- }
- }
-
- void browser_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e)
- {
- string message = "{\"type\":\"locationChanged\", \"location\":\"" + e.Uri.AbsoluteUri + "\"}";
- PluginResult result = new PluginResult(PluginResult.Status.OK, message);
- result.KeepCallback = true;
- this.DispatchCommandResult(result);
- }
-
- void browser_NavigationFailed(object sender, System.Windows.Navigation.NavigationFailedEventArgs e)
- {
- string message = "{\"type\":\"navigationError\",\"location\":\"" + e.Uri.AbsoluteUri + "\"}";
- PluginResult result = new PluginResult(PluginResult.Status.ERROR, message);
- result.KeepCallback = true;
- this.DispatchCommandResult(result);
- }
-
- void browser_Navigating(object sender, NavigatingEventArgs e)
- {
- string message = "{\"type\":\"locationAboutToChange\",\"location\":\"" + e.Uri.AbsoluteUri + "\"}";
- PluginResult result = new PluginResult(PluginResult.Status.OK, message);
- result.KeepCallback = true;
- this.DispatchCommandResult(result);
- }
-
- }
-}
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/www/plugins/ChildBrowser/browser.html
----------------------------------------------------------------------
diff --git a/plugins/www/plugins/ChildBrowser/browser.html b/plugins/www/plugins/ChildBrowser/browser.html
deleted file mode 100644
index 5f1a076..0000000
--- a/plugins/www/plugins/ChildBrowser/browser.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
- <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
- <title>Child browser</title>
- <link rel="stylesheet" href="../../master.css" type="text/css" media="screen"/>
-
- <script type="text/javascript" charset="utf-8" src="../../cordova-2.2.0.js"></script>
- <script type="text/javascript" charset="utf-8" src="ChildBrowser.js"></script>
-
- <script type="text/javascript" charset="utf-8">
-
- function navigateToPage() {
- var url = document.getElementById("url").value;
- ChildBrowser.install();
- window.plugins.childBrowser.showWebPage(url);
- }
-
- </script>
-
- </head>
- <body id="stage" class="theme">
- <h1>Child browser</h1>
- <div id="info">
- <b>url</b><br/>
- <input type="text" value="http://microsoft.com" id="url"/>
- <input type="button" onclick="navigateToPage()" value="navigate"/>
- </div>
- </body>
-</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/www/plugins/Facebook/FBConnect.js
----------------------------------------------------------------------
diff --git a/plugins/www/plugins/Facebook/FBConnect.js b/plugins/www/plugins/Facebook/FBConnect.js
deleted file mode 100644
index 450d5db..0000000
--- a/plugins/www/plugins/Facebook/FBConnect.js
+++ /dev/null
@@ -1,131 +0,0 @@
-/* MIT licensed */
-// (c) 2010 Jesse MacFadyen, Nitobi
-// (c) 2011 Sergey Grebnov
-// Contributions, advice from :
-// http://www.pushittolive.com/post/1239874936/facebook-login-on-iphone-phonegap
-
-/**
-* FBConnect implements user authentication logic and session information store
-*/
-
-function FBConnect(client_id, redirect_uri, display) {
-
- this.client_id = client_id;
- this.redirect_uri = redirect_uri;
- this.display = display;
-
- this.resetSession();
-
- if (window.plugins.childBrowser == null) {
- ChildBrowser.install();
- }
-
-}
-
-/**
-* User login
-*/
-FBConnect.prototype.connect = function (scope) {
-
- var authorize_url = "https://graph.facebook.com/oauth/authorize?";
- authorize_url += "client_id=" + this.client_id;
- authorize_url += "&redirect_uri=" + this.redirect_uri;
- authorize_url += "&display=" + (this.display ? this.display : "touch");
- authorize_url += "&type=user_agent";
-
- // extended permissions http://developers.facebook.com/docs/reference/api/permissions/
- if (scope) {
- authorize_url += "&scope=" + scope;
- }
-
- window.plugins.childBrowser.showWebPage(authorize_url);
- var self = this;
- window.plugins.childBrowser.onLocationChange = function (loc) { self.onLoginLocationChange(loc); };
-}
-
-FBConnect.prototype.onLoginLocationChange = function (newLoc) {
- if (newLoc.indexOf(this.redirect_uri) == 0) {
- var result = unescape(newLoc).split("#")[1];
- result = unescape(result);
-
- // TODO: Error Check
- this.session.access_token = result.split("&")[0].split("=")[1];
- var expiresIn = parseInt(result.split("&")[1].split("=")[1]);
- this.session.expires = new Date().valueOf() + expiresIn * 1000;
- this.status = "connected";
-
- window.plugins.childBrowser.close();
- this.onConnect(this);
-
- }
-}
-
-/**
-* User logout
-*/
-FBConnect.prototype.logout = function () {
- var authorize_url = "https://www.facebook.com/logout.php?";
- authorize_url += "&next=" + this.redirect_uri;
- authorize_url += "&access_token=" + this.session.access_token;
- console.log("logout url: " + authorize_url);
- window.plugins.childBrowser.showWebPage(authorize_url);
- var self = this;
- window.plugins.childBrowser.onLocationChange = function (loc) {
- console.log("onLogout");
- window.plugins.childBrowser.close();
- self.resetSession();
- self.status = "notConnected";
- if (typeof self.onDisconnect == 'function') {
- self.onDisconnect(this);
- }
- };
-}
-
-/**
-* Example method - returns your friends
-*/
-FBConnect.prototype.getFriends = function () {
- var url = "https://graph.facebook.com/me/friends?access_token=" + this.session.access_token;
- var req = new XMLHttpRequest();
-
- req.open("get", url, true);
- req.send(null);
- req.onerror = function () { alert("Error"); };
- return req;
-}
-
-// Note: this plugin does NOT install itself, call this method some time after deviceready to install it
-// it will be returned, and also available globally from window.plugins.fbConnect
-FBConnect.install = function (client_id, redirect_uri, display) {
- if (!window.plugins) {
- window.plugins = {};
- }
- window.plugins.fbConnect = new FBConnect(client_id, redirect_uri, display);
-
- return window.plugins.fbConnect;
-}
-
-/**
-* Session management functionality
-*/
-FBConnect.prototype.resetSession = function () {
- this.status = "unknown";
- this.session = {};
- this.session.access_token = null;
- this.session.expires = 0;
- this.session.secret = null;
- this.session.session_key = null;
- this.session.sig = null;
- this.session.uid = null;
-}
-
-FBConnect.prototype.restoreLastSession = function () {
- var session = JSON.parse(localStorage.getItem('pg_fb_session'));
- if (session) {
- this.session = session;
- }
-}
-
-FBConnect.prototype.saveSession = function () {
- localStorage.setItem('pg_fb_session', JSON.stringify(this.session));
-}
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/0e3a959c/plugins/www/plugins/Facebook/facebook.html
----------------------------------------------------------------------
diff --git a/plugins/www/plugins/Facebook/facebook.html b/plugins/www/plugins/Facebook/facebook.html
deleted file mode 100644
index 8829a4b..0000000
--- a/plugins/www/plugins/Facebook/facebook.html
+++ /dev/null
@@ -1,167 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html>
- <head>
- <!-- Change this if you want to allow scaling -->
- <meta name="viewport" content="width=default-width; user-scalable=no" />
-
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
-
- <title>FBConnectBrowser</title>
-
- <script type="text/javascript">
- // provide our own console if it does not exist, huge dev aid!
- if (typeof window.console == "undefined") {
- window.console = { log: function (str) { window.external.Notify(str); } };
- }
-
- // output any errors to console log, created above.
- window.onerror = function (e) {
- console.log("window.onerror ::" + JSON.stringify(e));
- };
-
- console.log("Installed console ! ");
- </script>
-
- <script type="text/javascript" charset="utf-8" src="../../cordova-2.2.0.js"></script>
- <script type="text/javascript" charset="utf-8" src="../ChildBrowser/ChildBrowser.js"></script>
- <script type="text/javascript" charset="utf-8" src="FBConnect.js"></script>
-
-
- <style>
-
- body
- {
- background-color:#3B5998;
- color:#FFF;
- font-family: Helvetica, Verdana;
- margin-bottom:20px;
- }
-
- #loading
- {
- z-index:1;
- width:100%;
- top:200px;
- position:absolute;
- text-align:center;
- }
-
- #gbWrap
- {
- overflow:hidden;
- position:absolute;
- top:60px;
- bottom:0px;
- }
-
- .view
- {
- width:320px;
- float:left;
- clear:none;
-
- }
-
-
- #fbFriends li
- {
- list-style:none;
-
- height:56px;
- background:-webkit-gradient(
- linear,
- left top,
- left bottom,
- color-stop(0, rgba(0,0,0,0.1)),
- color-stop(1, rgba(128,128,128,0.1))
- )
- }
-
- #fbFriends li:active
- {
- background-color:rgba(255,255,255,0.5);
- }
-
- #fbFriends li img
- {
- margin:2px 12px;
- min-height:48px;
- min-width:48px;s
- }
-
- #fbFriends li span
- {
- position:relative;
- top:-12px;
- }
-
- #details
- {
- position:absolute;
- left:320px;
- height:100%;
- }
-
-
- </style>
-
- <script type="text/javascript" charset="utf-8">
-
- var client_id = "311961255484993";
- var redir_url = "http://www.facebook.com/connect/login_success.html";
- var friendsMap = {};
-
- function onBodyLoad() {
- document.addEventListener("deviceready", onDeviceReady, false);
- }
-
- /* When this function is called, PhoneGap has been initialized and is ready to roll */
- function onDeviceReady() {
- // do your thing!
- var fb = FBConnect.install(client_id, redir_url, "touch");
- fb.connect('email, read_stream, read_friendlists');
- fb.onConnect = onFBConnected;
- }
-
- function onFBConnected() {
- document.getElementById("loading").innerHTML = "Connected! Getting your friends ...";
- var req = window.plugins.fbConnect.getFriends();
- req.onreadystatechange = function() {
- if (req.readyState == 4) {
- if (req.status == 200) {
- onGotFriends(req.responseText);
- }
- }
- }
- }
-
- function onGotFriends(evt) {
- document.getElementById("loading").style.visibility = "hidden";
- var json = JSON.parse(evt);
- var listItems = [];
- var template = "<li id='FBID' onclick='showUser(\"FBID\")'><img src='https://graph.facebook.com/FBID/picture'/><span>NAME</span></li>";
- for (var n = 0, len = json.data.length; n < len; n++) {
- var friend = json.data[n];
- friendsMap[friend.id] = friend;
- listItems.push(template.replace(/FBID/g, friend.id).replace(/NAME/g, friend.name));
- }
- document.getElementById("fbFriends").innerHTML = listItems.join("");
- }
-
- function showUser(id) {
- // TODO: Do something with user id ...
- alert(friendsMap[id].name);
- }
-
- </script>
- </head>
- <body onload="onBodyLoad()">
- <h3 id="loading">Loading ...</h3>
-
- <ul id="fbFriends">
- <!-- Placeholder for later -->
- </ul>
-
-
- </body>
-</html>