sheet.git
2 years agocommon: join page options inline
Mischa POSLAWSKY [Wed, 29 Mar 2017 16:05:12 +0000 (18:05 +0200)]
common: join page options inline

2 years agocommon: join stylesheets html inline
Mischa POSLAWSKY [Wed, 29 Mar 2017 15:34:08 +0000 (17:34 +0200)]
common: join stylesheets html inline

2 years agocommon: mark dev pages as noindex to robots
Mischa POSLAWSKY [Wed, 29 Mar 2017 15:12:21 +0000 (17:12 +0200)]
common: mark dev pages as noindex to robots

Prevent search engines from linking to unfinished site.

2 years agotermcol: ignore missing xcolors include
Mischa POSLAWSKY [Wed, 29 Mar 2017 01:37:02 +0000 (03:37 +0200)]
termcol: ignore missing xcolors include

2 years agocommon: copy plp errors on stderr
Mischa POSLAWSKY [Wed, 29 Mar 2017 11:11:52 +0000 (13:11 +0200)]
common: copy plp errors on stderr

Log unexpected runtime failure.

2 years agochars: rename $html parameter from glyph_info method
Mischa POSLAWSKY [Wed, 29 Mar 2017 11:08:57 +0000 (13:08 +0200)]
chars: rename $html parameter from glyph_info method

Overridden in font.plp, but too generic and ambiguous anyway.

2 years agocommon: say() to simplify html head lines
Mischa POSLAWSKY [Wed, 29 Mar 2017 09:49:49 +0000 (11:49 +0200)]
common: say() to simplify html head lines

2 years agocommon: render time in footer on dev
Mischa POSLAWSKY [Wed, 29 Mar 2017 11:00:37 +0000 (13:00 +0200)]
common: render time in footer on dev

Help spot serious inefficiencies during development.

2 years agocommon: enable perl v5.14 features everywhere
Mischa POSLAWSKY [Wed, 29 Mar 2017 09:58:33 +0000 (11:58 +0200)]
common: enable perl v5.14 features everywhere

Replace page-specific usage by global default.

2 years agotools: require perl v5.14 in all scripts
Mischa POSLAWSKY [Wed, 29 Mar 2017 09:58:02 +0000 (11:58 +0200)]
tools: require perl v5.14 in all scripts

Sufficiently ubiquitous to globally enable more recent features.

2 years agocharset: prefer manual definitions over continuations
Mischa POSLAWSKY [Wed, 29 Mar 2017 11:52:16 +0000 (13:52 +0200)]
charset: prefer manual definitions over continuations

Respect custom workarounds if ever needed.

2 years agofont: simplify coverage table, uniform column widths
Mischa POSLAWSKY [Tue, 28 Mar 2017 21:43:45 +0000 (23:43 +0200)]
font: simplify coverage table, uniform column widths

Multiple characters in every cell looks too messy, without adding useful
precision (number of missing glyphs should not be compared equally).

2 years agotodo: various long-term projects noticed recently
Mischa POSLAWSKY [Mon, 27 Mar 2017 22:40:49 +0000 (00:40 +0200)]
todo: various long-term projects noticed recently

2 years agocharset: ignore unknown input, highlight warning
Mischa POSLAWSKY [Mon, 27 Mar 2017 22:18:20 +0000 (00:18 +0200)]
charset: ignore unknown input, highlight warning

2 years agocharset: drop experimental class for digraph proposals
Mischa POSLAWSKY [Mon, 27 Mar 2017 21:49:55 +0000 (23:49 +0200)]
charset: drop experimental class for digraph proposals

Distinguish only u-di and u-prop for supported and proposed digraphs,
without overloading ex for unofficial entries.

Fixes unwanted styling if digraphs are otherwise unmarked (charset tables)
without affecting other pages (unicode, chars, writing) where it's already
ignored.

2 years agocharset: omit lower half of derived language tables
Mischa POSLAWSKY [Mon, 27 Mar 2017 21:14:22 +0000 (23:14 +0200)]
charset: omit lower half of derived language tables

ASCII is or should be the same everywhere.
Even for MacHebrew which is actually incorrectly defined, now hidden.

2 years agocharset: parent in subtitle of partial tables
Mischa POSLAWSKY [Mon, 27 Mar 2017 21:09:03 +0000 (23:09 +0200)]
charset: parent in subtitle of partial tables

Clarify relations in default preset.

2 years agocharset: warn about include errors
Mischa POSLAWSKY [Mon, 27 Mar 2017 20:41:34 +0000 (22:41 +0200)]
charset: warn about include errors

2 years agocharset: common cell formatting for utf8 schema
Mischa POSLAWSKY [Mon, 27 Mar 2017 20:37:39 +0000 (22:37 +0200)]
charset: common cell formatting for utf8 schema

Only to simplify data, keeps fixed table layout.

2 years agocharset: common cell formatting for unicode planes
Mischa POSLAWSKY [Mon, 27 Mar 2017 20:10:05 +0000 (22:10 +0200)]
charset: common cell formatting for unicode planes

Like unicode include, but support different nibble size.

2 years agocharset: common unicode cell formatting function
Mischa POSLAWSKY [Mon, 27 Mar 2017 19:51:42 +0000 (21:51 +0200)]
charset: common unicode cell formatting function

Convert data to generic [size, class, name, title] to allow different
layouts without hardcoded table properties, while simplifying entry and
automating styling of continued rows.

2 years agocharset: keep omitted top border width
Mischa POSLAWSKY [Wed, 29 Mar 2017 11:50:43 +0000 (13:50 +0200)]
charset: keep omitted top border width

Hiding collapsed top border affects the entire row, making it impossible to
combine with other columns.  An invisible border looks the same but does
allow mixed usage.

2 years agocharset: common classes for border omission
Mischa POSLAWSKY [Wed, 29 Mar 2017 11:50:00 +0000 (13:50 +0200)]
charset: common classes for border omission

2 years agocharset: update smp allocation to unicode v9.0 roadmap
Mischa POSLAWSKY [Mon, 27 Mar 2017 15:45:33 +0000 (17:45 +0200)]
charset: update smp allocation to unicode v9.0 roadmap

2 years agocharset: update bmp allocation to unicode v9.0 roadmap
Mischa POSLAWSKY [Mon, 27 Mar 2017 13:45:39 +0000 (15:45 +0200)]
charset: update bmp allocation to unicode v9.0 roadmap

2 years agolatin: old roman cursive
Mischa POSLAWSKY [Sun, 26 Mar 2017 19:13:45 +0000 (21:13 +0200)]
latin: old roman cursive

Traced by Inkscape from bitmap:
https://commons.wikimedia.org/wiki/File:CursivasRomanas.png?oldid=131056501

2 years agolatin: 5-point tactile alphabet
Mischa POSLAWSKY [Sun, 26 Mar 2017 23:10:52 +0000 (01:10 +0200)]
latin: 5-point tactile alphabet

Proposal by Tmeister on http://www.incatena.org/viewtopic.php?f=4&t=41001
built for blind reading and writing similar to braille but allowing
one-handed input.

Original hexagon dots are barely distinguishable at this size, so prefer
circles for simplicity and similarity with braille.

2 years agolatin: single line per letter in html output
Mischa POSLAWSKY [Sun, 26 Mar 2017 18:44:14 +0000 (20:44 +0200)]
latin: single line per letter in html output

Same results but with readable source.

2 years agolatin: align svg and tap code in cells
Mischa POSLAWSKY [Sun, 26 Mar 2017 18:23:49 +0000 (20:23 +0200)]
latin: align svg and tap code in cells

Assume subsequent lines are optional and should not influence positioning
(currently only for Tap simplified).

SVG images OTOH should fit the whole cell, so drop baseline alignment to
avoid bottom margin.

2 years agolatin: common styling for svg paths (lines)
Mischa POSLAWSKY [Sun, 26 Mar 2017 18:12:02 +0000 (20:12 +0200)]
latin: common styling for svg paths (lines)

SVG data is always inlined, so making it dependent on page style should not
be an issue.  Simplifies all paths to be lines unless fill is specified,
decreasing total size from 46kB to 38kB (though only 50 bytes over 4kB
compressed).

2 years agocommon: bump version to 1.9 v1.9
Mischa POSLAWSKY [Thu, 23 Mar 2017 03:23:50 +0000 (04:23 +0100)]
common: bump version to 1.9

Mark significant changes since v1.8 and force CSS reload.

2 years agodigraphs: mark new vim entries by comparing to v7.4 copy
Mischa POSLAWSKY [Thu, 23 Mar 2017 02:11:36 +0000 (03:11 +0100)]
digraphs: mark new vim entries by comparing to v7.4 copy

Vim version 8.0 introduced «.,» so save the old output to be able to
distinguish such new features, as a lot of users are unlikely to upgrade
for a while yet.

Reported-by: Skef Iterum
2 years agodigraphs: reclassify vim support levels
Mischa POSLAWSKY [Thu, 23 Mar 2017 01:31:15 +0000 (02:31 +0100)]
digraphs: reclassify vim support levels

Instead of custom u-* classes, reuse common l1-5 in include:

.u-di      → l4 (vim + rfc)
.u-prop    → l3 (vim)
.u-prop.ex → l2 (shiar)
.ex        → l1 (rfc only)

Prepend u- on page to avoid conflicting with script styling (leave
background colour unaltered).

Loses ascii/latin1 distinction, but clarifies (vim) compatibility and
allows for easier extension later on.

2 years agodigraphs: annotate generator reference in vim include
Mischa POSLAWSKY [Wed, 22 Mar 2017 23:38:19 +0000 (00:38 +0100)]
digraphs: annotate generator reference in vim include

2 years agodigraphs: run vim parser with safety options
Mischa POSLAWSKY [Wed, 22 Mar 2017 23:25:35 +0000 (00:25 +0100)]
digraphs: run vim parser with safety options

Preclude customisations and unneeded requirements to avoid possible
side-effects.  Options copied from Text::VimColor interface.

2 years agodigraphs: ignore ansi commands in vim version output
Mischa POSLAWSKY [Wed, 22 Mar 2017 23:18:48 +0000 (00:18 +0100)]
digraphs: ignore ansi commands in vim version output

Recent versions of Vim v7.4 prepend the expected version number by various
escapes (probably terminal-dependent), causing an unreadable result of:

\e[?1049h\e[?1h\e=\e[1;63r\e[?25h\e[?25h\e[?25l\e[63;1H704

Assume nothing is put after the wanted number, so capture only that.

2 years agodigraphs: exclude backslash in proposals escape
Mischa POSLAWSKY [Wed, 22 Mar 2017 22:55:22 +0000 (23:55 +0100)]
digraphs: exclude backslash in proposals escape

Fixes parsing of escapes such as "\8203" introduced in v1.6-199-g5eb5e3456f
(2015-03-29) [digraphs: allow proposals by decimal code point escape].

2 years agobrowser: escape titles in resource links
Mischa POSLAWSKY [Wed, 22 Mar 2017 22:29:35 +0000 (23:29 +0100)]
browser: escape titles in resource links

Recent data includes at least "<textarea>" in #readonly-attr,
breaking further HTML if left unescaped.

2 years agoindex: link to latin page
Mischa POSLAWSKY [Wed, 22 Mar 2017 19:41:47 +0000 (20:41 +0100)]
index: link to latin page

Sufficiently fleshed out to warrant some promotion (reference from writing
seems too subtle).

2 years agolatin: introduction, update keywords
Mischa POSLAWSKY [Wed, 22 Mar 2017 19:41:40 +0000 (20:41 +0100)]
latin: introduction, update keywords

2 years agowriting: siddham
Mischa POSLAWSKY [Wed, 22 Mar 2017 19:22:45 +0000 (20:22 +0100)]
writing: siddham

Straight-forward Nāgarī predecessor, as featured in Doctor Strange.

2 years agowriting: annotate brahmic script ancestry in include
Mischa POSLAWSKY [Wed, 22 Mar 2017 19:38:29 +0000 (20:38 +0100)]
writing: annotate brahmic script ancestry in include

2 years agodigraphs: prefer (coloured) text over emoji variants
Mischa POSLAWSKY [Wed, 22 Mar 2017 18:56:34 +0000 (19:56 +0100)]
digraphs: prefer (coloured) text over emoji variants

Prevent unfortunate default on "modern" platforms (well, only macs for now)
of replacing characters by unstylable icons.

2 years agodigraphs: link to xorg variant, adapt title and intro
Mischa POSLAWSKY [Wed, 22 Mar 2017 18:04:30 +0000 (19:04 +0100)]
digraphs: link to xorg variant, adapt title and intro

2 years agodigraphs: prefer xorg path over parameter
Mischa POSLAWSKY [Wed, 22 Mar 2017 18:51:12 +0000 (19:51 +0100)]
digraphs: prefer xorg path over parameter

Major subpage selector similar to other pages.

2 years agotermcol: 64 for common 4x4x4 rgbmap
Mischa POSLAWSKY [Mon, 23 Jan 2017 04:45:41 +0000 (05:45 +0100)]
termcol: 64 for common 4x4x4 rgbmap

2 years agoperl: minor update to v5.25.10 features
Mischa POSLAWSKY [Fri, 10 Mar 2017 12:36:53 +0000 (13:36 +0100)]
perl: minor update to v5.25.10 features

2 years agoperl: indicate features distinct from experimental
Mischa POSLAWSKY [Fri, 3 Mar 2017 16:18:18 +0000 (17:18 +0100)]
perl: indicate features distinct from experimental

Describe attributes as hash after all, especially with this additional
parameter.

2 years agoperl: missing major v5.10 features
Mischa POSLAWSKY [Fri, 3 Mar 2017 14:16:27 +0000 (15:16 +0100)]
perl: missing major v5.10 features

2 years agotermcol: merge iterm with putty, put in ansi preset
Mischa POSLAWSKY [Sat, 12 Nov 2016 04:43:00 +0000 (05:43 +0100)]
termcol: merge iterm with putty, put in ansi preset

Not especially distinct, but probably the most frequently used for terminal
emulators outside of linux.

2 years agotermcol: ignore duplicate xcolor palettes
Mischa POSLAWSKY [Sat, 12 Nov 2016 01:51:47 +0000 (02:51 +0100)]
termcol: ignore duplicate xcolor palettes

2 years agotermcol: numeric module version requirements
Mischa POSLAWSKY [Sat, 12 Nov 2016 01:51:47 +0000 (02:51 +0100)]
termcol: numeric module version requirements

Only unquoted arguments are checked as minimum, despite the module version
being declared as string.

2 years agoperl: upcoming features upto v5.25.8
Mischa POSLAWSKY [Sun, 1 Jan 2017 23:22:13 +0000 (00:22 +0100)]
perl: upcoming features upto v5.25.8

2 years agotermcol: scalar colour shorthand
Mischa POSLAWSKY [Tue, 8 Nov 2016 01:15:47 +0000 (02:15 +0100)]
termcol: scalar colour shorthand

2 years agotermcol: personal 5-bit table shiar32
Mischa POSLAWSKY [Tue, 8 Nov 2016 02:01:06 +0000 (03:01 +0100)]
termcol: personal 5-bit table shiar32

Attempt another type of terminal design, combining features of various
schemes: 12 saturated colours for categorisation (cpc, solarized); 6 hues
each for background and highlight alternatives, half of each desaturated
(1: dark backgrounds like arnegame, 2: rgb indicator backgrounds,
 4: lighter text colours, and 5: prominent markers).

2 years agotermcol: visible names for arnegame
Mischa POSLAWSKY [Tue, 8 Nov 2016 00:34:09 +0000 (01:34 +0100)]
termcol: visible names for arnegame

2 years agotermcol: reorder cpcboy greens to better match grid brightness
Mischa POSLAWSKY [Sun, 6 Nov 2016 02:20:26 +0000 (03:20 +0100)]
termcol: reorder cpcboy greens to better match grid brightness

2 years agotermcol: configurable xcolors input location
Mischa POSLAWSKY [Sun, 30 Oct 2016 15:59:45 +0000 (16:59 +0100)]
termcol: configurable xcolors input location

Checkout at data/xcolors defined in makefile but no longer hardcoded in
parser tool.

2 years agotermcol: include named xcolors colours
Mischa POSLAWSKY [Sat, 29 Oct 2016 15:25:31 +0000 (17:25 +0200)]
termcol: include named xcolors colours

Preserve foreground and background for future distinction from 7/0.

2 years agotermcol: exclude monochromatic xcolors palettes
Mischa POSLAWSKY [Sun, 23 Oct 2016 05:47:20 +0000 (07:47 +0200)]
termcol: exclude monochromatic xcolors palettes

2 years agotermcol: parse Xcolors.net checkout
Mischa POSLAWSKY [Sun, 23 Oct 2016 04:48:35 +0000 (06:48 +0200)]
termcol: parse Xcolors.net checkout

Prepare a separate (optional) include with themes from the popular
ansi palettes repository <https://github.com/tlatsas/xcolors.git>.

2 years agotermcol: preset groups in include
Mischa POSLAWSKY [Sun, 23 Oct 2016 04:08:14 +0000 (06:08 +0200)]
termcol: preset groups in include

2 years agotermcol: named function to parse table data
Mischa POSLAWSKY [Sun, 23 Oct 2016 04:02:19 +0000 (06:02 +0200)]
termcol: named function to parse table data

Prepare for recursive includes.

2 years agotermcol: support image for table palettes
Mischa POSLAWSKY [Mon, 8 Feb 2016 04:37:59 +0000 (05:37 +0100)]
termcol: support image for table palettes

2 years agotermcol: avoid hexadecimal conversion for newyuv colours
Mischa POSLAWSKY [Sun, 7 Feb 2016 23:18:05 +0000 (00:18 +0100)]
termcol: avoid hexadecimal conversion for newyuv colours

Simplify default initialiser; previous version available as newyuv8().

2 years agotermcol: define solarized
Mischa POSLAWSKY [Tue, 11 Oct 2016 20:52:39 +0000 (22:52 +0200)]
termcol: define solarized

Common alternative to cga/ansi.  Many variants are available at specialised
sites, but at least provide the original version for comparison.

2 years agotermcol: declare and include cgarne
Mischa POSLAWSKY [Tue, 11 Oct 2016 21:06:43 +0000 (23:06 +0200)]
termcol: declare and include cgarne

Redesign of CGA colours as used in icons and games, which is interesting to
show among the mostly terminal-focused alternatives.

2 years agolatin: single-tap simple tap
Mischa POSLAWSKY [Sun, 9 Oct 2016 11:58:46 +0000 (13:58 +0200)]
latin: single-tap simple tap

Common consonants T-H-N-S-X have a trailing 5 taps which can be omitted for
a faster albeit variable-length version.  Further distinguishes it from
regular tap codes, making it more interesting in this list.

2 years agoperl: minor rewording of a few descriptions
Mischa POSLAWSKY [Sun, 24 Jul 2016 00:32:59 +0000 (02:32 +0200)]
perl: minor rewording of a few descriptions

2 years agoperl: complete v5.24 release
Mischa POSLAWSKY [Mon, 9 May 2016 13:24:25 +0000 (15:24 +0200)]
perl: complete v5.24 release

2 years agoperl: release data for aix versions
Mischa POSLAWSKY [Wed, 4 May 2016 22:32:14 +0000 (00:32 +0200)]
perl: release data for aix versions

References:
<http://www.perlmonks.org/?node_id=879834>
<http://www.ibm.com/support/docview.wss?uid=isg1fileset434767588>
<http://www.ibm.com/support/knowledgecenter/ssw_aix_72/com.ibm.aix.rnbase720/rnbase720.htm>

2 years agoperl: hint at extremeness of v5.8 compatibility
Mischa POSLAWSKY [Sun, 24 Apr 2016 17:47:49 +0000 (19:47 +0200)]
perl: hint at extremeness of v5.8 compatibility

Debian wheezy is now oldstable, so should not really be called 'up-to-date'.
Replace 'enterprise' by a less subtle adjective.

2 years agoperl: release data for ubuntu versions
Mischa POSLAWSKY [Sun, 24 Apr 2016 17:46:31 +0000 (19:46 +0200)]
perl: release data for ubuntu versions

Data from <http://distrowatch.com/table.php?distribution=ubuntu>.

2 years agoperl: hide experimental features dropped later
Mischa POSLAWSKY [Sun, 24 Apr 2016 17:38:04 +0000 (19:38 +0200)]
perl: hide experimental features dropped later

2 years agobrowser: define known 0% score markers
Mischa POSLAWSKY [Sun, 3 Apr 2016 21:49:29 +0000 (23:49 +0200)]
browser: define known 0% score markers

Same results (undefined is also counted as 0) but allows spotting undeclared
classes by checking for existence.

2 years agobrowser: match support percentage with multiple comment markers
Mischa POSLAWSKY [Sun, 3 Apr 2016 21:47:26 +0000 (23:47 +0200)]
browser: match support percentage with multiple comment markers

Encountered in recent data.

2 years agoperl: upcoming features upto v5.23.8
Mischa POSLAWSKY [Sat, 5 Mar 2016 13:49:44 +0000 (14:49 +0100)]
perl: upcoming features upto v5.23.8

3 years agoperl: lowercase exceptional capital in `use 5.012` description
Mischa POSLAWSKY [Mon, 21 Dec 2015 18:33:52 +0000 (19:33 +0100)]
perl: lowercase exceptional capital in `use 5.012` description

3 years agoperl: lexical topic dropped in v5.23.4
Mischa POSLAWSKY [Mon, 21 Dec 2015 18:32:49 +0000 (19:32 +0100)]
perl: lexical topic dropped in v5.23.4

3 years agotermcol: ppu (nes) palette using 2C04 rgb values
Mischa POSLAWSKY [Mon, 21 Dec 2015 00:29:02 +0000 (01:29 +0100)]
termcol: ppu (nes) palette using 2C04 rgb values

Reference: <http://wiki.nesdev.com/w/index.php/PPU_palettes>

3 years agotermcol: drop archived url for ansi256
Mischa POSLAWSKY [Mon, 21 Dec 2015 00:28:23 +0000 (01:28 +0100)]
termcol: drop archived url for ansi256

Apparently there isn't an official technical reference (a non-existent
site doesn't count).

3 years agotermcol: fix reordered named descriptions
Mischa POSLAWSKY [Mon, 21 Dec 2015 00:23:55 +0000 (01:23 +0100)]
termcol: fix reordered named descriptions

3 years agotermcol: hue order option for comparison with rgb maps
Mischa POSLAWSKY [Mon, 21 Dec 2015 00:17:23 +0000 (01:17 +0100)]
termcol: hue order option for comparison with rgb maps

3 years agotermcol: dawnbringer game palette
Mischa POSLAWSKY [Mon, 21 Dec 2015 00:19:25 +0000 (01:19 +0100)]
termcol: dawnbringer game palette

3 years agotermcol: specific ?order option (=ansi replaces ?v)
Mischa POSLAWSKY [Mon, 21 Dec 2015 00:07:01 +0000 (01:07 +0100)]
termcol: specific ?order option (=ansi replaces ?v)

Preparation to support other orders.

3 years agotermcol: parent attribute to inherit common palette order
Mischa POSLAWSKY [Sun, 20 Dec 2015 23:59:59 +0000 (00:59 +0100)]
termcol: parent attribute to inherit common palette order

Facilitates other fallbacks in the future.

3 years agotermcol: distinct image palette in cga order
Mischa POSLAWSKY [Sun, 20 Dec 2015 23:51:02 +0000 (00:51 +0100)]
termcol: distinct image palette in cga order

Correct image palette regardless of reorder option.

3 years agotermcol: correct apple terminal app palette
Mischa POSLAWSKY [Thu, 19 Nov 2015 23:32:26 +0000 (00:32 +0100)]
termcol: correct apple terminal app palette

Also transcribed from screenshot taken by Jeroen Wiggers.

Corrected for sRGB colourspace; 256-colour palette matched xterm values
exactly so it's probably correct this time.

3 years agotermcol: iterm pastel palette
Mischa POSLAWSKY [Thu, 19 Nov 2015 23:11:53 +0000 (00:11 +0100)]
termcol: iterm pastel palette

"Pastel (Dark Background)" from source, see previous commit.

Other palettes not imported:
- Tango Dark: the same as current tango (except black is 000000)
- Solarized Dark: entirely different scheme alternative to ansi colours;
  based on <http://ethanschoonover.com/solarized> and similar to base16
  <https://github.com/chriskempson/base16> with many compatible themes
  comparable at <http://chriskempson.github.io/base16/>.

3 years agotermcol: retrieve original iterm colour definitions
Mischa POSLAWSKY [Thu, 19 Nov 2015 22:19:24 +0000 (23:19 +0100)]
termcol: retrieve original iterm colour definitions

Original screenshot apparently included some colour transformation
courtesy of Apple.

Converted from source <https://github.com/gnachman/iTerm2.git>:

perl -MMac::PropertyList=:all -E '
my $p = parse_plist_file("plists/ColorPresets.plist");
for my $col ($p->{"Dark Background"}) {
say join " ", map { parsecolor($col->{"Ansi $_ Color"}) } 0 .. 15;
}
sub parsecolor {
return join "", map {
sprintf "%02X", $_[0]->{"$_ Component"}->value * 255 + .5
} qw(Red Green Blue);
}
'

3 years agotermcol: define iterm palette
Mischa POSLAWSKY [Thu, 19 Nov 2015 22:18:43 +0000 (23:18 +0100)]
termcol: define iterm palette

Values from screenshot by Jeroen Wiggers.

3 years agotermcol: rgb table columns from dark to light
Mischa POSLAWSKY [Sat, 7 Nov 2015 22:13:55 +0000 (23:13 +0100)]
termcol: rgb table columns from dark to light

3 years agotermcol: adjust non-ansi palette orders slightly
Mischa POSLAWSKY [Sat, 7 Nov 2015 16:34:20 +0000 (17:34 +0100)]
termcol: adjust non-ansi palette orders slightly

3 years agotermcol: divide list rows over columns with 8 rows each
Mischa POSLAWSKY [Fri, 6 Nov 2015 19:21:12 +0000 (20:21 +0100)]
termcol: divide list rows over columns with 8 rows each

Put dark and light colours of cga next to each other for better comparison.
Still more space efficient for others.

3 years agotermcol: show reordered cell title "0"
Mischa POSLAWSKY [Tue, 3 Nov 2015 00:14:57 +0000 (01:14 +0100)]
termcol: show reordered cell title "0"

3 years agotermcol: support multiple images
Mischa POSLAWSKY [Mon, 2 Nov 2015 17:21:22 +0000 (18:21 +0100)]
termcol: support multiple images

3 years agotermcol: hsv method in Colour module
Mischa POSLAWSKY [Mon, 2 Nov 2015 14:15:32 +0000 (15:15 +0100)]
termcol: hsv method in Colour module

3 years agotermcol: define arne's cpc-derived palette "cpcboy"
Mischa POSLAWSKY [Mon, 2 Nov 2015 13:20:05 +0000 (14:20 +0100)]
termcol: define arne's cpc-derived palette "cpcboy"

3 years agotermcol: index greyscale ramp, include in image palette
Mischa POSLAWSKY [Mon, 2 Nov 2015 14:08:39 +0000 (15:08 +0100)]
termcol: index greyscale ramp, include in image palette

3 years agotermcol: define mirc palette (included in more)
Mischa POSLAWSKY [Mon, 2 Nov 2015 13:04:07 +0000 (14:04 +0100)]
termcol: define mirc palette (included in more)