49 Commits (d86020ac4f6379fa14e1086b1d28e9e080c2a934)

Author SHA1 Message Date
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
Paul Sokolovsky 76d982ef34 type->print(): Distinguish str() and repr() variety by passing extra param. 11 years ago
John R. Lenton 189c8e1cc4 Fixed the merge so it worked and compiled and stuff 11 years ago
John R. Lenton 7244a14439 oops, nasty off-by-one in set_copy 11 years ago
John R. Lenton be790f94d5 Implemented set binary ops. 11 years ago
John R. Lenton 0de386bffe Implemented set.update 11 years ago
John R. Lenton ae00d334c6 Implemented set.remove 11 years ago
John R. Lenton 4a08067c0c Implemented set.isdisjoint 11 years ago
John R. Lenton f1ae6b48fb Implemented set.intersection and set.intersection_update 11 years ago
John R. Lenton 032129f3b5 Implemented set.difference and set.difference_update 11 years ago
John R. Lenton 2a24172cdc Implemented set.discard 11 years ago
John R. Lenton 3b0bd87906 Implemented set.copy 11 years ago
John R. Lenton 1d7fb2f21b Implemented set.clear 11 years ago
John R. Lenton 19b14d3d8a Implemented set.add 11 years ago
John R. Lenton 0ce03b48a0 make sets iterable 11 years ago
John R. Lenton c1bef21920 Implemented support for `in` and `not in` operators. 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 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
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