Commit Graph

112 Commits

Author SHA1 Message Date
Robert Greene
c3cee4f38b First attempt at setting appropriate default button. Added getDialog. 2003-02-11 04:43:23 +00:00
Robert Greene
72a4dd01cd Many fixes - primarily one is to implement editSelection. 2003-02-11 04:42:45 +00:00
Robert Greene
ef77760bc6 Added ability to import files. 2003-02-11 04:41:39 +00:00
Robert Greene
4684395b20 Added hasFiletype. 2003-02-11 04:41:01 +00:00
Robert Greene
69a2013ea4 Updated to 1.2.0. 2003-02-11 04:40:42 +00:00
Robert Greene
b52fca61a8 Added needsAddress and setAddress along with ProDOS-specific
setAuxiliaryType. Moved ProdosFileType inner class to
ProdosFormattedDisk.
2003-02-11 04:40:28 +00:00
Robert Greene
ee700cf995 Added indicators for filetypes that require an address. 2003-02-11 04:37:50 +00:00
Robert Greene
541df2d2f8 Added getFiletypes (all possible filetypes) and needsAddress plus
ProDOS specific findFiletype and getFiletype. The ProdosFileType
inner class was moved from ProdosFileEntry into this class.
2003-02-11 04:37:27 +00:00
Robert Greene
6c8dad1ea7 Added getFiletypes (all possible filetypes) and needsAddress. 2003-02-11 04:35:04 +00:00
Robert Greene
ecf6f16a83 Added needsAddress and setAddress. 2003-02-11 04:34:28 +00:00
Robert Greene
d5089727f9 Enhanced RTF code generated. 2003-02-11 04:33:55 +00:00
Robert Greene
080f0a9ab1 Added convertFormattedWord. 2003-02-11 04:33:01 +00:00
Robert Greene
d1f736bd1b Removed unused code, fixed getFileData when reading large files
(tree files) and fixed a bug when writing to a file and calculating the
offset for the index block for tree files (position would get larger
than 256, which caused an array out of bounds exception).
2003-02-08 16:45:52 +00:00
Robert Greene
216b34549d Fixed a minor bug in the format routine. Only the first catalog
sector could be found up to this point.
2003-02-08 16:43:08 +00:00
Robert Greene
0ca49a89f2 Added RTF export option. Changed format choice to be done via
select methods - to avoid dependence upon the internal code of
the filter. Currently, a contant integer is used, but that is leading
to multiple switch statements. This may be changed to some form
of innner class in the future. The change to a select method will
hide this internal state from the world (a good thing!).
2003-02-08 16:42:07 +00:00
Robert Greene
a554a1d445 Modified test to reflect the fact that DOS 3.3 "T" (text) files do not
store a length, so a comparison after writing and then reading the
text file cannot be done. This affected the writeFile methods as well
as all invocations of the methods.
2003-02-08 16:38:25 +00:00
Robert Greene
7a1b14dae7 Removed unused code and made imageCanvas a class-level object
and updated code appropriately.
2003-02-08 16:37:06 +00:00
Robert Greene
86c9586bbc Removed unused code, removed unused imports, made imageCanvas
a class-level object and updated code appropriately.
2003-02-08 16:36:34 +00:00
Robert Greene
955aea6c24 Removed unused code. 2003-02-08 16:35:44 +00:00
Robert Greene
aaea5ee874 Updated to for AppleWorksFileExportFilter enhancements. Changed
to use select methods.
2003-02-08 16:35:19 +00:00
Robert Greene
f346a0ac28 Updated to for AppleWorksFileExportFilter enhancements. Added RTF
as an export option and changed to use select methods.
2003-02-08 16:34:41 +00:00
Robert Greene
2a17b2c722 Organized imports (removing unused imports). 2003-02-08 16:31:10 +00:00
Robert Greene
02b7bea850 Updated VERSION and COPYRIGHT. VERSION is temporary (1.2.0pre)
while COPYRIGHT now extends into 2003.
2003-02-05 03:55:59 +00:00
Robert Greene
919535f2f3 Allow user to select files to import. 2003-02-05 03:55:00 +00:00
Robert Greene
26e6890727 Import Wizard main class. 2003-02-05 03:54:36 +00:00
Robert Greene
9b0a0286c3 Some early updates to make Import available in the file explorer tab. 2003-02-05 03:53:19 +00:00
Robert Greene
710ec905d0 This class represents the Import specification for a single file. 2003-02-05 03:52:29 +00:00
Robert Greene
4076e8f59f Widened logo to accomodate user-interface layout. 2003-02-05 03:51:39 +00:00
Robert Greene
eeb43618a6 Fixed getSuggestedFilename to base the length of the suggested
filename from the original filename.
2003-02-05 03:50:55 +00:00
Robert Greene
2e7e67eb54 Removed the two argument constructor, as it was not used as is a
problem for GCJ compiles at this time.
2003-02-05 03:49:15 +00:00
Robert Greene
4839761470 Implemented null methods to fix compile errors: delete, setFileData,
setFilename, setFiletype, setLocaked.
2003-01-26 02:41:29 +00:00
Robert Greene
74a45b9f68 Added getSuggestedFilename and a null createFile (to get rid of
error messages; will be implemented later). Minor comment fix.
2003-01-26 02:40:04 +00:00
Robert Greene
d6867f61db Added getSuggestedFilename and a null createFile (to get rid of
error messages; will be implemented later).
2003-01-26 02:39:39 +00:00
Robert Greene
0ce42f9f7e Added getSuggestedFilename. 2003-01-26 02:38:30 +00:00
Robert Greene
70f5149d18 Added getMaximumFilenameLength. This is used by the ImportWizard
to keep names a sensible length.
2003-01-21 05:14:46 +00:00
Robert Greene
c1fd274559 Looks like many changes, but the only one that is real (AFAIK) is
the RDOS entry had a minor word switch.
2003-01-21 05:13:21 +00:00
Robert Greene
b1be88945f Updated constructor to get an ImageManager intead of the image
itself. It is more sensible that the wizard knows what logo it requires
instead of the caller!
2003-01-21 05:11:05 +00:00
Robert Greene
5f179d871e Updated to use new constructor for DiskImageWizard and uses
the global COPYRIGHT text.
2003-01-21 05:10:01 +00:00
Robert Greene
da6f02c555 Updated copyright date. 2003-01-18 02:05:10 +00:00
Robert Greene
c8c9b6f376 Added ImportWizard logo. 2003-01-18 02:04:50 +00:00
Robert Greene
0bd753ae16 Removed unused private variable. 2003-01-18 02:04:37 +00:00
Robert Greene
d7fbdecc6b ImportWizard logo. 2003-01-18 02:03:51 +00:00
Robert Greene
ee1d5fb8b5 Updated test to use a common test across any disk format; added
ProDOS 140K, 800K, and 5MB tests.
2003-01-11 22:08:57 +00:00
Robert Greene
ae9ec0f016 Added support for writing files. 2003-01-11 22:08:11 +00:00
Robert Greene
9a4bfbe118 All known ProDOS file types. 2003-01-11 22:07:44 +00:00
Robert Greene
8d4f4fa762 Added support for writing most fields; moved file types to a property
file to facilitate both getting the file type and setting the file type 
using a lookup table.
2003-01-11 22:07:30 +00:00
Robert Greene
5bc83c05f2 Added method to retrieve the block the ProDOS file entry sits on;
fixed the naming of a few methods.
2003-01-11 22:06:22 +00:00
Robert Greene
879f793e02 Added helper to handle directory file counts. 2003-01-11 22:05:21 +00:00
Robert Greene
adf7e1f5ce Fixed a comment. 2003-01-11 22:04:51 +00:00
Robert Greene
752b4b124d Added set3ByteValue - used for ProDOS disks. 2003-01-11 22:04:30 +00:00