Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
andanteyk committed Oct 17, 2017
2 parents 219c107 + c4fe58d commit ffe6217
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 21 deletions.
3 changes: 2 additions & 1 deletion ElectronicObserver/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.14.0" newVersion="1.2.14.0" />
<bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
</dependentAssembly>
</assemblyBinding>
<enforceFIPSPolicy enabled="false" />
</runtime>
</configuration>
12 changes: 6 additions & 6 deletions ElectronicObserver/ElectronicObserver.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@
<Reference Include="DynamicJson">
<HintPath>..\Libraries\DynamicJson.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=1.2.14.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\log4net.2.0.4\lib\net45-full\log4net.dll</HintPath>
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="Microsoft.VisualBasic" />
<Reference Include="Nekoxy, Version=1.5.2.20, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Nekoxy.1.5.2.20\lib\net45\Nekoxy.dll</HintPath>
<Reference Include="Nekoxy, Version=1.5.3.21, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Nekoxy.1.5.3.21\lib\net45\Nekoxy.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -87,7 +87,7 @@
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="TrotiNet, Version=0.8.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Nekoxy.1.5.2.20\lib\net45\TrotiNet.dll</HintPath>
<HintPath>..\packages\Nekoxy.1.5.3.21\lib\net45\TrotiNet.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions ElectronicObserver/Utility/Data/RecordHash.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace ElectronicObserver.Utility.Data {

/// <summary>
/// レコードに使用するための MD5 アルゴリズムによるハッシュ計算を行います。
/// デフォルトの MD5 クラスを利用した場合、 FIPS が有効な環境下で InvalidOperationException が発生する問題があります。
/// デフォルトの MD5 クラスを利用した場合、 FIPS が有効な環境下で InvalidOperationException や TargetInvocationException が発生する問題があります。
/// この問題を回避するためのクラスです。
/// </summary>
/// <remarks>http://support.microsoft.com/kb/811833</remarks>
Expand All @@ -27,7 +27,7 @@ static RecordHash() {
originalHasher = System.Security.Cryptography.MD5.Create();


} catch ( InvalidOperationException ) {
} catch ( Exception ) {

Utility.Logger.Add( 1, "RecordHash: System.Security.Cryptography.MD5 ハッシュが利用できません。独自実装を利用します。" );

Expand Down
12 changes: 6 additions & 6 deletions ElectronicObserver/Utility/PathHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ public static string GetPathFromOpenFileDialog( OpenFileDialog dialog ) {
string path = dialog.FileName;

// カレントディレクトリ以下にあるなら相対パスとして記録する
string currentDir = Directory.GetCurrentDirectory();
string currentDir = Directory.GetCurrentDirectory() + @"\";
if ( path != null && path.IndexOf( currentDir ) == 0 ) {
path = path.Remove( 0, currentDir.Length + 1 ); //+1 は \ の分
path = path.Remove( 0, currentDir.Length );
}

return path;
Expand Down Expand Up @@ -104,9 +104,9 @@ public static string GetPathFromSaveFileDialog( SaveFileDialog dialog ) {
string path = dialog.FileName;

// カレントディレクトリ以下にあるなら相対パスとして記録する
string currentDir = Directory.GetCurrentDirectory();
string currentDir = Directory.GetCurrentDirectory() + @"\";
if ( path != null && path.IndexOf( currentDir ) == 0 ) {
path = path.Remove( 0, currentDir.Length + 1 ); //+1 は \ の分
path = path.Remove( 0, currentDir.Length );
}

return path;
Expand Down Expand Up @@ -155,9 +155,9 @@ public static string GetPathFromFolderBrowserDialog( FolderBrowserDialog dialog
string path = dialog.SelectedPath;

// カレントディレクトリ以下にあるなら相対パスとして記録する
string currentDir = Directory.GetCurrentDirectory();
string currentDir = Directory.GetCurrentDirectory() + @"\";
if ( path != null && path.IndexOf( currentDir ) == 0 ) {
path = path.Remove( 0, currentDir.Length + 1 ); //+1 は \ の分
path = path.Remove( 0, currentDir.Length );
}

return path;
Expand Down
6 changes: 3 additions & 3 deletions ElectronicObserver/Utility/SoftwareInformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static string SoftwareNameEnglish {
/// </summary>
public static string VersionJapanese {
get {
return SoftwareNameJapanese + "二八型改";
return SoftwareNameJapanese + "二八型改二";
}
}

Expand All @@ -44,7 +44,7 @@ public static string VersionJapanese {
/// </summary>
public static string VersionEnglish {
get {
return "2.8.1";
return "2.8.2";
}
}

Expand All @@ -54,7 +54,7 @@ public static string VersionEnglish {
/// </summary>
public static DateTime UpdateTime {
get {
return DateTimeHelper.CSVStringToTime( "2017/10/01 20:00:00" );
return DateTimeHelper.CSVStringToTime( "2017/10/17 20:30:00" );
}
}

Expand Down
4 changes: 2 additions & 2 deletions ElectronicObserver/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="log4net" version="2.0.4" targetFramework="net45" />
<package id="Nekoxy" version="1.5.2.20" targetFramework="net45" />
<package id="log4net" version="2.0.8" targetFramework="net45" />
<package id="Nekoxy" version="1.5.3.21" targetFramework="net45" />
</packages>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

*このリンクの更新は遅れる可能性があります。最新版は[こちら](http://electronicobserver.blog.fc2.com/)で確認してください。*

[ver. 2.8.1 (2017/10/01)](http://bit.ly/2xPtAAu)
[ver. 2.8.2 (2017/10/17)](http://bit.ly/2yvNgdA)

[更新内容・履歴はこちらで確認できます。](https://github.com/andanteyk/ElectronicObserver/wiki/ChangeLog)

Expand Down

0 comments on commit ffe6217

Please sign in to comment.