sheet.git
2 years agotermcol: move generated xcolors include to data/
Mischa POSLAWSKY [Tue, 2 May 2017 20:49:52 +0000 (22:49 +0200)]
termcol: move generated xcolors include to data/

2 years agotermcol: hue order for ppu tables
Mischa POSLAWSKY [Tue, 2 May 2017 20:45:13 +0000 (22:45 +0200)]
termcol: hue order for ppu tables

2 years agotermcol: reindent table handling code
Mischa POSLAWSKY [Tue, 2 May 2017 20:36:47 +0000 (22:36 +0200)]
termcol: reindent table handling code

2 years agotermcol: separate gameboy table rows in cpcboy
Mischa POSLAWSKY [Tue, 2 May 2017 20:36:06 +0000 (22:36 +0200)]
termcol: separate gameboy table rows in cpcboy

2 years agotermcol: shovel knight variant of ppu
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/>

2 years agotermcol: include and mark duplicate colours in ppu
Mischa POSLAWSKY [Tue, 2 May 2017 19:56:01 +0000 (21:56 +0200)]
termcol: include and mark duplicate colours in ppu

2 years agotermcol: trim 8-colour xcolors palettes
Mischa POSLAWSKY [Tue, 2 May 2017 19:42:02 +0000 (21:42 +0200)]
termcol: trim 8-colour xcolors palettes

2 years agotermcol: optional preset for xcolors include
Mischa POSLAWSKY [Tue, 2 May 2017 19:39:55 +0000 (21:39 +0200)]
termcol: optional preset for xcolors include

Avoid load unless needed.

2 years agotermcol: distinguish separate tbody for shiar32 greyscale rows
Mischa POSLAWSKY [Tue, 2 May 2017 19:31:47 +0000 (21:31 +0200)]
termcol: distinguish separate tbody for shiar32 greyscale rows

2 years agotermcol: greyscale row format like cpc for shiar32
Mischa POSLAWSKY [Tue, 2 May 2017 18:59:32 +0000 (20:59 +0200)]
termcol: greyscale row format like cpc for shiar32

2 years agotermcol: link and describe legacy group
Mischa POSLAWSKY [Tue, 2 May 2017 18:55:48 +0000 (20:55 +0200)]
termcol: link and describe legacy group

2 years agotermcol: make rules to setup xcolors checkout
Mischa POSLAWSKY [Thu, 27 Apr 2017 01:37:09 +0000 (03:37 +0200)]
termcol: make rules to setup xcolors checkout

2 years agocommon: align all preformatted html (debug alerts)
Mischa POSLAWSKY [Fri, 28 Apr 2017 02:41:44 +0000 (04:41 +0200)]
common: align all preformatted html (debug alerts)

2 years agobrowser: makefile rule for wikimedia usage include
Mischa POSLAWSKY [Sat, 29 Apr 2017 23:19:36 +0000 (01:19 +0200)]
browser: makefile rule for wikimedia usage include

2 years agobrowser: only annotate end date of wikimedia data
Mischa POSLAWSKY [Sat, 29 Apr 2017 19:03:52 +0000 (21:03 +0200)]
browser: only annotate end date of wikimedia data

2 years agobrowser: count unknown agent versions as old
Mischa POSLAWSKY [Fri, 28 Apr 2017 00:56:08 +0000 (02:56 +0200)]
browser: count unknown agent versions as old

2 years agobrowser: calculate score multiplier from usage totals
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.

2 years agobrowser: truncate maximum usage score to 99
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.

2 years agobrowser: name loop variable of version header cells
Mischa POSLAWSKY [Fri, 28 Apr 2017 00:02:40 +0000 (02:02 +0200)]
browser: name loop variable of version header cells

2 years agobrowser: append partial match of next cell versions
Mischa POSLAWSKY [Thu, 27 Apr 2017 19:58:01 +0000 (21:58 +0200)]
browser: append partial match of next cell versions

2 years agobrowser: prepare intermediate variable of flat cell versions
Mischa POSLAWSKY [Thu, 27 Apr 2017 19:57:14 +0000 (21:57 +0200)]
browser: prepare intermediate variable of flat cell versions

2 years agobrowser: browser and versions in cell titles
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.

2 years agobrowser: update caniuse support classes
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'.

2 years agobrowser: round *.0 versions in single cells
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.

2 years agobrowser: obsolete trimming in version number formatting
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".

2 years agobrowser: prefer last stable release in versions row
Mischa POSLAWSKY [Thu, 27 Apr 2017 15:42:30 +0000 (17:42 +0200)]
browser: prefer last stable release in versions row

2 years agobrowser: abbreviate multiple releases in versions row titles
Mischa POSLAWSKY [Thu, 27 Apr 2017 15:37:56 +0000 (17:37 +0200)]
browser: abbreviate multiple releases in versions row titles

Individual version numbers are not really of interest (and may not actually
match usage data), and are much better represented as ranges (especially
with the huge amount of Chrome increments).

2 years agobrowser: precalculate row usage values
Mischa POSLAWSKY [Thu, 27 Apr 2017 13:51:38 +0000 (15:51 +0200)]
browser: precalculate row usage values

Trade memory for speed.

2 years agobrowser: omit superfluous usage class
Mischa POSLAWSKY [Thu, 27 Apr 2017 13:40:26 +0000 (15:40 +0200)]
browser: omit superfluous usage class

Unused pp## does not offer anything over p##.

2 years agobrowser: agent versions from appropriate index
Mischa POSLAWSKY [Thu, 27 Apr 2017 13:33:26 +0000 (15:33 +0200)]
browser: agent versions from appropriate index

2 years agobrowser: caniuse data from github repository
Mischa POSLAWSKY [Thu, 27 Apr 2017 01:44:14 +0000 (03:44 +0200)]
browser: caniuse data from github repository

Identical to downloaded json file but includes history and stuff.

2 years agocommon: fix max-age header value
Mischa POSLAWSKY [Thu, 27 Apr 2017 16:03:05 +0000 (18:03 +0200)]
common: fix max-age header value

Invalid since introduction in commit v1.5-22-g423d297ed8 (2013-07-17)
[htaccess: set max-age for plp to a day].

2 years agocommon: html page headers on plp errors
Mischa POSLAWSKY [Thu, 27 Apr 2017 01:36:28 +0000 (03:36 +0200)]
common: html page headers on plp errors

Ensure generic Html if called before page setup.

2 years agocommon: early setup of plp error formatting
Mischa POSLAWSKY [Thu, 27 Apr 2017 01:20:59 +0000 (03:20 +0200)]
common: early setup of plp error formatting

Load at BEGIN to catch compile-time errors.

2 years agocommon: fix initial call to setup debug time
Mischa POSLAWSKY [Thu, 27 Apr 2017 01:15:18 +0000 (03:15 +0200)]
common: fix initial call to setup debug time

Avoid string interpretation if module is not yet known at compile-time.

2 years agobrowser: set caniuse date to exported data value
Mischa POSLAWSKY [Thu, 27 Apr 2017 00:47:46 +0000 (02:47 +0200)]
browser: set caniuse date to exported data value

Field actually added by Alexis shortly after our discussion in 2010,
so no more need to stat file/retrieval date.

2 years agobrowser: strip link urls from cell titles
Mischa POSLAWSKY [Thu, 27 Apr 2017 00:38:40 +0000 (02:38 +0200)]
browser: strip link urls from cell titles

2 years agobrowser: merge renamed browsers
Mischa POSLAWSKY [Thu, 27 Apr 2017 00:34:58 +0000 (02:34 +0200)]
browser: merge renamed browsers

Edge is rebranded IE, Android Browser has merged with Chrome.
Prefer old but more descriptive/recognisable names for now.
No version overlap.

2 years agobrowser: update recognised agents of statcounter
Mischa POSLAWSKY [Thu, 27 Apr 2017 00:36:56 +0000 (02:36 +0200)]
browser: update recognised agents of statcounter

2 years agobrowser: increase agent threshold after new wikimedia data
Mischa POSLAWSKY [Thu, 27 Apr 2017 00:38:25 +0000 (02:38 +0200)]
browser: increase agent threshold after new wikimedia data

2 years agobrowser: new mkusage-wikipedia to parse analytics tsv
Mischa POSLAWSKY [Thu, 27 Apr 2017 00:33:39 +0000 (02:33 +0200)]
browser: new mkusage-wikipedia to parse analytics tsv

Amazing export from analytics.wikimedia.org continuing previous squid stats
but all nicely prepared, only needing translation to caniuse agent identifiers.
Contains all samples, so restrict by year for now.

2 years agobrowser: rename old wikimedia parser to mkusage-squid
Mischa POSLAWSKY [Wed, 26 Apr 2017 23:46:58 +0000 (01:46 +0200)]
browser: rename old wikimedia parser to mkusage-squid

Actual Wikimedia statistics are no longer added in this format, so give
a more appropriate name as it probably matches any auto-generated Squid
server statistics.

2 years agocountries: abbreviate West and East names
Mischa POSLAWSKY [Wed, 26 Apr 2017 21:21:48 +0000 (23:21 +0200)]
countries: abbreviate West and East names

Western Sahara and East Timor to W-Sah and E-Tim.

2 years agobrowser: delete unused data from caniuse include
Mischa POSLAWSKY [Wed, 26 Apr 2017 21:20:40 +0000 (23:20 +0200)]
browser: delete unused data from caniuse include

2 years agobrowser: force perl decode of caniuse json
Mischa POSLAWSKY [Wed, 26 Apr 2017 21:16:50 +0000 (23:16 +0200)]
browser: force perl decode of caniuse json

Avoid XS version if installed to prevent boolean references.

2 years agounicode: minor planets table including pluto
Mischa POSLAWSKY [Wed, 26 Apr 2017 21:23:23 +0000 (23:23 +0200)]
unicode: minor planets table including pluto

Only major bodies in solar group.  Move Pluto with other ex-planets.

2 years agounicode: suprasegmental ipa character group
Mischa POSLAWSKY [Mon, 24 Apr 2017 00:45:08 +0000 (02:45 +0200)]
unicode: suprasegmental ipa character group

2 years agounicode: classify private use characters as unassigned
Mischa POSLAWSKY [Mon, 24 Apr 2017 00:41:48 +0000 (02:41 +0200)]
unicode: classify private use characters as unassigned

Technically in Unicode v6.0 but not safe to use, so l1 style is more
appropriate.

2 years agounicode: secondary ipa header with place categories
Mischa POSLAWSKY [Mon, 24 Apr 2017 00:22:31 +0000 (02:22 +0200)]
unicode: secondary ipa header with place categories

Support multiple > prefixes in header cells to span multiple columns.

2 years agounicode: subtitled code point of original input
Mischa POSLAWSKY [Mon, 24 Apr 2017 00:06:31 +0000 (02:06 +0200)]
unicode: subtitled code point of original input

Fix for diacritics with a string representation.

2 years agounicode: ipa tones and contours tables
Mischa POSLAWSKY [Sun, 23 Apr 2017 23:39:55 +0000 (01:39 +0200)]
unicode: ipa tones and contours tables

2 years agounicode: extend ipa tables including unofficial glyphs
Mischa POSLAWSKY [Sun, 23 Apr 2017 20:44:50 +0000 (22:44 +0200)]
unicode: extend ipa tables including unofficial glyphs

Various proposals from Wikipedia, constructions to fill in some gaps,
and an Articulation row for modifiers.

2 years agounicode: recompile character info on table changes
Mischa POSLAWSKY [Sun, 23 Apr 2017 23:37:50 +0000 (01:37 +0200)]
unicode: recompile character info on table changes

2 years agodigits: include (common) class legend
Mischa POSLAWSKY [Sun, 23 Apr 2017 19:11:37 +0000 (21:11 +0200)]
digits: include (common) class legend

2 years agounicode: support legend in common method
Mischa POSLAWSKY [Sun, 23 Apr 2017 19:10:36 +0000 (21:10 +0200)]
unicode: support legend in common method

2 years agowriting: consistent cell class in legend
Mischa POSLAWSKY [Sun, 23 Apr 2017 19:00:23 +0000 (21:00 +0200)]
writing: consistent cell class in legend

Enforce .X, adding it on .ex column.

2 years agowriting: common method to display (univer) legend
Mischa POSLAWSKY [Sun, 23 Apr 2017 18:59:28 +0000 (20:59 +0200)]
writing: common method to display (univer) legend

2 years agolatin: d'ni border colour on dark background
Mischa POSLAWSKY [Sun, 23 Apr 2017 01:14:41 +0000 (03:14 +0200)]
latin: d'ni border colour on dark background

2 years agosource: link include files with dashes and subdirectories
Mischa POSLAWSKY [Sun, 23 Apr 2017 01:04:58 +0000 (03:04 +0200)]
source: link include files with dashes and subdirectories

For example writing-* and digraphs data.

2 years agosource: disable syntax highlighting for large files
Mischa POSLAWSKY [Sun, 23 Apr 2017 01:04:27 +0000 (03:04 +0200)]
source: disable syntax highlighting for large files

Attempt to keep responses within 2 seconds on my slow server; large files
are mostly data includes which do not benefit much from markup anyway.

2 years agosource: move highlighting setup into eval
Mischa POSLAWSKY [Sun, 23 Apr 2017 01:03:52 +0000 (03:03 +0200)]
source: move highlighting setup into eval

Fallback to plain text if vim fails for whatever reason.

2 years agocommon: prepare stylesheet links early to fix cookies
Mischa POSLAWSKY [Sat, 22 Apr 2017 11:49:12 +0000 (13:49 +0200)]
common: prepare stylesheet links early to fix cookies

Broken in commit v1.9-29-g8c3e7dc648 (2017-04-10)
[common: join stylesheets html inline].

2 years agocommon: replace html links by common function
Mischa POSLAWSKY [Sun, 23 Apr 2017 01:02:31 +0000 (03:02 +0200)]
common: replace html links by common function

2 years agocharset: move html link function to common include
Mischa POSLAWSKY [Sun, 23 Apr 2017 00:55:49 +0000 (02:55 +0200)]
charset: move html link function to common include

2 years agocharset: inline symbol character tables
Mischa POSLAWSKY [Sat, 22 Apr 2017 15:55:53 +0000 (17:55 +0200)]
charset: inline symbol character tables

Set arrays directly instead of bothering with Encode conversion.

2 years agocharset: persistent data of unicode cell include
Mischa POSLAWSKY [Sat, 22 Apr 2017 13:27:54 +0000 (15:27 +0200)]
charset: persistent data of unicode cell include

Avoid multiple loads of same data in unicode preset.

2 years agocharset: generic varchar option to identify array maps
Mischa POSLAWSKY [Sat, 22 Apr 2017 13:21:07 +0000 (15:21 +0200)]
charset: generic varchar option to identify array maps

Clears the last hardcoded name exceptions.

2 years agocharset: strip private use characters from MacThai
Mischa POSLAWSKY [Sat, 22 Apr 2017 12:53:52 +0000 (14:53 +0200)]
charset: strip private use characters from MacThai

2 years agocharset: replace private use glyphs in MacHebrew
Mischa POSLAWSKY [Sat, 22 Apr 2017 12:36:03 +0000 (14:36 +0200)]
charset: replace private use glyphs in MacHebrew

2 years agocharset: common endpoint fallback
Mischa POSLAWSKY [Sat, 22 Apr 2017 11:46:21 +0000 (13:46 +0200)]
charset: common endpoint fallback

2 years agocharset: generic glyph replacement from metadata
Mischa POSLAWSKY [Sat, 22 Apr 2017 10:32:37 +0000 (12:32 +0200)]
charset: generic glyph replacement from metadata

Common format with full support for partial overlaps.

2 years agocharset: refer to utf8 preset without dash
Mischa POSLAWSKY [Sat, 22 Apr 2017 13:12:49 +0000 (15:12 +0200)]
charset: refer to utf8 preset without dash

Swap with alias, functionally unchanged.

2 years agocharset: move encoding-specific setup code to include
Mischa POSLAWSKY [Sat, 22 Apr 2017 10:15:20 +0000 (12:15 +0200)]
charset: move encoding-specific setup code to include

2 years agocharset: case-insensitive preset lookup
Mischa POSLAWSKY [Sat, 22 Apr 2017 12:13:30 +0000 (14:13 +0200)]
charset: case-insensitive preset lookup

2 years agocharset: move group references into metadata include
Mischa POSLAWSKY [Sat, 22 Apr 2017 09:56:40 +0000 (11:56 +0200)]
charset: move group references into metadata include

2 years agocharset: common check of compare option
Mischa POSLAWSKY [Sat, 22 Apr 2017 09:53:14 +0000 (11:53 +0200)]
charset: common check of compare option

2 years agocharset: extend inheritance to generic metadata hashes
Mischa POSLAWSKY [Sat, 22 Apr 2017 09:49:05 +0000 (11:49 +0200)]
charset: extend inheritance to generic metadata hashes

2 years agocharset: move inheritance metadata to include
Mischa POSLAWSKY [Sat, 22 Apr 2017 09:42:35 +0000 (11:42 +0200)]
charset: move inheritance metadata to include

2 years agocharset: code constants in hexadecimal where appropriate
Mischa POSLAWSKY [Fri, 21 Apr 2017 22:12:59 +0000 (00:12 +0200)]
charset: code constants in hexadecimal where appropriate

2 years agocharset: rename u* preset for custom unicode requests
Mischa POSLAWSKY [Fri, 21 Apr 2017 22:06:59 +0000 (00:06 +0200)]
charset: rename u* preset for custom unicode requests

Replace special uHEX match by empty request with common range parameters.

2 years agocharset: hexadecimal subselect options
Mischa POSLAWSKY [Fri, 21 Apr 2017 21:11:35 +0000 (23:11 +0200)]
charset: hexadecimal subselect options

Tables are all organised by rows of 16, making decimal representations
indirect and error-prone.

$INHERIT options converted using:
perl -pE 's/(?:'\''|\G[+-])\K(\d+)/sprintf "\%02X", $1/ge'

2 years agocharset: omit unassigned half of ascii table
Mischa POSLAWSKY [Fri, 21 Apr 2017 20:57:24 +0000 (22:57 +0200)]
charset: omit unassigned half of ascii table

2 years agocharset: always respect colsize in start- and endpoint
Mischa POSLAWSKY [Fri, 21 Apr 2017 20:42:16 +0000 (22:42 +0200)]
charset: always respect colsize in start- and endpoint

2 years agocharset: support start and end parameters for unicode planes
Mischa POSLAWSKY [Fri, 21 Apr 2017 20:37:14 +0000 (22:37 +0200)]
charset: support start and end parameters for unicode planes

2 years agocharset: offset parameter sets more common startpoint
Mischa POSLAWSKY [Fri, 21 Apr 2017 20:19:21 +0000 (22:19 +0200)]
charset: offset parameter sets more common startpoint

Only tables are optimised to offset instead of skip.

2 years agocharset: keep original endpoint during character overrides
Mischa POSLAWSKY [Fri, 21 Apr 2017 20:08:05 +0000 (22:08 +0200)]
charset: keep original endpoint during character overrides

2 years agocharset: encode wingdings3 font
Mischa POSLAWSKY [Fri, 21 Apr 2017 20:06:34 +0000 (22:06 +0200)]
charset: encode wingdings3 font

Reference: <http://www.alanwood.net/demos/wingdings-3.html>

2 years agocharset: encode wingdings2 font
Mischa POSLAWSKY [Fri, 21 Apr 2017 20:05:52 +0000 (22:05 +0200)]
charset: encode wingdings2 font

Reference: <http://www.alanwood.net/demos/wingdings-2.html>

2 years agocharset: encode webdings font
Mischa POSLAWSKY [Fri, 21 Apr 2017 22:19:29 +0000 (00:19 +0200)]
charset: encode webdings font

Reference: <http://www.alanwood.net/demos/webdings.html>

2 years agocharset: encode wingdings font
Mischa POSLAWSKY [Fri, 21 Apr 2017 20:03:50 +0000 (22:03 +0200)]
charset: encode wingdings font

Custom Encode module to map Windows font to equivalent Unicode.

Reference: <http://www.alanwood.net/demos/wingdings.html>

2 years agocharset: check ucplanes for modification date
Mischa POSLAWSKY [Fri, 21 Apr 2017 17:43:53 +0000 (19:43 +0200)]
charset: check ucplanes for modification date

Reload unicode subpage on changes.

2 years agocharset: display latin1 parents again
Mischa POSLAWSKY [Fri, 21 Apr 2017 17:42:59 +0000 (19:42 +0200)]
charset: display latin1 parents again

Previously excluded due to common fallback, but hides deliberate parentage
with current inheritance.

2 years agocharset: override cp437 glyphs using unicode string
Mischa POSLAWSKY [Fri, 21 Apr 2017 17:31:01 +0000 (19:31 +0200)]
charset: override cp437 glyphs using unicode string

More legible if not faster.

2 years agocharset: symbols inheritance, override private use
Mischa POSLAWSKY [Fri, 21 Apr 2017 17:07:12 +0000 (19:07 +0200)]
charset: symbols inheritance, override private use

Find unicode equivalents for placeholders in Encode::Symbol maps,
matching descriptions in ucm sources.  Compare Windows Symbol at
<http://www.alanwood.net/demos/symbol.html> with Adobe version at
<http://www.sscnet.ucla.edu/soc/faculty/mcfarland/soc281/symbol.htm>.

2 years agocharset: full titles for abbreviated unicode scripts
Mischa POSLAWSKY [Fri, 21 Apr 2017 15:04:48 +0000 (17:04 +0200)]
charset: full titles for abbreviated unicode scripts

2 years agocharset: indicate continued columns without overlap
Mischa POSLAWSKY [Fri, 21 Apr 2017 14:16:55 +0000 (16:16 +0200)]
charset: indicate continued columns without overlap

Ellipsis to indicate next row, (ditto) quotes for previous.

2 years agocharset: fix U+17xxx conflict in unicode planes
Mischa POSLAWSKY [Fri, 21 Apr 2017 13:55:32 +0000 (15:55 +0200)]
charset: fix U+17xxx conflict in unicode planes

Incorrect length in commit v1.9-115-g6139aa732a (2017-04-25)
[charset: subdivide smp planes with recent assignments].

2 years agocharset: include windows group in preset links
Mischa POSLAWSKY [Thu, 20 Apr 2017 00:53:31 +0000 (02:53 +0200)]
charset: include windows group in preset links

2 years agodigits: rumi numbers row
Mischa POSLAWSKY [Fri, 21 Apr 2017 15:07:48 +0000 (17:07 +0200)]
digits: rumi numbers row

Unicode 5.1 script descendant of Coptic glyphs.

2 years agodigits: egyptian hieroglyphs numerals
Mischa POSLAWSKY [Wed, 19 Apr 2017 00:00:11 +0000 (02:00 +0200)]
digits: egyptian hieroglyphs numerals

Precomposed Unicode glyphs matching forms at for example
<https://www.afrikanistik-aegyptologie-online.de/archiv/2012/3553/>.