Mischa POSLAWSKY [Mon, 15 Sep 2008 08:20:47 +0000 (08:20 +0000)]
digraphs: currency and missing double arrow proposals
Mischa POSLAWSKY [Mon, 15 Sep 2008 08:19:21 +0000 (08:19 +0000)]
unicode: more digestible page showing common digraphs
Instead of the full thousands of digraph combinations, also supply this
summarized page of oftenly used characters, grouped by usage.
Mischa POSLAWSKY [Sun, 14 Sep 2008 02:56:27 +0000 (02:56 +0000)]
digraphs: alternate glyph string in include
Allow the digraph include to specify string overrides in cases where a
glyph should not be shown literally. These are:
- Combining characters: prepend a placeholder.
Dead chars are invalid on their own in fact.
- ASCII control characters: substitude display symbols at U+24xx.
Though browsers usually show a character placeholder, it's not very
nice to send control chars directly.
- Other control characters: show the replacement character U+FFFD.
Actually with some (Linux) fonts, the anonymous code point fallback is
more descriptive, but better to be on the safe side (they still have
semantic value after all).
Mischa POSLAWSKY [Sat, 13 Sep 2008 21:42:24 +0000 (21:42 +0000)]
digraphs: map private use characters to modern equivalents
RFC-1345 contains several characters in the private use block (for various
unofficial proposals at that time) which by now mostly have official Unicode
designations. Using the character value instead of intended meaning is imho
stupid (as the digraphs don't make any kind of sense for most modern usage)
even though Vim and other adopters do so, probably unknowingly.
Try to convert these to suitable standard equivalents (going by character
names, Google, context, and some guesswork).
Mischa POSLAWSKY [Sat, 13 Sep 2008 08:48:38 +0000 (08:48 +0000)]
digraphs: mark reversed matches
At undefined digraph points, at least Vim also recognizes another
digraph with its characters swapped if it exists. Style these cases
differently, to say it might actually do something as well.
Also hover the code, but do not show any additional information to
discourage actual usage instead of the original.
Mischa POSLAWSKY [Sat, 13 Sep 2008 08:38:55 +0000 (08:38 +0000)]
digraphs: fix mouse pointer on legend hover
Recognized cells show a 'help' pointer. The same styling should be used at the
legend.
Mischa POSLAWSKY [Sat, 13 Sep 2008 08:09:04 +0000 (08:09 +0000)]
digraphs: control character names
Control characters are all named <control>, which is useless to discern
them (especially since these glyphs aren't very descriptive either).
Substitute the old Unicode 1.0 names for good identification purposes.
In the few (latin1) cases where there's no name, at least add the code
point.
Mischa POSLAWSKY [Sat, 13 Sep 2008 08:06:28 +0000 (08:06 +0000)]
digraphs: css update, cell groups
Add table groups (major borders) bringing a bit more structure to the sea of
6400 cells. A couple of other css-related changes.
Mischa POSLAWSKY [Sat, 13 Sep 2008 05:28:43 +0000 (05:28 +0000)]
digraphs: cell hover styling
Highlight cells onmouseover, which is both cool and slightly useful.
Mischa POSLAWSKY [Sat, 13 Sep 2008 03:59:02 +0000 (03:59 +0000)]
digraphs: css code improvements
One syntax fix, a few section comments, and align some declarations for easier
reading.
Mischa POSLAWSKY [Sat, 13 Sep 2008 03:52:17 +0000 (03:52 +0000)]
digraphs: page footer
Output a footer (version, copyright, etc) similar to the vim page.
Mischa POSLAWSKY [Tue, 16 Sep 2008 02:49:48 +0000 (02:49 +0000)]
rewrite extensionless script requests
Apache rewrite rule to redirect /script to *.plp if it exists, so that
digraphs.plp (and other files in the future) can be found at just
/digraphs. Nobody cares (or should care) about server side file type.
Mischa POSLAWSKY [Sat, 13 Sep 2008 03:31:04 +0000 (03:31 +0000)]
digraphs: external stylesheet
Mischa POSLAWSKY [Fri, 12 Sep 2008 16:42:12 +0000 (16:42 +0000)]
new vim todo item
Mischa POSLAWSKY [Thu, 7 Aug 2008 23:39:10 +0000 (23:39 +0000)]
vim: minor code cosmetics
Minor update, including (disabled) experimental control character names.
Mischa POSLAWSKY [Sat, 13 Sep 2008 03:11:33 +0000 (03:11 +0000)]
digraphs: custom shiar digraphs
Quite some personal addendums not in the official RFC-1345.
Indicated as such, so should not be much of a hindrance (on the contrary,
people looking for these missing characters will find and perhaps add them
themselves).
Mischa POSLAWSKY [Fri, 12 Sep 2008 21:45:54 +0000 (21:45 +0000)]
digraphs: mark latin/ascii characters
Add classes if characters belong to the 'Basic Latin' or 'Latin-1 Supplement'
blocks (i.e. are ASCII or latin1), and indicate these on the digraphs page.
Mischa POSLAWSKY [Fri, 12 Sep 2008 21:21:18 +0000 (21:21 +0000)]
cache unicode character details in digraph include
Looking up UCD data on page generation is quite intensive for this many
characters, so instead prefetch it by rfc1345convert and store it with the
static digraph data.
Mischa POSLAWSKY [Fri, 12 Sep 2008 20:32:22 +0000 (20:32 +0000)]
digraphs: show unicode character details
Get name, script, and category for each character from the Unicode Character
Database. Set up various classes to decorate different properties/groups, and
output char names as titles.
Mischa POSLAWSKY [Sat, 2 Aug 2008 01:49:57 +0000 (01:49 +0000)]
rfc1345 digraphs include generator
Put all official RFC-1345 digraphs in the digraphs.inc.pl include, by
downloading the original RFC text and converting it using rfc1345convert.
Mischa POSLAWSKY [Sat, 6 Sep 2008 23:45:39 +0000 (23:45 +0000)]
digraphs: fix latin1 glyph conversion
Under FastCGI, latin1 glyphs were displayed with their internal string
representation, because the output buffer was not :utf8 (FCGI flaw).
At least that's what I gather. Force to Unicode beforehand so it's
shown correctly.
Mischa POSLAWSKY [Mon, 8 Sep 2008 13:35:31 +0000 (13:35 +0000)]
vim: link i^k to digraph page
Since it's a bonus feature anyway, do not go to the trouble of making a
proper <a href> link, but instead just use onclick javascript like for
mode switching.
Mischa POSLAWSKY [Mon, 8 Sep 2008 13:21:26 +0000 (13:21 +0000)]
vim: additional break point for ! description
Mischa POSLAWSKY [Thu, 7 Aug 2008 18:48:12 +0000 (18:48 +0000)]
automatically apply monochrome/terse styling
In browsers supporting CSS3 media selectors, load the mono stylesheet
for monochrome environments, and terse if available width is
insufficient for default key formatting.
Mischa POSLAWSKY [Thu, 7 Aug 2008 18:43:56 +0000 (18:43 +0000)]
increase precedence of alternate style rules
Make css rules of mono and terse more specific, to make sure they
override the default styling (even if applied earlier).
Mischa POSLAWSKY [Fri, 1 Aug 2008 22:11:45 +0000 (22:11 +0000)]
digraphs page
A simple table showing the resulting character of every possible digraph
key combination, making an excellent cheat cheat for vim's i^k.
Actual contents is to follow.
Mischa POSLAWSKY [Thu, 7 Aug 2008 23:33:50 +0000 (23:33 +0000)]
prefer logical over ternary conditionals
Mischa POSLAWSKY [Thu, 7 Aug 2008 23:27:42 +0000 (23:27 +0000)]
key formatting code in seperate print_key function
Mischa POSLAWSKY [Fri, 1 Aug 2008 19:49:43 +0000 (19:49 +0000)]
yank key description
For newbies unfamiliar with vi terminology.
Mischa POSLAWSKY [Fri, 1 Aug 2008 01:04:10 +0000 (01:04 +0000)]
further vim distinctions
Vi didn't have blockwise selection.
Mischa POSLAWSKY [Fri, 1 Aug 2008 00:11:47 +0000 (00:11 +0000)]
dark style for unassigned keys
In the rare case someone wants ?keys=1 _and_ a dark stylesheet.
Also define a:hover colors (undo :hover:visited override).
Mischa POSLAWSKY [Thu, 31 Jul 2008 23:57:38 +0000 (23:57 +0000)]
prefer single quotes in perl code
Following Perl Best Practices: use single quotes (q//) if no
interpretation is expected.
Mischa POSLAWSKY [Sat, 19 Jul 2008 01:19:19 +0000 (01:19 +0000)]
update links, license, and version
Now hosted at its proper (sub)domain (instead of some dir at my home pc).
Also decided on the AGPL license (described and linked in the footer).
Celebrate by bumping the version number for once.
Mischa POSLAWSKY [Sat, 19 Jul 2008 01:40:50 +0000 (01:40 +0000)]
terse stylesheet
Puts key names over the entire key, instead of placing them besides the
descriptions. This allows the buttons to be much less wide, making the
entire keyboard fit on lesser resolutions as well.
The CSS surprisingly even seems to work in MSIE. Unfortunately the key
label is always on top (z-indexes won't help here), but with enough
transparancy they still kind of fade to the background (IE is out of
luck here; I'm not going to support their filter crap).
Mischa POSLAWSKY [Sat, 19 Jul 2008 01:24:01 +0000 (01:24 +0000)]
improve legend styling
Top-align the right part (usually both sides are about equal in height,
but it would get ugly in case lines are wrapped).
Also increase legend label margin (also in case of wrapping), because
the actual width is 6.2em + 4px in padding. A more correct solution
would be CSS3 border-sizing:border-box, but not really worth it in this
case (stupid prefixes, not to mention msie boycotting anything new).
Mischa POSLAWSKY [Thu, 31 Jul 2008 22:57:36 +0000 (22:57 +0000)]
remove soft hyphens
Required a %sign wrapper to show up right in ?ascii mode,
but don't bother seeing they're insignificant.
Mischa POSLAWSKY [Thu, 31 Jul 2008 22:21:59 +0000 (22:21 +0000)]
minor command key improvements; i^g mode
Mischa POSLAWSKY [Thu, 31 Jul 2008 21:56:46 +0000 (21:56 +0000)]
more precise presentation of i^_
Slightly better description, and disable the i^b key as it's been
replaced by i^_ (still shown with alternate ?key setting though).
Mischa POSLAWSKY [Sat, 19 Jul 2008 00:56:08 +0000 (00:56 +0000)]
update circus stylesheet
- More saturation for some modes;
- Mode hover styling;
- Use coloured borders to show vi/m compatibility.
Mischa POSLAWSKY [Thu, 31 Jul 2008 19:23:02 +0000 (19:23 +0000)]
add v_a mode commands
Mischa POSLAWSKY [Sat, 19 Jul 2008 01:38:39 +0000 (01:38 +0000)]
swapped group descriptions for z and Z
Mischa POSLAWSKY [Sat, 19 Jul 2008 00:20:24 +0000 (00:20 +0000)]
additional command hints and breaks
Mischa POSLAWSKY [Sat, 10 Mar 2007 10:08:21 +0000 (11:08 +0100)]
too few breakpoints for v=
Mischa POSLAWSKY [Sun, 25 Feb 2007 05:41:41 +0000 (06:41 +0100)]
remove old html version
Mischa POSLAWSKY [Sun, 25 Feb 2007 05:15:39 +0000 (06:15 +0100)]
change history in separate file
Mischa POSLAWSKY [Sun, 25 Feb 2007 04:24:33 +0000 (05:24 +0100)]
move todo from code to separate text file
Mischa POSLAWSKY [Sun, 25 Feb 2007 03:09:58 +0000 (04:09 +0100)]
add version number
Mischa POSLAWSKY [Sat, 24 Feb 2007 23:17:38 +0000 (00:17 +0100)]
set DirectoryIndex for apache
Mischa POSLAWSKY [Sat, 24 Feb 2007 23:10:56 +0000 (00:10 +0100)]
vim keyboard page (initial commit)