39 Commits (94aeba0427cc80e43b59c4155e02e8cb7c327951)

Author SHA1 Message Date
Damien George 4ebdb1f2b2 py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros. 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 8a43a41b3a unix: Enable VfsFat support. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Paul Sokolovsky ddea7cb702 extmod/moduos_dupterm: Make uos.dupterm() implementation reusable. 9 years ago
Paul Sokolovsky 2c1620ce1f unix: Implement uos.dupterm(). Conditional on MICROPY_PY_OS_DUPTERM. 9 years ago
Damien George 0d7de08e06 unix: Change define logic of _DIRENT_HAVE_D_INO to match other macros. 9 years ago
Damien George a1528364b3 unix/modos: Fix silly bugs in ilistdir tuple creation. 9 years ago
Damien George 3386477b29 unix/modos: Allow to configure use of d_ino using _DIRENT_HAVE_D_INO. 9 years ago
Paul Sokolovsky 130fde8130 uos: Add errno() function to get/set errno value. 9 years ago
Paul Sokolovsky d874702fe1 unix/modos: Implement ilistdir(). 9 years ago
Paul Sokolovsky a6eff059b9 unix: Rename "_os" module to "uos" for consistency with baremetal ports. 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 7dec35d7cc unix/modos: Remove duplicate level of #if MICROPY_PY_OS_STATVFS. 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 39a380b621 unix/modos: Android Bionic lacks statvfs(), has BSD statfs(). 9 years ago
Paul Sokolovsky 2ca7b05552 unix/modos: Checking config macros requires mpconfig.h. 9 years ago
Paul Sokolovsky f8e9ef5cd0 unix/modos: Guard sys/statvfs.h include with MICROPY_PY_OS_STATVFS check. 9 years ago
Paul Sokolovsky c3000b6f69 unix/modos: Add statvfs() function. 9 years ago
Damien George 6d7e47087f unix: Prefix includes with py/; remove need for -I../py. 10 years ago
Paul Sokolovsky 9c658b6afc unix, windows: Add _os.system() call. 10 years ago
Nikita Nazarenko d51107927d unix: add unlink function to os module 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George d182b98a37 py: Change all uint to mp_uint_t in obj.h. 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 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
stijn 5478ed18ea unix: Fix mpconfig.h not being included before misc.h 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Marcus von Appen 585a3394df - Cast the struct stat sb.st_ino field to machine_int_t explicitly to avoid a 11 years ago
Paul Sokolovsky 0405b2210d modos: stat(): Accept bytes argument. 11 years ago
Damien George efaef6eea3 unix: Fix casting issue, int to small int object. 11 years ago
Paul Sokolovsky 767e45c290 modos: Clean 64-bit issues. 11 years ago
Paul Sokolovsky 0c124c3123 unix: Add "_os" module with stat(). 11 years ago