24 Commits (3fd2d7fad2022e3f26304fbc6ad74e6d8dd66e5f)

Author SHA1 Message Date
Damien George 2bfd2dc770 py: Revert revert for allocation policy of set hash table. 11 years ago
Damien George c75427baaa py: Revert change to allocation policy for mp_set_t. 11 years ago
Paul Sokolovsky 5fedd0c3b7 py: Fix dict.copy() and low-level map/set allocation. 11 years ago
Damien George d0e824387e py: Make mp_map_lookup not allocate memory on removal. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Damien George 95004e5114 py: Fix delete operation on map/dict and set objects. 11 years ago
Paul Sokolovsky 4a088f4b61 map: When removing a key, don't NULL the entry, but mark as deleted. 11 years ago
Paul Sokolovsky e3f58c8380 map: Add mp_map_dump() (#ifdef'ed) to be handy when debugging maps. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 11 years ago
Damien George 9a58d760c3 py: Allow mp_map_t to be initialised by a fixed-size, const table. 11 years ago
Paul Sokolovsky 9a24a0465f Add mp_map_deinit() & mp_map_free() to finalize maps. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
John R. Lenton ae00d334c6 Implemented set.remove 11 years ago
John R. Lenton 2a24172cdc Implemented set.discard 11 years ago
John R. Lenton 1d7fb2f21b Implemented set.clear 11 years ago
Damien George 38a2da68c2 py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. 11 years ago
John R. Lenton be8fe5be2e Added dict.setdefault 11 years ago
John R. Lenton 0fcbaa442f implemented dict.pop 11 years ago
John R. Lenton 4ce6ceadca Added dict.clear. 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Damien 732407f1bf Change memory allocation API to require size for free and realloc. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien 660365e14c py: split runtime into map, obj, builtin. 11 years ago