27 Commits (40cc7ec677e962c47db567479e42c27ed8911ff6)

Author SHA1 Message Date
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
Damien George caac542b23 Proper support for registering builtin modules in ROM. 11 years ago