72 Commits (12dd8df3756d58af2f4d1f54eefd90f1ce1e0dbe)

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 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 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 8212d97317 py: Use polymorphic iterator type where possible to reduce code size. 9 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
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
Paul Sokolovsky 8b3b2d04a8 objset: frozensets are hashable. 9 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George d1cee02783 py: Clarify API for map/set lookup when removing&adding at once. 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 93965e726f py: Make map, dict, set use mp_int_t/mp_uint_t exclusively. 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 bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George 3ebd4d0cae py: Add option to disable set() object (enabled by default). 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago
Damien George 6ac5dced24 py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 11 years ago
Damien George 1d34e32431 py: frozenset() creates an empty frozenset. 11 years ago
Paul Sokolovsky d80e2476c7 py: Disable frozenset by default, enable on unix. 11 years ago
Paul Sokolovsky b181b581aa objset: Give up and implement frozenset. 11 years ago
Damien George d0a5bf34f7 py: Tidy up returning NULL which should be MP_OBJ_NOT_SUPPORTED. 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
Paul Sokolovsky 68e7c5146c py: Factor out impl of special methods for builtin types into opmethods.c 11 years ago
Paul Sokolovsky 036ad76659 objset: Implement __contains__() op-method. 11 years ago
Damien George 8f19317540 py: Remove useless implementations of NOT_EQUAL in binary_op's. 11 years ago
Paul Sokolovsky 46bd12d57e objset: Fix incorrect workaround against mp_set_init() munging alloc size. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George 95004e5114 py: Fix delete operation on map/dict and set objects. 11 years ago
Paul Sokolovsky f7eaf605c0 py: Fix "TypeError: 'iterator' object is not iterable", doh. 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 3e1a5c10c5 py: Rename old const type objects to mp_type_* for consistency. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 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
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
Damien George 9aa2a527b5 py: Tidy up BINARY_OPs; negation done by special NOT bytecode. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Damien George a11ceca807 Change int to uint for n_args in function with variable arguments. 11 years ago
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays. 11 years ago