10 Commits (92c83bd16b55daf81157100243ded6d7d0e56538)

Author SHA1 Message Date
David Lechner 9418611c8a unix: Implement PEP 475 to retry syscalls failing with EINTR. 5 years ago
Damien George 2cdf1d25f5 unix: Remove custom file implementation to use extmod's VFS POSIX one. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
David Lechner fee7e5617f unix: Release GIL during all system calls. 5 years ago
Damien George 6e30f96b0b ports: Convert legacy uppercase macro names to lowercase. 6 years ago
Paul Sokolovsky b9bad7ff92 unix/moduselect: Raise OSError(ENOENT) if obj to modify is not in poller 6 years ago
Damien George ef554ef9a2 unix: Use MP_STREAM_GET_FILENO to allow uselect to poll general objects. 6 years ago
Paul Sokolovsky b9580b85a8 unix/moduselect: Fix nanbox build after adding .dump() method. 7 years ago
Paul Sokolovsky cb910c6a0c unix/moduselect: Add .dump() method for debugging. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Paul Sokolovsky fe866d996f unix/moduselect: Properly implement ipoll object iteration. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Paul Sokolovsky 16a3534ad4 unix/moduselect: Implement ipoll() method with no-allocation policy. 8 years ago
Paul Sokolovsky 5efd6508ec unix/moduselect: Fix nanbox build with recent changes. 8 years ago
Paul Sokolovsky 093a8f5fa2 unix/moduselect: If file object passed to .register(), return it in .poll(). 8 years ago
Paul Sokolovsky 87dfc76570 unix: Rename define for unix moduselect to MICROPY_PY_USELECT_POSIX. 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
Renato Aguiar 081c0648ec unix: Fix build for when MICROPY_PY_SOCKET=0. 8 years ago
Paul Sokolovsky a4aaf82421 unix/moduselect: Allow poll.register(), etc. accept fd-like objects. 8 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George 1b0aab621b py: Change struct and macro for builtin fun so they can be type checked. 9 years ago
Paul Sokolovsky 2d11b17419 unix/moduselect: Make configurable with MICROPY_PY_USELECT. 9 years ago
Paul Sokolovsky c1481bb0ab unix/moduselect: Implement "one-shot" flag for poll.poll(). 9 years ago
Paul Sokolovsky 082b12128d unix/moduselect: register(): Allow to call with duplicate file descriptor. 9 years ago
Paul Sokolovsky bd33aa313e unix/moduselect: Support growing of poll array. 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 698a6a9d7d unix/moduselect: poll.register(): Reuse freed entries in poll array. 9 years ago
Paul Sokolovsky 19920e25f9 unix/moduselect: Fix bug in poll.poll() scanning loop. 9 years ago
Damien George 54df549b5f unix/moduselect: Initialise variable so can compile in non-debug mode. 9 years ago
Paul Sokolovsky 65971f5160 unix: Add "uselect" module, with poll() function. 9 years ago