Add experiments + pygame source

This commit is contained in:
Greentwip
2020-11-05 18:31:29 -07:00
parent bf48f47304
commit 21b7408cff
66 changed files with 4 additions and 5942 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "UWP/Libraries/Pygame/Source"]
path = UWP/Libraries/Pygame/Source
url = https://github.com/pygame/pygame

View File

@@ -1,92 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{8E539D26-0C94-4AFE-8138-273743886069}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>makebuildinfo</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>FOR_WIN8APP;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<CustomBuildStep>
<Command>$(TargetPath) $(ConfigurationName) $(IntDir)</Command>
<Outputs>$(IntDir)getbuildinfo.o</Outputs>
</CustomBuildStep>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>FOR_WIN8APP;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<CustomBuildStep>
<Command>$(TargetPath) $(ConfigurationName) $(IntDir)</Command>
<Outputs>$(IntDir)getbuildinfo.o</Outputs>
</CustomBuildStep>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\PCbuild\make_buildinfo.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\PCbuild\make_buildinfo.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -1,174 +0,0 @@
#include "python34.h"
#include "Python.h"
#include <ppltasks.h>
#include <inspectable.h>
#include <wrl.h>
#include <robuffer.h>
#include <windows.storage.streams.h>
using namespace Windows::Storage;
using namespace Windows::Storage::Streams;
using namespace Windows::Security::Cryptography;
using namespace Microsoft::WRL;
using namespace Platform;
using namespace Concurrency;
namespace python34 {
class PyBytesBuffer:
public RuntimeClass<RuntimeClassFlags<RuntimeClassType::WinRtClassicComMix>,
ABI::Windows::Storage::Streams::IBuffer,
IBufferByteAccess>
{
public:
PyObject *data;
int length;
virtual ~PyBytesBuffer()
{
Py_DECREF(data);
}
STDMETHODIMP RuntimeClassInitialize(PyObject *data)
{
Py_INCREF(data);
this->data = data;
length = 0;
return S_OK;
}
STDMETHODIMP Buffer(byte **value)
{
*value = (byte*)PyBytes_AsString(data);
return S_OK;
}
STDMETHODIMP get_Capacity(UINT32 *value)
{
*value = PyBytes_Size(data);
return S_OK;
}
STDMETHODIMP get_Length(UINT32 *value)
{
*value = length;
return S_OK;
}
STDMETHODIMP put_Length(UINT32 value)
{
length = value;
return S_OK;
}
};
}
using namespace python34;
extern "C" {
void win32_urandom(unsigned char* buffer, Py_ssize_t size, int raise)
{
IBuffer^ data = CryptographicBuffer::GenerateRandom(size);
Array<unsigned char>^ data2;
CryptographicBuffer::CopyToByteArray(data, &data2);
for(int i=0; i < size; i++)
buffer[i] = data2[i];
}
/* Temporary wrapper for local app data store. Will be replaced with generic wrapping later.
Only modes "r" and "w" are supported. */
typedef struct {
PyObject_HEAD
IInputStream^ item;
} iinputstream;
static PyObject*
iinputstream_read(PyObject *self, PyObject* args)
{
int size;
if (!PyArg_ParseTuple(args, "i", &size))
return NULL;
PyObject *result = PyBytes_FromStringAndSize(NULL, size);
if (!result)
return NULL;
ComPtr<PyBytesBuffer> native;
Microsoft::WRL::Details::MakeAndInitialize<PyBytesBuffer>(&native, result);
auto iinspectable = (IInspectable *)reinterpret_cast<IInspectable *>(native.Get());
Streams::IBuffer ^buffer = reinterpret_cast<Streams::IBuffer ^>(iinspectable);
create_task(((iinputstream*)self)->item->ReadAsync(buffer, size, InputStreamOptions::None)).wait();
_PyBytes_Resize(&result, buffer->Length);
return result;
}
static PyMethodDef iinputstream_methods[] = {
{"read", iinputstream_read},
{NULL}
};
static PyTypeObject istoragefile_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
"istoragefile", /* tp_name */
sizeof(iinputstream), /* tp_basicsize */
0, /* tp_itemsize */
0, /* tp_dealloc */
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
0, /* tp_reserved */
0, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
0, /* tp_as_mapping */
0, /* tp_hash */
0, /* tp_call */
0, /* tp_str */
0, /* tp_getattro */
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT, /* tp_flags */
"WinRT file", /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */
0, /* tp_richcompare */
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
};
static PyObject*
new_istorageitem(IRandomAccessStream^ item)
{
istoragefile_Type.tp_new = PyType_GenericNew;
if (!PyType_Ready(&istoragefile_Type))
return NULL;
PyObject *result = istoragefile_Type.tp_alloc(&istoragefile_Type, 0);
if (!result)
return NULL;
((iinputstream*)result)->item = item;
return result;
}
static PyObject*
local_open(PyObject *self, PyObject* args)
{
wchar_t *name, *mode;
if (!PyArg_ParseTuple(args, "SS", &name, &mode))
return NULL;
StorageFolder^ localFolder = ApplicationData::Current->LocalFolder;
if (mode[0] == L'r') {
String ^sname = ref new String(name);
StorageFile^ item = create_task(localFolder->GetFileAsync(sname)).get();
if (item == nullptr) {
PyErr_SetString(PyExc_OSError, "File not found");
return NULL;
}
auto result = create_task(item->OpenReadAsync()).get();
return new_istorageitem(result);
}
}
} // extern "C"

View File

@@ -1 +0,0 @@
#pragma once

View File

@@ -1,453 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|ARM">
<Configuration>Debug</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM">
<Configuration>Release</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{17CBD60F-E890-4473-940B-5ABFB2190192}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<ProjectName>python34</ProjectName>
<RootNamespace>python34</RootNamespace>
<DefaultLanguage>de-DE</DefaultLanguage>
<MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion>
<AppContainerApplication>true</AppContainerApplication>
<ApplicationType>Windows Store</ApplicationType>
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<GenerateManifest>false</GenerateManifest>
<IgnoreImportLibrary>false</IgnoreImportLibrary>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<GenerateManifest>false</GenerateManifest>
<IgnoreImportLibrary>false</IgnoreImportLibrary>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<GenerateManifest>false</GenerateManifest>
<IgnoreImportLibrary>false</IgnoreImportLibrary>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<GenerateManifest>false</GenerateManifest>
<IgnoreImportLibrary>false</IgnoreImportLibrary>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<GenerateManifest>false</GenerateManifest>
<IgnoreImportLibrary>false</IgnoreImportLibrary>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<GenerateManifest>false</GenerateManifest>
<IgnoreImportLibrary>false</IgnoreImportLibrary>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<CompileAsWinRT>false</CompileAsWinRT>
<PreprocessorDefinitions>_WINDLL;WIN32;Py_BUILD_CORE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\Include;$(SolutionDir)..\PC;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<SDLCheck>false</SDLCheck>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
<AdditionalDependencies>Rometadata.lib;kernel32.lib;user32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<CompileAsWinRT>false</CompileAsWinRT>
<PreprocessorDefinitions>_WINDLL;WIN32;Py_BUILD_CORE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\Include;$(SolutionDir)..\PC;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<SDLCheck>false</SDLCheck>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
<AdditionalDependencies>Rometadata.lib;kernel32.lib;user32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|arm'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<CompileAsWinRT>false</CompileAsWinRT>
<PreprocessorDefinitions>_WINDLL;WIN32;Py_BUILD_CORE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\Include;$(SolutionDir)..\PC;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<SDLCheck>false</SDLCheck>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
<AdditionalDependencies>Rometadata.lib;kernel32.lib;user32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|arm'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<CompileAsWinRT>false</CompileAsWinRT>
<PreprocessorDefinitions>_WINDLL;WIN32;Py_BUILD_CORE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\Include;$(SolutionDir)..\PC;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<SDLCheck>false</SDLCheck>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
<AdditionalDependencies>Rometadata.lib;kernel32.lib;user32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<CompileAsWinRT>false</CompileAsWinRT>
<PreprocessorDefinitions>_WINDLL;WIN32;Py_BUILD_CORE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\Include;$(SolutionDir)..\PC;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<SDLCheck>false</SDLCheck>
<CompileAs>CompileAsC</CompileAs>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
<AdditionalDependencies>Rometadata.lib;kernel32.lib;user32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions>/nodefaultlib:vccorlibd /nodefaultlib:msvcrtd vccorlibd.lib msvcrtd.lib %(AdditionalOptions)</AdditionalOptions>
<IgnoreSpecificDefaultLibraries>
</IgnoreSpecificDefaultLibraries>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<CompileAsWinRT>false</CompileAsWinRT>
<PreprocessorDefinitions>_WINDLL;WIN32;Py_BUILD_CORE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\Include;$(SolutionDir)..\PC;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<SDLCheck>false</SDLCheck>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
<AdditionalDependencies>Rometadata.lib;kernel32.lib;user32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="python34.h" />
<ClInclude Include="targetver.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\Modules\arraymodule.c" />
<ClCompile Include="..\..\Modules\atexitmodule.c" />
<ClCompile Include="..\..\Modules\audioop.c" />
<ClCompile Include="..\..\Modules\binascii.c" />
<ClCompile Include="..\..\Modules\cmathmodule.c" />
<ClCompile Include="..\..\Modules\errnomodule.c" />
<ClCompile Include="..\..\Modules\faulthandler.c" />
<ClCompile Include="..\..\Modules\gcmodule.c" />
<ClCompile Include="..\..\Modules\getbuildinfo.c">
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">HGBRANCH="win8app";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">HGBRANCH="win8app";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">HGBRANCH="win8app";_WINDLL;WIN32;Py_BUILD_CORE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">HGBRANCH="win8app";_WINDLL;WIN32;Py_BUILD_CORE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">HGBRANCH="win8app";_WINDLL;WIN32;Py_BUILD_CORE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">HGBRANCH="win8app";_WINDLL;WIN32;Py_BUILD_CORE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ClCompile Include="..\..\Modules\hashtable.c" />
<ClCompile Include="..\..\Modules\itertoolsmodule.c" />
<ClCompile Include="..\..\Modules\main.c" />
<ClCompile Include="..\..\Modules\mathmodule.c" />
<ClCompile Include="..\..\Modules\md5module.c" />
<ClCompile Include="..\..\Modules\parsermodule.c" />
<ClCompile Include="..\..\Modules\posixmodule.c" />
<ClCompile Include="..\..\Modules\python.c" />
<ClCompile Include="..\..\Modules\rotatingtree.c" />
<ClCompile Include="..\..\Modules\sha1module.c" />
<ClCompile Include="..\..\Modules\sha256module.c" />
<ClCompile Include="..\..\Modules\sha512module.c" />
<ClCompile Include="..\..\Modules\signalmodule.c" />
<ClCompile Include="..\..\Modules\symtablemodule.c" />
<ClCompile Include="..\..\Modules\timemodule.c" />
<ClCompile Include="..\..\Modules\unicodedata.c" />
<ClCompile Include="..\..\Modules\winrt.cpp">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">CompileAsCpp</CompileAs>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
</ClCompile>
<ClCompile Include="..\..\Modules\winrtsocket.cpp">
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsCpp</CompileAs>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
</ClCompile>
<ClCompile Include="..\..\Modules\zipimport.c" />
<ClCompile Include="..\..\Modules\zlibmodule.c">
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">$(SolutionDir)..\Modules\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">$(SolutionDir)..\Modules\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\Modules\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\Modules\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\Modules\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\Modules\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<ClCompile Include="..\..\Modules\zlib\adler32.c" />
<ClCompile Include="..\..\Modules\zlib\compress.c" />
<ClCompile Include="..\..\Modules\zlib\crc32.c" />
<ClCompile Include="..\..\Modules\zlib\deflate.c" />
<ClCompile Include="..\..\Modules\zlib\inffast.c" />
<ClCompile Include="..\..\Modules\zlib\inflate.c" />
<ClCompile Include="..\..\Modules\zlib\inftrees.c" />
<ClCompile Include="..\..\Modules\zlib\trees.c" />
<ClCompile Include="..\..\Modules\zlib\uncompr.c" />
<ClCompile Include="..\..\Modules\zlib\zutil.c" />
<ClCompile Include="..\..\Modules\_bisectmodule.c" />
<ClCompile Include="..\..\Modules\_codecsmodule.c" />
<ClCompile Include="..\..\Modules\_collectionsmodule.c" />
<ClCompile Include="..\..\Modules\_csv.c" />
<ClCompile Include="..\..\Modules\_datetimemodule.c" />
<ClCompile Include="..\..\Modules\_functoolsmodule.c" />
<ClCompile Include="..\..\Modules\_heapqmodule.c" />
<ClCompile Include="..\..\Modules\_io\bufferedio.c" />
<ClCompile Include="..\..\Modules\_io\bytesio.c" />
<ClCompile Include="..\..\Modules\_io\fileio.c" />
<ClCompile Include="..\..\Modules\_io\iobase.c" />
<ClCompile Include="..\..\Modules\_io\stringio.c" />
<ClCompile Include="..\..\Modules\_io\textio.c" />
<ClCompile Include="..\..\Modules\_io\_iomodule.c" />
<ClCompile Include="..\..\Modules\_json.c" />
<ClCompile Include="..\..\Modules\_localemodule.c" />
<ClCompile Include="..\..\Modules\_lsprof.c" />
<ClCompile Include="..\..\Modules\_math.c" />
<ClCompile Include="..\..\Modules\_opcode.c" />
<ClCompile Include="..\..\Modules\_operator.c" />
<ClCompile Include="..\..\Modules\_pickle.c" />
<ClCompile Include="..\..\Modules\_randommodule.c" />
<ClCompile Include="..\..\Modules\_sre.c" />
<ClCompile Include="..\..\Modules\_stat.c" />
<ClCompile Include="..\..\Modules\_struct.c" />
<ClCompile Include="..\..\Modules\_threadmodule.c" />
<ClCompile Include="..\..\Modules\_tracemalloc.c" />
<ClCompile Include="..\..\Modules\_weakref.c" />
<ClCompile Include="..\..\Objects\abstract.c" />
<ClCompile Include="..\..\Objects\accu.c" />
<ClCompile Include="..\..\Objects\boolobject.c" />
<ClCompile Include="..\..\Objects\bytearrayobject.c" />
<ClCompile Include="..\..\Objects\bytesobject.c" />
<ClCompile Include="..\..\Objects\bytes_methods.c" />
<ClCompile Include="..\..\Objects\capsule.c" />
<ClCompile Include="..\..\Objects\cellobject.c" />
<ClCompile Include="..\..\Objects\classobject.c" />
<ClCompile Include="..\..\Objects\codeobject.c" />
<ClCompile Include="..\..\Objects\complexobject.c" />
<ClCompile Include="..\..\Objects\descrobject.c" />
<ClCompile Include="..\..\Objects\dictobject.c" />
<ClCompile Include="..\..\Objects\enumobject.c" />
<ClCompile Include="..\..\Objects\exceptions.c" />
<ClCompile Include="..\..\Objects\fileobject.c" />
<ClCompile Include="..\..\Objects\floatobject.c" />
<ClCompile Include="..\..\Objects\frameobject.c" />
<ClCompile Include="..\..\Objects\funcobject.c" />
<ClCompile Include="..\..\Objects\genobject.c" />
<ClCompile Include="..\..\Objects\iterobject.c" />
<ClCompile Include="..\..\Objects\listobject.c" />
<ClCompile Include="..\..\Objects\longobject.c" />
<ClCompile Include="..\..\Objects\memoryobject.c" />
<ClCompile Include="..\..\Objects\methodobject.c" />
<ClCompile Include="..\..\Objects\moduleobject.c" />
<ClCompile Include="..\..\Objects\namespaceobject.c" />
<ClCompile Include="..\..\Objects\object.c" />
<ClCompile Include="..\..\Objects\obmalloc.c" />
<ClCompile Include="..\..\Objects\rangeobject.c" />
<ClCompile Include="..\..\Objects\setobject.c" />
<ClCompile Include="..\..\Objects\sliceobject.c" />
<ClCompile Include="..\..\Objects\structseq.c" />
<ClCompile Include="..\..\Objects\tupleobject.c" />
<ClCompile Include="..\..\Objects\typeobject.c" />
<ClCompile Include="..\..\Objects\unicodectype.c" />
<ClCompile Include="..\..\Objects\unicodeobject.c" />
<ClCompile Include="..\..\Objects\weakrefobject.c" />
<ClCompile Include="..\..\Parser\acceler.c" />
<ClCompile Include="..\..\Parser\bitset.c" />
<ClCompile Include="..\..\Parser\firstsets.c" />
<ClCompile Include="..\..\Parser\grammar.c" />
<ClCompile Include="..\..\Parser\grammar1.c" />
<ClCompile Include="..\..\Parser\listnode.c" />
<ClCompile Include="..\..\Parser\metagrammar.c" />
<ClCompile Include="..\..\Parser\myreadline.c" />
<ClCompile Include="..\..\Parser\node.c" />
<ClCompile Include="..\..\Parser\parser.c" />
<ClCompile Include="..\..\Parser\parsetok.c" />
<ClCompile Include="..\..\Parser\pgen.c" />
<ClCompile Include="..\..\Parser\printgrammar.c" />
<ClCompile Include="..\..\Parser\tokenizer.c" />
<ClCompile Include="..\..\PC\config.c" />
<ClCompile Include="..\..\PC\dl_nt.c" />
<ClCompile Include="..\..\PC\getpathp.c" />
<ClCompile Include="..\..\PC\invalid_parameter_handler.c" />
<ClCompile Include="..\..\PC\winreg.c" />
<ClCompile Include="..\..\Python\asdl.c" />
<ClCompile Include="..\..\Python\ast.c" />
<ClCompile Include="..\..\Python\bltinmodule.c" />
<ClCompile Include="..\..\Python\ceval.c" />
<ClCompile Include="..\..\Python\codecs.c" />
<ClCompile Include="..\..\Python\compile.c" />
<ClCompile Include="..\..\Python\dtoa.c" />
<ClCompile Include="..\..\Python\dynamic_annotations.c" />
<ClCompile Include="..\..\Python\dynload_win.c" />
<ClCompile Include="..\..\Python\errors.c" />
<ClCompile Include="..\..\Python\fileutils.c" />
<ClCompile Include="..\..\Python\formatter_unicode.c" />
<ClCompile Include="..\..\Python\frozen.c" />
<ClCompile Include="..\..\Python\future.c" />
<ClCompile Include="..\..\Python\getargs.c" />
<ClCompile Include="..\..\Python\getcompiler.c" />
<ClCompile Include="..\..\Python\getcopyright.c" />
<ClCompile Include="..\..\Python\getopt.c" />
<ClCompile Include="..\..\Python\getplatform.c" />
<ClCompile Include="..\..\Python\getversion.c" />
<ClCompile Include="..\..\Python\graminit.c" />
<ClCompile Include="..\..\Python\import.c" />
<ClCompile Include="..\..\Python\importdl.c" />
<ClCompile Include="..\..\Python\marshal.c" />
<ClCompile Include="..\..\Python\modsupport.c" />
<ClCompile Include="..\..\Python\mysnprintf.c" />
<ClCompile Include="..\..\Python\mystrtoul.c" />
<ClCompile Include="..\..\Python\peephole.c" />
<ClCompile Include="..\..\Python\pyarena.c" />
<ClCompile Include="..\..\Python\pyctype.c" />
<ClCompile Include="..\..\Python\pyfpe.c" />
<ClCompile Include="..\..\Python\pyhash.c" />
<ClCompile Include="..\..\Python\pymath.c" />
<ClCompile Include="..\..\Python\pystate.c" />
<ClCompile Include="..\..\Python\pystrcmp.c" />
<ClCompile Include="..\..\Python\pystrtod.c" />
<ClCompile Include="..\..\Python\Python-ast.c" />
<ClCompile Include="..\..\Python\pythonrun.c" />
<ClCompile Include="..\..\Python\pytime.c" />
<ClCompile Include="..\..\Python\random.c" />
<ClCompile Include="..\..\Python\structmember.c" />
<ClCompile Include="..\..\Python\symtable.c" />
<ClCompile Include="..\..\Python\sysmodule.c" />
<ClCompile Include="..\..\Python\thread.c" />
<ClCompile Include="..\..\Python\traceback.c" />
<ClCompile Include="..\..\Python\_warnings.c" />
<ClCompile Include="python34.cpp">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">Default</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Default</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsCpp</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Default</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CompileAsCpp</CompileAs>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</CompileAsWinRT>
<CompileAsWinRT Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsWinRT>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +0,0 @@
#pragma once
// Including SDKDDKVer.h defines the highest available Windows platform.
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
#include <SDKDDKVer.h>

View File

@@ -1,20 +0,0 @@
<Application
x:Class="python34app.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:python34app">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!--
Styles that define common aspects of the platform look and feel
Required by Visual Studio project and item templates
-->
<ResourceDictionary Source="Common/StandardStyles.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>

View File

@@ -1,70 +0,0 @@
//
// App.xaml.cpp
// Implementation of the App.xaml class.
//
#include "PyShell.xaml.h"
#include "Python.h"
using namespace python34app;
using namespace Platform;
using namespace Windows::ApplicationModel;
using namespace Windows::ApplicationModel::Activation;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::UI::Xaml;
using namespace Windows::UI::Xaml::Controls;
using namespace Windows::UI::Xaml::Controls::Primitives;
using namespace Windows::UI::Xaml::Data;
using namespace Windows::UI::Xaml::Input;
using namespace Windows::UI::Xaml::Interop;
using namespace Windows::UI::Xaml::Media;
using namespace Windows::UI::Xaml::Navigation;
// The Split Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234228
/// <summary>
/// Initializes the singleton application object. This is the first line of authored code
/// executed, and as such is the logical equivalent of main() or WinMain().
/// </summary>
App::App()
{
InitializeComponent();
Suspending += ref new SuspendingEventHandler(this, &App::OnSuspending);
}
/// <summary>
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used when the application is launched to open a specific file, to display
/// search results, and so forth.
/// </summary>
/// <param name="args">Details about the launch request and process.</param>
void App::OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ pArgs)
{
if (pArgs->PreviousExecutionState == ApplicationExecutionState::Terminated)
{
//TODO: Load state from previously suspended application
}
// Create a Frame to act navigation context and navigate to the first page
auto rootFrame = ref new Frame();
TypeName pageType = { PyShell::typeid->FullName, TypeKind::Metadata };
rootFrame->Navigate(pageType);
// Place the frame in the current Window and ensure that it is active
Window::Current->Content = rootFrame;
Window::Current->Activate();
}
/// <summary>
/// Invoked when application execution is being suspended. Application state is saved
/// without knowing whether the application will be terminated or resumed with the contents
/// of memory still intact.
/// </summary>
/// <param name="sender">The source of the suspend request.</param>
/// <param name="e">Details about the suspend request.</param>
void App::OnSuspending(Object^ sender, SuspendingEventArgs^ e)
{
//TODO: Save application state and stop any background activity
}

View File

@@ -1,24 +0,0 @@
//
// App.xaml.h
// Deklaration der App-Klasse
//
#pragma once
#include "App.g.h"
namespace python34app
{
/// <summary>
/// Stellt das anwendungsspezifische Verhalten bereit, um die Standardanwendungsklasse zu ergänzen.
/// </summary>
ref class App sealed
{
public:
App();
virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ pArgs) override;
private:
void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e);
};
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -1,44 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
IgnorableNamespaces="uap mp">
<Identity Name="61605Martinv.Lwis.Python3ForMetro" Publisher="CN=6505BD69-58FF-4804-B5FC-0B7F0C36F381" Version="1.1.0.31" />
<mp:PhoneIdentity PhoneProductId="6ebf9798-e8c1-475e-8c8a-b7923d97f580" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>Python 3 For Metro</DisplayName>
<PublisherDisplayName>Martin v. Löwis</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
<Description>python34app</Description>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
</Dependencies>
<Resources>
<Resource Language="en" />
<Resource Language="en-us" />
</Resources>
<Applications>
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="python34app.App">
<uap:VisualElements
DisplayName="Python 3 for Metro"
Description="python34app"
BackgroundColor="#464646"
Square150x150Logo="Assets\Logo.png"
Square44x44Logo="Assets\Logo.png">
<uap:DefaultTile>
<uap:ShowNameOnTiles>
<uap:ShowOn Tile="square150x150Logo" />
</uap:ShowNameOnTiles>
</uap:DefaultTile>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
</Capabilities>
</Package>

View File

@@ -1,29 +0,0 @@
<UserControl
x:Class="python34app.Privacy"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:python34app"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="500"
d:DesignWidth="346" Width="343">
<Grid>
<StackPanel Background="{StaticResource ApplicationPageBackgroundThemeBrush}" VerticalAlignment="Top" Margin="10,10" >
<StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
<Button Style="{StaticResource BackButtonStyle}" Click="do_close" Height="49" Width="49" Margin="0,0">
<AutomationProperties.Name>Close</AutomationProperties.Name>
</Button>
<TextBlock Style="{StaticResource SubheaderTextStyle}" Margin="20,0" Text="Privacy Declaration"/>
</StackPanel>
<TextBlock Style="{StaticResource ItemTextStyle}" HorizontalAlignment="Left" Margin="10,74,0,0" VerticalAlignment="Top" Grid.Row="1" TextWrapping="Wrap" Height="361">
This interactive Python interpreter supports connections to the internet using the socket module. Data is transmitted to the internet only if if this
socket module is used (either directly, or indirectly e.g. through the urllib module). On its own, this app will not attempt to collect personal information.
</TextBlock>
</StackPanel>
</Grid>
</UserControl>

View File

@@ -1,34 +0,0 @@
//
// Privacy.xaml.cpp
// Implementierung der Klasse Privacy
//
#include "pch.h"
#include "Privacy.xaml.h"
using namespace python34app;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::UI::Xaml;
using namespace Windows::UI::Xaml::Controls;
using namespace Windows::UI::Xaml::Controls::Primitives;
using namespace Windows::UI::Xaml::Data;
using namespace Windows::UI::Xaml::Input;
using namespace Windows::UI::Xaml::Media;
using namespace Windows::UI::Xaml::Navigation;
// Die Elementvorlage "Benutzersteuerelement" ist unter http://go.microsoft.com/fwlink/?LinkId=234236 dokumentiert.
Privacy::Privacy()
{
InitializeComponent();
}
void Privacy::do_close(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e)
{
auto popup = (Popup^)Parent;
popup->IsOpen = false;
}

Some files were not shown because too many files have changed in this diff Show More