Commit Graph

387 Commits

Author SHA1 Message Date
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