42 Commits (0a079155e46d588095e4419b1095fd4ae691ab50)

Author SHA1 Message Date
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 eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Damien George d77da83d55 py/objrange: Implement (in)equality comparison between range objects. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 58321dd985 all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 03659c51ca py/objrange: Fix slicing of range when step of slice is negative. 8 years ago
Damien George de9b53695d py: Raise a ValueError if range() step is zero. 8 years ago
Damien George c88cfe165b py: Use size_t as len argument and return type of mp_get_index. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
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
Tom Soulanille f1a9923308 py/objrange: Bugfix for range_subscr() when index is a slice object. 9 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
Peter D. Gray b2a237d337 py: Add support for start/stop/step attributes of builtin range object. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 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 bb91f1195a py: Improve range: add len, subscr, proper print. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 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 a3f94e0030 py: Add arg checking helper functions. 11 years ago
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George 71d3112f7e py: Make built-in 'range' a class. 11 years ago
Paul Sokolovsky f7eaf605c0 py: Fix "TypeError: 'iterator' object is not iterable", doh. 11 years ago
Damien George 66eaf84b8c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 11 years ago
xbe efe3422394 py: Clean up includes. 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
Paul Sokolovsky d5df6cd44a Replace global "static" -> "STATIC", to allow "analysis builds". Part 1. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
John R. Lenton c06763a020 This implements a better (more python-conformant) list.sort. 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Paul Sokolovsky 860ffb0a43 Convert many object types structs to use C99 tagged initializer syntax. 11 years ago
Damien George 71c5181a8d Convert Python types to proper Python type hierarchy. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago