# HG changeset patch # User František Kučera # Date 1567546126 -7200 # Node ID 025ec3d898c4d5462e3b8911abc2562892dd50cd # Parent ad2c76125200c5f169a266b715d41969630b7a93 mouse.globalcode.info – website skeleton diff -r ad2c76125200 -r 025ec3d898c4 build.uživatelské.properties --- a/build.uživatelské.properties Thu Sep 11 20:30:46 2014 +0200 +++ b/build.uživatelské.properties Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,1 @@ +xslt.jar=/home/fiki/lib/java/saxon/saxonb.jar diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/.seznam.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/.seznam.xml Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,65 @@ + + + ano + Seznam všech stránek + Všechny stránky tohoto webu. + +

+ Mouse utilities + – + Introduction to the mouse utilities. + (3.9. 2019 22:04) +

+

+ cadMousePro + – + CLI tool, D-Bus service and a GUI application for configuring the CadMouse Pro. + (3.9. 2019 22:04) +

+

+ Spacenav Demo + – + Demo program that shows current state of 3D mouse. + (3.9. 2019 22:04) +

+

+ Spacenav Simulator + – + A tool that simulates 3D mouse (resp. the socket) and allows control of a CAD or other client program. + (3.9. 2019 22:04) +

+

+ Spacenav Hack + – + An LD_PRELOAD hack that translates socket messages to the X11 events. + (3.9. 2019 22:04) +

+

+ License + – + Free software license of the Mouse utilities + (3.9. 2019 23:25) +

+

+ Download + – + Sources and distribution of Mouse utilities + (3.9. 2019 23:26) +

+

+ Support & contact + – + Support and contact information + (3.9. 2019 23:21) +

+
+
\ No newline at end of file diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/cadMousePro.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/cadMousePro.xml Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,15 @@ + + + cadMousePro + CLI tool, D-Bus service and a GUI application for configuring the CadMouse Pro. + 020 + + +

+

+
+ +
+ diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/contact.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/contact.xml Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,63 @@ + + + Support & contact + Support and contact information + + support + donate + contact + public keys + + 100 + + +

+ were created at GlobalCode.info by Ing. František Kučera a.k.a. <xkucf03/> +

+ +

+ You can send me an e-mail"; +# You might notice that I really hate spam.]]> or follow me online: +

+ + + +

+ My public keys: + OpenPGP, + SSH +

+ +

So crypto…

+ +
    +
  • BTC: bc1qmt3qgzcf3a0f0tvnm70zjr0vhlchfyrjtnleqm
  • +
+ +

Mailing lists

+ +
    +
  • + mouse-dev – currently used for all public communication (including user questions, bug reports etc.) +
  • +
+ + +
+ +
diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/css/mouse.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/css/mouse.css Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,82 @@ +.logo { + background-color: black; + height: 64px; + width: 1240px; + margin-left: -20px; + margin-right: -20px; + margin-top: -5px; + border-top-right-radius: 8px; + border-top-left-radius: 8px; +} + +.logo img { + margin-top: 8px; + margin-left: 16px; +} + +#zápatí p { + background-color: black; + width: 1240px; + min-height: 24px; + padding-top: 4px; + margin-left: -20px; + margin-right: -20px; + margin-bottom: -10px; + border-bottom-right-radius: 8px; + border-bottom-left-radius: 8px; + color: grey; +} + +#zápatí a { + color: grey; + text-decoration: none; +} + +#zápatí a[href^="http"]:hover { + color: white; + text-shadow: none; + text-decoration: none; +} + +#tělo { + width: 1200px; + background-color: #ccc; +} + +#nabídka { + width: 14em; +} + +#nabídka a:hover { + color: #d71635; + text-shadow: none; +} + +#text { + margin-left: 15em; +} + +@media (max-width: 1300px) { + #tělo { width: auto; } + .logo { width: auto; } + #zápatí p { width: auto; } + #text { margin-left: auto; } +} + +.img-container img { max-width: 820px; } + +p.flattr { + text-align: right; +} + +#text p { + text-align: justify; +} + +#text code { + color: #066; +} + +.already-implemented { + color: grey; +} \ No newline at end of file diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/css/styl.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/css/styl.css Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,205 @@ +body { + background-color: #3c3b37; + font-family: sans-serif; + text-align: center; + font-size: 16px; +} + +a img { + border: none; +} + +a:hover { + text-shadow: 1px 1px 1px #eee; +} +a[href^="https://"]:hover { + text-shadow: 1px 1px 1px #6f6; +} +a[href^="http://"]:hover { + text-shadow: 1px 1px 1px #66f; +} + +#tělo { + width: 900px; + text-align: left; + margin: 0 auto; + margin-top: 32px; + margin-bottom: 32px; + background-color: #77bed2; + padding-left: 20px; + padding-right: 20px; + padding-top: 2px; + padding-bottom: 2px; + border-radius: 8px; +} + +#nabídka { + width: 10.3em; + position: relative; + left: -20px; + top: -12px; + background-color: #3c3b37; + border-top-right-radius: 8px; + border-bottom-right-radius: 8px; + padding-top: 6px; + padding-bottom: 6px; + padding-left: 10px; + list-style-type: none; + float: left; +} + +#nabídka a { + color: white; +} + +#nabídka a:hover { + color: #77bed2; + text-shadow: none; +} + +#text { + min-height: 400px; +} + +#zápatí { + font-size: small; + text-align: center; +} + +pre { + background-color: #ddf; + padding: 6px; + border-radius: 4px; + overflow: auto; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; +} + +.zdroják-ke-stažení { + font-size: 60%; + margin-top: -20px; + padding-right: 0px; + text-align: right; +} +.zdroják-ke-stažení span { + background-color: #ddf; + color: black; + padding: 5px; + border-radius: 0px 0px 4px 4px; + padding-top: 0px; + padding-bottom: 0px; +} + +.zdroják-ke-stažení a { + text-decoration: none +} + +.diagram { + background-color: #ddf; + padding: 6px; + border-radius: 4px; + text-align: center; + max-width: 100%; + overflow: auto; +} + +.diagram .nadpis { + font-size: 60%; + padding: 4px; + margin-top: 6px; + margin-bottom: -6px; + margin-left: -6px; + margin-right: -6px; + background-color: #d0d0f0; + border-radius: 0px 0px 4px 4px; +} + +table { + border-collapse:collapse; + box-shadow: 3px 3px 3px grey; + margin-top: 10px; + margin-bottom: 10px; +} +td, th { + border: 1px solid black; + padding-top: 4px; + padding-bottom: 4px; + padding-left: 6px; + padding-right: 6px; + font-weight: normal; +} +td.číslo { + text-align: right; +} +thead tr { + background: grey; + color:black; +} +tbody tr:hover { + background-color: silver; + color:black; +} + +.rot13 span { + color: gray; + font-family: monospace; +} + +.rot13 a { + margin-left: -5px; + color: green; + text-decoration: none; +} + +.rot13 a:hover { + color: red; +} + +sup, sub { + vertical-align: 0; + position: relative; +} +sup { + bottom: 1ex; +} +sub { + top: 0.8ex; +} + +sup.podČarou-odkaz a { + color: grey; + text-decoration: none; +} + +div.podČarou-poznámky { + font-size: 66%; + border-top: 1px solid grey; + border-bottom: 1px solid grey; + padding-left: 20px; + padding-top: 4px; + padding-bottom: 4px; +} + +div.podČarou-poznámky p { + margin-top: 2px; + margin-bottom: 2px; +} + +div.podČarou-poznámky a.podČarou-odkaz-zpět { + color: black; + text-decoration: none; + margin-right: 4px; +} + + +blockquote { + background-color: #ddf; + padding-top: 3px; + padding-bottom: 3px; + padding-left: 16px; + padding-right: 16px; + border-radius: 4px; +} + diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/download.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/download.xml Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,29 @@ + + + Download + Sources and distribution of Mouse utilities + 090 + + +

+ Download source codes: +

+ + +
+ +

+ Or browse them online at hg.globalcode.info. +

+ +
+ +
diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/grafika/logo.png Binary file mouse-data/grafika/logo.png has changed diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/grafika/logo.xcf Binary file mouse-data/grafika/logo.xcf has changed diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/index.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/index.xml Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,17 @@ + + + Mouse utilities + Introduction to the mouse utilities. + 010 + + +

+ are free software utilities for computer mice and similar hardware. + They are developed on and for GNU/Linux, but should work also on other unix-like systems. +

+
+ +
+ diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/js/skript.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/js/skript.js Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,67 @@ +/** + * XML Web generátor – program na generování webových stránek + * Copyright © 2012 František Kučera (frantovo.cz) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/** + * XML Web generátor – jmenný prostor + */ +var xwg = { + /** + * Zašifruje/dešifruje obsah elementu pomocí Rot13. + * @param id ID elementu, jehož text chceme změnit. + */ + rot13: function(id) { + var e = document.getElementById(id); + e.textContent = e.textContent.rot13(); + }, + + /** + * Vloží klikatelný odkaz. + * @param id ID span elementu obsahujícího data + */ + odkazNaElektronickouPoštu: function(id) { + var spanČesky = document.getElementById(id); + var spanObsah = document.getElementById(id + "b"); + var česky = spanČesky.innerHTML; + var adresa = česky + .replace(new RegExp(" zavináč ", "g"), "@") + .replace(new RegExp(" tečka ", "g"),"."); + + var odkaz = document.createElement("a"); + odkaz.href = "mailto:" + adresa; + if (spanObsah.innerHTML.length > 0) { + odkaz.innerHTML = spanObsah.innerHTML; + } else { + odkaz.innerHTML = adresa; + } + + spanČesky.parentNode.insertBefore(odkaz, spanČesky); + spanČesky.parentNode.removeChild(spanČesky); + spanObsah.parentNode.removeChild(spanObsah); + }, + +}; + +/** + * Vrací hodnotu textového řetězce zašifrovanou/dešifrovanou algoritmem Rot13 + */ +String.prototype.rot13 = function() { + return this.replace(/[a-zA-Z]/g, function(z) { + return String.fromCharCode((z <= "Z" ? 90 : 122) >= (z = z.charCodeAt(0) + 13) ? z : z - 26); + }); +}; + diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/license.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/license.xml Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,25 @@ + + + License + Free software license of the Mouse utilities + + software license + free software + GNU GPL + + 080 + + +

+ are free software distributed under GNU GPLv3+ license. +

+ +

GNU GPLv3

+ + +
+ +
+ diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/makra/img.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/makra/img.xsl Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,58 @@ + + + + + + + + DIR=$(dirname "$XWG_STRANKA_SOUBOR"); + DIR="$DIR/../vstup" + cd "$DIR"; + + ';]]> + + ';]]> + exiv2 "" | | + ';]]> + + ';]]> + + + + + + + +

+ + + {$scriptResult/h:metadata/h:description} + +

+ +
+ +
+ diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/makra/name.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/makra/name.xsl Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,17 @@ + + + + Mouse utilities + + + diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/spacenav-demo.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/spacenav-demo.xml Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,15 @@ + + + Spacenav Demo + Demo program that shows current state of 3D mouse. + 030 + + +

+

+
+ +
+ diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/spacenav-hack.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/spacenav-hack.xml Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,15 @@ + + + Spacenav Hack + An LD_PRELOAD hack that translates socket messages to the X11 events. + 050 + + +

+

+
+ +
+ diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/spacenav-simulator.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/spacenav-simulator.xml Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,15 @@ + + + Spacenav Simulator + A tool that simulates 3D mouse (resp. the socket) and allows control of a CAD or other client program. + 040 + + +

+

+
+ +
+ diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/web.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/web.conf Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,40 @@ + + Mouse utilities (GlobalCode.info) + various utilities for computer mice + + Ing. František Kučera + nereknu_nechci_spam@example.com + + + + + + https://mouse.globalcode.info/v_0/ + + + 6a767259-a0e6-4770-9448-8a9b26cb1102 + + + MouseGlobalCodeInfoWeb + + + css/styl.css + css/mouse.css + css/syntaxe.css + js/skript.js + + + + povolit + + + diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/záhlaví.inc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/záhlaví.inc Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,10 @@ + + + + + + diff -r ad2c76125200 -r 025ec3d898c4 mouse-data/zápatí.inc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mouse-data/zápatí.inc Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,8 @@ + + +

+ Mouse utilities are free software © 2019 GlobalCode +

+
+
+ diff -r ad2c76125200 -r 025ec3d898c4 scripts/image-comment.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/image-comment.sh Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,8 @@ +#!/bin/bash + +FILE="$1"; +COMMENT="$2"; +COPYRIGHT="Mouse utilities (c) $(date +%Y) Frantisek Kucera, Frantovo.cz, GlobalCode.info; copylefted under the GNU FDLv1.3+ license"; # this tag should be in ASCII, see http://www.exiv2.org/tags.html + +[ -n "$FILE" ] && exiv2 -M "set Exif.Image.Copyright $COPYRIGHT" "$FILE"; +[ -n "$COMMENT" ] && exiv2 -M "set Exif.Photo.UserComment charset=Unicode $COMMENT" "$FILE"; diff -r ad2c76125200 -r 025ec3d898c4 skripty/publikuj.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/skripty/publikuj.sh Tue Sep 03 23:28:46 2019 +0200 @@ -0,0 +1,4 @@ +#!/bin/bash +SERVER="globalcode.info"; +ADRESAR="/var/www/mouse.globalcode.info/$(hg branch)/"; +rsync -av výstup/ $SERVER:$ADRESAR diff -r ad2c76125200 -r 025ec3d898c4 vstup --- a/vstup Thu Sep 11 20:30:46 2014 +0200 +++ b/vstup Tue Sep 03 23:28:46 2019 +0200 @@ -1,1 +1,1 @@ -ukázka/ \ No newline at end of file +mouse-data \ No newline at end of file