Commit Graph

91 Commits

Author SHA1 Message Date
Bobbi Webber-Manners
0feb779b55 First implementation of code to copy messages to another mbox 2020-06-26 13:44:21 -04:00
Bobbi Webber-Manners
a14a347f31 'New mailbox' and 'Change mailbox' implemented 2020-06-26 12:09:20 -04:00
Bobbi Webber-Manners
64cf1e7e58 Added missing break 2020-06-26 11:30:30 -04:00
Bobbi Webber-Manners
fa59ce9a2e Added function to create new mailbox 2020-06-26 11:29:45 -04:00
Bobbi Webber-Manners
84cac8efd4 Initial support for reading multiple mboxes 2020-06-26 11:00:11 -04:00
Bobbi Webber-Manners
4a2a942365 Added code for persisting email read/deleted status in EMAIL.DB 2020-06-25 23:18:23 -04:00
Bobbi Webber-Manners
872c5c3339 Show count of new message. Bug fix for multi-page summary. 2020-06-25 22:35:14 -04:00
Bobbi Webber-Manners
68069a2ac8 Added email status byte (del, read etc.) Support for multiple summary pages. 2020-06-25 21:47:03 -04:00
Bobbi Webber-Manners
03047d9fce Bugfix to EMAIL.SYSTEM 'B' (page up) command 2020-06-25 14:30:10 -04:00
Bobbi Webber-Manners
b3b556b440 Improvements to EMAIL.DB format. Don't delete headers, just hide them. 2020-06-25 14:23:38 -04:00
Bobbi Webber-Manners
71cfe5f60b POP65 can now append messages to the INBOX 2020-06-24 23:57:32 -04:00
Bobbi Webber-Manners
48912b1389 Improvements to email pager (almost usable now!) 2020-06-24 23:08:40 -04:00
Bobbi Webber-Manners
4f35b52c2b Further improvements to email reader 2020-06-24 22:05:55 -04:00
Bobbi Webber-Manners
2d01f84982 First hack at email summary UI with highlight bar 2020-06-24 20:25:31 -04:00
Bobbi Webber-Manners
9cee699f99 Further improvements to pop65.c and email.c user interface 2020-06-24 17:50:19 -04:00
Bobbi Webber-Manners
3183a67ce1 Initial work on EMAIL.SYSTEM, the user agent 2020-06-24 17:22:35 -04:00
Bobbi Webber-Manners
5a6d968c9d Creates a summary database so the UI can access headers quickly 2020-06-24 16:16:23 -04:00
Bobbi Webber-Manners
9abeb415dc Copy messages to INBOX, CRLF->CR line endings, find headers 2020-06-24 14:05:38 -04:00
Bobbi Webber-Manners
e52d5146f5 Slightly improved header parsing 2020-06-24 01:12:02 -04:00
Bobbi Webber-Manners
8ae1b5a05e First pass at parsing email headers, populating INBOX. 2020-06-24 00:58:39 -04:00
Bobbi Webber-Manners
294f77c4e8 Improved status display 2020-06-23 22:50:52 -04:00
Bobbi Webber-Manners
e0c33191c5 POP65 downloads to files now, and has a nice progress spinner 2020-06-23 19:05:44 -04:00
Bobbi Webber-Manners
d72fefa0f4 New version of POP65.c (work-in-progress). Uses Uthernet-II TCP. 2020-06-22 22:40:32 -04:00
Bobbi Webber-Manners
14ccbd1a1d Maybe slightly less slow?? 2020-06-21 23:01:22 -04:00
Bobbi Webber-Manners
1b1e391e32 Started work on POP3 client for ProDOS 2020-06-21 22:21:26 -04:00
Bobbi Webber-Manners
9c5bc1a270 Fixed a file-reading bug 2020-06-21 02:54:41 -04:00
Bobbi Webber-Manners
6858da9747 Print actual timezone in effect after the date/time 2020-06-21 02:31:08 -04:00
Bobbi Webber-Manners
f12af42b16 Automatically determine if ProDOS 2.5 2020-06-21 02:27:11 -04:00
Bobbi Webber-Manners
4fbe994a90 Timezone configuration file TZONE.TXT 2020-06-21 02:19:55 -04:00
Bobbi Webber-Manners
da16e97d00 Improvements to date65: auto-DST support, timezones from file 2020-06-21 02:19:12 -04:00
Oliver Schmidt
e83fe9a9fe Added support using the W5100 with a single socket.
The W5100 has the undocumented feature to wrap around the Address Register on an Auto-Increment at the end of physical address space to its beginning.

However, the only way to make use of that feature is to have only a single socket that uses all of the W5100 physical address space. But having only a single socket by defining SINGLE_SOCKET comes with downsides too:

One mustn't call into IP65 network functions anymore after w5100_config(). Additionally the program doesn't support 'W5100 Shared Access' anymore (https://github.com/a2retrosystems/uthernet2/wiki/W5100-Shared-Access).
2020-05-06 22:37:45 +02:00
Oliver Schmidt
edccf1d1dc Fixed physical address calculation.
The address mask to use is of course dependent on the actual socket memory size.
2020-04-25 23:19:50 +02:00
Oliver Schmidt
f9e28e79b9 Factored out W5100 HTTP client handling.
In order to reduce code duplication for a planned W5100 HTTP client program beside wget65 the W5100 HTTP client code is now available for reuse.
2020-04-20 20:40:28 +02:00
Oliver Schmidt
bbd2906f6f Always return a consistent value. 2020-04-15 21:54:44 +02:00
Oliver Schmidt
6971e9216f Added central error strings. 2020-04-15 14:52:59 +02:00
Oliver Schmidt
a25ed5051f Set disk tool variables to defaults.
If the user fails to set the disk tool variable(s) he now doesn't get syntactically wrong commands but rather file-not-founds. Maybe he even chooses to drop tool(s) into the current directory or add the disk tool path(s) to the PATH variable...
2019-07-15 12:28:27 +02:00
Oliver Schmidt
bcff253678 Bump user visible versions. 2019-05-10 17:47:06 +02:00
Oliver Schmidt
0fb3869716 Added support for the upcoming 'Dracarys' ATARI PBI device.
See https://atariage.com/forums/topic/287376-preannouncement-dragon-cart-ii/
2019-05-08 17:23:00 +02:00
Oliver Schmidt
757d360925 Don't increment string position if nothing was written to the string. 2019-05-07 18:32:46 +02:00
Oliver Schmidt
fe1ea2358d Minor optimization. 2019-05-05 11:37:20 +02:00
Oliver Schmidt
4577c2ab19 Removed Ethernet driver I/O base.
So far the base address of the Ethernet chip was a general property of all Ethernet drivers. It served two purposes:
1. Allowing to use a single Ethernet driver for a certain Ethernet chip, no matter what machine was connected to the chip.
2. Allowing use an Ethernet card in all Apple II slots.

However, we now use customized Ethernet drivers for the individual machines so 1.) isn't relevant anymore. In fact one wants to omit the overhead of a runtime-adjustable base address where it isn't needed.

So only the Apple II slots are left. But this should rather be a driver-internal approach then. We should just hand the driver the slot number the user wants to use and have the driver do its thing.

Independently from the aspect if the driver parameter is a base address or a slot number the parameter handling was changed too. For asm programs there was so far a specific init function to be called prior to the main init function if it was desired to chnage the parameter default. This was done to keep the main init function backward compatible. But now that the parameter (now the slot number) is only used on the Apple II anyhow it seems reasonable to drop the specific init function again and just provide the parameter to the main init function. All C64-only user code can stay as-is. Only Apple II user code needs to by adjusted. Please note that this change only affects asm programs, C programs always used a single init function with the Apple II slot number as parameter.
2019-05-02 14:44:24 +02:00
Oliver Schmidt
43d7d33c31 Removed support for W5100 on the C64.
Now that we have per-target combo driver wrappers we can remove the W5100 support from the C64. There isn't any actual (known) W5100-based solution for the C64.
2019-04-29 16:41:27 +02:00
Oliver Schmidt
6a296b2058 Improved URL selector handling.
parse_url stores the URL selector in the output_buffer - which is currently 520 bytes. A new entry point called parse_url_buffer was added which instead stores the URL selector in a buffer provided by the user.

url_download now calls the new parse_url_buffer instead of parse_url. The buffer for the URL selector is simply the download_buffer. So the download_buffer is used twice: First to hold the URL selector to be sent as request to the server and then to hold the response received from the server.

However, the URL selector still can't exceed the MSS (aka 1460 bytes).

Note: The User-Agent string was shortened by two bytes as that allows a "default" URL (incl. 'http://' but without port number) of exactly 1400 bytes to end up as 1460 bytes URL selector.
2018-11-13 13:19:47 +01:00
Oliver Schmidt
f349ac6bd3 Increased IFTTT webhook key length. 2018-11-07 20:43:20 +01:00
Oliver Schmidt
334bdb88a0 Added Tweet65.
Tweet65 is sample application for triggering an IFTTT maker webhook. If ~450 chars are not enough for the URL then either the IP65 output_buffer needs to be increased or url_parse needs to be modified to use a different buffer. E.g. when called from url_download then the url_download_buffer could be temporarily used to hold the selector.
2018-11-01 14:21:20 +01:00
Oliver Schmidt
5fcfb2beeb Include Apple II specific header only for Apple II. 2018-10-30 20:00:17 +01:00
Oliver Schmidt
63df5ac99e Adjusted line editor to recent change in cc65 CONIO. 2018-09-08 19:38:14 +02:00
Oliver Schmidt
300ca8626a Make use of clock_settime().
clock_gettime(), clock_settime() and clock_getres() were added to the cc65 C libaries the other day.
2018-08-18 23:28:59 +02:00
Oliver Schmidt
56c28694ca Fixed access to argv. 2018-08-06 23:13:22 +02:00
Oliver Schmidt
e7f0b6759b Added download to disk feature.
Beside the code for the actual feature this change introduces analysis of the URL to extract a potential filename to be used for saving. Doing so was a prerequisite for disk download because the filename extension in the URL is the only hint for distinguishing ProDOS sector order disk images from DOS 3.3 sector order images.

So far only the URL input was potentially repeated. Now the file input is potentially repeated as well. For normal file paths there's deliberately still no check. But when entering a drive specifier ("!Sx,Dx") then it is checked for plausibility - and there's an additional confirmation question to keep the user from overwriting the "wrong" disk.

With now having both the URL and file input potentially repeated it became clear that loading and saving the input history shouldn't be repeated - and if the user quits without having entered a valid input the history deliberately isn't saved at all.
2018-08-06 20:33:32 +02:00