Commit Graph

566 Commits

Author SHA1 Message Date
Robert Greene
3eb7adc2a8 getFileExtensions is now a static member - updated code to reflect this. 2004-07-04 22:02:16 +00:00
Robert Greene
4bf1a965d5 Internationalized the Disk Image Wizard. 2004-07-04 22:01:11 +00:00
Robert Greene
b4fa286dab Preparing for internationalization as well as responding to the tighter
Eclipse 3.0 code checks. This also includes an update that allows
BMP, RLE, JPEG, and ICO image types to be written. Probably SWT 3.0
only...
2004-07-04 22:00:43 +00:00
Robert Greene
991316badf Preparing for internationalization as well as responding to the tighter
Eclipse 3.0 code checks.
2004-07-04 21:58:01 +00:00
Robert Greene
7503a1ce86 Fixed usage of static member. 2004-07-04 04:36:11 +00:00
Robert Greene
5b50976f0d Fixed a potential NullPointerException. 2004-07-04 04:35:46 +00:00
Robert Greene
6c80a79824 Preparing for internationalization as well as responding to the tighter
Eclipse 3.0 code checks.
2004-07-04 04:20:43 +00:00
Robert Greene
1abe035cf0 Changed isCodecAvailable to be a static method (as it should have
been).
2004-07-04 04:20:18 +00:00
Robert Greene
d41ab179d2 Preparing for internationalization as well as responding to the tighter
Eclipse 3.0 code checks and the start of sharing dialogs across the
application.
2004-07-04 03:37:53 +00:00
Robert Greene
ad51365d17 Preparing for internationalization as well as responding to the tighter
Eclipse 3.0 code checks.
2004-07-04 03:34:35 +00:00
Robert Greene
3f1fa1cfb2 Updated to support raw file filter import and fixed a raw file export bug. 2004-06-23 03:47:12 +00:00
Robert Greene
8519134bb1 Added raw file import checkbox. 2004-06-23 03:46:10 +00:00
Robert Greene
f47c2c8ffd Added raw file import indicator. 2004-06-23 03:45:27 +00:00
Robert Greene
7de4fc40e5 Implemented setFileData. 2004-06-23 03:44:47 +00:00
Robert Greene
e9f68ff220 Implemented setFileData. 2004-06-23 03:39:40 +00:00
Robert Greene
0e8e1cff03 Fixed DosFileEntry with respect to ordering of setAddress, so moved
it back to original positioning.
2004-06-22 22:20:01 +00:00
Robert Greene
b3176b8e08 Changed logic around the file address (binary) to make the API
not require a specific order.
2004-06-22 22:18:57 +00:00
Robert Greene
2771ce9b71 Hex conversion now ignores case. 2004-06-22 03:09:01 +00:00
Robert Greene
753a8ecbf6 Fixed import - need to save the file before setting the address.
This is a specific requirement of how DOS stores addresses.
2004-06-22 03:08:14 +00:00
Robert Greene
8d45503f9a Implemented setAddress. 2004-06-22 03:07:13 +00:00
Robert Greene
7cf6528f3e Common stream-related utilities. 2004-06-20 17:02:23 +00:00
Robert Greene
733ce4f7d2 Changed to use StreamUtil. 2004-06-20 17:02:00 +00:00
Robert Greene
7ceec26d59 Changed disk recognition routines to also check disk size (fixed UniDOS
issues). Extracted some common routines.
2004-06-20 17:01:20 +00:00
Robert Greene
dcd0480c8d Changed threshold at which a graphics image is recognized. 2004-06-20 16:59:24 +00:00
Robert Greene
83e6f89276 Added dispose to cleanup resource leaks. 2004-06-19 21:17:18 +00:00
Robert Greene
c9a15b0261 Sleak now works. 2004-06-19 21:14:21 +00:00
Robert Greene
d83d8dfbd8 Made duplicate parts reuse code; changed launch to accept a Display
(which, in turn, makes Sleak work).
2004-06-19 21:13:38 +00:00
Robert Greene
02b61f7321 Set VERSION to be 1.3.4pre. 2004-06-19 21:12:47 +00:00
Robert Greene
bc96081b20 Updated version number to 1.3.3. 2004-06-19 04:40:12 +00:00
Robert Greene
3648806616 Added assembly source export to context menu. 2004-06-19 04:39:47 +00:00
Robert Greene
c28ad26522 Added assembly source file option. 2004-06-19 04:39:00 +00:00
Robert Greene
6151356de6 Author tag fix (removed colon) and fixed some 'yellow' warnings. 2004-06-18 05:15:33 +00:00
Robert Greene
680f0e5732 Simple ContentTypeAdapter to do no action. 2004-06-18 02:14:48 +00:00
Robert Greene
8fc1b7fad3 Added error handler for invalid graphics files. 2004-06-18 02:14:23 +00:00
Robert Greene
98a561630f Initial adaptation of S-Leak to AppleCommander. Unfortunately, it
doesn't appear to work with AC!!
2004-06-17 03:09:15 +00:00
Robert Greene
ac5e9673af Added FilterAdapter mapping for PascalTextFileFilter and
TextFilterAdapter.
2004-06-17 03:07:58 +00:00
Robert Greene
c38f2a9c3c Added "Pascal Text..." to the export context menu. 2004-06-17 03:04:19 +00:00
Robert Greene
fb00760486 Added "Pascal text file" as an export format option. 2004-06-17 03:01:53 +00:00
Robert Greene
f166a8d7e0 Recognizes Pascal ".text" files and uses the PascalTextFileFilter. 2004-06-17 03:01:00 +00:00
Robert Greene
da3177feea Supports Pascal ".text" file formats. 2004-06-17 02:59:42 +00:00
Robert Greene
f3172245e1 Final reorganization. Extracted FilterAdapters to handle content-specific
display.
2004-06-16 03:21:49 +00:00
Robert Greene
3725062579 Added FilterAdapters to handle display of specific content. 2004-06-16 03:20:52 +00:00
Robert Greene
4818d61436 Added showPrintDialog. 2004-06-13 03:34:50 +00:00
Robert Greene
cb50b1748f Began using ContentAdapters (part of the refactoring process). 2004-06-13 03:34:26 +00:00
Robert Greene
47403ac781 A ContentAdapter provides a common interface to handle
operations for specific types of content.
2004-06-13 03:33:26 +00:00
Robert Greene
89877c161e Fixed window positioning routine to keep window title visible. 2004-06-10 12:11:09 +00:00
Robert Greene
badc61a805 Uses SwtUtil.setupPagingInformation. 2004-06-10 03:31:45 +00:00
Robert Greene
35fb3535c1 Added setupPagingInformation to set default paging information
in a scrolled composite.
2004-06-10 03:30:41 +00:00
Robert Greene
7c7704d213 Added AssemblySourceFileFilter support. 2004-06-10 02:54:55 +00:00
Robert Greene
163dd10769 Added detection of Merlin assembly files. 2004-06-10 02:52:28 +00:00
Robert Greene
66a3f52faf Formats an Assembly source file. 2004-06-10 02:47:35 +00:00
Robert Greene
45737b9a55 Repackaged code and organized imports. 2004-06-09 03:58:00 +00:00
Robert Greene
d1ad2be773 Updated VERSION to 1.3.3pre. 2004-06-09 03:55:24 +00:00
Robert Greene
8b58cc3f24 Updated copyright and version number. 2004-06-06 02:14:23 +00:00
Robert Greene
c663edc84a Added constructor to force a certain file filter. Used by context menu
for file view.
2004-06-06 02:13:58 +00:00
Robert Greene
a31c317740 Modified viewFile to accept a given file filter - this allows context
menus to change to a non-default file view. (For example, show a
binary file as text.) Additionally added a couple of show___Dialog
methods. Will need to incorporate these further for code cleanup.
2004-06-06 02:12:39 +00:00
Robert Greene
60647d3f09 Fixed logo for compare disk images wizard. 2004-06-05 01:42:17 +00:00
Robert Greene
b5735107f4 Added logo fo compare disk images wizard. 2004-06-05 01:41:47 +00:00
Robert Greene
0ae3959071 Compare disk images wizard. 2004-06-05 01:39:49 +00:00
Robert Greene
6acf406d81 Added Compare Disks option. 2004-06-04 04:58:43 +00:00
Robert Greene
f7ef98a861 Initial Compare Disk Wizard implementation. 2004-06-04 04:57:52 +00:00
Robert Greene
89a4b67498 Added methods to change disk image ordering as well as to compare
two disks to see if they are identical.
2004-06-03 03:33:59 +00:00
Robert Greene
a49349b9b5 Added new icons: ICON_COMPARE_DISKS,
ICON_CHANGE_IMAGE_ORDER.
2004-06-03 03:32:31 +00:00
Robert Greene
5256249f1c Added ability to change disk image order. 2004-06-03 03:31:56 +00:00
Robert Greene
74bcb6f8ff New icon. 2004-06-03 03:29:07 +00:00
Robert Greene
7ba84fbf97 Moved tests to a separate source folder. 2004-06-03 03:28:26 +00:00
Robert Greene
51623c2d42 Added changeImageOrder. 2004-06-03 03:22:09 +00:00
Robert Greene
aa0475a802 Added setFilename, made setImageOrder public, added some
constants.
2004-06-03 03:15:32 +00:00
Robert Greene
e41de0c2fd Changed readSector in an attempt to handle wrapping within a
track appropriately. Prior to this change, if the sector wrapped
to the beginning of the track, it would throw an exception.
2004-06-03 03:13:38 +00:00
Robert Greene
119297dfa1 Added getSectorsPerDisk. 2004-06-03 03:12:00 +00:00
Robert Greene
0caa8011e1 Added changeImageOrder. 2004-06-03 03:11:24 +00:00
Robert Greene
600ebbe55d Added QuickDraw II Icon to export list. 2004-01-18 19:06:12 +00:00
Robert Greene
276b19ac6b Updated menus. 2004-01-18 19:05:45 +00:00
Robert Greene
93784072c6 Added forceActive. 2004-01-18 19:04:50 +00:00
Robert Greene
b9ed5212ee Fixed file viewing so directories navigate into the directory and
deleted files just give a warning.
2003-12-29 17:48:13 +00:00
Robert Greene
7915d468da Made physical size be an indicator of DOS vs ProDOS formats. 2003-12-28 20:42:51 +00:00
Robert Greene
c45ecdd56b With the new image order and layout, needed to fix these specialized
formats.
2003-12-28 20:42:13 +00:00
Robert Greene
33cd86911f These classes support the image order and image layout concept. 2003-12-26 21:43:31 +00:00
Robert Greene
b8d0a62183 Converted to support image order and image layout instead of a simple
byte array. Removed byte-level operations.
2003-12-26 21:41:14 +00:00
Robert Greene
3bae1f3c87 Converted to support image order and image layout instead of a simple
byte array.
2003-12-26 21:40:10 +00:00
Robert Greene
b3a72347d8 Loosened DOS format checks to allow more disks to be detected. 2003-12-22 23:03:14 +00:00
Robert Greene
4dc90d5165 Handles file size of 0 appropriately. 2003-12-22 23:01:22 +00:00
Robert Greene
b5147523f7 Improved support for CP/M disk images. Can now view files. There are
a few bugs remaining, however.
2003-12-22 17:24:57 +00:00
Robert Greene
24c2eee291 Added supportsDiskMap. 2003-12-22 07:14:48 +00:00
Robert Greene
b4951201b5 CP/M disk detection - if the first 256 bytes of the file entries contained
an empty file entry, the routine would loop indefinately.
2003-12-22 07:14:10 +00:00
Robert Greene
d1f9e3a395 Further expansion of CP/M disk support. 2003-12-22 07:12:58 +00:00
Robert Greene
01a1917d15 Uses supportsDiskMap to check if a disk map can/should be added. 2003-12-22 07:12:12 +00:00
Robert Greene
2926f343ff Printing exception when a disk is not recognized. 2003-12-22 07:11:17 +00:00
Robert Greene
2b51a7469f Began adding CP/M support. 2003-12-22 04:41:50 +00:00
Robert Greene
60e20e1782 Added support for QuickDraw II icon detection; reorganized the
file filter recognition logic a bit; minor enhancement to show the 
file structure value if not recognized (tree, sapling, etc).
2003-12-22 01:22:35 +00:00
Robert Greene
bc4773e4b6 Added support for QuickDraw II icon. 2003-12-22 01:20:37 +00:00
Robert Greene
d662a42c0d Added getPoint, getWidth, getHeight. 2003-12-22 01:19:39 +00:00
Robert Greene
c986741134 Added save and import. 2003-12-21 06:17:14 +00:00
Robert Greene
9a5d208c19 1.3.2pre 2003-12-21 06:16:58 +00:00
Robert Greene
ef882e080e Added preferences for import path. 2003-12-21 06:16:44 +00:00
Robert Greene
3289c0267a Added preferences for last save directory. 2003-12-21 06:16:01 +00:00
Robert Greene
c682b5a81d Added detection of SHR 3200 mode. 2003-12-21 06:15:31 +00:00
Robert Greene
93b9e41f37 Added SHR 3200 mode. 2003-12-21 06:15:15 +00:00
Robert Greene
ec4a31e442 An attempt to test the various SWT-based images. 2003-12-21 01:15:50 +00:00
Robert Greene
3d8a017132 Minor javadoc fix. 2003-12-21 01:14:48 +00:00
Robert Greene
f707dacea1 Minor glitch fixes. 2003-12-21 01:11:58 +00:00
Robert Greene
b7bb0e194a Added PRCR. 2003-12-21 01:11:27 +00:00
Robert Greene
e6b64d2675 Added PNG handler. 2003-12-16 03:40:55 +00:00
Robert Greene
b17077b8d4 Updated to handle repaint events without erasing the screen and then
redrawing. (Taken from SWT example.)
2003-12-16 03:40:42 +00:00
Robert Greene
bf8cea3faf Added print of file listing. 2003-12-16 03:39:12 +00:00
Robert Greene
169f545434 Synchronizing between laptop and desktop development editions. 2003-12-14 18:59:21 +00:00
Robert Greene
ef60667c99 Ensure that the SWT version of AppleCommander is available. 2003-12-13 18:13:54 +00:00
Robert Greene
fefcc80678 Added help messages; set version at 1.3.1. 2003-12-13 03:05:21 +00:00
Robert Greene
d205eda7f3 Better error handling of invalid disks (or non-disks). 2003-12-12 04:25:24 +00:00
Robert Greene
082b51c11a Added CTRL+A (select all), fixed printing (except for font selection),
improved copy to clipboard (if no selection, the entire document is
copied), added some comments, fixed shortcut handling.
2003-12-12 04:24:47 +00:00
Robert Greene
7084b35a9f Added John Matthews "ac" utility. 2003-12-12 04:21:59 +00:00
Robert Greene
38b8db49c3 Added John Matthews "ac" utility. The only changes are placing the
"ac" class into the com.webcodepro.applecommander.ui package and
re-organizing imports (due to my rearrangement of code).
2003-12-12 04:21:32 +00:00
Robert Greene
ab665650bd Resized image to match 16x16 dimensions of other icons. 2003-12-12 04:20:37 +00:00
Robert Greene
8e322961c1 Added transparency to image. 2003-12-12 04:20:19 +00:00
Robert Greene
c8d49b4c56 Added getHexDump. 2003-12-11 05:35:09 +00:00
Robert Greene
7c2e60ea89 Added copy icon. 2003-12-11 05:34:50 +00:00
Robert Greene
42753465bd Added getImage. 2003-12-11 05:34:38 +00:00
Robert Greene
498994d765 Improved keyboard shortcut handling; added copy function (but not
images unfortunately), printing capability (StyledText widget does not
appear to use a given printer so it remains the default printer); fixed
raw dump mode to display in hex.
2003-12-11 05:34:28 +00:00
Robert Greene
c9badf28c4 Copy icon. 2003-12-11 05:32:39 +00:00
Robert Greene
1691df0387 Migrated code to generate the formatted hex dump into AppleUtil. 2003-12-11 05:32:28 +00:00
Robert Greene
4d9aeb9f67 Implemented most of file viewer functionality. Can now view all types
in some format; Applesoft BASIC is color coded; images can be viewed;
hex dump is shown; simple text transformation is done for nearly all
formats; raw dump isn't implemented correctly yet. Printing is done for
anything that uses the StyleText widget.
2003-12-10 07:08:24 +00:00
Robert Greene
d2b743c4fb Updated graphic image size to be 8184 to 8192 (inclusive). 2003-12-10 07:06:29 +00:00
Robert Greene
b4e4758fcf Added early toolbar setup. Also updated due to ImageManager
changes.
2003-12-10 04:49:29 +00:00
Robert Greene
72fce3b275 Changed design to simplify things a bit. 2003-12-10 04:48:31 +00:00
Robert Greene
2db05090cc Updated due to ImageManager changes and added View File logic. 2003-12-10 04:47:40 +00:00
Robert Greene
c00905545c Updated due to ImageManager changes. 2003-12-10 04:46:32 +00:00
Robert Greene
dd609e75af Display text file icon. 2003-12-10 04:46:10 +00:00
Robert Greene
17b2ff3ed6 Display file in raw binary format icon. 2003-12-10 04:45:58 +00:00
Robert Greene
e04a218ef5 Print icon. 2003-12-10 04:45:44 +00:00
Robert Greene
0915da281c Display image icon. 2003-12-10 04:45:35 +00:00
Robert Greene
1a4b88558a Display contents in hex icon. 2003-12-10 04:45:14 +00:00
Robert Greene
485d5e1942 Display wordprocessor contents icon (initially for AWP files). 2003-12-10 04:44:47 +00:00
Robert Greene
6937b80ea4 Display spreadsheet contents icon (initially for ASP files). 2003-12-10 04:44:33 +00:00
Robert Greene
80dbacc9c0 Display database contents icon (initially for ADB files). 2003-12-10 04:44:17 +00:00
Robert Greene
28a80c00a2 Added hook for CTRL+V to begin testing the file viewer. 2003-12-08 05:06:48 +00:00
Robert Greene
53eecbf8e0 Very early file viewer. Only displays images and no other options
are implemented.
2003-12-08 05:06:24 +00:00
Robert Greene
b1d2b65b89 Added SaveAs icon. 2003-12-08 00:53:19 +00:00
Robert Greene
9a3e36d142 Added setStandardWindowTitle to allow title changes while window
is visible.
2003-12-08 00:53:08 +00:00
Robert Greene
9c72bc1dba Added SaveAs, refactored Save, added getSelectedFileEntry, null-
proofed most uses of getSelectedFileEntry, worked on making buttons
and menus and shortcuts enable/disabled/not active as appropriate.
2003-12-08 00:52:38 +00:00
Robert Greene
955e80c1b3 The SaveAs icon. 2003-12-08 00:50:20 +00:00
Robert Greene
00cb73dea2 Added the new image flag and SaveAs method (essentially a rename). 2003-12-08 00:50:06 +00:00
Robert Greene
4c10059f75 Added short-cut keys, added short-cut notation, and icons to
context-sensitive menus.
2003-12-07 18:21:42 +00:00
Robert Greene
74991d4488 Added short-cut keys and a launch method (used by the
AppleCommander class to remove its indirect reliance on SWT).
2003-12-07 06:20:41 +00:00
Robert Greene
34351d2d14 Added viewFileIcon. 2003-12-07 06:19:30 +00:00
Robert Greene
2d1b20771e Adding view logic as well as short-cut keys. 2003-12-07 06:19:15 +00:00
Robert Greene
75fe859c00 Made SWT version of AppleCommander reflective. The AppleCommander
class will not load SWT anymore...
2003-12-07 06:17:55 +00:00
Robert Greene
400618bb86 View file icon. 2003-12-07 06:17:01 +00:00
Robert Greene
c37e5767a2 Updated year in comments. 2003-12-06 04:14:00 +00:00
Robert Greene
9ba7c4f0c3 Updated comments and removed large chunk of commented out code
at bottom of class that appears to have been implemented.
2003-12-04 23:54:56 +00:00
Robert Greene
34a86acf17 Updated VERSION to 1.3.0 (with addition of compiler). 2003-12-04 23:54:15 +00:00
Robert Greene
10b53e0767 Added support to handle canCompile flag per ProDOS file type. 2003-12-04 06:01:08 +00:00
Robert Greene
991b574427 Added canCompile metod to all FileEntry objects. 2003-12-04 06:00:26 +00:00
Robert Greene
0cb572b961 Added compile flag to BAS. 2003-12-04 05:59:21 +00:00
Robert Greene
eb3638ffd1 Beginnings of Compile Wizard. 2003-12-04 05:59:03 +00:00
Robert Greene
db19766377 Compile Wizard logo. 2003-12-04 05:58:43 +00:00
Robert Greene
09f29eb815 Began adding compile option in toolbar. 2003-12-04 05:57:56 +00:00
Robert Greene
88bf05b9ad Added Compile Wizard logo. 2003-12-04 05:57:24 +00:00
Robert Greene
d127416aab Added compile directory. 2003-12-04 05:57:08 +00:00
Robert Greene
070c3d8b63 Added changes per John Matthews fixes for AppleCommander 1.2.3.
See http://www.wright.edu/~john.matthews/ac.html.
2003-12-04 04:10:49 +00:00
Robert Greene
9709fe8a03 ProDOS month correction (recevied from John B Matthews). 2003-09-05 03:34:40 +00:00
Robert Greene
e86ef7130e Correction suggested by Chris Morse to continue searching for
a file in getFile until it is found.
2003-09-05 03:24:44 +00:00
Robert Greene
9cc0eaf127 Organized imports. In particular, the
com.webcodepro.applecommander.util package was imported
in its entirety.
2003-09-01 03:27:06 +00:00
Robert Greene
70a7e4bf85 Added a colon (:) to getDiskName per John Matthews. 2003-09-01 03:24:44 +00:00
Robert Greene
4cdb446f41 Incorporated fix from John Matthews for date format in
getFileColumnData.
2003-09-01 03:23:51 +00:00
Robert Greene
513627cc95 Incorporated fix from John Matthews for get/setPascalDate. 2003-09-01 03:23:21 +00:00
Robert Greene
4893e7b5aa Added toString. 2003-06-14 02:46:06 +00:00
Robert Greene
723c54d549 Added isNumber, 2003-06-14 02:45:17 +00:00
Robert Greene
03d7d6f0ba Added FOR, NEXT, GOTO, HPLOT as well as fixed a few addressing
issues (related to assembly code generated).
2003-06-14 02:44:43 +00:00
Robert Greene
51436c8808 Replaced tab characters with spaces. 2003-06-14 02:42:00 +00:00
Robert Greene
bb4adcc1e9 Added more memory locations. 2003-06-06 03:29:37 +00:00
Robert Greene
a79a963729 Added support for FLASH, HCOLOR=, HTAB, INVERSE, NORMAL,
PRINT, VTAB.
Added methods addLoadAddress, addLoadByteValue, addLoadFac, 
addLoadWordValue, evaluateExpression.
Memory listing is read from properties file.
2003-06-06 03:28:44 +00:00
Robert Greene
3721db440e Added constant types as well as value of variable. 2003-06-06 03:24:21 +00:00
Robert Greene
e677fe4baf Added isEndOfCommand and isExpressionSeparator. 2003-06-06 03:23:10 +00:00
Robert Greene
50aab615cc Separates on character tokens (":;,+-*/"). 2003-06-06 03:22:37 +00:00
Robert Greene
895685e948 When at end of file (nextAddress is 0), set the offset to the end
of file.
2003-06-03 05:53:19 +00:00
Robert Greene
e73e9c0f2d Added isCommandSeparator. 2003-06-03 05:50:19 +00:00
Robert Greene
36a7089833 Updated testCompileColors. 2003-06-03 05:49:34 +00:00
Robert Greene
02505cc0cf Information regarding a variable. 2003-06-03 05:48:41 +00:00
Robert Greene
eb55babf23 Thrown when an exception occurs during the compile. 2003-06-03 05:48:15 +00:00
Robert Greene
79e792984e Early refactoring of compiler. 2003-06-03 05:47:57 +00:00
Robert Greene
370126207a First revision of known Apple ROM locations. 2003-06-03 05:47:22 +00:00
Robert Greene
98a281f3bc Early stab at an Applesoft compiler. Needs to be redesigned/refactored. 2003-06-01 19:49:04 +00:00
Robert Greene
822b528bf5 Test for ApplesoftCompiler. 2003-06-01 19:48:30 +00:00
Robert Greene
b67954d5eb Compile icon added. 2003-06-01 19:48:10 +00:00
Robert Greene
3b0dd511cc Added compile icon. 2003-06-01 19:47:18 +00:00
Robert Greene
a75acf0e66 Added a hack to break on expression terminators (colon comma,
semicolon).
2003-06-01 19:46:59 +00:00
Robert Greene
1e96c1e867 Defines all tokens. 2003-06-01 19:45:12 +00:00
Robert Greene
3901ce8230 Represents an Applesoft token. This is returned by ApplesoftTokenizer. 2003-05-28 03:45:12 +00:00
Robert Greene
c8247048e7 The ApplesoftTokenizer provides a stream of Applesoft related tokens
in a similar fashion as a StringTokenizer or Enumeration.
2003-05-28 03:44:46 +00:00
Robert Greene
5799f4c0ea Updated to use ApplesoftTokenizer. 2003-05-28 03:43:35 +00:00
Robert Greene
e869246c90 Moved AppleUtil to com.webcodepro.applecommander.util package. 2003-05-26 21:10:50 +00:00
Robert Greene
a9e036be80 Added test for AppleUtil. 2003-05-26 05:18:29 +00:00
Robert Greene
2c61cc312b Added getApplesoftFloat. 2003-05-26 05:18:17 +00:00
Robert Greene
6eea1ae56b Set vesion to 1.2.4pre. 2003-05-02 02:57:37 +00:00
Robert Greene
ce1ba03364 Removed unused exit method. 2003-05-02 02:57:19 +00:00
Robert Greene
a0f22ce340 Removed unused AppleWorksWordProcessorFileFilter. 2003-05-02 02:56:33 +00:00
Robert Greene
39302afda9 Added capability to resize the disk when importing files. 2003-05-02 02:56:07 +00:00
Robert Greene
bda3c40749 Added resizeDiskImage capability. 2003-05-02 02:54:52 +00:00
Robert Greene
070c0d1fb1 Updated version number. 2003-04-14 01:30:19 +00:00
Robert Greene
af96dbef60 Minor correction to access static variable from the Class instead of an
instance.
2003-04-14 01:29:49 +00:00
Robert Greene
1aa60999e0 Explicitly thrown when the physical disk will not hold a block. 2003-03-31 05:04:45 +00:00
Robert Greene
3febdd2c08 findFreeBlock now detects if the block actually exists on the disk
image.  Typically is a problem with HDV images which allocate out to
32MB but dynamically grow within the emulator.
2003-03-31 05:04:19 +00:00
Robert Greene
fe0e5d1cfb Updated version number to reflect 1.2.3pre. 2003-03-27 05:35:13 +00:00
Robert Greene
bbc89f474f Moved back to the default NumberFormat instance. The Integer
instance does not compile under MinGW.
2003-03-27 05:34:56 +00:00
Robert Greene
43ef9e45b4 Rewrote create method to use Reflection. The primary purpose is to
"simplify" building native executables.
2003-03-27 04:07:42 +00:00
Robert Greene
87c3e21e99 Separated image handling into AppleImage and its specific subclasses. 2003-03-26 05:39:34 +00:00
Robert Greene
671c98c37d Updated version number to 1.2.2. 2003-03-16 05:27:53 +00:00
Robert Greene
2886271923 Added centering for File Import Settings dialog. 2003-03-16 05:27:38 +00:00
Robert Greene
8a920e4cb4 Added Hex Dump as an option. 2003-03-11 04:25:15 +00:00
Robert Greene
c28924ef03 This FileFilter will format a file as a hex dump. 2003-03-11 04:24:36 +00:00
Robert Greene
dc2f36d6f1 Added getFormatted3ByteAddress. 2003-03-11 04:24:17 +00:00
Robert Greene
0990b96d98 Updated to have all Wizard dialogs centered on the parent window. 2003-03-06 13:54:53 +00:00
Robert Greene
e8faaaff0b This class contains SWT-related utility code. Initial routine is one
to center a child window upon the parent window.
2003-03-06 13:54:26 +00:00
Robert Greene
a39858237c Finished up progress bar for import operation and centered the
window.
2003-03-06 13:53:49 +00:00
Robert Greene
30bde2eb4b Updated test to reflect addition of DirectoryEntry interface; have
some early code in this release (commented out) related to having a
progress meter for imports.
2003-03-06 04:06:17 +00:00
Robert Greene
b4417671c4 Updated test to reflect addition of DirectoryEntry interface. 2003-03-06 03:59:14 +00:00
Robert Greene
db798f69cd Added a reference to the related ProdosDirectoryEntry class. 2003-03-06 03:58:22 +00:00
Robert Greene
9b65d39df5 Migrated some subdirectory entry specific code into
ProdosDirectoryEntry.
2003-03-06 03:57:33 +00:00
Robert Greene
a554f8e8ec Handles ProDOS directory entries (as opposed to directory headers).
They are different but work in conjunction with eachother.
2003-03-06 03:55:03 +00:00
Robert Greene
cac03c9764 Slight comment update. 2003-03-06 03:53:36 +00:00
Robert Greene
7d61186520 Removed getFiles as that will be covered by DirectoryEntry, if it is
implemented.
2003-03-06 03:53:07 +00:00
Robert Greene
e30264593c Updated to adhere to the DirectoryEntry interface; subdirectories can
now be "extended" (additional blocks allocated to the directory);
started to add variables for constants in the hopes of making the code
a bit more obvious in its intent.
2003-03-06 03:52:18 +00:00
Robert Greene
8494c31989 Updated to adhere to the DirectoryEntry interface; removed
entries covered by DirectoryEntry.
2003-03-06 03:45:21 +00:00
Robert Greene
a9ea9738c0 Updated to adhere to the DirectoryEntry interface. 2003-03-06 03:43:21 +00:00
Robert Greene
5fccf74422 Shred interface for any directory type. This may be the main
catalog or a subdirectory of some sort. The main catalog applies
to all disk formats while the subdirectory currently is only used by
ProDOS.
2003-03-06 03:39:41 +00:00
Robert Greene
603774e3cb Updated VERSION number (1.2.2pre). 2003-03-02 23:11:48 +00:00
Robert Greene
d14399a834 Now enables/disables the address component as appropriate. 2003-03-02 23:11:23 +00:00
Robert Greene
0d233deaf3 Added comments; added create/delete/create sequence to verify that
file entries are re-used once the file has been deleted.
2003-03-02 23:10:46 +00:00
Robert Greene
c37fb4307a Fixed filetype initialization; getFiles now tests if a file entry is empty
(in which case it is not returned); createFile now checks for deleted
files and re-uses the file entry.
2003-03-02 23:09:46 +00:00
Robert Greene
4652ac9f63 Added test to indicate if this entry is empty. Used to determine if this
is a valid entry or unused space.
2003-03-02 23:07:50 +00:00
Robert Greene
ced0fba9f2 Updated code to be 1.2.1. 2003-03-01 23:00:35 +00:00
Robert Greene
257836c4a0 DiskInfo tab is now updated whenever it is displayed. Up until this
point, the information was static - so file imports or deletes never
updated the information.
2003-03-01 22:58:56 +00:00
Robert Greene
ca9a3236c8 Moved Import menu from file popup to the directory popup. 2003-03-01 22:57:49 +00:00
Robert Greene
43ad0bd2f3 Was not computing offset correctly for DOS format images of 800K.
Primarily, this affected UniDOS.
2003-03-01 22:56:59 +00:00
Robert Greene
1a23a3a7cb Saving disks is now univerally optional; added tests for OzDOS as well
as UniDOS.
2003-03-01 16:06:52 +00:00
Robert Greene
d83defddc7 Fixed a bug where freeSectors and setFileData were not working
appropriately with deleted files (with an initial track of 255).
2003-03-01 16:04:42 +00:00
Robert Greene
ec47243efe Fixed setSectorsUsed to set a word (two bytes) instead of a byte. 2003-03-01 16:03:20 +00:00
Robert Greene
e0d6a78c37 Added tests to create and delete large files to help uncover issues
with large file management under ProDOS. Also identified a problem
with DOS disks.
2003-02-27 04:38:52 +00:00
Robert Greene
fc9214e886 Resolved issues with freeBlocks (was freeing index block even if that
block number was 0); setFileData now writes files of 128K correctly.
2003-02-27 04:38:07 +00:00
Robert Greene
c825b36dff Added AppleWorks Spread Sheet files export wizard. 2003-02-26 01:31:05 +00:00
Robert Greene
6cfda661ac Added AppleWorks Spread Sheet files to getSuggestedFilter. 2003-02-26 01:30:35 +00:00
Robert Greene
dcb6dd79db This FileFilter exports AppleWorks Spread Sheet (ASP) files. 2003-02-26 01:30:04 +00:00
Robert Greene
b5296d8f15 Updated comments to include a reference to gno.org. 2003-02-26 01:29:31 +00:00
Robert Greene
71ae6cd4f9 Added getSaneNumber and getSignedWordValue. 2003-02-26 01:29:12 +00:00
Robert Greene
08a70ca7ab Added & for ALT+key presses. 2003-02-23 20:52:53 +00:00
Robert Greene
3e2a6aa899 Fixed date and time handling. 2003-02-19 12:27:19 +00:00
Robert Greene
9e5b15ceb4 Added filetype guessing to the import wizard. 2003-02-17 04:43:51 +00:00
Robert Greene
1c4f1de543 Added AppleWorks Data Base file as an option to the filetype list. 2003-02-17 04:43:17 +00:00
Robert Greene
61d3875500 Added new constructure that additionally allows the filetype to
be specified.
2003-02-17 04:42:39 +00:00
Robert Greene
d7ede02518 Tagged code as 1.2.1pre during development. 2003-02-17 04:42:05 +00:00