597 Commits (f2ed736b29a8e9e772a5fd4b97162b2efdaf9716)

Author SHA1 Message Date
Paul Sokolovsky a6eff059b9 unix: Rename "_os" module to "uos" for consistency with baremetal ports. 9 years ago
Paul Sokolovsky c1481bb0ab unix/moduselect: Implement "one-shot" flag for poll.poll(). 9 years ago
Paul Sokolovsky d288ae8eb9 unix/modtermios: DJGPP appears to have unicode-capable cc_t type. 9 years ago
Paul Sokolovsky ce936edf62 unix/modtermios: Provide B57600 and B115200 constants only if defined. 9 years ago
Paul Sokolovsky 3a309d93b1 unix/main: mp_verbose_flag available only if MICROPY_DEBUG_PRINTERS is true. 9 years ago
pohmelie 354e688d8e py: Add MICROPY_PY_BUILTINS_MIN_MAX, disable for minimal ports. 9 years ago
Paul Sokolovsky 082b12128d unix/moduselect: register(): Allow to call with duplicate file descriptor. 9 years ago
Paul Sokolovsky 5ae3ddcc9a unix/main: Check pending exception at the end of code block execution. 9 years ago
Paul Sokolovsky 30d0cf4885 unix/mpconfigport: Typo fix in comment. 9 years ago
Paul Sokolovsky d735278c9f unix/mpconfigport.h: For MICROPY_NO_ALLOCA=1, don't even include alloca.h. 9 years ago
Paul Sokolovsky 3376875bc8 unix/modtime: sleep(): Return early if KeyboardInterrupt is pending 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 fad7d9317b unix/modtime: Unbreak Windows build after changes to check select() result. 9 years ago
Paul Sokolovsky 0bb57bf5bf unix/modtime: sleep(): Automatically restart after receiving EINTR. 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 7a5a4fe271 unix/unix_mphal: Use size_t instead of mp_uint_t in stdout_tx_strn decls. 9 years ago
Paul Sokolovsky 7dec35d7cc unix/modos: Remove duplicate level of #if MICROPY_PY_OS_STATVFS. 9 years ago
Paul Sokolovsky 9f10d3fb63 unix/main: Get rid of perror() which uses stdio. 9 years ago
Paul Sokolovsky c3280d83e7 unix: Use printf() implementation in terms of mp_printf(). 9 years ago
Paul Sokolovsky ede1f547e7 unix/modsocket: Use snprintf(), as defined by lib/utils/printf.c. 9 years ago
Paul Sokolovsky 295ea12411 py/emitglue: Host definition of mp_verbose_flag. 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
Paul Sokolovsky acb743da64 unix/modffi: Mark 'O' type specifier as implemented. 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
Paul Sokolovsky 79c4ec1102 unix/input: Switch to POSIX I/O for history reading/writing. 9 years ago
Paul Sokolovsky ec314c951d unix/modos: getenv(): Handle non-existing envvar correctly. 9 years ago
Paul Sokolovsky 908f5159cf unix/modos: Add Windows workaround for mkdir(). 9 years ago
Paul Sokolovsky 27dafa5ed5 unix/modos: Add mkdir(). 9 years ago
Paul Sokolovsky d8557834c0 unix/modos: Add getenv(). 9 years ago
Paul Sokolovsky a01f6c9ae7 unix/main: Remove stray mp_printf() from previous commit. 9 years ago
Paul Sokolovsky 66fd3e4a7b unix: Use standard mphalport.h header. 9 years ago
Paul Sokolovsky 3a6b3d230c main.c: Switch stderr printing from ANSI C to native POSIX. 9 years ago
Paul Sokolovsky 94f9330d3e unix: Allow to override MICROPY_PY_MATH_SPECIAL_FUNCTIONS from command-line. 9 years ago
Paul Sokolovsky 6d1eabfeaa unix/mpconfigport: Move log2() definition to modmath.c. 9 years ago
Paul Sokolovsky f882d53fcd unix/main: Use builtin unichar_isdigit() in preference if libc's. 9 years ago
Paul Sokolovsky 3c7e1b80ac unix/modjni: Add missing get_jclass_name() function. 9 years ago
Paul Sokolovsky 6e68a68d18 unix/gccollect: Fallback to setjmp-based register fetching automatically. 9 years ago
Paul Sokolovsky 06f70973f7 unix/unix_mphal: Typo fix in comment. 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Paul Sokolovsky 404dae80a9 unix, stmhal: Introduce mp_hal_delay_ms(), mp_hal_ticks_ms(). 9 years ago
Paul Sokolovsky 91f2168dd5 unix/modjni: Actually check argument type when doing method resolution. 9 years ago
Paul Sokolovsky 9ebd4dabf2 unix/modjni: Don't pass Java object to a method which doesn't expect it. 9 years ago
Paul Sokolovsky 8e6e9eaea5 unix: Use "Ctrl" as a name of the key, not "CTRL". 9 years ago
Paul Sokolovsky 2c040edef8 libffi: Skip building docs. 9 years ago
Paul Sokolovsky 39a380b621 unix/modos: Android Bionic lacks statvfs(), has BSD statfs(). 9 years ago