-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,624 changed files
with
65,622 additions
and
39,704 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="shortcut icon" href="icons/favicon.ico" /> | ||
<link rel="stylesheet" href="css/bulma.css" /> | ||
<link rel="stylesheet" href="css/font-awesome.min.css" /> | ||
<link rel="stylesheet" href="css/presentationStyle.css" /> | ||
<script src="scripts/jquery-3.5.1.min.js"></script> | ||
<script src="scripts/presentationStyle.js"></script> | ||
<title>Task Scheduler Managed Class Library - General Error</title> | ||
</head> | ||
|
||
<body> | ||
<section id="MainSection" class="section p-0"> | ||
<div class="pageHeader level mb-2 pt-2 pb-2 pl-5 pr-5"> | ||
<div id="TitleContainer" class="level-left"> | ||
<div id="DocumentationTitle" class="level-item"> | ||
Task Scheduler Managed Class Library - General Error | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<div id="TopicContent" class="column content is-7"> | ||
<h1>We're sorry, a general error has occurred.</h1> | ||
<p>Please try to load the page again. If the error persists, please contact the site administrator.</p> | ||
</div> | ||
</body> | ||
|
||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="shortcut icon" href="icons/favicon.ico" /> | ||
<link rel="stylesheet" href="css/bulma.css" /> | ||
<link rel="stylesheet" href="css/font-awesome.min.css" /> | ||
<link rel="stylesheet" href="css/presentationStyle.css" /> | ||
<script src="scripts/jquery-3.5.1.min.js"></script> | ||
<script src="scripts/presentationStyle.js"></script> | ||
<title>Task Scheduler Managed Class Library - Page Not Found</title> | ||
</head> | ||
|
||
<body> | ||
<section id="MainSection" class="section p-0"> | ||
<div class="pageHeader level mb-2 pt-2 pb-2 pl-5 pr-5"> | ||
<div id="TitleContainer" class="level-left"> | ||
<div id="DocumentationTitle" class="level-item"> | ||
Task Scheduler Managed Class Library - Page Not Found | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<div id="TopicContent" class="column content is-7"> | ||
<h1>We're sorry, the page you requested cannot be found.</h1> | ||
<p>The URL might be misspelled or the page you are looking for is no longer available. If you typed in the | ||
URL, check that it does not contain a typo. You can return to the <a href="html/R_Project_TaskScheduler.htm">main page</a> to | ||
use the table of contents or the search option to try and locate the page.</p> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
// System : Sandcastle Help File Builder | ||
// File : SearchHelp.aspx | ||
// Author : Eric Woodruff ([email protected]) | ||
// Updated : 05/15/2014 | ||
// Note : Copyright 2007-2015, Eric Woodruff, All rights reserved | ||
// Updated : 08/13/2022 | ||
// Note : Copyright 2007-202, Eric Woodruff, All rights reserved | ||
// | ||
// This file contains the code used to search for keywords within the help topics using the full-text index | ||
// files created by the help file builder. | ||
|
@@ -119,7 +119,7 @@ private List<string> ParseKeywords(string keywords) | |
{ | ||
checkWord = word.ToLower(CultureInfo.InvariantCulture); | ||
if(checkWord.Length > 2 && !Char.IsDigit(checkWord[0]) && !keywordList.Contains(checkWord)) | ||
if(checkWord.Length >= 2 && !Char.IsDigit(checkWord[0]) && !keywordList.Contains(checkWord)) | ||
keywordList.Add(checkWord); | ||
} | ||
|
@@ -140,7 +140,8 @@ private string Search(List<string> keywords, List<string> fileInfo, | |
StringBuilder sb = new StringBuilder(10240); | ||
Dictionary<string, List<long>> matches = new Dictionary<string, List<long>>(); | ||
List<long> occurrences; | ||
List<int> matchingFileIndices = new List<int>(), occurrenceIndices = new List<int>(); | ||
HashSet<int> matchingFileIndices = new HashSet<int>(); | ||
List<int> occurrenceIndices = new List<int>(); | ||
List<Ranking> rankings = new List<Ranking>(); | ||
string filename, title; | ||
|
@@ -150,7 +151,13 @@ private string Search(List<string> keywords, List<string> fileInfo, | |
foreach(string word in keywords) | ||
{ | ||
if(!wordDictionary.TryGetValue(word, out occurrences)) | ||
occurrences = new List<long>(); | ||
foreach(KeyValuePair<string, List<long>> kv in wordDictionary) | ||
if(kv.Key.Contains(word)) | ||
occurrences.AddRange(kv.Value); | ||
if(occurrences.Count == 0) | ||
return "<strong>Nothing found</strong>"; | ||
matches.Add(word, occurrences); | ||
|
@@ -163,18 +170,14 @@ private string Search(List<string> keywords, List<string> fileInfo, | |
if(isFirst) | ||
{ | ||
isFirst = false; | ||
matchingFileIndices.AddRange(occurrenceIndices); | ||
matchingFileIndices.UnionWith(occurrenceIndices); | ||
} | ||
else | ||
{ | ||
// After the first match, remove files that do not appear for | ||
// all found keywords. | ||
for(idx = 0; idx < matchingFileIndices.Count; idx++) | ||
if(!occurrenceIndices.Contains(matchingFileIndices[idx])) | ||
{ | ||
matchingFileIndices.RemoveAt(idx); | ||
idx--; | ||
} | ||
// After the first match, remove files that do not appear for all found keywords | ||
foreach(int i in matchingFileIndices.ToArray()) | ||
if(!occurrenceIndices.Contains(i)) | ||
matchingFileIndices.Remove(i); | ||
} | ||
} | ||
|
@@ -217,7 +220,7 @@ private string Search(List<string> keywords, List<string> fileInfo, | |
}); | ||
// Format the file list and return the results | ||
sb.Append("<ol>"); | ||
sb.Append("<ol>"); | ||
foreach(Ranking r in rankings) | ||
sb.AppendFormat("<li><a href=\"{0}\" target=\"_blank\">{1}</a></li>", r.Filename, r.PageTitle); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.