69 Commits (7604de3fc2387dcb89edd435e38c672ed5ac63b1)

Author SHA1 Message Date
Paul Sokolovsky 59a1201da9 all: Remove readall() method, which is equivalent to read() w/o args. 8 years ago
Damien George 016dba0e98 unix: Use common RAISE_ERRNO macro from mphalport.h. 8 years ago
Damien George 503089ea9d unix: Use mp_raise_OSError helper function. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Paul Sokolovsky a4aaf82421 unix/moduselect: Allow poll.register(), etc. accept fd-like objects. 8 years ago
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 9 years ago
Paul Sokolovsky 1b811b946e unix/modsocket: Use mp_const_empty_map instead of creating empty map. 9 years ago
Paul Sokolovsky dc320164d8 unix/modsocket: Add comment regarding close() error checking (which is none). 9 years ago
Paul Sokolovsky ac37e0fd1f unix/modsocket: sockaddr(): Handle AF_INET6 addresses. 9 years ago
Paul Sokolovsky cb4fbc8861 unix/modsocket: accept(): Make IPv6-clean. 9 years ago
Dave Hylands 11b97d7ec5 unix: Add socket.inet_ntop function 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky ede1f547e7 unix/modsocket: Use snprintf(), as defined by lib/utils/printf.c. 9 years ago
Paul Sokolovsky 3ba61656bd unix/modsocket: Implement sockaddr() function to decode raw socket address. 9 years ago
Paul Sokolovsky 2ae7ced721 unix/modsocket: Removed dangling references to sockaddr_in_type. 9 years ago
Anmol Sarma 95b352064e unix/modsocket: Fix usage of pointers to locals outside scope 9 years ago
Paul Sokolovsky c48740e20b unix: modsocket: Implement inet_pton() in preference of inet_aton(). 9 years ago
Paul Sokolovsky b178dccb9c unix: modsocket: Implement recvfrom(). 9 years ago
Paul Sokolovsky 3b83aeb403 unix: modsocket: Implement sendto(). 9 years ago
Paul Sokolovsky 115afdb07d unix: socket.getaddrinfo: Port is unsigned value. 9 years ago
Paul Sokolovsky 8eb802a55b unix: socket.getaddrinfo: Accept family & socktype arguments. 9 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 6d7e47087f unix: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George be6d8be91e py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
stijn 2fe4cf7761 Implement kwargs for builtin open() and _io.FileIO 10 years ago
Paul Sokolovsky 1a55b6a787 unix, stmhal: Implement file.readinto() method. 10 years ago
Paul Sokolovsky 23b3b04072 unix: Rename "microsocket" module to "usocket". 10 years ago
Damien George 17598d49e1 unix: Don't use -Wno-error=cpp or #warning; fix strict alias warning. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Paul Sokolovsky 2831a8f800 modsocket: .recv() returns bytes object. 10 years ago
Damien George bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Damien George adf0f2ae1a py: Change stream protocol API: fns return uint; is_text for text. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky 3c9b24bebe modsocket: Fix uClibc detection. 11 years ago
Paul Sokolovsky ff5932a8d8 modsocket: Workaround uClibc issue with numeric port for getaddrinfo(). 11 years ago
Paul Sokolovsky 949a49c9da modsocket: Add call to freeaddrinfo(). 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Marcus von Appen 0c90eb1658 - FreeBSD provides alloca() via stdlib.h, in contrast to Linux and Windows 11 years ago
Paul Sokolovsky 347b3a3d1f modsocket: Add some comments on intended usage/API design of module. 11 years ago
Paul Sokolovsky 50b08c920a modsocket: Remove stale ifdef. 11 years ago
Damien George 2617eebf2f Change const byte* to const char* where sensible. 11 years ago
Paul Sokolovsky d0ceb04b90 modsocket: 64-bit cleanness. 11 years ago
Paul Sokolovsky 561789d718 unix modsocket: Make .makefile() method more compliant. 11 years ago