dchandler
8c4ab30a52
Rearranged the Tools menu; made the converter smart about "find some..."
...
and "find all..." modes.
2003-07-05 21:02:46 +00:00
dchandler
72d2eee503
Code cleanup.
2003-07-05 19:26:58 +00:00
dchandler
a463b686b3
Jskad now ships with both TibetanMachine and TibetanMachineWeb fonts
...
by default, not just TMW. Thus users need not install these fonts on their
systems.
2003-07-05 18:00:29 +00:00
dchandler
9effee0564
If you opened a file from the recently opened files list and very quickly
...
mouse-clicked on the new Jskad window, you could cause an infinite
regression of requestFocus() operations because the menu would try
to get focus back. I grab focus from the menu now.
2003-07-05 02:30:00 +00:00
dchandler
51679c158b
Final fixes completed; recently opened files can now be selected from
...
Jskad's file menu.
2003-07-05 02:15:33 +00:00
dchandler
4410b52c07
There's still a small bug in this, but here's the real stuff:
...
Recently opened files can now be selected from Jskad's file menu.
A Jskad now gives the focus to the DuffPane when that Jskad gets the
focus.
2003-07-04 03:29:25 +00:00
dchandler
d863446d25
I think *this* compiles...
2003-07-04 02:32:40 +00:00
dchandler
407020108f
I didn't mean to commit the previous revision; I'm still tweaking it.
2003-07-04 02:32:03 +00:00
dchandler
9f0b1c3250
Recently opened files can now be selected from Jskad's file menu.
...
A Jskad now gives the focus to the DuffPane when that Jskad gets the
focus.
2003-07-04 02:31:23 +00:00
dchandler
7500b4e06b
Jskad won't allow you to exit by closing the last window anymore. Instead,
...
you get a dialog box saying to use File/Exit.
2003-07-04 00:21:07 +00:00
dchandler
6c286573ba
Fixed Javadocs.
2003-07-04 00:12:59 +00:00
dchandler
0a1bc0d30b
getWylie now takes a parameter for error detection; I'm not detecting errors
...
here though.
Fixed a typo in a property name.
2003-07-01 23:20:08 +00:00
dchandler
0d1999d055
getWylie now takes a parameter for error detection; I'm not detecting errors
...
here though.
2003-07-01 22:52:18 +00:00
dchandler
a48ec641d5
Better error messages in TMW->Wylie conversions. The user knows what's
...
up.
2003-07-01 03:43:33 +00:00
dchandler
3113a4b8de
Some of the \tmw80.. mappings were out of date.
...
3+1/2 is not EWTS; took these out.
2003-07-01 03:42:30 +00:00
dchandler
e7e7c2bf15
The command-line tool runs in headless mode by default, so it will
...
work on a Linux console, e.g. The JUnit tests will too, though 'ant
check' still fails because we don't sneak the -Djava.awt.headless=true
into the process early enough.
2003-07-01 02:50:09 +00:00
dchandler
6151a7bc94
TMW->Wylie now occurs in the TibetanDocument, not in DuffPane,
...
which means that the command-line tool can finally function with a headless
graphics device. Hopefully it will speed things up, too. It also means that
entering Roman text into the TMW->Unicode conversion and TMW->TM
conversion will be easy.
2003-07-01 01:21:57 +00:00
dchandler
61d29fc355
The TMW->Wylie mapping was busted w.r.t. tshegs.
...
Also, I now map both TMW7.90 and TMW7.91 to EWTS 'M'.
2003-07-01 00:17:18 +00:00
dchandler
229536884f
I've validated by hand the TM<->TMW mappings. A few things changed, so
...
no previous TM->TMW or TMW->TM conversions can be trusted.
2003-06-30 02:24:11 +00:00
dchandler
dc03083433
I've validated by hand the TM<->TMW mappings. A few things changed, so
...
no previous TM->TMW conversions can be trusted.
2003-06-30 02:22:09 +00:00
dchandler
58644a6ef9
Better error handling.
2003-06-30 02:20:52 +00:00
dchandler
b16fb8a85c
This is correct; the Tibetan! 5.1 documentation is not. This affects
...
TM->TMW conversions.
See http://sourceforge.net/tracker/index.php?func=detail&aid=746871&group_id=61934&atid=502515
for a full list of Tibetan! 5.1 documentation errors.
2003-06-29 22:11:00 +00:00
dchandler
aedef4b44d
An error now appears if you try to convert from format A to format B but no
...
glyphs in format A appear. In this case, it is likely that you meant to convert
a different file or do a different conversion.
2003-06-29 21:31:48 +00:00
dchandler
ee14b7b97f
Jskad now has the ability to open its buffer with an external viewer, e.g.
...
Microsoft Word.
Better OOM error handling in the GUI converter; untested, though.
2003-06-29 20:49:30 +00:00
dchandler
646e23b4a4
Tweaked the converter GUI so that you can open the old and the new files
...
with the external viewer.
2003-06-29 16:45:15 +00:00
dchandler
3f76c3692d
Fixed Javadoc warnings.
2003-06-29 15:37:35 +00:00
dchandler
b841a7f14b
The converter GUI can now be run standalone or from Jskad's Tools menu.
...
The converter GUI gives nicer error messages in at least one case.
2003-06-29 04:18:36 +00:00
dchandler
7938648ca8
TM->TMW conversion has no known bugs. Oddballs have been
...
comprehensively handled.
2003-06-29 03:03:07 +00:00
dchandler
4e279defb4
Fixed a couple of array bounds checks.
...
Added support for two more oddballs.
Deprecated the oddball lookup method because it drops up to 30 glyphs in
TibetanMachine. The correct solution is to transform the RTF before Java's
busted RTF readers ever see it. \'97 becomes \u151, e.g.
2003-06-28 16:33:58 +00:00
dchandler
2a359c45ef
Bad conversions were not leaving the unconvertable characters at the
...
beginning of the document as they should and as they are documented to.
They now do, and they bracket the bad characters with the TM or TMW for
U+0F3C on the left and the TM or TMW for U+0F3D on the right.
Some cleanup.
2003-06-28 16:20:19 +00:00
dchandler
c39d8d6326
My earlier code cleanup introduced this bug; TMW->TM conversion was
...
busted.
2003-06-26 22:48:51 +00:00
dchandler
25510542b2
Now with a nicer error message in one case.
2003-06-26 22:48:05 +00:00
dchandler
c34259b105
Code cleanup.
2003-06-25 01:04:24 +00:00
dchandler
9e6c3009ac
Added an About button. Code cleanup. Changed the Cancel button to the
...
Close button.
2003-06-25 00:49:11 +00:00
dchandler
33beb7b782
Bye bye debugging output.
2003-06-24 12:23:37 +00:00
dchandler
f547734043
Added Than's converter GUI code; adapted it to work with Jskad's
...
converters.
TMW->Unicode now uses Ximalaya by default.
2003-06-24 03:02:29 +00:00
dchandler
917864574c
Fixed a logic bug in mapTMWtoTM and mapTMtoTMW.
...
You can now specify which Unicode font to use via 'java
-Dthdl.tmw.to.unicode.font=Ximalaya ...'.
2003-06-23 01:58:11 +00:00
dchandler
b6d8fd89f9
When errors in (all but TMW->Wylie and Wylie->TMW) conversion occur,
...
the troublesome glyphs are now put at the beginning of the document
AFTER AN ACHEN. This makes a glyph like \tmw7095 visible atop the
achen.
Major fix to the handling of paragraphs in conversion; we were (for
whatever reason) dropping paragraphs before.
2003-06-23 01:24:02 +00:00
dchandler
1f4343bed0
TMW->TM, TM->TMW, and TMW->Unicode conversions are all (at least 2)
...
orders of magnitude faster.
2003-06-22 22:10:58 +00:00
dchandler
afe73c2228
The pseudo-file '-', referring to standard input, is now accepted as a
...
command-line argument.
2003-06-22 21:05:16 +00:00
dchandler
900f7492b0
'ant clean check' was failing because I hadn't updated the
...
--find-some-non-tmw and --find-all-non-tmw baselines.
Code cleanup.
2003-06-22 16:11:58 +00:00
dchandler
66287f3cc9
Small TMW->Wylie performance improvements. TMW->Wylie is *much*
...
faster than TMW->Unicode etc.; this is because many fewer replacements
are made (i.e., more text is replaced each time a replacement is
performed).
I must find a way to still preserve formatting but do many fewer
replacements in TMW->{Unicode,TM} and TM->TMW.
2003-06-22 04:32:59 +00:00
dchandler
6540b260bd
Fixes a (small, I think) TMW->Unicode performance glitch. I was
...
inserting 5 characters at a time and then skipping ahead just one
position. I don't think this affected correctness.
I believe there's still a terrible (exponential?) slowdown as the
input file gets bigger, however. Perhaps not -- but we run through
the first 1000 TMW glyphs in 6 seconds, the 20th thousand takes at
least 60 seconds. Is TMW->Wylie faster than TMW->Unicode? If so,
why?
Thought: don't use a DuffPane within TibetanConverter -- it can only
add overhead, right? My hprof profile said that the conversion was
taking just a couple of percent of the work; the rest was going to
display-related stuff that you should only see if you were displaying
the document. I'm not!
2003-06-22 04:08:33 +00:00
dchandler
dfe64a1927
Added --find-some-non-tm and --find-all-non-tm modes to the converter to
...
help ensure worry-free TM->TMW conversions.
2003-06-22 00:14:18 +00:00
dchandler
80101666c7
Included a fix from WylieWord's tibwn.ini. Removed some needless trailing
...
tildes.
2003-06-21 02:35:21 +00:00
dchandler
9a41f512d9
It used to be the case that you could select 'Close', and then when asked
...
"do you want to save?" you could press yes and then press cancel and
Jskad would still exit. That's no longer the case.
Added File->Exit to Jskad.
2003-06-21 02:07:51 +00:00
dchandler
45b87b0fb4
In Jskad, you can now clear the preferences and return to default values.
2003-06-21 01:26:17 +00:00
eg3p
fbb6245fdb
Added cut() and copy() methods to override JTextPane's methods of same name.
2003-06-20 15:27:20 +00:00
dchandler
5067683121
Edward corrected me; he had intended to have M map to 7.91, not 7.90.
2003-06-17 01:46:19 +00:00
dchandler
ced830a7d3
Renamed TMW_RTF_TO_THDL_WYLIE TibetanConverter.
2003-06-15 19:19:23 +00:00