Commit Graph

455 Commits

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