2 Commits (397697aa8368f45bd0794e22a25083e9e18e3cfe)

Author SHA1 Message Date
Jim Mussared 2eba98f1e0 all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins. 1 year ago
Jim Mussared 45ac651d1a all: Rename *umodule*.c to remove the "u" prefix. 2 years ago
Jim Mussared f5f9edf645 all: Rename UMODULE to MODULE in preprocessor/Makefile vars. 2 years ago
Jim Mussared 7f5d5c7271 all: Rename mod_umodule*, ^umodule* to remove the "u" prefix. 2 years ago
Jim Mussared 1bf2dcb15e all: Rename mp_umodule*, mp_module_umodule* to remove the "u" prefix. 2 years ago
Jim Mussared 30628d1bb7 all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere. 2 years ago
Jim Mussared 3a910b1565 py/objstr: Optimise mp_obj_new_str_from_vstr for known-safe strings. 2 years ago
Jim Mussared 8a0ee5a5c0 py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2 years ago
Damien George 627ba38154 py/parsenum: Optimise when building with complex disabled. 2 years ago
Damien George efe23aca71 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
Jim Mussared 4eab44a1ec extmod: Make extmod modules use MP_REGISTER_MODULE. 3 years ago
Peter Züger ffc854f17f extmod/modujson: Add support for dump/dumps separators keyword-argument. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George bfbd94401d py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t. 5 years ago
Damien George 2dfa69efbb extmod/modujson: Support passing bytes/bytearray to json.loads. 5 years ago
Damien George 7c5cf59f8b extmod/modujson: Handle parsing of floats with + in the exponent. 6 years ago
Damien George e8398a5856 extmod: Update to use new mp_get_stream helper. 6 years ago
Damien George d9bca1f7bd extmod/modujson: Implement ujson.dump() function. 7 years ago
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Damien George f110dbd795 extmod/modujson: Properly initialise temporary StringIO object. 7 years ago
Damien George 204ded848e extmod: Update for changes to mp_obj_str_get_data. 8 years ago
Damien George f2f8ae110b extmod/modujson: Fix nanbox build. 8 years ago
Damien George e93c1ca5da extmod/modujson: Implement ujson.load() to load JSON from a stream. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 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
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 1ef26b35c1 py, extmod: Remove include of unnecessary system headers. 10 years ago
Damien George 7d414a1b52 py: Parse big-int/float/imag constants directly in parser. 10 years ago
Damien George 5f64dc55d8 extmod: Make ujson.loads raise exception if given empty string. 10 years ago
Damien George 0d3cb6726d py: Change vstr so that it doesn't null terminate buffer by default. 10 years ago
Paul Sokolovsky 444331c07f modujson: .loads(): Handle more whitespace characters. 10 years ago
Damien George 3765ea419a extmod: Prefix py/ for includes from py core directory. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George 2c180f7ccc extmod, ujson: Add test and comment for loads. 10 years ago
Damien George df1e92ba3a extmod, ujson: Add \uxxxx parsing in json strings. 10 years ago
Damien George fa2f1f72e0 extmod, ujson: Slight reduction in code size. 10 years ago
Damien George 89e4657c69 extmod: Add loads to ujson module. 10 years ago
Damien George 612045f53f py: Add native json printing using existing print framework. 10 years ago
Paul Sokolovsky cb78f862cb py: Allow to disable array module and bytearray type. 11 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago