Commit MetaInfo

修订版e359ba949930d66c4fcbc03d7e0142c562c5249a (tree)
时间2005-06-25 22:03:12
作者cvs2git <cvs2git>
Commitercvs2git

Log Message

This commit was manufactured by cvs2svn to create tag 'merged-remodeling'.

更改概述

差异

--- a/BoardGroup.pas
+++ b/BoardGroup.pas
@@ -1960,19 +1960,10 @@ var
19601960 i : Integer;
19611961 begin
19621962 for i := Self.Count - 1 downto 0 do begin
1963- try
1964- TBoard(Self.Objects[i]).Free;
1965- except
1966- end;
1963+ TBoard(Self.Objects[i]).Free;
19671964 end;
19681965 inherited Clear;
1969- Self.Capacity := 0;
1970- try
1971- if FBoardPlugIn <> nil then
1972- FBoardPlugIn.Free;
1973- except
1974- end;
1975-
1966+ Self.Capacity := 0;
19761967 end;
19771968
19781969
--- a/Giko.pas
+++ b/Giko.pas
@@ -1840,6 +1840,8 @@ begin
18401840 if FStartUp then begin
18411841 ShowWindow(Application.Handle, SW_HIDE);
18421842
1843+
1844+
18431845 //FormCreateでやると可視設定が反映されない場合があるのでFormShowでやることにした
18441846 //ツールバー表示
18451847 StdToolBarVisibleAction.Checked := GikoSys.Setting.StdToolBarVisible;
@@ -2126,7 +2128,7 @@ begin
21262128 except
21272129 end;
21282130
2129- {
2131+
21302132 try
21312133 for i := Length( BoardPlugIns ) - 1 downto 0 do begin
21322134 if BoardPlugIns[ i ] <> nil then
@@ -2135,7 +2137,7 @@ begin
21352137 end;
21362138 except
21372139 end;
2138- }
2140+
21392141 try
21402142 if FEvent <> nil then
21412143 FEvent.Free;
@@ -2221,26 +2223,6 @@ begin
22212223 //TreeViewクリア(BBS2ch.Freeの後にクリアするとXPスタイル時にエラー出る)
22222224 TreeView.Items.Clear;
22232225
2224- //巡回リスト保存
2225- try
2226- RoundList.SaveRoundFile;
2227- except
2228- end;
2229- //巡回リストを破棄
2230- try
2231- RoundList.Clear;
2232- except
2233- end;
2234-
2235- //履歴の保存と破棄
2236- SaveHistory;
2237- ClearHistory;
2238-
2239- //お気に入りの保存と破棄
2240- FavoriteDM.WriteFavorite;
2241- FavoriteDM.Clear;
2242-
2243-
22442226 //BBS破棄
22452227 try
22462228 for i := Length( BBSs ) - 1 downto 0 do begin
@@ -2254,32 +2236,44 @@ begin
22542236 ActiveList := nil;
22552237
22562238 FTreeType := gttNone;
2257- //GikoSys.FBoardURLList.Clear;
2258- for i := Length(BoardGroups) - 1 downto 0 do begin
2259- BoardGroups[i].Clear;
2260- end;
2239+ //GikoSys.FBoardURLList.Clear;
2240+ for i := Length(BoardGroups) - 1 downto 0 do begin
2241+ BoardGroups[i].Clear;
2242+ end;
22612243 GikoSys.ListBoardFile; //ボードファイル読込
22622244
2263- // すべてのBBSを読み込んでおく
2264- for i := Length(BBSs) - 1 downto 0 do begin
2265- if not BBSs[i].IsBoardFileRead then
2266- GikoSys.ReadBoardFile(BBSs[i]);
2267- end;
2268-
22692245 // BBS メニューの更新
22702246 SetBBSMenu;
22712247
22722248 ShowBBSTree( BBSs[ 0 ] );
22732249
22742250 // 履歴読み込み
2251+ SaveHistory;
2252+ ClearHistory;
22752253 LoadHistory;
22762254
22772255 //お気に入り読み込み
2256+ FavoriteDM.WriteFavorite;
2257+ FavoriteDM.Clear;
22782258 FavoriteDM.ReadFavorite;
22792259
22802260 SetLinkBar;
22812261
2282- //巡回の読み込み
2262+ // すべてのBBSを読み込んでおく
2263+ for i := Length(BBSs) - 1 downto 0 do begin
2264+ if not BBSs[i].IsBoardFileRead then
2265+ GikoSys.ReadBoardFile(BBSs[i]);
2266+ end;
2267+
2268+ //巡回リスト保存&破棄
2269+ try
2270+ RoundList.SaveRoundFile;
2271+ except
2272+ end;
2273+ try
2274+ RoundList.Clear;
2275+ except
2276+ end;
22832277 RoundList.LoadRoundBoardFile;
22842278 RoundList.LoadRoundThreadFile;
22852279
@@ -12034,9 +12028,7 @@ var
1203412028 msg : String;
1203512029 ReadList : TStringList;
1203612030 wordCount : TWordCount;
12037-{$IFDEF SPAM_FILTER_ENABLED}
12038- i : Integer;
12039-{$ENDIF}
12031+ {i : Integer;}
1204012032 begin
1204112033 IndividualForm := TIndividualAbonForm.Create(Self);
1204212034 try
--- a/RoundData.pas
+++ b/RoundData.pas
@@ -532,19 +532,16 @@ begin
532532 sl.Add(ROUND_INDEX_VERSION);
533533 for i := 0 to FBoardList.Count - 1 do begin
534534 Item := TRoundItem(FBoardList[i]);
535- try
536- if Item.TmpURL <> '' then begin
537- s := Item.TmpURL + #1
538- + Item.BoardTitle + #1
539- + Item.RoundName;
540- end else begin
541- s := Item.URL + #1
542- + Item.BoardTitle + #1
543- + Item.RoundName;
544- end;
545- sl.Add(s);
546- except
535+ if Item.TmpURL <> '' then begin
536+ s := Item.TmpURL + #1
537+ + Item.BoardTitle + #1
538+ + Item.RoundName;
539+ end else begin
540+ s := Item.URL + #1
541+ + Item.BoardTitle + #1
542+ + Item.RoundName;
547543 end;
544+ sl.Add(s);
548545 end;
549546 sl.SaveToFile(FileName);
550547 sl.Clear;
@@ -552,23 +549,20 @@ begin
552549 sl.Add(ROUND_INDEX_VERSION);
553550 for i := 0 to FItemList.Count - 1 do begin
554551 Item := TRoundItem(FItemList[i]);
555- try
556- if Item.TmpURL <> '' then begin
557- s := Item.TmpURL + #1
558- + Item.BoardTitle + #1
559- + Item.FileName + #1
560- + Item.ThreadTitle + #1
561- + Item.RoundName;
562- end else begin
563- s := Item.URL + #1
564- + Item.BoardTitle + #1
565- + Item.FileName + #1
566- + Item.ThreadTitle + #1
567- + Item.RoundName;
568- end;
569- sl.Add(s);
570- except
552+ if Item.TmpURL <> '' then begin
553+ s := Item.TmpURL + #1
554+ + Item.BoardTitle + #1
555+ + Item.FileName + #1
556+ + Item.ThreadTitle + #1
557+ + Item.RoundName;
558+ end else begin
559+ s := Item.URL + #1
560+ + Item.BoardTitle + #1
561+ + Item.FileName + #1
562+ + Item.ThreadTitle + #1
563+ + Item.RoundName;
571564 end;
565+ sl.Add(s);
572566 end;
573567 sl.SaveToFile(FileName);
574568 finally
Binary files a/gikoNavi.res and b/gikoNavi.res differ
Show on old repository browser