Skip to content

Commit

Permalink
Fix settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
clown committed Oct 9, 2018
1 parent 208d3eb commit 91deda1
Show file tree
Hide file tree
Showing 70 changed files with 740 additions and 1,206 deletions.
12 changes: 6 additions & 6 deletions AppVeyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 2.11.1.{build}
version: 2.12.0.{build}
branches:
only:
- master
Expand All @@ -25,10 +25,6 @@ build:
publish_nuget: true
verbosity: minimal
after_build:
- xcopy /q /Y /I Applications\Converter\Forms\bin\Release CubePdf
- xcopy /q /Y /I Applications\Converter\Proxy\bin\Release CubePdf.Proxy
- xcopy /q /Y /I Applications\Editor\Forms\bin\Release CubePdf.Utility
- xcopy /q /Y /I Applications\Editor\Proxy\bin\Release CubePdf.Utility.Proxy
- xcopy /q /Y /I ..\native\x64\bin\gsdll32.dll Tests\bin\Release
- xcopy /q /Y /I ..\native\x64\lib\*.* Tests\bin\Release\lib
- xcopy /q /Y /I ..\native\x64\bin\gsdll32.dll Applications\Converter\Tests\bin\Release
Expand Down Expand Up @@ -72,10 +68,14 @@ test_script:
-output:CoverResults.xml
-filter:"+[Cube*]* -[*]*NativeMethods -[*]*Properties.* -[*]*Window -[*]*Control -[*]*.App"
after_test:
- xcopy /q /Y /I CoverResults.xml Tests\
- xcopy /q /Y /I Tests\bin\Release\Cube.Pdf.Tests.log Tests\
- xcopy /q /Y /I Applications\Converter\Tests\bin\Release\Cube.Pdf.Tests.Converter.log Tests\
- xcopy /q /Y /I Applications\Editor\Tests\bin\Release\Cube.Pdf.Tests.Editor.log Tests\
- xcopy /q /Y /I CoverResults.xml Tests\
- xcopy /q /Y /I Applications\Converter\Forms\bin\Release CubePdf
- xcopy /q /Y /I Applications\Converter\Proxy\bin\Release CubePdf.Proxy
- xcopy /q /Y /I Applications\Editor\Forms\bin\Release CubePdf.Utility
- xcopy /q /Y /I Applications\Editor\Proxy\bin\Release CubePdf.Utility.Proxy
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "CoverResults.xml"
Expand Down
59 changes: 26 additions & 33 deletions Applications/Clip/App.config
Original file line number Diff line number Diff line change
@@ -1,40 +1,33 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>

<log4net>
<appender name="DebugLogAppender" type="log4net.Appender.RollingFileAppender">
<encoding value="UTF-8" />
<param name="RollingStyle" value="Size" />
<param name="File" value="${LOCALAPPDATA}\CubeSoft\CubePdfClip\Log\CubePdfClip.log" />
<param name="MaximumFileSize" value="100KB" />
<param name="MaxSizeRollBackups" value="10" />
<param name="AppendToFile" value="True" />
<log4net>
<appender name="DefaultAppender" type="log4net.Appender.RollingFileAppender">
<param name="File" value="${LOCALAPPDATA}\CubeSoft\CubePdfPage\Log\CubePdfPage.log" />
<param name="Encoding" value="UTF-8" />
<param name="RollingStyle" value="Size" />
<param name="MaximumFileSize" value="1MB" />
<param name="MaxSizeRollBackups" value="5" />
<param name="AppendToFile" value="True" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%date [%-5level] %logger - %message%n" />
</layout>
</appender>

<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMax" value="FATAL" />
<param name="LevelMin" value="DEBUG" />
</filter>
<root>
<level value="ALL" />
<appender-ref ref="DefaultAppender" />
</root>
</log4net>

<layout type="log4net.Layout.PatternLayout">
<IgnoresException value="False" />
<ConversionPattern value="%date [%3thread] [%-5level] %logger{2} - %message%n" />
</layout>
</appender>
<runtime>
<generatePublisherEvidence enabled="false" />
</runtime>

<root>
<level value="ALL" />
<appender-ref ref="DebugLogAppender" />
</root>
</log4net>

<runtime>
<generatePublisherEvidence enabled="false" />
</runtime>

<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
121 changes: 50 additions & 71 deletions Applications/Clip/App.manifest
Original file line number Diff line number Diff line change
@@ -1,76 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC マニフェスト オプション
Windows のユーザー アカウント制御のレベルを変更するには、
requestedExecutionLevel ノードを以下のいずれかで置換します。
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
requestedExecutionLevel 要素を指定すると、ファイルおよびレジストリの仮想化が無効にされます。
アプリケーションが下位互換性を保つためにこの仮想化を要求する場合、この要素を
削除します。
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- このアプリケーションがテストされ、協働するようテストされた Windows バージョンの
一覧。適切な要素をコメント解除すると、最も互換性のある環境を Windows が
自動的に選択します。-->

<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->

<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->

<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->

<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->

<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />

</application>
</compatibility>

<!-- アプリケーションが DPI 対応であり、それ以上の DPI で Windows によって自動的にスケーリングされないことを
示します。Windows Presentation Foundation (WPF) アプリケーションは自動的に DPI に対応し、オプトインする必要は
ありません。さらに、この設定にオプトインする .NET Framework 4.6 を対象とする Windows Forms アプリケーションは、
app.config ファイルで 'EnableWindowsFormsHighDpiAutoResizing' 設定を 'true' に設定する必要があります。-->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!--
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->

<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->

<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->

<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->

<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
</application>
</compatibility>

<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->

<!-- Windows のコモン コントロールとダイアログのテーマを有効にします (Windows XP 以降) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->

</application>
-->

<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*" />
</dependentAssembly>
</dependency>
</assembly>
8 changes: 4 additions & 4 deletions Applications/Clip/Cube.Pdf.App.Clip.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@
<HintPath>..\..\..\packages\AlphaFS.2.2.6\lib\net45\AlphaFS.dll</HintPath>
</Reference>
<Reference Include="Cube.Core">
<HintPath>..\..\..\packages\Cube.Core.1.11.0\lib\net45\Cube.Core.dll</HintPath>
<HintPath>..\..\..\packages\Cube.Core.1.12.0\lib\net45\Cube.Core.dll</HintPath>
</Reference>
<Reference Include="Cube.FileSystem">
<HintPath>..\..\..\packages\Cube.FileSystem.1.11.0\lib\net45\Cube.FileSystem.dll</HintPath>
<HintPath>..\..\..\packages\Cube.FileSystem.1.12.0\lib\net45\Cube.FileSystem.dll</HintPath>
</Reference>
<Reference Include="Cube.Forms">
<HintPath>..\..\..\packages\Cube.Forms.1.11.0\lib\net45\Cube.Forms.dll</HintPath>
<HintPath>..\..\..\packages\Cube.Forms.1.12.0\lib\net45\Cube.Forms.dll</HintPath>
</Reference>
<Reference Include="Cube.Images">
<HintPath>..\..\..\packages\Cube.Images.1.11.0\lib\net45\Cube.Images.dll</HintPath>
<HintPath>..\..\..\packages\Cube.Images.1.12.0\lib\net45\Cube.Images.dll</HintPath>
</Reference>
<Reference Include="log4net">
<HintPath>..\..\..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
Expand Down
12 changes: 6 additions & 6 deletions Applications/Clip/Packages.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="AlphaFS" version="2.2.6" targetFramework="net45" />
<package id="Cube.Core" version="1.11.0" targetFramework="net45" />
<package id="Cube.FileSystem" version="1.11.0" targetFramework="net45" />
<package id="Cube.Forms" version="1.11.0" targetFramework="net45" />
<package id="Cube.Images" version="1.11.0" targetFramework="net45" />
<package id="log4net" version="2.0.8" targetFramework="net45" />
<package id="AlphaFS" version="2.2.6" targetFramework="net45" />
<package id="Cube.Core" version="1.12.0" targetFramework="net45" />
<package id="Cube.FileSystem" version="1.12.0" targetFramework="net45" />
<package id="Cube.Forms" version="1.12.0" targetFramework="net45" />
<package id="Cube.Images" version="1.12.0" targetFramework="net45" />
<package id="log4net" version="2.0.8" targetFramework="net45" />
</packages>
26 changes: 3 additions & 23 deletions Applications/Clip/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,15 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyVersion("1.0.1")]
[assembly: AssemblyFileVersion("1.0.1")]
[assembly: AssemblyTitle("CubePDF Clip")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("CubeSoft")]
[assembly: AssemblyProduct("CubePDF Clip")]
[assembly: AssemblyCopyright("Copyright © 2017 CubeSoft, Inc.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCulture("")]

// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントから
// 参照できなくなります。COM からこのアセンブリ内の型にアクセスする必要がある場合は、
// その型の ComVisible 属性を true に設定してください。
[assembly: ComVisible(false)]

// このプロジェクトが COM に公開される場合、次の GUID が typelib の ID になります
[assembly: Guid("65746ef3-a052-45ce-8565-adf0df950dbe")]

// アセンブリのバージョン情報は次の 4 つの値で構成されています:
//
// メジャー バージョン
// マイナー バージョン
// ビルド番号
// Revision
//
// すべての値を指定するか、次を使用してビルド番号とリビジョン番号を既定に設定できます
// 既定値にすることができます:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1")]
[assembly: AssemblyFileVersion("1.0.1")]
Loading

0 comments on commit 91deda1

Please sign in to comment.