• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mAgicAnime 俺用改造版


コミットメタ情報

リビジョン4a18770599868d431860c3b9c0da6eb33e112e5f (tree)
日時2019-11-24 18:55:13
作者yoshy <yoshy@user...>
コミッターyoshy

ログメッセージ

[UPD] fix.版にもななし版の一部機能を取り込み(以下)

[ADD] ver.7sh 2.0.14.1 話数が割り当てられていないデータも1話として扱うようにした
[FIX] ver.7sh 2.0.14.1 エンコード失敗時にファイルを削除しないようにした
[FIX] ver.7sh 2.0.14.3 ウィンドウサイズが極端に小さくならないように限定した
[ADD] ver.7sh 2.0.14.4 タイトルバーにVer.7shを追加
[ADD] ver.7sh 2.0.14.5 番組プロパティの上部のURLでブラウザを開くようにした

変更サマリ

差分

--- a/PathHelper.cs
+++ b/PathHelper.cs
@@ -33,10 +33,10 @@ namespace Helpers
3333 name = name.Replace( ':', ':' );
3434 name = name.Replace( ':', ':' );
3535 name = name.Replace( '\"', '”' );
36-// mod. yossiepon_20151025 begin
36+ // add yossiepon 20151025 begin
3737 name = name.Replace( '|', '|' );
3838 name = name.Replace( '%', '%' );
39-// mod. yossiepon_20151025 end
39+ // add yossiepon 20151025 end
4040
4141 // 無効な文字を削除する
4242 name = name.TrimStart( Path.GetInvalidFileNameChars() );
--- a/RecordingManager/EncodeManager/CmdLineEncoder/CmdLineEncoderPlugin.cs
+++ b/RecordingManager/EncodeManager/CmdLineEncoder/CmdLineEncoderPlugin.cs
@@ -331,6 +331,9 @@ namespace magicAnime.RecordingManager.EncodeManager.CmdLineEncoder
331331
332332 process.WaitForExit();
333333
334+ if (process.ExitCode != 0)
335+ throw new Exception("エンコードに失敗した (終了コード: " + process.ExitCode + ")");
336+
334337 if (abortEncode)
335338 throw new AbortException();
336339
--- a/User32API.cs
+++ b/User32API.cs
@@ -126,8 +126,6 @@ namespace User32API
126126
127127 gctext.Free();
128128
129- string aa;
130-
131129 text = Encoding.GetEncoding( 932 ).GetString( buffer, 0, 250 );
132130
133131 Console.Write( text );
--- a/UserInterface/AnimeDialog.Designer.cs
+++ b/UserInterface/AnimeDialog.Designer.cs
@@ -132,6 +132,7 @@
132132 this.linkLabel2.TabIndex = 6;
133133 this.linkLabel2.TabStop = true;
134134 this.linkLabel2.Text = "しょぼいカレンダー(http://cal.syoboi.jp/)";
135+ this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
135136 //
136137 // label17
137138 //
--- a/UserInterface/AnimeDialog.cs
+++ b/UserInterface/AnimeDialog.cs
@@ -562,7 +562,7 @@ namespace magicAnime
562562 if (mInputTitle != null)
563563 {
564564 titleTextBox.Text = mInputTitle;
565- mInputTitle= null;
565+ mInputTitle = null;
566566 }
567567 }
568568 };
@@ -659,6 +659,7 @@ namespace magicAnime
659659
660660 dlg.ShowDialog();
661661 }
662+
662663 //=========================================================================
663664 /// <summary>
664665 /// コントロールの状態更新
@@ -681,6 +682,27 @@ namespace magicAnime
681682 recordTvStationCheckBox.Enabled = mLinkOnline;
682683 }
683684
685+ //=========================================================================
686+ /// <summary>
687+ /// しょぼカルを開く
688+ /// </summary>
689+ /// <remarks>
690+ /// </remarks>
691+ /// <history>2012/03/19 新規作成</history>
692+ //=========================================================================
693+ private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
694+ {
695+ int tid = (int)syoboiTidUpdown.Value;
696+ if (tid != 0)
697+ {
698+ System.Diagnostics.Process.Start("http://cal.syoboi.jp/tid/" + tid.ToString());
699+ }
700+ else
701+ {
702+ System.Diagnostics.Process.Start("http://cal.syoboi.jp/");
703+ }
704+ }
705+
684706 }
685707
686708 }
--- a/UserInterface/CalenderOptionDialog.cs
+++ b/UserInterface/CalenderOptionDialog.cs
@@ -37,7 +37,7 @@ namespace magicAnime
3737 Settings.Default.dayPast = (int)dayPastUpdown.Value;
3838 Settings.Default.dayFuture = (int)dayFutureUpdown.Value;
3939 Settings.Default.weekPast = (int)weekPastUpdown.Value;
40- Settings.Default.weekFuture= (int)weekFutureUpdown.Value;
40+ Settings.Default.weekFuture = (int)weekFutureUpdown.Value;
4141
4242 this.DialogResult = DialogResult.OK;
4343
--- a/UserInterface/MainForm.Designer.cs
+++ b/UserInterface/MainForm.Designer.cs
@@ -1221,6 +1221,7 @@
12211221 this.Shown += new System.EventHandler(this.MainForm_Shown);
12221222 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
12231223 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
1224+ this.Resize += new System.EventHandler(this.MainForm_Resize);
12241225 ((System.ComponentModel.ISupportInitialize)(this.filePictureBox)).EndInit();
12251226 ((System.ComponentModel.ISupportInitialize)(this.titlePictureBox)).EndInit();
12261227 ((System.ComponentModel.ISupportInitialize)(this.statusPictureBox)).EndInit();
--- a/UserInterface/MainForm.cs
+++ b/UserInterface/MainForm.cs
@@ -3037,6 +3037,23 @@ namespace magicAnime
30373037 }
30383038 }
30393039
3040+ // add 7sh 2.0.14.10 2012-03-30 begin
3041+ //=========================================================================
3042+ /// <summary>
3043+ /// リサイズの限定
3044+ /// </summary>
3045+ /// <remarks>
3046+ /// </remarks>
3047+ /// <history>2012/02/23 新規作成</history>
3048+ //========================================================================
3049+ private void MainForm_Resize(object sender, EventArgs e)
3050+ {
3051+ if (this.WindowState == FormWindowState.Minimized) { return; }
3052+ if (this.Width < 758) { this.Width = 758; }
3053+ if (this.Height < 310) { this.Height = 310; }
3054+ }
3055+ // add 7sh 2.0.14.10 2012-03-30 end
3056+
30403057 // add yossiepon 20160924 begin
30413058 //=========================================================================
30423059 /// <summary>