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.
Mischa POSLAWSKY [Mon, 5 Jun 2017 22:52:39 +0000 (00:52 +0200)]
termcol: neslike option
Alternate "NES* (nes like)" conversion by 0xDB from
<http://gamedevelopersrefuge.org/viewtopic.php?p=42520#42520>:
> the generator routine is based on PPU descriptions
> http://problemkaputt.de/everynes.htm#ppupalettes and
> http://nesdev.com/2C02%20technical%20reference.TXT and
> on NTSC signal descriptions and on YPBPR to RGB conversions
> improved based on angles of the colorwheel description from
> http://www.ntsc-tv.com/ntsc-index-06.htm
Mischa POSLAWSKY [Mon, 5 Jun 2017 22:44:01 +0000 (00:44 +0200)]
termcol: dawnbringer32 option
Similar to DB16 but double the fun^W amount of colours.
> this is a palette that tries to be as multi-purpose as possible,
> but with a clear slant towards archetypical game graphics & pixelart.
Mischa POSLAWSKY [Sun, 11 Jun 2017 00:00:30 +0000 (02:00 +0200)]
index: fix misaligned column break in webkit
Workaround bug in at least Chrome, where initial margin seems to apply
after column calculation, causing word-wrapped navigation titles to be
broken across multiple columns.
Mischa POSLAWSKY [Sun, 4 Jun 2017 21:49:21 +0000 (23:49 +0200)]
common: match version suffix for indirect stylesheet includes
Avoid rerequests due to different filenames.
Mischa POSLAWSKY [Sun, 11 Jun 2017 00:45:35 +0000 (02:45 +0200)]
tools: separate stripcss script to build css
Expanded for readability but otherwise identical code.
Mischa POSLAWSKY [Sun, 11 Jun 2017 00:19:05 +0000 (02:19 +0200)]
common: generate optimised css file for light
Strip whitespace and comments to reduce download size by 6kB (35%).
Silences site analysers such as Google PageSpeed about unminified CSS:
> Compacting CSS code can save many bytes of data and speed up download and
> parse times.
> Minifying http://sheet.shiar.nl/base.css could save 2KiB (41% reduction)
> after compression.
Tried a couple of existing tools [from Debian] but they mostly failed to
parse more complex rules, or tried to make unwanted "improvements".
Rather write some simple regexes to specifically and transparently replace
whitespace and comments.
Mischa POSLAWSKY [Sun, 4 Jun 2017 21:40:18 +0000 (23:40 +0200)]
common: include light stylesheet in favour over base
Identical since previous commit.
Mischa POSLAWSKY [Sun, 4 Jun 2017 21:40:18 +0000 (23:40 +0200)]
common: inline light stylesheet on page
Move import rules to html source to avoid deferral until initial css load.
Keep light file as copy (link) of base to avoid renames for now.
Mischa POSLAWSKY [Sun, 18 Jun 2017 07:48:33 +0000 (09:48 +0200)]
common: less specific rules for terse keyboard
Same results but easier to override.
Mischa POSLAWSKY [Sun, 4 Jun 2017 21:45:09 +0000 (23:45 +0200)]
common: integrate terse media style in base
Move rules for more compact keyboard into base include to save a (serial
so delayed) request. Users can always resize their browser to enable this
style (and not just for light colours), so advantages of keeping it separate
are minimal.
Mischa POSLAWSKY [Sun, 4 Jun 2017 21:57:40 +0000 (23:57 +0200)]
digraphs: build xorg include by default
Publicly linked since commit
v1.8-111-g329d478b0e (2017-03-22)
[digraphs: link to xorg variant, adapt title and intro].
Mischa POSLAWSKY [Sun, 4 Jun 2017 22:01:26 +0000 (00:01 +0200)]
digraphs: extended regexps for all xorg parsing
Mischa POSLAWSKY [Sun, 4 Jun 2017 21:55:58 +0000 (23:55 +0200)]
digraphs: support xorg include creation from local data
A single file is needed for lookup; allow local checkout or override instead
of requiring a full system install of x11proto-core-dev.
Mischa POSLAWSKY [Sun, 4 Jun 2017 21:54:51 +0000 (23:54 +0200)]
tools: preserve make errors, ignore empty output
Exit codes lost since commit
v1.9-305-ga7e3d17ab8 (2017-05-29)
[tools: atomic creation of include files]. Fixed using `mispipe`
also provided by moreutils. As additional fail-safe, also catch
empty results with `ifne` to keep existing data on failure.
Mischa POSLAWSKY [Sun, 4 Jun 2017 21:53:35 +0000 (23:53 +0200)]
tools: output git action during make
Either clone or pull with matching echo, quiet execution.
Mischa POSLAWSKY [Sun, 4 Jun 2017 21:53:35 +0000 (23:53 +0200)]
tools: make functions for common file creation
Identical results.
Mischa POSLAWSKY [Tue, 30 May 2017 02:27:46 +0000 (04:27 +0200)]
common: drop compatibility copyright rel
Alternate value as supported by old Presto browsers, apparently deprecated
in current standards according to <https://validator.w3.org/>:
> The keyword copyright for the rel attribute should not be used.
> Consider using license instead.
Nobody cares about (or uses) Opera anymore :/
Mischa POSLAWSKY [Tue, 23 May 2017 16:44:33 +0000 (18:44 +0200)]
perl: finalise v5.26 release
Mischa POSLAWSKY [Tue, 30 May 2017 02:22:36 +0000 (04:22 +0200)]
latin: unrestricted width of sample column
Fix unwanted word wrapping.
Mischa POSLAWSKY [Sat, 20 May 2017 17:21:40 +0000 (19:21 +0200)]
latin: moon row in svg
Draw glyphs after all as Unicode allocation does not seem to progress.
Hand coded with inspiration from samples in n4128.
Mischa POSLAWSKY [Wed, 17 May 2017 13:20:15 +0000 (15:20 +0200)]
latin: chromacons description in header title
Visible outside of source code as it's not a common standard.
Mischa POSLAWSKY [Wed, 17 May 2017 13:20:52 +0000 (15:20 +0200)]
latin: rename title attribute to name
Match termcol include, clarify distinction with hovered title.
Mischa POSLAWSKY [Wed, 17 May 2017 23:37:29 +0000 (01:37 +0200)]
source: recognise [sample] text include references
Mischa POSLAWSKY [Wed, 17 May 2017 23:36:40 +0000 (01:36 +0200)]
source: link back to resulting page
Mischa POSLAWSKY [Wed, 17 May 2017 13:22:42 +0000 (15:22 +0200)]
source: inherit source file date as modification
Mischa POSLAWSKY [Wed, 17 May 2017 13:22:04 +0000 (15:22 +0200)]
common: wrap some long code lines to 78 columns
Mischa POSLAWSKY [Wed, 17 May 2017 09:54:15 +0000 (11:54 +0200)]
source: delineate console width for any preformatted block
Adopt sample styling for any text source, which should all have a
(preferred) limit of 78 characters. Overflows with default tab stop
of 8, but all modern browsers except for msie support customisation.
Mischa POSLAWSKY [Wed, 17 May 2017 23:37:58 +0000 (01:37 +0200)]
sample: modification date of source text
Mischa POSLAWSKY [Wed, 17 May 2017 09:51:45 +0000 (11:51 +0200)]
sample: delineate preformatted block
Indicate line end for a more balanced look and to highlight incorrect
monospace rendering.
Mischa POSLAWSKY [Wed, 17 May 2017 09:48:43 +0000 (11:48 +0200)]
sample: format section titles as html headers
Mischa POSLAWSKY [Wed, 17 May 2017 09:45:52 +0000 (11:45 +0200)]
sample: html wrapper for unicode text file
Mischa POSLAWSKY [Mon, 15 May 2017 22:31:52 +0000 (00:31 +0200)]
common: bump version to 1.10
Mark significant changes since v1.9.
Mischa POSLAWSKY [Tue, 16 May 2017 19:41:50 +0000 (21:41 +0200)]
index: explicitly reference sitemap include
Probably ignored by most robots, but advertise it nonetheless.
Mischa POSLAWSKY [Tue, 16 May 2017 23:37:30 +0000 (01:37 +0200)]
tools: git output and pull fallback
Mischa POSLAWSKY [Tue, 16 May 2017 19:39:39 +0000 (21:39 +0200)]
latin: common tool to dump static perl include
Move inline code to reusable script.
Mischa POSLAWSKY [Tue, 16 May 2017 19:32:49 +0000 (21:32 +0200)]
tools: atomic creation of include files
Replace shell redirect by equivalent `sponge` script from moreutils,
which keeps the original contents during creation avoiding downtime
during possibly slow remake.
Mischa POSLAWSKY [Tue, 23 May 2017 23:51:08 +0000 (01:51 +0200)]
htaccess: defer compression to server configuration
Local customisation preclude server rules, which should enable compression
of css and javascript as desired. In any case not site-specific at all.
Mischa POSLAWSKY [Mon, 24 Apr 2017 03:20:27 +0000 (05:20 +0200)]
index: link digits page
Mischa POSLAWSKY [Thu, 25 May 2017 19:22:30 +0000 (21:22 +0200)]
index: link rss feed of git repository
Mischa POSLAWSKY [Thu, 25 May 2017 17:45:35 +0000 (19:45 +0200)]
index: common styling for family name
Replace inline style by semantic class name (matching vcard microformat
<http://microformats.org/wiki/hcard>).
Mischa POSLAWSKY [Thu, 25 May 2017 17:23:12 +0000 (19:23 +0200)]
index: vertical spacing between navigation links
Increase distance to facilitate mobile clicking;
makes the page mobile-friendly according to
<https://search.google.com/search-console/mobile-friendly?url=sheet.shiar.nl>
which recommends elements to be at least 48px apart:
<https://developers.google.com/speed/docs/insights/SizeTapTargetsAppropriately>
Mischa POSLAWSKY [Thu, 25 May 2017 17:18:54 +0000 (19:18 +0200)]
index: link sections in columns
Appropriate HTML5 navigation element can be used safely because unstyled
MSIE versions does not support columns. Column number hardcoded to enable
center-alignment.
Mischa POSLAWSKY [Sun, 28 May 2017 16:39:23 +0000 (18:39 +0200)]
browser: development version cell fallback
Mischa POSLAWSKY [Sun, 7 May 2017 11:30:32 +0000 (13:30 +0200)]
termcol: distinguish 2C0x and analog ppu
Rename 7-bit digital version and create an analog variant based on NTSC
values, generated by <http://drag.wootest.net/misc/palgen.html> with sRGB
colorimetry and tuned (hue=0, sat=1, bri=.05, con=1, gam=1) to appear
similar to other (overly saturated) versions.
Mischa POSLAWSKY [Wed, 3 May 2017 21:46:34 +0000 (23:46 +0200)]
termcol: fix reordered msx transparency exception
Mischa POSLAWSKY [Tue, 2 May 2017 22:15:42 +0000 (00:15 +0200)]
sitemap: include major subpages
Mischa POSLAWSKY [Tue, 2 May 2017 22:12:52 +0000 (00:12 +0200)]
sitemap: update list of pages
Mischa POSLAWSKY [Tue, 2 May 2017 22:02:15 +0000 (00:02 +0200)]
sitemap: include file dates in lastmod attribute
Mischa POSLAWSKY [Tue, 2 May 2017 21:59:57 +0000 (23:59 +0200)]
sitemap: warn about undeclared pages
Mischa POSLAWSKY [Tue, 2 May 2017 21:55:49 +0000 (23:55 +0200)]
sitemap: tool to generate static xml
Effectively the same results but easier to maintain.
Mischa POSLAWSKY [Tue, 2 May 2017 21:35:02 +0000 (23:35 +0200)]
robots: host directive to reduce mirror crawling
Preferred domain to indicate main site for at least Yandex bots:
<https://yandex.com/support/webmaster/controlling-robot/robots-txt.xml#host>
Mischa POSLAWSKY [Tue, 2 May 2017 21:37:53 +0000 (23:37 +0200)]
latin: delete unused asl font
Reference dropped in commit
v1.7-154-g463f433018 (2015-09-22)
[latin: replace asl font by signwriting unicode].
Mischa POSLAWSKY [Tue, 2 May 2017 20:52:17 +0000 (22:52 +0200)]
move all generated includes into data/
Mischa POSLAWSKY [Tue, 2 May 2017 20:51:47 +0000 (22:51 +0200)]
gitignore: include all files in data/
Mischa POSLAWSKY [Tue, 2 May 2017 20:49:52 +0000 (22:49 +0200)]
termcol: move generated xcolors include to data/
Mischa POSLAWSKY [Tue, 2 May 2017 20:45:13 +0000 (22:45 +0200)]
termcol: hue order for ppu tables
Mischa POSLAWSKY [Tue, 2 May 2017 20:36:47 +0000 (22:36 +0200)]
termcol: reindent table handling code
Mischa POSLAWSKY [Tue, 2 May 2017 20:36:06 +0000 (22:36 +0200)]
termcol: separate gameboy table rows in cpcboy
Mischa POSLAWSKY [Tue, 2 May 2017 20:00:46 +0000 (22:00 +0200)]
termcol: shovel knight variant of ppu
Colours copied from conversion at <https://en.wikipedia.org/
?title=List_of_video_game_console_palettes&oldid=
770553908#NES>
which should match the actual game:
<https://www.reddit.com/r/gamegrumps/comments/1c0ppo/shovel_knight_game_grumps/c9c54av/>
Append custom colours as described at:
<http://yachtclubgames.com/2014/07/breaking-the-nes/>
Mischa POSLAWSKY [Tue, 2 May 2017 19:56:01 +0000 (21:56 +0200)]
termcol: include and mark duplicate colours in ppu
Mischa POSLAWSKY [Tue, 2 May 2017 19:42:02 +0000 (21:42 +0200)]
termcol: trim 8-colour xcolors palettes
Mischa POSLAWSKY [Tue, 2 May 2017 19:39:55 +0000 (21:39 +0200)]
termcol: optional preset for xcolors include
Avoid load unless needed.
Mischa POSLAWSKY [Tue, 2 May 2017 19:31:47 +0000 (21:31 +0200)]
termcol: distinguish separate tbody for shiar32 greyscale rows
Mischa POSLAWSKY [Tue, 2 May 2017 18:59:32 +0000 (20:59 +0200)]
termcol: greyscale row format like cpc for shiar32
Mischa POSLAWSKY [Tue, 2 May 2017 18:55:48 +0000 (20:55 +0200)]
termcol: link and describe legacy group
Mischa POSLAWSKY [Thu, 27 Apr 2017 01:37:09 +0000 (03:37 +0200)]
termcol: make rules to setup xcolors checkout
Mischa POSLAWSKY [Fri, 28 Apr 2017 02:41:44 +0000 (04:41 +0200)]
common: align all preformatted html (debug alerts)
Mischa POSLAWSKY [Sat, 29 Apr 2017 23:19:36 +0000 (01:19 +0200)]
browser: makefile rule for wikimedia usage include
Mischa POSLAWSKY [Sat, 29 Apr 2017 19:03:52 +0000 (21:03 +0200)]
browser: only annotate end date of wikimedia data
Mischa POSLAWSKY [Fri, 28 Apr 2017 00:56:08 +0000 (02:56 +0200)]
browser: count unknown agent versions as old
Mischa POSLAWSKY [Fri, 28 Apr 2017 00:38:23 +0000 (02:38 +0200)]
browser: calculate score multiplier from usage totals
Include hidden agents in total, more direct code.
Mischa POSLAWSKY [Thu, 27 Apr 2017 23:31:34 +0000 (01:31 +0200)]
browser: truncate maximum usage score to 99
Even in theory 100% should be impossible.
Mischa POSLAWSKY [Fri, 28 Apr 2017 00:02:40 +0000 (02:02 +0200)]
browser: name loop variable of version header cells
Mischa POSLAWSKY [Thu, 27 Apr 2017 19:58:01 +0000 (21:58 +0200)]
browser: append partial match of next cell versions
Mischa POSLAWSKY [Thu, 27 Apr 2017 19:57:14 +0000 (21:57 +0200)]
browser: prepare intermediate variable of flat cell versions
Mischa POSLAWSKY [Thu, 27 Apr 2017 18:48:52 +0000 (20:48 +0200)]
browser: browser and versions in cell titles
Increases size by 5kB to 134kB (50kB to 793kB uncompressed)
but greatly improves usability.
Mischa POSLAWSKY [Thu, 27 Apr 2017 18:46:38 +0000 (20:46 +0200)]
browser: update caniuse support classes
Status 'j' can been completely supplanted by 'p'.
Mischa POSLAWSKY [Thu, 27 Apr 2017 15:45:22 +0000 (17:45 +0200)]
browser: round *.0 versions in single cells
Currently only used with multiple versions for Safari, such as "7.0-7.1"
which given as minimum "7.0" represents unnecessary accuracy.
Mischa POSLAWSKY [Thu, 27 Apr 2017 15:43:26 +0000 (17:43 +0200)]
browser: obsolete trimming in version number formatting
CanIUse data no longer contains version numbers starting with "."
or ending with "x".
Mischa POSLAWSKY [Thu, 27 Apr 2017 15:42:30 +0000 (17:42 +0200)]
browser: prefer last stable release in versions row