Commit Graph

385 Commits

Author SHA1 Message Date
Bobbi Webber-Manners
618271f3ff Fix to move_in_gapbuf(). Still have problems with load_file() 2020-08-06 00:15:19 -04:00
Bobbi Webber-Manners
a9157dd072 Rolled my own memmove() routine for auxmem. Still some issues! 2020-08-05 23:45:23 -04:00
Bobbi Webber-Manners
6c6c187cba Work-in-progress support for Apple //e auxmem 2020-08-05 22:30:55 -04:00
Bobbi Webber-Manners
f0e6d9a376 Slight speedup to help(). 2020-08-05 19:30:32 -04:00
Bobbi Webber-Manners
62ca19ee27 EDIT: Bug fix for block delete. Improved status line refreshes. 2020-08-05 15:49:41 -04:00
Bobbi Webber-Manners
56a9b9b187 EDIT: Corrected beep() sound to be more reasonable 2020-08-05 00:58:30 -04:00
Bobbi Webber-Manners
29acbd680e EDIT: Reworked load_file() to not require memmove() 2020-08-04 23:40:12 -04:00
Bobbi Webber-Manners
62874dc477 EDIT: cursor_up() now refreshes selection without screen redraw 2020-08-04 22:27:54 -04:00
Bobbi Webber-Manners
3a28375bcb EDIT: ESC now cancels at y/n prompt. 2020-08-04 20:25:05 -04:00
Bobbi Webber-Manners
bc56885dee EDIT: Cursor down updates selection without redraw. ESC key to cancel. 2020-08-04 19:54:38 -04:00
Bobbi Webber-Manners
78b992d404 EDIT: Refresh selection without redrawing whole screen (for cursor left/right) 2020-08-04 19:14:52 -04:00
Bobbi Webber-Manners
69ddaab305 Updates selection without redraw for cursor_right(). 2020-08-04 17:49:27 -04:00
Bobbi Webber-Manners
c69453ab62 Fixed selection display off-by-one bug 2020-08-04 17:32:17 -04:00
Bobbi Webber-Manners
ecf7889af0 EDIT: speed up for jump_pos() (use memmove()) 2020-08-04 14:51:11 -04:00
Bobbi Webber-Manners
85eb43fc79 Bumped up version to v0.96 2020-08-03 22:22:56 -04:00
Bobbi Webber-Manners
ecbc707232 EDIT: dramatic speedup to load_file() and save_file() 2020-08-03 22:22:18 -04:00
Bobbi Webber-Manners
d80e11c9a1 Moved code into LC space in EMAIL. We were unable to open file (no mem) 2020-08-02 23:47:28 -04:00
Bobbi Webber-Manners
1d5cfb3b62 EDIT: Fixed bug where beep() was moving cursor. Bad putchar() !! 2020-08-02 23:20:19 -04:00
Bobbi Webber-Manners
ba8458ff18 EDIT: Fixed corner case when doing cursor right at EOF (no CR) 2020-08-02 22:55:05 -04:00
Bobbi Webber-Manners
f87ec0fca7 Revert "Fixed corner case in cursor_right()"
This reverts commit 50a304d5ef.
2020-08-02 22:49:53 -04:00
Bobbi Webber-Manners
50a304d5ef Fixed corner case in cursor_right() 2020-08-02 22:45:47 -04:00
Bobbi Webber-Manners
51369640a3 EDIT: Set filetype to TXT. Improved error handling on gap buffer interfacce. 2020-08-02 22:28:01 -04:00
Bobbi Webber-Manners
de28945057 Use NCOLS rather than hard-coding value 2020-08-02 17:28:42 -04:00
Bobbi Webber-Manners
f30e82362f Fixed cursor position bug with cursor left at end of wrapped line 2020-08-02 17:25:15 -04:00
Bobbi Webber-Manners
d906e23930 Tidied up commented out code 2020-08-02 00:13:32 -04:00
Bobbi Webber-Manners
827b994dc6 Fixed cursor right bug when line >80 chars 2020-08-01 23:18:13 -04:00
Bobbi Webber-Manners
9c5d507376 EMAIL.SYSTEM: fixed bug moving/copying messages to another folder 2020-08-01 23:01:31 -04:00
Bobbi Webber-Manners
2917f00f14 Fixed bug with highlighting of selection 2020-08-01 20:35:34 -04:00
Bobbi Webber-Manners
d30af5e7da Improved status bar, reporting of modes etc. 2020-08-01 20:29:19 -04:00
Bobbi Webber-Manners
04b4d29eef Added OA-U 'unwrap paragraph' function 2020-08-01 15:38:56 -04:00
Bobbi Webber-Manners
0239a03923 Fixed cursor left bug. Fixed load file bug also. 2020-08-01 15:32:58 -04:00
Bobbi Webber-Manners
038cc6bdcc Implemented OA-W word-wrap paragraph feature 2020-08-01 02:29:33 -04:00
Bobbi Webber-Manners
06657eaa94 Fixed bug in block highlight. Start of word_wrap_para() function WIP. 2020-08-01 01:53:56 -04:00
Bobbi Webber-Manners
28e2b8d020 Improved OA-I 'Insert File' function. 2020-08-01 01:24:38 -04:00
Bobbi Webber-Manners
039dceeff7 Fixed help screen to show Open Apple character 2020-08-01 01:14:49 -04:00
Bobbi Webber-Manners
4012deb091 EDIT: Modified to load help from file, switched to 100% conio calls for screen 2020-08-01 00:25:08 -04:00
Bobbi Webber-Manners
61c8763ff4 Fixed a screen update bug in EDIT when deleting char on last line of file 2020-07-31 00:16:12 -04:00
Bobbi Webber-Manners
875b01a5f5 Removed obsolete TODOs 2020-07-29 23:32:16 -04:00
Bobbi Webber-Manners
47340307ba Bump up version to v0.91. 2020-07-29 22:51:31 -04:00
Bobbi Webber-Manners
72d5177e98 Improved reply and forward functionality 2020-07-29 22:51:11 -04:00
Bobbi Webber-Manners
be340f0c1c email_pager(): improved status bar and fixed EOF bug (last line shown twice) 2020-07-29 18:21:10 -04:00
Bobbi Webber-Manners
d6841c517c Replaced get_line() with new implementation which is faster, less buggy! 2020-07-29 17:28:35 -04:00
Bobbi Webber-Manners
24f022f0bd Inlined decode_base64() 2020-07-28 23:45:56 -04:00
Bobbi Webber-Manners
854227751d Slight optimization to decode_base64. 2020-07-28 23:03:27 -04:00
Bobbi Webber-Manners
b77c7ad996 The filesize needs a 32 bit variable, not 16 2020-07-28 19:20:00 -04:00
Bobbi Webber-Manners
15c0e90323 Only use basename of filename for MIME attachment metadata 2020-07-28 17:32:03 -04:00
Bobbi Webber-Manners
bdfa35db41 Broke out MIME attachment functionality into a separate program (ATTACHER) 2020-07-28 17:14:43 -04:00
Bobbi Webber-Manners
0b5150cf3b Reinstated all the IP65 programs on the floppy image 2020-07-27 10:09:00 -04:00
Bobbi Webber-Manners
d5358955f2 Fixed bug in smtp65 which was breaking long messages. CR->CRLF conversion. 2020-07-26 23:26:00 -04:00
Bobbi Webber-Manners
bf2b75e861 Bug fixes for base64 encoding, scrollback. WIP code for adding attachments. 2020-07-26 19:06:21 -04:00
Bobbi Webber-Manners
98cb6c4077 Added OA-I "Insert file" command 2020-07-24 21:30:16 -04:00
Bobbi Webber-Manners
fc7f6ae684 EDIT now looks for EMAIL.SYSTEM in current dir (not /IP65) 2020-07-24 01:19:52 -04:00
Bobbi Webber-Manners
567e1a55d9 Fixed bug in edit.c - incorrect screen update if EOL is first insertation 2020-07-23 22:32:37 -04:00
Bobbi Webber-Manners
5aeb10cf0b Fixed email_pager() so it shows correct # of lines in all cases 2020-07-21 23:01:02 -04:00
Bobbi Webber-Manners
8a4b99441f Refactored some of email_pager() in preparation for bug fix 2020-07-21 22:54:56 -04:00
Bobbi Webber-Manners
927944ce4c Added Base64 encoder for attachments. 2020-07-21 22:26:32 -04:00
Bobbi Webber-Manners
359a7c1018 Can now decode MIME messages which are not multi-part 2020-07-21 21:16:39 -04:00
Bobbi Webber-Manners
4e8ea63c4e The MIME line wrapping code is now used for plain text (7bit) too 2020-07-21 11:30:45 -04:00
Bobbi Webber-Manners
c02182e3a3 Bumped up version to 0.85 2020-07-20 23:06:10 -04:00
Bobbi Webber-Manners
c21e07fac3 Finished up loose ends. Quoted-printable word wraps properly now. 2020-07-20 23:00:55 -04:00
Bobbi Webber-Manners
a8dc30962a Reworking of email_pager() / word_wrap_line_mime() is working now. 2020-07-20 22:41:30 -04:00
Bobbi Webber-Manners
4231d627b9 Updates to email_pager() / wrap_line_mime() are *mostly* working now 2020-07-20 22:20:40 -04:00
Bobbi Webber-Manners
c4c80165c2 Reworked word_wrap_line() to handle MIME properly. Can't enable it yet. 2020-07-20 18:16:53 -04:00
Bobbi Webber-Manners
34c097b962 More refactoring of email_pager(). 2020-07-20 18:07:12 -04:00
Bobbi Webber-Manners
9dd6b2bd3c Refactoring of email_pager() (work-in-progress) 2020-07-20 17:53:22 -04:00
Bobbi Webber-Manners
c4d062ae48 Added explicit param to decode_...() functions to specify buffer. 2020-07-20 17:30:30 -04:00
Bobbi Webber-Manners
e203ea3e0c Added explicit param to get_line() to specify write buffer 2020-07-20 17:20:44 -04:00
Bobbi Webber-Manners
20b5bc527a Added screenshot of EDIT's help page, in lieu of proper docs 2020-07-19 22:00:23 -04:00
Bobbi Webber-Manners
9376dce5dd Change return type of main() to void, to avoid warning. 2020-07-19 20:25:49 -04:00
Bobbi Webber-Manners
a04819d630 Updated EMAIL.SYSTEM Ctrl-keys to use Open Apple instead. 2020-07-19 18:03:01 -04:00
Bobbi Webber-Manners
4a920c5bbc Fixed some screen corruption bugs. Addressed some other irritations. 2020-07-19 17:53:49 -04:00
Bobbi Webber-Manners
b2b1a03dec Refinements to OA-L "Load" command. 2020-07-19 12:25:55 -04:00
Bobbi Webber-Manners
d3f80e9205 Allow ESC to abort when entering names. Minor UI cleanup. 2020-07-19 11:15:57 -04:00
Bobbi Webber-Manners
eb660103a9 Improved OA-R "Replace" function. 2020-07-19 01:25:29 -04:00
Bobbi Webber-Manners
f7b574a044 Fixed bug with OA-M Move command 2020-07-19 01:03:27 -04:00
Bobbi Webber-Manners
0c53299815 Moved some more code to LC. Allows bigger edit buffer. 2020-07-19 00:21:03 -04:00
Bobbi Webber-Manners
8539821d71 Implemented OA-N "Name file" command. Made saving more paranoid. 2020-07-19 00:01:59 -04:00
Bobbi Webber-Manners
315fd8d2ac OA-R Replace command is now implemented. More or less feature complete. 2020-07-18 02:09:14 -04:00
Bobbi Webber-Manners
bc58e3689f Added modified flag and chance to save unsaved changes on exit 2020-07-18 01:45:36 -04:00
Bobbi Webber-Manners
0e3e7ee449 Park selection at the end, when not being used 2020-07-18 01:27:23 -04:00
Bobbi Webber-Manners
1561c6d8d4 Convenient repeat search 2020-07-18 01:22:33 -04:00
Bobbi Webber-Manners
0eccbbf85a OA-F 'Find' command implemented 2020-07-18 00:59:35 -04:00
Bobbi Webber-Manners
860ee06a42 Added help screen 2020-07-18 00:03:27 -04:00
Bobbi Webber-Manners
8a5905908e Block copy and move working. Other Appleworks keystrokes implemented. 2020-07-17 22:33:25 -04:00
Bobbi Webber-Manners
65e7ec6d8d Selection delete is working now 2020-07-17 20:08:26 -04:00
Bobbi Webber-Manners
289b54b96e Bug fix to update_after_delete*() routines. Start of support for selection. 2020-07-17 17:30:16 -04:00
Bobbi Webber-Manners
5120c43ddd Fixed some cursor movement bugs. More fixes to screen refresh. 2020-07-16 21:10:27 -04:00
Bobbi Webber-Manners
6b9a0cf1f2 Fixed some screen refresh bugs in EDIT. Seems okay now. 2020-07-16 19:16:59 -04:00
Bobbi Webber-Manners
f0441f5668 Editor improvements. Load/Save/New file. Prompting. Error messages. 2020-07-16 17:38:37 -04:00
Bobbi Webber-Manners
90f20a31d7 Added new 'E' command to open message in editor 2020-07-16 17:36:01 -04:00
Bobbi Webber-Manners
dedb05e6fa Got rid of '!' command (debug) 2020-07-16 16:27:15 -04:00
Bobbi Webber-Manners
3a17401b76 Fixed some crashing bugs. Screen refresh is still bug-o-rama. 2020-07-16 00:33:48 -04:00
Bobbi Webber-Manners
7c64f5baf2 Minor improvements to editor. Changed keymap. 2020-07-16 00:00:34 -04:00
Bobbi Webber-Manners
0b6be8bba3 Added save command finally!! 2020-07-15 20:46:43 -04:00
Bobbi Webber-Manners
c055609f2c Time for a version bump. 0.7. 2020-07-15 20:21:03 -04:00
Bobbi Webber-Manners
2ad28c454c EMAIL can now pass filename to be edited to EDIT. 2020-07-15 20:15:57 -04:00
Bobbi Webber-Manners
c02af8d466 EMAIL can now invoke POP65 and SMTP65, and they will invoke it in return 2020-07-15 19:45:25 -04:00
Bobbi Webber-Manners
1a1b499e43 EMAIL can now load EDIT, and vice versa. 2020-07-15 18:51:46 -04:00
Bobbi Webber-Manners
532c0cd4a3 Added code to load_file() to convert tabs to spaces 2020-07-15 17:56:40 -04:00
Bobbi Webber-Manners
9827442408 Added test file for editor. 2020-07-15 17:24:02 -04:00
Bobbi Webber-Manners
c30952d246 Updated README-emailler.md to reflect change to config filename 2020-07-15 17:21:59 -04:00
Bobbi Webber-Manners
caf217a29b Renamed config file to EMAIL.CFG. Added blank 800K ProDOS image. 2020-07-15 17:20:13 -04:00
Bobbi Webber-Manners
1f338e98ca Fixed crashing with cursor down at end of file. Belt and braces. 2020-07-13 00:05:15 -04:00
Bobbi Webber-Manners
2c0c746b9f Fixed bug whereby you could scroll off top (can still scroll off bottom) 2020-07-12 23:12:01 -04:00
Bobbi Webber-Manners
fd4a85b767 Convert tab to spaces for keyboard input 2020-07-12 19:05:25 -04:00
Bobbi Webber-Manners
419bcf4e5c Fixes to scrolling, cursor positioning. 2020-07-12 18:19:06 -04:00
Bobbi Webber-Manners
adabb7c0f3 Fixed bug where screen did not get properly updated after deletion 2020-07-12 18:03:05 -04:00
Bobbi Webber-Manners
1943dc2558 First sort-of-working version of edit.c. Work-in-progress. 2020-07-12 17:34:11 -04:00
Bobbi Webber-Manners
7175a78ec8 Bump version to v0.6 2020-07-08 19:20:08 -04:00
Bobbi Webber-Manners
49ecd167ff Fixed get_line.c in pop65.c and smtp65.c. Fixed smtp65 error handling. 2020-07-08 18:28:33 -04:00
Bobbi Webber-Manners
56874574f3 get_line() fixes for rebuild.c 2020-07-08 17:11:53 -04:00
Bobbi Webber-Manners
9c85bf5d78 Fixed get_line() bugs in email.c 2020-07-08 17:05:20 -04:00
Bobbi Webber-Manners
27a0a05ae2 Improvements to rebuild.c so messages processed in numerical order 2020-07-08 14:46:49 -04:00
Bobbi Webber-Manners
62c68cb1ff Updated screenshots and README-emailler.md 2020-07-08 02:12:34 -04:00
Bobbi Webber-Manners
5493171d14 Fixed bug with aborting F)wd 2020-07-08 00:50:20 -04:00
Bobbi Webber-Manners
3b2b7088af Finally, some documentation updates. 2020-07-08 00:00:43 -04:00
Bobbi Webber-Manners
009c70fcc0 Fixed bugs when there are no messages in mbox (no selection!) 2020-07-07 23:09:47 -04:00
Bobbi Webber-Manners
3c88170354 Bail out gracefully if not able to seek empty mbox in reverse view 2020-07-07 22:52:36 -04:00
Bobbi Webber-Manners
c2617a21e4 Made my ASCII art fancier. 2020-07-07 22:12:28 -04:00
Bobbi Webber-Manners
b50cf66eb4 Do not include cc if blank. Added ASCII art image for empty mailbox. 2020-07-07 22:04:56 -04:00
Bobbi Webber-Manners
7feef999b0 Fixed bug in get_db_index() when reverse == 1 2020-07-07 21:33:56 -04:00
Bobbi Webber-Manners
dd2e545c4a rebuild.c marks messages as read when rebuilding EMAIL.DB 2020-07-07 20:09:15 -04:00
Bobbi Webber-Manners
9ba05ef98b Added utility for rebuilding EMAIL.DB. Other minor fixes. 2020-07-07 19:23:16 -04:00
Bobbi Webber-Manners
a8a81a4acf Fixed bug that was corrupting EMAIL.DB by using wrong idx when order reversed 2020-07-07 04:15:04 -04:00
Bobbi Webber-Manners
3aab6c2df5 Conditionally compile out reverse mode keys. Dangerous atm. 2020-07-07 03:52:36 -04:00
Bobbi Webber-Manners
6fa7af0931 Show spinner when downloading text file attachments 2020-07-07 03:12:15 -04:00
Bobbi Webber-Manners
f008dfc529 Added function to reverse order of mailbox summary using '<'/'>' keys 2020-07-07 02:23:07 -04:00
Bobbi Webber-Manners
0d0d562320 Fixed memory leak when read_email_db() is called with initialize==1 2020-07-07 01:36:49 -04:00
Bobbi Webber-Manners
f806be152b Scrolling preserves the screen holes now. 2020-07-06 12:10:47 -04:00
Bobbi Webber-Manners
369b6b4799 Fixed bug - readp uninitialized in email_pager() 2020-07-05 23:52:35 -04:00
Bobbi Webber-Manners
22b032a003 Bumped up version to v0.5 for the hell of it 2020-07-05 23:34:43 -04:00
Bobbi Webber-Manners
5fe4fb7148 Implemented scrollback dumping/restoring screen memory from disk file 2020-07-05 23:31:38 -04:00
Bobbi Webber-Manners
52a40d6bf4 Finished refactoring of MIME decoding, display & save to file 2020-07-05 19:01:31 -04:00
Bobbi Webber-Manners
b0b92c555d Truncate strings without spaces to 80 chars 2020-07-05 18:09:48 -04:00
Bobbi Webber-Manners
5feea91a24 More minor fixup to email_pager() 2020-07-05 17:32:54 -04:00
Bobbi Webber-Manners
2e478b0da3 Code cleanup. Show spinner when skipping attachment. 2020-07-05 17:29:36 -04:00
Bobbi Webber-Manners
856067e9ce Implemented line wrapping for plain text and MIME quoted-printable 2020-07-05 16:33:16 -04:00
Bobbi Webber-Manners
d8f446a41c First part of refactoring of email_pager() function. More to come. 2020-07-04 23:22:23 -04:00
Bobbi Webber-Manners
76217e68bf Renamed label 2020-07-04 19:51:33 -04:00
Bobbi Webber-Manners
db376e06e0 Code cleanup in email_pager() 2020-07-04 19:48:59 -04:00
Bobbi Webber-Manners
71cc1073e9 Reset get_line() buffer when seeking 2020-07-04 19:38:01 -04:00
Bobbi Webber-Manners
8bf4b0e50a Sanitize MIME filenames for ProDOS 2020-07-03 04:12:12 -04:00
Bobbi Webber-Manners
e18aa8680d Fixed type of base64 decode table. Should be int8_t[] 2020-07-02 23:28:16 -04:00
Bobbi Webber-Manners
b96a26ddc9 Minor efficiency improvements in email_pager() loop. 2020-07-02 19:30:38 -04:00
Bobbi Webber-Manners
6d09addf98 Improved the efficiency of Base64 decoding a bit 2020-07-02 19:02:24 -04:00
Bobbi Webber-Manners
9e97d399ac Improved base64 decoder performance a little (using table) 2020-07-02 00:19:16 -04:00
Bobbi Webber-Manners
5b520be724 Added y/n prompt to download attachment. 2020-07-01 23:26:39 -04:00
Bobbi Webber-Manners
9bdb194695 Clean up spinner after downloading attachment 2020-07-01 23:14:28 -04:00
Bobbi Webber-Manners
0de9fc34a0 Some MIME bugfixes (closing files etc.) Added spinner for saving attachment. 2020-07-01 23:07:02 -04:00
Bobbi Webber-Manners
6a4889bf63 Initial support for saving attachments to file 2020-07-01 19:48:22 -04:00