51 Commits (6caca3259f4ec8f298b1d35f15e4492efbcff6b1)

Author SHA1 Message Date
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
stijn 861670ba2a py: Implement mp_format_float for doubles and use where appropriate 10 years ago
stijn 709955b601 py: Fix printing of complex number when imaginary part is nan 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George b1bbe966c4 py: Combine load_attr and store_attr type methods into one (attr). 10 years ago
Damien George 7d414a1b52 py: Parse big-int/float/imag constants directly in parser. 10 years ago
Damien George f49782f005 py: Fix cmath.log10; fix printing of complex number with negative imag. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 30d8a82220 py: Allow to compile with -Wredundant-decls. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 20beff9ae3 py and libm: Add asinf,acosf; print higher precision for float. 10 years ago
Damien George d182b98a37 py: Change all uint to mp_uint_t in obj.h. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George f20375eedd py: Add .real and .imag attributes to complex numbers. 10 years ago
Paul Sokolovsky 3b6f7b95eb py: Separate MICROPY_PY_BUILTINS_COMPLEX from MICROPY_PY_BUILTINS_FLOAT. 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Damien George 6ac5dced24 py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 11 years ago
Damien George ee7a880d6e py: Use mp_arg_check_num in more places. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George b8a053aeb1 py: Implement float and complex == and !=. 11 years ago
Damien George ae491055fa py: Fix float/complex binop returning NULL; implement complex power. 11 years ago
Damien George 5589db88c7 py: Implement complex division. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 6e54fcfd12 py: Fix typo printing complex numbers that are purely imaginary. 11 years ago
Damien George 01b877d16d py: Fix typo printing complex numbers. 11 years ago
Damien George 8767d0710e py: complex_print uses format_float if single precision fp used. 11 years ago
Damien George 6e48f7fa85 py: Allow 'complex()' to take a string as first argument. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 0c36da0b59 Implement ROMable modules. Add math module. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Damien George 099a9cb575 Remove mp_obj_new_exception_msg_1_arg and _2_arg. 11 years ago
Paul Sokolovsky d5df6cd44a Replace global "static" -> "STATIC", to allow "analysis builds". Part 1. 11 years ago
Paul Sokolovsky c1d9bbc345 Implement __bool__ and __len__ via unary_op virtual method for all types. 11 years ago
mux 00a4da93e8 Fix implicit double conversion warning 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays. 11 years ago
Paul Sokolovsky 76d982ef34 type->print(): Distinguish str() and repr() variety by passing extra param. 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
Damien George 1a9951d5aa py: Fix up number operations and coercion. 11 years ago
John R. Lenton c06763a020 This implements a better (more python-conformant) list.sort. 11 years ago
Damien George e2e3d11e87 py: Fix up number operations and coercion. 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago