sheet.git
15 years agodigraphs: shiar proposals cleanup
Mischa POSLAWSKY [Tue, 16 Sep 2008 02:41:05 +0000 (02:41 +0000)]
digraphs: shiar proposals cleanup

Outcomment some questionable characters, and update many others.

15 years agodigraphs: ipa character proposals
Mischa POSLAWSKY [Tue, 16 Sep 2008 02:41:43 +0000 (02:41 +0000)]
digraphs: ipa character proposals

Close to full IPA coverage, which nowadays I think would be extremely useful
(at least for me and anyone even vaguely interested in linguistics).

15 years agodigraphs: restyle private use characters
Mischa POSLAWSKY [Tue, 16 Sep 2008 02:38:13 +0000 (02:38 +0000)]
digraphs: restyle private use characters

Use a background color close to control characters (slightly reddish).
Previous outline doesn't make sense because it's an exclusive character
block match.

Do not mention in legend as it's very rare: 2 entries (with dubious
significance, too).

15 years agodigraphs: propose cI as digraph for open o instead
Mischa POSLAWSKY [Mon, 15 Sep 2008 07:51:01 +0000 (07:51 +0000)]
digraphs: propose cI as digraph for open o instead

As it's typographically just an inverted c, cI makes much more sense
than oI.

15 years agounicode: use common digraphs stylesheet
Mischa POSLAWSKY [Mon, 15 Sep 2008 23:27:00 +0000 (23:27 +0000)]
unicode: use common digraphs stylesheet

Less code (or styling actually) duplication is always good.  Unlike the vim
(keyboard) page, the digraphs and unicode (character) pages mostly have
identical styling requirements.

15 years agounicode: distinguish empty and invalid ipa cells
Mischa POSLAWSKY [Mon, 15 Sep 2008 19:01:54 +0000 (19:01 +0000)]
unicode: distinguish empty and invalid ipa cells

Indicate unpronouncable sounds differently, mostly adding structure (actually
looks like the more common IPA tables now).

15 years agounicode: headers for IPA rows and columns
Mischa POSLAWSKY [Mon, 15 Sep 2008 18:29:25 +0000 (18:29 +0000)]
unicode: headers for IPA rows and columns

Describe the IPA categories, greatly helping navigation.  As an added bonus,
it kind of indicates that these are indeed all modern characters, even though
consonants are in a slightly different order than seen elsewhere.

15 years agolink back and forth between digraphs and unicode pages
Mischa POSLAWSKY [Mon, 15 Sep 2008 08:32:39 +0000 (08:32 +0000)]
link back and forth between digraphs and unicode pages

Obviously more useful if users can find all pages, even without a non-existant
index.

15 years agodigraphs: fix html (escape index chars; thead syntax)
Mischa POSLAWSKY [Sun, 14 Sep 2008 00:45:28 +0000 (00:45 +0000)]
digraphs: fix html (escape index chars; thead syntax)

More strict adherence to strict HTML 4.01.  Though most browsers could
parse it correctly already, it was certainly erroneous.

15 years agodigraphs: currency and missing double arrow proposals
Mischa POSLAWSKY [Mon, 15 Sep 2008 08:20:47 +0000 (08:20 +0000)]
digraphs: currency and missing double arrow proposals

15 years agounicode: more digestible page showing common digraphs
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.

15 years agodigraphs: alternate glyph string in include
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).

15 years agodigraphs: map private use characters to modern equivalents
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).

15 years agodigraphs: mark reversed matches
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.

15 years agodigraphs: fix mouse pointer on legend hover
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.

15 years agodigraphs: control character names
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.

15 years agodigraphs: css update, cell groups
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.

15 years agodigraphs: cell hover styling
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.

15 years agodigraphs: css code improvements
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.

15 years agodigraphs: page footer
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.

15 years agorewrite extensionless script requests
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.

15 years agodigraphs: external stylesheet
Mischa POSLAWSKY [Sat, 13 Sep 2008 03:31:04 +0000 (03:31 +0000)]
digraphs: external stylesheet

15 years agonew vim todo item
Mischa POSLAWSKY [Fri, 12 Sep 2008 16:42:12 +0000 (16:42 +0000)]
new vim todo item

15 years agovim: minor code cosmetics
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.

15 years agodigraphs: custom shiar digraphs
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).

15 years agodigraphs: mark latin/ascii characters
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.

15 years agocache unicode character details in digraph include
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.

15 years agodigraphs: show unicode character details
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.

15 years agorfc1345 digraphs include generator
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.

15 years agodigraphs: fix latin1 glyph conversion
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.

15 years agovim: link i^k to digraph page
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.

15 years agovim: additional break point for ! description
Mischa POSLAWSKY [Mon, 8 Sep 2008 13:21:26 +0000 (13:21 +0000)]
vim: additional break point for ! description

15 years agoautomatically apply monochrome/terse styling
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.

15 years agoincrease precedence of alternate style rules
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).

15 years agodigraphs page
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.

15 years agoprefer logical over ternary conditionals
Mischa POSLAWSKY [Thu, 7 Aug 2008 23:33:50 +0000 (23:33 +0000)]
prefer logical over ternary conditionals

15 years agokey formatting code in seperate print_key function
Mischa POSLAWSKY [Thu, 7 Aug 2008 23:27:42 +0000 (23:27 +0000)]
key formatting code in seperate print_key function

15 years agoyank key description
Mischa POSLAWSKY [Fri, 1 Aug 2008 19:49:43 +0000 (19:49 +0000)]
yank key description

For newbies unfamiliar with vi terminology.

15 years agofurther vim distinctions
Mischa POSLAWSKY [Fri, 1 Aug 2008 01:04:10 +0000 (01:04 +0000)]
further vim distinctions

Vi didn't have blockwise selection.

15 years agodark style for unassigned keys
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).

15 years agoprefer single quotes in perl code
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.

15 years agoupdate links, license, and version v1.1
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.

15 years agoterse stylesheet
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).

15 years agoimprove legend styling
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).

15 years agoremove soft hyphens
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.

15 years agominor command key improvements; i^g mode
Mischa POSLAWSKY [Thu, 31 Jul 2008 22:21:59 +0000 (22:21 +0000)]
minor command key improvements; i^g mode

15 years agomore precise presentation of i^_
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).

15 years agoupdate circus stylesheet
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.

15 years agoadd v_a mode commands
Mischa POSLAWSKY [Thu, 31 Jul 2008 19:23:02 +0000 (19:23 +0000)]
add v_a mode commands

15 years agoswapped group descriptions for z and Z
Mischa POSLAWSKY [Sat, 19 Jul 2008 01:38:39 +0000 (01:38 +0000)]
swapped group descriptions for z and Z

15 years agoadditional command hints and breaks
Mischa POSLAWSKY [Sat, 19 Jul 2008 00:20:24 +0000 (00:20 +0000)]
additional command hints and breaks

17 years agotoo few breakpoints for v=
Mischa POSLAWSKY [Sat, 10 Mar 2007 10:08:21 +0000 (11:08 +0100)]
too few breakpoints for v=

17 years agoremove old html version
Mischa POSLAWSKY [Sun, 25 Feb 2007 05:41:41 +0000 (06:41 +0100)]
remove old html version

17 years agochange history in separate file
Mischa POSLAWSKY [Sun, 25 Feb 2007 05:15:39 +0000 (06:15 +0100)]
change history in separate file

17 years agomove todo from code to separate text file
Mischa POSLAWSKY [Sun, 25 Feb 2007 04:24:33 +0000 (05:24 +0100)]
move todo from code to separate text file

17 years agoadd version number v1.0
Mischa POSLAWSKY [Sun, 25 Feb 2007 03:09:58 +0000 (04:09 +0100)]
add version number

17 years agoset DirectoryIndex for apache
Mischa POSLAWSKY [Sat, 24 Feb 2007 23:17:38 +0000 (00:17 +0100)]
set DirectoryIndex for apache

17 years agovim keyboard page (initial commit)
Mischa POSLAWSKY [Sat, 24 Feb 2007 23:10:56 +0000 (00:10 +0100)]
vim keyboard page (initial commit)