3388 Commits (90e1303b2df1bc1967ae5403a0456512f10b3782)

Author SHA1 Message Date
Damien George 9f241ef398 py: Optimise call to mp_arg_check_num by compressing fun signature. 6 years ago
Damien George 4f3d9429b5 py: Fix native functions so they run with their correct globals context. 6 years ago
Damien George f2de9d60f7 py/emitnative: Fix try-finally in outer scope, so finally is cancelled. 6 years ago
Paul Sokolovsky 674e069ba9 py/objarray: bytearray: Allow 2nd/3rd arg to constructor. 6 years ago
Paul Sokolovsky 5fe3730a30 extmod/moduhashlib: Add md5 implementation, using axTLS. 6 years ago
stijn 89516b2b62 py/runtime: Fix incorrect test for MICROPY_PORT_DEINIT_FUNC. 6 years ago
Damien George 0be2ea50e9 py/py.mk: Build axtls library directly from its source files. 6 years ago
Damien George 8014e7f15f py/compile: Factor code that compiles start/end of exception handler. 6 years ago
Damien George 4ae7111573 py/emitnative: Add support for return/break/continue in try and with. 6 years ago
Damien George 3cd2c281d7 py/emitnative: Cancel caught exception once handled to prevent reraise. 6 years ago
Damien George b735208403 py/vm: Fix handling of finally-return with complex nested finallys. 6 years ago
Damien George 4f9842ad80 py/emitnx86: Fix number of args passed to mp_setup_code_state, 4 not 5. 6 years ago
Damien George 794c32102e py/asmxtensa: Use narrow version of add instr to reduce native code size 6 years ago
Damien George a0a29724c8 py/emitnative: Fix bug with store of 16 and 32 values in viper ARM mode. 6 years ago
Damien George 1ad44acb15 py/asmxtensa: Optimise loading local addr and support larger offsets. 6 years ago
Damien George fd10a11c6b py/asmxtensa: Fix bug with order of regs in addi encoding. 6 years ago
Damien George a3de776486 py/emitnative: Optimise and improve exception handling in native code. 6 years ago
Damien George 2964b41c28 py/asm*: Support assembling code to jump to a register, and get PC+off. 6 years ago
Damien George f7d6108d1a py/asmxtensa: Handle function entry/exit when stack use larger than 127. 6 years ago
Damien George 8c49995398 py/emitnative: Use small tables to simplify handling of local regs. 6 years ago
Damien George b8b2525576 extmod/modbtree: Update to work with new mp_stream_posix_XXX signatures. 6 years ago
Damien George 9ab816d676 py/stream: Adjust mp_stream_posix_XXX to take void*, not mp_obj_t. 6 years ago
Damien George a785a3dbfb py/objarray: Allow to build again when bytearray is disabled. 6 years ago
Damien George 91041945c9 py/gc: In gc_alloc, reset n_free var right before search for free mem. 6 years ago
Paul Sokolovsky bb28fe7b7b py/py.mk: Don't hardcode path to libaxtls.a. 6 years ago
Damien George cbec17f2cd py/compile: For dynamic compiler, widen literal 1 to get correct shift. 6 years ago
Damien George 17b512020b py/emitnative: Allocate space for local stack info as it's needed. 6 years ago
Damien George 652a58698e py/emitnative: Simplify handling of exception objects from nlr_buf_t. 6 years ago
Damien George 3bef7bd782 py/emitnative: Fix native locals stack to start at correct location. 6 years ago
Damien George 1c0bd46d1d py/asmx86: Use generic emit function to simplify cmp emit function. 6 years ago
Damien George 10830059c5 py/emitnative: Fix x86 native zero checks by comparing full word. 6 years ago
Damien George 4b1e8bdebd py/emitnative: Factor common code for native jump helper. 6 years ago
Damien George b630dfcc1d py: Fix compiling with debug enabled and make more use of DEBUG_printf. 6 years ago
Damien George da2d2b6d88 py/mpconfig.h: Introduce MICROPY_DEBUG_PRINTER for debugging output. 6 years ago
Damien George 1e3a7f561f py/asmthumb: Optimise native code calling runtime glue functions. 6 years ago
Damien George aec6fa9160 py/objstr: In format error message, use common string with %s for type. 6 years ago
Damien George 7a4f1b00f6 py/stream: Introduce MP_STREAM_GET_FILENO ioctl request. 6 years ago
Damien George e94d644a81 py/runtime: Use mp_obj_new_int_from_ll when return int is not small. 6 years ago
Damien George 8c9c167dc6 py/emitnative: Optimise for iteration asm code for non-debug build. 6 years ago
Damien George e2e22e3d7e py/objgenerator: Implement __name__ with normal fun attr accessor code. 6 years ago
Damien George fcf621b066 py/malloc: Give a compile warning if using finaliser without GC. 6 years ago
Damien George 4a1edd8382 py/obj.h: Give compile error if using obj repr D with single-prec float. 6 years ago
Damien George 4cd853fbd2 py/objmodule: Make mp_obj_module_get_globals an inline function. 6 years ago
Damien George d9cdb880ff py/objdict: Make mp_obj_dict_get_map an inline function. 6 years ago
Damien George a6ea6b08bc py: Simplify some cases of accessing the map of module and type dict. 6 years ago
Nicko van Someren d66c33cbd6 py/obj.h: Fix broken build for object repr C when float disabled. 6 years ago
Damien George b488a4a848 py/objgenerator: Eliminate need for mp_obj_gen_wrap wrapper instances. 6 years ago
Damien George e30a5fc7bc extmod/modure: Add ure.sub() function and method, and tests. 7 years ago
Damien George 1e9b871d29 extmod/modure: Add match.span(), start() and end() methods, and tests. 7 years ago
Damien George 1f86460910 extmod/modure: Add match.groups() method, and tests. 7 years ago