Commit graph

110 commits

Author SHA1 Message Date
a1tsal
a943bb342c Version 2.1b2:
Worked around newly-discovered Word bug that causes the selection
  change event handler to get called spuriously.  This caused bad
  behavior in alt+m.  Probably this bug has been around forever but
  either no one noticed it or it was masked by something else.

  Make HandleUserUCH call UpdateFromTransliteration, as needed.

  Add code in InsertInterlinealMatrix to force OScript input in the
  Wylie row.
2005-02-25 00:59:10 +00:00
a1tsal
9db7c5897d Change nr to be pronounced n, rather than nr. See SF bug 1150671. 2005-02-24 05:54:26 +00:00
a1tsal
cbc9de5bfb Fixed SF bug 793596: mangs came out mngas. Also fixed the case of mags.
Fixed 1118035 some more.  Yesterday I fixed it for Unicode; I had
  assumed this worked correctly for TMW, but it didn't, due to some
  buggy version 1.1 legacy code.  (So in fact this bug was in version
  2.0 as well, but no one complained.)
2005-02-24 01:42:41 +00:00
a1tsal
5407b80a04 Whoops -- remove tabs, replace with spaces. 2005-02-24 00:47:57 +00:00
a1tsal
29621f5716 Correct the list of three-letter-root-rule exceptions (nangs->mangs).
Add tests for Chris Fynn's list of difficult non-exceptions.
These motivated by fix to SF bug #793596.
2005-02-24 00:42:27 +00:00
a1tsal
4bebad8082 Actually fix 1119028 (Enter and Tab when in TScript put you in OScript) 2005-02-23 07:59:17 +00:00
a1tsal
6d2b5f72df Fixed SF bug 1118035: newline and other whitespace got []ed in F10.
Fixed SF bug 1118391: Now starts in OScript mode, not TScript.

  Fixed SF bug 1119024: TCC->Unicode lost newlines and other whitespace.

  Fixed SF bug 1149395: allow s+n+r as Tibetan stack.

Working on fix for 1119028 by modifying SelectionIsTScript, which is probably
in an inconsistent state currently.
2005-02-23 05:41:26 +00:00
a1tsal
6894b3ca41 Add snrubs as test for s+n+r 2005-02-23 01:29:43 +00:00
a1tsal
deaf6cb06d Take native-stack test cases from the right source! (I.e. the spec.) 2005-02-23 01:22:52 +00:00
a1tsal
c7d42b44b0 Add systematic test cases for all native-Tibetan stacks.
Obviously I should have done this long ago, because WW rejected
snr-, which is definitely legal.

Add explanatory comment re: baraga.
2005-02-22 23:27:25 +00:00
a1tsal
fddf3c4870 Fix bug in PrepareDistribution: It could set the font to TMU rather than TMW. 2005-02-04 02:58:59 +00:00
a1tsal
55530429bc Remove reference to removed // canonicalization (mis)feature. 2005-02-04 02:53:47 +00:00
a1tsal
90e4234382 Add alt-key accelerators for Tibetan menu commands that don't have
dedicated keys.

  Comment out 0F0D canonicalization (mis)feature.
2005-02-04 02:52:21 +00:00
a1tsal
19934770f4 minor clarifications 2005-01-19 12:08:05 +00:00
a1tsal
bb3910a2e0 remove redundant heM, add note re nested [] test 2005-01-19 12:06:44 +00:00
a1tsal
3f223bcb8c Added test for _
Added test for no-Wylie Tibetan symbol followed by alpha character.

     Added test of TM->Unicode

     Various small clarifications & improvements
2005-01-19 12:03:44 +00:00
a1tsal
766cb24dc9 This is probably the final 2.1b1.
Implement the (apparent) Unicode // misfeature: Whenever two U+0F0D
  appear next to each other, by whatever means, they need to be
  combined into a single U+0F0E.

  Made MakeRangeTScript set .Font.NameBi, which seems to be necessary
  on alternate Tuesdays.

  Fix long-standing bug (was in 2.0, but I only just noticed it):
  single-quote should be open-curly after newline and tab, as well as
  after space.  Probably after some other things as well, like magic
  formatting codes, but it's too hard to figure out what.

  Fix bug introduced by the optimization of font changes: TCC->Unicode
  was failing to set the Unicode font, so everything came out Arial
  Uni.

  Fixed bug recently introduced in ProcessTibwn_iniLine that caused
  Tibetan stacks not to work.

  Fixed bug: when typing an OScript character, bombed if the
  selection was not collapsed.

  Fixed bug: _ was inserting 0020 rather than 00A0

  Fixed bug that looks like it goes back at least to 2.0, that
  inserting an alpha character in tscript after a symbol that has no
  wylie (other than \uXXXX) bombs because the symbol is wrong counted
  as CharOKinTshegBar.  If it does go back to 2.0 I'm somewhat
  surprised no one has noticed it; but probably these symbols are very
  rarely used.
2005-01-19 12:01:04 +00:00
a1tsal
de8636256a Added test case for [] nesting. 2005-01-19 01:14:31 +00:00
a1tsal
3c97ef33e6 Added tip about the Word Unicode bug(s).
Moved text into "basic operation" that had somehow gotten stranded
    in "EWTS".

    Document new TCC-font-conversion feature.

    Explain of USP10.DLL and hyperlink to discussion on thdl.org.

    Hyperlink to EWTS documentation.

    Hyperlink to THDL simplified phonetics document on thdl.org.

    Added note about pecha preparation.

    Changed TOC to a more-nearly-standard form, with page numbers,
    ergo suitable for print as well as on-line reading.

    Replace some literal URLs with hyperlinks.

    Remove the following text: "WylieWord does not support the EWTS
    -i+thi transliteration.  (You can get this rare glyph using a
    Unicode escape, however.)"  Apparently this transliteration has
    been removed from EWTS (thankfully); it's now only \uF042.
2005-01-19 01:13:26 +00:00
a1tsal
343a83bc10 Not sure what the change here is, but CVS thinks it's changed,
so I'm checking it in.
2005-01-19 01:12:14 +00:00
a1tsal
5034292ed6 Made 0F00, 0F02 and 0F03 be "symbols" rather than "combinations".
They should not be decomposed on transliteration.

    Made 0F0E (//) a "symbol" rather than "combination".

    Made the Sanskrit aspirates and k+Sh into foreign consonants,
    rather than "combination"s.  This doesn't actually affect the
    current code, but better reflects what it is doing (after the
    change to canonicalize these as single "precomposed" characters).

    Made the "strongly disrecommended" vowel signs "deprecated" rather
    than "combination".
2005-01-19 01:05:49 +00:00
a1tsal
4aa9128173 New feature for converting the 8-bit TCC fonts to Unicode.
Code-cleaned ReadTMWdefinitionFile which was an awful mess.  Did
  this along the way when implementing TCC 8-bit support.

  Unicode<->TMW conversion of whole document now applies to footnotes
  and endnotes.

  Now (per spec) use 00A0 space rather than 0020 (= ASCII 32) for EWTS _ .

  Implemented [] nesting rule for F9.  It already worked for F10,
  fortuitously.

  Optimize out most calls to MakeRange*Script (recently introduced to
  work around Word Unicode font-change bug); this improves performance
  and also decreases the number of useless font-change events on the
  Undo list.

  "combination" -> "deprecated" in Unicode definition reader.
2005-01-19 00:54:19 +00:00
a1tsal
67414c1e8c Checking in first version of testing protocol document 2005-01-16 01:00:51 +00:00
a1tsal
c80184b95f Minor changes 2005-01-16 00:59:31 +00:00
a1tsal
ce814a0a83 Minor changes -- mostly in comments -- plus one Unicode-related. 2005-01-16 00:58:50 +00:00
a1tsal
4e244b1b96 Updated for Unicode changes.
Various uses of "English" replaced. (Trying to be less ethnocentric;
we have lots of users whose primary language is not English.)
2005-01-16 00:55:48 +00:00
a1tsal
a93bcfdce5 Removing this informal branch of "WylieWord development copy.dot",
as the code in it is now the trunk.
2005-01-16 00:54:14 +00:00
a1tsal
8add415115 I had made an informal branch of this file called "Unicode hackup.dot"
for experimental Unicode extensions.  It's now clear that Unicode is
going in the trunk -- in fact I'm close to a first beta release -- so
I'm clobbering the "Unicode hackup.dot" file and checking in its
latest version here.

The changes:

Unicode support.  Extensive remodularization and code changes in most
parts of the system, far too much to detail here.  2.1 has roughly a
third more code than 2.0!

Per request of Cathy Cantwell, make F9 on body text that includes
footnotes/endnotes convert text of said notes.

In support of the previous, various changes to make Tibetan work in
footnotes (and endnotes) generally.

Pronunciation function now talks about "foreign" words rather than
"Sanskrit"; former is more generally correct.

Fixed prehistoric bug (goes back to Than's version 1.1) that I just
found: F6 went to end of document if you hit Cancel.

Fixed SourceForge bug 941183: literal curly quotes in VBA screwed up
Chinese Word.  (Need to get Jeff Wu to verify fix -- I couldn't
duplicate bug.)

Fixed SourceForge bug 986847: double quote doesn't curlify.  I
"fixed" this by removing the double-quote binding.  That's not the
optimal fix, but the only thing that's non-optimal about it is that
when you are typing EWTS, double-quote self-inserts rather than
telling you that it's not a valid EWTS character.

Fixed SourceForge bug 986850 (Interlineal failing when loaded from
Startup, due to an instance of the Word bug where Startup-loading
doesn't run initializations)

Fixed bug: in F9 conversion, \u allowed only lower-case (not
upper-case) alpha hex digits.

Fixed bug: in F9 conversion, \ was not interpreted as an escape
within [].

Fixed bug: \Z] did not return to TScript, but instead inserted the
].

Fixed bug: [ and ], when in Interlineal mode, now beep rather than
screwing things up.

Various uses of "English" replaced in the UI. (Trying to be less
ethnocentric; we have lots of users whose primary language is not
English.)
2005-01-16 00:43:46 +00:00
a1tsal
dff4db7205 Fix required to make build actually run 2005-01-16 00:11:56 +00:00
a1tsal
830db8d980 Better rejection tests, changes for Unicode, new test case "baraga",
which 2.0 gets wrong (I think -- still not sure on this one!)
2005-01-12 11:38:55 +00:00
a1tsal
cca31f1af1 Introduce new category for H and ?. 2005-01-12 11:33:30 +00:00
a1tsal
d069f0b1b6 Checking in incremental progress. Everything works, various small loose
ends to deal with, thorough testing yet to be done.
2005-01-12 11:31:18 +00:00
a1tsal
f205f7253d Incremental progress. Passes all conversion tests except non-TScript,
rejection, and the peculiar case kaR+Wabi.
2004-12-26 22:45:59 +00:00
a1tsal
d7f5b22a2d Progress: now passing most of TestConversion; exceptions are non-Tibetan
embeds, a few complex Skt stacks, and also it fails to reject some things
that should be unparseable.
2004-12-22 12:43:29 +00:00
a1tsal
de529e7187 Ye olde incremental progress.
Everything mostly works.
But everything is riddled with bugs.
2004-12-19 08:06:41 +00:00
a1tsal
129e7ed917 Incremental progress on Unicode. 2004-12-18 11:09:47 +00:00
a1tsal
cb6ffac9c8 Incremental progress on Unicode. 2004-12-18 05:44:54 +00:00
a1tsal
39752ad984 Whoops, +' is a foreign subjoined consonant. 2004-12-18 05:42:51 +00:00
a1tsal
4d4b1f9d81 GPL and note explaining GPL vs THDL OL added, and to .INP too.
CVS is whining about the GPL containing "escape characters" (presumably
control-L), but when I try to add it as binary, it complains that it's actually text.
I hope this works.
2004-12-17 02:04:15 +00:00
a1tsal
f0a91f9a79 TMW -> Unicode works modulo Word Unicode bugs. 2004-12-16 13:06:38 +00:00
a1tsal
b3eead0df6 Checkpoint: Typing EWTS to get Tibetan script mostly works.
Infinitely many bugs in Word Unicode handling remain to work around.
2004-12-16 08:02:06 +00:00
a1tsal
11dcda0532 Checkpoint: TMW-specific code removed from TScript parser. 2004-12-15 02:55:56 +00:00
a1tsal
a1dc82bd62 Check in incremental progress on Unicode.
Checkpointing here because I'm about to start overhauling the TMW
tsheg bar parser to accept Unicode Tibetan as well.
2004-12-15 02:23:53 +00:00
a1tsal
1c2fcb0910 Add reference to TMUni. 2004-12-13 01:30:05 +00:00
a1tsal
a4a07e5a6f Add the alpha Tibetan Machine Uni font and the "Unicode definition.txt" files.
Change tibwn.ini to overwrite -- previously it was set not to, which seems
completely wrong.
The Uni font is now set to overwrite; I hope this is the right thing.  For some
reason the TMW fonts had been set no-overwrite.  I'm hoping that is just
because I assumed they wouldn't change rather than because it doesn't
work to overwrite fonts or something.
2004-12-13 01:19:06 +00:00
a1tsal
23ddf2aac7 This file has the Wylie <-> Unicode correspondence, which actually can't
be recovered from tibwn.ini, oddly enough.
2004-12-12 22:31:11 +00:00
a1tsal
c93f7467a7 Unicode->Wylie now basically working. Typing EWTS to get Tibetan is
mostly not working but starting to show signs of life.
2004-12-12 12:03:39 +00:00
a1tsal
d211b73642 Incremental progress on Unicode. Wylie->Unicode is basically working
(but I haven't run extensive tests, and probably will break in some cases).
Unicode->Wylie is not working.  I'm checkpointing here because I'm
about to attack the Tibetan->Wylie code and I'm not sure my approach
is correct -- may need to back out.  (Current theory is to recycle the TMW->
Wylie code with small amounts of internal conditionality on TMW vs.
Unicode, but I'm not positive this can be made to work.)
2004-12-12 07:36:23 +00:00
a1tsal
4311f44042 Beginning of version 2.1 (with Unicode support).
It would cleaner to do a fork of "WylieWord development copy.dot",
which is what this, but the wincvs doc doesn't cover the fork command
at all, and I don't want to risk confusion.
2004-12-11 10:22:27 +00:00
a1tsal
92bf0142cd Minor changes. 2004-11-03 02:36:17 +00:00