Commit Graph

299 Commits

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