Skip to content

Commit 1cac740

Browse files
committed
Update docs from rizinorg/cutter
Original Commit: 734acd17061a4527d9a89668537e3bc64a475e54 Add package name `rz-cutter` in README (#3420)
1 parent 2f345ed commit 1cac740

File tree

399 files changed

+5686
-5691
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

399 files changed

+5686
-5691
lines changed

docs/_static/basic.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -741,14 +741,6 @@ abbr, acronym {
741741
cursor: help;
742742
}
743743

744-
.translated {
745-
background-color: rgba(207, 255, 207, 0.2)
746-
}
747-
748-
.untranslated {
749-
background-color: rgba(255, 207, 207, 0.2)
750-
}
751-
752744
/* -- code displays --------------------------------------------------------- */
753745

754746
pre {

docs/_static/searchtools.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -513,9 +513,11 @@ const Search = {
513513
// perform the search on the required terms
514514
searchTerms.forEach((word) => {
515515
const files = [];
516+
// find documents, if any, containing the query word in their text/title term indices
517+
// use Object.hasOwnProperty to avoid mismatching against prototype properties
516518
const arr = [
517-
{ files: terms[word], score: Scorer.term },
518-
{ files: titleTerms[word], score: Scorer.title },
519+
{ files: terms.hasOwnProperty(word) ? terms[word] : undefined, score: Scorer.term },
520+
{ files: titleTerms.hasOwnProperty(word) ? titleTerms[word] : undefined, score: Scorer.title },
519521
];
520522
// add support for partial matches
521523
if (word.length > 2) {
@@ -547,8 +549,9 @@ const Search = {
547549

548550
// set score for the word in each file
549551
recordFiles.forEach((file) => {
550-
if (!scoreMap.has(file)) scoreMap.set(file, {});
551-
scoreMap.get(file)[word] = record.score;
552+
if (!scoreMap.has(file)) scoreMap.set(file, new Map());
553+
const fileScores = scoreMap.get(file);
554+
fileScores.set(word, record.score);
552555
});
553556
});
554557

@@ -587,7 +590,7 @@ const Search = {
587590
break;
588591

589592
// select one (max) score for the file.
590-
const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w]));
593+
const score = Math.max(...wordList.map((w) => scoreMap.get(file).get(w)));
591594
// add result to the result list
592595
results.push([
593596
docNames[file],

docs/api.html

Lines changed: 2637 additions & 2637 deletions
Large diffs are not rendered by default.

docs/api/common/classAddressableFilterProxyModel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ <h3 id="searchlabel">Quick search</h3>
204204

205205
<div class="footer" role="contentinfo">
206206
&#169; Copyright 2020, The Cutter Developers.
207-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3.
207+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
208208
</div>
209209

210210

docs/api/common/classAddressableItemModel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ <h3 id="searchlabel">Quick search</h3>
190190

191191
<div class="footer" role="contentinfo">
192192
&#169; Copyright 2020, The Cutter Developers.
193-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3.
193+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
194194
</div>
195195

196196

docs/api/common/classAddressableItemModelI.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ <h3 id="searchlabel">Quick search</h3>
199199

200200
<div class="footer" role="contentinfo">
201201
&#169; Copyright 2020, The Cutter Developers.
202-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3.
202+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
203203
</div>
204204

205205

docs/api/common/classAnalysisTask.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ <h3 id="searchlabel">Quick search</h3>
212212

213213
<div class="footer" role="contentinfo">
214214
&#169; Copyright 2020, The Cutter Developers.
215-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3.
215+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
216216
</div>
217217

218218

docs/api/common/classAsyncTask.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ <h3 id="searchlabel">Quick search</h3>
256256

257257
<div class="footer" role="contentinfo">
258258
&#169; Copyright 2020, The Cutter Developers.
259-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3.
259+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
260260
</div>
261261

262262

docs/api/common/classAsyncTaskManager.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ <h3 id="searchlabel">Quick search</h3>
202202

203203
<div class="footer" role="contentinfo">
204204
&#169; Copyright 2020, The Cutter Developers.
205-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3.
205+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
206206
</div>
207207

208208

docs/api/common/classBasicBlockHighlighter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ <h3 id="searchlabel">Quick search</h3>
216216

217217
<div class="footer" role="contentinfo">
218218
&#169; Copyright 2020, The Cutter Developers.
219-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3.
219+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
220220
</div>
221221

222222

0 commit comments

Comments
 (0)