Commit Graph

351 Commits

Author SHA1 Message Date
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
Robert Greene
97b4854d2b Added AppleWorksDataBaseFileFilter to the list of suggested filters. 2003-02-17 04:41:42 +00:00
Robert Greene
ba4243a591 Added getSuggestedFiletype along with code reorganizations to
support this method.
2003-02-17 04:41:06 +00:00
Robert Greene
93d73755db Now carries margin setting through, sets font to Courier New (more
realistic formatting), and fixes boldface not being turned off
correctly.
2003-02-17 04:37:38 +00:00
Robert Greene
6abc7610ad FileFilter to handle AppleWorks Data Base files and export to
CSV format.
2003-02-17 04:32:39 +00:00
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