Commit graph

72 commits

Author SHA1 Message Date
TomAwezome
10a5876ce7 Implement retries for when network stack fails NetConfigure. 2022-01-17 00:12:18 -05:00
TomAwezome
afc785ba27 Implement FTP client. 2022-01-10 00:05:51 -05:00
TomAwezome
ac3e0cee2d Implement WinTileGrid. 2021-12-30 22:22:37 -05:00
TomAwezome
dccdb20ae0 Add LexDemo. 2021-12-30 17:37:35 -05:00
TomAwezome
ea77c2c920
Fix typo on commit 9857b67377 2021-12-28 22:54:14 -05:00
TomAwezome
9857b67377 Implement Ping network function. 2021-12-28 22:52:09 -05:00
TomAwezome
d767f8f6e7 Implement ICMPRequestSend. 2021-12-28 13:48:04 -05:00
TomAwezome
5a145ef081 Fix TCP RST ACK loop bug. 2021-12-15 00:04:51 -05:00
TomAwezome
dc66f78d51 Fix Gopher client filename truncation bug. 2021-12-14 19:56:32 -05:00
TomAwezome
3a33e6baaf Rename CosmiC to ZealC.
Rename all .CC files to .ZC extension.
2021-12-11 06:21:22 -05:00
TomAwezome
b6496c9378 Update IntEntrySet calls to use new IntEntryAlloc system. 2021-12-04 05:07:38 -05:00
TomAwezome
9ebbb0847b Fix Mount2 allowing skipping HDD SATA port entry.
Rename network stack `Run.CC` to `Start.CC`, fix running applications in subdirectories using F5 in `Ed` window.
2021-12-03 23:07:34 -05:00
TomAwezome
05be1d0e0c Rename dump functions.
Rename `DocDump` to `DocDumpLines`.
Rename `DocDm` to `DocDumpMem`.
Rename `DocD` to `DocDump`.
Rename `Dump` to `FileDump`.
Rename `DClus` to `ClusDump`.
Rename `DBlk` to `BlkDump`.
Rename `RawDm` to `RawDumpMem`.
Rename `RawDr` to `RawDumpRegs`.
Rename `RawD` to `RawDump`.
Rename `Dr` to `DumpRegs`.
Rename `Dm` to `DumpMem`.
Rename `D` to `Dump`.
Rename `Who` to `HashTableDump`.
Rename `Da` to `DumpAddress`.
2021-11-30 14:22:38 -05:00
TomAwezome
262bd0249e Set I_NETHANDLER using DefinePrint. 2021-11-29 23:45:45 -05:00
TomAwezome
ff564b4fe0 Allow data RX during TCP CLOSE_WAIT state.
Alter GopherDl to close TCP socket on success/failure.
Revert GopherOpen TCP timeout to default.
Change NetLog to no longer be self-focusable. (This way, window manager won't tile it like other windows.)
2021-11-14 16:33:28 -05:00
TomAwezome
8a4fb38873 Fix Gopher client filename length crash. 2021-11-05 05:35:02 -04:00
TomAwezome
ffd0e6acfc Remove cursor character from files. 2021-11-05 05:32:33 -04:00
TomAwezome
68775b3b44 Fix TCP RST ACK loop bug.
Fix Gopher client filename bug using filename character validation.
Increase TCP timeout in TCPConnectionCreate.
Move default AutoComplete position left a bit, just enough so that new windows' [X] button is visible.
2021-11-04 06:06:51 -04:00
TomAwezome
5a4bccc5b9 Fix Gopher client null host bug.
Update README to link to ISO build guide.
2021-11-02 17:32:47 -04:00
TomAwezome
9ac4b35c29 Port Gopher client.
(Gopher client from https://github.com/DeclanHoare/tos-gopher)
Implement TCPSocketReceiveLine and TCPConnectionCreate.
Update HolyC --> CosmiC conversion script.
Include DNS before TCP so that DNSAddressInfoGet can be used in TCP methods.
2021-11-02 02:01:48 -04:00
TomAwezome
6b3fd2fecb Rename abs_addres to abs_address.
Update documentation/comments to rename addr, fun, var, stmt, blk, desc, reg, seg, ptr, dup, clus, val, and bttn, to address, function, variable, statement, block, description, register, segment, pointer, duplicate, cluster, value, and button, respectively.
2021-10-06 21:35:32 -04:00
TomAwezome
033e169511 Port Erythros virtio-net driver.
https://git.checksum.fail/alec/erythros/src/branch/master/Boot/Drivers/Virtio-net.HC
https://git.checksum.fail/alec/erythros/src/branch/master/Boot/Drivers/Virtio.HC
https://git.checksum.fail/alec/erythros/src/branch/master/Boot/Init.HC#L55
2021-09-21 02:55:53 -04:00
TomAwezome
22e3d8f06e Clean up E1000 Driver.
Remove some palettes.
Add PaletteSetSlate.
Change all gr_palette_std to gr32_palette_std.
Change all CBGR48 to CBGR24.
2021-07-28 22:20:15 -04:00
TomAwezome
b1a9e0785d Fix some broken DolDoc links.
Change Who() symbol link width from 20 to 40.
2021-07-23 19:21:07 -04:00
TomAwezome
dbf8647d59 Fixed non-writable drive throw on F5 and Ctrl-S.
Added top & right borders to RawDr.
Improved spacing in some debug and compiler reporting.
Fixed RawPutChar and EdLite tab width.
Fixed Ui missing '0x' prefix syntax highlighter bug.
Added 32BitPaint demo.
2021-07-14 18:38:02 -04:00
TomAwezome
2ea6956433 Implement IntEntryAlloc, IntEntryFree for dynamic user IRQ acquisition.
Restructure network stack to use new Interrupt methods instead of hard-coded IRQ numbers.
Add line count update into build process.
Add progress bars to HTML generation and DoDistro.
Clear Network Log border_doc.
Fix font chars.
Clean up some lingering unconverted variable and directory names.
Remove word-wrap DolDoc tag from Clementine bible because of CPU spikes.
2021-07-11 17:47:19 -04:00
TomAwezome
afdc25f9b8 Begin implementing E1000 RX/TX. 2021-07-09 16:56:43 -04:00
TomAwezome
35b12f59b3 Implement E1000 RX TX initialization. 2021-07-09 01:35:05 -04:00
TomAwezome
60b7ff3d27 Implement E1000 SLU, MTA zero-out, interrupt-enable. 2021-07-07 22:36:01 -04:00
TomAwezome
db2f950e79 Implement E1000 MMIO R/W and EEPROM read. 2021-07-07 02:22:37 -04:00
TomAwezome
8a5e9328ca Restructure UDP and TCP #include process.
Add newlines to OS Upgrade questions.
Move PCNet interrupt #defines.
Improve E1000 PCI device loading.
Add comments in E1000 driver to sketch out dev process.
2021-07-06 23:31:06 -04:00
TomAwezome
72e706962a Rename function prefixes 'Z' to 'Sys'.
Begin skeleton of E1000 networking driver.
2021-07-06 16:15:26 -04:00
TomAwezome
01e5d408fd Add PopUp with OS Upgrade explanation.
Fix unused var warning in OSUpgrade.
Add Who() output to main generated HTML index file.
Rename all 'inst' to 'instruction'.
Change NetLog behaviour, remove window tiling.
Change network stack to throw if no applicable driver can be loaded.
Update line counts.
2021-07-05 22:57:17 -04:00
TomAwezome
fcd9844a35 Update documentation, fix DD_TEMPLEOS_AGE, add DD_ZEALOS_AGE.
Move custom HtmlGen.CC to /Home, restore original in Demo/.
Fix broken MN: links.
Change default AutoComplete window position.
2021-07-05 14:34:54 -04:00
TomAwezome
2695917b38 Refactor Network driver loading, automatically pick driver based on hardware.
Remove duplicate PCI define, move PCNet PCI defines to Drivers/Run.CC.
2021-07-05 12:19:55 -04:00
TomAwezome
2743cf6ace Fork ZenithOS --> ZealOS. 2021-07-01 19:53:42 -04:00
TomAwezome
0778e2dd16 Remove WallPaper time offset undo.
Fix lingering 'HC' to 'CC'.
Fix EdLiteUpdate incorrect tab width.
Move PCNet driver into Drivers/ folder.
Add graphics demos.
Add JSON lexer to Net/ folder.
Increase entropy of Splash screen mottos.
2021-06-29 18:10:26 -04:00
TomAwezome
3fa559706f Implement TCPSocketSendAll and TCPSocketSendString.
Update TCP Chat client and server programs to use new methods.
2021-05-24 01:03:16 -04:00
TomAwezome
239a5cdf87 Implement TCPRep for reporting bound/connected TCP Sockets.
Fix ARP not updating cached entries on ARPCachePut calls.
Fix DNS not updating cached entries on DNSCachePut calls.
Clean up repeated gross syntax in DHCPOfferParse.
Fix Host() and DNSRep IPV4 kludge, use proper switch case block based on result address family type.
Change CNetQueueEntry member variable length to packet_length.
Remove Debug statements when sockets use AF_INET6 or AF_UNSPEC, change to NetErr.
Change UDP message queues to be allocated and initialized when UDPSocket is called, instead of when binding.
Standardize filenames in Tests/ folder.
Remove old test files.
Remove outdated TODO comments.
2021-05-18 02:09:59 -04:00
TomAwezome
cf7ad1a5a7 Implement TCP Chat application.
Fix TCP Socket receive buffer read and write position miscalculations.
Fix TCP Socket send window endianness.
Implement non-blocking TCP Sockets, alter timeout logic.
Move network applications to Programs folder.
Fix TCP Socket Accept using wrong timeout value.
Fix TCP Socket Accept not removing and freeing pending connection requests upon connect failure.
2021-05-14 04:08:38 -04:00
TomAwezome
6f6c8df2e9 Fix TCP Socket Send/Receive not returning upon timeout. 2021-05-12 19:47:16 -04:00
TomAwezome
9f0e880fab Fix TCP Socket Connect not setting receive window class member. 2021-05-12 17:32:07 -04:00
TomAwezome
3917898085 Fix TCP socket connect not sending ACK after receiving SYN ACK.
Fix missing socket FSM state transition after binding a new connection.
Fix TCP socket send unused sent_total variable.
Integrate INADDR_ANY address handling procedure used in TCP to UDP.
Change two TCP tests into TCPEchoClient.CC and TCPEchoServer.CC, alter to make compatible with Shrine's echo tests.
Split long lines of code to multiple lines to fit better in default resolution.
2021-05-12 02:43:59 -04:00
TomAwezome
05dd1af872 Begin TCP implementation.
Create Binary Search Tree (BST) generic data structure and methods, integrate TCP and UDP bound socket tree structures with BST system.
Fix incorrect variable name for packet data frames across stack codebase.
Split UDP and TCP into multiple files and their own folders for organization.
Update low-level Socket functions to return Bool types, for determining success/failure of state transitions.
Integrate updated Socket function return types into TCP and UDP methods.
Add NetStop() and NetStart() functions in PCNet-II code to easily halt and continue network activity.
Add NetDebug() log output function.
Update networking documentation to reflect changes, remove outdated documentation.
2021-05-10 20:15:27 -04:00
TomAwezome
3df5dd4a9f Implement NetRep for full network data report.
Implement IPV4Rep to report local, router, and subnet IPV4 addresses.
Expand UDPRep to report socket timeout and info about messages queued at the socket.
2021-03-01 03:55:49 -05:00
TomAwezome
91f380b0b6 Implement UDPRep to report info on currently bound sockets.
Clean up ARPRep some.
Fix NetworkToPresentation returning bad string.
Fix UDP Chat not closing bound socket.
Fix UDPSocketBind unintentional fall-through.
Add another Test for binding UDP sockets.
2021-02-27 22:33:34 -05:00
TomAwezome
bc30fdc12f Remove unnecessary parens in network stack. 2021-02-24 01:22:30 -05:00
TomAwezome
a9b1fb2da1 Standardize Networking method naming convention.
Update Networking docs.
Update description in Chat.CC.
Add clarifications to ICMP, DHCP methods.
Revised names of some networking methods for brevity.
2021-02-22 18:50:14 -05:00
TomAwezome
51efddc954 Clean up networking code. Fix missing DCDel in Stars wallpaper. 2021-02-22 03:35:59 -05:00
TomAwezome
f5d80414c4 Reduce UDP system overhead. 2021-02-22 03:08:08 -05:00