117 Commits (72732fea1a041b94448d98ad4fd53545caa758ab)

Author SHA1 Message Date
Damien George dd11af209d py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 8 years ago
Damien George 64a4f11b2d py: Remove MP_STATE_CTX, use MP_STATE_THREAD instead (it's an alias). 8 years ago
Damien George 6e74d24f30 py: Add micropython.schedule() function and associated runtime code. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George 4e3bac2e42 py/runtime: Convert mp_uint_t to size_t where appropriate. 8 years ago
Paul Sokolovsky 037e6912c6 py/objtype: Implement __call__ handling for an instance w/o heap alloc. 8 years ago
Damien George 3a0a771730 py: Add mp_raise_OSError(errno) helper function. 8 years ago
Damien George e97df97600 py: Shrink mp_arg_t struct by using reduced-size integer members. 8 years ago
Damien George 1a0d3fd632 py/runtime.h: Move comment about mp_not_implemented to correct place. 8 years ago
Paul Sokolovsky 8c50f93a41 py/runtime.h: Define mp_check_self(pred) helper macro. 8 years ago
Paul Sokolovsky 9e1b61dedd py/runtime: Factor out exception raising helpers. 8 years ago
Paul Sokolovsky 6d103b6548 py: Move call_function_*_protected() functions to py/ for reuse. 9 years ago
Damien George e7cd1699df py/argcheck: Use size_t instead of mp_uint_t to count number of args. 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
Damien George 59fba2d6ea py: Remove mp_load_const_bytes and instead load precreated bytes object. 10 years ago
Damien George ed570e4b2a py: Remove mp_load_const_str and replace uses with inlined version. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 12a5e17afb py: Add finer configuration of static funcs when not in stackless mode. 10 years ago
Paul Sokolovsky 7f1c98177b vm: Support strict stackless mode, with proper exception reporting. 10 years ago
Paul Sokolovsky e6c6fe3275 runtime: Split mp_call_prepare_args_n_kw_var() from mp_call_method_n_kw_var(). 10 years ago
Damien George 55b74d1ff5 py: Combine duplicated code that converts members from a lookup. 10 years ago
Damien George e1e359ff59 py: Put mp_sys_path, mp_sys_argv and gc_collected in mp_state_ctx_t. 10 years ago
Damien George a5efcd4745 py: Specify unary/binary op name in TypeError error message. 10 years ago
Damien George b6e6b5277f py: Implement proper re-raising in native codegen's finally handler. 10 years ago
Damien George 50912e7f5d py, unix, stmhal: Allow to compile with -Wshadow. 10 years ago
Damien George b4b10fd350 py: Put all global state together in state structures. 10 years ago
Paul Sokolovsky 8a8c1fc82f py: Add basic framework for issuing compile/runtime warnings. 10 years ago
Damien George 7f23384d49 py: Make terse_arg_mismatch a global function and use it elsewhere. 10 years ago
Damien George 9ddbe291c4 py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper. 10 years ago
Damien George b6b34cd3f6 py: Remove obsolute function declaration. 10 years ago
Damien George 124df6f8d0 py: Add mp_pending_exception global variable, for VM soft interrupt. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Damien George 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data. 10 years ago
Damien George 86de21b810 py: Viper can call functions with native types, and raise exceptions. 10 years ago
Damien George e6c0dff967 py: Viper can now store to global. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky 7e4a2b0edc py: Add generic mp_not_implemented() func to use instead of assert(). 11 years ago
Paul Sokolovsky d3439d0c60 py: Instead of having "debug on" var, have "optimization level" var. 11 years ago
Damien George 503d611033 py: Implement long int parsing in int(...). 11 years ago
Damien George 97f9a2813e py: Add support for __debug__ constant. 11 years ago
Damien George 491cbd6a7c py: Add keyword arg support to enumerate constructor. 11 years ago
Paul Sokolovsky 47d3bd3b31 py: enumerate(): Add NotImplementedError for kwargs. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George dbc81df5d4 Simplify names for argcheck.c / arg parsing. 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 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Damien George df8127a17e py: Remove unique_codes from emitglue.c. Replace with pointers. 11 years ago
Paul Sokolovsky 5500cdeec7 py, unix: Convert sys module to static representation. 11 years ago