Mischa POSLAWSKY [Thu, 26 Jul 2018 00:43:53 +0000 (02:43 +0200)]
writing: hide proposed unicode allocations
Mischa POSLAWSKY [Thu, 26 Jul 2018 00:43:42 +0000 (02:43 +0200)]
writing: palaeohispanic from 2017 unicode proposal
Replace preliminary allocations at U+105C0 by equivalents in superseding
encoding <http://www.unicode.org/L2/L2018/18030-palaeohispanic.pdf>.
Mischa POSLAWSKY [Thu, 28 Jun 2018 07:06:25 +0000 (09:06 +0200)]
perl: reinclude feature attributes
Broken since commit
v1.11-14-gf14d687746 (2018-03-22)
[perl: wrap long source lines to 80 characters].
Mischa POSLAWSKY [Thu, 28 Jun 2018 07:01:58 +0000 (09:01 +0200)]
perl: summarise v5.28 release features
Mischa POSLAWSKY [Mon, 11 Jun 2018 19:37:01 +0000 (21:37 +0200)]
shell: translate support letters to annotated levels
Reparse usenet data to extended metadata hashes:
perl -MData::Dumper=Dumper -MList::MoreUtils=mesh -wE'
while (<>) { last if s/^ +// }
my @cols = split /\s+/;
my %level = (
Y => {}, N => undef, F => {alt => "function"}, L => {optional => "requires readline"},
"Y(1)" => {since => 0},
"Y(2)" => {since => undef},
"Y(3)" => {partial => 1, note => "emulation is thought by many to be incomplete"},
"N(4)" => {alt => "patch", note => "unofficial patches exist to perform this"},
"N(5)" => {alt => "patch", note => "A version called \47pdksh\47 is freely available, but does not have the full functionality of the AT&T version."},
"N(6)" => {alt => "function", note => "This can be done via the shells programmable completion mechanism."},
"Y(7)" => {alt => "config", note => "Only by specifying a file via the ENV environment variable."},
);
while (<>) {
chomp; $_ or last;
my ($title, $support) = split / +/, $_, 2;
my @support = map { exists $level{$_} ? $level{$_} : $_ } split / +/, $support;
push @data, { title => $title, support => { mesh(@cols, @support) } };
}
print Data::Dumper->new([\@data], ["feature"])
->Deepcopy(1)->Indent(1)->Quotekeys(0)->Sortkeys(1)->Trailingcomma(1)
->Dump;
' todo/shell.inc.txt >shell.inc.pl
Mischa POSLAWSKY [Mon, 11 Jun 2018 16:39:44 +0000 (18:39 +0200)]
shell: feature comparison table from uniq-faq
Page copied from browser.plp with unneeded features removed.
Include initialised with data from usenet unix-faq/shell/shell-differences
v1.17 (1997-07-13) by Brian Blackmore:
perl -wE'
use Data::Dump "pp";
use List::MoreUtils "mesh";
while (<>) { last if s/^ +// } # to table start
my @cols = split /\s+/;
while (<>) {
chomp;
$_ or last;
my ($title, $support) = split / +/, $_, 2;
my @support = split / +/, $support;
push @rows, {
title => $title,
support => { mesh(@cols, @support) },
};
}
print pp(\@rows);
'
Mischa POSLAWSKY [Sat, 19 May 2018 20:33:26 +0000 (22:33 +0200)]
vi: include keys for plugin unimpaired
Mischa POSLAWSKY [Fri, 18 May 2018 22:56:12 +0000 (00:56 +0200)]
vi: include keys for plugins commentary, lion, surround
Mischa POSLAWSKY [Fri, 18 May 2018 21:36:55 +0000 (23:36 +0200)]
vi: specific version and extension classes
Mischa POSLAWSKY [Fri, 18 May 2018 22:54:51 +0000 (00:54 +0200)]
vi: swap new/ext styles (dashed/ghost respectively)
Reduced visibility is more appropriate for optional features.
Mischa POSLAWSKY [Fri, 18 May 2018 21:36:55 +0000 (23:36 +0200)]
vi: do not distinguish newer vim versions
Assume vim7 distinction is no longer significant; it was released in 2006
and commonly installed by now. One is more likely to encounter vim-tiny or
some clone, in which case only vi features are safe.
Also ignore vim8 as it only assigns about 4 keys, all outside of normal
mode. Rather reclassify all vim extensions as "new" instead of "ext",
freeing the latter for optional features more in line with other pages.
Mischa POSLAWSKY [Fri, 18 May 2018 22:00:11 +0000 (00:00 +0200)]
browser: select agent versions from caniuse version_list
Mischa POSLAWSKY [Mon, 23 Apr 2018 16:59:50 +0000 (18:59 +0200)]
sc: dark colour style
Mischa POSLAWSKY [Mon, 23 Apr 2018 15:53:49 +0000 (17:53 +0200)]
sc: move colours to base stylesheet
Allow for different styles.
Mischa POSLAWSKY [Mon, 23 Apr 2018 15:46:23 +0000 (17:46 +0200)]
sc: prefix mineral and gas classes, apply in legend
Mischa POSLAWSKY [Mon, 23 Apr 2018 15:37:52 +0000 (17:37 +0200)]
sc: spread related data over second line on small screens
Reduced width option to fit on tablets and (landscape) phones (~550px).
Mischa POSLAWSKY [Sun, 22 Apr 2018 12:11:12 +0000 (14:11 +0200)]
sc: indicate flying upgrade for locusts
Mischa POSLAWSKY [Sun, 22 Apr 2018 10:01:53 +0000 (12:01 +0200)]
sc: calculate upgraded hp maximum
Besides Marine also relevant for Banes now.
Mischa POSLAWSKY [Sun, 22 Apr 2018 01:30:13 +0000 (03:30 +0200)]
sc: special-case invulnerability for adept shades
Mischa POSLAWSKY [Sun, 22 Apr 2018 01:02:19 +0000 (03:02 +0200)]
sc: distinguish transformation time from build attribute
Mischa POSLAWSKY [Sat, 21 Apr 2018 23:07:20 +0000 (01:07 +0200)]
sc: apply lotv stats changes
Mostly from Liquipedia:
<http://liquipedia.net/starcraft2/Unit_Statistics_(Legacy_of_the_Void)>
Mischa POSLAWSKY [Sat, 21 Apr 2018 19:18:42 +0000 (21:18 +0200)]
sc: lotv version (unit list copied from hots data)
Mischa POSLAWSKY [Sun, 22 Apr 2018 13:03:41 +0000 (15:03 +0200)]
sc: raven durable materials upgrade on specials
Mischa POSLAWSKY [Sat, 21 Apr 2018 21:50:09 +0000 (23:50 +0200)]
sc: swap hots units to match game order
Mischa POSLAWSKY [Sun, 22 Apr 2018 11:57:12 +0000 (13:57 +0200)]
sc: visibility of optional hellbat bonus damage
Mischa POSLAWSKY [Sat, 21 Apr 2018 21:26:42 +0000 (23:26 +0200)]
sc: various hots unit data fixes
Mischa POSLAWSKY [Sat, 21 Apr 2018 19:17:50 +0000 (21:17 +0200)]
sc: generic list of named version includes
Prepare for different SC2 options.
Mischa POSLAWSKY [Sat, 21 Apr 2018 18:28:45 +0000 (20:28 +0200)]
sc: prefer warpgate times, indicate build details
Lower gateway time in hover text.
Also describe composition units (fixed in data).
Mischa POSLAWSKY [Sat, 21 Apr 2018 18:49:40 +0000 (20:49 +0200)]
sc: option to order by build time
Mischa POSLAWSKY [Sat, 21 Apr 2018 18:28:06 +0000 (20:28 +0200)]
sc: move cost order indicator to more appropriate column
Free build column for building time.
Mischa POSLAWSKY [Sat, 21 Apr 2018 18:25:41 +0000 (20:25 +0200)]
sc: option to order by hp
Mischa POSLAWSKY [Sat, 21 Apr 2018 18:25:23 +0000 (20:25 +0200)]
sc: option to order by speed
Mischa POSLAWSKY [Sat, 21 Apr 2018 18:24:36 +0000 (20:24 +0200)]
sc: compare attack order by dps
Link by more descriptive "attack" column despite this.
Mischa POSLAWSKY [Sat, 21 Apr 2018 18:22:41 +0000 (20:22 +0200)]
sc: option to order alphabetically by name
Describe first column as appropriate for default grouped ordering.
Mischa POSLAWSKY [Sat, 21 Apr 2018 18:21:26 +0000 (20:21 +0200)]
sc: cleanup row ordering code
Mischa POSLAWSKY [Sat, 21 Apr 2018 18:18:34 +0000 (20:18 +0200)]
sc: mark nexus as providing supply
Similar to Planetary Fortress.
Mischa POSLAWSKY [Sat, 21 Apr 2018 16:44:49 +0000 (18:44 +0200)]
chars: query overflow error as debug message
Resulting match can be very long as well, so hide it for users.
Allow error messages to be force wrapped to fit.
Mischa POSLAWSKY [Sat, 21 Apr 2018 16:04:11 +0000 (18:04 +0200)]
source: delay header output until after errors
Mischa POSLAWSKY [Wed, 18 Apr 2018 08:19:29 +0000 (10:19 +0200)]
browser: omit final version in support columns
Mischa POSLAWSKY [Sat, 21 Apr 2018 15:55:39 +0000 (17:55 +0200)]
abort messages with http error code
Fix success code for various exceptions.
Mischa POSLAWSKY [Sat, 21 Apr 2018 15:33:09 +0000 (17:33 +0200)]
common: postpone html head until output using PLP_START
Depend on upcoming PLP v3.25 feature to send headers after Html().
Mischa POSLAWSKY [Thu, 22 Mar 2018 00:58:27 +0000 (01:58 +0100)]
perl: update distro support upto 2017 releases
Information gathered from distrowatch.com.
Mischa POSLAWSKY [Thu, 22 Mar 2018 00:36:21 +0000 (01:36 +0100)]
perl: compatibility recommendations in version data
Mischa POSLAWSKY [Thu, 22 Mar 2018 00:17:46 +0000 (01:17 +0100)]
perl: wrap long source lines to 80 characters
Mischa POSLAWSKY [Fri, 16 Mar 2018 20:41:34 +0000 (21:41 +0100)]
browser: upstream dates on hover; update name
Mischa POSLAWSKY [Fri, 16 Mar 2018 20:31:46 +0000 (21:31 +0100)]
charset: center table captions on glyph cells only
Assume all tables with class glyphs have a header column which is styled
outside the rest of the body, so offset this width to appear centered.
Mischa POSLAWSKY [Fri, 16 Mar 2018 20:15:41 +0000 (21:15 +0100)]
charset: encode mik characters (common bulgarian)
The standard for DOS programs in Bulgaria, somehow unknown to Encode.
Data copied from iconv -f mik <(perl -e'print chr for 128..254');
Mischa POSLAWSKY [Tue, 6 Mar 2018 03:48:51 +0000 (04:48 +0100)]
mplayer: indicate mpv subpage in title
Mischa POSLAWSKY [Tue, 6 Mar 2018 03:46:00 +0000 (04:46 +0100)]
mplayer: mpv overrides in separate subpage
Mischa POSLAWSKY [Tue, 6 Mar 2018 03:26:37 +0000 (04:26 +0100)]
mplayer: include distinct mpv additions
Mischa POSLAWSKY [Fri, 16 Mar 2018 21:47:24 +0000 (22:47 +0100)]
keys: flatten right legend columns on small screens
Mischa POSLAWSKY [Sun, 4 Mar 2018 21:32:25 +0000 (22:32 +0100)]
keyboard: fix combining accent distinction
Regression in commit
v1.10-74-g8626278605 (2018-03-05)
[keyboard: match transliterated letters].
Mischa POSLAWSKY [Mon, 19 Jun 2017 13:58:47 +0000 (15:58 +0200)]
keyboard: page description with link to /unicode
Mischa POSLAWSKY [Mon, 5 Mar 2018 22:25:07 +0000 (23:25 +0100)]
common: bump version to 1.11
Mark significant changes since v1.10 and force CSS reload.
Mischa POSLAWSKY [Sun, 4 Mar 2018 21:26:45 +0000 (22:26 +0100)]
vi: undo attribute for recent increment keys
Minor oversight in commit
v1.10-62-gc1d9027a77 (2017-07-17) [vi: update].
Mischa POSLAWSKY [Mon, 5 Mar 2018 22:02:49 +0000 (23:02 +0100)]
charset: describe and link unicode subpage
Index only shows a small subset of BMP, while even SMP has been available
since commit
v1.6-183-gfc33639e32 (2015-06-09) [charset: unicode block
allocations for plane 1] and frequently updated.
Mischa POSLAWSKY [Sat, 3 Mar 2018 16:50:20 +0000 (17:50 +0100)]
charset: update smp allocation to unicode v10.0.1 roadmap
From recent http://www.unicode.org/roadmaps/smp/ updated 2018-01-10.
Mischa POSLAWSKY [Wed, 21 Feb 2018 08:59:34 +0000 (09:59 +0100)]
keyboard: match transliterated letters
Mischa POSLAWSKY [Wed, 21 Feb 2018 08:58:10 +0000 (09:58 +0100)]
keyboard: prepare mode inventory per key
Code cleanup; identical results.
Mischa POSLAWSKY [Sun, 4 Mar 2018 20:49:14 +0000 (21:49 +0100)]
keys: graphical representation of linux control keys
Represent some control combinations by recognisable symbols for function
keys equivalent in most terminal environments as they are commonly used.
May help people discover easier access.
Enter, tab, and escape should match for all current applications (except
vimperator for an insignificant alias). Delete and backspace represent
VT100/xterm and ASCII characters, but are different in VT220-based emulators
<http://www.macfreek.nl/memory/Backspace_and_Delete_key_reversed>.
In such cases ^h is distinct from backspace, but likely still works the same
for current occurrences where this is the intended behaviour.
In cases this does not work, the original bindings can still be easily
ascertained from surrounding keys, so should not pose much of a problem.
Mischa POSLAWSKY [Sun, 4 Mar 2018 20:34:18 +0000 (21:34 +0100)]
keys: separate method to format key letters
Move code to improve maintainability.
Mischa POSLAWSKY [Wed, 21 Feb 2018 08:55:34 +0000 (09:55 +0100)]
keys: invert background letter colour in dark style
Improve legibility similar to light style.
Mischa POSLAWSKY [Wed, 21 Feb 2018 08:54:21 +0000 (09:54 +0100)]
keys: adjust row indentation to terse key widths
Mischa POSLAWSKY [Wed, 21 Feb 2018 08:52:50 +0000 (09:52 +0100)]
keys: lower background letters in portrait styling
Larger key height leaves more space in bottom.
Mischa POSLAWSKY [Wed, 21 Feb 2018 08:51:23 +0000 (09:51 +0100)]
keys: reapply letter styling on modified classes
Broken in commit
v1.5-28-g8da63edfda (2014-02-24)
[keys: structure keyboard as html table]
Mischa POSLAWSKY [Tue, 20 Feb 2018 00:05:31 +0000 (01:05 +0100)]
tools: strip multiline comments in light.css
Outcommented code was added in commit
v1.10-43-g61fa0d2d3c (2017-07-17)
[keys: even smaller keyboard style for mobile].
Mischa POSLAWSKY [Tue, 20 Feb 2018 00:03:22 +0000 (01:03 +0100)]
browser: gather wikimedia data from updated year 2018
Stopgap fix of hardcoded value as a proper solution is yet to be written.
Mischa POSLAWSKY [Tue, 12 Dec 2017 16:48:01 +0000 (17:48 +0100)]
unicode: avoid undetected use of lexical_topic
Feature is buggy since its "removal" in perl v5.24, which is apparently
ignored when combined with "use utf8" for some reason (Perl bug).
Mischa POSLAWSKY [Wed, 15 Nov 2017 09:15:22 +0000 (10:15 +0100)]
tools: fix includes from relative paths for perl v5.26
Data is assumed to be located relative to script directories.
Like previous commit
v1.10-62-gce551a5d55 (2018-03-05)
[common: include from cwd to work around perl v5.26 security].
Mischa POSLAWSKY [Sun, 16 Jul 2017 15:44:58 +0000 (17:44 +0200)]
common: include from cwd to work around perl v5.26 security
Find site modules in the working directory as was default up to perl v5.24.
Sufficiently safe as all code should be executed from the document root.
Mischa POSLAWSKY [Sun, 4 Jun 2017 13:57:23 +0000 (15:57 +0200)]
sitemap: recognise missing [brahmi] page
Invalid port in
v1.9-294-gb3b5d17665 (2017-05-29) [update list of pages]
from another branch, should not be silently ignored.
Mischa POSLAWSKY [Mon, 2 Oct 2017 10:07:45 +0000 (12:07 +0200)]
vi: implement missing features from upstream release 8.0
Found by comparing :help pages.
Mischa POSLAWSKY [Fri, 30 Jun 2017 13:38:16 +0000 (15:38 +0200)]
digraphs: update cell classes in xorg comparison
Level names were changed in commit
v1.8-122-gadd39cdddd (2017-03-23)
[digraphs: reclassify vim support levels].
Mischa POSLAWSKY [Fri, 30 Jun 2017 13:38:38 +0000 (15:38 +0200)]
sample: fix metadata reference to include data
Mischa POSLAWSKY [Tue, 20 Jun 2017 12:22:27 +0000 (14:22 +0200)]
vimperator: mention alternative upstream pentadactyl
Fork with so far very similar defaults.
Mischa POSLAWSKY [Tue, 20 Jun 2017 12:50:50 +0000 (14:50 +0200)]
vimperator: describe caret mode functionality
Mischa POSLAWSKY [Tue, 20 Jun 2017 13:24:57 +0000 (15:24 +0200)]
vimperator: prefer primary zoom keys on normal mode
Mischa POSLAWSKY [Tue, 20 Jun 2017 12:02:03 +0000 (14:02 +0200)]
vimperator: update data to upstream version 3.16
Mischa POSLAWSKY [Tue, 20 Jun 2017 12:02:24 +0000 (14:02 +0200)]
vimperator: declare escape keys explicitly per mode
Automated setup added in commit
v1.4-61-g6d38d53c6c (2012-04-10)
[keys: replace omni-present escape keys] has been broken since commit
v1.7-126-ge1226a3e4c (2015-09-22) [dereference class definition includes].
Apply the intended effect as static data like other pages for simplicity.
Mischa POSLAWSKY [Sun, 18 Jun 2017 13:18:16 +0000 (15:18 +0200)]
keyboard: compare combining accents
Mischa POSLAWSKY [Sun, 18 Jun 2017 12:58:01 +0000 (14:58 +0200)]
keyboard: categorise keys by result similarity
Mischa POSLAWSKY [Sun, 18 Jun 2017 11:59:39 +0000 (13:59 +0200)]
keys: replace legends by generic function
Mischa POSLAWSKY [Sun, 18 Jun 2017 11:59:27 +0000 (13:59 +0200)]
vi: generic function to print entire help legends
Replace setup of help container consisting of left type legend (ordered .g*)
and right options legend (other flags and provided user options) as it is
identical on all other keyboard pages.
Mischa POSLAWSKY [Sun, 18 Jun 2017 12:13:49 +0000 (14:13 +0200)]
keyboard: fix empty key titles
Defunct syntax, broken since commit
v1.7-126-ge1226a3e4c (2015-09-22)
[keyboard: dereference class definition includes].
Mischa POSLAWSKY [Sun, 18 Jun 2017 12:09:46 +0000 (14:09 +0200)]
keyboard: drop unrelated vi legends
Mischa POSLAWSKY [Sun, 18 Jun 2017 10:50:56 +0000 (12:50 +0200)]
keys: move key definitions into translation includes
Partially reverts the split in commit
v1.3-0-g2034c72e12 (2010-06-18)
[overhaul keyboard module include syntax], though keeps distinct keys.
Expected translations did not occur, while normal maintenance becomes much
harder with separated data. Also translating can easily be done on top of
English includes without significant disadvantages.
Mischa POSLAWSKY [Sun, 18 Jun 2017 10:54:16 +0000 (12:54 +0200)]
keys: indent key definition includes
Prepare for upcoming move so lines remain unchanged.
Mischa POSLAWSKY [Sun, 18 Jun 2017 11:03:12 +0000 (13:03 +0200)]
keys: load flags dependency within descriptions include
Complete setup from a single include, as both are closely related
and should not be distinctly selected.
Mischa POSLAWSKY [Sun, 18 Jun 2017 07:56:56 +0000 (09:56 +0200)]
keys: even smaller keyboard style for mobile
Make keys 3em wide but 3 lines high to support phone browsers in portrait.
Reduces width by nearly 40% over terse (within 600px without scaling).
Mischa POSLAWSKY [Sun, 18 Jun 2017 07:55:57 +0000 (09:55 +0200)]
keys: load javascript asynchronously
Display page while loading dynamic parts.
Mischa POSLAWSKY [Sun, 18 Jun 2017 07:54:14 +0000 (09:54 +0200)]
keys: append current mode name to page title
Especially useful to distinguish browse history.
Mischa POSLAWSKY [Sun, 18 Jun 2017 07:53:54 +0000 (09:53 +0200)]
keys: mode switches in page location hash
Maintain location history (reflecting current mode in url),
and refresh on reload to support browser navigation.
Mischa POSLAWSKY [Sun, 18 Jun 2017 07:53:27 +0000 (09:53 +0200)]
keys: load page hash as initial mode
Support #modeX links to preselect custom mode.
Mischa POSLAWSKY [Sun, 18 Jun 2017 07:50:25 +0000 (09:50 +0200)]
keys: speed up javascript search for header title
Ignore subsequent headers to avoid duplicate work.
Mischa POSLAWSKY [Sun, 18 Jun 2017 07:49:11 +0000 (09:49 +0200)]
keys: terse keyboard width to prevent scrollbar
Recalculate based on smaller cells to prevent right margin
and zoomed out table on mobile screens.
Mischa POSLAWSKY [Fri, 16 Jun 2017 15:43:34 +0000 (17:43 +0200)]
tools: optional verbosity for wget-ifmodified
Silence target date output unless -v is specified.
Build should be more quiet if not debugging.
Mischa POSLAWSKY [Fri, 16 Jun 2017 15:17:15 +0000 (17:17 +0200)]
keys: javascript mode match reorder, comments
Code cleanup, optimisation.
Mischa POSLAWSKY [Fri, 16 Jun 2017 14:40:03 +0000 (16:40 +0200)]
keys: treat escape row as unshifted
Set first meta mode to fix keyboard navigation.
Mischa POSLAWSKY [Fri, 16 Jun 2017 14:36:33 +0000 (16:36 +0200)]
keys: clean up mode defaults setup in print_rows()
No partial parameter shifting. Use /x and // operator for readability.
Same results.
Mischa POSLAWSKY [Thu, 27 Apr 2017 01:45:29 +0000 (03:45 +0200)]
tools: specify only font files to keep after building
Target intermediate ttf files as intended
to reallow cleanup for everything else.