840 Commits (ef61b5ecb59e9b4e37e3e3c023c62d583c23eb16)

Author SHA1 Message Date
Dan Halbert ef61b5ecb5 Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in development) master.
6 years ago
Damien George 4ec803a42a all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.
6 years ago
Damien George 4c736ea8fc extmod,unix: For uos.stat interpret st_size member as an unsigned int.
6 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX
6 years ago
Scott Shawcroft fab634e3ee Turn on Rosie CI testing to test new builds on real hardware.
6 years ago
Paul Sokolovsky bfc2092dc5 py/modsys: Initial implementation of sys.getsizeof().
6 years ago
Damien George 7d4a2f773c all: Make use of $(TOP) variable in Makefiles, instead of "..".
6 years ago
Scott Shawcroft f6a702538a py: Pretend frozen files are stored under .frozen rather than the empty path.
6 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments
6 years ago
Paul Sokolovsky e280122b14 unix/modjni: Convert to mp_rom_map_elem_t.
6 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage.
6 years ago
Damien George 1e6fd9f2b4 unix/Makefile: Disable assertions in the standard unix executable.
6 years ago
Damien George d0db93cf1f unix/modsocket: Remove unnecessary asserts.
6 years ago
Damien George e66fd56852 py/repl: Change mp_uint_t to size_t in repl helpers.
6 years ago
Damien George 369e7fd178 tests/unix/extra_coverage: Add test for mp_vprintf with bad fmt spec.
6 years ago
Scott Shawcroft 30ee7019ca Merge tag 'v1.9.1'
6 years ago
Paul Sokolovsky 9ae0713cef unix/mpconfigport.mk: Update descriptions of readline and TLS options.
6 years ago
Damien George 48d867b4a6 all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.
6 years ago
Paul Sokolovsky d42b80fd64 unix/modtime: Replace strftime() with localtime().
6 years ago
Tamas TEVESZ d80c951f71 unix/Makefile: replace references to make with $(MAKE)
6 years ago
Damien George d92898a35a unix: Convert to use core-provided version of built-in import().
6 years ago
Ville Skyttä ca16c38210 various: Spelling fixes
6 years ago
Damien George d77862279e unix/Makefile: Don't add frozen bytecode to minimal build.
6 years ago
Paul Sokolovsky a4e38db30d unix: Move upip to frozen bytecode dir.
6 years ago
Paul Sokolovsky 5c312861a6 unix/Makefile: Enable frozen bytecode modules dir.
6 years ago
Damien George f1609bc843 ports: Add ilistdir in uos module.
6 years ago
Paul Sokolovsky edc02bd952 unix/main: Implement -m option for packages.
6 years ago
Paul Sokolovsky c1e0eb7afe unix/main: Don't allow to specify too small heap size.
6 years ago
Paul Sokolovsky d7da2dba07 py/modio: Implement uio.resource_stream(package, resource_path).
6 years ago
Paul Sokolovsky 11bc21dfa8 unix/main: Ignore SIGPIPE signal, instead make EPIPE arrive.
6 years ago
Damien George 7743b1523e unix: Remove obsolete MICROPY_FATFS macro.
6 years ago
Damien George 03053f82db mpy-cross, unix, windows, stmhal: Enable return-if-else optimisation.
6 years ago
Damien George fe79234ca0 unix: Enabled high-quality float hashing in coverage build.
6 years ago
Damien George 6c564aa408 unix, windows: Use core-provided KeyboardInterrupt exception object.
6 years ago
Damien George 4c307bfba1 all: Move BYTES_PER_WORD definition from ports to py/mpconfig.h
6 years ago
Damien George b6c7e4b143 all: Use full path name when including mp-readline/timeutils/netutils.
6 years ago
Pavol Rusnak 6e6c01b971 unix: Convert mp_uint_t to size_t in alloc.c.
6 years ago
Damien George 46e98d9ea7 unix: Convert mp_uint_t to size_t for use of mp_obj_list_get.
6 years ago
Damien George 29424304d9 unix: Use mp_obj_str_get_str instead of mp_obj_str_get_data.
6 years ago
Krzysztof Blazewicz 75589272ef all/Makefile: Remove -ansi from GCC flags, its ignored anyway.
6 years ago
Damien George 74faf4c5fc unix/coverage: Enable scheduler and add tests for it.
6 years ago
Damien George c138b21ceb unix: Use mp_handle_pending() in time.sleep().
6 years ago
Rami Ali 77cbd173df tests: Improve binary.c test coverage.
6 years ago
Damien George 33a77ea25f unix/main: Refactor to put lexer constructors all in one place.
6 years ago
Paul Sokolovsky fe866d996f unix/moduselect: Properly implement ipoll object iteration.
6 years ago
Damien George 5e83a75c78 unix: Remove remaining, obsolete traces of GNU readline support.
6 years ago
Damien George f1ea3bc72b unix/modmachine: Add Signal class to machine module.
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
Damien George ae8d867586 py: Add iter_buf to getiter type method.
6 years ago