Commit Graph

72 Commits

Author SHA1 Message Date
a1tsal 4b8013770f Version 2.0b1p5 (16 November 03, sent only to knowone@zensearch.com)
Fixed SourceForge bug #835911, reported by knowone@zensearch.com,
  viz. that if you did control-alt-O before anything else, it blew out.
  This actually only occurred when loading from the Startup folder, because
  doing that bypasses the initialization procedure (AAARGH -- yet another
  way in which loading from Startup differs from normal template loading).
  Fixed this by reorganizing several functions to get the initialization to
  happen anyway.

  knowone@zensearch.com reported that hrIM did not come out correctly: the
  default bindu was used rather than the gigu bindu.  This problem also
  occurred with hr-IM, although he did not report that.  The bug was that
  a-chung came after the gigu (or reverse gigu), so the bindu code saw A as
  the vowel.  Two changes were required to fix this.  One was to put the
  gigu after the a-chung (which is legal and equivalent) in InsertVowel.
  The other was that FixTMW2WylieConversion didn't know about -I at all.
  (This bug was left over from Than's code.)  I also corrected various
  confused code comments in FixTMW2WylieConversion, InsertPlainBindu, and
  InsertChandraBindu.

  Commented out code that suppressed screen updating in
  InsertTibetanLetter.  As reported by knowone@zensearch.com, this caused
  severe "screen flashing" because it forced Word to recompute the screen
  image from scratch (rather than incrementally).  However, removing it
  causes local flashing (of the current tsheg bar), which may be worse in
  some cases (notably long Sanskrit words).  Not sure what to do about
  this.  Ideally, WW could avoid having to delete and replace the whole
  tsheg bar, but would only update the character(s) that are changed as a
  result of the user's typing.  Unfortunately, this would be fairly
  difficult to do -- it would require a complete re-write of ConvertWylie,
  for starters.

  In Options dialog, select the TibFontSize widget text and give it focus.
  (Feature requested by knowone@zensearch.com on the grounds that this is the
  thing most likely to be changed.)

  Changed default for interlineal capitalization mode to "Never" (from "Unless
  first"). (This is more consistent with the rest of the program; requested by
  knowone@zensearch.com.)

  In InsertTibetanLetter, change the data type of 'position' from integer
  to long, to avoid overflow error on very long documents.

  Fixed bug in interlineal root-letter capitalization: its algorithm for
  "unless first" checked only for prefixes, not for superscripts, so it did
  not capitalize the k in "sku".  (Bug introduced in 2.0a7.)

  Changed some initializeWylieWord calls to reinitializeWylieWordIfNecessary,
  to avoid creating multiple copies of the event handler (which I thought
  was a likely cause of flashing/performance degradation reported by
  knowone@zensearch.com, but seems not to have been a significant factor).

  Changed the Options dialog OK procedure to not call the full initialization
  routine, but only LoadPhoneticsFile (which is all that was needed).  This was
  to avoid creating duplicate event handlers.

  Changed the functions that looked up Wylie in the font data tables to use
  hash tables rather than linear search of the arrays, on the theory that
  this might alleviate a performance bottleneck.  But it doesn't seem to
  have helped much.  In fact, testing shows that repeatedly simply
  inserting and deleting English text causes (approximately) quadratic
  performance degredation, probably due to maintaining Undo information.
  So some of the problem is inherent to Word (or VBA) and there is nothing
  I can do about it.

  Restored the Startup installation code (removed in p4) pending a ruling on this
  from David Germano.
2003-11-16 02:25:41 +00:00
a1tsal 6b9af34b42 Add (contrived) test cases for vowel dotting. 2003-10-09 15:36:27 +00:00
a1tsal 76a26bda9c Changed system requirements section to OK W95 and NT4. 2003-09-25 13:39:34 +00:00
a1tsal cce243f442 Enabled W95 installation in the .INP because Werner Bruns requested
it, and there was no known reason it shouldn't work -- I disabled it
only because WW 1.0 was supposed to not work on 95, but Than wasn't
sure why.  WB confirms that it works on W95.  Also enabled NT 4.x
(which should work if 95 does).

Changed name of Setup file to use an underscore rather than space, to
make Than's web script happy.
2003-09-25 13:37:53 +00:00
a1tsal cb583ec2dd Remove warning about non-unicode characters (no longer relevant since
the spec now mandates use of the PUA, which can be accessed with \u
normally).

Clarify warning about bug in typing Sanskrit.

Document autocorrect bug.

Remove references to "2.0b1" (anticipating release of 2.0b2).

Slight clarification of template attachment.
2003-09-23 16:55:48 +00:00
a1tsal 1aac7dc88d I *thought* that before releasing 2.0b1, I had gotten
all of these working except for ones noted in SF.  I was very short on sleep
then, and apparently I hadn't.  Two of the failing test cases were bogus
(not valid Tibetan or Sanskrit), and I've moved them to the appropriate
part of the file.

Two are genuine bugs I didn't know about.  Aaargh.
2003-09-23 16:55:06 +00:00
a1tsal cb03392394 Minor clarifications. 2003-09-23 16:53:46 +00:00
a1tsal 469bab8152 Add explanation of template attachment. 2003-09-23 16:53:18 +00:00
a1tsal d7ab5839a9 Version 2.0b1p4 (23 September 03, sent only to Werner Bruns and madkar@tiscali.it)
Commented out (but did not remove) the Startup installation feature (because,
  due to Word bugs, WW doesn't work right when loaded from Startup).

  Removed some code that was supposed to deal with the "sara->sra" bug
  (#800153 in SourceForge) but didn't.  The code was not actually called
  (because I knew it didn't work) but I had left it in on the theory that
  it might be fixable (but it probably isn't; a different approach is required).

  Added comment to code about ga.yarma problem.

  Updated the EWTS URL in the Tibetan menu for new thdl.org organization.

  On the Italian keyboard layout, there is simply no way to get a backquote,
  so VkKeyScan returns -1, which was causing four different pieces of code to
  blow up.  Fixed to check this case.  (For an unnamed friend of Werner Bruns.)

  Improve success message for phonetics testing.
2003-09-23 16:49:58 +00:00
a1tsal ac5e7035df Remove warning about non-unicode characters
(no longer relevant since the spec now mandates use of the PUA,
which can be accessed with \u normally).

Clarify warning about bug in typing Sanskrit.
2003-09-17 21:25:17 +00:00
a1tsal 38a78ad576 Work around two VBA bugs that caused WW not to work with the German
keyboard layout (as reported by Werner Bruns).
2003-09-16 20:41:30 +00:00
a1tsal 822fd4a675 2.0b1p2: Various attempts to work around Word "object not found"
problems seen by other people but not me.  Specifically:

  Added "Microsoft Scripting Runtime" to VBA References.  This might fix Werner
  Bruns's problem with "object not found" error during installation.

  Eliminated use of SendKeys in CapsLock translation, on the theory that it was
  responsible for DG's CapsLock problem.

  Changed all instances of Application. to Word.Application., which shouldn't
  be necessary according to the documentation, but seems to be more robust.

  Type-declared all Function return values (in attempt to avoid stupid run-time
  errors when loading from Startup folder; apparently code run from there is
  executed differently from that loaded from the templates folder, in a mode that
  is more sensitive to missing type declarations).
2003-09-15 00:21:04 +00:00
a1tsal ba03d9bead Add note about testing from Startup folder. 2003-09-15 00:00:08 +00:00
dchandler 8920e1b2aa WylieWord is the name, not Wylie Edit.
Fixed typo.
2003-09-04 03:29:48 +00:00
a1tsal f6fc902973 Initial check-in of 2.0b1 binary files. 2003-09-04 03:14:24 +00:00
a1tsal f25b0d4f40 Initial check-in of 2.0b1 non-binary files. 2003-09-04 03:08:27 +00:00
a1tsal fad893dbf6 Removing WylieWord 1.x in favor of 2.x 2003-09-04 03:01:10 +00:00
dchandler 1b518b1336 This file is just a transformation of
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/thdltools/Jskad/source/org/thdl/tib/text/tibwn.ini,
so I'm deleting its now-out-of-date contents.
2003-05-31 20:01:18 +00:00
thangarson 3ea1eecc28 Updated THDL URLs. 2002-11-15 21:27:01 +00:00
dchandler 63757c30c1 \r\r\n line breaks are now \r\n. (Which means they'll be \n on Unix
sandboxes, and \r\n on Windows sandboxes, which is what you want.)
2002-10-03 02:53:43 +00:00
dchandler 074adbf06a Added the rest of the initial import of Wylie Word. These files are binary, which are handled specially by cvs a la 'cvs add -kb'. 2002-09-24 01:34:00 +00:00
dchandler d919690809 Initial revision 2002-09-24 01:30:04 +00:00