-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lapiz-taglist-plugin-panel: add G_GNUC_UNUSED in unused parameters |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Cppcheck - HTML report - lapiz (cppcheck 2.14.0-1)</title> | ||
<link rel="stylesheet" href="style.css"> | ||
<style> | ||
|
||
</style> | ||
<script> | ||
function getStyle(el, styleProp) { | ||
var y; | ||
|
||
if (el.currentStyle) { | ||
y = el.currentStyle[styleProp]; | ||
} else if (window.getComputedStyle) { | ||
y = document.defaultView.getComputedStyle(el, null).getPropertyValue(styleProp); | ||
} | ||
|
||
return y; | ||
} | ||
|
||
function toggle() { | ||
var el = this.expandable_content; | ||
var mark = this.expandable_marker; | ||
|
||
if (el.style.display === "block") { | ||
el.style.display = "none"; | ||
mark.textContent = "[+]"; | ||
} else { | ||
el.style.display = "block"; | ||
mark.textContent = "[-]"; | ||
} | ||
} | ||
|
||
function initExpandables() { | ||
var elements = document.querySelectorAll(".expandable"); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
var el = elements[i]; | ||
var clickable = el.querySelector("span"); | ||
var marker = clickable.querySelector(".marker"); | ||
var content = el.querySelector(".content"); | ||
var width = clickable.clientWidth - parseInt(getStyle(content, "padding-left")) - parseInt(getStyle(content, "padding-right")); | ||
content.style.width = width + "px"; | ||
clickable.expandable_content = content; | ||
clickable.expandable_marker = marker; | ||
clickable.addEventListener("click", toggle); | ||
} | ||
} | ||
|
||
function toggleDisplay(cb) { | ||
var elements = document.querySelectorAll("." + cb.id); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
elements[i].classList.toggle("id-filtered", !cb.checked); | ||
} | ||
|
||
updateFileRows(); | ||
} | ||
|
||
function toggleSeverity(cb) { | ||
cb.parentElement.classList.toggle("unchecked", !cb.checked); | ||
var elements = document.querySelectorAll(".sev_" + cb.id); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
elements[i].classList.toggle("severity-filtered", !cb.checked); | ||
} | ||
|
||
updateFileRows(); | ||
} | ||
|
||
function toggleTool(cb) { | ||
cb.parentElement.classList.toggle("unchecked", !cb.checked); | ||
|
||
var elements; | ||
if (cb.id == "clang-tidy") | ||
elements = document.querySelectorAll("[class^=clang-tidy-]"); | ||
else | ||
elements = document.querySelectorAll(".issue:not([class^=clang-tidy-])"); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
elements[i].classList.toggle("tool-filtered", !cb.checked); | ||
} | ||
|
||
updateFileRows(); | ||
} | ||
|
||
function toggleAll() { | ||
var elements = document.querySelectorAll(".idToggle"); | ||
|
||
// starting from 1 since 0 is the "toggle all" input | ||
for (var i = 1, len = elements.length; i < len; i++) { | ||
var changed = elements[i].checked != elements[0].checked; | ||
if (changed) { | ||
elements[i].checked = elements[0].checked; | ||
toggleDisplay(elements[i]); | ||
} | ||
} | ||
} | ||
|
||
function filterFile(filter) { | ||
var elements = document.querySelectorAll(".fileEntry"); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
var visible = elements[i].querySelector("tr").querySelector("td").textContent.toLowerCase().includes(filter.toLowerCase()); | ||
elements[i].classList.toggle("text-filtered", !visible); | ||
} | ||
} | ||
|
||
function filterText(text) { | ||
filter = text.toLowerCase(); | ||
var elements = document.querySelectorAll(".issue"); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
var visible = false; | ||
var fields = elements[i].querySelectorAll("td"); | ||
for (var n = 0, num = fields.length; n < num; n++) { | ||
if (fields[n].textContent.toLowerCase().includes(filter)) { | ||
visible = true; | ||
break; | ||
} | ||
} | ||
elements[i].classList.toggle("text-filtered", !visible); | ||
} | ||
|
||
updateFileRows(); | ||
} | ||
|
||
function updateFileRows(element) { | ||
var elements = document.querySelectorAll(".fileEntry"); | ||
|
||
for (var i = 0, len = elements.length; i < len; i++) { | ||
var visible = elements[i].querySelector(".issue:not(.id-filtered):not(.severity-filtered):not(.tool-filtered):not(.text-filtered)"); | ||
elements[i].classList.toggle("file-filtered", !visible); | ||
} | ||
} | ||
|
||
window.addEventListener("load", initExpandables); | ||
</script> | ||
</head> | ||
<body> | ||
<div id="wrapper"> | ||
<div id="header" class="header"> | ||
<h1>Cppcheck report - lapiz (cppcheck 2.14.0-1): Statistics</h1> | ||
|
||
</div> | ||
|
||
<div id="menu_index"> | ||
<p><a href="index.html">Back to summary</a> </p> | ||
|
||
</div> | ||
<div id="content_index"> | ||
<p><span class="statHeader">Top 10 files for error severity, total findings: 54</span><br> | ||
   2 <a href="36.html"> lapiz/lapiz-utils.c</a><br> | ||
   1 <a href="69.html"> tools/plugin_template/lapiz-plugin.c</a><br> | ||
   1 <a href="68.html"> tests/smart-converter.c</a><br> | ||
   1 <a href="67.html"> tests/document-saver.c</a><br> | ||
   1 <a href="66.html"> tests/document-output-stream.c</a><br> | ||
   1 <a href="65.html"> tests/document-loader.c</a><br> | ||
   1 <a href="64.html"> tests/document-input-stream.c</a><br> | ||
   1 <a href="63.html"> plugins/trailsave/lapiz-trail-save-plugin.c</a><br> | ||
   1 <a href="62.html"> plugins/time/lapiz-time-plugin.c</a><br> | ||
   1 <a href="61.html"> plugins/taglist/lapiz-taglist-plugin.c</a><br> | ||
</p> | ||
<p><span class="statHeader">Top 10 files for warning severity, total findings: 1</span><br> | ||
   1 <a href="36.html"> lapiz/lapiz-utils.c</a><br> | ||
</p> | ||
<p><span class="statHeader">Top 10 files for portability severity, total findings: 2</span><br> | ||
   2 <a href="5.html"> lapiz/lapiz-commands-file.c</a><br> | ||
</p> | ||
<p><span class="statHeader">Top 10 files for style severity, total findings: 45</span><br> | ||
   9 <a href="41.html"> lapiz/smclient/eggdesktopfile.c</a><br> | ||
   6 <a href="59.html"> plugins/taglist/lapiz-taglist-plugin-panel.c</a><br> | ||
   5 <a href="40.html"> lapiz/lapiztextregion.c</a><br> | ||
   5 <a href="37.html"> lapiz/lapiz-view.c</a><br> | ||
   5 <a href="10.html"> lapiz/lapiz-documents-panel.c</a><br> | ||
   3 <a href="36.html"> lapiz/lapiz-utils.c</a><br> | ||
   3 <a href="19.html"> lapiz/lapiz-message-type.c</a><br> | ||
   2 <a href="25.html"> lapiz/lapiz-prefs-manager-app.c</a><br> | ||
   2 <a href="7.html"> lapiz/lapiz-document-input-stream.c</a><br> | ||
   1 <a href="54.html"> plugins/spell/lapiz-automatic-spell-checker.c</a><br> | ||
</p> | ||
<p><span class="statHeader">Top 10 files for information severity, total findings: 12</span><br> | ||
   1 <a href="69.html"> tools/plugin_template/lapiz-plugin.c</a><br> | ||
   1 <a href="60.html"> plugins/taglist/lapiz-taglist-plugin-parser.c</a><br> | ||
   1 <a href="41.html"> lapiz/smclient/eggdesktopfile.c</a><br> | ||
   1 <a href="36.html"> lapiz/lapiz-utils.c</a><br> | ||
   1 <a href="30.html"> lapiz/lapiz-session.c</a><br> | ||
   1 <a href="26.html"> lapiz/lapiz-prefs-manager.c</a><br> | ||
   1 <a href="21.html"> lapiz/lapiz-metadata-manager.c</a><br> | ||
   1 <a href="19.html"> lapiz/lapiz-message-type.c</a><br> | ||
   1 <a href="17.html"> lapiz/lapiz-io-error-message-area.c</a><br> | ||
   1 <a href="6.html"> lapiz/lapiz-commands-search.c</a><br> | ||
</p> | ||
|
||
</div> | ||
<div id="footer" class="footer"> | ||
<p> | ||
Created by Cppcheck 2.14.0 (<a href="https://cppcheck.sourceforge.io">Sourceforge</a>, <a href="irc://irc.freenode.net/cppcheck">IRC</a>) | ||
</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,177 @@ | ||
|
||
body { | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; | ||
font-size: 13px; | ||
line-height: 1.5; | ||
height: 100%; | ||
margin: 0; | ||
} | ||
|
||
#wrapper { | ||
position: fixed; | ||
height: 100vh; | ||
width: 100vw; | ||
display: grid; | ||
grid-template-rows: fit-content(8rem) auto fit-content(8rem); | ||
grid-template-columns: fit-content(25%) 1fr; | ||
grid-template-areas: | ||
"header header" | ||
"menu content" | ||
"footer footer"; | ||
} | ||
|
||
h1 { | ||
margin: 0 0 8px -2px; | ||
font-size: 175%; | ||
} | ||
|
||
.header { | ||
padding: 0 0 5px 15px; | ||
grid-area: header; | ||
border-bottom: thin solid #aaa; | ||
} | ||
|
||
.footer { | ||
grid-area: footer; | ||
border-top: thin solid #aaa; | ||
font-size: 85%; | ||
|
||
} | ||
|
||
.footer > p { | ||
margin: 4px; | ||
} | ||
|
||
#menu, | ||
#menu_index { | ||
grid-area: menu; | ||
text-align: left; | ||
overflow: auto; | ||
padding: 0 23px 15px 15px; | ||
border-right: thin solid #aaa; | ||
min-width: 200px; | ||
} | ||
|
||
#menu > a { | ||
display: block; | ||
margin-left: 10px; | ||
font-size: 12px; | ||
} | ||
|
||
#content, | ||
#content_index { | ||
grid-area: content; | ||
padding: 0px 5px 15px 15px; | ||
overflow: auto; | ||
} | ||
|
||
label { | ||
white-space: nowrap; | ||
} | ||
|
||
label.checkBtn.disabled { | ||
color: #606060; | ||
background: #e0e0e0; | ||
font-style: italic; | ||
} | ||
|
||
label.checkBtn, input[type="text"] { | ||
border: 1px solid grey; | ||
border-radius: 4px; | ||
box-shadow: 1px 1px inset; | ||
padding: 1px 5px; | ||
} | ||
|
||
label.checkBtn { | ||
white-space: nowrap; | ||
background: #ccddff; | ||
} | ||
|
||
label.unchecked { | ||
background: #eff8ff; | ||
box-shadow: 1px 1px 1px; | ||
} | ||
|
||
label.checkBtn:hover, label.unchecked:hover{ | ||
box-shadow: 0 0 2px; | ||
} | ||
|
||
label.disabled:hover { | ||
box-shadow: 1px 1px inset; | ||
} | ||
|
||
label.checkBtn > input { | ||
display:none; | ||
} | ||
|
||
.summaryTable { | ||
width: 100%; | ||
} | ||
|
||
table.summaryTable td { padding: 0 5px 0 5px; } | ||
|
||
.statHeader, .severityHeader { | ||
font-weight: bold; | ||
} | ||
|
||
.warning { | ||
background-color: #ffffa7; | ||
} | ||
|
||
.error { | ||
background-color: #ffb7b7; | ||
} | ||
|
||
.error2 { | ||
background-color: #faa; | ||
display: inline-block; | ||
margin-left: 4px; | ||
} | ||
|
||
.inconclusive { | ||
background-color: #b6b6b4; | ||
} | ||
|
||
.inconclusive2 { | ||
background-color: #b6b6b4; | ||
display: inline-block; | ||
margin-left: 4px; | ||
} | ||
|
||
.verbose { | ||
display: inline-block; | ||
vertical-align: top; | ||
cursor: help; | ||
} | ||
|
||
.verbose .content { | ||
display: none; | ||
position: absolute; | ||
padding: 10px; | ||
margin: 4px; | ||
max-width: 40%; | ||
white-space: pre-wrap; | ||
border: 1px solid #000; | ||
background-color: #ffffcc; | ||
cursor: auto; | ||
} | ||
|
||
.highlight .hll { | ||
padding: 1px; | ||
} | ||
|
||
.highlighttable { | ||
background-color: #fff; | ||
position: relative; | ||
margin: -10px; | ||
} | ||
|
||
.linenos { | ||
border-right: thin solid #aaa; | ||
color: #d3d3d3; | ||
padding-right: 6px; | ||
} | ||
|
||
.id-filtered, .severity-filtered, .file-filtered, .tool-filtered, .text-filtered { | ||
visibility: collapse; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lapiz-time-plugin: add G_GNUC_UNUSED in unused parameters |