Skip to content

Commit

Permalink
deploy: d7ea9f4
Browse files Browse the repository at this point in the history
  • Loading branch information
intoinside committed Apr 28, 2024
1 parent 1bd7901 commit 1db6da4
Show file tree
Hide file tree
Showing 38 changed files with 1,931 additions and 2,012 deletions.
61 changes: 61 additions & 0 deletions clipboard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/**
The code below is based on the Doxygen Awesome project, see
https://github.com/jothepro/doxygen-awesome-css
MIT License
Copyright (c) 2021 - 2022 jothepro
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

let clipboard_title = "Copy to clipboard"
let clipboard_icon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>`
let clipboard_successIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`
let clipboard_successDuration = 1000

$(function() {
if(navigator.clipboard) {
const fragments = document.getElementsByClassName("fragment")
for(const fragment of fragments) {
const clipboard_div = document.createElement("div")
clipboard_div.classList.add("clipboard")
clipboard_div.innerHTML = clipboard_icon
clipboard_div.title = clipboard_title
$(clipboard_div).click(function() {
const content = this.parentNode.cloneNode(true)
// filter out line number and folded fragments from file listings
content.querySelectorAll(".lineno, .ttc, .foldclosed").forEach((node) => { node.remove() })
let text = content.textContent
// remove trailing newlines and trailing spaces from empty lines
text = text.replace(/^\s*\n/gm,'\n').replace(/\n*$/,'')
navigator.clipboard.writeText(text);
this.classList.add("success")
this.innerHTML = clipboard_successIcon
window.setTimeout(() => { // switch back to normal icon after timeout
this.classList.remove("success")
this.innerHTML = clipboard_icon
}, clipboard_successDuration);
})
fragment.insertBefore(clipboard_div, fragment.firstChild)
}
}
})
37 changes: 17 additions & 20 deletions common-global_8asm.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>c128lib Common: common-global.asm File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
Expand All @@ -34,7 +36,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
Expand All @@ -46,7 +48,7 @@
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
$(function() { init_search(); });
});
/* @license-end */
</script>
Expand All @@ -64,7 +66,7 @@
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('common-global_8asm.html',''); initResizable(); });
$(function(){initNavTree('common-global_8asm.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
Expand Down Expand Up @@ -101,15 +103,15 @@
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a6ab94cbb25629ec716da021b3e16c4ea" id="r_a6ab94cbb25629ec716da021b3e16c4ea"><td class="memItemLeft" align="right" valign="top">macro&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="common-global_8asm.html#a6ab94cbb25629ec716da021b3e16c4ea">c128lib_BasicUpstart128</a> (data)</td></tr>
<tr class="memitem:a6ab94cbb25629ec716da021b3e16c4ea" id="r_a6ab94cbb25629ec716da021b3e16c4ea"><td class="memItemLeft" align="right" valign="top">macro&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6ab94cbb25629ec716da021b3e16c4ea">c128lib_BasicUpstart128</a> (data)</td></tr>
<tr class="separator:a6ab94cbb25629ec716da021b3e16c4ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60ea2a187d9be7d14287b5fc88b30400" id="r_a60ea2a187d9be7d14287b5fc88b30400"><td class="memItemLeft" align="right" valign="top">macro&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="common-global_8asm.html#a60ea2a187d9be7d14287b5fc88b30400">c128lib_fbne</a> (label)</td></tr>
<tr class="memitem:a60ea2a187d9be7d14287b5fc88b30400" id="r_a60ea2a187d9be7d14287b5fc88b30400"><td class="memItemLeft" align="right" valign="top">macro&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a60ea2a187d9be7d14287b5fc88b30400">c128lib_fbne</a> (label)</td></tr>
<tr class="separator:a60ea2a187d9be7d14287b5fc88b30400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae58c2d2ecaf1f626d4974a75b87f4b56" id="r_ae58c2d2ecaf1f626d4974a75b87f4b56"><td class="memItemLeft" align="right" valign="top">macro&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="common-global_8asm.html#ae58c2d2ecaf1f626d4974a75b87f4b56">c128lib_fbmi</a> (label)</td></tr>
<tr class="memitem:ae58c2d2ecaf1f626d4974a75b87f4b56" id="r_ae58c2d2ecaf1f626d4974a75b87f4b56"><td class="memItemLeft" align="right" valign="top">macro&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae58c2d2ecaf1f626d4974a75b87f4b56">c128lib_fbmi</a> (label)</td></tr>
<tr class="separator:ae58c2d2ecaf1f626d4974a75b87f4b56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76fba7ab63b1366be3d35cb8bbf7e706" id="r_a76fba7ab63b1366be3d35cb8bbf7e706"><td class="memItemLeft" align="right" valign="top">macro&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="common-global_8asm.html#a76fba7ab63b1366be3d35cb8bbf7e706">c128lib_ch</a> (data)</td></tr>
<tr class="memitem:a76fba7ab63b1366be3d35cb8bbf7e706" id="r_a76fba7ab63b1366be3d35cb8bbf7e706"><td class="memItemLeft" align="right" valign="top">macro&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a76fba7ab63b1366be3d35cb8bbf7e706">c128lib_ch</a> (data)</td></tr>
<tr class="separator:a76fba7ab63b1366be3d35cb8bbf7e706"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1f9759178ed7268bd4b7ed6c1ad7afa" id="r_aa1f9759178ed7268bd4b7ed6c1ad7afa"><td class="memItemLeft" align="right" valign="top">macro&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="common-global_8asm.html#aa1f9759178ed7268bd4b7ed6c1ad7afa">c128lib_cm</a> (data)</td></tr>
<tr class="memitem:aa1f9759178ed7268bd4b7ed6c1ad7afa" id="r_aa1f9759178ed7268bd4b7ed6c1ad7afa"><td class="memItemLeft" align="right" valign="top">macro&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa1f9759178ed7268bd4b7ed6c1ad7afa">c128lib_cm</a> (data)</td></tr>
<tr class="separator:aa1f9759178ed7268bd4b7ed6c1ad7afa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
Expand All @@ -127,8 +129,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a6ab94cbb25629ec716da021b
<tr>
<td class="memname">macro c128lib_BasicUpstart128 </td>
<td>(</td>
<td class="paramtype">data&#160;</td>
<td class="paramname"></td><td>)</td>
<td class="paramtype">data</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
<td></td>
</tr>
</table>
Expand All @@ -153,8 +154,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a76fba7ab63b1366be3d35cb8
<tr>
<td class="memname">macro c128lib_ch </td>
<td>(</td>
<td class="paramtype">data&#160;</td>
<td class="paramname"></td><td>)</td>
<td class="paramtype">data</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
<td></td>
</tr>
</table>
Expand All @@ -171,8 +171,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#aa1f9759178ed7268bd4b7ed6
<tr>
<td class="memname">macro c128lib_cm </td>
<td>(</td>
<td class="paramtype">data&#160;</td>
<td class="paramname"></td><td>)</td>
<td class="paramtype">data</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
<td></td>
</tr>
</table>
Expand All @@ -189,8 +188,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#ae58c2d2ecaf1f626d4974a75
<tr>
<td class="memname">macro c128lib_fbmi </td>
<td>(</td>
<td class="paramtype">label&#160;</td>
<td class="paramname"></td><td>)</td>
<td class="paramtype">label</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
<td></td>
</tr>
</table>
Expand All @@ -216,8 +214,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a60ea2a187d9be7d14287b5fc
<tr>
<td class="memname">macro c128lib_fbne </td>
<td>(</td>
<td class="paramtype">label&#160;</td>
<td class="paramname"></td><td>)</td>
<td class="paramtype">label</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
<td></td>
</tr>
</table>
Expand All @@ -240,7 +237,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a60ea2a187d9be7d14287b5fc
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="common-global_8asm.html">common-global.asm</a></li>
<li class="footer">Generated on Mon Sep 4 2023 18:55:20 for c128lib Common by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
<li class="footer">Generated on Sun Apr 28 2024 09:42:23 for c128lib Common by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
</ul>
</div>
</body>
Expand Down
Loading

0 comments on commit 1db6da4

Please sign in to comment.