Commit Graph

79 Commits (238e12123690debaf2cf8488fb2a4d4003a06506)

Author SHA1 Message Date
Jeff Epler 238e121236 protocols: Allow them to be (optionally) type-safe 3 years ago
Dan Halbert bc760dd341 WIP: complete manual inspection of all significant changes 4 years ago
Damien George 41766ba7e6 extmod/modlwip: Allow to compile with MICROPY_PY_LWIP disabled. 5 years ago
Damien George 1e2a6a84a2 extmod/modlwip: Set POLLHUP flag for sockets that are new. 5 years ago
Damien George 9c2044717c extmod/modlwip: Update to work with lwIP v2.0. 5 years ago
Damien George 318f874cda extmod/modlwip: In ioctl handle case when socket is in an error state. 5 years ago
Damien George bdff68db9c extmod/modlwip: Check if getaddrinfo() constraints are supported or not. 5 years ago
Damien George cf31d384f1 py/stream: Switch stream close operation from method to ioctl. 5 years ago
Damien George 48f6990fbc extmod/modlwip: Commit TCP out data to lower layers if buffer gets full. 5 years ago
Damien George f4059dcc0c all: Use NULL instead of "" when calling mp_raise exception helpers. 5 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 5 years ago
Damien George 71c9cfb028 all: Convert remaining "mp_uint_t n_args" to "size_t n_args". 5 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 5 years ago
Paul Sokolovsky ee04525097 extmod/modlwip: Implement setsockopt(IP_ADD_MEMBERSHIP). 5 years ago
Damien George bbced3b4bb extmod: Use MP_ROM_INT for int values in an mp_rom_map_elem_t. 5 years ago
Paul Sokolovsky f2140f9446 extmod/mod{lwip,onewire,webrepl}: Convert to mp_rom_map_elem_t. 5 years ago
Paul Sokolovsky 50de6d2fab extmod/modlwip: accept: Fix error code for non-blocking mode. 6 years ago
Paul Sokolovsky 5da8de2b66 extmod/modlwip: Fix error codes for duplicate calls to connect(). 6 years ago
Paul Sokolovsky a0dbbbebb8 extmod/modlwip: connect: For non-blocking mode, return EINPROGRESS. 6 years ago
Ville Skyttä ca16c38210 various: Spelling fixes 6 years ago
Paul Sokolovsky 5db55e63f3 extmod/modlwip: ioctl POLL: Fix handling of peer closed socket. 6 years ago
Paul Sokolovsky 4c2402e41e extmod/modlwip: getaddrinfo: Allow to accept all 6 standard params. 6 years ago
Damien George b6c7e4b143 all: Use full path name when including mp-readline/timeutils/netutils. 6 years ago
Damien George b568448306 extmod/modlwip: Use mp_obj_str_get_str instead of mp_obj_str_get_data. 6 years ago
Scott Shawcroft 75d6abe3bb Correct name of mp_raise_NotImplementedError to make error name. 6 years ago
Scott Shawcroft 12fa5b3a66 Switch exception throwing to mp_raise helpers. It saves a little code space each time to share the call. 6 years ago
Paul Sokolovsky a937750ceb extmod/modlwip: Add my copyright. 6 years ago
Damien George f488fa29e4 extmod/modlwip: Add socket.readinto() method. 6 years ago
Paul Sokolovsky eac22e29a5 all: Consistently update signatures of .make_new and .call methods. 6 years ago
Damien George cb53226b0c extmod/modlwip: Add ioctl method to socket, with poll implementation. 6 years ago
Damien George 06d0083468 extmod/modlwip: Use mp_raise_OSError helper function. 6 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
Paul Sokolovsky 5071ceea07 extmod/modlwip: Store a chain of incoming pbufs, instead of only one. 7 years ago
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 7 years ago
Paul Sokolovsky afce978aca extmod/modlwip: Rework how Python accept callback is called. 7 years ago
Damien George 0055457b5f extmod/modlwip: Convert errno's to use MP_Exxx symbols. 7 years ago
Paul Sokolovsky cfc94bec9f extmod/modlwip: Implement sendall() method for TCP sockets. 7 years ago
Paul Sokolovsky 1c6d91d968 extmod/modlwip: Add print_pcbs() debug function. 7 years ago
Damien George 45ac5a85d5 extmod/modlwip: Workaround esp8266 sendto issue where 1 is returned. 7 years ago
Damien George a63542387d extmod, stmhal: Fix typo of macro that detects if float is enabled. 7 years ago
Paul Sokolovsky 7a012f4793 extmod/modlwip: Protect recv/accept Python callback against exceptions. 7 years ago
Paul Sokolovsky 7d57037906 extmod/modlwip: Add ability to run callback on "recv" and "accept" events. 7 years ago
Paul Sokolovsky 8007f84cca extmod/modlwip: lwip_tcp_receive(): Full error handling. 7 years ago
Paul Sokolovsky b830f4c610 extmod/modlwip: lwip_tcp_send(): Full error handling. 7 years ago
Paul Sokolovsky 5c1af60e19 extmod/modlwip: More debug messages for various edge conditions. 7 years ago
Paul Sokolovsky 44ab5c3ef1 extmod/modlwip: Start adding debug output. 7 years ago
Paul Sokolovsky fef0d9818a extmod/modlwip: lwip_tcp_receive(): Properly handle EOF for non-blocking sock. 7 years ago
Paul Sokolovsky 7063210014 extmod/modlwip: Fix for loss of data in unaccepted incoming sockets. 7 years ago
Paul Sokolovsky 91031a75a1 extmod/modlwip: lwip_socket_setsockopt: Handle option value properly. 7 years ago
Paul Sokolovsky 4332d72fd8 extmod/modlwip: Add lwip->POSIX error map for lwIP 1.4.0. 7 years ago