simon-git: putty-wishlist (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Fri Apr 28 16:58:28 BST 2017
TL;DR:
8805dc7 bugs2html: support a fake HTML tag called <bug>.
47532a7 Rewrite all crosslinks between bugs as <bug> tags.
Repository: https://git.tartarus.org/simon/putty-wishlist.git
On the web: https://git.tartarus.org/?p=simon/putty-wishlist.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2017-04-28 16:58:28
commit 8805dc7e0539110840906ab28063630677416137
web diff https://git.tartarus.org/?p=simon/putty-wishlist.git;a=commitdiff;h=8805dc7e0539110840906ab28063630677416137;hp=937d0fd0513b60a14ef8b7e3ec9bf92553b3bf38
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Apr 28 16:28:03 2017 +0100
bugs2html: support a fake HTML tag called <bug>.
This allows bug entries to link to each other by saying nothing but
<bug id="bug-name"/>, when they would previously have had to write
<a href="bug-name.html">bug-name</a>. The new syntax avoids having to
write the bug name twice; it provides futureproofing in case the HTTP
structure of the wishlist should ever change in a way that removes or
changes the .html suffixes on bug URIs (not that I currently have any
such plans, but you never know); and finally it provides some typo-
safety, in that the new <bug> tags are checked against the set of
known bug names, and bugs2html will throw an error if you refer to one
that doesn't exist.
(Also, several future possibilities are opened up by this change, just
because now bugs2html knows explicitly about all links between bugs.
Possibilities include marking up bug links to indicate what kind of
bug they link to, whether it's fixed, etc; also, perhaps mentioning in
the bug that's the target of the link a list of other bugs potentially
related to it.)
The default format as shown above will automatically fill in the bug
name a second time as the link text, but you can override that by
writing <bug id="bug-name">custom text</bug> if you prefer. Also, if
you want to refer to a particular HTML fragment id within the text of
a bug, you can add a fragment="#foo" attribute.
control/bugs2html.py | 58 +++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 55 insertions(+), 3 deletions(-)
commit 47532a723d33ef38a8c2f516bf7e1e7da87c75bb
web diff https://git.tartarus.org/?p=simon/putty-wishlist.git;a=commitdiff;h=47532a723d33ef38a8c2f516bf7e1e7da87c75bb;hp=8805dc7e0539110840906ab28063630677416137
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Apr 28 16:01:41 2017 +0100
Rewrite all crosslinks between bugs as <bug> tags.
This fixes one or two broken links (we had a couple of links of the
form <a href="bug-name"> without the trailing .html) and harmonises
presentation a little (there's been disagreement over whether the link
text should TeX-quote, single-quote or just not quote the bug name).
Another side effect is that any HTML comments in the source bug files
will no longer appear in the output HTML. But other than that, there
_should_ be no visible changes resulting from this trawl.
data/256-colours-broken-gtk | 2 +-
data/arcfour | 2 +-
data/assert-fail-newsavelines | 2 +-
data/assert-line-not-null | 6 +++---
data/avoid-msgbox | 2 +-
data/bidi | 2 +-
data/break-key | 2 +-
data/character-line-delay | 2 +-
data/cmdline-any-option | 4 ++--
data/cmdline-hostkey | 2 +-
data/cmdline-serial | 2 +-
data/cmdline-x-display | 2 +-
data/command-hooks | 2 +-
data/compressed-scrollback | 4 ++--
data/config-struct | 4 ++--
data/cryptoapi | 4 ++--
data/ctrl-pgupdn-config | 2 +-
data/cygwin-terminal-window | 4 ++--
data/dbcs-breakage | 2 +-
data/defaults-launchable | 4 ++--
data/dup-sessions-dont-close | 2 +-
data/ext-data-at-start | 2 +-
data/flow-control | 6 +++---
data/flow-control-filexfer | 2 +-
data/function-keys | 4 ++--
data/fxp-short-reads | 2 +-
data/half-closed | 2 +-
data/handle-unimplemented | 2 +-
data/hard-hangs | 2 +-
data/host-key-rollover | 2 +-
data/hostkey-policy | 6 +++---
data/hostkey-prefer-cached | 4 ++--
data/http-proxy-server | 2 +-
data/i18n | 2 +-
data/key-mapping | 4 ++--
data/keyboard-problems | 2 +-
data/ki-multiprompt-crash | 2 +-
data/large-files | 2 +-
data/local-proxy-telnet | 2 +-
data/log-timestamp | 2 +-
data/many-sessions | 2 +-
data/mit-kerberos-dll-trouble | 2 +-
data/modified-fkeys | 4 ++--
data/multi-key | 2 +-
data/multiple-connections | 4 ++--
data/needs-removeable-media | 4 ++--
data/no-ssh1-fallback | 4 ++--
data/no-terminal-window | 4 ++--
data/ntpd-slowdown | 2 +-
data/pageant-activity-ind | 2 +-
data/pageant-backwards-compatibility | 2 +-
data/pageant-deferred-decrypt | 2 +-
data/pageant-forwarding-path | 2 +-
data/pageant-hibernate | 2 +-
data/pageant-key-confirm | 2 +-
data/pageant-named-pipe | 4 ++--
data/pageant-timeout | 2 +-
data/plink-hostname | 2 +-
data/plink-terminal | 2 +-
data/portfwd-at-start | 2 +-
data/portfwd-corrupt | 4 ++--
data/portfwd-range | 4 ++--
data/portfwd-reconf | 6 +++---
data/private-key-not-wiped-2 | 2 +-
data/proxy-command | 4 ++--
data/proxy-password-prompt | 4 ++--
data/pscp-size-change | 4 ++--
data/psftp-batch-interact | 2 +-
data/putty-screen-frontend | 2 +-
data/reconnect-auto | 8 ++++----
data/reconnect-remember-password | 8 ++++----
data/regexp-logging | 2 +-
data/reorder-sessions | 2 +-
data/resize-minimise | 2 +-
data/resize-no-truncate | 2 +-
data/resize-scroll-effects | 2 +-
data/restart-reset-terminal | 10 +++++-----
data/reuse-windows | 2 +-
data/save-scrollback | 2 +-
data/scripting | 2 +-
data/serial-backend | 2 +-
data/smartcard-auth | 2 +-
data/spew-lockup-2 | 2 +-
data/ssh-close-vs-request | 6 +++---
data/ssh1-bad-passphrase-crash | 2 +-
data/ssh2-cbc-pktlen-weakness | 6 +++---
data/ssh2-ctr-modes | 2 +-
data/ssh2-default | 2 +-
data/ssh2-generality | 4 ++--
data/ssh2-kex-data | 2 +-
data/ssh2-kex-repeat | 4 ++--
data/ssh2-romsshell-badpacket | 2 +-
data/ssh2-romsshell-badstringlen | 2 +-
data/ssh2-rsa-kex-pref | 6 +++---
data/ssh2.0.11-keyderive-nonbug | 2 +-
data/startup-fullscreen | 2 +-
data/terminal-modes | 2 +-
data/unclean-close-crash | 4 ++--
data/unclean-close-hang | 2 +-
data/underlining-shifted-right | 2 +-
data/unicode-combining | 2 +-
data/unicode-normalisation | 4 ++--
data/unix-dead-keys | 2 +-
data/vuln-ecdsa-newkey | 2 +-
data/vuln-indirect-dll-hijack | 2 +-
data/vuln-modpow | 2 +-
data/vuln-sftp-readdir | 2 +-
data/vuln-sftp-string | 2 +-
data/wcwidth-upgrade | 6 +++---
data/win-canonical-hostname | 2 +-
data/win-command-prompt | 5 ++---
data/win-dead-keys | 4 ++--
data/win-font-linking | 4 ++--
data/win-jumplist-trouble | 2 +-
data/win-plink-stdin-eof | 2 +-
data/win-plink-stdin-handle-invalid | 2 +-
data/win-silent-uninstall | 2 +-
data/win10-jumplists | 2 +-
data/win64-binaries | 2 +-
data/win7-jumplist-duplicates | 2 +-
data/winadj-success | 2 +-
data/window-title-charset | 2 +-
data/window-title-keywords | 2 +-
data/zmodem | 2 +-
124 files changed, 177 insertions(+), 178 deletions(-)
More information about the tartarus-commits
mailing list