Fossil SCM

Brought graham's ui-local-diff branch up to date with respect to trunk. This is not a simple merge, because it had to accommodate several conflicting changes, so it needs to be re-checked for sanity before being merged down to trunk. Also, some of the changes I made simply reduce the size of the resulting diff relative to trunk and need to be reverted; these are primarily 2-line splits of "else/if" so the branch-specific change doesn't repeat the following "if" condition, which is now the "else if" condition. I think this sort of thing aids understanding of the diff, even though it breaks the style guidelines.

wyoung 2021-02-14 21:28 UTC ui-local-diff merge
Commit 0516f4d3c85d8e37f65aacca0db1e036791178e4d283310ee453ccd4ec9729dc
396 files changed +1 +1 -1 +3 +1 -1 +1 -1 -3 -1 +1 -1 +27 -14 +1 -1 +17 -22 +49 -49 -3 +38 -19 +1 +1 -1 +16 -41 +2 -2 +11 -31 +14 -5 +19 -47 -13 -391 -3 -8 -71 -115 +20 -70 +146 +4 +6 +22 +219 -198 -3 +11 -35 -228 +65 -5 +1 +10 -34 -71 -3 -24 -68 +24 -5 +2 -2 +8 -31 +2 -3 +22 -3 +95 -36 +26 -18 +8 -37 -197 -3 -1 -44 +8 -2 +1 -1 +15 -41 +62 -67 +9 +91 -51 +88 +56 -45 +24 -32 +7 -4 +189 -24 +174 -80 +73 -4 +21 -18 +19 -17 +780 -11 +11 -25 +4 -2 +11 -1 +7 -4 +119 -46 +9 +1054 +248 -113 +248 -113 +15 -10 +114 -42 -1 +24 +1 -1 +3 +59 -30 +1 -1 +36 -17 +1 -1 +645 -153 +116 -35 +118 -37 +74 -28 +28 -22 +72 -45 +838 -91 +98 -38 +28 -22 +18 -3 +11 -7 +199 -30 +7 -2 +210 -24 +304 -473 +206 -117 +546 -530 +1 -1 +45 -127 +54 -10 +68 +515 -45 +40 -21 +3 +222 -143 +3 +41 +34 +39 +438 +84 -14 +55 -8 +441 +1 -1 +1 -1 +1 -1 +33 +118 -15 +17 -3 +37 -10 +255 +1 +10 -1 +1 -1 +11 -9 +4 -4 +122 -23 +339 -152 +339 -152 +11 +75 -23 +1 -1 +2 -1 +3 -3 +8 -2 +3 -2 +37 -11 +2 +2 -1 +134 -53 +1 -1 +310 -127 +111 -37 +2 -1 +1 -1 +230 -223 +226 -70 +54 -19 +26 -4 +94 -7 +2 -2 +63 -6 +214 -15 -168 +11 -1 +43 -1 +3 -1 +114 -42 +27 -13 +6 -2 +2735 +265 +69 -19 +2 -2 +17 -28 +28 -13 +3 -3 +4 -1 +36 -23 +15 -21 +9 -1 +2 -2 +27 -10 +23 -7 +311 -62 +61 -14 +2 +2 +1933 -252 +6 -6 +207 -50 +98 -75 +8 -3 +9 -8 +103 -11 +2 -2 +17289 -13502 +778 -693 +56 -67 +66 -23 +1 -1 +291 -402 +60 -193 +125 +199 -36 +11 -11 +58 -26 +1 -1 +53 -62 +7 -3 +105 +327 -89 +479 -196 +140 -40 +9 -6 +29 -18 +13 -8 +7 -4 +86 -33 +81 -8 +52 -23 +258 -9 +3 +9 -5 +858 -342 +16 -4 +362 -123 +16 -2 -325 +43 -7 +5 -4 +64 -26 +12 -15 +23 -5 +7 -17 +4 -4 +2 -2 +1 -1 +72 +51 -22 +79 +6 -6 +1 -1 +5 -5 +32 -2 +12 -2 +121 +164 +9 -6 +63 -32 +3 -2 +22 -10 +8 -5 +288 -288 +6 +72 +184 +1 -1 -257 +78 +1 -4 +48 -19 +113 -54 +97 -35 +1883 -1691 +69 -13 -4 +24 -7 +2 -13 +38 -2 +238 +477 -32 -95 -228 -95 -247 -126 -303 -252 -569 -320 -730 -458 -239 +284 -117 +6 -6 +173 +31 -29 +1 -1 +58 -36 +25 -1 +14 -4 +213 -7 +134 +3 -3 +53 -47 +3 -2 +3 +4 +36 -3 +14 +71 -30 +1 -1 +104 -37 +157 -60 +28 -1 +80 -18 +17 -8 +2 -2 +1 -1 +1 -1 +73 -24 +44 -3 +54 -99 +422 +198 -127 +1164 -146 +4 -4 +4 -4 +1 -1 +2 -2 +3 -3 +11 -11 +122 +461 -383 +54 -42 +339 -293 +27 -25 +10 +81 +474 -136 +28 -56 +29 -3 +5 -5 +29 -2 +17 -6 +43 -12 +133 +2 -2 +545 -395 +7 -18 -148 -71 -137 -69 -200 -92 -242 -108 -231 -101 +193 -93 +15 -15 +2 -3 +2 -2 +4 -2 +11 +3 +6 +471 -25 +1 -1 +26 -4 +5 +237 +5 +3 -2 +39 -4 +19 -2 +10 -4 +2 -2 +199 -109 +1 -427 +1 -1 +1 -1 +13 -9 +15 -5 +253 -245
~ .fossil-settings/binary-glob ~ .fossil-settings/clean-glob ~ .fossil-settings/ignore-glob ~ BUILD.txt ~ Dockerfile ~ Makefile.classic ~ Makefile.osx-jaguar ~ VERSION ~ auto.def ~ debian/makedeb.sh ~ fossil.1 ~ setup/fossil.iss - skins/aht/details.txt ~ skins/ardoise/css.txt ~ skins/ardoise/details.txt ~ skins/ardoise/footer.txt ~ skins/ardoise/header.txt ~ skins/black_and_white/css.txt ~ skins/black_and_white/header.txt ~ skins/blitz/css.txt ~ skins/blitz/header.txt - skins/blitz_no_logo/README.md - skins/blitz_no_logo/css.txt - skins/blitz_no_logo/details.txt - skins/blitz_no_logo/footer.txt - skins/blitz_no_logo/header.txt - skins/blitz_no_logo/ticket.txt ~ skins/bootstrap/header.txt ~ skins/darkmode/css.txt ~ skins/darkmode/details.txt ~ skins/darkmode/footer.txt ~ skins/darkmode/header.txt ~ skins/default/css.txt ~ skins/default/footer.txt ~ skins/default/header.txt - skins/default/js.txt ~ skins/eagle/css.txt ~ skins/eagle/details.txt ~ skins/eagle/header.txt - skins/enhanced1/css.txt - skins/enhanced1/details.txt - skins/enhanced1/footer.txt - skins/enhanced1/header.txt ~ skins/khaki/css.txt ~ skins/khaki/details.txt ~ skins/khaki/header.txt ~ skins/original/css.txt ~ skins/original/footer.txt ~ skins/original/header.txt ~ skins/plain_gray/css.txt ~ skins/plain_gray/header.txt - skins/rounded1/css.txt - skins/rounded1/details.txt - skins/rounded1/footer.txt - skins/rounded1/header.txt ~ skins/xekri/css.txt ~ skins/xekri/details.txt ~ skins/xekri/header.txt ~ src/add.c ~ src/ajax.c ~ src/alerts.c ~ src/alerts/bflat2.wav ~ src/alerts/bflat3.wav ~ src/alerts/bloop.wav ~ src/alerts/mkwav.c ~ src/alerts/plunk.wav ~ src/allrepo.c ~ src/attach.c ~ src/backlink.c ~ src/backoffice.c ~ src/bisect.c ~ src/blob.c ~ src/branch.c ~ src/browse.c ~ src/builtin.c ~ src/bundle.c ~ src/cache.c ~ src/capabilities.c ~ src/captcha.c ~ src/cgi.c ~ src/chat.c ~ src/chat.js ~ src/checkin.c ~ src/checkin.c ~ src/checkout.c ~ src/clone.c ~ src/codecheck1.c ~ src/color.c ~ src/comformat.c ~ src/config.h ~ src/configure.c ~ src/content.c ~ src/cookies.c ~ src/copybtn.js ~ src/db.c ~ src/default.css + src/default.css - src/default_css.txt ~ src/descendants.c ~ src/diff.c ~ src/diffcmd.c ~ src/dispatch.c ~ src/doc.c ~ src/encode.c ~ src/etag.c ~ src/event.c ~ src/export.c ~ src/extcgi.c ~ src/file.c ~ src/fileedit.c ~ src/finfo.c ~ src/forum.c ~ src/forum.js ~ src/fossil.bootstrap.js ~ src/fossil.confirmer.js ~ src/fossil.copybutton.js ~ src/fossil.dom.js ~ src/fossil.fetch.js ~ src/fossil.numbered-lines.js ~ src/fossil.page.fileedit.js ~ src/fossil.page.forumpost.js ~ src/fossil.page.pikchrshow.js ~ src/fossil.page.wikiedit.js ~ src/fossil.pikchr.js ~ src/fossil.popupwidget.js ~ src/fossil.storage.js ~ src/fossil.tabs.js ~ src/fossil.wikiedit-wysiwyg.js ~ src/fshell.c ~ src/fusefs.c ~ src/fuzz.c ~ src/glob.c ~ src/graph.c ~ src/graph.js ~ src/hbmenu.js + src/hbmenu.js ~ src/hook.c ~ src/http.c ~ src/http_socket.c ~ src/http_ssl.c ~ src/http_transport.c ~ src/import.c ~ src/info.c ~ src/info.c ~ src/interwiki.c ~ src/json.c ~ src/json_branch.c ~ src/json_config.c ~ src/json_login.c ~ src/json_user.c ~ src/json_wiki.c ~ src/linenoise.c ~ src/linenoise.h ~ src/loadctrl.c ~ src/login.c ~ src/lookslike.c ~ src/main.c ~ src/main.mk ~ src/makeheaders.c ~ src/makeheaders.html ~ src/makemake.tcl ~ src/manifest.c ~ src/markdown.c ~ src/markdown.md ~ src/markdown_html.c ~ src/merge.c ~ src/merge3.c ~ src/mkbuiltin.c - src/mkcss.c ~ src/mkindex.c ~ src/mkversion.c ~ src/moderate.c ~ src/name.c ~ src/path.c ~ src/piechart.c ~ src/pikchr.c ~ src/pikchrshow.c ~ src/printf.c ~ src/publish.c ~ src/purge.c ~ src/rebuild.c ~ src/regexp.c ~ src/repolist.c ~ src/report.c ~ src/rss.c ~ src/sbsdiff.js ~ src/scroll.js ~ src/search.c ~ src/security_audit.c ~ src/setup.c ~ src/setupuser.c ~ src/sha1.c ~ src/sha3.c ~ src/shell.c ~ src/shun.c ~ src/sitemap.c ~ src/skins.c ~ src/smtp.c ~ src/sounds/README.md ~ src/sqlcmd.c ~ src/sqlcompattest.c ~ src/sqlite3.c ~ src/sqlite3.h ~ src/stash.c ~ src/stat.c ~ src/statrep.c ~ src/style.c ~ src/style.fileedit.css ~ src/style.wikiedit.css ~ src/sync.c ~ src/tag.c ~ src/tar.c ~ src/terminal.c ~ src/th.c ~ src/th.h ~ src/th_lang.c ~ src/th_main.c ~ src/timeline.c ~ src/tkt.c ~ src/tktsetup.c ~ src/translate.c ~ src/undo.c ~ src/unversioned.c ~ src/update.c ~ src/url.c ~ src/user.c ~ src/util.c ~ src/vfile.c ~ src/webmail.c ~ src/wiki.c ~ src/wiki.wiki ~ src/wikiformat.c ~ src/winhttp.c - src/wysiwyg.c ~ src/xfer.c ~ src/xfersetup.c ~ src/zip.c ~ test/amend.test ~ test/cmdline.test ~ test/commit-warning.test ~ test/diff.test ~ test/fake-editor.tcl ~ test/fileStat.th1 ~ test/graph-test-2.md ~ test/json.test ~ test/markdown-test2.md ~ test/merge1.test ~ test/merge3.test ~ test/merge4.test ~ test/mv-rm.test ~ test/release-checklist.wiki ~ test/reserved-names.test ~ test/revert.test ~ test/set-manifest.test ~ test/tester.tcl ~ test/th1-hooks.test ~ test/th1.test ~ test/unversioned.test ~ test/utf.test ~ test/wiki.test ~ tools/co-rsync.tcl ~ tools/fossil-autocomplete.zsh ~ tools/fossil-stress.tcl - tools/fossil_chat.tcl ~ tools/skintxt2config.c ~ win/Makefile.PellesCGMake ~ win/Makefile.dmc ~ win/Makefile.mingw ~ win/Makefile.mingw.mistachkin ~ win/Makefile.msc ~ win/buildmsvc.bat ~ win/fossil.rc - www/CollRev1.gif - www/CollRev2.gif - www/CollRev3.gif - www/CollRev4.gif ~ www/aboutcgi.wiki ~ www/alerts.md ~ www/backoffice.md ~ www/backup.md ~ www/blockchain.md - www/branch01.graphml - www/branch01.svg - www/branch02.graphml - www/branch02.svg - www/branch03.graphml - www/branch03.svg - www/branch04.graphml - www/branch04.svg - www/branch05.graphml - www/branch05.svg - www/branch06.graphml - www/branch06.svg ~ www/branching.wiki ~ www/build.wiki ~ www/cap-theorem.md ~ www/caps/admin-v-setup.md ~ www/caps/impl.md ~ www/caps/index.md ~ www/caps/ref.html ~ www/cgi.wiki ~ www/changes.wiki ~ www/chat.md ~ www/checkin.wiki ~ www/checkin_names.wiki ~ www/chroot.md ~ www/ckout-workflows.md ~ www/co-vs-up.md - www/concept1.gif - www/concept2.gif ~ www/concepts.wiki ~ www/contact.md ~ www/contribute.wiki ~ www/css-tricks.md ~ www/customskin.md ~ www/defcsp.md - www/delta1.gif - www/delta2.gif - www/delta3.gif - www/delta4.gif - www/delta5.gif - www/delta6.gif ~ www/delta_encoder_algorithm.wiki ~ www/delta_format.wiki ~ www/embeddeddoc.wiki - www/encode10.gif ~ www/env-opts.md ~ www/faq.tcl ~ www/faq.wiki ~ www/fileedit-page.md ~ www/fileformat.wiki ~ www/forum.wiki ~ www/fossil-is-not-relational.md ~ www/fossil-v-git.wiki ~ www/fossil3.gif ~ www/gitusers.md ~ www/globs.md ~ www/grep.md ~ www/hashes.md ~ www/hashpolicy.wiki ~ www/hints.wiki ~ www/history.md ~ www/hooks.md ~ www/image-format-vs-repo-size.ipynb ~ www/image-format-vs-repo-size.md ~ www/image-format-vs-repo-size.svg ~ www/index.wiki ~ www/inout.wiki ~ www/interwiki.md ~ www/javascript.md ~ www/json-api/intro.md ~ www/makefile.wiki ~ www/mirrorlimitations.md ~ www/mirrortogithub.md ~ www/mkindex.tcl ~ www/permutedindex.html ~ www/pikchr.md ~ www/qandc.wiki ~ www/quickstart.wiki ~ www/quotes.wiki - www/rebase01.graphml - www/rebase01.svg - www/rebase02.graphml - www/rebase02.svg - www/rebase03.graphml - www/rebase03.svg - www/rebase04.graphml - www/rebase04.svg - www/rebase05.graphml - www/rebase05.svg ~ www/rebaseharm.md ~ www/selfcheck.wiki ~ www/selfhost.wiki ~ www/server/any/althttpd.md ~ www/server/any/cgi.md ~ www/server/any/index.md ~ www/server/any/scgi.md ~ www/server/debian/index.md ~ www/server/debian/nginx.md ~ www/server/debian/service.md ~ www/server/index.html ~ www/server/macos/index.md ~ www/server/openbsd/fastcgi.md ~ www/server/openbsd/index.md ~ www/server/whyuseaserver.wiki ~ www/serverext.wiki ~ www/shunning.wiki ~ www/ssl.wiki ~ www/sync.wiki ~ www/th1.md ~ www/tls-nginx.md ~ www/uitest.html ~ www/unvers.wiki ~ www/webpage-ex.md ~ www/webui.wiki ~ www/whyusefossil.wiki
--- .fossil-settings/binary-glob
+++ .fossil-settings/binary-glob
@@ -3,9 +3,10 @@
33
*.jpg
44
*.odp
55
*.dia
66
*.pdf
77
*.png
8
+*.wav
89
compat/zlib/contrib/blast/test.pk
910
compat/zlib/contrib/dotzlib/DotZLib.chm
1011
compat/zlib/contrib/puff/zeros.raw
1112
compat/zlib/zlib.3.pdf
1213
--- .fossil-settings/binary-glob
+++ .fossil-settings/binary-glob
@@ -3,9 +3,10 @@
3 *.jpg
4 *.odp
5 *.dia
6 *.pdf
7 *.png
 
8 compat/zlib/contrib/blast/test.pk
9 compat/zlib/contrib/dotzlib/DotZLib.chm
10 compat/zlib/contrib/puff/zeros.raw
11 compat/zlib/zlib.3.pdf
12
--- .fossil-settings/binary-glob
+++ .fossil-settings/binary-glob
@@ -3,9 +3,10 @@
3 *.jpg
4 *.odp
5 *.dia
6 *.pdf
7 *.png
8 *.wav
9 compat/zlib/contrib/blast/test.pk
10 compat/zlib/contrib/dotzlib/DotZLib.chm
11 compat/zlib/contrib/puff/zeros.raw
12 compat/zlib/zlib.3.pdf
13
--- .fossil-settings/clean-glob
+++ .fossil-settings/clean-glob
@@ -7,11 +7,11 @@
77
*.res
88
Makefile
99
autosetup/jimsh0
1010
autosetup/jimsh0.exe
1111
bld/*
12
-wbld/*
12
+msvcbld/*
1313
win/*.c
1414
win/*.h
1515
win/*.exe
1616
win/headers
1717
win/linkopts
1818
--- .fossil-settings/clean-glob
+++ .fossil-settings/clean-glob
@@ -7,11 +7,11 @@
7 *.res
8 Makefile
9 autosetup/jimsh0
10 autosetup/jimsh0.exe
11 bld/*
12 wbld/*
13 win/*.c
14 win/*.h
15 win/*.exe
16 win/headers
17 win/linkopts
18
--- .fossil-settings/clean-glob
+++ .fossil-settings/clean-glob
@@ -7,11 +7,11 @@
7 *.res
8 Makefile
9 autosetup/jimsh0
10 autosetup/jimsh0.exe
11 bld/*
12 msvcbld/*
13 win/*.c
14 win/*.h
15 win/*.exe
16 win/headers
17 win/linkopts
18
--- .fossil-settings/ignore-glob
+++ .fossil-settings/ignore-glob
@@ -1,7 +1,10 @@
11
compat/openssl*
22
compat/tcl*
3
+compat/zlib*
34
fossil
45
fossil.exe
56
win/fossil.exe
67
*shell-see.*
78
*sqlite3-see.*
9
+bld/*
10
+msvcbld/*
811
--- .fossil-settings/ignore-glob
+++ .fossil-settings/ignore-glob
@@ -1,7 +1,10 @@
1 compat/openssl*
2 compat/tcl*
 
3 fossil
4 fossil.exe
5 win/fossil.exe
6 *shell-see.*
7 *sqlite3-see.*
 
 
8
--- .fossil-settings/ignore-glob
+++ .fossil-settings/ignore-glob
@@ -1,7 +1,10 @@
1 compat/openssl*
2 compat/tcl*
3 compat/zlib*
4 fossil
5 fossil.exe
6 win/fossil.exe
7 *shell-see.*
8 *sqlite3-see.*
9 bld/*
10 msvcbld/*
11
+1 -1
--- BUILD.txt
+++ BUILD.txt
@@ -73,6 +73,6 @@
7373
* The src/mkindex.c program generates some C code that implements
7474
static lookup tables. See the header comment in the source code
7575
for details on what it does.
7676
7777
Additional information on the build process is available from
78
-http://www.fossil-scm.org/fossil/doc/trunk/www/makefile.wiki
78
+http://fossil-scm.org/home/doc/trunk/www/makefile.wiki
7979
--- BUILD.txt
+++ BUILD.txt
@@ -73,6 +73,6 @@
73 * The src/mkindex.c program generates some C code that implements
74 static lookup tables. See the header comment in the source code
75 for details on what it does.
76
77 Additional information on the build process is available from
78 http://www.fossil-scm.org/fossil/doc/trunk/www/makefile.wiki
79
--- BUILD.txt
+++ BUILD.txt
@@ -73,6 +73,6 @@
73 * The src/mkindex.c program generates some C code that implements
74 static lookup tables. See the header comment in the source code
75 for details on what it does.
76
77 Additional information on the build process is available from
78 http://fossil-scm.org/home/doc/trunk/www/makefile.wiki
79
+1 -1
--- Dockerfile
+++ Dockerfile
@@ -7,11 +7,11 @@
77
RUN dnf update -y && dnf install -y gcc make tcl tcl-devel zlib-devel openssl-devel tar && dnf clean all && groupadd -r fossil -g 433 && useradd -u 431 -r -g fossil -d /opt/fossil -s /sbin/nologin -c "Fossil user" fossil
88
99
### If you want to build "trunk", change the next line accordingly.
1010
ENV FOSSIL_INSTALL_VERSION release
1111
12
-RUN curl "https://www.fossil-scm.org/index.html/tarball/fossil-src.tar.gz?name=fossil-src&uuid=${FOSSIL_INSTALL_VERSION}" | tar zx
12
+RUN curl "https://fossil-scm.org/home/tarball/fossil-src.tar.gz?name=fossil-src&uuid=${FOSSIL_INSTALL_VERSION}" | tar zx
1313
RUN cd fossil-src && ./configure --disable-fusefs --json --with-th1-docs --with-th1-hooks --with-tcl=1 --with-tcl-stubs --with-tcl-private-stubs
1414
RUN cd fossil-src/src && mv main.c main.c.orig && sed s/\"now\"/0/ <main.c.orig >main.c
1515
RUN cd fossil-src && make && strip fossil && cp fossil /usr/bin && cd .. && rm -rf fossil-src && chmod a+rx /usr/bin/fossil && mkdir -p /opt/fossil && chown fossil:fossil /opt/fossil
1616
1717
### Build is done, remove modules no longer needed
1818
--- Dockerfile
+++ Dockerfile
@@ -7,11 +7,11 @@
7 RUN dnf update -y && dnf install -y gcc make tcl tcl-devel zlib-devel openssl-devel tar && dnf clean all && groupadd -r fossil -g 433 && useradd -u 431 -r -g fossil -d /opt/fossil -s /sbin/nologin -c "Fossil user" fossil
8
9 ### If you want to build "trunk", change the next line accordingly.
10 ENV FOSSIL_INSTALL_VERSION release
11
12 RUN curl "https://www.fossil-scm.org/index.html/tarball/fossil-src.tar.gz?name=fossil-src&uuid=${FOSSIL_INSTALL_VERSION}" | tar zx
13 RUN cd fossil-src && ./configure --disable-fusefs --json --with-th1-docs --with-th1-hooks --with-tcl=1 --with-tcl-stubs --with-tcl-private-stubs
14 RUN cd fossil-src/src && mv main.c main.c.orig && sed s/\"now\"/0/ <main.c.orig >main.c
15 RUN cd fossil-src && make && strip fossil && cp fossil /usr/bin && cd .. && rm -rf fossil-src && chmod a+rx /usr/bin/fossil && mkdir -p /opt/fossil && chown fossil:fossil /opt/fossil
16
17 ### Build is done, remove modules no longer needed
18
--- Dockerfile
+++ Dockerfile
@@ -7,11 +7,11 @@
7 RUN dnf update -y && dnf install -y gcc make tcl tcl-devel zlib-devel openssl-devel tar && dnf clean all && groupadd -r fossil -g 433 && useradd -u 431 -r -g fossil -d /opt/fossil -s /sbin/nologin -c "Fossil user" fossil
8
9 ### If you want to build "trunk", change the next line accordingly.
10 ENV FOSSIL_INSTALL_VERSION release
11
12 RUN curl "https://fossil-scm.org/home/tarball/fossil-src.tar.gz?name=fossil-src&uuid=${FOSSIL_INSTALL_VERSION}" | tar zx
13 RUN cd fossil-src && ./configure --disable-fusefs --json --with-th1-docs --with-th1-hooks --with-tcl=1 --with-tcl-stubs --with-tcl-private-stubs
14 RUN cd fossil-src/src && mv main.c main.c.orig && sed s/\"now\"/0/ <main.c.orig >main.c
15 RUN cd fossil-src && make && strip fossil && cp fossil /usr/bin && cd .. && rm -rf fossil-src && chmod a+rx /usr/bin/fossil && mkdir -p /opt/fossil && chown fossil:fossil /opt/fossil
16
17 ### Build is done, remove modules no longer needed
18
--- Makefile.classic
+++ Makefile.classic
@@ -43,13 +43,10 @@
4343
# TCC += -DFOSSIL_ENABLE_MINIZ
4444
4545
# To add support for HTTPS
4646
TCC += -DFOSSIL_ENABLE_SSL
4747
48
-# To enable legacy mv/rm support
49
-TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1
50
-
5148
#### We sometimes add the -static option here so that we can build a
5249
# static executable that will run in a chroot jail.
5350
#LIB = -static
5451
TCC += -DFOSSIL_DYNAMIC_BUILD=1
5552
5653
--- Makefile.classic
+++ Makefile.classic
@@ -43,13 +43,10 @@
43 # TCC += -DFOSSIL_ENABLE_MINIZ
44
45 # To add support for HTTPS
46 TCC += -DFOSSIL_ENABLE_SSL
47
48 # To enable legacy mv/rm support
49 TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1
50
51 #### We sometimes add the -static option here so that we can build a
52 # static executable that will run in a chroot jail.
53 #LIB = -static
54 TCC += -DFOSSIL_DYNAMIC_BUILD=1
55
56
--- Makefile.classic
+++ Makefile.classic
@@ -43,13 +43,10 @@
43 # TCC += -DFOSSIL_ENABLE_MINIZ
44
45 # To add support for HTTPS
46 TCC += -DFOSSIL_ENABLE_SSL
47
 
 
 
48 #### We sometimes add the -static option here so that we can build a
49 # static executable that will run in a chroot jail.
50 #LIB = -static
51 TCC += -DFOSSIL_DYNAMIC_BUILD=1
52
53
--- Makefile.osx-jaguar
+++ Makefile.osx-jaguar
@@ -57,11 +57,10 @@
5757
TCC += -DSQLITE_WITHOUT_ZONEMALLOC
5858
TCC += -D_BSD_SOURCE=1
5959
TCC += -DWITHOUT_ICONV
6060
TCC += -Dsocklen_t=int
6161
TCC += -DSQLITE_MAX_MMAP_SIZE=0
62
-TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1
6362
INSTALLDIR = $(DESTDIR)/usr/local/bin
6463
USE_SYSTEM_SQLITE =
6564
USE_LINENOISE = 1
6665
# FOSSIL_ENABLE_TCL = @FOSSIL_ENABLE_TCL@
6766
FOSSIL_ENABLE_TCL = 0
6867
--- Makefile.osx-jaguar
+++ Makefile.osx-jaguar
@@ -57,11 +57,10 @@
57 TCC += -DSQLITE_WITHOUT_ZONEMALLOC
58 TCC += -D_BSD_SOURCE=1
59 TCC += -DWITHOUT_ICONV
60 TCC += -Dsocklen_t=int
61 TCC += -DSQLITE_MAX_MMAP_SIZE=0
62 TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1
63 INSTALLDIR = $(DESTDIR)/usr/local/bin
64 USE_SYSTEM_SQLITE =
65 USE_LINENOISE = 1
66 # FOSSIL_ENABLE_TCL = @FOSSIL_ENABLE_TCL@
67 FOSSIL_ENABLE_TCL = 0
68
--- Makefile.osx-jaguar
+++ Makefile.osx-jaguar
@@ -57,11 +57,10 @@
57 TCC += -DSQLITE_WITHOUT_ZONEMALLOC
58 TCC += -D_BSD_SOURCE=1
59 TCC += -DWITHOUT_ICONV
60 TCC += -Dsocklen_t=int
61 TCC += -DSQLITE_MAX_MMAP_SIZE=0
 
62 INSTALLDIR = $(DESTDIR)/usr/local/bin
63 USE_SYSTEM_SQLITE =
64 USE_LINENOISE = 1
65 # FOSSIL_ENABLE_TCL = @FOSSIL_ENABLE_TCL@
66 FOSSIL_ENABLE_TCL = 0
67
+1 -1
--- VERSION
+++ VERSION
@@ -1,1 +1,1 @@
1
-2.12
1
+2.15
22
--- VERSION
+++ VERSION
@@ -1,1 +1,1 @@
1 2.12
2
--- VERSION
+++ VERSION
@@ -1,1 +1,1 @@
1 2.15
2
+27 -14
--- auto.def
+++ auto.def
@@ -8,11 +8,10 @@
88
with-miniz=0 => {Use miniz from the source tree}
99
with-zlib:path|auto|tree
1010
=> {Look for zlib in the given path, automatically, or in the source tree}
1111
with-exec-rel-paths=0
1212
=> {Enable relative paths for external diff/gdiff}
13
- with-legacy-mv-rm=1 => {Enable legacy behavior for mv/rm (skip checkout files)}
1413
with-sanitizer: => {Build with C compiler's -fsanitize=LIST; e.g. address,enum,null,undefined}
1514
with-th1-docs=0 => {Enable TH1 for embedded documentation pages}
1615
with-th1-hooks=0 => {Enable TH1 hooks for commands and web pages}
1716
with-tcl:path => {Enable Tcl integration, with Tcl in the specified path}
1817
with-tcl-stubs=0 => {Enable Tcl integration via stubs library mechanism}
@@ -177,17 +176,20 @@
177176
}
178177
if {!$ok} {
179178
user-error "unable to compile SQLite compatibility test program"
180179
}
181180
set err [catch {exec-with-stderr ./conftest__} result errinfo]
182
- if {$err} {
183
- user-error $result
181
+ if {[get-define build] eq [get-define host]} {
182
+ set err [catch {exec-with-stderr ./conftest__} result errinfo]
183
+ if {$err} {
184
+ user-error $result
185
+ }
184186
}
185187
file delete ./conftest__
186188
}
187189
test_system_sqlite
188
-
190
+
189191
}
190192
191193
proc is_mingw {} {
192194
return [string match *mingw* [get-define host]]
193195
}
@@ -238,16 +240,10 @@
238240
define-append EXTRA_CFLAGS -DFOSSIL_ENABLE_JSON
239241
define FOSSIL_ENABLE_JSON
240242
msg-result "JSON support enabled"
241243
}
242244
243
-if {[opt-bool with-legacy-mv-rm]} {
244
- define-append EXTRA_CFLAGS -DFOSSIL_ENABLE_LEGACY_MV_RM=1
245
- define FOSSIL_ENABLE_LEGACY_MV_RM
246
- msg-result "Legacy mv/rm support enabled"
247
-}
248
-
249245
if {[opt-bool with-exec-rel-paths]} {
250246
define-append EXTRA_CFLAGS -DFOSSIL_ENABLE_EXEC_REL_PATHS
251247
define FOSSIL_ENABLE_EXEC_REL_PATHS
252248
msg-result "Relative paths in external diff/gdiff enabled"
253249
}
@@ -369,11 +365,12 @@
369365
set ldflags [exec pkg-config openssl --libs-only-L]
370366
set found [check-for-openssl "ssl via pkg-config" "$cflags $ldflags"]
371367
} msg
372368
if {!$found} {
373369
set ssldirs "{} /usr/sfw /usr/local/ssl /usr/lib/ssl /usr/ssl \
374
- /usr/pkg /usr/local /usr /usr/local/opt/openssl"
370
+ /usr/pkg /usr/local /usr /usr/local/opt/openssl \
371
+ /opt/homebrew/opt/openssl"
375372
}
376373
}
377374
if {!$found} {
378375
foreach dir $ssldirs {
379376
if {$dir eq ""} {
@@ -574,10 +571,18 @@
574571
cc-check-functions utime
575572
cc-check-functions usleep
576573
cc-check-functions strchrnul
577574
cc-check-functions pledge
578575
cc-check-functions backtrace
576
+
577
+# Termux on Android adds "getpass(char *)" to unistd.h, so check this so we
578
+# guard against including it again; use cctest as cc-check-functions and
579
+# cctest_function check for "getpass()" with no args and fail
580
+if {[cctest -link 1 -includes {unistd.h} -code "getpass(0);"]} {
581
+ define FOSSIL_HAVE_GETPASS 1
582
+ msg-result "Found getpass() with unistd.h"
583
+}
579584
580585
# Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE
581586
if {![cc-check-functions getloadavg]} {
582587
define FOSSIL_OMIT_LOAD_AVERAGE 1
583588
msg-result "Load average support unavailable"
@@ -590,11 +595,13 @@
590595
}
591596
cc-check-function-in-lib sin m
592597
593598
# Check for the FuseFS library
594599
if {[opt-bool fusefs]} {
595
- if {[cc-check-function-in-lib fuse_mount fuse]} {
600
+ if {[opt-bool static]} {
601
+ msg-result "FuseFS support disabled due to -static"
602
+ } elseif {[cc-check-function-in-lib fuse_mount fuse]} {
596603
define-append EXTRA_CFLAGS -DFOSSIL_HAVE_FUSEFS
597604
define FOSSIL_HAVE_FUSEFS 1
598605
define-append LIBS -lfuse
599606
msg-result "FuseFS support enabled"
600607
}
@@ -612,15 +619,21 @@
612619
# GCC with -fsanitize=undefined.
613620
cc-check-function-in-lib __ubsan_handle_add_overflow ubsan
614621
}
615622
}
616623
617
-# Finally, append -ldl to make sure it's the last in the list.
618
-# The library order matters in case of static linking.
624
+# Finally, append libraries that must be last. This matters more on some
625
+# OSes than others, but is most broadly required for static linking.
619626
if {[check-function-in-lib dlopen dl]} {
620627
# Some platforms (*BSD) have the dl functions already in libc and no libdl.
621628
# In such case we can link directly without -ldl.
622629
define-append LIBS [get-define lib_dlopen]
623630
}
631
+if {[opt-bool static]} {
632
+ # Linux can only infer the dependency on pthread from OpenSSL when
633
+ # doing dynamic linkage.
634
+ define-append LIBS -lpthread
635
+}
636
+
624637
625638
make-template Makefile.in
626639
make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
627640
--- auto.def
+++ auto.def
@@ -8,11 +8,10 @@
8 with-miniz=0 => {Use miniz from the source tree}
9 with-zlib:path|auto|tree
10 => {Look for zlib in the given path, automatically, or in the source tree}
11 with-exec-rel-paths=0
12 => {Enable relative paths for external diff/gdiff}
13 with-legacy-mv-rm=1 => {Enable legacy behavior for mv/rm (skip checkout files)}
14 with-sanitizer: => {Build with C compiler's -fsanitize=LIST; e.g. address,enum,null,undefined}
15 with-th1-docs=0 => {Enable TH1 for embedded documentation pages}
16 with-th1-hooks=0 => {Enable TH1 hooks for commands and web pages}
17 with-tcl:path => {Enable Tcl integration, with Tcl in the specified path}
18 with-tcl-stubs=0 => {Enable Tcl integration via stubs library mechanism}
@@ -177,17 +176,20 @@
177 }
178 if {!$ok} {
179 user-error "unable to compile SQLite compatibility test program"
180 }
181 set err [catch {exec-with-stderr ./conftest__} result errinfo]
182 if {$err} {
183 user-error $result
 
 
 
184 }
185 file delete ./conftest__
186 }
187 test_system_sqlite
188
189 }
190
191 proc is_mingw {} {
192 return [string match *mingw* [get-define host]]
193 }
@@ -238,16 +240,10 @@
238 define-append EXTRA_CFLAGS -DFOSSIL_ENABLE_JSON
239 define FOSSIL_ENABLE_JSON
240 msg-result "JSON support enabled"
241 }
242
243 if {[opt-bool with-legacy-mv-rm]} {
244 define-append EXTRA_CFLAGS -DFOSSIL_ENABLE_LEGACY_MV_RM=1
245 define FOSSIL_ENABLE_LEGACY_MV_RM
246 msg-result "Legacy mv/rm support enabled"
247 }
248
249 if {[opt-bool with-exec-rel-paths]} {
250 define-append EXTRA_CFLAGS -DFOSSIL_ENABLE_EXEC_REL_PATHS
251 define FOSSIL_ENABLE_EXEC_REL_PATHS
252 msg-result "Relative paths in external diff/gdiff enabled"
253 }
@@ -369,11 +365,12 @@
369 set ldflags [exec pkg-config openssl --libs-only-L]
370 set found [check-for-openssl "ssl via pkg-config" "$cflags $ldflags"]
371 } msg
372 if {!$found} {
373 set ssldirs "{} /usr/sfw /usr/local/ssl /usr/lib/ssl /usr/ssl \
374 /usr/pkg /usr/local /usr /usr/local/opt/openssl"
 
375 }
376 }
377 if {!$found} {
378 foreach dir $ssldirs {
379 if {$dir eq ""} {
@@ -574,10 +571,18 @@
574 cc-check-functions utime
575 cc-check-functions usleep
576 cc-check-functions strchrnul
577 cc-check-functions pledge
578 cc-check-functions backtrace
 
 
 
 
 
 
 
 
579
580 # Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE
581 if {![cc-check-functions getloadavg]} {
582 define FOSSIL_OMIT_LOAD_AVERAGE 1
583 msg-result "Load average support unavailable"
@@ -590,11 +595,13 @@
590 }
591 cc-check-function-in-lib sin m
592
593 # Check for the FuseFS library
594 if {[opt-bool fusefs]} {
595 if {[cc-check-function-in-lib fuse_mount fuse]} {
 
 
596 define-append EXTRA_CFLAGS -DFOSSIL_HAVE_FUSEFS
597 define FOSSIL_HAVE_FUSEFS 1
598 define-append LIBS -lfuse
599 msg-result "FuseFS support enabled"
600 }
@@ -612,15 +619,21 @@
612 # GCC with -fsanitize=undefined.
613 cc-check-function-in-lib __ubsan_handle_add_overflow ubsan
614 }
615 }
616
617 # Finally, append -ldl to make sure it's the last in the list.
618 # The library order matters in case of static linking.
619 if {[check-function-in-lib dlopen dl]} {
620 # Some platforms (*BSD) have the dl functions already in libc and no libdl.
621 # In such case we can link directly without -ldl.
622 define-append LIBS [get-define lib_dlopen]
623 }
 
 
 
 
 
 
624
625 make-template Makefile.in
626 make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
627
--- auto.def
+++ auto.def
@@ -8,11 +8,10 @@
8 with-miniz=0 => {Use miniz from the source tree}
9 with-zlib:path|auto|tree
10 => {Look for zlib in the given path, automatically, or in the source tree}
11 with-exec-rel-paths=0
12 => {Enable relative paths for external diff/gdiff}
 
13 with-sanitizer: => {Build with C compiler's -fsanitize=LIST; e.g. address,enum,null,undefined}
14 with-th1-docs=0 => {Enable TH1 for embedded documentation pages}
15 with-th1-hooks=0 => {Enable TH1 hooks for commands and web pages}
16 with-tcl:path => {Enable Tcl integration, with Tcl in the specified path}
17 with-tcl-stubs=0 => {Enable Tcl integration via stubs library mechanism}
@@ -177,17 +176,20 @@
176 }
177 if {!$ok} {
178 user-error "unable to compile SQLite compatibility test program"
179 }
180 set err [catch {exec-with-stderr ./conftest__} result errinfo]
181 if {[get-define build] eq [get-define host]} {
182 set err [catch {exec-with-stderr ./conftest__} result errinfo]
183 if {$err} {
184 user-error $result
185 }
186 }
187 file delete ./conftest__
188 }
189 test_system_sqlite
190
191 }
192
193 proc is_mingw {} {
194 return [string match *mingw* [get-define host]]
195 }
@@ -238,16 +240,10 @@
240 define-append EXTRA_CFLAGS -DFOSSIL_ENABLE_JSON
241 define FOSSIL_ENABLE_JSON
242 msg-result "JSON support enabled"
243 }
244
 
 
 
 
 
 
245 if {[opt-bool with-exec-rel-paths]} {
246 define-append EXTRA_CFLAGS -DFOSSIL_ENABLE_EXEC_REL_PATHS
247 define FOSSIL_ENABLE_EXEC_REL_PATHS
248 msg-result "Relative paths in external diff/gdiff enabled"
249 }
@@ -369,11 +365,12 @@
365 set ldflags [exec pkg-config openssl --libs-only-L]
366 set found [check-for-openssl "ssl via pkg-config" "$cflags $ldflags"]
367 } msg
368 if {!$found} {
369 set ssldirs "{} /usr/sfw /usr/local/ssl /usr/lib/ssl /usr/ssl \
370 /usr/pkg /usr/local /usr /usr/local/opt/openssl \
371 /opt/homebrew/opt/openssl"
372 }
373 }
374 if {!$found} {
375 foreach dir $ssldirs {
376 if {$dir eq ""} {
@@ -574,10 +571,18 @@
571 cc-check-functions utime
572 cc-check-functions usleep
573 cc-check-functions strchrnul
574 cc-check-functions pledge
575 cc-check-functions backtrace
576
577 # Termux on Android adds "getpass(char *)" to unistd.h, so check this so we
578 # guard against including it again; use cctest as cc-check-functions and
579 # cctest_function check for "getpass()" with no args and fail
580 if {[cctest -link 1 -includes {unistd.h} -code "getpass(0);"]} {
581 define FOSSIL_HAVE_GETPASS 1
582 msg-result "Found getpass() with unistd.h"
583 }
584
585 # Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE
586 if {![cc-check-functions getloadavg]} {
587 define FOSSIL_OMIT_LOAD_AVERAGE 1
588 msg-result "Load average support unavailable"
@@ -590,11 +595,13 @@
595 }
596 cc-check-function-in-lib sin m
597
598 # Check for the FuseFS library
599 if {[opt-bool fusefs]} {
600 if {[opt-bool static]} {
601 msg-result "FuseFS support disabled due to -static"
602 } elseif {[cc-check-function-in-lib fuse_mount fuse]} {
603 define-append EXTRA_CFLAGS -DFOSSIL_HAVE_FUSEFS
604 define FOSSIL_HAVE_FUSEFS 1
605 define-append LIBS -lfuse
606 msg-result "FuseFS support enabled"
607 }
@@ -612,15 +619,21 @@
619 # GCC with -fsanitize=undefined.
620 cc-check-function-in-lib __ubsan_handle_add_overflow ubsan
621 }
622 }
623
624 # Finally, append libraries that must be last. This matters more on some
625 # OSes than others, but is most broadly required for static linking.
626 if {[check-function-in-lib dlopen dl]} {
627 # Some platforms (*BSD) have the dl functions already in libc and no libdl.
628 # In such case we can link directly without -ldl.
629 define-append LIBS [get-define lib_dlopen]
630 }
631 if {[opt-bool static]} {
632 # Linux can only infer the dependency on pthread from OpenSSL when
633 # doing dynamic linkage.
634 define-append LIBS -lpthread
635 }
636
637
638 make-template Makefile.in
639 make-config-header autoconfig.h -auto {USE_* FOSSIL_*}
640
--- debian/makedeb.sh
+++ debian/makedeb.sh
@@ -57,11 +57,11 @@
5757
This package was created by fossil-scm <[email protected]>
5858
on ${PACKAGE_TIME}.
5959
6060
The original sources for fossil can be downloaded for free from:
6161
62
-http://www.fossil-scm.org/
62
+http://fossil-scm.org/
6363
6464
fossil is released under the terms of the 2-clause BSD License.
6565
6666
EOF
6767
}
6868
--- debian/makedeb.sh
+++ debian/makedeb.sh
@@ -57,11 +57,11 @@
57 This package was created by fossil-scm <[email protected]>
58 on ${PACKAGE_TIME}.
59
60 The original sources for fossil can be downloaded for free from:
61
62 http://www.fossil-scm.org/
63
64 fossil is released under the terms of the 2-clause BSD License.
65
66 EOF
67 }
68
--- debian/makedeb.sh
+++ debian/makedeb.sh
@@ -57,11 +57,11 @@
57 This package was created by fossil-scm <[email protected]>
58 on ${PACKAGE_TIME}.
59
60 The original sources for fossil can be downloaded for free from:
61
62 http://fossil-scm.org/
63
64 fossil is released under the terms of the 2-clause BSD License.
65
66 EOF
67 }
68
+17 -22
--- fossil.1
+++ fossil.1
@@ -14,31 +14,26 @@
1414
Fossil is a distributed version control system (DVCS) with built-in
1515
forum, wiki, ticket tracker, CGI/HTTP interface, and HTTP server.
1616
1717
.SH Common COMMANDs:
1818
19
-add clean help push timeline
20
-.br
21
-addremove clone import rebuild ui
22
-.br
23
-all commit info remote-url undo
24
-.br
25
-amend delete init revert unpublished
26
-.br
27
-annotate diff ls rm unversioned
28
-.br
29
-bisect export merge settings update
30
-.br
31
-blame extras mv sql version
32
-.br
33
-branch finfo open stash
34
-.br
35
-bundle fusefs praise status
36
-.br
37
-cat gdiff publish sync
38
-.br
39
-changes grep pull tag
19
+add cat diff ls revert timeline
20
+.br
21
+addremove changes extras merge rm ui
22
+.br
23
+all chat finfo mv settings undo
24
+.br
25
+amend clean gdiff open sql unversioned
26
+.br
27
+annotate clone grep pull stash update
28
+.br
29
+bisect commit help push status version
30
+.br
31
+blame dbstat info rebuild sync
32
+.br
33
+branch delete init remote tag
34
+.br
4035
4136
.SH FEATURES
4237
4338
Features as described on the fossil home page.
4439
@@ -99,9 +94,9 @@
9994
8.
10095
.B Free and Open-Source
10196
- Uses the 2-clause BSD license.
10297
10398
.SH DOCUMENTATION
104
-http://www.fossil-scm.org/
99
+http://fossil-scm.org/
105100
.br
106101
.B fossil
107102
\fIui\fR
108103
--- fossil.1
+++ fossil.1
@@ -14,31 +14,26 @@
14 Fossil is a distributed version control system (DVCS) with built-in
15 forum, wiki, ticket tracker, CGI/HTTP interface, and HTTP server.
16
17 .SH Common COMMANDs:
18
19 add clean help push timeline
20 .br
21 addremove clone import rebuild ui
22 .br
23 all commit info remote-url undo
24 .br
25 amend delete init revert unpublished
26 .br
27 annotate diff ls rm unversioned
28 .br
29 bisect export merge settings update
30 .br
31 blame extras mv sql version
32 .br
33 branch finfo open stash
34 .br
35 bundle fusefs praise status
36 .br
37 cat gdiff publish sync
38 .br
39 changes grep pull tag
40
41 .SH FEATURES
42
43 Features as described on the fossil home page.
44
@@ -99,9 +94,9 @@
99 8.
100 .B Free and Open-Source
101 - Uses the 2-clause BSD license.
102
103 .SH DOCUMENTATION
104 http://www.fossil-scm.org/
105 .br
106 .B fossil
107 \fIui\fR
108
--- fossil.1
+++ fossil.1
@@ -14,31 +14,26 @@
14 Fossil is a distributed version control system (DVCS) with built-in
15 forum, wiki, ticket tracker, CGI/HTTP interface, and HTTP server.
16
17 .SH Common COMMANDs:
18
19 add cat diff ls revert timeline
20 .br
21 addremove changes extras merge rm ui
22 .br
23 all chat finfo mv settings undo
24 .br
25 amend clean gdiff open sql unversioned
26 .br
27 annotate clone grep pull stash update
28 .br
29 bisect commit help push status version
30 .br
31 blame dbstat info rebuild sync
32 .br
33 branch delete init remote tag
34 .br
 
 
 
 
 
35
36 .SH FEATURES
37
38 Features as described on the fossil home page.
39
@@ -99,9 +94,9 @@
94 8.
95 .B Free and Open-Source
96 - Uses the 2-clause BSD license.
97
98 .SH DOCUMENTATION
99 http://fossil-scm.org/
100 .br
101 .B fossil
102 \fIui\fR
103
+49 -49
--- setup/fossil.iss
+++ setup/fossil.iss
@@ -1,49 +1,49 @@
1
-;
2
-; Copyright (c) 2014 D. Richard Hipp
3
-;
4
-; This program is free software; you can redistribute it and/or
5
-; modify it under the terms of the Simplified BSD License (also
6
-; known as the "2-Clause License" or "FreeBSD License".)
7
-;
8
-; This program is distributed in the hope that it will be useful,
9
-; but without any warranty; without even the implied warranty of
10
-; merchantability or fitness for a particular purpose.
11
-;
12
-; Author contact information:
13
-; [email protected]
14
-; http://www.hwaci.com/drh/
15
-;
16
-
17
-[Setup]
18
-ArchitecturesAllowed=x86 x64
19
-AlwaysShowComponentsList=false
20
-AppCopyright=Copyright (c) D. Richard Hipp. All rights reserved.
21
-AppID={{f1c25a1f-3954-4e1a-ac36-4314c52f057c}
22
-AppName=Fossil
23
-AppPublisher=Fossil Development Team
24
-AppPublisherURL=https://www.fossil-scm.org/
25
-AppSupportURL=https://www.fossil-scm.org/
26
-AppUpdatesURL=https://www.fossil-scm.org/
27
-AppVerName=Fossil v{#AppVersion}
28
-AppVersion={#AppVersion}
29
-AppComments=Simple, high-reliability, distributed software configuration management system.
30
-AppReadmeFile=https://www.fossil-scm.org/index.html/doc/tip/www/quickstart.wiki
31
-DefaultDirName={pf}\Fossil
32
-DefaultGroupName=Fossil
33
-OutputBaseFilename=fossil-win32-{#AppVersion}
34
-OutputManifestFile=fossil-win32-{#AppVersion}-manifest.txt
35
-SetupLogging=true
36
-UninstallFilesDir={app}\uninstall
37
-VersionInfoVersion={#AppVersion}
38
-
391
40
-[Components]
41
-Name: Application; Description: Core application.; Types: custom compact full; Flags: fixed
42
-
432
44
-[Dirs]
45
-Name: {app}\bin
46
-
473
48
-[Files]
49
-Components: Application; Source: ..\fossil.exe; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
50
-
514
52
-[Registry]
53
-Components: Application; Root: HKLM32; SubKey: Software\Fossil; ValueType: string; ValueName: Install_Dir; ValueData: {app}; Flags: uninsdeletekeyifempty uninsdeletevalue
5
+;
6
+; Copyright (c) 2014 D. Richard Hipp
7
+;
8
+; This program is free software; you can redistribute it and/or
9
+; modify it under the terms of the Simplified BSD License (also
10
+; known as the "2-Clause License" or "FreeBSD License".)
11
+;
12
+; This program is distributed in the hope that it will be useful,
13
+; but without any warranty; without even the implied warranty of
14
+; merchantability or fitness for a particular purpose.
15
+;
16
+; Author contact information:
17
+; [email protected]
18
+; http://www.hwaci.com/drh/
19
+;
20
+
21
+[Setup]
22
+ArchitecturesAllowed=x86 x64
23
+AlwaysShowComponentsList=false
24
+AppCopyright=Copyright (c) D. Richard Hipp. All rights reserved.
25
+AppID={{f1c25a1f-3954-4e1a-ac36-4314c52f057c}
26
+AppName=Fossil
27
+AppPublisher=Fossil Development Team
28
+AppPublisherURL=https://fossil-scm.org/
29
+AppSupportURL=https://fossil-scm.org/
30
+AppUpdatesURL=https://fossil-scm.org/
31
+AppVerName=Fossil v{#AppVersion}
32
+AppVersion={#AppVersion}
33
+AppComments=Simple, high-reliability, distributed software configuration management system.
34
+AppReadmeFile=https://fossil-scm.org/home/doc/tip/www/quickstart.wiki
35
+DefaultDirName={pf}\Fossil
36
+DefaultGroupName=Fossil
37
+OutputBaseFilename=fossil-win32-{#AppVersion}
38
+OutputManifestFile=fossil-win32-{#AppVersion}-manifest.txt
39
+SetupLogging=true
40
+UninstallFilesDir={app}\uninstall
41
+VersionInfoVersion={#AppVersion}
42
+
5443
44
+[Components]
45
+Name: Application; Description: Core application.; Types: custom compact full; Flags: fixed
46
+
5547
48
+[Dirs]
49
+Name: {app}\bin
50
+
5651
52
+[Files]
53
+Components: Application; Source: ..\fossil.exe; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
54
+
5755
56
+[Registry]
57
+Components: Application; Root: HKLM32; SubKey: Software\Fossil; ValueType: string; ValueName: Install_Dir; ValueData: {app}; Flags: uninsdeletekeyifempty uninsdeletevalue
5858
5959
DELETED skins/aht/details.txt
--- setup/fossil.iss
+++ setup/fossil.iss
@@ -1,49 +1,49 @@
1 ;
2 ; Copyright (c) 2014 D. Richard Hipp
3 ;
4 ; This program is free software; you can redistribute it and/or
5 ; modify it under the terms of the Simplified BSD License (also
6 ; known as the "2-Clause License" or "FreeBSD License".)
7 ;
8 ; This program is distributed in the hope that it will be useful,
9 ; but without any warranty; without even the implied warranty of
10 ; merchantability or fitness for a particular purpose.
11 ;
12 ; Author contact information:
13 ; [email protected]
14 ; http://www.hwaci.com/drh/
15 ;
16
17 [Setup]
18 ArchitecturesAllowed=x86 x64
19 AlwaysShowComponentsList=false
20 AppCopyright=Copyright (c) D. Richard Hipp. All rights reserved.
21 AppID={{f1c25a1f-3954-4e1a-ac36-4314c52f057c}
22 AppName=Fossil
23 AppPublisher=Fossil Development Team
24 AppPublisherURL=https://www.fossil-scm.org/
25 AppSupportURL=https://www.fossil-scm.org/
26 AppUpdatesURL=https://www.fossil-scm.org/
27 AppVerName=Fossil v{#AppVersion}
28 AppVersion={#AppVersion}
29 AppComments=Simple, high-reliability, distributed software configuration management system.
30 AppReadmeFile=https://www.fossil-scm.org/index.html/doc/tip/www/quickstart.wiki
31 DefaultDirName={pf}\Fossil
32 DefaultGroupName=Fossil
33 OutputBaseFilename=fossil-win32-{#AppVersion}
34 OutputManifestFile=fossil-win32-{#AppVersion}-manifest.txt
35 SetupLogging=true
36 UninstallFilesDir={app}\uninstall
37 VersionInfoVersion={#AppVersion}
38
39
40 [Components]
41 Name: Application; Description: Core application.; Types: custom compact full; Flags: fixed
42
43
44 [Dirs]
45 Name: {app}\bin
46
47
48 [Files]
49 Components: Application; Source: ..\fossil.exe; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
50
51
52 [Registry]
53 Components: Application; Root: HKLM32; SubKey: Software\Fossil; ValueType: string; ValueName: Install_Dir; ValueData: {app}; Flags: uninsdeletekeyifempty uninsdeletevalue
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
 
 
55
 
 
 
56
 
 
 
57
 
 
58
59 ELETED skins/aht/details.txt
--- setup/fossil.iss
+++ setup/fossil.iss
@@ -1,49 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
 
 
 
2
 
 
 
3
 
 
 
4
5 ;
6 ; Copyright (c) 2014 D. Richard Hipp
7 ;
8 ; This program is free software; you can redistribute it and/or
9 ; modify it under the terms of the Simplified BSD License (also
10 ; known as the "2-Clause License" or "FreeBSD License".)
11 ;
12 ; This program is distributed in the hope that it will be useful,
13 ; but without any warranty; without even the implied warranty of
14 ; merchantability or fitness for a particular purpose.
15 ;
16 ; Author contact information:
17 ; [email protected]
18 ; http://www.hwaci.com/drh/
19 ;
20
21 [Setup]
22 ArchitecturesAllowed=x86 x64
23 AlwaysShowComponentsList=false
24 AppCopyright=Copyright (c) D. Richard Hipp. All rights reserved.
25 AppID={{f1c25a1f-3954-4e1a-ac36-4314c52f057c}
26 AppName=Fossil
27 AppPublisher=Fossil Development Team
28 AppPublisherURL=https://fossil-scm.org/
29 AppSupportURL=https://fossil-scm.org/
30 AppUpdatesURL=https://fossil-scm.org/
31 AppVerName=Fossil v{#AppVersion}
32 AppVersion={#AppVersion}
33 AppComments=Simple, high-reliability, distributed software configuration management system.
34 AppReadmeFile=https://fossil-scm.org/home/doc/tip/www/quickstart.wiki
35 DefaultDirName={pf}\Fossil
36 DefaultGroupName=Fossil
37 OutputBaseFilename=fossil-win32-{#AppVersion}
38 OutputManifestFile=fossil-win32-{#AppVersion}-manifest.txt
39 SetupLogging=true
40 UninstallFilesDir={app}\uninstall
41 VersionInfoVersion={#AppVersion}
42
43
44 [Components]
45 Name: Application; Description: Core application.; Types: custom compact full; Flags: fixed
46
47
48 [Dirs]
49 Name: {app}\bin
50
51
52 [Files]
53 Components: Application; Source: ..\fossil.exe; DestDir: {app}\bin; Flags: restartreplace uninsrestartdelete
54
55
56 [Registry]
57 Components: Application; Root: HKLM32; SubKey: Software\Fossil; ValueType: string; ValueName: Install_Dir; ValueData: {app}; Flags: uninsdeletekeyifempty uninsdeletevalue
58
59 ELETED skins/aht/details.txt
D skins/aht/details.txt
-3
--- a/skins/aht/details.txt
+++ b/skins/aht/details.txt
@@ -1,3 +0,0 @@
1
-timeline-arrowheads: 1
2
-timeline-circle-nodes: 0
3
-timeline-color-graph-lines: 0
--- a/skins/aht/details.txt
+++ b/skins/aht/details.txt
@@ -1,3 +0,0 @@
1 timeline-arrowheads: 1
2 timeline-circle-nodes: 0
3 timeline-color-graph-lines: 0
--- a/skins/aht/details.txt
+++ b/skins/aht/details.txt
@@ -1,3 +0,0 @@
 
 
 
--- skins/ardoise/css.txt
+++ skins/ardoise/css.txt
@@ -9,10 +9,11 @@
99
table.login_out,
1010
table.login_out td,
1111
tr.timelineCurrent,
1212
tr.timelineCurrent td.timelineTableCell,
1313
tr.timelineSelected {
14
+ background-color: initial;
1415
border: 0
1516
}
1617
ol,
1718
p,
1819
ul {
@@ -57,12 +58,10 @@
5758
span.modpending {
5859
font-style: italic
5960
}
6061
html {
6162
font-family: sans-serif;
62
- -ms-text-size-adjust: 100%;
63
- -webkit-text-size-adjust: 100%
6463
}
6564
audio,
6665
canvas,
6766
progress,
6867
video {
@@ -162,11 +161,10 @@
162161
}
163162
button,
164163
html input[type=button],
165164
input[type=reset],
166165
input[type=submit] {
167
- -webkit-appearance: button;
168166
cursor: pointer
169167
}
170168
button[disabled],
171169
html input[disabled] {
172170
cursor: default
@@ -187,17 +185,11 @@
187185
}
188186
input[type=number]::-webkit-inner-spin-button,
189187
input[type=number]::-webkit-outer-spin-button {
190188
height: auto
191189
}
192
-input[type=search] {
193
- -webkit-appearance: textfield
194
-}
195190
input[type=search]::-webkit-search-cancel-button,
196
-input[type=search]::-webkit-search-decoration {
197
- -webkit-appearance: none
198
-}
199191
fieldset {
200192
border: 1px solid silver;
201193
margin: 0 2px
202194
}
203195
legend {
@@ -487,13 +479,10 @@
487479
input[type=tel],
488480
input[type=text],
489481
input[type=url] {
490482
box-shadow: none;
491483
box-sizing: border-box;
492
- -webkit-appearance: none;
493
- -moz-appearance: none;
494
- appearance: none
495484
}
496485
input[type=email],
497486
input[type=number],
498487
input[type=password],
499488
input[type=search],
@@ -508,10 +497,13 @@
508497
background-color: #303536;
509498
border: 0;
510499
border-radius: 5px;
511500
box-shadow: none;
512501
box-sizing: border-box
502
+}
503
+textarea, select {
504
+ height: initial;
513505
}
514506
input[type=email]:hover,
515507
input[type=number]:hover,
516508
input[type=password]:hover,
517509
input[type=search]:hover,
@@ -523,13 +515,10 @@
523515
color: #eef8ff;
524516
background-color: #555
525517
}
526518
textarea {
527519
overflow: auto;
528
- -webkit-appearance: none;
529
- -moz-appearance: none;
530
- appearance: none;
531520
min-height: 65px;
532521
padding-top: 6px;
533522
padding-bottom: 6px
534523
}
535524
input[type=email]:focus,
@@ -584,10 +573,13 @@
584573
white-space: nowrap;
585574
background: #000;
586575
border: 2px solid #bbb;
587576
border-radius: 5px
588577
}
578
+table.numbered-lines td.file-content > pre {
579
+ margin-top: -2px/*offset CODE tag border*/;
580
+}
589581
pre > code {
590582
padding: 1rem 1.5rem;
591583
white-space: pre
592584
}
593585
td,
@@ -665,13 +657,15 @@
665657
.content {
666658
padding-top: 8px;
667659
padding-left: 8px;
668660
padding-right: 8px
669661
}
662
+#hbdrop a,
670663
.content a {
671664
color: #8cf
672665
}
666
+#hbdrop a:hover,
673667
.content a:hover,
674668
.submenu a:hover,
675669
.submenu label:hover {
676670
color: #fff
677671
}
@@ -701,20 +695,19 @@
701695
.mainmenu {
702696
background-color: #161819;
703697
border-top-right-radius: 15px;
704698
border-top-left-radius: 15px;
705699
clear: both
700
+ z-index: 21;
706701
}
707702
.mainmenu ul {
708703
list-style: none;
709
- display: block;
710704
border-top: 1px solid transparent;
711705
padding: 0
712706
}
713707
.mainmenu li {
714708
outline: 0;
715
- display: block;
716709
float: left;
717710
margin: 0
718711
}
719712
.mainmenu li.active {
720713
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNyIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgNC40OTggMi4zODEiPjxwYXRoIGQ9Ik00LjIzMyAyLjM4MUguMjY1bC45OTgtMS4wNTguOTg2LTEuMDU4Ljk5OCAxLjA2MnoiIGZpbGw9IiNmZjgwMDAiLz48L3N2Zz4=);
@@ -721,11 +714,10 @@
721714
background-repeat: no-repeat;
722715
background-position: center bottom
723716
}
724717
.mainmenu li a {
725718
color: #66a8c7;
726
- display: block;
727719
padding: 10px 15px
728720
}
729721
.mainmenu li.active a {
730722
text-shadow: 0 0 1px #b1d2e2
731723
}
@@ -734,10 +726,18 @@
734726
border-radius: 5px
735727
}
736728
.mainmenu li:hover a {
737729
color: #000
738730
}
731
+div#hbdrop {
732
+ background-color: #161819;
733
+ border-radius: 15px;
734
+ display: none;
735
+ width: 100%;
736
+ position: absolute;
737
+ z-index: 20;
738
+}
739739
.submenu {
740740
padding: 4px 0;
741741
background-color: #000;
742742
border-bottom-right-radius: 15px;
743743
border-bottom-left-radius: 15px;
@@ -961,11 +961,13 @@
961961
border: solid #ff8000;
962962
vertical-align: top;
963963
text-align: left;
964964
background: #442800
965965
}
966
-.timelineSelected {}
966
+.timelineSelected {
967
+ box-shadow: none;
968
+}
967969
.timelineSecondary {}
968970
.timelineSecondary > .timelineColumnarCell,
969971
.timelineSecondary > .timelineCompactCell,
970972
.timelineSecondary > .timelineDetailCell,
971973
.timelineSecondary > .timelineModernCell,
@@ -1392,5 +1394,22 @@
13921394
.u-cf {
13931395
content: "";
13941396
display: table;
13951397
clear: both
13961398
}
1399
+div.forumSel {
1400
+ background-color: #3a3a3a;
1401
+}
1402
+.debug {
1403
+ background-color: #330;
1404
+ border: 2px solid #aa0;
1405
+}
1406
+
1407
+.capsumOff {
1408
+ background-color: #222;
1409
+}
1410
+.capsumRead {
1411
+ background-color: #262;
1412
+}
1413
+.capsumWrite {
1414
+ background-color: #662;
1415
+}
13971416
--- skins/ardoise/css.txt
+++ skins/ardoise/css.txt
@@ -9,10 +9,11 @@
9 table.login_out,
10 table.login_out td,
11 tr.timelineCurrent,
12 tr.timelineCurrent td.timelineTableCell,
13 tr.timelineSelected {
 
14 border: 0
15 }
16 ol,
17 p,
18 ul {
@@ -57,12 +58,10 @@
57 span.modpending {
58 font-style: italic
59 }
60 html {
61 font-family: sans-serif;
62 -ms-text-size-adjust: 100%;
63 -webkit-text-size-adjust: 100%
64 }
65 audio,
66 canvas,
67 progress,
68 video {
@@ -162,11 +161,10 @@
162 }
163 button,
164 html input[type=button],
165 input[type=reset],
166 input[type=submit] {
167 -webkit-appearance: button;
168 cursor: pointer
169 }
170 button[disabled],
171 html input[disabled] {
172 cursor: default
@@ -187,17 +185,11 @@
187 }
188 input[type=number]::-webkit-inner-spin-button,
189 input[type=number]::-webkit-outer-spin-button {
190 height: auto
191 }
192 input[type=search] {
193 -webkit-appearance: textfield
194 }
195 input[type=search]::-webkit-search-cancel-button,
196 input[type=search]::-webkit-search-decoration {
197 -webkit-appearance: none
198 }
199 fieldset {
200 border: 1px solid silver;
201 margin: 0 2px
202 }
203 legend {
@@ -487,13 +479,10 @@
487 input[type=tel],
488 input[type=text],
489 input[type=url] {
490 box-shadow: none;
491 box-sizing: border-box;
492 -webkit-appearance: none;
493 -moz-appearance: none;
494 appearance: none
495 }
496 input[type=email],
497 input[type=number],
498 input[type=password],
499 input[type=search],
@@ -508,10 +497,13 @@
508 background-color: #303536;
509 border: 0;
510 border-radius: 5px;
511 box-shadow: none;
512 box-sizing: border-box
 
 
 
513 }
514 input[type=email]:hover,
515 input[type=number]:hover,
516 input[type=password]:hover,
517 input[type=search]:hover,
@@ -523,13 +515,10 @@
523 color: #eef8ff;
524 background-color: #555
525 }
526 textarea {
527 overflow: auto;
528 -webkit-appearance: none;
529 -moz-appearance: none;
530 appearance: none;
531 min-height: 65px;
532 padding-top: 6px;
533 padding-bottom: 6px
534 }
535 input[type=email]:focus,
@@ -584,10 +573,13 @@
584 white-space: nowrap;
585 background: #000;
586 border: 2px solid #bbb;
587 border-radius: 5px
588 }
 
 
 
589 pre > code {
590 padding: 1rem 1.5rem;
591 white-space: pre
592 }
593 td,
@@ -665,13 +657,15 @@
665 .content {
666 padding-top: 8px;
667 padding-left: 8px;
668 padding-right: 8px
669 }
 
670 .content a {
671 color: #8cf
672 }
 
673 .content a:hover,
674 .submenu a:hover,
675 .submenu label:hover {
676 color: #fff
677 }
@@ -701,20 +695,19 @@
701 .mainmenu {
702 background-color: #161819;
703 border-top-right-radius: 15px;
704 border-top-left-radius: 15px;
705 clear: both
 
706 }
707 .mainmenu ul {
708 list-style: none;
709 display: block;
710 border-top: 1px solid transparent;
711 padding: 0
712 }
713 .mainmenu li {
714 outline: 0;
715 display: block;
716 float: left;
717 margin: 0
718 }
719 .mainmenu li.active {
720 background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNyIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgNC40OTggMi4zODEiPjxwYXRoIGQ9Ik00LjIzMyAyLjM4MUguMjY1bC45OTgtMS4wNTguOTg2LTEuMDU4Ljk5OCAxLjA2MnoiIGZpbGw9IiNmZjgwMDAiLz48L3N2Zz4=);
@@ -721,11 +714,10 @@
721 background-repeat: no-repeat;
722 background-position: center bottom
723 }
724 .mainmenu li a {
725 color: #66a8c7;
726 display: block;
727 padding: 10px 15px
728 }
729 .mainmenu li.active a {
730 text-shadow: 0 0 1px #b1d2e2
731 }
@@ -734,10 +726,18 @@
734 border-radius: 5px
735 }
736 .mainmenu li:hover a {
737 color: #000
738 }
 
 
 
 
 
 
 
 
739 .submenu {
740 padding: 4px 0;
741 background-color: #000;
742 border-bottom-right-radius: 15px;
743 border-bottom-left-radius: 15px;
@@ -961,11 +961,13 @@
961 border: solid #ff8000;
962 vertical-align: top;
963 text-align: left;
964 background: #442800
965 }
966 .timelineSelected {}
 
 
967 .timelineSecondary {}
968 .timelineSecondary > .timelineColumnarCell,
969 .timelineSecondary > .timelineCompactCell,
970 .timelineSecondary > .timelineDetailCell,
971 .timelineSecondary > .timelineModernCell,
@@ -1392,5 +1394,22 @@
1392 .u-cf {
1393 content: "";
1394 display: table;
1395 clear: both
1396 }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1397
--- skins/ardoise/css.txt
+++ skins/ardoise/css.txt
@@ -9,10 +9,11 @@
9 table.login_out,
10 table.login_out td,
11 tr.timelineCurrent,
12 tr.timelineCurrent td.timelineTableCell,
13 tr.timelineSelected {
14 background-color: initial;
15 border: 0
16 }
17 ol,
18 p,
19 ul {
@@ -57,12 +58,10 @@
58 span.modpending {
59 font-style: italic
60 }
61 html {
62 font-family: sans-serif;
 
 
63 }
64 audio,
65 canvas,
66 progress,
67 video {
@@ -162,11 +161,10 @@
161 }
162 button,
163 html input[type=button],
164 input[type=reset],
165 input[type=submit] {
 
166 cursor: pointer
167 }
168 button[disabled],
169 html input[disabled] {
170 cursor: default
@@ -187,17 +185,11 @@
185 }
186 input[type=number]::-webkit-inner-spin-button,
187 input[type=number]::-webkit-outer-spin-button {
188 height: auto
189 }
 
 
 
190 input[type=search]::-webkit-search-cancel-button,
 
 
 
191 fieldset {
192 border: 1px solid silver;
193 margin: 0 2px
194 }
195 legend {
@@ -487,13 +479,10 @@
479 input[type=tel],
480 input[type=text],
481 input[type=url] {
482 box-shadow: none;
483 box-sizing: border-box;
 
 
 
484 }
485 input[type=email],
486 input[type=number],
487 input[type=password],
488 input[type=search],
@@ -508,10 +497,13 @@
497 background-color: #303536;
498 border: 0;
499 border-radius: 5px;
500 box-shadow: none;
501 box-sizing: border-box
502 }
503 textarea, select {
504 height: initial;
505 }
506 input[type=email]:hover,
507 input[type=number]:hover,
508 input[type=password]:hover,
509 input[type=search]:hover,
@@ -523,13 +515,10 @@
515 color: #eef8ff;
516 background-color: #555
517 }
518 textarea {
519 overflow: auto;
 
 
 
520 min-height: 65px;
521 padding-top: 6px;
522 padding-bottom: 6px
523 }
524 input[type=email]:focus,
@@ -584,10 +573,13 @@
573 white-space: nowrap;
574 background: #000;
575 border: 2px solid #bbb;
576 border-radius: 5px
577 }
578 table.numbered-lines td.file-content > pre {
579 margin-top: -2px/*offset CODE tag border*/;
580 }
581 pre > code {
582 padding: 1rem 1.5rem;
583 white-space: pre
584 }
585 td,
@@ -665,13 +657,15 @@
657 .content {
658 padding-top: 8px;
659 padding-left: 8px;
660 padding-right: 8px
661 }
662 #hbdrop a,
663 .content a {
664 color: #8cf
665 }
666 #hbdrop a:hover,
667 .content a:hover,
668 .submenu a:hover,
669 .submenu label:hover {
670 color: #fff
671 }
@@ -701,20 +695,19 @@
695 .mainmenu {
696 background-color: #161819;
697 border-top-right-radius: 15px;
698 border-top-left-radius: 15px;
699 clear: both
700 z-index: 21;
701 }
702 .mainmenu ul {
703 list-style: none;
 
704 border-top: 1px solid transparent;
705 padding: 0
706 }
707 .mainmenu li {
708 outline: 0;
 
709 float: left;
710 margin: 0
711 }
712 .mainmenu li.active {
713 background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNyIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgNC40OTggMi4zODEiPjxwYXRoIGQ9Ik00LjIzMyAyLjM4MUguMjY1bC45OTgtMS4wNTguOTg2LTEuMDU4Ljk5OCAxLjA2MnoiIGZpbGw9IiNmZjgwMDAiLz48L3N2Zz4=);
@@ -721,11 +714,10 @@
714 background-repeat: no-repeat;
715 background-position: center bottom
716 }
717 .mainmenu li a {
718 color: #66a8c7;
 
719 padding: 10px 15px
720 }
721 .mainmenu li.active a {
722 text-shadow: 0 0 1px #b1d2e2
723 }
@@ -734,10 +726,18 @@
726 border-radius: 5px
727 }
728 .mainmenu li:hover a {
729 color: #000
730 }
731 div#hbdrop {
732 background-color: #161819;
733 border-radius: 15px;
734 display: none;
735 width: 100%;
736 position: absolute;
737 z-index: 20;
738 }
739 .submenu {
740 padding: 4px 0;
741 background-color: #000;
742 border-bottom-right-radius: 15px;
743 border-bottom-left-radius: 15px;
@@ -961,11 +961,13 @@
961 border: solid #ff8000;
962 vertical-align: top;
963 text-align: left;
964 background: #442800
965 }
966 .timelineSelected {
967 box-shadow: none;
968 }
969 .timelineSecondary {}
970 .timelineSecondary > .timelineColumnarCell,
971 .timelineSecondary > .timelineCompactCell,
972 .timelineSecondary > .timelineDetailCell,
973 .timelineSecondary > .timelineModernCell,
@@ -1392,5 +1394,22 @@
1394 .u-cf {
1395 content: "";
1396 display: table;
1397 clear: both
1398 }
1399 div.forumSel {
1400 background-color: #3a3a3a;
1401 }
1402 .debug {
1403 background-color: #330;
1404 border: 2px solid #aa0;
1405 }
1406
1407 .capsumOff {
1408 background-color: #222;
1409 }
1410 .capsumRead {
1411 background-color: #262;
1412 }
1413 .capsumWrite {
1414 background-color: #662;
1415 }
1416
--- skins/ardoise/details.txt
+++ skins/ardoise/details.txt
@@ -1,4 +1,5 @@
11
timeline-arrowheads: 0
22
timeline-circle-nodes: 1
33
timeline-color-graph-lines: 1
44
white-foreground: 1
5
+pikchr-background: 0x1d2021
56
--- skins/ardoise/details.txt
+++ skins/ardoise/details.txt
@@ -1,4 +1,5 @@
1 timeline-arrowheads: 0
2 timeline-circle-nodes: 1
3 timeline-color-graph-lines: 1
4 white-foreground: 1
 
5
--- skins/ardoise/details.txt
+++ skins/ardoise/details.txt
@@ -1,4 +1,5 @@
1 timeline-arrowheads: 0
2 timeline-circle-nodes: 1
3 timeline-color-graph-lines: 1
4 white-foreground: 1
5 pikchr-background: 0x1d2021
6
--- skins/ardoise/footer.txt
+++ skins/ardoise/footer.txt
@@ -6,10 +6,10 @@
66
</div> <!-- end div container -->
77
</div> <!-- end div middle max-full-width -->
88
<div class="footer">
99
<div class="container">
1010
<div class="pull-right">
11
- <a href="https://www.fossil-scm.org/">Fossil $release_version $manifest_version $manifest_date</a>
11
+ <a href="https://fossil-scm.org/">Fossil $release_version $manifest_version $manifest_date</a>
1212
</div>
1313
This page was generated in about <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s
1414
</div>
1515
</div>
1616
--- skins/ardoise/footer.txt
+++ skins/ardoise/footer.txt
@@ -6,10 +6,10 @@
6 </div> <!-- end div container -->
7 </div> <!-- end div middle max-full-width -->
8 <div class="footer">
9 <div class="container">
10 <div class="pull-right">
11 <a href="https://www.fossil-scm.org/">Fossil $release_version $manifest_version $manifest_date</a>
12 </div>
13 This page was generated in about <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s
14 </div>
15 </div>
16
--- skins/ardoise/footer.txt
+++ skins/ardoise/footer.txt
@@ -6,10 +6,10 @@
6 </div> <!-- end div container -->
7 </div> <!-- end div middle max-full-width -->
8 <div class="footer">
9 <div class="container">
10 <div class="pull-right">
11 <a href="https://fossil-scm.org/">Fossil $release_version $manifest_version $manifest_date</a>
12 </div>
13 This page was generated in about <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s
14 </div>
15 </div>
16
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -21,51 +21,26 @@
2121
2222
<!-- Main Menu -->
2323
<div class="mainmenu">
2424
<ul>
2525
<th1>
26
-proc menulink {url name} {
27
- upvar current_page current
28
- upvar home home
29
- if {[string range $url 0 [string length $current]] eq "/$current"} {
30
- html "<li class='active'>"
31
- } else {
32
- html "<li>"
33
- }
34
- html "<a href='$home$url'>$name</a></li>\n"
35
-}
36
-menulink $index_page Home
37
-if {[anycap jor]} {
38
- menulink /timeline Timeline
39
-}
40
-if {[hascap oh]} {
41
- menulink /dir?ci=tip Files
42
-}
43
-if {[hascap o]} {
44
- menulink /brlist Branches
45
- menulink /taglist Tags
46
-}
47
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
48
- menulink /forum Forum
49
-}
50
-if {[hascap r]} {
51
- menulink /ticket Tickets
52
-}
53
-if {[hascap j]} {
54
- menulink /wiki Wiki
55
-}
56
-if {[hascap o]} {
57
- menulink /help Help
58
- }
59
-if {[hascap s]} {
60
- menulink /setup Admin
61
-} elseif {[hascap a]} {
62
- menulink /setup_ulist Users
63
-}
64
- </th1>
65
- </ul>
66
- </div> <!-- end div mainmenu -->
26
+html "<li><a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a></li>\n"
27
+builtin_request_js hbmenu.js
28
+set once 1
29
+foreach {name url expr class} $mainmenu {
30
+ if {![capexpr $expr]} continue
31
+ if {$once && [string match /$current_page* $url]} {
32
+ lappend class active
33
+ set once 0
34
+ }
35
+ html "<li class='$class'>"
36
+ if {[string match /* $url]} {set url $home$url}
37
+ html "<a href='$url'>$name</a></li>\n"
38
+}
39
+</th1></ul>
40
+ </div> <!-- end div mainmenu -->
41
+ <div id="hbdrop"></div>
6742
</div> <!-- end div container -->
6843
</div> <!-- end div header -->
6944
<div class="middle max-full-width">
7045
<div class="container">
7146
<th1>
7247
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -21,51 +21,26 @@
21
22 <!-- Main Menu -->
23 <div class="mainmenu">
24 <ul>
25 <th1>
26 proc menulink {url name} {
27 upvar current_page current
28 upvar home home
29 if {[string range $url 0 [string length $current]] eq "/$current"} {
30 html "<li class='active'>"
31 } else {
32 html "<li>"
33 }
34 html "<a href='$home$url'>$name</a></li>\n"
35 }
36 menulink $index_page Home
37 if {[anycap jor]} {
38 menulink /timeline Timeline
39 }
40 if {[hascap oh]} {
41 menulink /dir?ci=tip Files
42 }
43 if {[hascap o]} {
44 menulink /brlist Branches
45 menulink /taglist Tags
46 }
47 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
48 menulink /forum Forum
49 }
50 if {[hascap r]} {
51 menulink /ticket Tickets
52 }
53 if {[hascap j]} {
54 menulink /wiki Wiki
55 }
56 if {[hascap o]} {
57 menulink /help Help
58 }
59 if {[hascap s]} {
60 menulink /setup Admin
61 } elseif {[hascap a]} {
62 menulink /setup_ulist Users
63 }
64 </th1>
65 </ul>
66 </div> <!-- end div mainmenu -->
67 </div> <!-- end div container -->
68 </div> <!-- end div header -->
69 <div class="middle max-full-width">
70 <div class="container">
71 <th1>
72
--- skins/ardoise/header.txt
+++ skins/ardoise/header.txt
@@ -21,51 +21,26 @@
21
22 <!-- Main Menu -->
23 <div class="mainmenu">
24 <ul>
25 <th1>
26 html "<li><a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a></li>\n"
27 builtin_request_js hbmenu.js
28 set once 1
29 foreach {name url expr class} $mainmenu {
30 if {![capexpr $expr]} continue
31 if {$once && [string match /$current_page* $url]} {
32 lappend class active
33 set once 0
34 }
35 html "<li class='$class'>"
36 if {[string match /* $url]} {set url $home$url}
37 html "<a href='$url'>$name</a></li>\n"
38 }
39 </th1></ul>
40 </div> <!-- end div mainmenu -->
41 <div id="hbdrop"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42 </div> <!-- end div container -->
43 </div> <!-- end div header -->
44 <div class="middle max-full-width">
45 <div class="container">
46 <th1>
47
--- skins/black_and_white/css.txt
+++ skins/black_and_white/css.txt
@@ -65,17 +65,17 @@
6565
/* The main menu bar that appears at the top left of the page beneath
6666
** the header. Width must be co-ordinated with the container below */
6767
div.mainmenu {
6868
float: left;
6969
margin-left: 10px;
70
- margin-right: 10px;
70
+ margin-right: 20px;
7171
font-size: 0.9em;
7272
font-weight: bold;
7373
padding:5px;
7474
background-color:#eee;
7575
border:1px solid #999;
76
- width:8em;
76
+ width:6em;
7777
}
7878
7979
/* Main menu is now a list */
8080
div.mainmenu ul {
8181
padding: 0;
8282
--- skins/black_and_white/css.txt
+++ skins/black_and_white/css.txt
@@ -65,17 +65,17 @@
65 /* The main menu bar that appears at the top left of the page beneath
66 ** the header. Width must be co-ordinated with the container below */
67 div.mainmenu {
68 float: left;
69 margin-left: 10px;
70 margin-right: 10px;
71 font-size: 0.9em;
72 font-weight: bold;
73 padding:5px;
74 background-color:#eee;
75 border:1px solid #999;
76 width:8em;
77 }
78
79 /* Main menu is now a list */
80 div.mainmenu ul {
81 padding: 0;
82
--- skins/black_and_white/css.txt
+++ skins/black_and_white/css.txt
@@ -65,17 +65,17 @@
65 /* The main menu bar that appears at the top left of the page beneath
66 ** the header. Width must be co-ordinated with the container below */
67 div.mainmenu {
68 float: left;
69 margin-left: 10px;
70 margin-right: 20px;
71 font-size: 0.9em;
72 font-weight: bold;
73 padding:5px;
74 background-color:#eee;
75 border:1px solid #999;
76 width:6em;
77 }
78
79 /* Main menu is now a list */
80 div.mainmenu ul {
81 padding: 0;
82
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -12,36 +12,16 @@
1212
}
1313
</th1></div>
1414
</div>
1515
<div class="mainmenu">
1616
<th1>
17
-html "<a href='$home$index_page'>Home</a>\n"
18
-if {[anycap jor]} {
19
- html "<a href='$home/timeline'>Timeline</a>\n"
20
-}
21
-if {[anoncap oh]} {
22
- html "<a href='$home/tree?ci=tip'>Files</a>\n"
23
-}
24
-if {[anoncap o]} {
25
- html "<a href='$home/brlist'>Branches</a>\n"
26
- html "<a href='$home/taglist'>Tags</a>\n"
27
-}
28
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
29
- html "<a href='$home/forum'>Forum</a>\n"
30
-}
31
-if {[anoncap r]} {
32
- html "<a href='$home/ticket'>Tickets</a>\n"
33
-}
34
-if {[anoncap j]} {
35
- html "<a href='$home/wiki'>Wiki</a>\n"
36
-}
37
-if {[hascap s]} {
38
- html "<a href='$home/setup'>Admin</a>\n"
39
-} elseif {[hascap a]} {
40
- html "<a href='$home/setup_ulist'>Users</a>\n"
41
-}
42
-if {[info exists login]} {
43
- html "<a href='$home/login'>Logout</a>\n"
44
-} else {
45
- html "<a href='$home/login'>Login</a>\n"
46
-}
47
-</th1></ul></div>
17
+set sitemap 0
18
+foreach {name url expr class} $mainmenu {
19
+ if {![capexpr $expr]} continue
20
+ if {[string match /* $url]} {set url $home$url}
21
+ html "<a href='$url'>$name</a><br/>\n"
22
+ if {[string match /sitemap $url]} {set sitemap 1}
23
+}
24
+if {!$sitemap} {
25
+ html "<a href='$home/sitemap'>Sitemap</a>\n"
26
+}
27
+</th1></div>
4828
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -12,36 +12,16 @@
12 }
13 </th1></div>
14 </div>
15 <div class="mainmenu">
16 <th1>
17 html "<a href='$home$index_page'>Home</a>\n"
18 if {[anycap jor]} {
19 html "<a href='$home/timeline'>Timeline</a>\n"
20 }
21 if {[anoncap oh]} {
22 html "<a href='$home/tree?ci=tip'>Files</a>\n"
23 }
24 if {[anoncap o]} {
25 html "<a href='$home/brlist'>Branches</a>\n"
26 html "<a href='$home/taglist'>Tags</a>\n"
27 }
28 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
29 html "<a href='$home/forum'>Forum</a>\n"
30 }
31 if {[anoncap r]} {
32 html "<a href='$home/ticket'>Tickets</a>\n"
33 }
34 if {[anoncap j]} {
35 html "<a href='$home/wiki'>Wiki</a>\n"
36 }
37 if {[hascap s]} {
38 html "<a href='$home/setup'>Admin</a>\n"
39 } elseif {[hascap a]} {
40 html "<a href='$home/setup_ulist'>Users</a>\n"
41 }
42 if {[info exists login]} {
43 html "<a href='$home/login'>Logout</a>\n"
44 } else {
45 html "<a href='$home/login'>Login</a>\n"
46 }
47 </th1></ul></div>
48
--- skins/black_and_white/header.txt
+++ skins/black_and_white/header.txt
@@ -12,36 +12,16 @@
12 }
13 </th1></div>
14 </div>
15 <div class="mainmenu">
16 <th1>
17 set sitemap 0
18 foreach {name url expr class} $mainmenu {
19 if {![capexpr $expr]} continue
20 if {[string match /* $url]} {set url $home$url}
21 html "<a href='$url'>$name</a><br/>\n"
22 if {[string match /sitemap $url]} {set sitemap 1}
23 }
24 if {!$sitemap} {
25 html "<a href='$home/sitemap'>Sitemap</a>\n"
26 }
27 </th1></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
--- skins/blitz/css.txt
+++ skins/blitz/css.txt
@@ -848,19 +848,17 @@
848848
clear:both;
849849
}
850850
851851
.mainmenu ul {
852852
list-style: none outside;
853
- display: block;
854853
position: relative;
855854
border-top: 1px solid #ccc;
856855
padding: 0;
857856
}
858857
859858
.mainmenu li {
860859
outline: 0;
861
- display: block;
862860
float: left;
863861
margin: 0;
864862
}
865863
866864
.mainmenu li.active {
@@ -867,23 +865,34 @@
867865
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEQAACxEBf2RfkQAAAAd0SU1FB90FDxEXAZ2XRzAAAABJSURBVCjPY2CgBzhz5sx/QmoYiTXAxMSEkWRDsLkAl0GMpHoBm0EoAlu3bmUQFxcnGAboBjEhc4gxAJtLGUmJBVwuYiTXAGSDAIx5IBObnuVxAAAAAElFTkSuQmCC);
868866
background-repeat: no-repeat;
869867
background-position: center bottom;
870868
}
871869
872
-.mainmenu li a {
870
+.mainmenu li a,
871
+div#hbdrop a {
873872
color: #3b5c6b;
874
- display: block;
875873
padding: 10px 15px;
876874
}
877875
878876
.mainmenu li.active a {
879877
font-weight: bold;
880878
}
881879
882
-.mainmenu li:hover {
880
+.mainmenu li:hover
881
+div#hbdrop a:hover {
883882
background-color: #eee;
884883
}
884
+
885
+div#hbdrop {
886
+ background-color: white;
887
+ border: 2px solid #ccc;
888
+ display: none;
889
+ width: 100%;
890
+ position: absolute;
891
+ z-index: 20;
892
+}
893
+
885894
886895
887896
/* Submenu
888897
* Displayed in the middle div. Contains page-specific form controls.
889898
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
890899
--- skins/blitz/css.txt
+++ skins/blitz/css.txt
@@ -848,19 +848,17 @@
848 clear:both;
849 }
850
851 .mainmenu ul {
852 list-style: none outside;
853 display: block;
854 position: relative;
855 border-top: 1px solid #ccc;
856 padding: 0;
857 }
858
859 .mainmenu li {
860 outline: 0;
861 display: block;
862 float: left;
863 margin: 0;
864 }
865
866 .mainmenu li.active {
@@ -867,23 +865,34 @@
867 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEQAACxEBf2RfkQAAAAd0SU1FB90FDxEXAZ2XRzAAAABJSURBVCjPY2CgBzhz5sx/QmoYiTXAxMSEkWRDsLkAl0GMpHoBm0EoAlu3bmUQFxcnGAboBjEhc4gxAJtLGUmJBVwuYiTXAGSDAIx5IBObnuVxAAAAAElFTkSuQmCC);
868 background-repeat: no-repeat;
869 background-position: center bottom;
870 }
871
872 .mainmenu li a {
 
873 color: #3b5c6b;
874 display: block;
875 padding: 10px 15px;
876 }
877
878 .mainmenu li.active a {
879 font-weight: bold;
880 }
881
882 .mainmenu li:hover {
 
883 background-color: #eee;
884 }
 
 
 
 
 
 
 
 
 
 
885
886
887 /* Submenu
888 * Displayed in the middle div. Contains page-specific form controls.
889 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
890
--- skins/blitz/css.txt
+++ skins/blitz/css.txt
@@ -848,19 +848,17 @@
848 clear:both;
849 }
850
851 .mainmenu ul {
852 list-style: none outside;
 
853 position: relative;
854 border-top: 1px solid #ccc;
855 padding: 0;
856 }
857
858 .mainmenu li {
859 outline: 0;
 
860 float: left;
861 margin: 0;
862 }
863
864 .mainmenu li.active {
@@ -867,23 +865,34 @@
865 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEQAACxEBf2RfkQAAAAd0SU1FB90FDxEXAZ2XRzAAAABJSURBVCjPY2CgBzhz5sx/QmoYiTXAxMSEkWRDsLkAl0GMpHoBm0EoAlu3bmUQFxcnGAboBjEhc4gxAJtLGUmJBVwuYiTXAGSDAIx5IBObnuVxAAAAAElFTkSuQmCC);
866 background-repeat: no-repeat;
867 background-position: center bottom;
868 }
869
870 .mainmenu li a,
871 div#hbdrop a {
872 color: #3b5c6b;
 
873 padding: 10px 15px;
874 }
875
876 .mainmenu li.active a {
877 font-weight: bold;
878 }
879
880 .mainmenu li:hover
881 div#hbdrop a:hover {
882 background-color: #eee;
883 }
884
885 div#hbdrop {
886 background-color: white;
887 border: 2px solid #ccc;
888 display: none;
889 width: 100%;
890 position: absolute;
891 z-index: 20;
892 }
893
894
895
896 /* Submenu
897 * Displayed in the middle div. Contains page-specific form controls.
898 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
899
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -8,67 +8,39 @@
88
html "<b>$login</b> — <a class='button' href='$home/login'>Logout</a>\n"
99
} else {
1010
html "<a class='button' href='$home/login'>Login</a>\n"
1111
}
1212
</th1>
13
- <div>
14
- <h2><small>$title</small></h2>
15
- </div>
1613
</div>
1714
<div class='logo'>
18
- <img src='$logo_image_url' />
15
+ <h1>$<project_name>
1916
<th1>
2017
if {[anycap jor]} {
2118
html "<a class='rss' href='$home/timeline.rss'></a>"
2219
}
2320
</th1>
21
+ <small> &nbsp;$<title></small></h1>
2422
</div>
2523
2624
<!-- Main Menu -->
2725
<div class="mainmenu">
28
- <ul>
29
- <th1>
30
-proc menulink {url name} {
31
- upvar current_page current
32
- upvar home home
33
- if {[string range $url 0 [string length $current]] eq "/$current"} {
34
- html "<li class='active'>"
35
- } else {
36
- html "<li>"
37
- }
38
- html "<a href='$home$url'>$name</a></li>\n"
39
-}
40
-menulink $index_page Home
41
-if {[anycap jor]} {
42
- menulink /timeline Timeline
43
-}
44
-if {[hascap oh]} {
45
- menulink /dir?ci=tip Files
46
-}
47
-if {[hascap o]} {
48
- menulink /brlist Branches
49
- menulink /taglist Tags
50
-}
51
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
52
- menulink /forum Forum
53
-}
54
-if {[hascap r]} {
55
- menulink /ticket Tickets
56
-}
57
-if {[hascap j]} {
58
- menulink /wiki Wiki
59
-}
60
-if {[hascap o]} {
61
- menulink /help Help
62
-}
63
-if {[hascap s]} {
64
- menulink /setup Admin
65
-} elseif {[hascap a]} {
66
- menulink /setup_ulist Users
67
-}
68
- </th1>
69
- </ul>
70
- </div> <!-- end div mainmenu -->
26
+ <ul><th1>
27
+html "<li><a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a></li>\n"
28
+builtin_request_js hbmenu.js
29
+set once 1
30
+foreach {name url expr class} $mainmenu {
31
+ if {![capexpr $expr]} continue
32
+ if {$once && [string match /$current_page* $url]} {
33
+ lappend class active
34
+ set once 0
35
+ }
36
+ html "<li class='$class'>"
37
+ if {[string match /* $url]} {set url $home$url}
38
+ html "<a href='$url'>$name</a></li>\n"
39
+}
40
+</th1></ul>
41
+ </div> <!-- end div mainmenu -->
42
+ <div id="hbdrop"></div>
7143
</div> <!-- end div container -->
7244
</div> <!-- end div header -->
7345
<div class="middle max-full-width">
7446
<div class="container">
7547
7648
DELETED skins/blitz_no_logo/README.md
7749
DELETED skins/blitz_no_logo/css.txt
7850
DELETED skins/blitz_no_logo/details.txt
7951
DELETED skins/blitz_no_logo/footer.txt
8052
DELETED skins/blitz_no_logo/header.txt
8153
DELETED skins/blitz_no_logo/ticket.txt
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -8,67 +8,39 @@
8 html "<b>$login</b> — <a class='button' href='$home/login'>Logout</a>\n"
9 } else {
10 html "<a class='button' href='$home/login'>Login</a>\n"
11 }
12 </th1>
13 <div>
14 <h2><small>$title</small></h2>
15 </div>
16 </div>
17 <div class='logo'>
18 <img src='$logo_image_url' />
19 <th1>
20 if {[anycap jor]} {
21 html "<a class='rss' href='$home/timeline.rss'></a>"
22 }
23 </th1>
 
24 </div>
25
26 <!-- Main Menu -->
27 <div class="mainmenu">
28 <ul>
29 <th1>
30 proc menulink {url name} {
31 upvar current_page current
32 upvar home home
33 if {[string range $url 0 [string length $current]] eq "/$current"} {
34 html "<li class='active'>"
35 } else {
36 html "<li>"
37 }
38 html "<a href='$home$url'>$name</a></li>\n"
39 }
40 menulink $index_page Home
41 if {[anycap jor]} {
42 menulink /timeline Timeline
43 }
44 if {[hascap oh]} {
45 menulink /dir?ci=tip Files
46 }
47 if {[hascap o]} {
48 menulink /brlist Branches
49 menulink /taglist Tags
50 }
51 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
52 menulink /forum Forum
53 }
54 if {[hascap r]} {
55 menulink /ticket Tickets
56 }
57 if {[hascap j]} {
58 menulink /wiki Wiki
59 }
60 if {[hascap o]} {
61 menulink /help Help
62 }
63 if {[hascap s]} {
64 menulink /setup Admin
65 } elseif {[hascap a]} {
66 menulink /setup_ulist Users
67 }
68 </th1>
69 </ul>
70 </div> <!-- end div mainmenu -->
71 </div> <!-- end div container -->
72 </div> <!-- end div header -->
73 <div class="middle max-full-width">
74 <div class="container">
75
76 ELETED skins/blitz_no_logo/README.md
77 ELETED skins/blitz_no_logo/css.txt
78 ELETED skins/blitz_no_logo/details.txt
79 ELETED skins/blitz_no_logo/footer.txt
80 ELETED skins/blitz_no_logo/header.txt
81 ELETED skins/blitz_no_logo/ticket.txt
--- skins/blitz/header.txt
+++ skins/blitz/header.txt
@@ -8,67 +8,39 @@
8 html "<b>$login</b> — <a class='button' href='$home/login'>Logout</a>\n"
9 } else {
10 html "<a class='button' href='$home/login'>Login</a>\n"
11 }
12 </th1>
 
 
 
13 </div>
14 <div class='logo'>
15 <h1>$<project_name>
16 <th1>
17 if {[anycap jor]} {
18 html "<a class='rss' href='$home/timeline.rss'></a>"
19 }
20 </th1>
21 <small> &nbsp;$<title></small></h1>
22 </div>
23
24 <!-- Main Menu -->
25 <div class="mainmenu">
26 <ul><th1>
27 html "<li><a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a></li>\n"
28 builtin_request_js hbmenu.js
29 set once 1
30 foreach {name url expr class} $mainmenu {
31 if {![capexpr $expr]} continue
32 if {$once && [string match /$current_page* $url]} {
33 lappend class active
34 set once 0
35 }
36 html "<li class='$class'>"
37 if {[string match /* $url]} {set url $home$url}
38 html "<a href='$url'>$name</a></li>\n"
39 }
40 </th1></ul>
41 </div> <!-- end div mainmenu -->
42 <div id="hbdrop"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43 </div> <!-- end div container -->
44 </div> <!-- end div header -->
45 <div class="middle max-full-width">
46 <div class="container">
47
48 ELETED skins/blitz_no_logo/README.md
49 ELETED skins/blitz_no_logo/css.txt
50 ELETED skins/blitz_no_logo/details.txt
51 ELETED skins/blitz_no_logo/footer.txt
52 ELETED skins/blitz_no_logo/header.txt
53 ELETED skins/blitz_no_logo/ticket.txt
D skins/blitz_no_logo/README.md
-13
--- a/skins/blitz_no_logo/README.md
+++ b/skins/blitz_no_logo/README.md
@@ -1,13 +0,0 @@
1
-## Blitz Theme (no logo)
2
-
3
-Contributed by James Moger ([email protected])
4
-
5
-This theme is inspired by my own project, [Gitblit](http://gitblit.com), and offered to the Fossil project.
6
-
7
-This theme embeds & uses an unmodified copy of [Normalize 3.0.2](https://necolas.github.io/normalize.css/) which is distributed under an [MIT license](https://github.com/necolas/normalize.css/blob/master/LICENSE.md).
8
-
9
-This theme uses half of a heavily-modified version of [Skeleton](http://getskeleton.com) which is distributed under an [MIT license](https://github.com/dhg/Skeleton/blob/master/LICENSE.md). None of the responsive elements (media queries) are included at this time.
10
-
11
-The font used in the included Fossil logo image is [Trillium Web Light](http://www.google.com/fonts/specimen/Titillium+Web) @ 48px HTML color code #456a7a.
12
-
13
-The RSS feed icon is sourced from [Font-Awesome](https://fortawesome.github.io/Font-Awesome/icons) by Dave Gandy and is distributed under the [SIL OFL 1.1 ](http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL) license.
--- a/skins/blitz_no_logo/README.md
+++ b/skins/blitz_no_logo/README.md
@@ -1,13 +0,0 @@
1 ## Blitz Theme (no logo)
2
3 Contributed by James Moger ([email protected])
4
5 This theme is inspired by my own project, [Gitblit](http://gitblit.com), and offered to the Fossil project.
6
7 This theme embeds & uses an unmodified copy of [Normalize 3.0.2](https://necolas.github.io/normalize.css/) which is distributed under an [MIT license](https://github.com/necolas/normalize.css/blob/master/LICENSE.md).
8
9 This theme uses half of a heavily-modified version of [Skeleton](http://getskeleton.com) which is distributed under an [MIT license](https://github.com/dhg/Skeleton/blob/master/LICENSE.md). None of the responsive elements (media queries) are included at this time.
10
11 The font used in the included Fossil logo image is [Trillium Web Light](http://www.google.com/fonts/specimen/Titillium+Web) @ 48px HTML color code #456a7a.
12
13 The RSS feed icon is sourced from [Font-Awesome](https://fortawesome.github.io/Font-Awesome/icons) by Dave Gandy and is distributed under the [SIL OFL 1.1 ](http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL) license.
--- a/skins/blitz_no_logo/README.md
+++ b/skins/blitz_no_logo/README.md
@@ -1,13 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
D skins/blitz_no_logo/css.txt
-391
--- a/skins/blitz_no_logo/css.txt
+++ b/skins/blitz_no_logo/css.txt
@@ -1,391 +0,0 @@
1
-display: block;
2
-ay: none;
3
-}
4
-
5
-.filetree aborder-top: 1px solid #ccc;
6
-OuNXUIAyATv6zz3bXPEo3display: block;
7
-FaMMN4WFqbnEl8BzXtlBX++ATr2KW3eC9kbg/9d2l6/qmdxrq9bdRkBwMtrgd+lpkpxwyWSwAkvRKSfl0phf4l+6acGVeak6QQbCJYH/Gwci+zPi/+oMFEJpLdTDfQ8IpTTl8r/lkQuniX3oR98mjX65sJQZ0wYNu1NU0wZ8RjSUf0Qo22aCU1oAoCazTFe5bdZ1pVIqcv2B12XSm6awxCFNaichCr1I1auDOQFvKxzQHFD4mexGXNfds/PoYB+iMhxzwIC8vcJe7HKVIrBEoLRQkuVL+Ii70lDlMUOR/uHrJdNaAwXo82orksR8gfVUAGFkgy5JfhKdEKncelwhq8SinwMeidX+303VHuvOgCGSRRF2o6vb6FyKmQTGRNTraQt1qJ6EaAPA4V22MYH20wXx+aCyfKFvFAcymiYfCh/YhSQZACFHpBB/l6On2l0s/AgTBWdIHHbpIulzfWDbvAW4r3gPUIwWdisplay: block;
8
-u li a {
9
- color: #3b5c6b;
10
- padding: 10px 15px;
11
-}
12
-
13
-.mainmenu li.active a {
14
- font-weight: bold;
15
-}
16
-
17
-.mainmenu li:hover {
18
- background-color: #eee;
19
-}
20
-
21
-
22
-/* Submenu
23
- * Displayed in the middle div. Contains page-specific form controls.
24
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
25
-.submenu {
26
- padding: 10px 0px;
27
- border-bottom: 1px solid #ddd;
28
-}
29
-
30
-.submenu input, .submenu select {
31
- margin: 0 0 0 5px;
32
-}
33
-
34
-.submenu a, .submenu label {
35
- display: inline;
36
- font-weight: normal;
37
- color: #3b5c6b;
38
- padding: 5px 15px;
39
- text-decoration: none;
40
- border: 1px solid transparent;
41
- border-radius: 5px;
42
-}
43
-
44
-.submenu a:hover, .submenu label:hover {
45
- border: 1px solid #ccc;
46
-}
47
-
48
-
49
-/* Section
50
- * Cap/header to distinguish a section. Displayed within a content div.
51
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
52
-.section {
53
- font-weight: bold;
54
- background-color: #f5f5f5;
55
- border: 1px solid #ccc;
56
- padding: 9px 10px 10px;
57
- margin: 10px 0;
58
-}
59
-
60
-
61
-/* Section Menu
62
- * Div of buttons/links, displayed with a section div within a content div.
63
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
64
-.sectionmenu {
65
- border: 1px solid #ccc;
66
- border-top: 0;
67
- margin-top: -10px;
68
- margin-bottom: 10px;
69
- padding: 5px;
70
- text-align: center;
71
-}
72
-.sectionmenu a {
73
- display: inline-block;
74
- margin-top: 5px;
75
- margin-right: 1em;
76
-}
77
-
78
-
79
-/* File browser
80
- * Repository tree navigation.
81
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
82
-ul.browser {
83
- list-style: none;
84
-}
85
-
86
-ul.browser li.dir {
87
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAVQBVAFV4xrLkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wMLExABnLjGZQAAAEFJREFUOMtjYKAQMIaGhv4npGj16tWMuORYGBgYGOZW+eDUnNy2Ba/hLMQ4E58rCRpAyHVMlAbiqAGjBhCdmWgKAHp4Dh0ZusP3AAAAAElFTkSuQmCC);
88
- background-repeat: no-repeat;
89
- background-position: 0px center;
90
- padding-left: 22px;
91
- padding-top: 2px;
92
-}
93
-
94
-ul.browser li.file {
95
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAVQBVAFV4xrLkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wMLExMaPfBcSgAAAFNJREFUOMvtkzEOwDAIA02VL5pHwiOTJZFQmkqFOTex+CwPCCYkAaDjB+4u65ZdYGafQVV9SR4kWQUke0mwS1o2HGcAQKs0R1lpQuQKruD4jVnBAG/cGRqf0U66AAAAAElFTkSuQmCC);
96
- background-repeat: no-repeat;
97
- background-position: 0px center;
98
- padding-left: 22px;
99
- padding-top: 2px;
100
-}
101
-
102
-div.filetreeline {
103
- display: table;
104
- width: 100%;
105
- white-space: nowrap;
106
-}
107
-
108
-/* tree-view top-level list */
109
-.filetree > ul {
110
- display: inline-block;
111
-}
112
-
113
-/* tree-view lists */
114
-.filetree ul {
115
- margin: 0;
116
- padding: 0;
117
- list-style: none;
118
-}
119
-/* tree-view collapsed list */
120
-.filetree ul.collapsed {
121
- display: none;
122
-}
123
-/* tree-view lists below the root */
124
-.filetree ul ul {
125
- position: relative;
126
- margin: 0 0 0 21px;
127
-}
128
-/* tree-view lists items */
129
-.filetree li {
130
- position: relative;
131
- margin: 0;
132
- padding: 0;
133
-}
134
-/* tree-view node lines */
135
-.filetree li li:before {
136
- content: '';
137
- position: absolute;
138
- top: -.8em;
139
- left: -14px;
140
- width: 16px;
141
- height: 1.5em;
142
- border-left: 1px solid #ccc;
143
- border-bottom: 1px solid #ccc;
144
-}
145
-/* tree-view directory lines */
146
-.filetree li > ul:before {
147
- content: '';
148
- position: absolute;
149
- top: -1.5em;
150
- bottom: 0;
151
- left: -35px;
152
- border-left: 1px solid #ccc;
153
-}
154
-/* hide lines for last-child directories */
155
-.filetree li.last > ul:before {
156
- display: none;
157
-}
158
-
159
-.filetree a {
160
- position: relative;
161
- z-index: 1;
162
- display: table-cell;
163
- min-height: 16px;
164
- padding-left: 22px;
165
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAVQBVAFV4xrLkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wMLExMaPfBcSgAAAFNJREFUOMvtkzEOwDAIA02VL5pHwiOTJZFQmkqFOTex+CwPCCYkAaDjB+4u65ZdYGafQVV9SR4kWQUke0mwS1o2HGcAQKs0R1lpQuQKruD4jVnBAG/cGRqf0U66AAAAAElFTkSuQmCC);
166
- background-position: center left;
167
- background-repeat: no-repeat;
168
-}
169
-
170
-.filetree .dir > div.filetreeline > a {
171
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAVQBVAFV4xrLkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wMLExABnLjGZQAAAEFJREFUOMtjYKAQMIaGhv4npGj16tWMuORYGBgYGOZW+eDUnNy2Ba/hLMQ4E58rCRpAyHVMlAbiqAGjBhCdmWgKAHp4Dh0ZusP3AAAAAElFTkSuQmCC);
172
-}
173
-
174
-
175
-/* Label-Value table
176
- * Displayed on the Check-in & Admin pages.
177
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
178
-table.label-value th {
179
- vertical-align: middle;
180
-}
181
-
182
-
183
-/* Branches table
184
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
185
-.brlist table td {
186
- padding: 5px;
187
-}
188
-
189
-
190
-/* Timeline
191
- * Displays chronologically-ordered check-ins with a branch graph.
192
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
193
-tr.timelineCurrent {
194
- border-left: 2px solid orange;
195
- background-color: #ffc;
196
- border-bottom: 1px solid #ddd;
197
- border-right: 1px solid #ddd;
198
-}
199
-
200
-tr.timelineSelected {
201
- border-left: 2px solid orange;
202
- background-color: #ffffe8;
203
- border-bottom: 1px solid #ddd;
204
- border-right: 1px solid #ddd;
205
-}
206
-
207
-tr.timelineCurrent td.timelineTableCell {
208
-}
209
-
210
-tr.timelineBottom td {
211
- border-bottom: 0;
212
-}
213
-
214
-div.timelineDate {
215
- font-weight: bold;
216
- white-space: nowrap;
217
-}
218
-
219
-td.timelineTime {
220
- vertical-align: top;
221
- text-align: right;
222
- white-space: nowrap;
223
- border-bottom: 0;
224
-}
225
-
226
-td.timelineGraph {
227
- width: 20px;
228
- text-align: left;
229
- vertical-align: top;
230
- border-bottom: 0;
231
-}
232
-
233
-a.timelineHistLink {
234
- text-transform: lowercase;
235
-}
236
-
237
-span.timelineComment {
238
- padding: 0px 5px;
239
-}
240
-
241
-
242
-/* Login/Loguot
243
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
244
-table.login_out {
245
-}
246
-
247
-table.login_out .login_out_label {
248
- font-weight: 700;
249
- text-align: right;
250
-}
251
-
252
-table.login_out td {
253
- border: 0;
254
-}
255
-
256
-
257
-/* Diff displays
258
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
259
-pre.udiff, table.sbsdiffcols {
260
- width: 100%;
261
- overflow: auto;
262
- border: 1px solid #ccc;
263
- padding: 0px 5px;
264
- font-size: 1rem;
265
-}
266
-
267
-pre.udiff:focus, table.sbsdiffcols:focus {
268
- outline: none;
269
-}
270
-
271
-
272
-/* Ticket Reports
273
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
274
-table.report {
275
- width: 100%;
276
- cursor: auto;
277
- border-radius: 4px;
278
- border: 1px solid #ccc;
279
- margin: 0 0 1em 0;
280
-}
281
-
282
-.report td, .report th {
283
- border: 0;
284
- font-size: .9em;
285
- padding: 5px;
286
-}
287
-
288
-.report th {
289
- cursor: pointer;
290
-}
291
-
292
-.report thead+tbody tr:hover {
293
- background-color: #f5f9fc !important;
294
-}
295
-
296
-
297
-/* Ticket page
298
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
299
-table.tktDsp {
300
- border-top: 1px solid #ccc;
301
- border-left: 1px solid #ccc;
302
- width: 100%;
303
- margin: 15px 0px 10px 0px;
304
-}
305
-
306
-td.tktDspLabel, td.tktDescLabel {
307
- width: 70px;
308
- text-align: right;
309
- overflow: hidden;
310
- font-weight: 700;
311
- padding: 10px;
312
- background-color: #f8f8f8;
313
-}
314
-
315
-td.tktDescLabel {
316
- vertical-align: top;
317
-}
318
-
319
-td.tktDspValue, td.tktDescValue {
320
- text-align: left;
321
- vertical-align: top;
322
- border: 1px solid #ccc;
323
- padding: 10px;
324
-}
325
-
326
-td.tktDspValue pre, td.tktDescValue pre,
327
-td.tktDspValue code, td.tktDescValue code {
328
- white-space: pre-wrap;
329
-}
330
-
331
-div.tktComments {
332
- width: 100%;
333
- margin: 30px 0px 10px 0px;
334
-}
335
-
336
-div.tktComment {
337
-}
338
-
339
-div.tktCommentHeader {
340
- border: 1px solid #ccc;
341
- background-color: #f8f8f8;
342
- padding: 10px 10px;
343
- margin-bottom: 10px;
344
-}
345
-
346
-span.tktCommentLogin {
347
- display: inline-block;
348
- font-weight: 700;
349
- color: #002060;
350
-}
351
-
352
-div.tktCommentBody {
353
- margin: 10px 40px 30px;
354
-}
355
-
356
-
357
-/* User setup table
358
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
359
-td.usetupEditLabel {
360
- font-weight: 700;
361
-}
362
-
363
-
364
-/* Utilities
365
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
366
-.full-width {
367
- width: 100%;
368
- box-sizing: border-box;
369
-}
370
-
371
-.max-full-width {
372
- max-width: 100%;
373
- box-sizing: border-box;
374
-}
375
-
376
-.pull-right {
377
- float: right;
378
-}
379
-
380
-.pull-left {
381
- float: left;
382
-}
383
-
384
-/* Clearing
385
-––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
386
-.container:after,
387
-.mainmenu:after,
388
-.row:after,
389
-.u-cf {
390
- content: "";
391
- displa
--- a/skins/blitz_no_logo/css.txt
+++ b/skins/blitz_no_logo/css.txt
@@ -1,391 +0,0 @@
1 display: block;
2 ay: none;
3 }
4
5 .filetree aborder-top: 1px solid #ccc;
6 OuNXUIAyATv6zz3bXPEo3display: block;
7 FaMMN4WFqbnEl8BzXtlBX++ATr2KW3eC9kbg/9d2l6/qmdxrq9bdRkBwMtrgd+lpkpxwyWSwAkvRKSfl0phf4l+6acGVeak6QQbCJYH/Gwci+zPi/+oMFEJpLdTDfQ8IpTTl8r/lkQuniX3oR98mjX65sJQZ0wYNu1NU0wZ8RjSUf0Qo22aCU1oAoCazTFe5bdZ1pVIqcv2B12XSm6awxCFNaichCr1I1auDOQFvKxzQHFD4mexGXNfds/PoYB+iMhxzwIC8vcJe7HKVIrBEoLRQkuVL+Ii70lDlMUOR/uHrJdNaAwXo82orksR8gfVUAGFkgy5JfhKdEKncelwhq8SinwMeidX+303VHuvOgCGSRRF2o6vb6FyKmQTGRNTraQt1qJ6EaAPA4V22MYH20wXx+aCyfKFvFAcymiYfCh/YhSQZACFHpBB/l6On2l0s/AgTBWdIHHbpIulzfWDbvAW4r3gPUIwWdisplay: block;
8 u li a {
9 color: #3b5c6b;
10 padding: 10px 15px;
11 }
12
13 .mainmenu li.active a {
14 font-weight: bold;
15 }
16
17 .mainmenu li:hover {
18 background-color: #eee;
19 }
20
21
22 /* Submenu
23 * Displayed in the middle div. Contains page-specific form controls.
24 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
25 .submenu {
26 padding: 10px 0px;
27 border-bottom: 1px solid #ddd;
28 }
29
30 .submenu input, .submenu select {
31 margin: 0 0 0 5px;
32 }
33
34 .submenu a, .submenu label {
35 display: inline;
36 font-weight: normal;
37 color: #3b5c6b;
38 padding: 5px 15px;
39 text-decoration: none;
40 border: 1px solid transparent;
41 border-radius: 5px;
42 }
43
44 .submenu a:hover, .submenu label:hover {
45 border: 1px solid #ccc;
46 }
47
48
49 /* Section
50 * Cap/header to distinguish a section. Displayed within a content div.
51 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
52 .section {
53 font-weight: bold;
54 background-color: #f5f5f5;
55 border: 1px solid #ccc;
56 padding: 9px 10px 10px;
57 margin: 10px 0;
58 }
59
60
61 /* Section Menu
62 * Div of buttons/links, displayed with a section div within a content div.
63 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
64 .sectionmenu {
65 border: 1px solid #ccc;
66 border-top: 0;
67 margin-top: -10px;
68 margin-bottom: 10px;
69 padding: 5px;
70 text-align: center;
71 }
72 .sectionmenu a {
73 display: inline-block;
74 margin-top: 5px;
75 margin-right: 1em;
76 }
77
78
79 /* File browser
80 * Repository tree navigation.
81 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
82 ul.browser {
83 list-style: none;
84 }
85
86 ul.browser li.dir {
87 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAVQBVAFV4xrLkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wMLExABnLjGZQAAAEFJREFUOMtjYKAQMIaGhv4npGj16tWMuORYGBgYGOZW+eDUnNy2Ba/hLMQ4E58rCRpAyHVMlAbiqAGjBhCdmWgKAHp4Dh0ZusP3AAAAAElFTkSuQmCC);
88 background-repeat: no-repeat;
89 background-position: 0px center;
90 padding-left: 22px;
91 padding-top: 2px;
92 }
93
94 ul.browser li.file {
95 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAVQBVAFV4xrLkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wMLExMaPfBcSgAAAFNJREFUOMvtkzEOwDAIA02VL5pHwiOTJZFQmkqFOTex+CwPCCYkAaDjB+4u65ZdYGafQVV9SR4kWQUke0mwS1o2HGcAQKs0R1lpQuQKruD4jVnBAG/cGRqf0U66AAAAAElFTkSuQmCC);
96 background-repeat: no-repeat;
97 background-position: 0px center;
98 padding-left: 22px;
99 padding-top: 2px;
100 }
101
102 div.filetreeline {
103 display: table;
104 width: 100%;
105 white-space: nowrap;
106 }
107
108 /* tree-view top-level list */
109 .filetree > ul {
110 display: inline-block;
111 }
112
113 /* tree-view lists */
114 .filetree ul {
115 margin: 0;
116 padding: 0;
117 list-style: none;
118 }
119 /* tree-view collapsed list */
120 .filetree ul.collapsed {
121 display: none;
122 }
123 /* tree-view lists below the root */
124 .filetree ul ul {
125 position: relative;
126 margin: 0 0 0 21px;
127 }
128 /* tree-view lists items */
129 .filetree li {
130 position: relative;
131 margin: 0;
132 padding: 0;
133 }
134 /* tree-view node lines */
135 .filetree li li:before {
136 content: '';
137 position: absolute;
138 top: -.8em;
139 left: -14px;
140 width: 16px;
141 height: 1.5em;
142 border-left: 1px solid #ccc;
143 border-bottom: 1px solid #ccc;
144 }
145 /* tree-view directory lines */
146 .filetree li > ul:before {
147 content: '';
148 position: absolute;
149 top: -1.5em;
150 bottom: 0;
151 left: -35px;
152 border-left: 1px solid #ccc;
153 }
154 /* hide lines for last-child directories */
155 .filetree li.last > ul:before {
156 display: none;
157 }
158
159 .filetree a {
160 position: relative;
161 z-index: 1;
162 display: table-cell;
163 min-height: 16px;
164 padding-left: 22px;
165 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAVQBVAFV4xrLkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wMLExMaPfBcSgAAAFNJREFUOMvtkzEOwDAIA02VL5pHwiOTJZFQmkqFOTex+CwPCCYkAaDjB+4u65ZdYGafQVV9SR4kWQUke0mwS1o2HGcAQKs0R1lpQuQKruD4jVnBAG/cGRqf0U66AAAAAElFTkSuQmCC);
166 background-position: center left;
167 background-repeat: no-repeat;
168 }
169
170 .filetree .dir > div.filetreeline > a {
171 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAVQBVAFV4xrLkAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wMLExABnLjGZQAAAEFJREFUOMtjYKAQMIaGhv4npGj16tWMuORYGBgYGOZW+eDUnNy2Ba/hLMQ4E58rCRpAyHVMlAbiqAGjBhCdmWgKAHp4Dh0ZusP3AAAAAElFTkSuQmCC);
172 }
173
174
175 /* Label-Value table
176 * Displayed on the Check-in & Admin pages.
177 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
178 table.label-value th {
179 vertical-align: middle;
180 }
181
182
183 /* Branches table
184 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
185 .brlist table td {
186 padding: 5px;
187 }
188
189
190 /* Timeline
191 * Displays chronologically-ordered check-ins with a branch graph.
192 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
193 tr.timelineCurrent {
194 border-left: 2px solid orange;
195 background-color: #ffc;
196 border-bottom: 1px solid #ddd;
197 border-right: 1px solid #ddd;
198 }
199
200 tr.timelineSelected {
201 border-left: 2px solid orange;
202 background-color: #ffffe8;
203 border-bottom: 1px solid #ddd;
204 border-right: 1px solid #ddd;
205 }
206
207 tr.timelineCurrent td.timelineTableCell {
208 }
209
210 tr.timelineBottom td {
211 border-bottom: 0;
212 }
213
214 div.timelineDate {
215 font-weight: bold;
216 white-space: nowrap;
217 }
218
219 td.timelineTime {
220 vertical-align: top;
221 text-align: right;
222 white-space: nowrap;
223 border-bottom: 0;
224 }
225
226 td.timelineGraph {
227 width: 20px;
228 text-align: left;
229 vertical-align: top;
230 border-bottom: 0;
231 }
232
233 a.timelineHistLink {
234 text-transform: lowercase;
235 }
236
237 span.timelineComment {
238 padding: 0px 5px;
239 }
240
241
242 /* Login/Loguot
243 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
244 table.login_out {
245 }
246
247 table.login_out .login_out_label {
248 font-weight: 700;
249 text-align: right;
250 }
251
252 table.login_out td {
253 border: 0;
254 }
255
256
257 /* Diff displays
258 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
259 pre.udiff, table.sbsdiffcols {
260 width: 100%;
261 overflow: auto;
262 border: 1px solid #ccc;
263 padding: 0px 5px;
264 font-size: 1rem;
265 }
266
267 pre.udiff:focus, table.sbsdiffcols:focus {
268 outline: none;
269 }
270
271
272 /* Ticket Reports
273 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
274 table.report {
275 width: 100%;
276 cursor: auto;
277 border-radius: 4px;
278 border: 1px solid #ccc;
279 margin: 0 0 1em 0;
280 }
281
282 .report td, .report th {
283 border: 0;
284 font-size: .9em;
285 padding: 5px;
286 }
287
288 .report th {
289 cursor: pointer;
290 }
291
292 .report thead+tbody tr:hover {
293 background-color: #f5f9fc !important;
294 }
295
296
297 /* Ticket page
298 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
299 table.tktDsp {
300 border-top: 1px solid #ccc;
301 border-left: 1px solid #ccc;
302 width: 100%;
303 margin: 15px 0px 10px 0px;
304 }
305
306 td.tktDspLabel, td.tktDescLabel {
307 width: 70px;
308 text-align: right;
309 overflow: hidden;
310 font-weight: 700;
311 padding: 10px;
312 background-color: #f8f8f8;
313 }
314
315 td.tktDescLabel {
316 vertical-align: top;
317 }
318
319 td.tktDspValue, td.tktDescValue {
320 text-align: left;
321 vertical-align: top;
322 border: 1px solid #ccc;
323 padding: 10px;
324 }
325
326 td.tktDspValue pre, td.tktDescValue pre,
327 td.tktDspValue code, td.tktDescValue code {
328 white-space: pre-wrap;
329 }
330
331 div.tktComments {
332 width: 100%;
333 margin: 30px 0px 10px 0px;
334 }
335
336 div.tktComment {
337 }
338
339 div.tktCommentHeader {
340 border: 1px solid #ccc;
341 background-color: #f8f8f8;
342 padding: 10px 10px;
343 margin-bottom: 10px;
344 }
345
346 span.tktCommentLogin {
347 display: inline-block;
348 font-weight: 700;
349 color: #002060;
350 }
351
352 div.tktCommentBody {
353 margin: 10px 40px 30px;
354 }
355
356
357 /* User setup table
358 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
359 td.usetupEditLabel {
360 font-weight: 700;
361 }
362
363
364 /* Utilities
365 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
366 .full-width {
367 width: 100%;
368 box-sizing: border-box;
369 }
370
371 .max-full-width {
372 max-width: 100%;
373 box-sizing: border-box;
374 }
375
376 .pull-right {
377 float: right;
378 }
379
380 .pull-left {
381 float: left;
382 }
383
384 /* Clearing
385 ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
386 .container:after,
387 .mainmenu:after,
388 .row:after,
389 .u-cf {
390 content: "";
391 displa
--- a/skins/blitz_no_logo/css.txt
+++ b/skins/blitz_no_logo/css.txt
@@ -1,391 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D skins/blitz_no_logo/details.txt
-3
--- a/skins/blitz_no_logo/details.txt
+++ b/skins/blitz_no_logo/details.txt
@@ -1,3 +0,0 @@
1
-timeline-arrowheads: 0
2
-tim 1
3
-x@0,1OUWFw;
--- a/skins/blitz_no_logo/details.txt
+++ b/skins/blitz_no_logo/details.txt
@@ -1,3 +0,0 @@
1 timeline-arrowheads: 0
2 tim 1
3 x@0,1OUWFw;
--- a/skins/blitz_no_logo/details.txt
+++ b/skins/blitz_no_logo/details.txt
@@ -1,3 +0,0 @@
 
 
 
D skins/blitz_no_logo/footer.txt
-8
--- a/skins/blitz_no_logo/footer.txt
+++ b/skins/blitz_no_logo/footer.txt
@@ -1,9 +0,0 @@
1
-<!-- end div er -->
2
-</container -->
--- end div er -->
3
-<class="footer">
4
- < class="footer">
5
- < <div <a href="https://fossil-scm.ef="https://fossil-scm.org/">Fossil $release_version $manifest_vers </div</div>
6
- <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}] </div>
7
- </div>
8
-</div>
--- a/skins/blitz_no_logo/footer.txt
+++ b/skins/blitz_no_logo/footer.txt
@@ -1,9 +0,0 @@
1 <!-- end div er -->
2 </container -->
--- end div er -->
3 <class="footer">
4 < class="footer">
5 < <div <a href="https://fossil-scm.ef="https://fossil-scm.org/">Fossil $release_version $manifest_vers </div</div>
6 <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}] </div>
7 </div>
8 </div>
--- a/skins/blitz_no_logo/footer.txt
+++ b/skins/blitz_no_logo/footer.txt
@@ -1,9 +0,0 @@
 
 
--- end div er -->
 
 
 
 
 
 
D skins/blitz_no_logo/header.txt
-71
--- a/skins/blitz_no_logo/header.txt
+++ b/skins/blitz_no_logo/header.txt
@@ -1,71 +0,0 @@
1
-<div class="header">
2
- <div class="container">
3
-
4
- <div class="login pull-right">
5
- <th1>
6
- if {[info exists login]} {
7
- html "<b>$login</b> — <a class='button' href='$home/login'>Logout</a>\n"
8
- } else {
9
- html "<a class='button' href='$home/login'>Login</a>\n"
10
- }
11
- </th1>
12
- </div>
13
- <div class='title'>
14
- <h1>$<project_name>
15
- <th1>
16
- if {[anycap jor]} {
17
- html "<a class='rss' href='$home/timeline.rss'></a>"
18
- }
19
- </th1>
20
- <small> &nbsp;$<title></small></h1>
21
- </div>
22
-
23
- <!-- Main Menu -->
24
- <div class="mainmenu">
25
- <ul>
26
- <th1>
27
-proc menulink {url name} {
28
- upvar current_page current
29
- upvar home home
30
- if {[string range $url 0 [string length $current]] eq "/$current"} {
31
- html "<li class='active'>"
32
- } else {
33
- html "<li>"$url'>$name</a></li>\n"
34
-}
35
-</th1></ul>
36
- </div> <!-- end dijoes
37
-}
38
-if {[hascap o]}div> <!-- end div container -->
39
- </div> <!-- end div header -->
40
- <div class="middle max-full-width">
41
- <div class="container">
42
-menulink $index_page Home
43
-if {[anycap ijr2]} {
44
- menulink /timeline Timeline
45
-}
46
-if {[hascap oh]} {
47
- menulink /dir?cihascap es
48
-}
49
-if {[hascap o]} {
50
- menulink /brlist Branches
51
- menulink /taglist Tags
52
-}
53
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
54
- menulink /forum Forum
55
-}
56
-if {[anycap nr]} {
57
- menulink /ticket Tickets
58
-}
59
-if {[hascap j]} {
60
- menulink /wiki Wiki
61
-}
62
-if {[hascap o]} {
63
- menulink /help Help
64
- }
65
-if {[hascap s]} {
66
- menulink /setup Admin
67
-} elseif {[hascap a]} {
68
- menulink /setup_ulist Users
69
-}
70
- </th1>
71
-
--- a/skins/blitz_no_logo/header.txt
+++ b/skins/blitz_no_logo/header.txt
@@ -1,71 +0,0 @@
1 <div class="header">
2 <div class="container">
3
4 <div class="login pull-right">
5 <th1>
6 if {[info exists login]} {
7 html "<b>$login</b> — <a class='button' href='$home/login'>Logout</a>\n"
8 } else {
9 html "<a class='button' href='$home/login'>Login</a>\n"
10 }
11 </th1>
12 </div>
13 <div class='title'>
14 <h1>$<project_name>
15 <th1>
16 if {[anycap jor]} {
17 html "<a class='rss' href='$home/timeline.rss'></a>"
18 }
19 </th1>
20 <small> &nbsp;$<title></small></h1>
21 </div>
22
23 <!-- Main Menu -->
24 <div class="mainmenu">
25 <ul>
26 <th1>
27 proc menulink {url name} {
28 upvar current_page current
29 upvar home home
30 if {[string range $url 0 [string length $current]] eq "/$current"} {
31 html "<li class='active'>"
32 } else {
33 html "<li>"$url'>$name</a></li>\n"
34 }
35 </th1></ul>
36 </div> <!-- end dijoes
37 }
38 if {[hascap o]}div> <!-- end div container -->
39 </div> <!-- end div header -->
40 <div class="middle max-full-width">
41 <div class="container">
42 menulink $index_page Home
43 if {[anycap ijr2]} {
44 menulink /timeline Timeline
45 }
46 if {[hascap oh]} {
47 menulink /dir?cihascap es
48 }
49 if {[hascap o]} {
50 menulink /brlist Branches
51 menulink /taglist Tags
52 }
53 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
54 menulink /forum Forum
55 }
56 if {[anycap nr]} {
57 menulink /ticket Tickets
58 }
59 if {[hascap j]} {
60 menulink /wiki Wiki
61 }
62 if {[hascap o]} {
63 menulink /help Help
64 }
65 if {[hascap s]} {
66 menulink /setup Admin
67 } elseif {[hascap a]} {
68 menulink /setup_ulist Users
69 }
70 </th1>
71
--- a/skins/blitz_no_logo/header.txt
+++ b/skins/blitz_no_logo/header.txt
@@ -1,71 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D skins/blitz_no_logo/ticket.txt
-115
--- a/skins/blitz_no_logo/ticket.txt
+++ b/skins/blitz_no_logo/ticket.txt
@@ -1,115 +0,0 @@
1
-<h4>$<title></h4>
2
-<table class="tktDsp">
3
-<tr><td class="tktDspLabel">Ticket&nbsp;Hash</td>
4
-<th1>
5
-if {[info exists tkt_uuid]} {
6
- if {[hascap s]} {
7
- html "<td class='tktDspValue' colspan='3'>$tkt_uuid "
8
- html "($tkt_id)</td></tr>\n"
9
- } else {
10
- html "<td class='tktDspValue' colspan='3'>$tkt_uuid</td></tr>\n"
11
- }
12
-} else {
13
- if {[hascap s]} {
14
- html "<td class='tktDspValue' colspan='3'>Deleted "
15
- html "(0)</td></tr>\n"
16
- } else {
17
- html "<td class='tktDspValue' colspan='3'>Deleted</td></tr>\n"
18
- }
19
-}
20
-</th1>
21
-<tr><td class="tktDspLabel">Status</td><td class="tktDspValue">
22
-$<status>
23
-</td>
24
-<td class="tktDspLabel">Type</td><td class="tktDspValue">
25
-$<type>
26
-</td></tr>
27
-<tr><td class="tktDspLabel">Severity</td><td class="tktDspValue">
28
-$<severity>
29
-</td>
30
-<td class="tktDspLabel">Priority</td><td class="tktDspValue">
31
-$<priority>
32
-</td></tr>
33
-<tr><td class="tktDspLabel">Subsystem</td><td class="tktDspValue">
34
-$<subsystem>
35
-</td>
36
-<td class="tktDspLabel">Resolution</td><td class="tktDspValue">
37
-$<resolution>
38
-</td></tr>
39
-<tr><td class="tktDspLabel">Last&nbsp;Modified</td><td class="tktDspValue">
40
-<th1>
41
-if {[info exists tkt_datetime]} {
42
- html $tkt_datetime
43
-}
44
-</th1>
45
-</td>
46
-<th1>enable_output [hascap e]</th1>
47
- <td class="tktDspLabel">Contact</td><td class="tktDspValue">
48
- $<private_contact>
49
- </td>
50
-<th1>enable_output 1</th1>
51
-</tr>
52
-<tr><td class="tktDspLabel">Version&nbsp;Found&nbsp;In</td>
53
-<td colspan="3" valign="top" class="tktDspValue">
54
-$<foundin>
55
-</td></tr>
56
-
57
-<th1>
58
-if {[info exists comment]} {
59
- if {[string length $comment]>10} {
60
- html {
61
- <tr>
62
- <td class="tktDescLabel">Description</td>
63
- <td class="tktDescValue" colspan="3">
64
- }
65
- if {[info exists plaintext]} {
66
- set r [randhex]
67
- wiki "<verbatim-$r links>\n$comment\n</verbatim-$r>"
68
- } else {
69
- wiki $comment
70
- }
71
- html "</td></tr>\n"
72
- }
73
-}
74
-</th1>
75
-</table>
76
-
77
-<div class="tktComments">
78
-<th1>
79
-set seenRow 0
80
-set alwaysPlaintext [info exists plaintext]
81
-query {SELECT datetime(tkt_mtime) AS xdate, login AS xlogin,
82
- mimetype as xmimetype, icomment AS xcomment,
83
- username AS xusername
84
- FROM ticketchng
85
- WHERE tkt_id=$tkt_id AND length(icomment)>0} {
86
- if {$seenRow eq "0"} {
87
- html "<h5>User Comments</h5>\n"
88
- set seenRow 1
89
- }
90
- html "<div class='tktComment'>\n"
91
- html "<div class='tktCommentHeader'>\n"
92
- html "<div class='pull-right'>$xdate</div>\n"
93
- html "<span class='tktCommentLogin'>[htmlize $xlogin]</span>"
94
- if {$xlogin ne $xusername && [string length $xusername]>0} {
95
- html " (claiming to be <span class='tktCommentLogin'>[htmlize $xusername]</span>)"
96
- }
97
- html " commented</div>\n"
98
- html "<div class='tktCommentBody'>\n"
99
- if {$alwaysPlaintext || $xmimetype eq "text/plain"} {
100
- set r [randhex]
101
- if {$xmimetype ne "text/plain"} {html "([htmlize $xmimetype])\n"}
102
- wiki "<verbatim-$r>[string trimright $xcomment]</verbatim-$r>\n"
103
- } elseif {$xmimetype eq "text/x-fossil-wiki"} {
104
- wiki "<p>\n[string trimright $xcomment]\n</p>\n"
105
- } elseif {$xmimetype eq "text/html"} {
106
- wiki "<p><nowiki>\n[string trimright $xcomment]\n</nowiki></p>\n"
107
- } else {
108
- set r [randhex]
109
- wiki "<verbatim-$r links>[string trimright $xcomment]</verbatim-$r>\n"
110
- }
111
- html "</div><!-- end comment body -->\n"
112
- html "</div><!-- end comment -->\n"
113
-}
114
-</th1>
115
-</div>
--- a/skins/blitz_no_logo/ticket.txt
+++ b/skins/blitz_no_logo/ticket.txt
@@ -1,115 +0,0 @@
1 <h4>$<title></h4>
2 <table class="tktDsp">
3 <tr><td class="tktDspLabel">Ticket&nbsp;Hash</td>
4 <th1>
5 if {[info exists tkt_uuid]} {
6 if {[hascap s]} {
7 html "<td class='tktDspValue' colspan='3'>$tkt_uuid "
8 html "($tkt_id)</td></tr>\n"
9 } else {
10 html "<td class='tktDspValue' colspan='3'>$tkt_uuid</td></tr>\n"
11 }
12 } else {
13 if {[hascap s]} {
14 html "<td class='tktDspValue' colspan='3'>Deleted "
15 html "(0)</td></tr>\n"
16 } else {
17 html "<td class='tktDspValue' colspan='3'>Deleted</td></tr>\n"
18 }
19 }
20 </th1>
21 <tr><td class="tktDspLabel">Status</td><td class="tktDspValue">
22 $<status>
23 </td>
24 <td class="tktDspLabel">Type</td><td class="tktDspValue">
25 $<type>
26 </td></tr>
27 <tr><td class="tktDspLabel">Severity</td><td class="tktDspValue">
28 $<severity>
29 </td>
30 <td class="tktDspLabel">Priority</td><td class="tktDspValue">
31 $<priority>
32 </td></tr>
33 <tr><td class="tktDspLabel">Subsystem</td><td class="tktDspValue">
34 $<subsystem>
35 </td>
36 <td class="tktDspLabel">Resolution</td><td class="tktDspValue">
37 $<resolution>
38 </td></tr>
39 <tr><td class="tktDspLabel">Last&nbsp;Modified</td><td class="tktDspValue">
40 <th1>
41 if {[info exists tkt_datetime]} {
42 html $tkt_datetime
43 }
44 </th1>
45 </td>
46 <th1>enable_output [hascap e]</th1>
47 <td class="tktDspLabel">Contact</td><td class="tktDspValue">
48 $<private_contact>
49 </td>
50 <th1>enable_output 1</th1>
51 </tr>
52 <tr><td class="tktDspLabel">Version&nbsp;Found&nbsp;In</td>
53 <td colspan="3" valign="top" class="tktDspValue">
54 $<foundin>
55 </td></tr>
56
57 <th1>
58 if {[info exists comment]} {
59 if {[string length $comment]>10} {
60 html {
61 <tr>
62 <td class="tktDescLabel">Description</td>
63 <td class="tktDescValue" colspan="3">
64 }
65 if {[info exists plaintext]} {
66 set r [randhex]
67 wiki "<verbatim-$r links>\n$comment\n</verbatim-$r>"
68 } else {
69 wiki $comment
70 }
71 html "</td></tr>\n"
72 }
73 }
74 </th1>
75 </table>
76
77 <div class="tktComments">
78 <th1>
79 set seenRow 0
80 set alwaysPlaintext [info exists plaintext]
81 query {SELECT datetime(tkt_mtime) AS xdate, login AS xlogin,
82 mimetype as xmimetype, icomment AS xcomment,
83 username AS xusername
84 FROM ticketchng
85 WHERE tkt_id=$tkt_id AND length(icomment)>0} {
86 if {$seenRow eq "0"} {
87 html "<h5>User Comments</h5>\n"
88 set seenRow 1
89 }
90 html "<div class='tktComment'>\n"
91 html "<div class='tktCommentHeader'>\n"
92 html "<div class='pull-right'>$xdate</div>\n"
93 html "<span class='tktCommentLogin'>[htmlize $xlogin]</span>"
94 if {$xlogin ne $xusername && [string length $xusername]>0} {
95 html " (claiming to be <span class='tktCommentLogin'>[htmlize $xusername]</span>)"
96 }
97 html " commented</div>\n"
98 html "<div class='tktCommentBody'>\n"
99 if {$alwaysPlaintext || $xmimetype eq "text/plain"} {
100 set r [randhex]
101 if {$xmimetype ne "text/plain"} {html "([htmlize $xmimetype])\n"}
102 wiki "<verbatim-$r>[string trimright $xcomment]</verbatim-$r>\n"
103 } elseif {$xmimetype eq "text/x-fossil-wiki"} {
104 wiki "<p>\n[string trimright $xcomment]\n</p>\n"
105 } elseif {$xmimetype eq "text/html"} {
106 wiki "<p><nowiki>\n[string trimright $xcomment]\n</nowiki></p>\n"
107 } else {
108 set r [randhex]
109 wiki "<verbatim-$r links>[string trimright $xcomment]</verbatim-$r>\n"
110 }
111 html "</div><!-- end comment body -->\n"
112 html "</div><!-- end comment -->\n"
113 }
114 </th1>
115 </div>
--- a/skins/blitz_no_logo/ticket.txt
+++ b/skins/blitz_no_logo/ticket.txt
@@ -1,115 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- skins/bootstrap/header.txt
+++ skins/bootstrap/header.txt
@@ -14,11 +14,11 @@
1414
if(!e) throw new Error("Expecting element with ID "+x);
1515
else return e;
1616
}
1717
</script>
1818
</head>
19
- <body data-spy="scroll" data-target=".sidebar">
19
+ <body data-spy="scroll" data-target=".sidebar" class="$current_feature">
2020
<div id="wrap">
2121
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
2222
<div class="container">
2323
<div class="navbar-header">
2424
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
@@ -39,79 +39,29 @@
3939
html " &middot; <a href='$home/login'>Login</a>"
4040
}
4141
</th1></p>
4242
<ul class="nav navbar-nav">
4343
<th1>
44
- set is_index [expr [string compare [string range $current_page 0 4] "index"]==0]
45
- set is_home [expr [string compare [string range $current_page 0 [expr [string length $index_page]-1] ] $index_page]==0]
46
- if {$is_index || $is_home} {
47
- html "<li class='active'><a href='$home$index_page'>Home</a></li>\n"
48
- } else {
49
- html "<li><a href='$home$index_page'>Home</a></li>\n"
50
- }
51
- if {[hascap j]} {
52
- if {[string compare [string range $current_page 0 3] "wiki"] == 0} {
53
- html "<li class='active'><a href='$home/wiki'>Wiki</a></li>\n"
54
- } else {
55
- html "<li><a href='$home/wiki'>Wiki</a></li>\n"
56
- }
57
- }
58
- if {[anycap jor]} {
59
- if {[string compare $current_page "timeline"] == 0} {
60
- html "<li class='active'><a href='$home/timeline'>Timeline</a></li>\n"
61
- } else {
62
- html "<li><a href='$home/timeline'>Timeline</a></li>\n"
63
- }
64
- }
65
- if {[hascap oh]} {
66
- if {[string compare [string range $current_page 0 2] "dir"] == 0} {
67
- html "<li class='active'><a href='$home/dir?ci=tip'>Files</a></li>\n"
68
- } else {
69
- html "<li><a href='$home/dir?ci=tip'>Files</a></li>\n"
70
- }
71
- }
72
- if {[hascap o]} {
73
- if {[string compare $current_page "brlist"] == 0} {
74
- html "<li class='active'><a href='$home/brlist'>Branches</a></li>\n"
75
- } else {
76
- html "<li><a href='$home/brlist'>Branches</a></li>\n"
77
- }
78
- if {[string compare $current_page "taglist"] == 0} {
79
- html "<li class='active'><a href='$home/taglist'>Tags</a></li>\n"
80
- } else {
81
- html "<li><a href='$home/taglist'>Tags</a></li>\n"
82
- }
83
- }
84
- if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
85
- if {[string compare $current_page "forum"] == 0} {
86
- html "<li class='active'><a href='$home/forum'>Forum</a></li>\n"
87
- } else {
88
- html "<li><a href='$home/forum'>Forum</a></li>\n"
89
- }
90
- }
91
- if {[hascap r]} {
92
- if {[string compare $current_page "reportlist"] == 0} {
93
- html "<li class='active'><a href='$home/reportlist'>Tickets</a></li>\n"
94
- } else {
95
- html "<li><a href='$home/reportlist'>Tickets</a></li>\n"
96
- }
97
- }
98
- if {[hascap s]} {
99
- if {[string compare [string range $current_page 0 4] "setup"] == 0} {
100
- html "<li class='active'><a href='$home/setup'>Admin</a></li>\n"
101
- } else {
102
- html "<li><a href='$home/setup'>Admin</a></li>\n"
103
- }
104
- } elseif {[hascap a]} {
105
- if {[string compare [string range $current_page 0 4] "setup"] == 0} {
106
- html "<li class='active'><a href='$home/setup_ulist'>Users</a></li>\n"
107
- } else {
108
- html "<li><a href='$home/setup_ulist'>Users</a></li>\n"
109
- }
110
- }
111
- </th1>
112
- </ul>
44
+set once 1
45
+set sitemap 0
46
+set is_index [expr [string compare [string range $current_page 0 4] "index"]==0]
47
+set is_home [expr [string compare [string range $current_page 0 [expr [string length $index_page]-1] ] $index_page]==0]
48
+foreach {name url expr class} $mainmenu {
49
+ if {![capexpr $expr]} continue
50
+ if {$once && [string match /$current_page* $url]} {
51
+ lappend class active
52
+ set once 0
53
+ }
54
+ html "<li class='$class'>"
55
+ if {[string match /* $url]} {set url $home$url}
56
+ if {[string match *sitemap* $url]} {set sitemap 1}
57
+ html "<a href='$url'>$name</a></li>\n"
58
+}
59
+if {!$sitemap} {
60
+ html "<li><a href='$home/sitemap'>...</a>\n"
61
+}
62
+</th1></ul>
11363
</div><!--/.nav-collapse -->
11464
</div>
11565
</div>
11666
<div class="content">
11767
<th1>
11868
11969
ADDED skins/darkmode/css.txt
12070
ADDED skins/darkmode/details.txt
12171
ADDED skins/darkmode/footer.txt
12272
ADDED skins/darkmode/header.txt
--- skins/bootstrap/header.txt
+++ skins/bootstrap/header.txt
@@ -14,11 +14,11 @@
14 if(!e) throw new Error("Expecting element with ID "+x);
15 else return e;
16 }
17 </script>
18 </head>
19 <body data-spy="scroll" data-target=".sidebar">
20 <div id="wrap">
21 <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
22 <div class="container">
23 <div class="navbar-header">
24 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
@@ -39,79 +39,29 @@
39 html " &middot; <a href='$home/login'>Login</a>"
40 }
41 </th1></p>
42 <ul class="nav navbar-nav">
43 <th1>
44 set is_index [expr [string compare [string range $current_page 0 4] "index"]==0]
45 set is_home [expr [string compare [string range $current_page 0 [expr [string length $index_page]-1] ] $index_page]==0]
46 if {$is_index || $is_home} {
47 html "<li class='active'><a href='$home$index_page'>Home</a></li>\n"
48 } else {
49 html "<li><a href='$home$index_page'>Home</a></li>\n"
50 }
51 if {[hascap j]} {
52 if {[string compare [string range $current_page 0 3] "wiki"] == 0} {
53 html "<li class='active'><a href='$home/wiki'>Wiki</a></li>\n"
54 } else {
55 html "<li><a href='$home/wiki'>Wiki</a></li>\n"
56 }
57 }
58 if {[anycap jor]} {
59 if {[string compare $current_page "timeline"] == 0} {
60 html "<li class='active'><a href='$home/timeline'>Timeline</a></li>\n"
61 } else {
62 html "<li><a href='$home/timeline'>Timeline</a></li>\n"
63 }
64 }
65 if {[hascap oh]} {
66 if {[string compare [string range $current_page 0 2] "dir"] == 0} {
67 html "<li class='active'><a href='$home/dir?ci=tip'>Files</a></li>\n"
68 } else {
69 html "<li><a href='$home/dir?ci=tip'>Files</a></li>\n"
70 }
71 }
72 if {[hascap o]} {
73 if {[string compare $current_page "brlist"] == 0} {
74 html "<li class='active'><a href='$home/brlist'>Branches</a></li>\n"
75 } else {
76 html "<li><a href='$home/brlist'>Branches</a></li>\n"
77 }
78 if {[string compare $current_page "taglist"] == 0} {
79 html "<li class='active'><a href='$home/taglist'>Tags</a></li>\n"
80 } else {
81 html "<li><a href='$home/taglist'>Tags</a></li>\n"
82 }
83 }
84 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
85 if {[string compare $current_page "forum"] == 0} {
86 html "<li class='active'><a href='$home/forum'>Forum</a></li>\n"
87 } else {
88 html "<li><a href='$home/forum'>Forum</a></li>\n"
89 }
90 }
91 if {[hascap r]} {
92 if {[string compare $current_page "reportlist"] == 0} {
93 html "<li class='active'><a href='$home/reportlist'>Tickets</a></li>\n"
94 } else {
95 html "<li><a href='$home/reportlist'>Tickets</a></li>\n"
96 }
97 }
98 if {[hascap s]} {
99 if {[string compare [string range $current_page 0 4] "setup"] == 0} {
100 html "<li class='active'><a href='$home/setup'>Admin</a></li>\n"
101 } else {
102 html "<li><a href='$home/setup'>Admin</a></li>\n"
103 }
104 } elseif {[hascap a]} {
105 if {[string compare [string range $current_page 0 4] "setup"] == 0} {
106 html "<li class='active'><a href='$home/setup_ulist'>Users</a></li>\n"
107 } else {
108 html "<li><a href='$home/setup_ulist'>Users</a></li>\n"
109 }
110 }
111 </th1>
112 </ul>
113 </div><!--/.nav-collapse -->
114 </div>
115 </div>
116 <div class="content">
117 <th1>
118
119 DDED skins/darkmode/css.txt
120 DDED skins/darkmode/details.txt
121 DDED skins/darkmode/footer.txt
122 DDED skins/darkmode/header.txt
--- skins/bootstrap/header.txt
+++ skins/bootstrap/header.txt
@@ -14,11 +14,11 @@
14 if(!e) throw new Error("Expecting element with ID "+x);
15 else return e;
16 }
17 </script>
18 </head>
19 <body data-spy="scroll" data-target=".sidebar" class="$current_feature">
20 <div id="wrap">
21 <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
22 <div class="container">
23 <div class="navbar-header">
24 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
@@ -39,79 +39,29 @@
39 html " &middot; <a href='$home/login'>Login</a>"
40 }
41 </th1></p>
42 <ul class="nav navbar-nav">
43 <th1>
44 set once 1
45 set sitemap 0
46 set is_index [expr [string compare [string range $current_page 0 4] "index"]==0]
47 set is_home [expr [string compare [string range $current_page 0 [expr [string length $index_page]-1] ] $index_page]==0]
48 foreach {name url expr class} $mainmenu {
49 if {![capexpr $expr]} continue
50 if {$once && [string match /$current_page* $url]} {
51 lappend class active
52 set once 0
53 }
54 html "<li class='$class'>"
55 if {[string match /* $url]} {set url $home$url}
56 if {[string match *sitemap* $url]} {set sitemap 1}
57 html "<a href='$url'>$name</a></li>\n"
58 }
59 if {!$sitemap} {
60 html "<li><a href='$home/sitemap'>...</a>\n"
61 }
62 </th1></ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63 </div><!--/.nav-collapse -->
64 </div>
65 </div>
66 <div class="content">
67 <th1>
68
69 DDED skins/darkmode/css.txt
70 DDED skins/darkmode/details.txt
71 DDED skins/darkmode/footer.txt
72 DDED skins/darkmode/header.txt
--- a/skins/darkmode/css.txt
+++ b/skins/darkmode/css.txt
@@ -0,0 +1,146 @@
1
+/* General settings for the entire page */
2
+body {
3
+ margin: 0ex 1ex;
4
+ padding: 0;
5
+ background-color: #1f1f1f;
6
+ color: #ffffffe0;
7
+ font-family: sans-serif;
8
+}
9
+
10
+/* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
11
+body {
12
+ margin: 0ex 1ex;
13
+ padding: 0;
14
+ background-color: #1f1f1f;
15
+ color: #ffffffe0;
16
+ font-family: sans-serif;
17
+}
18
+
19
+/* The page title centered at the todididiv.didiv.42px;bbb%34pxbbbheadernanav#hbdropnav.mainmenu, nananav.mainmenu a, nanav.submenu label,
20
+footernamainfooter General settings for the entire page */
21
+body {
22
+ margin: 0ex 1ex;
23
+ padding: 0;
24
+ background-color: #1f1f1f;
25
+ color: #ffffffe0;
26
+ font-family: sans-serif;
27
+}
28
+
29
+/* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
30
+body {
31
+ margin: 0ex 1ex;
32
+ padr divdiv.maididiv.mainmenu, dididiv.mainmenu a, didiv.submenu label,
33
+divdidivdivre page */
34
+body {
35
+ margin: 0ex 1ex;
36
+ padding: 0;
37
+ background-color: #1f1f1f;
38
+ color: #ffffffe0;
39
+ font-family: sans-serif;
40
+}
41
+
42
+/* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
43
+body {
44
+ margin: 0ex 1ex;
45
+ padding: 0;
46
+ background-color: #1f1f1f;
47
+ color: #ffffffe0;
48
+ font-family: scolor: #333#888;
49
+ outline: 04pxbbbheadernanav#hbdropnav.mainmenu,div.mainmenu 0.8;23H@kk,2fIgeR;90%;
50
+ padding-right: 1emr the entire page */
51
+body {
52
+ margin: 0ex 1ex;
53
+ padding: 0;
54
+ background-color: #1f1f1f;
55
+ color: #ffffffe0;
56
+ font-family: sans-serif;
57
+}
58
+
59
+/* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
60
+body {
61
+ margin: 0ex 1ex;
62
+ padding: 0;
63
+ background-color: #1f1f1f;
64
+ color: #ffffffe0;
65
+ font-family: sans-serif;
66
+}
67
+
68
+/* The page title centered at the todididiv.didiv.42px;bbb%34pxbbbheadernanav#hbdropnav.mainmenu, nananav.mainmenu a, nanav.submenu label,
69
+footernamainfooter General settings for the entire page */
70
+body {
71
+ margin: 0ex 1ex;
72
+ padding: 0;
73
+ background-color: #1f1f1f;
74
+ color: #ffffffe0;
75
+ font-family: sans-serif;
76
+}
77
+
78
+/* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
79
+body {
80
+ margin: 0ex 1ex;
81
+ padr divdiv.maididiv.mainmenu, dididiv.mainmenu a, didiv.submenu label,
82
+divdidivdivre page */
83
+body {
84
+ margin: 0ex 1ex;
85
+ padding: 0;
86
+ background-color: #1f1f1f;
87
+ color: #ffffffe0;
88
+ font-family: sans-serif;
89
+}
90
+
91
+/* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
92
+body {
93
+ margin: 0ex 1ex;
94
+ padding: 0;
95
+ background-color: #1f1f1f;
96
+ color: #ffffffe0;
97
+ font-family: scolor: #333#888;
98
+ outline: 04pxbbbheadernanav#hbdropnav.mainmenu,div.mainmenu 0.8;23H@kk,2fIgeR;/* General settings for the entire page */
99
+body {
100
+ margin: 0ex 1ex;
101
+ padding: 0;
102
+ background-color: #1f1f1f;
103
+ color: #ffffffe0;
104
+ font-family: sans-serif;
105
+}
106
+
107
+/* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
108
+body {
109
+ margin: 0ex 1ex;
110
+ padding: 0;
111
+ background-color: #1f1f1f;
112
+ color: #ffffffe0;
113
+ font-family: sans-serif;
114
+}
115
+
116
+/* The page title centered at the todididiv.didiv.42px;bbb%34pxbbbheadernanav#hbdropnav.mainmenu, nananav.mainmenu a, nanav.submenu label,
117
+footernamainfooter General settings for the entire page */
118
+body {
119
+ margin: 0ex 1ex;
120
+ padding: 0;
121
+ background-color: #1f1f1f;
122
+ color: #ffffffe0;
123
+ font-family: sans-serif;
124
+}
125
+
126
+/* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
127
+body {
128
+ margin: 0ex 1ex;
129
+ padr divdiv.maididiv.mainmenu, dididiv.mainmenu a, didiv.submenu label,
130
+divdidivdivre page */
131
+body {
132
+ margin: 0ex 1ex;
133
+ padding: 0;
134
+ background-color: #1f1f1f;
135
+ color: #ffffffe0;
136
+ font-family: sans-serif;
137
+}
138
+
139
+/* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
140
+body {
141
+ margin: 0ex 1ex;
142
+ padding: 0;
143
+ background-color: #1f1f1f;
144
+ color: #ffffffe0;
145
+ font-family: scolor: #333#888;
146
+ outline: 04pxbbbheadernanav#hbdropnav.mainmenu,div.mainmenu 0.8;23H@kk,2fIgeR;
--- a/skins/darkmode/css.txt
+++ b/skins/darkmode/css.txt
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/darkmode/css.txt
+++ b/skins/darkmode/css.txt
@@ -0,0 +1,146 @@
1 /* General settings for the entire page */
2 body {
3 margin: 0ex 1ex;
4 padding: 0;
5 background-color: #1f1f1f;
6 color: #ffffffe0;
7 font-family: sans-serif;
8 }
9
10 /* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
11 body {
12 margin: 0ex 1ex;
13 padding: 0;
14 background-color: #1f1f1f;
15 color: #ffffffe0;
16 font-family: sans-serif;
17 }
18
19 /* The page title centered at the todididiv.didiv.42px;bbb%34pxbbbheadernanav#hbdropnav.mainmenu, nananav.mainmenu a, nanav.submenu label,
20 footernamainfooter General settings for the entire page */
21 body {
22 margin: 0ex 1ex;
23 padding: 0;
24 background-color: #1f1f1f;
25 color: #ffffffe0;
26 font-family: sans-serif;
27 }
28
29 /* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
30 body {
31 margin: 0ex 1ex;
32 padr divdiv.maididiv.mainmenu, dididiv.mainmenu a, didiv.submenu label,
33 divdidivdivre page */
34 body {
35 margin: 0ex 1ex;
36 padding: 0;
37 background-color: #1f1f1f;
38 color: #ffffffe0;
39 font-family: sans-serif;
40 }
41
42 /* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
43 body {
44 margin: 0ex 1ex;
45 padding: 0;
46 background-color: #1f1f1f;
47 color: #ffffffe0;
48 font-family: scolor: #333#888;
49 outline: 04pxbbbheadernanav#hbdropnav.mainmenu,div.mainmenu 0.8;23H@kk,2fIgeR;90%;
50 padding-right: 1emr the entire page */
51 body {
52 margin: 0ex 1ex;
53 padding: 0;
54 background-color: #1f1f1f;
55 color: #ffffffe0;
56 font-family: sans-serif;
57 }
58
59 /* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
60 body {
61 margin: 0ex 1ex;
62 padding: 0;
63 background-color: #1f1f1f;
64 color: #ffffffe0;
65 font-family: sans-serif;
66 }
67
68 /* The page title centered at the todididiv.didiv.42px;bbb%34pxbbbheadernanav#hbdropnav.mainmenu, nananav.mainmenu a, nanav.submenu label,
69 footernamainfooter General settings for the entire page */
70 body {
71 margin: 0ex 1ex;
72 padding: 0;
73 background-color: #1f1f1f;
74 color: #ffffffe0;
75 font-family: sans-serif;
76 }
77
78 /* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
79 body {
80 margin: 0ex 1ex;
81 padr divdiv.maididiv.mainmenu, dididiv.mainmenu a, didiv.submenu label,
82 divdidivdivre page */
83 body {
84 margin: 0ex 1ex;
85 padding: 0;
86 background-color: #1f1f1f;
87 color: #ffffffe0;
88 font-family: sans-serif;
89 }
90
91 /* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
92 body {
93 margin: 0ex 1ex;
94 padding: 0;
95 background-color: #1f1f1f;
96 color: #ffffffe0;
97 font-family: scolor: #333#888;
98 outline: 04pxbbbheadernanav#hbdropnav.mainmenu,div.mainmenu 0.8;23H@kk,2fIgeR;/* General settings for the entire page */
99 body {
100 margin: 0ex 1ex;
101 padding: 0;
102 background-color: #1f1f1f;
103 color: #ffffffe0;
104 font-family: sans-serif;
105 }
106
107 /* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
108 body {
109 margin: 0ex 1ex;
110 padding: 0;
111 background-color: #1f1f1f;
112 color: #ffffffe0;
113 font-family: sans-serif;
114 }
115
116 /* The page title centered at the todididiv.didiv.42px;bbb%34pxbbbheadernanav#hbdropnav.mainmenu, nananav.mainmenu a, nanav.submenu label,
117 footernamainfooter General settings for the entire page */
118 body {
119 margin: 0ex 1ex;
120 padding: 0;
121 background-color: #1f1f1f;
122 color: #ffffffe0;
123 font-family: sans-serif;
124 }
125
126 /* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
127 body {
128 margin: 0ex 1ex;
129 padr divdiv.maididiv.mainmenu, dididiv.mainmenu a, didiv.submenu label,
130 divdidivdivre page */
131 body {
132 margin: 0ex 1ex;
133 padding: 0;
134 background-color: #1f1f1f;
135 color: #ffffffe0;
136 font-family: sans-serif;
137 }
138
139 /* The page title centered at the todiv.didiv#hbdrop/* General settings for or the entire page */
140 body {
141 margin: 0ex 1ex;
142 padding: 0;
143 background-color: #1f1f1f;
144 color: #ffffffe0;
145 font-family: scolor: #333#888;
146 outline: 04pxbbbheadernanav#hbdropnav.mainmenu,div.mainmenu 0.8;23H@kk,2fIgeR;
--- a/skins/darkmode/details.txt
+++ b/skins/darkmode/details.txt
@@ -0,0 +1,4 @@
1
+timeline-arrowheads: 0
2
+timeline-circle-nodes: 1
3
+timeline-color-graph-lines: 1
4
+whi
--- a/skins/darkmode/details.txt
+++ b/skins/darkmode/details.txt
@@ -0,0 +1,4 @@
 
 
 
 
--- a/skins/darkmode/details.txt
+++ b/skins/darkmode/details.txt
@@ -0,0 +1,4 @@
1 timeline-arrowheads: 0
2 timeline-circle-nodes: 1
3 timeline-color-graph-lines: 1
4 whi
--- a/skins/darkmode/footer.txt
+++ b/skins/darkmode/footer.txt
@@ -0,0 +1,6 @@
1
+<div class="footer">
2
+ <div class="container">
3
+ <div class="pull-right">
4
+ <a href="https://www.fossil-scm.org/">Fossil $release_version $manifest_version $manifest_date</a>
5
+ </div>
6
+ This page was generated in about <th1>puts [expr {([utime]+[stime]+1000)/1000div>
--- a/skins/darkmode/footer.txt
+++ b/skins/darkmode/footer.txt
@@ -0,0 +1,6 @@
 
 
 
 
 
 
--- a/skins/darkmode/footer.txt
+++ b/skins/darkmode/footer.txt
@@ -0,0 +1,6 @@
1 <div class="footer">
2 <div class="container">
3 <div class="pull-right">
4 <a href="https://www.fossil-scm.org/">Fossil $release_version $manifest_version $manifest_date</a>
5 </div>
6 This page was generated in about <th1>puts [expr {([utime]+[stime]+1000)/1000div>
--- a/skins/darkmode/header.txt
+++ b/skins/darkmode/header.txt
@@ -0,0 +1,22 @@
1
+<div class="header">
2
+ <div class="status leftoftitle"><th1>
3
+ if {[info exists login]} {
4
+ set logintext "<a href='$home/login'>$login</a>\n"
5
+ } else {
6
+ set logintext "<a href='$home/login'>Login</a>\n"
7
+ }
8
+ html $logintext
9
+ </th1></div>
10
+ <div class="title">$<title></div>
11
+ <div clas="status"><nobr><th1>
12
+ html $logintediv>
13
+<di</nobr></div>
14
+</he>
15
+<th1>
16
+html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
17
+Site Map'>&#9776;</a>"
18
+ buforeach {name urlif {![capexpr $expr]} continue
19
+ xpr $expr]} continue
20
+ if {[stif {[string match $url\[/?#\]*set class "acti/$current_page/* $urlhref='$url' c}
21
+</th1* $url<nav id='hbdrdiv>
22
+<div id='hbdrop'></div>
--- a/skins/darkmode/header.txt
+++ b/skins/darkmode/header.txt
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/darkmode/header.txt
+++ b/skins/darkmode/header.txt
@@ -0,0 +1,22 @@
1 <div class="header">
2 <div class="status leftoftitle"><th1>
3 if {[info exists login]} {
4 set logintext "<a href='$home/login'>$login</a>\n"
5 } else {
6 set logintext "<a href='$home/login'>Login</a>\n"
7 }
8 html $logintext
9 </th1></div>
10 <div class="title">$<title></div>
11 <div clas="status"><nobr><th1>
12 html $logintediv>
13 <di</nobr></div>
14 </he>
15 <th1>
16 html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
17 Site Map'>&#9776;</a>"
18 buforeach {name urlif {![capexpr $expr]} continue
19 xpr $expr]} continue
20 if {[stif {[string match $url\[/?#\]*set class "acti/$current_page/* $urlhref='$url' c}
21 </th1* $url<nav id='hbdrdiv>
22 <div id='hbdrop'></div>
+219 -198
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -1,234 +1,264 @@
1
+/* Overall page style */
2
+
13
body {
2
- margin: 0 auto;
3
- background-color: white;
4
- font-family: sans-serif;
5
- font-size:14pt;
6
- -moz-text-size-adjust: none;
7
- -webkit-text-size-adjust: none;
8
- -mx-text-size-adjust: none;
4
+ margin: 0 auto;
5
+ background-color: white;
6
+ font-family: sans-serif;
7
+ font-size: 14pt;
8
+ -moz-text-size-adjust: none;
9
+ -mx-text-size-adjust: none;
10
+ -webkit-text-size-adjust: none;
911
}
1012
1113
a {
12
- color: #4183C4;
13
- text-decoration: none;
14
+ color: #4183C4;
15
+ text-decoration: none;
1416
}
1517
a:hover {
16
- color: #4183C4;
17
- text-decoration: underline;
18
-}
19
-div.forumPosts a:visited {
20
- color: #6A7F94;
18
+ color: #4183C4;
19
+ text-decoration: underline;
2120
}
2221
23
-hr {
24
- color: #eee;
25
-}
22
+
23
+/* Page title, above menu bars */
2624
2725
.title {
28
- color: #4183C4;
29
- float:left;
26
+ color: #4183C4;
27
+ float: left;
3028
}
3129
.title h1 {
32
- display:inline;
30
+ display: inline;
3331
}
3432
.title h1:after {
35
- content: " / ";
36
- color: #777;
37
- font-weight: normal;
38
-}
39
-
40
-.content h1 {
41
- font-size: 1.25em;
42
-}
43
-.content h2 {
44
- font-size: 1.15em;
45
-}
46
-.content h3 {
47
- font-size: 1.05em;
48
- font-weight: bold;
49
-}
50
-
51
-.section {
52
- font-size: 1em;
53
- font-weight: bold;
54
- background-color: #f5f5f5;
55
- border: 1px solid #d8d8d8;
56
- border-radius: 3px 3px 0 0;
57
- padding: 9px 10px 10px;
58
- margin: 10px 0;
59
-}
60
-
61
-.sectionmenu {
62
- border: 1px solid #d8d8d8;
63
- border-radius: 0 0 3px 3px;
64
- border-top: 0;
65
- margin-top: -10px;
66
- margin-bottom: 10px;
67
- padding: 10px;
68
-}
69
-.sectionmenu a {
70
- display: inline-block;
71
- margin-right: 1em;
72
-}
73
-
33
+ content: " / ";
34
+ color: #777;
35
+ font-weight: normal;
36
+}
7437
.status {
75
- float:right;
76
- font-size:.7em;
38
+ float: right;
39
+ font-size: 0.7em;
7740
}
7841
42
+
43
+/* Main menu and optional sub-menu */
44
+
7945
.mainmenu {
80
- font-size:.8em;
81
- clear:both;
82
- background:#eaeaea linear-gradient(#fafafa, #eaeaea) repeat-x;
83
- border:1px solid #eaeaea;
84
- border-radius:5px;
85
- overflow-x: auto;
86
- overflow-y: hidden;
87
- white-space: nowrap;
88
- z-index: 21; /* just above hbdrop */
89
-}
90
-
46
+ font-size: 0.8em;
47
+ clear: both;
48
+ background: #eaeaea linear-gradient(#fafafa, #eaeaea) repeat-x;
49
+ border: 1px solid #eaeaea;
50
+ border-radius: 5px;
51
+ overflow-x: auto;
52
+ overflow-y: hidden;
53
+ white-space: nowrap;
54
+ z-index: 21; /* just above hbdrop */
55
+}
9156
.mainmenu a {
92
- text-decoration:none;
93
- color: #777;
94
- border-right:1px solid #eaeaea;
57
+ text-decoration: none;
58
+ color: #777;
59
+ border-right: 1px solid #eaeaea;
9560
}
9661
.mainmenu a.active,
9762
.mainmenu a:hover {
98
- color: #000;
99
- border-bottom:2px solid #D26911;
63
+ color: #000;
64
+ border-bottom: 2px solid #D26911;
10065
}
101
-
10266
div#hbdrop {
103
- background-color: white;
104
- border: 1px solid black;
105
- border-top: white;
106
- border-radius: 0 0 0.5em 0.5em;
107
- display: none;
108
- font-size: 80%;
109
- left: 2em;
110
- width: 90%;
111
- padding-right: 1em;
112
- position: absolute;
113
- z-index: 20; /* just below mainmenu, but above timeline bubbles */
67
+ background-color: white;
68
+ border: 1px solid black;
69
+ border-top: white;
70
+ border-radius: 0 0 0.5em 0.5em;
71
+ display: none;
72
+ font-size: 80%;
73
+ left: 2em;
74
+ width: 90%;
75
+ padding-right: 1em;
76
+ position: absolute;
77
+ z-index: 20; /* just below mainmenu, but above timeline bubbles */
11478
}
11579
11680
.submenu {
117
- font-size: .7em;
118
- padding: 10px;
119
- border-bottom: 1px solid #ccc;
81
+ font-size: .7em;
82
+ padding: 10px;
83
+ border-bottom: 1px solid #ccc;
12084
}
121
-
12285
.submenu a, .submenu label {
123
- padding: 10px 11px;
124
- text-decoration:none;
125
- color: #777;
86
+ padding: 10px 11px;
87
+ text-decoration: none;
88
+ color: #777;
12689
}
127
-
90
+.submenu label {
91
+ white-space: nowrap;
92
+}
12893
.submenu a:hover, .submenu label:hover {
129
- padding: 6px 10px;
130
- border: 1px solid #ccc;
131
- border-radius: 5px;
132
- color: #000;
133
-}
134
-
135
-.content {
136
- padding-top: 10px;
137
- font-size:.8em;
138
- color: #444;
139
-}
140
-
141
-.udiff, .sbsdiff {
142
- font-size: .85em !important;
143
- overflow: auto;
144
- border: 1px solid #ccc;
145
- border-radius: 5px;
146
-}
147
-.content blockquote {
148
- padding: 0 15px;
149
-}
150
-div.forumHierRoot blockquote, div.forumHier blockquote, div.forumEdit blockquote, div.forumTime blockquote, div.forumTimeline blockquote {
151
- background-color: rgba(65, 131, 196, 0.1);
152
- border-left: 3px solid #254769;
153
- padding: .1em 1em;
154
-}
155
-
156
-table.report {
157
- cursor: auto;
158
- border-radius: 5px;
159
- border: 1px solid #ccc;
160
- margin: 1em 0;
161
-}
162
-.report td, .report th {
163
- border: 0;
164
- font-size: .8em;
165
- padding: 10px;
166
-}
167
-.report td:first-child {
168
- border-top-left-radius: 5px;
169
-}
170
-.report tbody tr:last-child td:first-child {
171
- border-bottom-left-radius: 5px;
172
-}
173
-.report td:last-child {
174
- border-top-right-radius: 5px;
175
-}
176
-.report tbody tr:last-child {
177
- border-bottom-left-radius: 5px;
178
- border-bottom-right-radius: 5px;
179
-}
180
-.report tbody tr:last-child td:last-child {
181
- border-bottom-right-radius: 5px;
182
-}
183
-.report th {
184
- cursor: pointer;
185
-}
186
-.report thead+tbody tr:hover {
187
- background-color: #f5f9fc !important;
188
-}
189
-
190
-td.tktDspLabel {
191
- width: 70px;
192
- text-align: right;
193
- overflow: hidden;
194
-}
195
-td.tktDspValue {
196
- text-align: left;
197
- vertical-align: top;
198
- background-color: #f8f8f8;
199
- border: 1px solid #ccc;
200
-}
201
-td.tktDspValue pre {
202
- white-space: pre-wrap;
203
-}
204
-
205
-span.timelineDetail {
206
- font-size: 90%;
207
-}
208
-
209
-.footer {
210
- border-top: 1px solid #ccc;
211
- padding: 10px;
212
- font-size:.7em;
213
- margin-top: 10px;
214
- color: #ccc;
215
-}
216
-div.timelineDate {
217
- font-weight: bold;
218
- white-space: nowrap;
94
+ padding: 6px 10px;
95
+ border: 1px solid #ccc;
96
+ border-radius: 5px;
97
+ color: #000;
21998
}
22099
span.submenuctrl, span.submenuctrl input, select.submenuctrl {
221100
color: #777;
222101
}
223102
span.submenuctrl {
224103
white-space: nowrap;
225104
}
226
-div.submenu label {
227
- white-space: nowrap;
105
+
106
+
107
+/* Main document area; elements common to most pages. */
108
+
109
+.content {
110
+ padding-top: 10px;
111
+ font-size: 0.8em;
112
+ color: #444;
113
+}
114
+.content blockquote {
115
+ padding: 0 15px;
116
+}
117
+.content h1 {
118
+ font-size: 1.25em;
119
+}
120
+.content h2 {
121
+ font-size: 1.15em;
122
+}
123
+.content h3 {
124
+ font-size: 1.05em;
125
+}
126
+
127
+.section {
128
+ font-size: 1em;
129
+ font-weight: bold;
130
+ background-color: #f5f5f5;
131
+ border: 1px solid #d8d8d8;
132
+ border-radius: 3px 3px 0 0;
133
+ padding: 9px 10px 10px;
134
+ margin: 10px 0;
135
+}
136
+.sectionmenu {
137
+ border: 1px solid #d8d8d8;
138
+ border-radius: 0 0 3px 3px;
139
+ border-top: 0;
140
+ margin-top: -10px;
141
+ margin-bottom: 10px;
142
+ padding: 10px;
143
+}
144
+.sectionmenu a {
145
+ display: inline-block;
146
+ margin-right: 1em;
147
+}
148
+
149
+hr {
150
+ color: #eee;
151
+}
152
+
153
+
154
+/* Page footer */
155
+
156
+.footer {
157
+ border-top: 1px solid #ccc;
158
+ padding: 10px;
159
+ font-size: 0.7em;
160
+ margin-top: 10px;
161
+ color: #ccc;
162
+}
163
+
164
+
165
+/* Exceptions for /info diff views */
166
+
167
+.udiff, .sbsdiff {
168
+ font-size: .85em !important;
169
+ overflow: auto;
170
+ border: 1px solid #ccc;
171
+ border-radius: 5px;
172
+}
173
+
174
+
175
+/* Forum */
176
+
177
+.forum a:visited {
178
+ color: #6A7F94;
179
+}
180
+
181
+.forum blockquote {
182
+ background-color: rgba(65, 131, 196, 0.1);
183
+ border-left: 3px solid #254769;
184
+ padding: .1em 1em;
185
+}
186
+
187
+
188
+/* Tickets */
189
+
190
+table.report {
191
+ cursor: auto;
192
+ border-radius: 5px;
193
+ border: 1px solid #ccc;
194
+ margin: 1em 0;
195
+}
196
+.report td, .report th {
197
+ border: 0;
198
+ font-size: .8em;
199
+ padding: 10px;
200
+}
201
+.report td:first-child {
202
+ border-top-left-radius: 5px;
203
+}
204
+.report tbody tr:last-child td:first-child {
205
+ border-bottom-left-radius: 5px;
206
+}
207
+.report td:last-child {
208
+ border-top-right-radius: 5px;
209
+}
210
+.report tbody tr:last-child {
211
+ border-bottom-left-radius: 5px;
212
+ border-bottom-right-radius: 5px;
213
+}
214
+.report tbody tr:last-child td:last-child {
215
+ border-bottom-right-radius: 5px;
216
+}
217
+.report th {
218
+ cursor: pointer;
219
+}
220
+.report thead+tbody tr:hover {
221
+ background-color: #f5f9fc !important;
222
+}
223
+
224
+td.tktDspLabel {
225
+ width: 70px;
226
+ text-align: right;
227
+ overflow: hidden;
228
+}
229
+td.tktDspValue {
230
+ text-align: left;
231
+ vertical-align: top;
232
+ background-color: #f8f8f8;
233
+ border: 1px solid #ccc;
234
+}
235
+td.tktDspValue pre {
236
+ white-space: pre-wrap;
237
+}
238
+
239
+
240
+/* Timeline */
241
+
242
+span.timelineDetail {
243
+ font-size: 90%;
244
+}
245
+div.timelineDate {
246
+ font-weight: bold;
247
+ white-space: nowrap;
248
+}
249
+
250
+
251
+/* Miscellaneous UI elements */
252
+
253
+.fossil-tooltip.help-buttonlet-content {
254
+ background-color: lightyellow;
228255
}
229256
257
+
258
+/* Exceptions for specific screen sizes */
259
+
230260
@media screen and (max-width: 600px) {
231261
/* Spacing for mobile */
232262
body {
233263
padding-left: 4px;
234264
padding-right: 4px;
@@ -242,13 +272,10 @@
242272
padding: 10px 10px;
243273
}
244274
.mainmenu {
245275
padding: 10px;
246276
}
247
- .desktoponly {
248
- display: none;
249
- }
250277
}
251278
@media screen and (min-width: 600px) {
252279
/* Spacing for desktop */
253280
body {
254281
padding-left: 20px;
@@ -264,11 +291,5 @@
264291
}
265292
.mainmenu {
266293
padding: 10px;
267294
}
268295
}
269
-@media screen and (max-width: 1200px) {
270
- /* Special declarations for narrow desktop or wide mobile */
271
- .wideonly {
272
- display: none;
273
- }
274
-}
275296
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -1,234 +1,264 @@
 
 
1 body {
2 margin: 0 auto;
3 background-color: white;
4 font-family: sans-serif;
5 font-size:14pt;
6 -moz-text-size-adjust: none;
7 -webkit-text-size-adjust: none;
8 -mx-text-size-adjust: none;
9 }
10
11 a {
12 color: #4183C4;
13 text-decoration: none;
14 }
15 a:hover {
16 color: #4183C4;
17 text-decoration: underline;
18 }
19 div.forumPosts a:visited {
20 color: #6A7F94;
21 }
22
23 hr {
24 color: #eee;
25 }
26
27 .title {
28 color: #4183C4;
29 float:left;
30 }
31 .title h1 {
32 display:inline;
33 }
34 .title h1:after {
35 content: " / ";
36 color: #777;
37 font-weight: normal;
38 }
39
40 .content h1 {
41 font-size: 1.25em;
42 }
43 .content h2 {
44 font-size: 1.15em;
45 }
46 .content h3 {
47 font-size: 1.05em;
48 font-weight: bold;
49 }
50
51 .section {
52 font-size: 1em;
53 font-weight: bold;
54 background-color: #f5f5f5;
55 border: 1px solid #d8d8d8;
56 border-radius: 3px 3px 0 0;
57 padding: 9px 10px 10px;
58 margin: 10px 0;
59 }
60
61 .sectionmenu {
62 border: 1px solid #d8d8d8;
63 border-radius: 0 0 3px 3px;
64 border-top: 0;
65 margin-top: -10px;
66 margin-bottom: 10px;
67 padding: 10px;
68 }
69 .sectionmenu a {
70 display: inline-block;
71 margin-right: 1em;
72 }
73
74 .status {
75 float:right;
76 font-size:.7em;
77 }
78
 
 
 
79 .mainmenu {
80 font-size:.8em;
81 clear:both;
82 background:#eaeaea linear-gradient(#fafafa, #eaeaea) repeat-x;
83 border:1px solid #eaeaea;
84 border-radius:5px;
85 overflow-x: auto;
86 overflow-y: hidden;
87 white-space: nowrap;
88 z-index: 21; /* just above hbdrop */
89 }
90
91 .mainmenu a {
92 text-decoration:none;
93 color: #777;
94 border-right:1px solid #eaeaea;
95 }
96 .mainmenu a.active,
97 .mainmenu a:hover {
98 color: #000;
99 border-bottom:2px solid #D26911;
100 }
101
102 div#hbdrop {
103 background-color: white;
104 border: 1px solid black;
105 border-top: white;
106 border-radius: 0 0 0.5em 0.5em;
107 display: none;
108 font-size: 80%;
109 left: 2em;
110 width: 90%;
111 padding-right: 1em;
112 position: absolute;
113 z-index: 20; /* just below mainmenu, but above timeline bubbles */
114 }
115
116 .submenu {
117 font-size: .7em;
118 padding: 10px;
119 border-bottom: 1px solid #ccc;
120 }
121
122 .submenu a, .submenu label {
123 padding: 10px 11px;
124 text-decoration:none;
125 color: #777;
126 }
127
 
 
128 .submenu a:hover, .submenu label:hover {
129 padding: 6px 10px;
130 border: 1px solid #ccc;
131 border-radius: 5px;
132 color: #000;
133 }
134
135 .content {
136 padding-top: 10px;
137 font-size:.8em;
138 color: #444;
139 }
140
141 .udiff, .sbsdiff {
142 font-size: .85em !important;
143 overflow: auto;
144 border: 1px solid #ccc;
145 border-radius: 5px;
146 }
147 .content blockquote {
148 padding: 0 15px;
149 }
150 div.forumHierRoot blockquote, div.forumHier blockquote, div.forumEdit blockquote, div.forumTime blockquote, div.forumTimeline blockquote {
151 background-color: rgba(65, 131, 196, 0.1);
152 border-left: 3px solid #254769;
153 padding: .1em 1em;
154 }
155
156 table.report {
157 cursor: auto;
158 border-radius: 5px;
159 border: 1px solid #ccc;
160 margin: 1em 0;
161 }
162 .report td, .report th {
163 border: 0;
164 font-size: .8em;
165 padding: 10px;
166 }
167 .report td:first-child {
168 border-top-left-radius: 5px;
169 }
170 .report tbody tr:last-child td:first-child {
171 border-bottom-left-radius: 5px;
172 }
173 .report td:last-child {
174 border-top-right-radius: 5px;
175 }
176 .report tbody tr:last-child {
177 border-bottom-left-radius: 5px;
178 border-bottom-right-radius: 5px;
179 }
180 .report tbody tr:last-child td:last-child {
181 border-bottom-right-radius: 5px;
182 }
183 .report th {
184 cursor: pointer;
185 }
186 .report thead+tbody tr:hover {
187 background-color: #f5f9fc !important;
188 }
189
190 td.tktDspLabel {
191 width: 70px;
192 text-align: right;
193 overflow: hidden;
194 }
195 td.tktDspValue {
196 text-align: left;
197 vertical-align: top;
198 background-color: #f8f8f8;
199 border: 1px solid #ccc;
200 }
201 td.tktDspValue pre {
202 white-space: pre-wrap;
203 }
204
205 span.timelineDetail {
206 font-size: 90%;
207 }
208
209 .footer {
210 border-top: 1px solid #ccc;
211 padding: 10px;
212 font-size:.7em;
213 margin-top: 10px;
214 color: #ccc;
215 }
216 div.timelineDate {
217 font-weight: bold;
218 white-space: nowrap;
219 }
220 span.submenuctrl, span.submenuctrl input, select.submenuctrl {
221 color: #777;
222 }
223 span.submenuctrl {
224 white-space: nowrap;
225 }
226 div.submenu label {
227 white-space: nowrap;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228 }
229
 
 
 
230 @media screen and (max-width: 600px) {
231 /* Spacing for mobile */
232 body {
233 padding-left: 4px;
234 padding-right: 4px;
@@ -242,13 +272,10 @@
242 padding: 10px 10px;
243 }
244 .mainmenu {
245 padding: 10px;
246 }
247 .desktoponly {
248 display: none;
249 }
250 }
251 @media screen and (min-width: 600px) {
252 /* Spacing for desktop */
253 body {
254 padding-left: 20px;
@@ -264,11 +291,5 @@
264 }
265 .mainmenu {
266 padding: 10px;
267 }
268 }
269 @media screen and (max-width: 1200px) {
270 /* Special declarations for narrow desktop or wide mobile */
271 .wideonly {
272 display: none;
273 }
274 }
275
--- skins/default/css.txt
+++ skins/default/css.txt
@@ -1,234 +1,264 @@
1 /* Overall page style */
2
3 body {
4 margin: 0 auto;
5 background-color: white;
6 font-family: sans-serif;
7 font-size: 14pt;
8 -moz-text-size-adjust: none;
9 -mx-text-size-adjust: none;
10 -webkit-text-size-adjust: none;
11 }
12
13 a {
14 color: #4183C4;
15 text-decoration: none;
16 }
17 a:hover {
18 color: #4183C4;
19 text-decoration: underline;
 
 
 
20 }
21
22
23 /* Page title, above menu bars */
 
24
25 .title {
26 color: #4183C4;
27 float: left;
28 }
29 .title h1 {
30 display: inline;
31 }
32 .title h1:after {
33 content: " / ";
34 color: #777;
35 font-weight: normal;
36 }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37 .status {
38 float: right;
39 font-size: 0.7em;
40 }
41
42
43 /* Main menu and optional sub-menu */
44
45 .mainmenu {
46 font-size: 0.8em;
47 clear: both;
48 background: #eaeaea linear-gradient(#fafafa, #eaeaea) repeat-x;
49 border: 1px solid #eaeaea;
50 border-radius: 5px;
51 overflow-x: auto;
52 overflow-y: hidden;
53 white-space: nowrap;
54 z-index: 21; /* just above hbdrop */
55 }
 
56 .mainmenu a {
57 text-decoration: none;
58 color: #777;
59 border-right: 1px solid #eaeaea;
60 }
61 .mainmenu a.active,
62 .mainmenu a:hover {
63 color: #000;
64 border-bottom: 2px solid #D26911;
65 }
 
66 div#hbdrop {
67 background-color: white;
68 border: 1px solid black;
69 border-top: white;
70 border-radius: 0 0 0.5em 0.5em;
71 display: none;
72 font-size: 80%;
73 left: 2em;
74 width: 90%;
75 padding-right: 1em;
76 position: absolute;
77 z-index: 20; /* just below mainmenu, but above timeline bubbles */
78 }
79
80 .submenu {
81 font-size: .7em;
82 padding: 10px;
83 border-bottom: 1px solid #ccc;
84 }
 
85 .submenu a, .submenu label {
86 padding: 10px 11px;
87 text-decoration: none;
88 color: #777;
89 }
90 .submenu label {
91 white-space: nowrap;
92 }
93 .submenu a:hover, .submenu label:hover {
94 padding: 6px 10px;
95 border: 1px solid #ccc;
96 border-radius: 5px;
97 color: #000;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98 }
99 span.submenuctrl, span.submenuctrl input, select.submenuctrl {
100 color: #777;
101 }
102 span.submenuctrl {
103 white-space: nowrap;
104 }
105
106
107 /* Main document area; elements common to most pages. */
108
109 .content {
110 padding-top: 10px;
111 font-size: 0.8em;
112 color: #444;
113 }
114 .content blockquote {
115 padding: 0 15px;
116 }
117 .content h1 {
118 font-size: 1.25em;
119 }
120 .content h2 {
121 font-size: 1.15em;
122 }
123 .content h3 {
124 font-size: 1.05em;
125 }
126
127 .section {
128 font-size: 1em;
129 font-weight: bold;
130 background-color: #f5f5f5;
131 border: 1px solid #d8d8d8;
132 border-radius: 3px 3px 0 0;
133 padding: 9px 10px 10px;
134 margin: 10px 0;
135 }
136 .sectionmenu {
137 border: 1px solid #d8d8d8;
138 border-radius: 0 0 3px 3px;
139 border-top: 0;
140 margin-top: -10px;
141 margin-bottom: 10px;
142 padding: 10px;
143 }
144 .sectionmenu a {
145 display: inline-block;
146 margin-right: 1em;
147 }
148
149 hr {
150 color: #eee;
151 }
152
153
154 /* Page footer */
155
156 .footer {
157 border-top: 1px solid #ccc;
158 padding: 10px;
159 font-size: 0.7em;
160 margin-top: 10px;
161 color: #ccc;
162 }
163
164
165 /* Exceptions for /info diff views */
166
167 .udiff, .sbsdiff {
168 font-size: .85em !important;
169 overflow: auto;
170 border: 1px solid #ccc;
171 border-radius: 5px;
172 }
173
174
175 /* Forum */
176
177 .forum a:visited {
178 color: #6A7F94;
179 }
180
181 .forum blockquote {
182 background-color: rgba(65, 131, 196, 0.1);
183 border-left: 3px solid #254769;
184 padding: .1em 1em;
185 }
186
187
188 /* Tickets */
189
190 table.report {
191 cursor: auto;
192 border-radius: 5px;
193 border: 1px solid #ccc;
194 margin: 1em 0;
195 }
196 .report td, .report th {
197 border: 0;
198 font-size: .8em;
199 padding: 10px;
200 }
201 .report td:first-child {
202 border-top-left-radius: 5px;
203 }
204 .report tbody tr:last-child td:first-child {
205 border-bottom-left-radius: 5px;
206 }
207 .report td:last-child {
208 border-top-right-radius: 5px;
209 }
210 .report tbody tr:last-child {
211 border-bottom-left-radius: 5px;
212 border-bottom-right-radius: 5px;
213 }
214 .report tbody tr:last-child td:last-child {
215 border-bottom-right-radius: 5px;
216 }
217 .report th {
218 cursor: pointer;
219 }
220 .report thead+tbody tr:hover {
221 background-color: #f5f9fc !important;
222 }
223
224 td.tktDspLabel {
225 width: 70px;
226 text-align: right;
227 overflow: hidden;
228 }
229 td.tktDspValue {
230 text-align: left;
231 vertical-align: top;
232 background-color: #f8f8f8;
233 border: 1px solid #ccc;
234 }
235 td.tktDspValue pre {
236 white-space: pre-wrap;
237 }
238
239
240 /* Timeline */
241
242 span.timelineDetail {
243 font-size: 90%;
244 }
245 div.timelineDate {
246 font-weight: bold;
247 white-space: nowrap;
248 }
249
250
251 /* Miscellaneous UI elements */
252
253 .fossil-tooltip.help-buttonlet-content {
254 background-color: lightyellow;
255 }
256
257
258 /* Exceptions for specific screen sizes */
259
260 @media screen and (max-width: 600px) {
261 /* Spacing for mobile */
262 body {
263 padding-left: 4px;
264 padding-right: 4px;
@@ -242,13 +272,10 @@
272 padding: 10px 10px;
273 }
274 .mainmenu {
275 padding: 10px;
276 }
 
 
 
277 }
278 @media screen and (min-width: 600px) {
279 /* Spacing for desktop */
280 body {
281 padding-left: 20px;
@@ -264,11 +291,5 @@
291 }
292 .mainmenu {
293 padding: 10px;
294 }
295 }
 
 
 
 
 
 
296
--- skins/default/footer.txt
+++ skins/default/footer.txt
@@ -1,8 +1,5 @@
11
<div class="footer">
22
This page was generated in about
33
<th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
44
Fossil $release_version $manifest_version $manifest_date
55
</div>
6
-<script nonce="$nonce">
7
-<th1>styleScript</th1>
8
-</script>
96
--- skins/default/footer.txt
+++ skins/default/footer.txt
@@ -1,8 +1,5 @@
1 <div class="footer">
2 This page was generated in about
3 <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
4 Fossil $release_version $manifest_version $manifest_date
5 </div>
6 <script nonce="$nonce">
7 <th1>styleScript</th1>
8 </script>
9
--- skins/default/footer.txt
+++ skins/default/footer.txt
@@ -1,8 +1,5 @@
1 <div class="footer">
2 This page was generated in about
3 <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
4 Fossil $release_version $manifest_version $manifest_date
5 </div>
 
 
 
6
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -8,43 +8,19 @@
88
}
99
</th1></div>
1010
</div>
1111
<div class="mainmenu">
1212
<th1>
13
-proc menulink {url name cls} {
14
- upvar current_page current
15
- upvar home home
16
- if {[string range $url 0 [string length $current]] eq "/$current"} {
17
- html "<a href='$home$url' class='active $cls'>$name</a>\n"
18
- } else {
19
- html "<a href='$home$url' class='$cls'>$name</a>\n"
20
- }
21
-}
22
-html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
23
-menulink $index_page Home {}
24
-if {[anycap jor]} {
25
- menulink /timeline Timeline {}
26
-}
27
-if {[hascap oh]} {
28
- if {![info exists current_checkin]} {set current_checkin tip}
29
- menulink /dir?ci=$current_checkin Files desktoponly
30
-}
31
-if {[hascap o]} {
32
- menulink /brlist Branches desktoponly
33
- menulink /taglist Tags wideonly
34
-}
35
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
36
- menulink /forum Forum wideonly
37
-}
38
-if {[hascap r]} {
39
- menulink /ticket Tickets wideonly
40
-}
41
-if {[hascap j]} {
42
- menulink /wiki Wiki wideonly
43
-}
44
-if {[hascap s]} {
45
- menulink /setup Admin {}
46
-} elseif {[hascap a]} {
47
- menulink /setup_ulist Users {}
13
+html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
14
+builtin_request_js hbmenu.js
15
+foreach {name url expr class} $mainmenu {
16
+ if {![capexpr $expr]} continue
17
+ if {[string match /* $url]} {
18
+ if {[string match /$current_page* $url]} {
19
+ set class "active $class"
20
+ }
21
+ set url $home$url
22
+ }
23
+ html "<a href='$url' class='$class'>$name</a>\n"
4824
}
4925
</th1></div>
5026
<div id='hbdrop'></div>
5127
5228
DELETED skins/default/js.txt
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -8,43 +8,19 @@
8 }
9 </th1></div>
10 </div>
11 <div class="mainmenu">
12 <th1>
13 proc menulink {url name cls} {
14 upvar current_page current
15 upvar home home
16 if {[string range $url 0 [string length $current]] eq "/$current"} {
17 html "<a href='$home$url' class='active $cls'>$name</a>\n"
18 } else {
19 html "<a href='$home$url' class='$cls'>$name</a>\n"
20 }
21 }
22 html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
23 menulink $index_page Home {}
24 if {[anycap jor]} {
25 menulink /timeline Timeline {}
26 }
27 if {[hascap oh]} {
28 if {![info exists current_checkin]} {set current_checkin tip}
29 menulink /dir?ci=$current_checkin Files desktoponly
30 }
31 if {[hascap o]} {
32 menulink /brlist Branches desktoponly
33 menulink /taglist Tags wideonly
34 }
35 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
36 menulink /forum Forum wideonly
37 }
38 if {[hascap r]} {
39 menulink /ticket Tickets wideonly
40 }
41 if {[hascap j]} {
42 menulink /wiki Wiki wideonly
43 }
44 if {[hascap s]} {
45 menulink /setup Admin {}
46 } elseif {[hascap a]} {
47 menulink /setup_ulist Users {}
48 }
49 </th1></div>
50 <div id='hbdrop'></div>
51
52 ELETED skins/default/js.txt
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -8,43 +8,19 @@
8 }
9 </th1></div>
10 </div>
11 <div class="mainmenu">
12 <th1>
13 html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
14 builtin_request_js hbmenu.js
15 foreach {name url expr class} $mainmenu {
16 if {![capexpr $expr]} continue
17 if {[string match /* $url]} {
18 if {[string match /$current_page* $url]} {
19 set class "active $class"
20 }
21 set url $home$url
22 }
23 html "<a href='$url' class='$class'>$name</a>\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24 }
25 </th1></div>
26 <div id='hbdrop'></div>
27
28 ELETED skins/default/js.txt
D skins/default/js.txt
-228
--- a/skins/default/js.txt
+++ b/skins/default/js.txt
@@ -1,228 +0,0 @@
1
-/*
2
-** Copyright © 2018 Warren Young
3
-**
4
-** This program is free software; you can redistribute it and/or
5
-** modify it under the terms of the Simplified BSD License (also
6
-** known as the "2-Clause License" or "FreeBSD License".)
7
-**
8
-** This program is distributed in the hope that it will be useful,
9
-** but without any warranty; without even the implied warranty of
10
-** merchantability or fitness for a particular purpose.
11
-**
12
-** Contact: wyoung on the Fossil forum, https
13
-*******************************************************************************
14
-**
15
-** Thisspecific to the Fossil default skin.
16
-** Currently, the only thing this does is handle clicks on isition the hddrop container.
17
-*/
18
-(function() {
19
- var hbButton = document.getElementById("hbbtn");
20
- if (!hbButton) return; // no hamburger button
21
- if (!document.addEventListener) return; // Incompatible browser
22
- var panel = document.getElementById("hbdrop");
23
- if (!panel) return; // site admin might've nuked it
24
- if (!panel.style) return; // shouldn't happen, but be sure
25
- var panelBorder = panel.style.border;
26
- var panelInitialized = false; // reset if browser window is resized
27
- var panelResetBorderTimerID = 0; // used to cancel post-animation tasks
28
-
29
- // Disable animation if this browser doesn't support CSS transitions.
30
- //
31
- // We need this ugly calling form for old browsers that don't allow
32
- // panel.style.hasOwnProperty('transition'); catering to old browsers
33
- // is the whole point here.
34
- var animate = panel.style.transition !== null && (typeof(panel.style.transition) == "string");
35
-
36
- // The duration of the animation can be overridden from the default skin
37
- // header.txt by setting the "data-anim-ms" attribute of the panel.
38
- var animMS = panel.getAttribute("data-anim-ms");
39
- if (animMS) { // not null or empty string, parse it
40
- animMS = parseInt(animMS);
41
- if (isNaN(animMS) || animMS == 0)
42
- animate = false; // disable animation if non-numeric or zero
43
- else if (animMS < 0)
44
- animMS = 400; // set default animation duration if negative
45
- }
46
- else // attribute is null or empty string, use default
47
- animMS = 400;
48
-
49
- // Calculate panel height despite its being hidden at call time.
50
- // Based on https://stackoverflow.com/a/29047447/142454
51
- var panelHeight; // computed on first panel display
52
- function calculatePanelHeight() {
53
-
54
- // Clear the max-height CSS property in case the panel size is recalculated
55
- // after the browser window was resized.
56
- panel.style.maxHeight = '';
57
-
58
- // Get initial panel styles so we can restore them below.
59
- var es = window.getComputedStyle(panel),
60
- edis = es.display,
61
- epos = es.position,
62
- evis = es.visibility;
63
-
64
- // Restyle the panel so we can measure its height while invisible.
65
- panel.style.visibility = 'hidden';
66
- panel.style.position = 'absolute';
67
- panel.style.display = 'block';
68
- panelHeight = panel.offsetHeight + 'px';
69
-
70
- // Revert styles now that job is done.
71
- panel.style.display = edis;
72
- panel.style.position = epos;
73
- panel.style.visibility = evis;
74
- }
75
-
76
- // Show the panel by changing the panel height, which kicks off the
77
- // slide-open/closed transition set up in the XHR onload handler.
78
- //
79
- // Schedule the change for a near-future time in case this is the
80
- // first call, where the div was initially invisible. If we were
81
- // to change the panel's visibility and height at the same time
82
- // instead, that would prevent the browser from seeing the height
83
- // change as a state transition, so it'd skip the CSS transition:
84
- //
85
- // https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions#JavaScript_examples
86
- function showPanel() {
87
- // Cancel the timer to remove the panel border after the closing animation,
88
- // otherwise double-clicking the hamburger button with the panel opened will
89
- // remove the borders from the (closed and immediately reopened) panel.
90
- if (panelResetBorderTimerID) {
91
- clearTimeout(panelResetBorderTimerID);
92
- panelResetBorderTimerID = 0;
93
- }
94
- if (animate) {
95
- if (!panelInitialized) {
96
- panelInitialized = true;
97
- // Set up a CSS transition to animate the panel open and
98
- // closed. Only needs to be done once per page load.
99
- // Based on https://stackoverflow.com/a/29047447/142454
100
- calculatePanelHeight();
101
- panel.style.transition = 'max-height ' + animMS +
102
- 'ms ease-in-out';
103
- panel.style.overflowY = 'hidden';
104
- panel.style.maxHeight = '0';
105
- }
106
- setTimeout(function() {
107
- panel.style.maxHeight = panelHeight;
108
- panel.style.border = panelBorder;
109
- }, 40); // 25ms is insufficient with Firefox 62
110
- }
111
- panel.style.display = 'block';
112
- document.addEventListener('keydown',panelKeydown,/* useCapture == */true);
113
- document.addEventListener('click',panelClick,false);
114
- }
115
-
116
- var panelKeydown = function(event) {
117
- var key = event.which || event.keyCode;
118
- if (key == 27) {
119
- event.stopPropagation(); // ignore other keydown handlers
120
- panelToggle(true);
121
- }
122
- };
123
-
124
- var panelClick = function(event) {
125
- if (!panel.contains(event.target)) {
126
- // Call event.preventDefault() to have clicks outside the opened panel
127
- // just close the panel, and swallow clicks on links or form elements.
128
- //event.preventDefault();
129
- panelToggle(true);
130
- }
131
- };
132
-
133
- // Return true if the panel is showing.
134
- function panelShowing() {
135
- if (animate) {
136
- return panel.style.maxHeight == panelHeight;
137
- }
138
- else {
139
- return panel.style.display == 'block';
140
- }
141
- }
142
-
143
- // Check if the specified HTML element has any child elements. Note that plain
144
- // text nodes, comments, and any spaces (presentational or not) are ignored.
145
- function hasChildren(element) {
146
- var childElement = element.firstChild;
147
- while (childElement) {
148
- if (childElement.nodeType == 1) // Node.ELEMENT_NODE == 1
149
- return true;
150
- childElement = childElement.nextSibling;
151
- }
152
- return false;
153
- }
154
-
155
- // Reset the state of the panel to uninitialized if the browser window is
156
- // resized, so the dimensions are recalculated the next time it's opened.
157
- window.addEventListener('resize',function(event) {
158
- panelInitialized = false;
159
- },false);
160
-
161
- // Click handler for the hamburger button.
162
- hbButton.addEventListener('click',function(event) {
163
- // Break the event handler chain, or the handler for document → click
164
- // (about to be installed) may already be triggered by the current event.
165
- event.stopPropagation();
166
- event.preventDefault(); // prevent browser from acting on <a> click
167
- panelToggle(false);
168
- },false);
169
-
170
- function panelToggle(suppressAnimation) {
171
- if (panelShowing()) {
172
- document.removeEventListener('keydown',panelKeydown,/* useCapture == */true);
173
- document.removeEventListener('click',panelClick,false);
174
- // Transition back to hidden state.
175
- if (animate) {
176
- if (suppressAnimation) {
177
- var transition = panel.style.transition;
178
- panel.style.transition = '';
179
- panel.style.maxHeight = '0';
180
- panel.style.border = 'none';
181
- setTimeout(function() {
182
- // Make sure CSS transition won't take effect now, so restore it
183
- // asynchronously. Outer variable 'transition' still valid here.
184
- panel.style.transition = transition;
185
- }, 40); // 25ms is insufficient with Firefox 62
186
- }
187
- else {
188
- panel.style.maxHeight = '0';
189
- panelResetBorderTimerID = setTimeout(function() {
190
- // Browsers show a 1px high border line when maxHeight == 0,
191
- // our "hidden" state, so hide the borders in that state, too.
192
- panel.style.border = 'none';
193
- panelResetBorderTimerID = 0; // clear ID of completed timer
194
- }, animMS);
195
- }
196
- }
197
- else {
198
- panel.style.display = 'none';
199
- }
200
- }
201
- else {
202
- if (!hasChildren(panel)) {
203
- // Only get the sitemap once per page load: it isn't likely to
204
- // change on us.
205
- var xhr = new XMLHttpRequest();
206
- xhr.onload = function() {
207
- var doc = xhr.responseXML;
208
- if (doc) {
209
- var sm = doc.querySelector("ul#sitemap");
210
- if (sm && xhr.status == 200) {
211
- // Got sitemap. Insert it into the drop-down panel.
212
- panel.innerHTML = sm.outerHTML;
213
- // Display the panel
214
- showPanel();
215
- }
216
- }
217
- // else, can't parse response as HTML or XML
218
- }
219
- xhr.open("GET xhr.open("GET", url);
220
- xhr.responseType = "document";
221
- xhr.send();
222
- }
223
- else {
224
- showPanel(); // just show what we built abo{
225
- // Turn the button into ncompatible browser
226
- var panel = document.getElementById("hbdrop");
227
- if (!panel) return; // site admin might've nuked it
228
- if (!panel.style) return; // shouldn't happen, but b
--- a/skins/default/js.txt
+++ b/skins/default/js.txt
@@ -1,228 +0,0 @@
1 /*
2 ** Copyright © 2018 Warren Young
3 **
4 ** This program is free software; you can redistribute it and/or
5 ** modify it under the terms of the Simplified BSD License (also
6 ** known as the "2-Clause License" or "FreeBSD License".)
7 **
8 ** This program is distributed in the hope that it will be useful,
9 ** but without any warranty; without even the implied warranty of
10 ** merchantability or fitness for a particular purpose.
11 **
12 ** Contact: wyoung on the Fossil forum, https
13 *******************************************************************************
14 **
15 ** Thisspecific to the Fossil default skin.
16 ** Currently, the only thing this does is handle clicks on isition the hddrop container.
17 */
18 (function() {
19 var hbButton = document.getElementById("hbbtn");
20 if (!hbButton) return; // no hamburger button
21 if (!document.addEventListener) return; // Incompatible browser
22 var panel = document.getElementById("hbdrop");
23 if (!panel) return; // site admin might've nuked it
24 if (!panel.style) return; // shouldn't happen, but be sure
25 var panelBorder = panel.style.border;
26 var panelInitialized = false; // reset if browser window is resized
27 var panelResetBorderTimerID = 0; // used to cancel post-animation tasks
28
29 // Disable animation if this browser doesn't support CSS transitions.
30 //
31 // We need this ugly calling form for old browsers that don't allow
32 // panel.style.hasOwnProperty('transition'); catering to old browsers
33 // is the whole point here.
34 var animate = panel.style.transition !== null && (typeof(panel.style.transition) == "string");
35
36 // The duration of the animation can be overridden from the default skin
37 // header.txt by setting the "data-anim-ms" attribute of the panel.
38 var animMS = panel.getAttribute("data-anim-ms");
39 if (animMS) { // not null or empty string, parse it
40 animMS = parseInt(animMS);
41 if (isNaN(animMS) || animMS == 0)
42 animate = false; // disable animation if non-numeric or zero
43 else if (animMS < 0)
44 animMS = 400; // set default animation duration if negative
45 }
46 else // attribute is null or empty string, use default
47 animMS = 400;
48
49 // Calculate panel height despite its being hidden at call time.
50 // Based on https://stackoverflow.com/a/29047447/142454
51 var panelHeight; // computed on first panel display
52 function calculatePanelHeight() {
53
54 // Clear the max-height CSS property in case the panel size is recalculated
55 // after the browser window was resized.
56 panel.style.maxHeight = '';
57
58 // Get initial panel styles so we can restore them below.
59 var es = window.getComputedStyle(panel),
60 edis = es.display,
61 epos = es.position,
62 evis = es.visibility;
63
64 // Restyle the panel so we can measure its height while invisible.
65 panel.style.visibility = 'hidden';
66 panel.style.position = 'absolute';
67 panel.style.display = 'block';
68 panelHeight = panel.offsetHeight + 'px';
69
70 // Revert styles now that job is done.
71 panel.style.display = edis;
72 panel.style.position = epos;
73 panel.style.visibility = evis;
74 }
75
76 // Show the panel by changing the panel height, which kicks off the
77 // slide-open/closed transition set up in the XHR onload handler.
78 //
79 // Schedule the change for a near-future time in case this is the
80 // first call, where the div was initially invisible. If we were
81 // to change the panel's visibility and height at the same time
82 // instead, that would prevent the browser from seeing the height
83 // change as a state transition, so it'd skip the CSS transition:
84 //
85 // https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions#JavaScript_examples
86 function showPanel() {
87 // Cancel the timer to remove the panel border after the closing animation,
88 // otherwise double-clicking the hamburger button with the panel opened will
89 // remove the borders from the (closed and immediately reopened) panel.
90 if (panelResetBorderTimerID) {
91 clearTimeout(panelResetBorderTimerID);
92 panelResetBorderTimerID = 0;
93 }
94 if (animate) {
95 if (!panelInitialized) {
96 panelInitialized = true;
97 // Set up a CSS transition to animate the panel open and
98 // closed. Only needs to be done once per page load.
99 // Based on https://stackoverflow.com/a/29047447/142454
100 calculatePanelHeight();
101 panel.style.transition = 'max-height ' + animMS +
102 'ms ease-in-out';
103 panel.style.overflowY = 'hidden';
104 panel.style.maxHeight = '0';
105 }
106 setTimeout(function() {
107 panel.style.maxHeight = panelHeight;
108 panel.style.border = panelBorder;
109 }, 40); // 25ms is insufficient with Firefox 62
110 }
111 panel.style.display = 'block';
112 document.addEventListener('keydown',panelKeydown,/* useCapture == */true);
113 document.addEventListener('click',panelClick,false);
114 }
115
116 var panelKeydown = function(event) {
117 var key = event.which || event.keyCode;
118 if (key == 27) {
119 event.stopPropagation(); // ignore other keydown handlers
120 panelToggle(true);
121 }
122 };
123
124 var panelClick = function(event) {
125 if (!panel.contains(event.target)) {
126 // Call event.preventDefault() to have clicks outside the opened panel
127 // just close the panel, and swallow clicks on links or form elements.
128 //event.preventDefault();
129 panelToggle(true);
130 }
131 };
132
133 // Return true if the panel is showing.
134 function panelShowing() {
135 if (animate) {
136 return panel.style.maxHeight == panelHeight;
137 }
138 else {
139 return panel.style.display == 'block';
140 }
141 }
142
143 // Check if the specified HTML element has any child elements. Note that plain
144 // text nodes, comments, and any spaces (presentational or not) are ignored.
145 function hasChildren(element) {
146 var childElement = element.firstChild;
147 while (childElement) {
148 if (childElement.nodeType == 1) // Node.ELEMENT_NODE == 1
149 return true;
150 childElement = childElement.nextSibling;
151 }
152 return false;
153 }
154
155 // Reset the state of the panel to uninitialized if the browser window is
156 // resized, so the dimensions are recalculated the next time it's opened.
157 window.addEventListener('resize',function(event) {
158 panelInitialized = false;
159 },false);
160
161 // Click handler for the hamburger button.
162 hbButton.addEventListener('click',function(event) {
163 // Break the event handler chain, or the handler for document → click
164 // (about to be installed) may already be triggered by the current event.
165 event.stopPropagation();
166 event.preventDefault(); // prevent browser from acting on <a> click
167 panelToggle(false);
168 },false);
169
170 function panelToggle(suppressAnimation) {
171 if (panelShowing()) {
172 document.removeEventListener('keydown',panelKeydown,/* useCapture == */true);
173 document.removeEventListener('click',panelClick,false);
174 // Transition back to hidden state.
175 if (animate) {
176 if (suppressAnimation) {
177 var transition = panel.style.transition;
178 panel.style.transition = '';
179 panel.style.maxHeight = '0';
180 panel.style.border = 'none';
181 setTimeout(function() {
182 // Make sure CSS transition won't take effect now, so restore it
183 // asynchronously. Outer variable 'transition' still valid here.
184 panel.style.transition = transition;
185 }, 40); // 25ms is insufficient with Firefox 62
186 }
187 else {
188 panel.style.maxHeight = '0';
189 panelResetBorderTimerID = setTimeout(function() {
190 // Browsers show a 1px high border line when maxHeight == 0,
191 // our "hidden" state, so hide the borders in that state, too.
192 panel.style.border = 'none';
193 panelResetBorderTimerID = 0; // clear ID of completed timer
194 }, animMS);
195 }
196 }
197 else {
198 panel.style.display = 'none';
199 }
200 }
201 else {
202 if (!hasChildren(panel)) {
203 // Only get the sitemap once per page load: it isn't likely to
204 // change on us.
205 var xhr = new XMLHttpRequest();
206 xhr.onload = function() {
207 var doc = xhr.responseXML;
208 if (doc) {
209 var sm = doc.querySelector("ul#sitemap");
210 if (sm && xhr.status == 200) {
211 // Got sitemap. Insert it into the drop-down panel.
212 panel.innerHTML = sm.outerHTML;
213 // Display the panel
214 showPanel();
215 }
216 }
217 // else, can't parse response as HTML or XML
218 }
219 xhr.open("GET xhr.open("GET", url);
220 xhr.responseType = "document";
221 xhr.send();
222 }
223 else {
224 showPanel(); // just show what we built abo{
225 // Turn the button into ncompatible browser
226 var panel = document.getElementById("hbdrop");
227 if (!panel) return; // site admin might've nuked it
228 if (!panel.style) return; // shouldn't happen, but b
--- a/skins/default/js.txt
+++ b/skins/default/js.txt
@@ -1,228 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- skins/eagle/css.txt
+++ skins/eagle/css.txt
@@ -3,22 +3,20 @@
33
margin: 0ex 1ex;
44
padding: 0px;
55
background-color: #485D7B;
66
font-family: sans-serif;
77
color: white;
8
- -moz-text-size-adjust: none;
9
- -webkit-text-size-adjust: none;
10
- -mx-text-size-adjust: none;
118
}
129
1310
/* The project logo in the upper left-hand corner of each page */
1411
div.logo {
1512
display: table-cell;
1613
text-align: center;
1714
vertical-align: bottom;
1815
font-weight: bold;
1916
color: white;
17
+ min-width: 50px;
2018
padding: 5 0 5 0em;
2119
white-space: nowrap;
2220
}
2321
2422
/* The page title centered at the top of each page */
@@ -39,11 +37,10 @@
3937
text-align: right;
4038
vertical-align: bottom;
4139
color: white;
4240
font-size: 0.8em;
4341
font-weight: bold;
44
- min-width: 200px;
4542
white-space: nowrap;
4643
}
4744
4845
/* The header across the top of the page */
4946
div.header {
@@ -62,10 +59,22 @@
6259
background-color: #76869D;
6360
border-top-left-radius: 8px;
6461
border-top-right-radius: 8px;
6562
color: white;
6663
}
64
+
65
+div#hbdrop {
66
+ background-color: #485D7B;
67
+ border-radius: 0 0 15px 15px;
68
+ border-left: 0.5em solid #76869d;
69
+ border-bottom: 1.2em solid #76869d;
70
+ display: none;
71
+ width: 98%;
72
+ position: absolute;
73
+ z-index: 20;
74
+}
75
+
6776
6877
/* The submenu bar that *sometimes* appears below the main menu */
6978
div.submenu, div.sectionmenu {
7079
padding: 3px 10px 3px 0px;
7180
font-size: 0.9em;
@@ -353,20 +362,56 @@
353362
}
354363
355364
.fileage tr:hover {
356365
background-color: #7EA2D9;
357366
}
367
+
368
+span.modpending {
369
+ color: #c0c0c0;
370
+ font-style: italic;
371
+}
372
+span.forum_author {
373
+ color: white;
374
+ font-size: 75%;
375
+}
376
+span.forum_age {
377
+ color: white;
378
+ font-size: 85%;
379
+}
380
+span.forum_npost {
381
+ color: white;
382
+ font-size: 75%;
383
+}
384
+.debug {
385
+ background-color: #808080;
386
+ border: 2px solid white;
387
+}
388
+div.forumEdit {
389
+ border: 1px solid white;
390
+}
391
+div.forumTimeline {
392
+ border: 1px solid white;
393
+}
394
+div.forumTime {
395
+ border: 1px solid white;
396
+}
397
+div.forumSel {
398
+ background-color: #808080;
399
+}
400
+div.forumObs {
401
+ color: white;
402
+}
358403
359404
.fileage td {
360405
font-family: "courier new";
361406
}
362407
363408
div.filetreeline:hover {
364409
background-color: #7EA2D9;
365410
}
366411
367
-div.selectedText {
412
+table.numbered-lines td.line-numbers span.selected-line {
368413
background-color: #7EA2D9;
369414
}
370415
371416
.statistics-report-graph-line {
372417
background-color: #7EA2D9;
@@ -373,5 +418,20 @@
373418
}
374419
375420
.timelineModernCell[id], .timelineColumnarCell[id], .timelineDetailCell[id] {
376421
background-color: #455978;
377422
}
423
+
424
+div.difflncol {
425
+ padding-right: 1em;
426
+ text-align: right;
427
+ color: white;
428
+}
429
+.capsumOff {
430
+ background-color: #bbbbbb;
431
+}
432
+.capsumRead {
433
+ background-color: #006d00;
434
+}
435
+.capsumWrite {
436
+ background-color: #e5e500;
437
+}
378438
--- skins/eagle/css.txt
+++ skins/eagle/css.txt
@@ -3,22 +3,20 @@
3 margin: 0ex 1ex;
4 padding: 0px;
5 background-color: #485D7B;
6 font-family: sans-serif;
7 color: white;
8 -moz-text-size-adjust: none;
9 -webkit-text-size-adjust: none;
10 -mx-text-size-adjust: none;
11 }
12
13 /* The project logo in the upper left-hand corner of each page */
14 div.logo {
15 display: table-cell;
16 text-align: center;
17 vertical-align: bottom;
18 font-weight: bold;
19 color: white;
 
20 padding: 5 0 5 0em;
21 white-space: nowrap;
22 }
23
24 /* The page title centered at the top of each page */
@@ -39,11 +37,10 @@
39 text-align: right;
40 vertical-align: bottom;
41 color: white;
42 font-size: 0.8em;
43 font-weight: bold;
44 min-width: 200px;
45 white-space: nowrap;
46 }
47
48 /* The header across the top of the page */
49 div.header {
@@ -62,10 +59,22 @@
62 background-color: #76869D;
63 border-top-left-radius: 8px;
64 border-top-right-radius: 8px;
65 color: white;
66 }
 
 
 
 
 
 
 
 
 
 
 
 
67
68 /* The submenu bar that *sometimes* appears below the main menu */
69 div.submenu, div.sectionmenu {
70 padding: 3px 10px 3px 0px;
71 font-size: 0.9em;
@@ -353,20 +362,56 @@
353 }
354
355 .fileage tr:hover {
356 background-color: #7EA2D9;
357 }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
359 .fileage td {
360 font-family: "courier new";
361 }
362
363 div.filetreeline:hover {
364 background-color: #7EA2D9;
365 }
366
367 div.selectedText {
368 background-color: #7EA2D9;
369 }
370
371 .statistics-report-graph-line {
372 background-color: #7EA2D9;
@@ -373,5 +418,20 @@
373 }
374
375 .timelineModernCell[id], .timelineColumnarCell[id], .timelineDetailCell[id] {
376 background-color: #455978;
377 }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
378
--- skins/eagle/css.txt
+++ skins/eagle/css.txt
@@ -3,22 +3,20 @@
3 margin: 0ex 1ex;
4 padding: 0px;
5 background-color: #485D7B;
6 font-family: sans-serif;
7 color: white;
 
 
 
8 }
9
10 /* The project logo in the upper left-hand corner of each page */
11 div.logo {
12 display: table-cell;
13 text-align: center;
14 vertical-align: bottom;
15 font-weight: bold;
16 color: white;
17 min-width: 50px;
18 padding: 5 0 5 0em;
19 white-space: nowrap;
20 }
21
22 /* The page title centered at the top of each page */
@@ -39,11 +37,10 @@
37 text-align: right;
38 vertical-align: bottom;
39 color: white;
40 font-size: 0.8em;
41 font-weight: bold;
 
42 white-space: nowrap;
43 }
44
45 /* The header across the top of the page */
46 div.header {
@@ -62,10 +59,22 @@
59 background-color: #76869D;
60 border-top-left-radius: 8px;
61 border-top-right-radius: 8px;
62 color: white;
63 }
64
65 div#hbdrop {
66 background-color: #485D7B;
67 border-radius: 0 0 15px 15px;
68 border-left: 0.5em solid #76869d;
69 border-bottom: 1.2em solid #76869d;
70 display: none;
71 width: 98%;
72 position: absolute;
73 z-index: 20;
74 }
75
76
77 /* The submenu bar that *sometimes* appears below the main menu */
78 div.submenu, div.sectionmenu {
79 padding: 3px 10px 3px 0px;
80 font-size: 0.9em;
@@ -353,20 +362,56 @@
362 }
363
364 .fileage tr:hover {
365 background-color: #7EA2D9;
366 }
367
368 span.modpending {
369 color: #c0c0c0;
370 font-style: italic;
371 }
372 span.forum_author {
373 color: white;
374 font-size: 75%;
375 }
376 span.forum_age {
377 color: white;
378 font-size: 85%;
379 }
380 span.forum_npost {
381 color: white;
382 font-size: 75%;
383 }
384 .debug {
385 background-color: #808080;
386 border: 2px solid white;
387 }
388 div.forumEdit {
389 border: 1px solid white;
390 }
391 div.forumTimeline {
392 border: 1px solid white;
393 }
394 div.forumTime {
395 border: 1px solid white;
396 }
397 div.forumSel {
398 background-color: #808080;
399 }
400 div.forumObs {
401 color: white;
402 }
403
404 .fileage td {
405 font-family: "courier new";
406 }
407
408 div.filetreeline:hover {
409 background-color: #7EA2D9;
410 }
411
412 table.numbered-lines td.line-numbers span.selected-line {
413 background-color: #7EA2D9;
414 }
415
416 .statistics-report-graph-line {
417 background-color: #7EA2D9;
@@ -373,5 +418,20 @@
418 }
419
420 .timelineModernCell[id], .timelineColumnarCell[id], .timelineDetailCell[id] {
421 background-color: #455978;
422 }
423
424 div.difflncol {
425 padding-right: 1em;
426 text-align: right;
427 color: white;
428 }
429 .capsumOff {
430 background-color: #bbbbbb;
431 }
432 .capsumRead {
433 background-color: #006d00;
434 }
435 .capsumWrite {
436 background-color: #e5e500;
437 }
438
--- skins/eagle/details.txt
+++ skins/eagle/details.txt
@@ -1,4 +1,5 @@
11
timeline-arrowheads: 1
22
timeline-circle-nodes: 0
33
timeline-color-graph-lines: 0
44
white-foreground: 1
5
+pikchr-background: 0x485d7b
56
--- skins/eagle/details.txt
+++ skins/eagle/details.txt
@@ -1,4 +1,5 @@
1 timeline-arrowheads: 1
2 timeline-circle-nodes: 0
3 timeline-color-graph-lines: 0
4 white-foreground: 1
 
5
--- skins/eagle/details.txt
+++ skins/eagle/details.txt
@@ -1,4 +1,5 @@
1 timeline-arrowheads: 1
2 timeline-circle-nodes: 0
3 timeline-color-graph-lines: 0
4 white-foreground: 1
5 pikchr-background: 0x485d7b
6
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -89,44 +89,20 @@
8989
setTimeout(updateClock,(60-d.getUTCSeconds())*1000);
9090
}
9191
}
9292
updateClock();
9393
</script>
94
-<div class="mainmenu">
95
-<th1>
96
-proc menulink {url name} {
97
- upvar home home
98
- html "<a href='$home$url'>$name</a>\n"
99
-}
100
-menulink $index_page Home
101
-menulink /help Help
102
-if {[anycap jor]} {
103
- menulink /timeline Timeline
104
-}
105
-if {[anoncap oh]} {
106
- menulink /dir?ci=tip Files
107
-}
108
-if {[anoncap o]} {
109
- menulink /brlist Branches
110
- menulink /taglist Tags
111
-}
112
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113
- menulink /forum Forum
114
-}
115
-if {[anoncap r]} {
116
- menulink /ticket Tickets
117
-}
118
-if {[anoncap j]} {
119
- menulink /wiki Wiki
120
-}
121
-menulink /sitemap More...
122
-if {[hascap s]} {
123
- menulink /setup Admin
124
-} elseif {[hascap a]} {
125
- menulink /setup_ulist Users
94
+<div class="mainmenu"><th1>
95
+html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>\n"
96
+builtin_request_js hbmenu.js
97
+foreach {name url expr class} $mainmenu {
98
+ if {![capexpr $expr]} continue
99
+ if {[string match /* $url]} {set url $home$url}
100
+ html "<a href='$url' class='$class'>$name</a>\n"
126101
}
127102
if {[info exists login]} {
128
- menulink /login Logout
103
+ html "<a href='$home/logout' class='desktoponly'>Logout</a>\n"
129104
} else {
130
- menulink /login Login
105
+ html "<a href='$home/login' class='desktoponly'>Login</a>\n"
131106
}
132107
</th1></div>
108
+<div id="hbdrop"></div>
133109
134110
DELETED skins/enhanced1/css.txt
135111
DELETED skins/enhanced1/details.txt
136112
DELETED skins/enhanced1/footer.txt
137113
DELETED skins/enhanced1/header.txt
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -89,44 +89,20 @@
89 setTimeout(updateClock,(60-d.getUTCSeconds())*1000);
90 }
91 }
92 updateClock();
93 </script>
94 <div class="mainmenu">
95 <th1>
96 proc menulink {url name} {
97 upvar home home
98 html "<a href='$home$url'>$name</a>\n"
99 }
100 menulink $index_page Home
101 menulink /help Help
102 if {[anycap jor]} {
103 menulink /timeline Timeline
104 }
105 if {[anoncap oh]} {
106 menulink /dir?ci=tip Files
107 }
108 if {[anoncap o]} {
109 menulink /brlist Branches
110 menulink /taglist Tags
111 }
112 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
113 menulink /forum Forum
114 }
115 if {[anoncap r]} {
116 menulink /ticket Tickets
117 }
118 if {[anoncap j]} {
119 menulink /wiki Wiki
120 }
121 menulink /sitemap More...
122 if {[hascap s]} {
123 menulink /setup Admin
124 } elseif {[hascap a]} {
125 menulink /setup_ulist Users
126 }
127 if {[info exists login]} {
128 menulink /login Logout
129 } else {
130 menulink /login Login
131 }
132 </th1></div>
 
133
134 ELETED skins/enhanced1/css.txt
135 ELETED skins/enhanced1/details.txt
136 ELETED skins/enhanced1/footer.txt
137 ELETED skins/enhanced1/header.txt
--- skins/eagle/header.txt
+++ skins/eagle/header.txt
@@ -89,44 +89,20 @@
89 setTimeout(updateClock,(60-d.getUTCSeconds())*1000);
90 }
91 }
92 updateClock();
93 </script>
94 <div class="mainmenu"><th1>
95 html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>\n"
96 builtin_request_js hbmenu.js
97 foreach {name url expr class} $mainmenu {
98 if {![capexpr $expr]} continue
99 if {[string match /* $url]} {set url $home$url}
100 html "<a href='$url' class='$class'>$name</a>\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101 }
102 if {[info exists login]} {
103 html "<a href='$home/logout' class='desktoponly'>Logout</a>\n"
104 } else {
105 html "<a href='$home/login' class='desktoponly'>Login</a>\n"
106 }
107 </th1></div>
108 <div id="hbdrop"></div>
109
110 ELETED skins/enhanced1/css.txt
111 ELETED skins/enhanced1/details.txt
112 ELETED skins/enhanced1/footer.txt
113 ELETED skins/enhanced1/header.txt
D skins/enhanced1/css.txt
-71
--- a/skins/enhanced1/css.txt
+++ b/skins/enhanced1/css.txt
@@ -1,71 +0,0 @@
1
-/* General settings for the entire page */
2
-body {
3
- margin: 0ex 1ex;
4
- padding: 0px;
5
- background-color: white;
6
- font-family: sans-serif;
7
- -moz-text-size-adjust: none;
8
- -webkit-text-size-adjust: none;
9
- -mx-text-size-adjust: none;
10
-}
11
-
12
-/* The project logo in the upper left-hand corner of each page */
13
-div.logo {
14
- display: table-cell;
15
- text-align: center;
16
- vertical-align: bottom;
17
- font-weight: bold;
18
- co20or: #558195;
19
- min-width: 50px;
20
- white-space: nowrap;
21
-}
22
-
23
-/* The page title centered at the top of each page */
24
-div.title {
25
- display: table-cell;
26
- font-size: 2em;
27
- font-weight: bold;
28
- text-align: center;
29
- padding: 0 0 0 1em;
30
- color: #558195;
31
- vertical-align: bottom;
32
- width: 100%;
33
-}
34
-
35
-/* The login status message in the top right-hand corner */
36
-div.status {
37
- display: table-cell;
38
- text-align: right;
39
- vertical-align: bottom;
40
- color: #558195;
41
- font-size: 0.8min-width: 20or: #558195e-space: nowrap;
42
-}
43
-
44
-/* The header across the top of the page */
45
-div.header {
46
- display: table;
47
- width: 100%;
48
-}
49
-
50
-/* The main menu bar that appears at the top of the page beneath
51
-** the header */
52
-diisplay: table;
53
- winmenu {
54
- padding: 5px;
55
- font-size: 0.9em;
56
- font-weight: bold;
57
- text-align: center;
58
- letter-spacing: 1px;
59
- background-color: #558195;
60
- border-top-left-radius: 8px;
61
- border-top-right-radius: 8px;
62
- color: white;
63
-}
64
-
65
-/* The submenu bar that *sometimes* appedis below the main menu */
66
-div.submenu, div.sectionmenu {
67
- padding: 3px 10px 3px 0px;
68
- font-size: 0.9em;
69
- text-align: center;
70
- background-color: div.mainmenu a, div.mainmenu alig.olor: #558195;.581didi entire page */
71
-body/*didivdiv-spa
--- a/skins/enhanced1/css.txt
+++ b/skins/enhanced1/css.txt
@@ -1,71 +0,0 @@
1 /* General settings for the entire page */
2 body {
3 margin: 0ex 1ex;
4 padding: 0px;
5 background-color: white;
6 font-family: sans-serif;
7 -moz-text-size-adjust: none;
8 -webkit-text-size-adjust: none;
9 -mx-text-size-adjust: none;
10 }
11
12 /* The project logo in the upper left-hand corner of each page */
13 div.logo {
14 display: table-cell;
15 text-align: center;
16 vertical-align: bottom;
17 font-weight: bold;
18 co20or: #558195;
19 min-width: 50px;
20 white-space: nowrap;
21 }
22
23 /* The page title centered at the top of each page */
24 div.title {
25 display: table-cell;
26 font-size: 2em;
27 font-weight: bold;
28 text-align: center;
29 padding: 0 0 0 1em;
30 color: #558195;
31 vertical-align: bottom;
32 width: 100%;
33 }
34
35 /* The login status message in the top right-hand corner */
36 div.status {
37 display: table-cell;
38 text-align: right;
39 vertical-align: bottom;
40 color: #558195;
41 font-size: 0.8min-width: 20or: #558195e-space: nowrap;
42 }
43
44 /* The header across the top of the page */
45 div.header {
46 display: table;
47 width: 100%;
48 }
49
50 /* The main menu bar that appears at the top of the page beneath
51 ** the header */
52 diisplay: table;
53 winmenu {
54 padding: 5px;
55 font-size: 0.9em;
56 font-weight: bold;
57 text-align: center;
58 letter-spacing: 1px;
59 background-color: #558195;
60 border-top-left-radius: 8px;
61 border-top-right-radius: 8px;
62 color: white;
63 }
64
65 /* The submenu bar that *sometimes* appedis below the main menu */
66 div.submenu, div.sectionmenu {
67 padding: 3px 10px 3px 0px;
68 font-size: 0.9em;
69 text-align: center;
70 background-color: div.mainmenu a, div.mainmenu alig.olor: #558195;.581didi entire page */
71 body/*didivdiv-spa
--- a/skins/enhanced1/css.txt
+++ b/skins/enhanced1/css.txt
@@ -1,71 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D skins/enhanced1/details.txt
-3
--- a/skins/enhanced1/details.txt
+++ b/skins/enhanced1/details.txt
@@ -1,3 +0,0 @@
1
-timeline-arrowheads: 1
2
-timeline-circle-nodes: 0
3
-timeline-color-graph-lines: 0
--- a/skins/enhanced1/details.txt
+++ b/skins/enhanced1/details.txt
@@ -1,3 +0,0 @@
1 timeline-arrowheads: 1
2 timeline-circle-nodes: 0
3 timeline-color-graph-lines: 0
--- a/skins/enhanced1/details.txt
+++ b/skins/enhanced1/details.txt
@@ -1,3 +0,0 @@
 
 
 
D skins/enhanced1/footer.txt
-24
--- a/skins/enhanced1/footer.txt
+++ b/skins/enhanced1/footer.txt
@@ -1,24 +0,0 @@
1
-<div class="footer">
2
- <th1>
3
- proc getTclVersion {} {
4
- if {[catch {tclEval info patchlevel} tclVersion] == 0} {
5
- return "<a href=\"https://www.tcl.tk/\">Tcl</a> version $tclVersion"
6
- }
7
- return ""
8
- }
9
- proc getVersion { version } {
10
- set length [string length $version]
11
- return [string range $version 1 [expr {$length - 2}]]
12
- }
13
- set version [getVersion $manifest_version]
14
- set tclVersion [getTclVersiowww.n]
15
- set fossilUrl https://fossil-scm.org
16
- set fossilDate [string range $manifest_date 0 9]T[string range $manifest_date 11 end]
17
- </th1>
18
- This page was generated in about
19
- <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
20
- <a href="$fossilUrl/">Fossil</a>
21
- version $release_version $tclVersion
22
- <a href="$fossilUrl/index.html/info/$version">$manifest_version</a>
23
- <a href="$fossilUrl/index.html/timeline?c=$fossilDate&amp;div>
24
-</body></html>
--- a/skins/enhanced1/footer.txt
+++ b/skins/enhanced1/footer.txt
@@ -1,24 +0,0 @@
1 <div class="footer">
2 <th1>
3 proc getTclVersion {} {
4 if {[catch {tclEval info patchlevel} tclVersion] == 0} {
5 return "<a href=\"https://www.tcl.tk/\">Tcl</a> version $tclVersion"
6 }
7 return ""
8 }
9 proc getVersion { version } {
10 set length [string length $version]
11 return [string range $version 1 [expr {$length - 2}]]
12 }
13 set version [getVersion $manifest_version]
14 set tclVersion [getTclVersiowww.n]
15 set fossilUrl https://fossil-scm.org
16 set fossilDate [string range $manifest_date 0 9]T[string range $manifest_date 11 end]
17 </th1>
18 This page was generated in about
19 <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
20 <a href="$fossilUrl/">Fossil</a>
21 version $release_version $tclVersion
22 <a href="$fossilUrl/index.html/info/$version">$manifest_version</a>
23 <a href="$fossilUrl/index.html/timeline?c=$fossilDate&amp;div>
24 </body></html>
--- a/skins/enhanced1/footer.txt
+++ b/skins/enhanced1/footer.txt
@@ -1,24 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D skins/enhanced1/header.txt
-68
--- a/skins/enhanced1/header.txt
+++ b/skins/enhanced1/header.txt
@@ -1,68 +0,0 @@
1
-<div class="header">
2
- <div class="logo">
3
- <th1>
4
- ##
5
- ## NOTE: The purpose of this procedure is to take the base URL of the
6
- ## Fossil project and return the root of the entire web site using
7
- ## the same URI scheme as the base URL (e.g. http or https).
8
- ##
9
- proc getLogoUrl { baseurl } {
10
- set idx(first) [string first // $baseurl]
11
- if {$idx(first) != -1} {
12
- ##
13
- ## NOTE: Skip second slash.
14
- ##
15
- set idx(first+1) [expr {$idx(first) + 2}]
16
- ##
17
- ## NOTE: (part 1) The [string first] command does NOT actually
18
- ## support the optional startIndex argument as specified
19
- ## in the TH1 support manual; therefore, we fake it by
20
- ## using the [string range] command and then adding the
21
- ## necessary offset to the resulting index manually
22
- ## (below). In Tcl, we could use the following instead:
23
- ##
24
- ## set idx(next) [string first / $baseurl $idx(first+1)]
25
- ##
26
- set idx(nextRange) [string range $baseurl $idx(first+1) end]
27
- set idx(next) [string first / $idx(nextRange)]
28
- if {$idx(next) != -1} {
29
- ##
30
- ## NOTE: (part 2) Add the necessary offset to the result of
31
- ## the search for the next slash (i.e. the one after
32
- ## the initial search for the two slashes).
33
- ##
34
- s
35
-<th1>
36
-proc menulink {url name} {
37
- upvar home home
38
- html "<a href='$home$url'>$name</a>\n"
39
-}
40
-menulink $index_page Home
41
-menuljor]} {
42
- menulink /nycap ijr2]} {
43
- menulink /timeline Timeline
44
-}
45
-if {[anoncap oh]} {
46
- menulink /dir?ci=tip Files
47
-}
48
-if {[anoncap o]} {
49
- menulink /brlist Branches
50
- menulink /taglist Tags
51
-}
52
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
53
- menulink /forum Forum
54
-}
55
-if {[anoncap r]} {
56
- menulink /[anycap nr]} {
57
- menulink /ticket Tickets
58
-}
59
-if {[anoncap j]} {
60
- menulink /wiki Wiki
61
-}
62
-if {[hascap s]} {
63
- menulink /setup Admin
64
-} elseif {[hascap a]} {
65
- menulink /setup_ulist Users
66
-}
67
-e it by
68
- ## usinmenulink /login L
--- a/skins/enhanced1/header.txt
+++ b/skins/enhanced1/header.txt
@@ -1,68 +0,0 @@
1 <div class="header">
2 <div class="logo">
3 <th1>
4 ##
5 ## NOTE: The purpose of this procedure is to take the base URL of the
6 ## Fossil project and return the root of the entire web site using
7 ## the same URI scheme as the base URL (e.g. http or https).
8 ##
9 proc getLogoUrl { baseurl } {
10 set idx(first) [string first // $baseurl]
11 if {$idx(first) != -1} {
12 ##
13 ## NOTE: Skip second slash.
14 ##
15 set idx(first+1) [expr {$idx(first) + 2}]
16 ##
17 ## NOTE: (part 1) The [string first] command does NOT actually
18 ## support the optional startIndex argument as specified
19 ## in the TH1 support manual; therefore, we fake it by
20 ## using the [string range] command and then adding the
21 ## necessary offset to the resulting index manually
22 ## (below). In Tcl, we could use the following instead:
23 ##
24 ## set idx(next) [string first / $baseurl $idx(first+1)]
25 ##
26 set idx(nextRange) [string range $baseurl $idx(first+1) end]
27 set idx(next) [string first / $idx(nextRange)]
28 if {$idx(next) != -1} {
29 ##
30 ## NOTE: (part 2) Add the necessary offset to the result of
31 ## the search for the next slash (i.e. the one after
32 ## the initial search for the two slashes).
33 ##
34 s
35 <th1>
36 proc menulink {url name} {
37 upvar home home
38 html "<a href='$home$url'>$name</a>\n"
39 }
40 menulink $index_page Home
41 menuljor]} {
42 menulink /nycap ijr2]} {
43 menulink /timeline Timeline
44 }
45 if {[anoncap oh]} {
46 menulink /dir?ci=tip Files
47 }
48 if {[anoncap o]} {
49 menulink /brlist Branches
50 menulink /taglist Tags
51 }
52 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
53 menulink /forum Forum
54 }
55 if {[anoncap r]} {
56 menulink /[anycap nr]} {
57 menulink /ticket Tickets
58 }
59 if {[anoncap j]} {
60 menulink /wiki Wiki
61 }
62 if {[hascap s]} {
63 menulink /setup Admin
64 } elseif {[hascap a]} {
65 menulink /setup_ulist Users
66 }
67 e it by
68 ## usinmenulink /login L
--- a/skins/enhanced1/header.txt
+++ b/skins/enhanced1/header.txt
@@ -1,68 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- skins/khaki/css.txt
+++ skins/khaki/css.txt
@@ -58,11 +58,24 @@
5858
font-weight: bold;
5959
text-align: center;
6060
letter-spacing: 1px;
6161
background-color: #a09048;
6262
color: black;
63
+ z-index: 21; /* just above hbdrop */
64
+}
65
+div#hbdrop {
66
+ background-color: #fef3bc;
67
+ border: 2px solid #a09048;
68
+ border-radius: 0 0 0.5em 0.5em;
69
+ display: none;
70
+ left: 2em;
71
+ width: 90%;
72
+ padding-right: 1em;
73
+ position: absolute;
74
+ z-index: 20; /* just below mainmenu, but above timeline bubbles */
6375
}
76
+
6477
6578
/* The submenu bar that *sometimes* appears below the main menu */
6679
div.submenu, div.sectionmenu {
6780
padding: 3px 10px 3px 0px;
6881
font-size: 0.9em;
@@ -76,24 +89,30 @@
7689
padding: 3px 10px 3px 10px;
7790
color: white;
7891
text-decoration: none;
7992
}
8093
div.mainmenu a:hover, div.submenu a:hover, div.sectionmenu>a.button:hover,
81
-div.submenu label:hover {
94
+div.submenu label:hover, div#hbdrop a:hover {
8295
color: #a09048;
8396
background-color: white;
8497
}
8598
8699
/* All page content from the bottom of the menu or submenu down to
87100
** the footer */
88101
div.content {
89102
padding: 1ex 5px;
90103
}
91
-div.content a { color: #706532; }
92
-div.content a:link { color: #706532; }
93
-div.content a:visited { color: #704032; }
94
-div.content a:hover { background-color: white; color: #706532; }
104
+div.content a, div#hbdrop a { color: #706532; }
105
+div.content a:link, div#hbdrop a:link { color: #706532; }
106
+div.content a:visited, div#hbdrop a:visited { color: #704032; }
107
+div.content a:hover, div#hbdrop a:hover {
108
+ background-color: white; color: #706532;
109
+}
110
+a, a:visited {
111
+ text-decoration: none;
112
+}
113
+
95114
96115
/* Some pages have section dividers */
97116
div.section {
98117
margin-bottom: 0px;
99118
margin-top: 1em;
100119
--- skins/khaki/css.txt
+++ skins/khaki/css.txt
@@ -58,11 +58,24 @@
58 font-weight: bold;
59 text-align: center;
60 letter-spacing: 1px;
61 background-color: #a09048;
62 color: black;
 
 
 
 
 
 
 
 
 
 
 
 
63 }
 
64
65 /* The submenu bar that *sometimes* appears below the main menu */
66 div.submenu, div.sectionmenu {
67 padding: 3px 10px 3px 0px;
68 font-size: 0.9em;
@@ -76,24 +89,30 @@
76 padding: 3px 10px 3px 10px;
77 color: white;
78 text-decoration: none;
79 }
80 div.mainmenu a:hover, div.submenu a:hover, div.sectionmenu>a.button:hover,
81 div.submenu label:hover {
82 color: #a09048;
83 background-color: white;
84 }
85
86 /* All page content from the bottom of the menu or submenu down to
87 ** the footer */
88 div.content {
89 padding: 1ex 5px;
90 }
91 div.content a { color: #706532; }
92 div.content a:link { color: #706532; }
93 div.content a:visited { color: #704032; }
94 div.content a:hover { background-color: white; color: #706532; }
 
 
 
 
 
 
95
96 /* Some pages have section dividers */
97 div.section {
98 margin-bottom: 0px;
99 margin-top: 1em;
100
--- skins/khaki/css.txt
+++ skins/khaki/css.txt
@@ -58,11 +58,24 @@
58 font-weight: bold;
59 text-align: center;
60 letter-spacing: 1px;
61 background-color: #a09048;
62 color: black;
63 z-index: 21; /* just above hbdrop */
64 }
65 div#hbdrop {
66 background-color: #fef3bc;
67 border: 2px solid #a09048;
68 border-radius: 0 0 0.5em 0.5em;
69 display: none;
70 left: 2em;
71 width: 90%;
72 padding-right: 1em;
73 position: absolute;
74 z-index: 20; /* just below mainmenu, but above timeline bubbles */
75 }
76
77
78 /* The submenu bar that *sometimes* appears below the main menu */
79 div.submenu, div.sectionmenu {
80 padding: 3px 10px 3px 0px;
81 font-size: 0.9em;
@@ -76,24 +89,30 @@
89 padding: 3px 10px 3px 10px;
90 color: white;
91 text-decoration: none;
92 }
93 div.mainmenu a:hover, div.submenu a:hover, div.sectionmenu>a.button:hover,
94 div.submenu label:hover, div#hbdrop a:hover {
95 color: #a09048;
96 background-color: white;
97 }
98
99 /* All page content from the bottom of the menu or submenu down to
100 ** the footer */
101 div.content {
102 padding: 1ex 5px;
103 }
104 div.content a, div#hbdrop a { color: #706532; }
105 div.content a:link, div#hbdrop a:link { color: #706532; }
106 div.content a:visited, div#hbdrop a:visited { color: #704032; }
107 div.content a:hover, div#hbdrop a:hover {
108 background-color: white; color: #706532;
109 }
110 a, a:visited {
111 text-decoration: none;
112 }
113
114
115 /* Some pages have section dividers */
116 div.section {
117 margin-bottom: 0px;
118 margin-top: 1em;
119
--- skins/khaki/details.txt
+++ skins/khaki/details.txt
@@ -1,4 +1,4 @@
11
timeline-arrowheads: 1
2
-timeline-circle-nodes: 0
3
-timeline-color-graph-lines: 0
2
+timeline-circle-nodes: 1
3
+timeline-color-graph-lines: 1
44
white-foreground: 0
55
--- skins/khaki/details.txt
+++ skins/khaki/details.txt
@@ -1,4 +1,4 @@
1 timeline-arrowheads: 1
2 timeline-circle-nodes: 0
3 timeline-color-graph-lines: 0
4 white-foreground: 0
5
--- skins/khaki/details.txt
+++ skins/khaki/details.txt
@@ -1,4 +1,4 @@
1 timeline-arrowheads: 1
2 timeline-circle-nodes: 1
3 timeline-color-graph-lines: 1
4 white-foreground: 0
5
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -8,38 +8,15 @@
88
} else {
99
puts "Not logged in"
1010
}
1111
</th1></div>
1212
</div>
13
-<div class="mainmenu">
14
-<th1>
15
-html "<a href='$home$index_page'>Home</a>\n"
16
-if {[anycap jor]} {
17
- html "<a href='$home/timeline'>Timeline</a>\n"
18
-}
19
-if {[anoncap oh]} {
20
- html "<a href='$home/tree?ci=tip'>Files</a>\n"
21
-}
22
-if {[anoncap o]} {
23
- html "<a href='$home/brlist'>Branches</a>\n"
24
- html "<a href='$home/taglist'>Tags</a>\n"
25
-}
26
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
27
- html "<a href='$home/forum'>Forum</a>\n"
28
-}
29
-if {[anoncap r]} {
30
- html "<a href='$home/ticket'>Tickets</a>\n"
31
-}
32
-if {[anoncap j]} {
33
- html "<a href='$home/wiki'>Wiki</a>\n"
34
-}
35
-if {[hascap s]} {
36
- html "<a href='$home/setup'>Admin</a>\n"
37
-} elseif {[hascap a]} {
38
- html "<a href='$home/setup_ulist'>Users</a>\n"
39
-}
40
-if {[info exists login]} {
41
- html "<a href='$home/login'>Logout</a>\n"
42
-} else {
43
- html "<a href='$home/login'>Login</a>\n"
13
+<div class="mainmenu"><th1>
14
+html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
15
+builtin_request_js hbmenu.js
16
+foreach {name url expr class} $mainmenu {
17
+ if {![capexpr $expr]} continue
18
+ if {[string match /* $url]} {set url $home$url}
19
+ html "<a href='$url' class='$class'>$name</a>\n"
4420
}
4521
</th1></div>
22
+<div id='hbdrop'></div>
4623
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -8,38 +8,15 @@
8 } else {
9 puts "Not logged in"
10 }
11 </th1></div>
12 </div>
13 <div class="mainmenu">
14 <th1>
15 html "<a href='$home$index_page'>Home</a>\n"
16 if {[anycap jor]} {
17 html "<a href='$home/timeline'>Timeline</a>\n"
18 }
19 if {[anoncap oh]} {
20 html "<a href='$home/tree?ci=tip'>Files</a>\n"
21 }
22 if {[anoncap o]} {
23 html "<a href='$home/brlist'>Branches</a>\n"
24 html "<a href='$home/taglist'>Tags</a>\n"
25 }
26 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
27 html "<a href='$home/forum'>Forum</a>\n"
28 }
29 if {[anoncap r]} {
30 html "<a href='$home/ticket'>Tickets</a>\n"
31 }
32 if {[anoncap j]} {
33 html "<a href='$home/wiki'>Wiki</a>\n"
34 }
35 if {[hascap s]} {
36 html "<a href='$home/setup'>Admin</a>\n"
37 } elseif {[hascap a]} {
38 html "<a href='$home/setup_ulist'>Users</a>\n"
39 }
40 if {[info exists login]} {
41 html "<a href='$home/login'>Logout</a>\n"
42 } else {
43 html "<a href='$home/login'>Login</a>\n"
44 }
45 </th1></div>
 
46
--- skins/khaki/header.txt
+++ skins/khaki/header.txt
@@ -8,38 +8,15 @@
8 } else {
9 puts "Not logged in"
10 }
11 </th1></div>
12 </div>
13 <div class="mainmenu"><th1>
14 html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
15 builtin_request_js hbmenu.js
16 foreach {name url expr class} $mainmenu {
17 if {![capexpr $expr]} continue
18 if {[string match /* $url]} {set url $home$url}
19 html "<a href='$url' class='$class'>$name</a>\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20 }
21 </th1></div>
22 <div id='hbdrop'></div>
23
--- skins/original/css.txt
+++ skins/original/css.txt
@@ -14,11 +14,11 @@
1414
display: table-cell;
1515
text-align: center;
1616
vertical-align: bottom;
1717
font-weight: bold;
1818
color: #558195;
19
- min-width: 200px;
19
+ min-width: 50px;
2020
white-space: nowrap;
2121
}
2222
2323
/* The page title centered at the top of each page */
2424
div.title {
@@ -38,11 +38,10 @@
3838
text-align: right;
3939
vertical-align: bottom;
4040
color: #558195;
4141
font-size: 0.8em;
4242
font-weight: bold;
43
- min-width: 200px;
4443
white-space: nowrap;
4544
}
4645
4746
/* The header across the top of the page */
4847
div.header {
@@ -51,11 +50,11 @@
5150
}
5251
5352
/* The main menu bar that appears at the top of the page beneath
5453
** the header */
5554
div.mainmenu {
56
- padding: 5px 10px 5px 10px;
55
+ padding: 5px;
5756
font-size: 0.9em;
5857
font-weight: bold;
5958
text-align: center;
6059
letter-spacing: 1px;
6160
background-color: #558195;
6261
--- skins/original/css.txt
+++ skins/original/css.txt
@@ -14,11 +14,11 @@
14 display: table-cell;
15 text-align: center;
16 vertical-align: bottom;
17 font-weight: bold;
18 color: #558195;
19 min-width: 200px;
20 white-space: nowrap;
21 }
22
23 /* The page title centered at the top of each page */
24 div.title {
@@ -38,11 +38,10 @@
38 text-align: right;
39 vertical-align: bottom;
40 color: #558195;
41 font-size: 0.8em;
42 font-weight: bold;
43 min-width: 200px;
44 white-space: nowrap;
45 }
46
47 /* The header across the top of the page */
48 div.header {
@@ -51,11 +50,11 @@
51 }
52
53 /* The main menu bar that appears at the top of the page beneath
54 ** the header */
55 div.mainmenu {
56 padding: 5px 10px 5px 10px;
57 font-size: 0.9em;
58 font-weight: bold;
59 text-align: center;
60 letter-spacing: 1px;
61 background-color: #558195;
62
--- skins/original/css.txt
+++ skins/original/css.txt
@@ -14,11 +14,11 @@
14 display: table-cell;
15 text-align: center;
16 vertical-align: bottom;
17 font-weight: bold;
18 color: #558195;
19 min-width: 50px;
20 white-space: nowrap;
21 }
22
23 /* The page title centered at the top of each page */
24 div.title {
@@ -38,11 +38,10 @@
38 text-align: right;
39 vertical-align: bottom;
40 color: #558195;
41 font-size: 0.8em;
42 font-weight: bold;
 
43 white-space: nowrap;
44 }
45
46 /* The header across the top of the page */
47 div.header {
@@ -51,11 +50,11 @@
50 }
51
52 /* The main menu bar that appears at the top of the page beneath
53 ** the header */
54 div.mainmenu {
55 padding: 5px;
56 font-size: 0.9em;
57 font-weight: bold;
58 text-align: center;
59 letter-spacing: 1px;
60 background-color: #558195;
61
--- skins/original/footer.txt
+++ skins/original/footer.txt
@@ -1,5 +1,24 @@
11
<div class="footer">
2
-This page was generated in about
3
-<th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
4
-Fossil $release_version $manifest_version $manifest_date
2
+ <th1>
3
+ proc getTclVersion {} {
4
+ if {[catch {tclEval info patchlevel} tclVersion] == 0} {
5
+ return "<a href=\"https://www.tcl.tk/\">Tcl</a> version $tclVersion"
6
+ }
7
+ return ""
8
+ }
9
+ proc getVersion { version } {
10
+ set length [string length $version]
11
+ return [string range $version 1 [expr {$length - 2}]]
12
+ }
13
+ set version [getVersion $manifest_version]
14
+ set tclVersion [getTclVersion]
15
+ set fossilUrl https://www.fossil-scm.org
16
+ set fossilDate [string range $manifest_date 0 9]T[string range $manifest_date 11 end]
17
+ </th1>
18
+ This page was generated in about
19
+ <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
20
+ <a href="$fossilUrl/">Fossil</a>
21
+ version $release_version $tclVersion
22
+ <a href="$fossilUrl/index.html/info/$version">$manifest_version</a>
23
+ <a href="$fossilUrl/index.html/timeline?c=$fossilDate&amp;y=ci">$manifest_date</a>
524
</div>
625
--- skins/original/footer.txt
+++ skins/original/footer.txt
@@ -1,5 +1,24 @@
1 <div class="footer">
2 This page was generated in about
3 <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
4 Fossil $release_version $manifest_version $manifest_date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5 </div>
6
--- skins/original/footer.txt
+++ skins/original/footer.txt
@@ -1,5 +1,24 @@
1 <div class="footer">
2 <th1>
3 proc getTclVersion {} {
4 if {[catch {tclEval info patchlevel} tclVersion] == 0} {
5 return "<a href=\"https://www.tcl.tk/\">Tcl</a> version $tclVersion"
6 }
7 return ""
8 }
9 proc getVersion { version } {
10 set length [string length $version]
11 return [string range $version 1 [expr {$length - 2}]]
12 }
13 set version [getVersion $manifest_version]
14 set tclVersion [getTclVersion]
15 set fossilUrl https://www.fossil-scm.org
16 set fossilDate [string range $manifest_date 0 9]T[string range $manifest_date 11 end]
17 </th1>
18 This page was generated in about
19 <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
20 <a href="$fossilUrl/">Fossil</a>
21 version $release_version $tclVersion
22 <a href="$fossilUrl/index.html/info/$version">$manifest_version</a>
23 <a href="$fossilUrl/index.html/timeline?c=$fossilDate&amp;y=ci">$manifest_date</a>
24 </div>
25
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -1,46 +1,105 @@
11
<div class="header">
22
<div class="logo">
3
- <img src="$logo_image_url" alt="logo" />
3
+ <th1>
4
+ ##
5
+ ## NOTE: The purpose of this procedure is to take the base URL of the
6
+ ## Fossil project and return the root of the entire web site using
7
+ ## the same URI scheme as the base URL (e.g. http or https).
8
+ ##
9
+ proc getLogoUrl { baseurl } {
10
+ set idx(first) [string first // $baseurl]
11
+ if {$idx(first) != -1} {
12
+ ##
13
+ ## NOTE: Skip second slash.
14
+ ##
15
+ set idx(first+1) [expr {$idx(first) + 2}]
16
+ ##
17
+ ## NOTE: (part 1) The [string first] command does NOT actually
18
+ ## support the optional startIndex argument as specified
19
+ ## in the TH1 support manual; therefore, we fake it by
20
+ ## using the [string range] command and then adding the
21
+ ## necessary offset to the resulting index manually
22
+ ## (below). In Tcl, we could use the following instead:
23
+ ##
24
+ ## set idx(next) [string first / $baseurl $idx(first+1)]
25
+ ##
26
+ set idx(nextRange) [string range $baseurl $idx(first+1) end]
27
+ set idx(next) [string first / $idx(nextRange)]
28
+ if {$idx(next) != -1} {
29
+ ##
30
+ ## NOTE: (part 2) Add the necessary offset to the result of
31
+ ## the search for the next slash (i.e. the one after
32
+ ## the initial search for the two slashes).
33
+ ##
34
+ set idx(next) [expr {$idx(next) + $idx(first+1)}]
35
+ ##
36
+ ## NOTE: Back up one character from the next slash.
37
+ ##
38
+ set idx(next-1) [expr {$idx(next) - 1}]
39
+ ##
40
+ ## NOTE: Extract the URI scheme and host from the base URL.
41
+ ##
42
+ set scheme [string range $baseurl 0 $idx(first)]
43
+ set host [string range $baseurl $idx(first+1) $idx(next-1)]
44
+ ##
45
+ ## NOTE: Try to stay in SSL mode if we are there now.
46
+ ##
47
+ if {[string compare $scheme http:/] == 0} {
48
+ set scheme http://
49
+ } else {
50
+ set scheme https://
51
+ }
52
+ set logourl $scheme$host/
53
+ } else {
54
+ set logourl $baseurl
55
+ }
56
+ } else {
57
+ set logourl $baseurl
58
+ }
59
+ return $logourl
60
+ }
61
+ set logourl [getLogoUrl $baseurl]
62
+ </th1>
63
+ <a href="$logourl">
64
+ <img src="$logo_image_url" border="0" alt="$project_name">
65
+ </a>
466
</div>
5
- <div class="title"><small>$<project_name></small><br />$<title></div>
6
- <div class="status"><th1>
67
+ <div class="title">$<title></div>
68
+ <div class="status"><nobr><th1>
769
if {[info exists login]} {
870
puts "Logged in as $login"
971
} else {
1072
puts "Not logged in"
1173
}
12
- </th1></div>
13
-</div>
14
-<div class="mainmenu">
15
-<th1>
16
-html "<a href='$home$index_page'>Home</a>\n"
17
-if {[anycap jor]} {
18
- html "<a href='$home/timeline'>Timeline</a>\n"
19
-}
20
-if {[anoncap oh]} {
21
- html "<a href='$home/tree?ci=tip'>Files</a>\n"
22
-}
23
-if {[anoncap o]} {
24
- html "<a href='$home/brlist'>Branches</a>\n"
25
- html "<a href='$home/taglist'>Tags</a>\n"
26
-}
27
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
28
- html "<a href='$home/forum'>Forum</a>\n"
29
-}
30
-if {[anoncap r]} {
31
- html "<a href='$home/ticket'>Tickets</a>\n"
32
-}
33
-if {[anoncap j]} {
34
- html "<a href='$home/wiki'>Wiki</a>\n"
35
-}
36
-if {[hascap s]} {
37
- html "<a href='$home/setup'>Admin</a>\n"
38
-} elseif {[hascap a]} {
39
- html "<a href='$home/setup_ulist'>Users</a>\n"
40
-}
41
-if {[info exists login]} {
42
- html "<a href='$home/login'>Logout</a>\n"
43
-} else {
44
- html "<a href='$home/login'>Login</a>\n"
74
+ </th1></nobr><small><div id="clock"></div></small></div>
75
+</div>
76
+<th1>html "<script nonce='$nonce'>"</th1>
77
+function updateClock(){
78
+ var e = document.getElementById("clock");
79
+ if(e){
80
+ var d = new Date();
81
+ function f(n) {
82
+ return n < 10 ? '0' + n : n;
83
+ }
84
+ e.innerHTML = d.getUTCFullYear()+ '-' +
85
+ f(d.getUTCMonth() + 1) + '-' +
86
+ f(d.getUTCDate()) + ' ' +
87
+ f(d.getUTCHours()) + ':' +
88
+ f(d.getUTCMinutes());
89
+ setTimeout(updateClock,(60-d.getUTCSeconds())*1000);
90
+ }
91
+}
92
+updateClock();
93
+</script>
94
+<div class="mainmenu"><th1>
95
+set sitemap 0
96
+foreach {name url expr class} $mainmenu {
97
+ if {![capexpr $expr]} continue
98
+ if {[string match /* $url]} {set url $home$url}
99
+ html "<a href='$url' class='$class'>$name</a>\n"
100
+ if {[string match */sitemap $url]} {set sitemap 1}
101
+}
102
+if {!$sitemap} {
103
+ html "<a href='$home/sitemap'>...</a>"
45104
}
46105
</th1></div>
47106
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -1,46 +1,105 @@
1 <div class="header">
2 <div class="logo">
3 <img src="$logo_image_url" alt="logo" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4 </div>
5 <div class="title"><small>$<project_name></small><br />$<title></div>
6 <div class="status"><th1>
7 if {[info exists login]} {
8 puts "Logged in as $login"
9 } else {
10 puts "Not logged in"
11 }
12 </th1></div>
13 </div>
14 <div class="mainmenu">
15 <th1>
16 html "<a href='$home$index_page'>Home</a>\n"
17 if {[anycap jor]} {
18 html "<a href='$home/timeline'>Timeline</a>\n"
19 }
20 if {[anoncap oh]} {
21 html "<a href='$home/tree?ci=tip'>Files</a>\n"
22 }
23 if {[anoncap o]} {
24 html "<a href='$home/brlist'>Branches</a>\n"
25 html "<a href='$home/taglist'>Tags</a>\n"
26 }
27 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
28 html "<a href='$home/forum'>Forum</a>\n"
29 }
30 if {[anoncap r]} {
31 html "<a href='$home/ticket'>Tickets</a>\n"
32 }
33 if {[anoncap j]} {
34 html "<a href='$home/wiki'>Wiki</a>\n"
35 }
36 if {[hascap s]} {
37 html "<a href='$home/setup'>Admin</a>\n"
38 } elseif {[hascap a]} {
39 html "<a href='$home/setup_ulist'>Users</a>\n"
40 }
41 if {[info exists login]} {
42 html "<a href='$home/login'>Logout</a>\n"
43 } else {
44 html "<a href='$home/login'>Login</a>\n"
45 }
46 </th1></div>
47
--- skins/original/header.txt
+++ skins/original/header.txt
@@ -1,46 +1,105 @@
1 <div class="header">
2 <div class="logo">
3 <th1>
4 ##
5 ## NOTE: The purpose of this procedure is to take the base URL of the
6 ## Fossil project and return the root of the entire web site using
7 ## the same URI scheme as the base URL (e.g. http or https).
8 ##
9 proc getLogoUrl { baseurl } {
10 set idx(first) [string first // $baseurl]
11 if {$idx(first) != -1} {
12 ##
13 ## NOTE: Skip second slash.
14 ##
15 set idx(first+1) [expr {$idx(first) + 2}]
16 ##
17 ## NOTE: (part 1) The [string first] command does NOT actually
18 ## support the optional startIndex argument as specified
19 ## in the TH1 support manual; therefore, we fake it by
20 ## using the [string range] command and then adding the
21 ## necessary offset to the resulting index manually
22 ## (below). In Tcl, we could use the following instead:
23 ##
24 ## set idx(next) [string first / $baseurl $idx(first+1)]
25 ##
26 set idx(nextRange) [string range $baseurl $idx(first+1) end]
27 set idx(next) [string first / $idx(nextRange)]
28 if {$idx(next) != -1} {
29 ##
30 ## NOTE: (part 2) Add the necessary offset to the result of
31 ## the search for the next slash (i.e. the one after
32 ## the initial search for the two slashes).
33 ##
34 set idx(next) [expr {$idx(next) + $idx(first+1)}]
35 ##
36 ## NOTE: Back up one character from the next slash.
37 ##
38 set idx(next-1) [expr {$idx(next) - 1}]
39 ##
40 ## NOTE: Extract the URI scheme and host from the base URL.
41 ##
42 set scheme [string range $baseurl 0 $idx(first)]
43 set host [string range $baseurl $idx(first+1) $idx(next-1)]
44 ##
45 ## NOTE: Try to stay in SSL mode if we are there now.
46 ##
47 if {[string compare $scheme http:/] == 0} {
48 set scheme http://
49 } else {
50 set scheme https://
51 }
52 set logourl $scheme$host/
53 } else {
54 set logourl $baseurl
55 }
56 } else {
57 set logourl $baseurl
58 }
59 return $logourl
60 }
61 set logourl [getLogoUrl $baseurl]
62 </th1>
63 <a href="$logourl">
64 <img src="$logo_image_url" border="0" alt="$project_name">
65 </a>
66 </div>
67 <div class="title">$<title></div>
68 <div class="status"><nobr><th1>
69 if {[info exists login]} {
70 puts "Logged in as $login"
71 } else {
72 puts "Not logged in"
73 }
74 </th1></nobr><small><div id="clock"></div></small></div>
75 </div>
76 <th1>html "<script nonce='$nonce'>"</th1>
77 function updateClock(){
78 var e = document.getElementById("clock");
79 if(e){
80 var d = new Date();
81 function f(n) {
82 return n < 10 ? '0' + n : n;
83 }
84 e.innerHTML = d.getUTCFullYear()+ '-' +
85 f(d.getUTCMonth() + 1) + '-' +
86 f(d.getUTCDate()) + ' ' +
87 f(d.getUTCHours()) + ':' +
88 f(d.getUTCMinutes());
89 setTimeout(updateClock,(60-d.getUTCSeconds())*1000);
90 }
91 }
92 updateClock();
93 </script>
94 <div class="mainmenu"><th1>
95 set sitemap 0
96 foreach {name url expr class} $mainmenu {
97 if {![capexpr $expr]} continue
98 if {[string match /* $url]} {set url $home$url}
99 html "<a href='$url' class='$class'>$name</a>\n"
100 if {[string match */sitemap $url]} {set sitemap 1}
101 }
102 if {!$sitemap} {
103 html "<a href='$home/sitemap'>...</a>"
 
 
 
104 }
105 </th1></div>
106
--- skins/plain_gray/css.txt
+++ skins/plain_gray/css.txt
@@ -7,23 +7,10 @@
77
-moz-text-size-adjust: none;
88
-webkit-text-size-adjust: none;
99
-mx-text-size-adjust: none;
1010
}
1111
12
-/* The project logo in the upper left-hand corner of each page */
13
-div.logo {
14
- display: table-row;
15
- text-align: center;
16
- /* vertical-align: bottom;*/
17
- font-size: 2em;
18
- font-weight: bold;
19
- background-color: #707070;
20
- color: #ffffff;
21
- min-width: 200px;
22
- white-space: nowrap;
23
-}
24
-
2512
/* The page title centered at the top of each page */
2613
div.title {
2714
display: table-cell;
2815
font-size: 1.5em;
2916
font-weight: bold;
@@ -38,13 +25,11 @@
3825
div.status {
3926
display: table-cell;
4027
text-align: right;
4128
vertical-align: bottom;
4229
color: #404040;
43
- font-size: 0.8em;
4430
font-weight: bold;
45
- min-width: 200px;
4631
white-space: nowrap;
4732
}
4833
4934
/* The header across the top of the page */
5035
div.header {
@@ -60,32 +45,55 @@
6045
font-weight: bold;
6146
text-align: center;
6247
letter-spacing: 1px;
6348
background-color: #404040;
6449
color: white;
50
+ z-index: 21; /* just above hbdrop */
51
+}
52
+.hbdrop {
53
+ background-color: white;
54
+ border: 1px solid black;
55
+ border-radius: 0.5em;
56
+ display: none;
57
+ width: 95%;
58
+ position: absolute;
59
+ z-index: 20; /* just below mainmenu, but above timeline bubbles */
6560
}
61
+div.hbdrop a { color: #604000; }
62
+div.hbdrop a:link { color: #604000;}
63
+div.hbdrop a:visited { color: #600000; }
64
+
6665
6766
/* The submenu bar that *sometimes* appears below the main menu */
6867
div.submenu, div.sectionmenu {
6968
padding: 3px 10px 3px 0px;
7069
font-size: 0.9em;
7170
text-align: center;
7271
background-color: #606060;
7372
color: white;
7473
}
75
-div.mainmenu a, div.mainmenu a:visited, div.submenu a, div.submenu a:visited,
76
-div.sectionmenu>a.button:link, div.sectionmenu>a.button:visited,
74
+div.mainmenu a,
75
+div.mainmenu a:visited,
76
+div.submenu a,
77
+div.submenu a:visited,
78
+div.sectionmenu>a.button:link,
79
+div.sectionmenu>a.button:visited,
7780
div.submenu label {
7881
padding: 3px 10px 3px 10px;
7982
color: white;
8083
text-decoration: none;
8184
}
82
-div.mainmenu a:hover, div.submenu a:hover, div.sectionmenu>a.button:hover,
85
+div.mainmenu a:hover,
86
+div.submenu a:hover,
87
+div.sectionmenu>a.button:hover,
8388
div.submenu label:hover {
8489
color: #404040;
8590
background-color: white;
8691
}
92
+a, a:visited {
93
+ text-decoration: none;
94
+}
8795
8896
/* All page content from the bottom of the menu or submenu down to
8997
** the footer */
9098
div.content {
9199
padding: 0ex 0ex 0ex 0ex;
92100
--- skins/plain_gray/css.txt
+++ skins/plain_gray/css.txt
@@ -7,23 +7,10 @@
7 -moz-text-size-adjust: none;
8 -webkit-text-size-adjust: none;
9 -mx-text-size-adjust: none;
10 }
11
12 /* The project logo in the upper left-hand corner of each page */
13 div.logo {
14 display: table-row;
15 text-align: center;
16 /* vertical-align: bottom;*/
17 font-size: 2em;
18 font-weight: bold;
19 background-color: #707070;
20 color: #ffffff;
21 min-width: 200px;
22 white-space: nowrap;
23 }
24
25 /* The page title centered at the top of each page */
26 div.title {
27 display: table-cell;
28 font-size: 1.5em;
29 font-weight: bold;
@@ -38,13 +25,11 @@
38 div.status {
39 display: table-cell;
40 text-align: right;
41 vertical-align: bottom;
42 color: #404040;
43 font-size: 0.8em;
44 font-weight: bold;
45 min-width: 200px;
46 white-space: nowrap;
47 }
48
49 /* The header across the top of the page */
50 div.header {
@@ -60,32 +45,55 @@
60 font-weight: bold;
61 text-align: center;
62 letter-spacing: 1px;
63 background-color: #404040;
64 color: white;
 
 
 
 
 
 
 
 
 
 
65 }
 
 
 
 
66
67 /* The submenu bar that *sometimes* appears below the main menu */
68 div.submenu, div.sectionmenu {
69 padding: 3px 10px 3px 0px;
70 font-size: 0.9em;
71 text-align: center;
72 background-color: #606060;
73 color: white;
74 }
75 div.mainmenu a, div.mainmenu a:visited, div.submenu a, div.submenu a:visited,
76 div.sectionmenu>a.button:link, div.sectionmenu>a.button:visited,
 
 
 
 
77 div.submenu label {
78 padding: 3px 10px 3px 10px;
79 color: white;
80 text-decoration: none;
81 }
82 div.mainmenu a:hover, div.submenu a:hover, div.sectionmenu>a.button:hover,
 
 
83 div.submenu label:hover {
84 color: #404040;
85 background-color: white;
86 }
 
 
 
87
88 /* All page content from the bottom of the menu or submenu down to
89 ** the footer */
90 div.content {
91 padding: 0ex 0ex 0ex 0ex;
92
--- skins/plain_gray/css.txt
+++ skins/plain_gray/css.txt
@@ -7,23 +7,10 @@
7 -moz-text-size-adjust: none;
8 -webkit-text-size-adjust: none;
9 -mx-text-size-adjust: none;
10 }
11
 
 
 
 
 
 
 
 
 
 
 
 
 
12 /* The page title centered at the top of each page */
13 div.title {
14 display: table-cell;
15 font-size: 1.5em;
16 font-weight: bold;
@@ -38,13 +25,11 @@
25 div.status {
26 display: table-cell;
27 text-align: right;
28 vertical-align: bottom;
29 color: #404040;
 
30 font-weight: bold;
 
31 white-space: nowrap;
32 }
33
34 /* The header across the top of the page */
35 div.header {
@@ -60,32 +45,55 @@
45 font-weight: bold;
46 text-align: center;
47 letter-spacing: 1px;
48 background-color: #404040;
49 color: white;
50 z-index: 21; /* just above hbdrop */
51 }
52 .hbdrop {
53 background-color: white;
54 border: 1px solid black;
55 border-radius: 0.5em;
56 display: none;
57 width: 95%;
58 position: absolute;
59 z-index: 20; /* just below mainmenu, but above timeline bubbles */
60 }
61 div.hbdrop a { color: #604000; }
62 div.hbdrop a:link { color: #604000;}
63 div.hbdrop a:visited { color: #600000; }
64
65
66 /* The submenu bar that *sometimes* appears below the main menu */
67 div.submenu, div.sectionmenu {
68 padding: 3px 10px 3px 0px;
69 font-size: 0.9em;
70 text-align: center;
71 background-color: #606060;
72 color: white;
73 }
74 div.mainmenu a,
75 div.mainmenu a:visited,
76 div.submenu a,
77 div.submenu a:visited,
78 div.sectionmenu>a.button:link,
79 div.sectionmenu>a.button:visited,
80 div.submenu label {
81 padding: 3px 10px 3px 10px;
82 color: white;
83 text-decoration: none;
84 }
85 div.mainmenu a:hover,
86 div.submenu a:hover,
87 div.sectionmenu>a.button:hover,
88 div.submenu label:hover {
89 color: #404040;
90 background-color: white;
91 }
92 a, a:visited {
93 text-decoration: none;
94 }
95
96 /* All page content from the bottom of the menu or submenu down to
97 ** the footer */
98 div.content {
99 padding: 0ex 0ex 0ex 0ex;
100
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -1,43 +1,14 @@
11
<div class="header">
2
- <div class="title"><small>$<project_name></small><br />$<title></div>
3
- <div class="status"><th1>
4
- if {[info exists login]} {
5
- puts "Logged in as $login"
6
- } else {
7
- puts "Not logged in"
8
- }
9
- </th1></div>
2
+ <div class="title">$<project_name>: $<title></div>
103
</div>
114
<div class="mainmenu">
125
<th1>
13
-html "<a href='$home$index_page'>Home</a>\n"
14
-if {[anycap jor]} {
15
- html "<a href='$home/timeline'>Timeline</a>\n"
16
-}
17
-if {[anoncap oh]} {
18
- html "<a href='$home/tree?ci=tip'>Files</a>\n"
19
-}
20
-if {[anoncap o]} {
21
- html "<a href='$home/brlist'>Branches</a>\n"
22
- html "<a href='$home/taglist'>Tags</a>\n"
23
-}
24
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
25
- html "<a href='$home/forum'>Forum</a>\n"
26
-}
27
-if {[anoncap r]} {
28
- html "<a href='$home/ticket'>Tickets</a>\n"
29
-}
30
-if {[anoncap j]} {
31
- html "<a href='$home/wiki'>Wiki</a>\n"
32
-}
33
-if {[hascap s]} {
34
- html "<a href='$home/setup'>Admin</a>\n"
35
-} elseif {[hascap a]} {
36
- html "<a href='$home/setup_ulist'>Users</a>\n"
37
-}
38
-if {[info exists login]} {
39
- html "<a href='$home/login'>Logout</a>\n"
40
-} else {
41
- html "<a href='$home/login'>Login</a>\n"
6
+html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
7
+builtin_request_js hbmenu.js
8
+foreach {name url expr class} $mainmenu {
9
+ if {![capexpr $expr]} continue
10
+ if {[string match /* $url]} {set url $home$url}
11
+ html "<a href='$url' class='$class'>$name</a>\n"
4212
}
4313
</th1></div>
14
+<div id='hbdrop' class='hbdrop'></div>
4415
4516
DELETED skins/rounded1/css.txt
4617
DELETED skins/rounded1/details.txt
4718
DELETED skins/rounded1/footer.txt
4819
DELETED skins/rounded1/header.txt
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -1,43 +1,14 @@
1 <div class="header">
2 <div class="title"><small>$<project_name></small><br />$<title></div>
3 <div class="status"><th1>
4 if {[info exists login]} {
5 puts "Logged in as $login"
6 } else {
7 puts "Not logged in"
8 }
9 </th1></div>
10 </div>
11 <div class="mainmenu">
12 <th1>
13 html "<a href='$home$index_page'>Home</a>\n"
14 if {[anycap jor]} {
15 html "<a href='$home/timeline'>Timeline</a>\n"
16 }
17 if {[anoncap oh]} {
18 html "<a href='$home/tree?ci=tip'>Files</a>\n"
19 }
20 if {[anoncap o]} {
21 html "<a href='$home/brlist'>Branches</a>\n"
22 html "<a href='$home/taglist'>Tags</a>\n"
23 }
24 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
25 html "<a href='$home/forum'>Forum</a>\n"
26 }
27 if {[anoncap r]} {
28 html "<a href='$home/ticket'>Tickets</a>\n"
29 }
30 if {[anoncap j]} {
31 html "<a href='$home/wiki'>Wiki</a>\n"
32 }
33 if {[hascap s]} {
34 html "<a href='$home/setup'>Admin</a>\n"
35 } elseif {[hascap a]} {
36 html "<a href='$home/setup_ulist'>Users</a>\n"
37 }
38 if {[info exists login]} {
39 html "<a href='$home/login'>Logout</a>\n"
40 } else {
41 html "<a href='$home/login'>Login</a>\n"
42 }
43 </th1></div>
 
44
45 ELETED skins/rounded1/css.txt
46 ELETED skins/rounded1/details.txt
47 ELETED skins/rounded1/footer.txt
48 ELETED skins/rounded1/header.txt
--- skins/plain_gray/header.txt
+++ skins/plain_gray/header.txt
@@ -1,43 +1,14 @@
1 <div class="header">
2 <div class="title">$<project_name>: $<title></div>
 
 
 
 
 
 
 
3 </div>
4 <div class="mainmenu">
5 <th1>
6 html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
7 builtin_request_js hbmenu.js
8 foreach {name url expr class} $mainmenu {
9 if {![capexpr $expr]} continue
10 if {[string match /* $url]} {set url $home$url}
11 html "<a href='$url' class='$class'>$name</a>\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12 }
13 </th1></div>
14 <div id='hbdrop' class='hbdrop'></div>
15
16 ELETED skins/rounded1/css.txt
17 ELETED skins/rounded1/details.txt
18 ELETED skins/rounded1/footer.txt
19 ELETED skins/rounded1/header.txt
D skins/rounded1/css.txt
-197
--- a/skins/rounded1/css.txt
+++ b/skins/rounded1/css.txt
@@ -1,197 +0,0 @@
1
-/* General settings for the entire page */
2
-html {
3
- min-height: 100%;
4
-}
5
-body {
6
- margin: 0ex 1ex;
7
- padding: 0px;
8
- background-color: white;
9
- color: #333;
10
- font-family: Verdana, sans-serif;
11
- font-size: 0.8em;
12
- -moz-text-size-adjust: none;
13
- -webkit-text-size-adjust: none;
14
- -mx-text-size-adjust: none;
15
-}
16
-
17
-/* The project logo in the upper left-hand corner of each page */
18
-div.logo {
19
- display: table-cell;
20
- text-align: right;
21
- vertical-align: bottom;
22
- font-weight: normal;
23
- white-space: nowrap;
24
-}
25
-
26
-/* Widths */
27
-div.header, div.mainmenu, div.submenu, div.content, div.footer {
28
- max-width: 900px;
29
- margin: auto;
30
- padding: 3px 20px 3px 20px;
31
- clear: both;
32
-}
33
-
34
-/* The page title at the top of each page */
35
-div.title {
36
- display: table-cell;
37
- padding-left: 10px;
38
- font-size: 2em;
39
- margin: 10px 0 10px -20px;
40
- vertical-align: bottom;
41
- text-align: left;
42
- width: 80%;
43
- font-family: Verdana, sans-serif;
44
- font-weight: bold;
45
- color: #558195;
46
- text-shadow: 0px 2px 2px #999999;
47
-}
48
-
49
-/* The login status message in the top right-hand corner */
50
-div.status {
51
- display: table-cell;
52
- text-align: right;
53
- vertical-align: bottom;
54
- color: #333;
55
- margin-right: -20px;
56
- white-space: nowrap;
57
-}
58
-
59
-/* The main menu bar that appears at the top of the page beneath
60
- ** the header */
61
-div.mainmenu {
62
- text-align: center;
63
- color: white;
64
- border-top-left-radius: 5px;
65
- border-top-right-radius: 5px;
66
- vertical-align: middle;
67
- padding-top: 8px;
68
- padding-bottom: 8px;
69
- background-color: #446979;
70
- box-shadow: 0px 3px 4px #333333;
71
-}
72
-
73
-/* The submenu bar that *sometimes* appears below the main menu */
74
-div.submenu {
75
- padding-top:10px;
76
- padding-bottom:0;
77
- text-align: right;
78
- color: #000;
79
- background-color: #fff;
80
- height: 1.5em;
81
- vertical-align:middle;
82
- box-shadow: 0px 3px 4px #999;
83
-}
84
-div.mainmenu a, div.mainmenu a:visited {
85
- padding: 3px 10px 3px 10px;
86
- color: white;
87
- text-decoration: none;
88
-}
89
-div.submenu a, div.submenu a:visited, a.button, div.submenu label,
90
-div.sectionmenu>a.button:link, div.sectionmenu>a.button:visited {
91
- padding: 2px 8px;
92
- color: #000;
93
- font-family: Arial;
94
- text-decoration: none;
95
- margin:auto;
96
- border-radius: 5px;
97
- background-color: #e0e0e0;
98
- text-shadow: 0px -1px 0px #eee;
99
- border: 1px solid #000;
100
-}
101
-
102
-div.mainmenu a:hover {
103
- color: #000;
104
- background-color: white;
105
-}
106
-
107
-div.submenu a:hover, div.sectionmenu>a.button:hover, div.submenu label:hover {
108
- background-color: #c0c0c0;
109
-}
110
-
111
-/* All page content from the bottom of the menu or submenu down to
112
- ** the footer */
113
-div.content {
114
- background-color: #fff;
115
- box-shadow: 0px 3px 4px #999;
116
- border-bottom-right-radius: 5px;
117
- border-bottom-left-radius: 5px;
118
- padding-bottom: 1em;
119
- min-height:40%;
120
-}
121
-
122
-
123
-/* Some pages have section dividers */
124
-div.section {
125
- margin-bottom: 0.5em;
126
- margin-top: 1em;
127
- margin-right: auto;
128
- padding: 1px 1px 1px 1px;
129
- font-size: 1.2em;
130
- font-weight: bold;
131
- text-align: center;
132
- color: white;
133
- border-radius: 5px;
134
- background-color: #446979;
135
- box-shadow: 0px 3px 4px #333333;
136
- white-space: nowrap;
137
-}
138
-
139
-/* The "Date" that occurs on the left hand side of timelines */
140
-div.divider {
141
- font-size: 1.2em;
142
- font-family: Georgia, serif;
143
- font-weight: bold;
144
- margin-top: 1em;
145
- white-space: nowrap;
146
-}
147
-
148
-/* The footer at the very bottom of the page */
149
-div.footer {
150
- font-size: 0.9em;
151
- text-align: right;
152
- margin-bottom: 1em;
153
- color: #666;
154
-}
155
-
156
-/* Hyperlink colors in the footer */
157
-div.footer a { color: white; }
158
-div.footer a:link { color: white; }
159
-div.footer a:visited { color: white; }
160
-div.footer a:hover { background-color: white; color: #558195; }
161
-
162
-/* <verbatim> blocks */
163
-pre.verbatim, blockquote pre {
164
- font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
165
- background-color: #f3f3f3;
166
- padding: 0.5em;
167
- white-space: pre-wrap;
168
-}
169
-
170
-blockquote pre {
171
- border: 1px #000 dashed;
172
-}
173
-
174
-/* The label/value pairs on (for example) the ci page */
175
-table.label-value th {
176
- vertical-align: top;
177
- text-align: right;
178
- padding: 0.2ex 2ex;
179
-}
180
-
181
-table.report tr th {
182
- padding: 3px 5px;
183
- text-transform: capitalize;
184
- cursor: pointer;
185
-}
186
-
187
-table.report tr td {
188
- padding: 3px 5px;
189
-}
190
-
191
-textarea {
192
- font-size: 1em;
193
-}
194
-
195
-.fullsize-text {
196
- font-size: 1.25em;
197
-}
--- a/skins/rounded1/css.txt
+++ b/skins/rounded1/css.txt
@@ -1,197 +0,0 @@
1 /* General settings for the entire page */
2 html {
3 min-height: 100%;
4 }
5 body {
6 margin: 0ex 1ex;
7 padding: 0px;
8 background-color: white;
9 color: #333;
10 font-family: Verdana, sans-serif;
11 font-size: 0.8em;
12 -moz-text-size-adjust: none;
13 -webkit-text-size-adjust: none;
14 -mx-text-size-adjust: none;
15 }
16
17 /* The project logo in the upper left-hand corner of each page */
18 div.logo {
19 display: table-cell;
20 text-align: right;
21 vertical-align: bottom;
22 font-weight: normal;
23 white-space: nowrap;
24 }
25
26 /* Widths */
27 div.header, div.mainmenu, div.submenu, div.content, div.footer {
28 max-width: 900px;
29 margin: auto;
30 padding: 3px 20px 3px 20px;
31 clear: both;
32 }
33
34 /* The page title at the top of each page */
35 div.title {
36 display: table-cell;
37 padding-left: 10px;
38 font-size: 2em;
39 margin: 10px 0 10px -20px;
40 vertical-align: bottom;
41 text-align: left;
42 width: 80%;
43 font-family: Verdana, sans-serif;
44 font-weight: bold;
45 color: #558195;
46 text-shadow: 0px 2px 2px #999999;
47 }
48
49 /* The login status message in the top right-hand corner */
50 div.status {
51 display: table-cell;
52 text-align: right;
53 vertical-align: bottom;
54 color: #333;
55 margin-right: -20px;
56 white-space: nowrap;
57 }
58
59 /* The main menu bar that appears at the top of the page beneath
60 ** the header */
61 div.mainmenu {
62 text-align: center;
63 color: white;
64 border-top-left-radius: 5px;
65 border-top-right-radius: 5px;
66 vertical-align: middle;
67 padding-top: 8px;
68 padding-bottom: 8px;
69 background-color: #446979;
70 box-shadow: 0px 3px 4px #333333;
71 }
72
73 /* The submenu bar that *sometimes* appears below the main menu */
74 div.submenu {
75 padding-top:10px;
76 padding-bottom:0;
77 text-align: right;
78 color: #000;
79 background-color: #fff;
80 height: 1.5em;
81 vertical-align:middle;
82 box-shadow: 0px 3px 4px #999;
83 }
84 div.mainmenu a, div.mainmenu a:visited {
85 padding: 3px 10px 3px 10px;
86 color: white;
87 text-decoration: none;
88 }
89 div.submenu a, div.submenu a:visited, a.button, div.submenu label,
90 div.sectionmenu>a.button:link, div.sectionmenu>a.button:visited {
91 padding: 2px 8px;
92 color: #000;
93 font-family: Arial;
94 text-decoration: none;
95 margin:auto;
96 border-radius: 5px;
97 background-color: #e0e0e0;
98 text-shadow: 0px -1px 0px #eee;
99 border: 1px solid #000;
100 }
101
102 div.mainmenu a:hover {
103 color: #000;
104 background-color: white;
105 }
106
107 div.submenu a:hover, div.sectionmenu>a.button:hover, div.submenu label:hover {
108 background-color: #c0c0c0;
109 }
110
111 /* All page content from the bottom of the menu or submenu down to
112 ** the footer */
113 div.content {
114 background-color: #fff;
115 box-shadow: 0px 3px 4px #999;
116 border-bottom-right-radius: 5px;
117 border-bottom-left-radius: 5px;
118 padding-bottom: 1em;
119 min-height:40%;
120 }
121
122
123 /* Some pages have section dividers */
124 div.section {
125 margin-bottom: 0.5em;
126 margin-top: 1em;
127 margin-right: auto;
128 padding: 1px 1px 1px 1px;
129 font-size: 1.2em;
130 font-weight: bold;
131 text-align: center;
132 color: white;
133 border-radius: 5px;
134 background-color: #446979;
135 box-shadow: 0px 3px 4px #333333;
136 white-space: nowrap;
137 }
138
139 /* The "Date" that occurs on the left hand side of timelines */
140 div.divider {
141 font-size: 1.2em;
142 font-family: Georgia, serif;
143 font-weight: bold;
144 margin-top: 1em;
145 white-space: nowrap;
146 }
147
148 /* The footer at the very bottom of the page */
149 div.footer {
150 font-size: 0.9em;
151 text-align: right;
152 margin-bottom: 1em;
153 color: #666;
154 }
155
156 /* Hyperlink colors in the footer */
157 div.footer a { color: white; }
158 div.footer a:link { color: white; }
159 div.footer a:visited { color: white; }
160 div.footer a:hover { background-color: white; color: #558195; }
161
162 /* <verbatim> blocks */
163 pre.verbatim, blockquote pre {
164 font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
165 background-color: #f3f3f3;
166 padding: 0.5em;
167 white-space: pre-wrap;
168 }
169
170 blockquote pre {
171 border: 1px #000 dashed;
172 }
173
174 /* The label/value pairs on (for example) the ci page */
175 table.label-value th {
176 vertical-align: top;
177 text-align: right;
178 padding: 0.2ex 2ex;
179 }
180
181 table.report tr th {
182 padding: 3px 5px;
183 text-transform: capitalize;
184 cursor: pointer;
185 }
186
187 table.report tr td {
188 padding: 3px 5px;
189 }
190
191 textarea {
192 font-size: 1em;
193 }
194
195 .fullsize-text {
196 font-size: 1.25em;
197 }
--- a/skins/rounded1/css.txt
+++ b/skins/rounded1/css.txt
@@ -1,197 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
D skins/rounded1/details.txt
-3
--- a/skins/rounded1/details.txt
+++ b/skins/rounded1/details.txt
@@ -1,3 +0,0 @@
1
-timeline-arrowheads: 1
2
-t1
3
-timeline-color-graph-lines: 0
--- a/skins/rounded1/details.txt
+++ b/skins/rounded1/details.txt
@@ -1,3 +0,0 @@
1 timeline-arrowheads: 1
2 t1
3 timeline-color-graph-lines: 0
--- a/skins/rounded1/details.txt
+++ b/skins/rounded1/details.txt
@@ -1,3 +0,0 @@
 
 
 
D skins/rounded1/footer.txt
-1
--- a/skins/rounded1/footer.txt
+++ b/skins/rounded1/footer.txt
@@ -1 +0,0 @@
1
-<
--- a/skins/rounded1/footer.txt
+++ b/skins/rounded1/footer.txt
@@ -1 +0,0 @@
1 <
--- a/skins/rounded1/footer.txt
+++ b/skins/rounded1/footer.txt
@@ -1 +0,0 @@
 
D skins/rounded1/header.txt
-44
--- a/skins/rounded1/header.txt
+++ b/skins/rounded1/header.txt
@@ -1,44 +0,0 @@
1
-<div class="header">
2
- <div class="logo">
3
- <img src="$logo_image_url" alt="logo">
4
- <br />$<project_name>
5
- </div>
6
- <div class="title">$<title></div>
7
- <div class="status"><th1>
8
- if {[info exists login]} {
9
- puts "Logged in as $login"
10
- } else {
11
- puts "Not logged in"
12
- }
13
- </th1></div>
14
-</div>
15
-<div class="mainmenu">
16
-<th1>
17
-html "<a href='$home$index_page'>Home</a>\n"
18
-if {[anycap jor]} {
19
- html "<a href='$home/} {
20
- html "<a href='$home/timeline'>Timeline</a>\n"
21
-}
22
-if {[anoncap oh]} {
23
- html "<a href='$home/tree?ci=tip'>Files</a>\n"
24
-}
25
-if {[anoncap o]} {
26
- html "<a href='$home/brlist'>Branches</a>\n"
27
- html "<a href='$home/taglist'>Tags</a>\n"
28
-}
29
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
30
- html "<a href='$home/fooncap r</a>\n"
31
-} elseif {[hascap a]ticket'>Tickets</a>\n"
32
-}
33
-if {[anoncap j]} {
34
- html "<a href='$home/wiki'>Wiki</a>\n"
35
-}
36
-if {[hascap s]} {
37
- html "<a href='$home/setup'>Admin</a>\n"
38
-} elseif {[hascap a]} {
39
- html "<a href='$home/setup_ulist'>Users</a>\n"
40
-}
41
- class="status"><th1>
42
- ifhtml "<a href='$home/login'>Logout</a>\n"
43
-} else {
44
- html "<a href='$home/login'>L
--- a/skins/rounded1/header.txt
+++ b/skins/rounded1/header.txt
@@ -1,44 +0,0 @@
1 <div class="header">
2 <div class="logo">
3 <img src="$logo_image_url" alt="logo">
4 <br />$<project_name>
5 </div>
6 <div class="title">$<title></div>
7 <div class="status"><th1>
8 if {[info exists login]} {
9 puts "Logged in as $login"
10 } else {
11 puts "Not logged in"
12 }
13 </th1></div>
14 </div>
15 <div class="mainmenu">
16 <th1>
17 html "<a href='$home$index_page'>Home</a>\n"
18 if {[anycap jor]} {
19 html "<a href='$home/} {
20 html "<a href='$home/timeline'>Timeline</a>\n"
21 }
22 if {[anoncap oh]} {
23 html "<a href='$home/tree?ci=tip'>Files</a>\n"
24 }
25 if {[anoncap o]} {
26 html "<a href='$home/brlist'>Branches</a>\n"
27 html "<a href='$home/taglist'>Tags</a>\n"
28 }
29 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
30 html "<a href='$home/fooncap r</a>\n"
31 } elseif {[hascap a]ticket'>Tickets</a>\n"
32 }
33 if {[anoncap j]} {
34 html "<a href='$home/wiki'>Wiki</a>\n"
35 }
36 if {[hascap s]} {
37 html "<a href='$home/setup'>Admin</a>\n"
38 } elseif {[hascap a]} {
39 html "<a href='$home/setup_ulist'>Users</a>\n"
40 }
41 class="status"><th1>
42 ifhtml "<a href='$home/login'>Logout</a>\n"
43 } else {
44 html "<a href='$home/login'>L
--- a/skins/rounded1/header.txt
+++ b/skins/rounded1/header.txt
@@ -1,44 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- skins/xekri/css.txt
+++ skins/xekri/css.txt
@@ -1000,15 +1000,15 @@
10001000
/**************************************
10011001
* Did not encounter these
10021002
*/
10031003
10041004
/* selected lines of text within a linenumbered artifact display */
1005
-div.selectedText {
1005
+table.numbered-lines td.line-numbers span.selected-line {
10061006
font-weight: bold;
10071007
color: #00f;
10081008
background-color: #d5d5ff;
1009
- border: 1px #00f solid;
1009
+ border-color: #00f;
10101010
}
10111011
10121012
/* format for missing privileges note on user setup page */
10131013
p.missingPriv {
10141014
color: #00f;
@@ -1118,5 +1118,11 @@
11181118
}
11191119
/* odd table row color */
11201120
tr.row1 {
11211121
/* Use default */
11221122
}
1123
+
1124
+.fossil-PopupWidget,
1125
+.fossil-tooltip.help-buttonlet-content {
1126
+ background-color: #111;
1127
+ border: 1px solid rgba(255,255,255,0.5);
1128
+}
11231129
--- skins/xekri/css.txt
+++ skins/xekri/css.txt
@@ -1000,15 +1000,15 @@
1000 /**************************************
1001 * Did not encounter these
1002 */
1003
1004 /* selected lines of text within a linenumbered artifact display */
1005 div.selectedText {
1006 font-weight: bold;
1007 color: #00f;
1008 background-color: #d5d5ff;
1009 border: 1px #00f solid;
1010 }
1011
1012 /* format for missing privileges note on user setup page */
1013 p.missingPriv {
1014 color: #00f;
@@ -1118,5 +1118,11 @@
1118 }
1119 /* odd table row color */
1120 tr.row1 {
1121 /* Use default */
1122 }
 
 
 
 
 
 
1123
--- skins/xekri/css.txt
+++ skins/xekri/css.txt
@@ -1000,15 +1000,15 @@
1000 /**************************************
1001 * Did not encounter these
1002 */
1003
1004 /* selected lines of text within a linenumbered artifact display */
1005 table.numbered-lines td.line-numbers span.selected-line {
1006 font-weight: bold;
1007 color: #00f;
1008 background-color: #d5d5ff;
1009 border-color: #00f;
1010 }
1011
1012 /* format for missing privileges note on user setup page */
1013 p.missingPriv {
1014 color: #00f;
@@ -1118,5 +1118,11 @@
1118 }
1119 /* odd table row color */
1120 tr.row1 {
1121 /* Use default */
1122 }
1123
1124 .fossil-PopupWidget,
1125 .fossil-tooltip.help-buttonlet-content {
1126 background-color: #111;
1127 border: 1px solid rgba(255,255,255,0.5);
1128 }
1129
--- skins/xekri/details.txt
+++ skins/xekri/details.txt
@@ -1,4 +1,4 @@
11
timeline-arrowheads: 1
22
timeline-circle-nodes: 0
33
timeline-color-graph-lines: 1
4
-white-foreground: 0
4
+white-foreground: 1
55
--- skins/xekri/details.txt
+++ skins/xekri/details.txt
@@ -1,4 +1,4 @@
1 timeline-arrowheads: 1
2 timeline-circle-nodes: 0
3 timeline-color-graph-lines: 1
4 white-foreground: 0
5
--- skins/xekri/details.txt
+++ skins/xekri/details.txt
@@ -1,4 +1,4 @@
1 timeline-arrowheads: 1
2 timeline-circle-nodes: 0
3 timeline-color-graph-lines: 1
4 white-foreground: 1
5
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -89,48 +89,22 @@
8989
setTimeout(updateClock,(60-d.getUTCSeconds())*1000);
9090
}
9191
}
9292
updateClock();
9393
</script>
94
-<div class="mainmenu">
95
-<th1>
96
-proc menulink {url name} {
97
- upvar current_page current
98
- upvar home home
99
- if {[string range $url 0 [string length $current]] eq "/$current"} {
100
- html "<a href='$home$url' class='active'>$name</a>\n"
101
- } else {
102
- html "<a href='$home$url'>$name</a>\n"
103
- }
104
-}
105
-menulink $index_page Home
106
-if {[anycap jor]} {
107
- menulink /timeline Timeline
108
-}
109
-if {[anoncap oh]} {
110
- menulink /dir?ci=tip Files
111
-}
112
-if {[anoncap o]} {
113
- menulink /brlist Branches
114
- menulink /taglist Tags
115
-}
116
-if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
117
- menulink /forum Forum
118
-}
119
-if {[anoncap r]} {
120
- menulink /ticket Tickets
121
-}
122
-if {[anoncap j]} {
123
- menulink /wiki Wiki
124
-}
125
- menulink /sitemap More...
126
-if {[hascap s]} {
127
- menulink /setup Admin
128
-} elseif {[hascap a]} {
129
- menulink /setup_ulist Users
130
-}
131
-if {[info exists login]} {
132
- menulink /login Logout
133
-} else {
134
- menulink /login Login
94
+<div class="mainmenu"><th1>
95
+set sitemap 0
96
+foreach {name url expr class} $mainmenu {
97
+ if {![capexpr $expr]} continue
98
+ if {[string match /* $url]} {
99
+ if {[string match /$current_page* $url]} {
100
+ lappend class active
101
+ }
102
+ set url $home$url
103
+ }
104
+ html "<a href='$url' class='$class'>$name</a>\n"
105
+ if {[string match */sitemap $url]} {set sitemap 1}
106
+}
107
+if {!$sitemap} {
108
+ html "<a href='$home/sitemap'>...</a>\n"
135109
}
136110
</th1></div>
137111
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -89,48 +89,22 @@
89 setTimeout(updateClock,(60-d.getUTCSeconds())*1000);
90 }
91 }
92 updateClock();
93 </script>
94 <div class="mainmenu">
95 <th1>
96 proc menulink {url name} {
97 upvar current_page current
98 upvar home home
99 if {[string range $url 0 [string length $current]] eq "/$current"} {
100 html "<a href='$home$url' class='active'>$name</a>\n"
101 } else {
102 html "<a href='$home$url'>$name</a>\n"
103 }
104 }
105 menulink $index_page Home
106 if {[anycap jor]} {
107 menulink /timeline Timeline
108 }
109 if {[anoncap oh]} {
110 menulink /dir?ci=tip Files
111 }
112 if {[anoncap o]} {
113 menulink /brlist Branches
114 menulink /taglist Tags
115 }
116 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
117 menulink /forum Forum
118 }
119 if {[anoncap r]} {
120 menulink /ticket Tickets
121 }
122 if {[anoncap j]} {
123 menulink /wiki Wiki
124 }
125 menulink /sitemap More...
126 if {[hascap s]} {
127 menulink /setup Admin
128 } elseif {[hascap a]} {
129 menulink /setup_ulist Users
130 }
131 if {[info exists login]} {
132 menulink /login Logout
133 } else {
134 menulink /login Login
135 }
136 </th1></div>
137
--- skins/xekri/header.txt
+++ skins/xekri/header.txt
@@ -89,48 +89,22 @@
89 setTimeout(updateClock,(60-d.getUTCSeconds())*1000);
90 }
91 }
92 updateClock();
93 </script>
94 <div class="mainmenu"><th1>
95 set sitemap 0
96 foreach {name url expr class} $mainmenu {
97 if {![capexpr $expr]} continue
98 if {[string match /* $url]} {
99 if {[string match /$current_page* $url]} {
100 lappend class active
101 }
102 set url $home$url
103 }
104 html "<a href='$url' class='$class'>$name</a>\n"
105 if {[string match */sitemap $url]} {set sitemap 1}
106 }
107 if {!$sitemap} {
108 html "<a href='$home/sitemap'>...</a>\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109 }
110 </th1></div>
111
+62 -67
--- src/add.c
+++ src/add.c
@@ -22,28 +22,10 @@
2222
#include "add.h"
2323
#include <assert.h>
2424
#include <dirent.h>
2525
#include "cygsup.h"
2626
27
-/*
28
-** WARNING: For Fossil version x.x this value was always zero. For Fossil-NG
29
-** it will probably always be one. When this value is zero,
30
-** files in the checkout will not be moved by the "mv" command and
31
-** files in the checkout will not be removed by the "rm" command.
32
-**
33
-** If the FOSSIL_ENABLE_LEGACY_MV_RM compile-time option is used,
34
-** the "mv-rm-files" setting will be consulted instead of using
35
-** this value.
36
-**
37
-** To retain the Fossil version 2.x behavior when using Fossil-NG
38
-** the FOSSIL_ENABLE_LEGACY_MV_RM compile-time option must be used
39
-** -AND- the "mv-rm-files" setting must be set to zero.
40
-*/
41
-#ifndef FOSSIL_MV_RM_FILE
42
-#define FOSSIL_MV_RM_FILE (0)
43
-#endif
44
-
4527
/*
4628
** This routine returns the names of files in a working checkout that
4729
** are created by Fossil itself, and hence should not be added, deleted,
4830
** or merge, and should be omitted from "clean" and "extras" lists.
4931
**
@@ -174,10 +156,11 @@
174156
*/
175157
static int add_one_file(
176158
const char *zPath, /* Tree-name of file to add. */
177159
int vid /* Add to this VFILE */
178160
){
161
+ int doSkip = 0;
179162
if( !file_is_simple_pathname(zPath, 1) ){
180163
fossil_warning("filename contains illegal characters: %s", zPath);
181164
return 0;
182165
}
183166
if( db_exists("SELECT 1 FROM vfile"
@@ -186,17 +169,23 @@
186169
" WHERE pathname=%Q %s AND deleted",
187170
zPath, filename_collation());
188171
}else{
189172
char *zFullname = mprintf("%s%s", g.zLocalRoot, zPath);
190173
int isExe = file_isexe(zFullname, RepoFILE);
191
- db_multi_exec(
192
- "INSERT INTO vfile(vid,deleted,rid,mrid,pathname,isexe,islink,mhash)"
193
- "VALUES(%d,0,0,0,%Q,%d,%d,NULL)",
194
- vid, zPath, isExe, file_islink(0));
174
+ int isLink = file_islink(0);
175
+ if( file_nondir_objects_on_path(g.zLocalRoot, zFullname) ){
176
+ /* Do not add unsafe files to the vfile */
177
+ doSkip = 1;
178
+ }else{
179
+ db_multi_exec(
180
+ "INSERT INTO vfile(vid,deleted,rid,mrid,pathname,isexe,islink,mhash)"
181
+ "VALUES(%d,0,0,0,%Q,%d,%d,NULL)",
182
+ vid, zPath, isExe, isLink);
183
+ }
195184
fossil_free(zFullname);
196185
}
197
- if( db_changes() ){
186
+ if( db_changes() && !doSkip ){
198187
fossil_print("ADDED %s\n", zPath);
199188
return 1;
200189
}else{
201190
fossil_print("SKIP %s\n", zPath);
202191
return 0;
@@ -204,11 +193,13 @@
204193
}
205194
206195
/*
207196
** Add all files in the sfile temp table.
208197
**
209
-** Automatically exclude the repository file.
198
+** Automatically exclude the repository file and any other files
199
+** with reserved names. Also exclude files that are beneath an
200
+** existing symlink.
210201
*/
211202
static int add_files_in_sfile(int vid){
212203
const char *zRepo; /* Name of the repository database file */
213204
int nAdd = 0; /* Number of files added */
214205
int i; /* Loop counter */
@@ -226,18 +217,30 @@
226217
if( filenames_are_case_sensitive() ){
227218
xCmp = fossil_strcmp;
228219
}else{
229220
xCmp = fossil_stricmp;
230221
}
231
- db_prepare(&loop, "SELECT pathname FROM sfile ORDER BY pathname");
222
+ db_prepare(&loop,
223
+ "SELECT pathname FROM sfile"
224
+ " WHERE pathname NOT IN ("
225
+ "SELECT sfile.pathname FROM vfile, sfile"
226
+ " WHERE vfile.islink"
227
+ " AND NOT vfile.deleted"
228
+ " AND sfile.pathname>(vfile.pathname||'/')"
229
+ " AND sfile.pathname<(vfile.pathname||'0'))"
230
+ " ORDER BY pathname");
232231
while( db_step(&loop)==SQLITE_ROW ){
233232
const char *zToAdd = db_column_text(&loop, 0);
234233
if( fossil_strcmp(zToAdd, zRepo)==0 ) continue;
235
- for(i=0; (zReserved = fossil_reserved_name(i, 0))!=0; i++){
236
- if( xCmp(zToAdd, zReserved)==0 ) break;
234
+ if( strchr(zToAdd,'/') ){
235
+ if( file_is_reserved_name(zToAdd, -1) ) continue;
236
+ }else{
237
+ for(i=0; (zReserved = fossil_reserved_name(i, 0))!=0; i++){
238
+ if( xCmp(zToAdd, zReserved)==0 ) break;
239
+ }
240
+ if( zReserved ) continue;
237241
}
238
- if( zReserved ) continue;
239242
nAdd += add_one_file(zToAdd, vid);
240243
}
241244
db_finalize(&loop);
242245
blob_reset(&repoName);
243246
return nAdd;
@@ -338,11 +341,11 @@
338341
** COMMAND: add
339342
**
340343
** Usage: %fossil add ?OPTIONS? FILE1 ?FILE2 ...?
341344
**
342345
** Make arrangements to add one or more files or directories to the
343
-** current checkout at the next commit.
346
+** current checkout at the next [[commit]].
344347
**
345348
** When adding files or directories recursively, filenames that begin
346349
** with "." are excluded by default. To include such files, add
347350
** the "--dotfiles" option to the command-line.
348351
**
@@ -360,17 +363,17 @@
360363
** be treated case sensitive or not. If the option is not given, the default
361364
** depends on the global setting, or the operating system default, if not set.
362365
**
363366
** Options:
364367
**
365
-** --case-sensitive <BOOL> Override the case-sensitive setting.
368
+** --case-sensitive BOOL Override the case-sensitive setting.
366369
** --dotfiles include files beginning with a dot (".")
367370
** -f|--force Add files without prompting
368
-** --ignore <CSG> Ignore unmanaged files matching patterns from
369
-** the comma separated list of glob patterns.
370
-** --clean <CSG> Also ignore files matching patterns from
371
-** the comma separated list of glob patterns.
371
+** --ignore CSG Ignore unmanaged files matching patterns from
372
+** the Comma Separated Glob (CSG) pattern list
373
+** --clean CSG Also ignore files matching patterns from
374
+** the Comma Separated Glob (CSG) list
372375
** --reset Reset the ADDED state of a checkout, such
373376
** that all newly-added (but not yet committed)
374377
** files are no longer added. No flags other
375378
** than --verbose and --dry-run may be used
376379
** with --reset.
@@ -377,11 +380,11 @@
377380
**
378381
** The following options are only valid with --reset:
379382
** -v|--verbose Outputs information about each --reset file.
380383
** -n|--dry-run Display instead of run actions.
381384
**
382
-** See also: addremove, rm
385
+** See also: [[addremove]], [[rm]]
383386
*/
384387
void add_cmd(void){
385388
int i; /* Loop counter */
386389
int vid; /* Currently checked out version */
387390
int nRoot; /* Full path characters in g.zLocalRoot */
@@ -549,21 +552,21 @@
549552
**
550553
** Options:
551554
** --soft Skip removing files from the checkout.
552555
** This supersedes the --hard option.
553556
** --hard Remove files from the checkout.
554
-** --case-sensitive <BOOL> Override the case-sensitive setting.
557
+** --case-sensitive BOOL Override the case-sensitive setting.
555558
** -n|--dry-run If given, display instead of run actions.
556559
** --reset Reset the DELETED state of a checkout, such
557560
** that all newly-rm'd (but not yet committed)
558561
** files are no longer removed. No flags other
559562
** than --verbose or --dry-run may be used with
560563
** --reset.
561
-** --verbose|-v Outputs information about each --reset file.
564
+** -v|--verbose Outputs information about each --reset file.
562565
** Only usable with --reset.
563566
**
564
-** See also: addremove, add
567
+** See also: [[addremove]], [[add]]
565568
*/
566569
void delete_cmd(void){
567570
int i;
568571
int removeFiles;
569572
int dryRunFlag = find_option("dry-run","n",0)!=0;
@@ -592,15 +595,11 @@
592595
}else if( softFlag ){
593596
removeFiles = 0;
594597
}else if( hardFlag ){
595598
removeFiles = 1;
596599
}else{
597
-#if FOSSIL_ENABLE_LEGACY_MV_RM
598600
removeFiles = db_get_boolean("mv-rm-files",0);
599
-#else
600
- removeFiles = FOSSIL_MV_RM_FILE;
601
-#endif
602601
}
603602
db_multi_exec("CREATE TEMP TABLE sfile(pathname TEXT PRIMARY KEY %s)",
604603
filename_collation());
605604
for(i=2; i<g.argc; i++){
606605
Blob treeName;
@@ -655,11 +654,11 @@
655654
** the case-sensitive setting is undefined, then case sensitivity
656655
** defaults off for Cygwin, Mac and Windows and on for all other unix.
657656
** If case-sensitivity is enabled in the windows kernel, the Cygwin port
658657
** of fossil.exe can detect that, and modifies the default to 'on'.
659658
**
660
-** The --case-sensitive <BOOL> command-line option overrides any
659
+** The "--case-sensitive BOOL" command-line option overrides any
661660
** setting.
662661
*/
663662
int filenames_are_case_sensitive(void){
664663
static int caseSensitive;
665664
static int once = 1;
@@ -711,22 +710,22 @@
711710
/*
712711
** COMMAND: addremove
713712
**
714713
** Usage: %fossil addremove ?OPTIONS?
715714
**
716
-** Do all necessary "add" and "rm" commands to synchronize the repository
717
-** with the content of the working checkout:
715
+** Do all necessary "[[add]]" and "[[rm]]" commands to synchronize the
716
+** repository with the content of the working checkout:
718717
**
719718
** * All files in the checkout but not in the repository (that is,
720719
** all files displayed using the "extras" command) are added as
721
-** if by the "add" command.
720
+** if by the "[[add]]" command.
722721
**
723722
** * All files in the repository but missing from the checkout (that is,
724723
** all files that show as MISSING with the "status" command) are
725
-** removed as if by the "rm" command.
724
+** removed as if by the "[[rm]]" command.
726725
**
727
-** The command does not "commit". You must run the "commit" separately
726
+** The command does not "[[commit]]". You must run the "[[commit]]" separately
728727
** as a separate step.
729728
**
730729
** Files and directories whose names begin with "." are ignored unless
731730
** the --dotfiles option is used.
732731
**
@@ -739,27 +738,27 @@
739738
** anything.
740739
**
741740
** This command can be used to track third party software.
742741
**
743742
** Options:
744
-** --case-sensitive <BOOL> Override the case-sensitive setting.
743
+** --case-sensitive BOOL Override the case-sensitive setting.
745744
** --dotfiles Include files beginning with a dot (".")
746
-** --ignore <CSG> Ignore unmanaged files matching patterns from
747
-** the comma separated list of glob patterns.
748
-** --clean <CSG> Also ignore files matching patterns from
749
-** the comma separated list of glob patterns.
745
+** --ignore CSG Ignore unmanaged files matching patterns from
746
+** the Comma Separated Glob (CSG) list
747
+** --clean CSG Also ignore files matching patterns from
748
+** the Comma Separated Glob (CSG) list
750749
** -n|--dry-run If given, display instead of run actions.
751750
** --reset Reset the ADDED/DELETED state of a checkout,
752751
** such that all newly-added (but not yet committed)
753752
** files are no longer added and all newly-removed
754753
** (but not yet committed) files are no longer
755754
** removed. No flags other than --verbose and
756755
** --dry-run may be used with --reset.
757
-** --verbose|-v Outputs information about each --reset file.
756
+** -v|--verbose Outputs information about each --reset file.
758757
** Only usable with --reset.
759758
**
760
-** See also: add, rm
759
+** See also: [[add]], [[rm]]
761760
*/
762761
void addremove_cmd(void){
763762
Blob path;
764763
const char *zCleanFlag;
765764
const char *zIgnoreFlag;
@@ -975,11 +974,11 @@
975974
** Move or rename one or more files or directories within the repository tree.
976975
** You can either rename a file or directory or move it to another subdirectory.
977976
**
978977
** The 'mv' command does NOT normally rename or move the files on disk.
979978
** This command merely records the fact that file names have changed so
980
-** that appropriate notations can be made at the next commit/check-in.
979
+** that appropriate notations can be made at the next [[commit]].
981980
** However, the default behavior of this command may be overridden via
982981
** command line options listed below and/or the 'mv-rm-files' setting.
983982
**
984983
** The 'rename' command never renames or moves files on disk, even when the
985984
** command line options and/or the 'mv-rm-files' setting would otherwise
@@ -988,17 +987,17 @@
988987
** WARNING: If the "--hard" option is specified -OR- the "mv-rm-files"
989988
** setting is non-zero, files WILL BE renamed or moved on disk
990989
** as well. This does NOT apply to the 'rename' command.
991990
**
992991
** Options:
993
-** --soft Skip moving files within the checkout.
994
-** This supersedes the --hard option.
995
-** --hard Move files within the checkout.
996
-** --case-sensitive <BOOL> Override the case-sensitive setting.
997
-** -n|--dry-run If given, display instead of run actions.
992
+** --soft Skip moving files within the checkout.
993
+** This supersedes the --hard option.
994
+** --hard Move files within the checkout.
995
+** --case-sensitive BOOL Override the case-sensitive setting.
996
+** -n|--dry-run If given, display instead of run actions.
998997
**
999
-** See also: changes, status
998
+** See also: [[changes]], [[status]]
1000999
*/
10011000
void mv_cmd(void){
10021001
int i;
10031002
int vid;
10041003
int moveFiles;
@@ -1033,15 +1032,11 @@
10331032
}else if( softFlag ){
10341033
moveFiles = 0;
10351034
}else if( hardFlag ){
10361035
moveFiles = 1;
10371036
}else{
1038
-#if FOSSIL_ENABLE_LEGACY_MV_RM
10391037
moveFiles = db_get_boolean("mv-rm-files",0);
1040
-#else
1041
- moveFiles = FOSSIL_MV_RM_FILE;
1042
-#endif
10431038
}
10441039
file_tree_name(zDest, &dest, 0, 1);
10451040
db_multi_exec(
10461041
"UPDATE vfile SET origname=pathname WHERE origname IS NULL;"
10471042
);
@@ -1090,11 +1085,11 @@
10901085
const char *zPath = db_column_text(&q, 0);
10911086
int nPath = db_column_bytes(&q, 0);
10921087
const char *zTail;
10931088
if( nPath==nOrig ){
10941089
zTail = file_tail(zPath);
1095
- }else if( destType==1 ){
1090
+ }else if( origType!=0 && destType==1 ){
10961091
zTail = &zPath[nOrig-strlen(file_tail(zOrig))];
10971092
}else{
10981093
zTail = &zPath[nOrig+1];
10991094
}
11001095
db_multi_exec(
11011096
11021097
ADDED src/ajax.c
--- src/add.c
+++ src/add.c
@@ -22,28 +22,10 @@
22 #include "add.h"
23 #include <assert.h>
24 #include <dirent.h>
25 #include "cygsup.h"
26
27 /*
28 ** WARNING: For Fossil version x.x this value was always zero. For Fossil-NG
29 ** it will probably always be one. When this value is zero,
30 ** files in the checkout will not be moved by the "mv" command and
31 ** files in the checkout will not be removed by the "rm" command.
32 **
33 ** If the FOSSIL_ENABLE_LEGACY_MV_RM compile-time option is used,
34 ** the "mv-rm-files" setting will be consulted instead of using
35 ** this value.
36 **
37 ** To retain the Fossil version 2.x behavior when using Fossil-NG
38 ** the FOSSIL_ENABLE_LEGACY_MV_RM compile-time option must be used
39 ** -AND- the "mv-rm-files" setting must be set to zero.
40 */
41 #ifndef FOSSIL_MV_RM_FILE
42 #define FOSSIL_MV_RM_FILE (0)
43 #endif
44
45 /*
46 ** This routine returns the names of files in a working checkout that
47 ** are created by Fossil itself, and hence should not be added, deleted,
48 ** or merge, and should be omitted from "clean" and "extras" lists.
49 **
@@ -174,10 +156,11 @@
174 */
175 static int add_one_file(
176 const char *zPath, /* Tree-name of file to add. */
177 int vid /* Add to this VFILE */
178 ){
 
179 if( !file_is_simple_pathname(zPath, 1) ){
180 fossil_warning("filename contains illegal characters: %s", zPath);
181 return 0;
182 }
183 if( db_exists("SELECT 1 FROM vfile"
@@ -186,17 +169,23 @@
186 " WHERE pathname=%Q %s AND deleted",
187 zPath, filename_collation());
188 }else{
189 char *zFullname = mprintf("%s%s", g.zLocalRoot, zPath);
190 int isExe = file_isexe(zFullname, RepoFILE);
191 db_multi_exec(
192 "INSERT INTO vfile(vid,deleted,rid,mrid,pathname,isexe,islink,mhash)"
193 "VALUES(%d,0,0,0,%Q,%d,%d,NULL)",
194 vid, zPath, isExe, file_islink(0));
 
 
 
 
 
 
195 fossil_free(zFullname);
196 }
197 if( db_changes() ){
198 fossil_print("ADDED %s\n", zPath);
199 return 1;
200 }else{
201 fossil_print("SKIP %s\n", zPath);
202 return 0;
@@ -204,11 +193,13 @@
204 }
205
206 /*
207 ** Add all files in the sfile temp table.
208 **
209 ** Automatically exclude the repository file.
 
 
210 */
211 static int add_files_in_sfile(int vid){
212 const char *zRepo; /* Name of the repository database file */
213 int nAdd = 0; /* Number of files added */
214 int i; /* Loop counter */
@@ -226,18 +217,30 @@
226 if( filenames_are_case_sensitive() ){
227 xCmp = fossil_strcmp;
228 }else{
229 xCmp = fossil_stricmp;
230 }
231 db_prepare(&loop, "SELECT pathname FROM sfile ORDER BY pathname");
 
 
 
 
 
 
 
 
232 while( db_step(&loop)==SQLITE_ROW ){
233 const char *zToAdd = db_column_text(&loop, 0);
234 if( fossil_strcmp(zToAdd, zRepo)==0 ) continue;
235 for(i=0; (zReserved = fossil_reserved_name(i, 0))!=0; i++){
236 if( xCmp(zToAdd, zReserved)==0 ) break;
 
 
 
 
 
237 }
238 if( zReserved ) continue;
239 nAdd += add_one_file(zToAdd, vid);
240 }
241 db_finalize(&loop);
242 blob_reset(&repoName);
243 return nAdd;
@@ -338,11 +341,11 @@
338 ** COMMAND: add
339 **
340 ** Usage: %fossil add ?OPTIONS? FILE1 ?FILE2 ...?
341 **
342 ** Make arrangements to add one or more files or directories to the
343 ** current checkout at the next commit.
344 **
345 ** When adding files or directories recursively, filenames that begin
346 ** with "." are excluded by default. To include such files, add
347 ** the "--dotfiles" option to the command-line.
348 **
@@ -360,17 +363,17 @@
360 ** be treated case sensitive or not. If the option is not given, the default
361 ** depends on the global setting, or the operating system default, if not set.
362 **
363 ** Options:
364 **
365 ** --case-sensitive <BOOL> Override the case-sensitive setting.
366 ** --dotfiles include files beginning with a dot (".")
367 ** -f|--force Add files without prompting
368 ** --ignore <CSG> Ignore unmanaged files matching patterns from
369 ** the comma separated list of glob patterns.
370 ** --clean <CSG> Also ignore files matching patterns from
371 ** the comma separated list of glob patterns.
372 ** --reset Reset the ADDED state of a checkout, such
373 ** that all newly-added (but not yet committed)
374 ** files are no longer added. No flags other
375 ** than --verbose and --dry-run may be used
376 ** with --reset.
@@ -377,11 +380,11 @@
377 **
378 ** The following options are only valid with --reset:
379 ** -v|--verbose Outputs information about each --reset file.
380 ** -n|--dry-run Display instead of run actions.
381 **
382 ** See also: addremove, rm
383 */
384 void add_cmd(void){
385 int i; /* Loop counter */
386 int vid; /* Currently checked out version */
387 int nRoot; /* Full path characters in g.zLocalRoot */
@@ -549,21 +552,21 @@
549 **
550 ** Options:
551 ** --soft Skip removing files from the checkout.
552 ** This supersedes the --hard option.
553 ** --hard Remove files from the checkout.
554 ** --case-sensitive <BOOL> Override the case-sensitive setting.
555 ** -n|--dry-run If given, display instead of run actions.
556 ** --reset Reset the DELETED state of a checkout, such
557 ** that all newly-rm'd (but not yet committed)
558 ** files are no longer removed. No flags other
559 ** than --verbose or --dry-run may be used with
560 ** --reset.
561 ** --verbose|-v Outputs information about each --reset file.
562 ** Only usable with --reset.
563 **
564 ** See also: addremove, add
565 */
566 void delete_cmd(void){
567 int i;
568 int removeFiles;
569 int dryRunFlag = find_option("dry-run","n",0)!=0;
@@ -592,15 +595,11 @@
592 }else if( softFlag ){
593 removeFiles = 0;
594 }else if( hardFlag ){
595 removeFiles = 1;
596 }else{
597 #if FOSSIL_ENABLE_LEGACY_MV_RM
598 removeFiles = db_get_boolean("mv-rm-files",0);
599 #else
600 removeFiles = FOSSIL_MV_RM_FILE;
601 #endif
602 }
603 db_multi_exec("CREATE TEMP TABLE sfile(pathname TEXT PRIMARY KEY %s)",
604 filename_collation());
605 for(i=2; i<g.argc; i++){
606 Blob treeName;
@@ -655,11 +654,11 @@
655 ** the case-sensitive setting is undefined, then case sensitivity
656 ** defaults off for Cygwin, Mac and Windows and on for all other unix.
657 ** If case-sensitivity is enabled in the windows kernel, the Cygwin port
658 ** of fossil.exe can detect that, and modifies the default to 'on'.
659 **
660 ** The --case-sensitive <BOOL> command-line option overrides any
661 ** setting.
662 */
663 int filenames_are_case_sensitive(void){
664 static int caseSensitive;
665 static int once = 1;
@@ -711,22 +710,22 @@
711 /*
712 ** COMMAND: addremove
713 **
714 ** Usage: %fossil addremove ?OPTIONS?
715 **
716 ** Do all necessary "add" and "rm" commands to synchronize the repository
717 ** with the content of the working checkout:
718 **
719 ** * All files in the checkout but not in the repository (that is,
720 ** all files displayed using the "extras" command) are added as
721 ** if by the "add" command.
722 **
723 ** * All files in the repository but missing from the checkout (that is,
724 ** all files that show as MISSING with the "status" command) are
725 ** removed as if by the "rm" command.
726 **
727 ** The command does not "commit". You must run the "commit" separately
728 ** as a separate step.
729 **
730 ** Files and directories whose names begin with "." are ignored unless
731 ** the --dotfiles option is used.
732 **
@@ -739,27 +738,27 @@
739 ** anything.
740 **
741 ** This command can be used to track third party software.
742 **
743 ** Options:
744 ** --case-sensitive <BOOL> Override the case-sensitive setting.
745 ** --dotfiles Include files beginning with a dot (".")
746 ** --ignore <CSG> Ignore unmanaged files matching patterns from
747 ** the comma separated list of glob patterns.
748 ** --clean <CSG> Also ignore files matching patterns from
749 ** the comma separated list of glob patterns.
750 ** -n|--dry-run If given, display instead of run actions.
751 ** --reset Reset the ADDED/DELETED state of a checkout,
752 ** such that all newly-added (but not yet committed)
753 ** files are no longer added and all newly-removed
754 ** (but not yet committed) files are no longer
755 ** removed. No flags other than --verbose and
756 ** --dry-run may be used with --reset.
757 ** --verbose|-v Outputs information about each --reset file.
758 ** Only usable with --reset.
759 **
760 ** See also: add, rm
761 */
762 void addremove_cmd(void){
763 Blob path;
764 const char *zCleanFlag;
765 const char *zIgnoreFlag;
@@ -975,11 +974,11 @@
975 ** Move or rename one or more files or directories within the repository tree.
976 ** You can either rename a file or directory or move it to another subdirectory.
977 **
978 ** The 'mv' command does NOT normally rename or move the files on disk.
979 ** This command merely records the fact that file names have changed so
980 ** that appropriate notations can be made at the next commit/check-in.
981 ** However, the default behavior of this command may be overridden via
982 ** command line options listed below and/or the 'mv-rm-files' setting.
983 **
984 ** The 'rename' command never renames or moves files on disk, even when the
985 ** command line options and/or the 'mv-rm-files' setting would otherwise
@@ -988,17 +987,17 @@
988 ** WARNING: If the "--hard" option is specified -OR- the "mv-rm-files"
989 ** setting is non-zero, files WILL BE renamed or moved on disk
990 ** as well. This does NOT apply to the 'rename' command.
991 **
992 ** Options:
993 ** --soft Skip moving files within the checkout.
994 ** This supersedes the --hard option.
995 ** --hard Move files within the checkout.
996 ** --case-sensitive <BOOL> Override the case-sensitive setting.
997 ** -n|--dry-run If given, display instead of run actions.
998 **
999 ** See also: changes, status
1000 */
1001 void mv_cmd(void){
1002 int i;
1003 int vid;
1004 int moveFiles;
@@ -1033,15 +1032,11 @@
1033 }else if( softFlag ){
1034 moveFiles = 0;
1035 }else if( hardFlag ){
1036 moveFiles = 1;
1037 }else{
1038 #if FOSSIL_ENABLE_LEGACY_MV_RM
1039 moveFiles = db_get_boolean("mv-rm-files",0);
1040 #else
1041 moveFiles = FOSSIL_MV_RM_FILE;
1042 #endif
1043 }
1044 file_tree_name(zDest, &dest, 0, 1);
1045 db_multi_exec(
1046 "UPDATE vfile SET origname=pathname WHERE origname IS NULL;"
1047 );
@@ -1090,11 +1085,11 @@
1090 const char *zPath = db_column_text(&q, 0);
1091 int nPath = db_column_bytes(&q, 0);
1092 const char *zTail;
1093 if( nPath==nOrig ){
1094 zTail = file_tail(zPath);
1095 }else if( destType==1 ){
1096 zTail = &zPath[nOrig-strlen(file_tail(zOrig))];
1097 }else{
1098 zTail = &zPath[nOrig+1];
1099 }
1100 db_multi_exec(
1101
1102 DDED src/ajax.c
--- src/add.c
+++ src/add.c
@@ -22,28 +22,10 @@
22 #include "add.h"
23 #include <assert.h>
24 #include <dirent.h>
25 #include "cygsup.h"
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27 /*
28 ** This routine returns the names of files in a working checkout that
29 ** are created by Fossil itself, and hence should not be added, deleted,
30 ** or merge, and should be omitted from "clean" and "extras" lists.
31 **
@@ -174,10 +156,11 @@
156 */
157 static int add_one_file(
158 const char *zPath, /* Tree-name of file to add. */
159 int vid /* Add to this VFILE */
160 ){
161 int doSkip = 0;
162 if( !file_is_simple_pathname(zPath, 1) ){
163 fossil_warning("filename contains illegal characters: %s", zPath);
164 return 0;
165 }
166 if( db_exists("SELECT 1 FROM vfile"
@@ -186,17 +169,23 @@
169 " WHERE pathname=%Q %s AND deleted",
170 zPath, filename_collation());
171 }else{
172 char *zFullname = mprintf("%s%s", g.zLocalRoot, zPath);
173 int isExe = file_isexe(zFullname, RepoFILE);
174 int isLink = file_islink(0);
175 if( file_nondir_objects_on_path(g.zLocalRoot, zFullname) ){
176 /* Do not add unsafe files to the vfile */
177 doSkip = 1;
178 }else{
179 db_multi_exec(
180 "INSERT INTO vfile(vid,deleted,rid,mrid,pathname,isexe,islink,mhash)"
181 "VALUES(%d,0,0,0,%Q,%d,%d,NULL)",
182 vid, zPath, isExe, isLink);
183 }
184 fossil_free(zFullname);
185 }
186 if( db_changes() && !doSkip ){
187 fossil_print("ADDED %s\n", zPath);
188 return 1;
189 }else{
190 fossil_print("SKIP %s\n", zPath);
191 return 0;
@@ -204,11 +193,13 @@
193 }
194
195 /*
196 ** Add all files in the sfile temp table.
197 **
198 ** Automatically exclude the repository file and any other files
199 ** with reserved names. Also exclude files that are beneath an
200 ** existing symlink.
201 */
202 static int add_files_in_sfile(int vid){
203 const char *zRepo; /* Name of the repository database file */
204 int nAdd = 0; /* Number of files added */
205 int i; /* Loop counter */
@@ -226,18 +217,30 @@
217 if( filenames_are_case_sensitive() ){
218 xCmp = fossil_strcmp;
219 }else{
220 xCmp = fossil_stricmp;
221 }
222 db_prepare(&loop,
223 "SELECT pathname FROM sfile"
224 " WHERE pathname NOT IN ("
225 "SELECT sfile.pathname FROM vfile, sfile"
226 " WHERE vfile.islink"
227 " AND NOT vfile.deleted"
228 " AND sfile.pathname>(vfile.pathname||'/')"
229 " AND sfile.pathname<(vfile.pathname||'0'))"
230 " ORDER BY pathname");
231 while( db_step(&loop)==SQLITE_ROW ){
232 const char *zToAdd = db_column_text(&loop, 0);
233 if( fossil_strcmp(zToAdd, zRepo)==0 ) continue;
234 if( strchr(zToAdd,'/') ){
235 if( file_is_reserved_name(zToAdd, -1) ) continue;
236 }else{
237 for(i=0; (zReserved = fossil_reserved_name(i, 0))!=0; i++){
238 if( xCmp(zToAdd, zReserved)==0 ) break;
239 }
240 if( zReserved ) continue;
241 }
 
242 nAdd += add_one_file(zToAdd, vid);
243 }
244 db_finalize(&loop);
245 blob_reset(&repoName);
246 return nAdd;
@@ -338,11 +341,11 @@
341 ** COMMAND: add
342 **
343 ** Usage: %fossil add ?OPTIONS? FILE1 ?FILE2 ...?
344 **
345 ** Make arrangements to add one or more files or directories to the
346 ** current checkout at the next [[commit]].
347 **
348 ** When adding files or directories recursively, filenames that begin
349 ** with "." are excluded by default. To include such files, add
350 ** the "--dotfiles" option to the command-line.
351 **
@@ -360,17 +363,17 @@
363 ** be treated case sensitive or not. If the option is not given, the default
364 ** depends on the global setting, or the operating system default, if not set.
365 **
366 ** Options:
367 **
368 ** --case-sensitive BOOL Override the case-sensitive setting.
369 ** --dotfiles include files beginning with a dot (".")
370 ** -f|--force Add files without prompting
371 ** --ignore CSG Ignore unmanaged files matching patterns from
372 ** the Comma Separated Glob (CSG) pattern list
373 ** --clean CSG Also ignore files matching patterns from
374 ** the Comma Separated Glob (CSG) list
375 ** --reset Reset the ADDED state of a checkout, such
376 ** that all newly-added (but not yet committed)
377 ** files are no longer added. No flags other
378 ** than --verbose and --dry-run may be used
379 ** with --reset.
@@ -377,11 +380,11 @@
380 **
381 ** The following options are only valid with --reset:
382 ** -v|--verbose Outputs information about each --reset file.
383 ** -n|--dry-run Display instead of run actions.
384 **
385 ** See also: [[addremove]], [[rm]]
386 */
387 void add_cmd(void){
388 int i; /* Loop counter */
389 int vid; /* Currently checked out version */
390 int nRoot; /* Full path characters in g.zLocalRoot */
@@ -549,21 +552,21 @@
552 **
553 ** Options:
554 ** --soft Skip removing files from the checkout.
555 ** This supersedes the --hard option.
556 ** --hard Remove files from the checkout.
557 ** --case-sensitive BOOL Override the case-sensitive setting.
558 ** -n|--dry-run If given, display instead of run actions.
559 ** --reset Reset the DELETED state of a checkout, such
560 ** that all newly-rm'd (but not yet committed)
561 ** files are no longer removed. No flags other
562 ** than --verbose or --dry-run may be used with
563 ** --reset.
564 ** -v|--verbose Outputs information about each --reset file.
565 ** Only usable with --reset.
566 **
567 ** See also: [[addremove]], [[add]]
568 */
569 void delete_cmd(void){
570 int i;
571 int removeFiles;
572 int dryRunFlag = find_option("dry-run","n",0)!=0;
@@ -592,15 +595,11 @@
595 }else if( softFlag ){
596 removeFiles = 0;
597 }else if( hardFlag ){
598 removeFiles = 1;
599 }else{
 
600 removeFiles = db_get_boolean("mv-rm-files",0);
 
 
 
601 }
602 db_multi_exec("CREATE TEMP TABLE sfile(pathname TEXT PRIMARY KEY %s)",
603 filename_collation());
604 for(i=2; i<g.argc; i++){
605 Blob treeName;
@@ -655,11 +654,11 @@
654 ** the case-sensitive setting is undefined, then case sensitivity
655 ** defaults off for Cygwin, Mac and Windows and on for all other unix.
656 ** If case-sensitivity is enabled in the windows kernel, the Cygwin port
657 ** of fossil.exe can detect that, and modifies the default to 'on'.
658 **
659 ** The "--case-sensitive BOOL" command-line option overrides any
660 ** setting.
661 */
662 int filenames_are_case_sensitive(void){
663 static int caseSensitive;
664 static int once = 1;
@@ -711,22 +710,22 @@
710 /*
711 ** COMMAND: addremove
712 **
713 ** Usage: %fossil addremove ?OPTIONS?
714 **
715 ** Do all necessary "[[add]]" and "[[rm]]" commands to synchronize the
716 ** repository with the content of the working checkout:
717 **
718 ** * All files in the checkout but not in the repository (that is,
719 ** all files displayed using the "extras" command) are added as
720 ** if by the "[[add]]" command.
721 **
722 ** * All files in the repository but missing from the checkout (that is,
723 ** all files that show as MISSING with the "status" command) are
724 ** removed as if by the "[[rm]]" command.
725 **
726 ** The command does not "[[commit]]". You must run the "[[commit]]" separately
727 ** as a separate step.
728 **
729 ** Files and directories whose names begin with "." are ignored unless
730 ** the --dotfiles option is used.
731 **
@@ -739,27 +738,27 @@
738 ** anything.
739 **
740 ** This command can be used to track third party software.
741 **
742 ** Options:
743 ** --case-sensitive BOOL Override the case-sensitive setting.
744 ** --dotfiles Include files beginning with a dot (".")
745 ** --ignore CSG Ignore unmanaged files matching patterns from
746 ** the Comma Separated Glob (CSG) list
747 ** --clean CSG Also ignore files matching patterns from
748 ** the Comma Separated Glob (CSG) list
749 ** -n|--dry-run If given, display instead of run actions.
750 ** --reset Reset the ADDED/DELETED state of a checkout,
751 ** such that all newly-added (but not yet committed)
752 ** files are no longer added and all newly-removed
753 ** (but not yet committed) files are no longer
754 ** removed. No flags other than --verbose and
755 ** --dry-run may be used with --reset.
756 ** -v|--verbose Outputs information about each --reset file.
757 ** Only usable with --reset.
758 **
759 ** See also: [[add]], [[rm]]
760 */
761 void addremove_cmd(void){
762 Blob path;
763 const char *zCleanFlag;
764 const char *zIgnoreFlag;
@@ -975,11 +974,11 @@
974 ** Move or rename one or more files or directories within the repository tree.
975 ** You can either rename a file or directory or move it to another subdirectory.
976 **
977 ** The 'mv' command does NOT normally rename or move the files on disk.
978 ** This command merely records the fact that file names have changed so
979 ** that appropriate notations can be made at the next [[commit]].
980 ** However, the default behavior of this command may be overridden via
981 ** command line options listed below and/or the 'mv-rm-files' setting.
982 **
983 ** The 'rename' command never renames or moves files on disk, even when the
984 ** command line options and/or the 'mv-rm-files' setting would otherwise
@@ -988,17 +987,17 @@
987 ** WARNING: If the "--hard" option is specified -OR- the "mv-rm-files"
988 ** setting is non-zero, files WILL BE renamed or moved on disk
989 ** as well. This does NOT apply to the 'rename' command.
990 **
991 ** Options:
992 ** --soft Skip moving files within the checkout.
993 ** This supersedes the --hard option.
994 ** --hard Move files within the checkout.
995 ** --case-sensitive BOOL Override the case-sensitive setting.
996 ** -n|--dry-run If given, display instead of run actions.
997 **
998 ** See also: [[changes]], [[status]]
999 */
1000 void mv_cmd(void){
1001 int i;
1002 int vid;
1003 int moveFiles;
@@ -1033,15 +1032,11 @@
1032 }else if( softFlag ){
1033 moveFiles = 0;
1034 }else if( hardFlag ){
1035 moveFiles = 1;
1036 }else{
 
1037 moveFiles = db_get_boolean("mv-rm-files",0);
 
 
 
1038 }
1039 file_tree_name(zDest, &dest, 0, 1);
1040 db_multi_exec(
1041 "UPDATE vfile SET origname=pathname WHERE origname IS NULL;"
1042 );
@@ -1090,11 +1085,11 @@
1085 const char *zPath = db_column_text(&q, 0);
1086 int nPath = db_column_bytes(&q, 0);
1087 const char *zTail;
1088 if( nPath==nOrig ){
1089 zTail = file_tail(zPath);
1090 }else if( origType!=0 && destType==1 ){
1091 zTail = &zPath[nOrig-strlen(file_tail(zOrig))];
1092 }else{
1093 zTail = &zPath[nOrig+1];
1094 }
1095 db_multi_exec(
1096
1097 DDED src/ajax.c
+9
--- a/src/ajax.c
+++ b/src/ajax.c
@@ -0,0 +1,9 @@
1
+/*
2
+** Copyright (c) 2020 D. Richard Hipp
3
+**
4
+** This program is free software; you can redistribute it and/or
5
+** modify it under the terms of the Simplified BSD License (also
6
+** known as the "2-Clause License" or "FreeB11, 1
7
+}
8
+ 0, diffFlags if(DIFF_SIDEBYSIDE & diffFlags)else{
9
+ CX("wiki
--- a/src/ajax.c
+++ b/src/ajax.c
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
--- a/src/ajax.c
+++ b/src/ajax.c
@@ -0,0 +1,9 @@
1 /*
2 ** Copyright (c) 2020 D. Richard Hipp
3 **
4 ** This program is free software; you can redistribute it and/or
5 ** modify it under the terms of the Simplified BSD License (also
6 ** known as the "2-Clause License" or "FreeB11, 1
7 }
8 0, diffFlags if(DIFF_SIDEBYSIDE & diffFlags)else{
9 CX("wiki
+91 -51
--- src/alerts.c
+++ src/alerts.c
@@ -116,11 +116,10 @@
116116
&& fossil_strcmp(db_get("email-send-method",0),"off")==0
117117
){
118118
return; /* Don't create table for disabled email */
119119
}
120120
db_exec_sql(zAlertInit);
121
- alert_triggers_enable();
122121
}else if( !db_table_has_column("repository","pending_alert","sentMod") ){
123122
db_multi_exec(
124123
"ALTER TABLE repository.pending_alert"
125124
" ADD COLUMN sentMod BOOLEAN DEFAULT false;"
126125
);
@@ -129,15 +128,17 @@
129128
130129
/*
131130
** Enable triggers that automatically populate the pending_alert
132131
** table.
133132
*/
134
-void alert_triggers_enable(void){
133
+void alert_create_trigger(void){
135134
if( !db_table_exists("repository","pending_alert") ) return;
136135
db_multi_exec(
137
- "CREATE TRIGGER IF NOT EXISTS repository.alert_trigger1\n"
138
- "AFTER INSERT ON event BEGIN\n"
136
+ "DROP TRIGGER IF EXISTS repository.alert_trigger1;\n" /* Purge legacy */
137
+ /* "DROP TRIGGER IF EXISTS repository.email_trigger1;\n" Very old legacy */
138
+ "CREATE TRIGGER temp.alert_trigger1\n"
139
+ "AFTER INSERT ON repository.event BEGIN\n"
139140
" INSERT INTO pending_alert(eventid)\n"
140141
" SELECT printf('%%.1c%%d',new.type,new.objid) WHERE true\n"
141142
" ON CONFLICT(eventId) DO NOTHING;\n"
142143
"END;"
143144
);
@@ -147,14 +148,14 @@
147148
** Disable triggers the event_pending triggers.
148149
**
149150
** This must be called before rebuilding the EVENT table, for example
150151
** via the "fossil rebuild" command.
151152
*/
152
-void alert_triggers_disable(void){
153
+void alert_drop_trigger(void){
153154
db_multi_exec(
154
- "DROP TRIGGER IF EXISTS repository.alert_trigger1;\n"
155
- "DROP TRIGGER IF EXISTS repository.email_trigger1;\n" // Legacy
155
+ "DROP TRIGGER IF EXISTS temp.alert_trigger1;\n"
156
+ "DROP TRIGGER IF EXISTS repository.alert_trigger1;\n" /* Purge legacy */
156157
);
157158
}
158159
159160
/*
160161
** Return true if email alerts are active.
@@ -171,13 +172,14 @@
171172
**
172173
** If the subscriber table does exist, return 0 without doing anything.
173174
*/
174175
static int alert_webpages_disabled(void){
175176
if( alert_tables_exist() ) return 0;
177
+ style_set_current_feature("alerts");
176178
style_header("Email Alerts Are Disabled");
177179
@ <p>Email alerts are disabled on this server</p>
178
- style_footer();
180
+ style_finish_page();
179181
return 1;
180182
}
181183
182184
/*
183185
** Insert a "Subscriber List" submenu link if the current user
@@ -216,10 +218,11 @@
216218
}
217219
db_begin_transaction();
218220
219221
alert_submenu_common();
220222
style_submenu_element("Send Announcement","%R/announce");
223
+ style_set_current_feature("alerts");
221224
style_header("Email Notification Setup");
222225
@ <h1>Status</h1>
223226
@ <table class="label-value">
224227
if( alert_enabled() ){
225228
stats_for_email();
@@ -285,11 +288,11 @@
285288
@ recepient addresses, and subject from the header of the piped email
286289
@ text. (Property: "email-send-command")</p>
287290
288291
entry_attribute("Store Emails In This Database", 60, "email-send-db",
289292
"esdb", "", 0);
290
- @ <p>When the send method is "store in a databaes", each email message is
293
+ @ <p>When the send method is "store in a database", each email message is
291294
@ stored in an SQLite database file with the name given here.
292295
@ (Property: "email-send-db")</p>
293296
294297
entry_attribute("Store Emails In This Directory", 60, "email-send-dir",
295298
"esdir", "", 0);
@@ -308,11 +311,11 @@
308311
@ <hr>
309312
310313
@ <p><input type="submit" name="submit" value="Apply Changes" /></p>
311314
@ </div></form>
312315
db_end_transaction(0);
313
- style_footer();
316
+ style_finish_page();
314317
}
315318
316319
#if 0
317320
/*
318321
** Encode pMsg as MIME base64 and append it to pOut
@@ -936,11 +939,11 @@
936939
** This is a short name used to identifies the repository in the Subject:
937940
** line of email alerts. Traditionally this name is included in square
938941
** brackets. Examples: "[fossil-src]", "[sqlite-src]".
939942
*/
940943
/*
941
-** SETTING: email-send-method width=5 default=off
944
+** SETTING: email-send-method width=5 default=off sensitive
942945
** Determine the method used to send email. Allowed values are
943946
** "off", "relay", "pipe", "dir", "db", and "stdout". The "off" value
944947
** means no email is ever sent. The "relay" value means emails are sent
945948
** to an Mail Sending Agent using SMTP located at email-send-relayhost.
946949
** The "pipe" value means email messages are piped into a command
@@ -949,33 +952,33 @@
949952
** by the email-send-dir setting. The "db" value means that emails
950953
** are added to an SQLite database named by the* email-send-db setting.
951954
** The "stdout" value writes email text to standard output, for debugging.
952955
*/
953956
/*
954
-** SETTING: email-send-command width=40
957
+** SETTING: email-send-command width=40 sensitive
955958
** This is a command to which outbound email content is piped when the
956959
** email-send-method is set to "pipe". The command must extract
957960
** recipient, sender, subject, and all other relevant information
958961
** from the email header.
959962
*/
960963
/*
961
-** SETTING: email-send-dir width=40
964
+** SETTING: email-send-dir width=40 sensitive
962965
** This is a directory into which outbound emails are written as individual
963966
** files if the email-send-method is set to "dir".
964967
*/
965968
/*
966
-** SETTING: email-send-db width=40
969
+** SETTING: email-send-db width=40 sensitive
967970
** This is an SQLite database file into which outbound emails are written
968971
** if the email-send-method is set to "db".
969972
*/
970973
/*
971974
** SETTING: email-self width=40
972975
** This is the email address for the repository. Outbound emails add
973976
** this email address as the "From:" field.
974977
*/
975978
/*
976
-** SETTING: email-send-relayhost width=40
979
+** SETTING: email-send-relayhost width=40 sensitive
977980
** This is the hostname and TCP port to which output email messages
978981
** are sent when email-send-method is "relay". There should be an
979982
** SMTP server configured as a Mail Submission Agent listening on the
980983
** designated host and port and all times.
981984
*/
@@ -1060,11 +1063,11 @@
10601063
prompt_user("Continue? (y/N) ", &yn);
10611064
c = blob_str(&yn)[0];
10621065
blob_reset(&yn);
10631066
}
10641067
if( c=='y' ){
1065
- alert_triggers_disable();
1068
+ alert_drop_trigger();
10661069
db_multi_exec(
10671070
"DROP TABLE IF EXISTS subscriber;\n"
10681071
"DROP TABLE IF EXISTS pending_alert;\n"
10691072
"DROP TABLE IF EXISTS alert_bounce;\n"
10701073
/* Legacy */
@@ -1364,20 +1367,20 @@
13641367
}
13651368
if( !g.perm.Admin && !db_get_boolean("anon-subscribe",1) ){
13661369
register_page();
13671370
return;
13681371
}
1372
+ style_set_current_feature("alerts");
13691373
alert_submenu_common();
13701374
needCaptcha = !login_is_individual();
13711375
if( P("submit")
13721376
&& cgi_csrf_safe(1)
13731377
&& subscribe_error_check(&eErr,&zErr,needCaptcha)
13741378
){
13751379
/* A validated request for a new subscription has been received. */
13761380
char ssub[20];
13771381
const char *zEAddr = P("e");
1378
- sqlite3_int64 id; /* New subscriber Id */
13791382
const char *zCode; /* New subscriber code (in hex) */
13801383
int nsub = 0;
13811384
const char *suname = PT("suname");
13821385
if( suname==0 && needCaptcha==0 && !g.perm.Admin ) suname = g.zLogin;
13831386
if( suname && suname[0]==0 ) suname = 0;
@@ -1386,25 +1389,22 @@
13861389
if( g.perm.RdForum && PB("sf") ) ssub[nsub++] = 'f';
13871390
if( g.perm.RdTkt && PB("st") ) ssub[nsub++] = 't';
13881391
if( g.perm.RdWiki && PB("sw") ) ssub[nsub++] = 'w';
13891392
if( g.perm.RdForum && PB("sx") ) ssub[nsub++] = 'x';
13901393
ssub[nsub] = 0;
1391
- db_multi_exec(
1394
+ zCode = db_text(0,
13921395
"INSERT INTO subscriber(semail,suname,"
13931396
" sverified,sdonotcall,sdigest,ssub,sctime,mtime,smip)"
1394
- "VALUES(%Q,%Q,%d,0,%d,%Q,now(),now(),%Q)",
1397
+ "VALUES(%Q,%Q,%d,0,%d,%Q,now(),now(),%Q)"
1398
+ "RETURNING hex(subscriberCode);",
13951399
/* semail */ zEAddr,
13961400
/* suname */ suname,
13971401
/* sverified */ needCaptcha==0,
13981402
/* sdigest */ PB("di"),
13991403
/* ssub */ ssub,
14001404
/* smip */ g.zIpAddr
14011405
);
1402
- id = db_last_insert_rowid();
1403
- zCode = db_text(0,
1404
- "SELECT hex(subscriberCode) FROM subscriber WHERE subscriberId=%lld",
1405
- id);
14061406
if( !needCaptcha ){
14071407
/* The new subscription has been added on behalf of a logged-in user.
14081408
** No verification is required. Jump immediately to /alerts page.
14091409
*/
14101410
if( g.perm.Admin ){
@@ -1435,11 +1435,11 @@
14351435
@ <p>An email has been sent to "%h(zEAddr)". That email contains a
14361436
@ hyperlink that you must click to activate your
14371437
@ subscription.</p>
14381438
}
14391439
alert_sender_free(pSender);
1440
- style_footer();
1440
+ style_finish_page();
14411441
}
14421442
return;
14431443
}
14441444
style_header("Signup For Email Alerts");
14451445
if( P("submit")==0 ){
@@ -1552,34 +1552,50 @@
15521552
@ Enter the 8 characters above in the "Security Code" box<br/>
15531553
@ </td></tr></table></div>
15541554
}
15551555
@ </form>
15561556
fossil_free(zErr);
1557
- style_footer();
1557
+ style_finish_page();
15581558
}
15591559
15601560
/*
15611561
** Either shutdown or completely delete a subscription entry given
15621562
** by the hex value zName. Then paint a webpage that explains that
15631563
** the entry has been removed.
15641564
*/
15651565
static void alert_unsubscribe(int sid){
1566
- char *zEmail;
1567
- zEmail = db_text(0, "SELECT semail FROM subscriber"
1568
- " WHERE subscriberId=%d", sid);
1566
+ const char *zEmail = 0;
1567
+ const char *zLogin = 0;
1568
+ int uid = 0;
1569
+ Stmt q;
1570
+ db_prepare(&q, "SELECT semail, suname FROM subscriber"
1571
+ " WHERE subscriberId=%d", sid);
1572
+ if( db_step(&q)==SQLITE_ROW ){
1573
+ zEmail = db_column_text(&q, 0);
1574
+ zLogin = db_column_text(&q, 1);
1575
+ uid = db_int(0, "SELECT uid FROM user WHERE login=%Q", zLogin);
1576
+ }
1577
+ style_set_current_feature("alerts");
15691578
if( zEmail==0 ){
15701579
style_header("Unsubscribe Fail");
15711580
@ <p>Unable to locate a subscriber with the requested key</p>
15721581
}else{
1582
+
15731583
db_multi_exec(
15741584
"DELETE FROM subscriber WHERE subscriberId=%d", sid
15751585
);
15761586
style_header("Unsubscribed");
1577
- @ <p>The "%h(zEmail)" email address has been delisted.
1578
- @ All traces of that email address have been removed</p>
1587
+ @ <p>The "%h(zEmail)" email address has been unsubscribed and the
1588
+ @ corresponding row in the subscriber table has been deleted.<p>
1589
+ if( uid && g.perm.Admin ){
1590
+ @ <p>You may also want to
1591
+ @ <a href="%R/setup_uedit?id=%d(uid)">edit or delete
1592
+ @ the corresponding user "%h(zLogin)"</a></p>
1593
+ }
15791594
}
1580
- style_footer();
1595
+ db_finalize(&q);
1596
+ style_finish_page();
15811597
return;
15821598
}
15831599
15841600
/*
15851601
** WEBPAGE: alerts
@@ -1586,26 +1602,26 @@
15861602
**
15871603
** Edit email alert and notification settings.
15881604
**
15891605
** The subscriber is identified in several ways:
15901606
**
1591
-** (1) The name= query parameter contains the complete subscriberCode.
1607
+** * The name= query parameter contains the complete subscriberCode.
15921608
** This only happens when the user receives a verification
15931609
** email and clicks on the link in the email. When a
15941610
** compilete subscriberCode is seen on the name= query parameter,
15951611
** that constitutes verification of the email address.
15961612
**
1597
-** (2) The sid= query parameter contains an integer subscriberId.
1613
+** * The sid= query parameter contains an integer subscriberId.
15981614
** This only works for the administrator. It allows the
15991615
** administrator to edit any subscription.
16001616
**
1601
-** (3) The user is logged into an account other than "nobody" or
1617
+** * The user is logged into an account other than "nobody" or
16021618
** "anonymous". In that case the notification settings
16031619
** associated with that account can be edited without needing
16041620
** to know the subscriber code.
16051621
**
1606
-** (4) The name= query parameter contains a 32-digit prefix of
1622
+** * The name= query parameter contains a 32-digit prefix of
16071623
** subscriber code. (Subscriber codes are normally 64 hex digits
16081624
** in length.) This uniquely identifies the subscriber without
16091625
** revealing the complete subscriber code, and hence without
16101626
** verifying the email address.
16111627
*/
@@ -1722,10 +1738,11 @@
17221738
alert_unsubscribe(sid);
17231739
db_commit_transaction();
17241740
return;
17251741
}
17261742
}
1743
+ style_set_current_feature("alerts");
17271744
style_header("Update Subscription");
17281745
db_prepare(&q,
17291746
"SELECT"
17301747
" semail," /* 0 */
17311748
" sverified," /* 1 */
@@ -1769,18 +1786,20 @@
17691786
"UPDATE subscriber SET sverified=1"
17701787
" WHERE subscriberCode=hextoblob(%Q)",
17711788
zName);
17721789
if( db_get_boolean("selfreg-verify",0) ){
17731790
char *zNewCap = db_get("default-perms","u");
1791
+ db_unprotect(PROTECT_USER);
17741792
db_multi_exec(
17751793
"UPDATE user"
17761794
" SET cap=%Q"
17771795
" WHERE cap='7' AND login=("
17781796
" SELECT suname FROM subscriber"
17791797
" WHERE subscriberCode=hextoblob(%Q))",
17801798
zNewCap, zName
17811799
);
1800
+ db_protect_pop();
17821801
login_set_capabilities(zNewCap, 0);
17831802
}
17841803
@ <h1>Your email alert subscription has been verified!</h1>
17851804
@ <p>Use the form below to update your subscription information.</p>
17861805
@ <p>Hint: Bookmark this page so that you can more easily update
@@ -1897,11 +1916,11 @@
18971916
@ </tr>
18981917
@ </table>
18991918
@ </form>
19001919
fossil_free(zErr);
19011920
db_finalize(&q);
1902
- style_footer();
1921
+ style_finish_page();
19031922
db_commit_transaction();
19041923
return;
19051924
}
19061925
19071926
/* This is the message that gets sent to describe how to change
@@ -1960,10 +1979,12 @@
19601979
if( login_is_individual() ){
19611980
cgi_redirectf("%R/alerts");
19621981
return;
19631982
}
19641983
1984
+ style_set_current_feature("alerts");
1985
+
19651986
zEAddr = PD("e","");
19661987
dx = atoi(PD("dx","0"));
19671988
bSubmit = P("submit")!=0 && P("e")!=0 && cgi_csrf_safe(1);
19681989
if( bSubmit ){
19691990
if( !captcha_is_correct(1) ){
@@ -2004,11 +2025,11 @@
20042025
}else{
20052026
@ <p>An email has been sent to "%h(zEAddr)" that explains how to
20062027
@ unsubscribe and/or modify your subscription settings</p>
20072028
}
20082029
alert_sender_free(pSender);
2009
- style_footer();
2030
+ style_finish_page();
20102031
return;
20112032
}
20122033
20132034
/* Non-logged-in users have to enter an email address to which is
20142035
** sent a message containing the unsubscribe link.
@@ -2054,11 +2075,11 @@
20542075
@ </pre>
20552076
@ Enter the 8 characters above in the "Security Code" box<br/>
20562077
@ </td></tr></table></div>
20572078
@ </form>
20582079
fossil_free(zErr);
2059
- style_footer();
2080
+ style_finish_page();
20602081
}
20612082
20622083
/*
20632084
** WEBPAGE: subscribers
20642085
**
@@ -2081,10 +2102,11 @@
20812102
login_needed(0);
20822103
return;
20832104
}
20842105
alert_submenu_common();
20852106
style_submenu_element("Users","setup_ulist");
2107
+ style_set_current_feature("alerts");
20862108
style_header("Subscriber List");
20872109
nTotal = db_int(0, "SELECT count(*) FROM subscriber");
20882110
nPending = db_int(0, "SELECT count(*) FROM subscriber WHERE NOT sverified");
20892111
if( nPending>0 && P("purge") && cgi_csrf_safe(0) ){
20902112
int nNewPending;
@@ -2165,11 +2187,11 @@
21652187
@ </tr>
21662188
}
21672189
@ </tbody></table>
21682190
db_finalize(&q);
21692191
style_table_sorter();
2170
- style_footer();
2192
+ style_finish_page();
21712193
}
21722194
21732195
#if LOCAL_INTERFACE
21742196
/*
21752197
** A single event that might appear in an alert is recorded as an
@@ -2252,10 +2274,11 @@
22522274
memset(&anchor, 0, sizeof(anchor));
22532275
pLast = &anchor;
22542276
*pnEvent = 0;
22552277
while( db_step(&q)==SQLITE_ROW ){
22562278
const char *zType = "";
2279
+ const char *zComment = db_column_text(&q, 2);
22572280
p = fossil_malloc( sizeof(EmailEvent) );
22582281
pLast->pNext = p;
22592282
pLast = p;
22602283
p->type = db_column_text(&q, 3)[0];
22612284
p->needMod = db_column_int(&q, 4);
@@ -2263,18 +2286,26 @@
22632286
p->pNext = 0;
22642287
switch( p->type ){
22652288
case 'c': zType = "Check-In"; break;
22662289
/* case 'f': -- forum posts omitted from this loop. See below */
22672290
case 't': zType = "Ticket Change"; break;
2268
- case 'w': zType = "Wiki Edit"; break;
2291
+ case 'w': {
2292
+ zType = "Wiki Edit";
2293
+ switch( zComment ? *zComment : 0 ){
2294
+ case ':': ++zComment; break;
2295
+ case '+': zType = "Wiki Added"; ++zComment; break;
2296
+ case '-': zType = "Wiki Removed"; ++zComment; break;
2297
+ }
2298
+ break;
2299
+ }
22692300
}
22702301
blob_init(&p->hdr, 0, 0);
22712302
blob_init(&p->txt, 0, 0);
22722303
blob_appendf(&p->txt,"== %s %s ==\n%s\n%s/info/%.20s\n",
22732304
db_column_text(&q,1),
22742305
zType,
2275
- db_column_text(&q, 2),
2306
+ zComment,
22762307
zUrl,
22772308
db_column_text(&q,0)
22782309
);
22792310
if( p->needMod ){
22802311
blob_appendf(&p->txt,
@@ -2554,13 +2585,14 @@
25542585
** the process malfunctions or crashes, some notifications may never
25552586
** be sent. But that is better than some recurring bug causing
25562587
** subscribers to be flooded with repeated notifications every 60
25572588
** seconds!
25582589
*/
2559
-void alert_send_alerts(u32 flags){
2590
+int alert_send_alerts(u32 flags){
25602591
EmailEvent *pEvents, *p;
25612592
int nEvent = 0;
2593
+ int nSent = 0;
25622594
Stmt q;
25632595
const char *zDigest = "false";
25642596
Blob hdr, body;
25652597
const char *zUrl;
25662598
const char *zRepoName;
@@ -2700,10 +2732,11 @@
27002732
blob_append(&fhdr, blob_buffer(&p->hdr), blob_size(&p->hdr));
27012733
blob_init(&fbody, blob_buffer(&p->txt), blob_size(&p->txt));
27022734
blob_appendf(&fbody, "\n-- \nSubscription info: %s/alerts/%s\n",
27032735
zUrl, zCode);
27042736
alert_send(pSender,&fhdr,&fbody,p->zFromName);
2737
+ nSent++;
27052738
blob_reset(&fhdr);
27062739
blob_reset(&fbody);
27072740
}else{
27082741
/* Events other than forum posts are gathered together into
27092742
** a single email message */
@@ -2723,10 +2756,11 @@
27232756
}
27242757
if( nHit==0 ) continue;
27252758
blob_appendf(&body,"\n-- \nSubscription info: %s/alerts/%s\n",
27262759
zUrl, zCode);
27272760
alert_send(pSender,&hdr,&body,0);
2761
+ nSent++;
27282762
blob_truncate(&hdr, 0);
27292763
blob_truncate(&body, 0);
27302764
}
27312765
blob_reset(&hdr);
27322766
blob_reset(&body);
@@ -2739,10 +2773,11 @@
27392773
db_multi_exec("DELETE FROM pending_alert WHERE sentDigest AND sentSep;");
27402774
27412775
send_alert_done:
27422776
alert_sender_free(pSender);
27432777
if( g.fSqlTrace ) fossil_trace("-- END alert_send_alerts(%u)\n", flags);
2778
+ return nSent;
27442779
}
27452780
27462781
/*
27472782
** Do backoffice processing for email notifications. In other words,
27482783
** check to see if any email notifications need to occur, and then
@@ -2752,19 +2787,21 @@
27522787
**
27532788
** The mFlags option is zero or more of the SENDALERT_* flags. Normally
27542789
** this flag is zero, but the test-set-alert command sets it to
27552790
** SENDALERT_TRACE.
27562791
*/
2757
-void alert_backoffice(u32 mFlags){
2792
+int alert_backoffice(u32 mFlags){
27582793
int iJulianDay;
2759
- if( !alert_tables_exist() ) return;
2760
- alert_send_alerts(mFlags);
2794
+ int nSent = 0;
2795
+ if( !alert_tables_exist() ) return 0;
2796
+ nSent = alert_send_alerts(mFlags);
27612797
iJulianDay = db_int(0, "SELECT julianday('now')");
27622798
if( iJulianDay>db_get_int("email-last-digest",0) ){
27632799
db_set_int("email-last-digest",iJulianDay,0);
2764
- alert_send_alerts(SENDALERT_DIGEST|mFlags);
2800
+ nSent += alert_send_alerts(SENDALERT_DIGEST|mFlags);
27652801
}
2802
+ return nSent;
27662803
}
27672804
27682805
/*
27692806
** WEBPAGE: contact_admin
27702807
**
@@ -2776,14 +2813,15 @@
27762813
unsigned int uSeed = 0;
27772814
const char *zDecoded;
27782815
char *zCaptcha = 0;
27792816
27802817
login_check_credentials();
2818
+ style_set_current_feature("alerts");
27812819
if( zAdminEmail==0 || zAdminEmail[0]==0 ){
27822820
style_header("Outbound Email Disabled");
27832821