Mischa POSLAWSKY [Thu, 23 Oct 2008 12:40:28 +0000 (12:40 +0000)]
unicode: various minor updates
- New row of quotes: left top.
- New row of signs: time/counting units.
- Mark disused hiragana as discouraged.
- Legend of colours.
Mischa POSLAWSKY [Fri, 17 Oct 2008 22:50:05 +0000 (22:50 +0000)]
unicode: minor updates to ipa character lists
- Use qp/db digraphs for labiodental plosives, instead of using the
standard but boring dental marks.
- Put near-centralized vowels at table edges, instead of in incorrect
roundedness positions.
- Addendum for official coarticulated sounds.
Mischa POSLAWSKY [Fri, 17 Oct 2008 22:22:18 +0000 (22:22 +0000)]
no page margin in print styling
Tables barely fit without additional spacing, so override margins as far
as browsers even support this.
Mischa POSLAWSKY [Fri, 17 Oct 2008 22:19:34 +0000 (22:19 +0000)]
vim: custom key rows specifiable via ?status
Allows a non-interactive keyboard custom-tailored to show only wanted key
modes and cases. Useful to print out specific rows.
Letters indicate Vim modes (e.g. g, ^w, v, i, nothing for normal), following
digits specify keyboard modes/cases (where 1 is lower case, 2 shifted, and
3 with control pressed). After this, a dash with more digits can be added
to supply alternative key cases shown only at the top (numeric) row.
For example: ?static=i3+z1+g1-2+321-21 would result in:
1. insert mode keys with control pressed;
2. z + unshifted keys;
3. g + shifted keys for the first row, so !-) instead of 1-0,
+ normal keys (a-z, not A-Z as would be g2) elsewhere;
4. standard rows (control, shift, normal) for normal mode,
but leaving out ctrl for the first row (only ^^ there).
Clicking mode keys will not work correctly (should probably just be
disabled).
Mischa POSLAWSKY [Sat, 11 Oct 2008 11:41:46 +0000 (11:41 +0000)]
unicode: set multiple property classes
If several non-exclusive character attributes are present, set all relevant
style classes (and try to show the most relevant).
Mischa POSLAWSKY [Sat, 11 Oct 2008 10:43:07 +0000 (10:43 +0000)]
unicode: one common function to display all glyph tables
New glyph_table() arguments include table header, and have a common inline
format for row/column headers. Now used for all (even non-IPA) tables.
Should make for much more maintainable code.
Mischa POSLAWSKY [Sat, 11 Oct 2008 09:33:47 +0000 (09:33 +0000)]
unicode: remove obsolete $width parameter to table()
Ever since
v1.1-42-gef10481 [unicode: table improvements] (2008-09-16)
the width is determined automatically. Remove these unused arguments.
Mischa POSLAWSKY [Sat, 11 Oct 2008 09:29:59 +0000 (09:29 +0000)]
vim: ascii fallback of foreign keyboard layouts
Though not especially useful or practical, add ASCII-safe alternatives to
keyboard maps so that pages indicated us-ascii are indeed always so.
Mischa POSLAWSKY [Sat, 11 Oct 2008 07:05:53 +0000 (07:05 +0000)]
unicode: common and improved css
Merge all inline styling with digraphs.css, making minor improvements along
the way.
Mischa POSLAWSKY [Sat, 11 Oct 2008 04:16:52 +0000 (04:16 +0000)]
unicode: body container
Mischa POSLAWSKY [Sat, 11 Oct 2008 04:15:19 +0000 (04:15 +0000)]
unicode: offer an interesting selection of alphabetic digraphs
Cross-selection of various significant/remarkable letters, mostly to give an
indication of which digraphs to use (users are assumed to figure out how to
enter most other characters themselves).
Mischa POSLAWSKY [Sat, 11 Oct 2008 00:13:59 +0000 (00:13 +0000)]
unicode: add specific header and footer
Mischa POSLAWSKY [Sat, 11 Oct 2008 01:35:21 +0000 (01:35 +0000)]
unicode: colourise different character classes
Mischa POSLAWSKY [Sat, 11 Oct 2008 01:33:41 +0000 (01:33 +0000)]
silence some perl warnings
Mischa POSLAWSKY [Thu, 9 Oct 2008 23:37:49 +0000 (23:37 +0000)]
unicode: separate+improved Blocks section
Add several block drawing chars (most of them digraphless, but useful in
any case), and categorize them separately from the more general Signs.
Bonusally, fix the sign for 'sun'.
Mischa POSLAWSKY [Sat, 11 Oct 2008 00:06:14 +0000 (00:06 +0000)]
unicode: fix diagonal arrow direction
Diagonal downwards double arrows were swapped, due to the same fault in
the current version of Unifont.
Mischa POSLAWSKY [Fri, 10 Oct 2008 23:59:52 +0000 (23:59 +0000)]
digraphs: unicode 5.0 character details
Recreate the digraphs include with version 5.0.0 of the Unicode
Character Database, encompassing most of the glyphs missing from 4.1
(as well as minor category improvements).
Fix the generator to account for undefined 'script' values, which now
occur for private use characters which were previously (erroneously)
categorized as 'Common'.
Mischa POSLAWSKY [Fri, 10 Oct 2008 23:34:04 +0000 (23:34 +0000)]
vim: fix display of non-default 'keys' setting
A trailing 1 was accidentally shown if keys were defined.
Broken by
v1.1-6-ga7550acb [prefer logical over ternary conditionals]
which was to be expected :P.
Mischa POSLAWSKY [Fri, 10 Oct 2008 23:09:58 +0000 (23:09 +0000)]
vim: offer azerty keyboard map
Add the French (not Belgian or Canadian) layout, with some minor mangling to
integrate all relevant ASCII characters (from AltGr positions).
Mischa POSLAWSKY [Fri, 10 Oct 2008 22:03:39 +0000 (22:03 +0000)]
vim: additional break points in key descriptions
Sizing may differ per style, font and platform, so try to prepare for the
worst.
Mischa POSLAWSKY [Fri, 10 Oct 2008 19:47:10 +0000 (19:47 +0000)]
vim: fix and improve command descriptions
Several subtle description updates, stating functionality more clearly
(and less incorrectly for [d [i and similar).
Mischa POSLAWSKY [Fri, 10 Oct 2008 01:27:55 +0000 (01:27 +0000)]
digraphs: minor proposals update
Mischa POSLAWSKY [Fri, 10 Oct 2008 00:54:38 +0000 (00:54 +0000)]
digraphs: .vim option to give ex commands of shiar proposals
Give a plain text with :digr commands to attain the unofficial digraphs
at digraphs.vim.plp.
Mischa POSLAWSKY [Thu, 9 Oct 2008 23:38:45 +0000 (23:38 +0000)]
digraphs: additional line drawing proposals
Add some glaring omissions in line drawing Unicode as custom digraphs (mostly
featuring dual-styling, some expected but somehow missing analogues). Also add
/unicode tables showing the more uncommon cases.
Mischa POSLAWSKY [Thu, 9 Oct 2008 20:23:02 +0000 (20:23 +0000)]
unicode: add kana tables
Simple overview of all Japanese hiragana and katakana, just because it's
digraphed, and easily tableable.
Mischa POSLAWSKY [Thu, 18 Sep 2008 22:11:58 +0000 (22:11 +0000)]
digraphs: minor shiar proposals updates
Mostly some subtle composition key reassignments:
- Capitalize letters in !X clicks (easier to type).
- eS for capital esh, because the S is the significant (phonetical)
component.
- Add sl for long S, which seems like a good mnemonic, and similar to
other long-legged proposals.
- mL analogous to rL (probably better to use alternatives to Xp if there
are any).
- K/ for kip sign, since stroked letters are always composed with slash,
while dash usually means a macron or bar above.
Mischa POSLAWSKY [Thu, 18 Sep 2008 22:11:58 +0000 (22:11 +0000)]
digraphs: shiar proposal include cosmetics
Minor reordering and comment addendums.
Mischa POSLAWSKY [Tue, 16 Sep 2008 04:40:38 +0000 (04:40 +0000)]
unicode: common (western) characters
Add a section with some very frequently used characters (quotes, simple maths,
common signs, largest european languages).
Mischa POSLAWSKY [Tue, 16 Sep 2008 02:50:19 +0000 (02:50 +0000)]
digraphs: put _ at the left of table
While underscore is at the end by ASCII ordering, it's only character
left after the letters, and groups are certainly more balanced if it's
put at the beginning with other punctuation.
Mischa POSLAWSKY [Tue, 16 Sep 2008 02:43:17 +0000 (02:43 +0000)]
unicode: table improvements
Updated glyph table rendering code, notably featuring:
- cells spanning multiple columns for the IPA table;
- showing Unicode value if there's no digraph known.
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.
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).
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).
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.
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.
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).
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.
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.
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.
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)