| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-06-28 | py/nlrsetjmp: Update to take into account new location of nlr_top. | Damien George | |
| It's now accessed via the MP_STATE_THREAD macro. | |||
| 2015-11-29 | py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. | Damien George | |
| This allows the mp_obj_t type to be configured to something other than a pointer-sized primitive type. This patch also includes additional changes to allow the code to compile when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of mp_uint_t, and various casts. | |||
| 2015-03-03 | py: Guard against redef of nlr_push with DEBUG + MICROPY_NLR_SETJMP. | stijn | |
| 2015-02-15 | nlr: Add even more optional debugging logging. | Paul Sokolovsky | |
| Has to be enabled by manual editing, but at least it's there, as debugging NLR issues may be weird. | |||
| 2015-02-15 | nlr: If DEBUG, guard against recursive nlr_push(). | Paul Sokolovsky | |
| Pushing same NLR record twice would lead to "infinite loop" in nlr_jump (but more realistically, it will crash as soon as NLR record on stack is overwritten). | |||
| 2015-01-07 | py: Put all global state together in state structures. | Damien George | |
| This patch consolidates all global variables in py/ core into one place, in a global structure. Root pointers are all located together to make GC tracing easier and more efficient. | |||
| 2015-01-01 | py: Move global variable nlr_top to one place, in a .c file. | Damien George | |
| This reduces dependency on assembler, and allows to consolidate global variables in the future. | |||
| 2015-01-01 | py: Move to guarded includes, everywhere in py/ core. | Damien George | |
| Addresses issue #1022. | |||
| 2014-11-27 | py: Add NLR support for xtensa CPU. | Damien George | |
| 2014-11-05 | py: Fix some macros defines; cleanup some includes. | Damien George | |
| 2014-06-22 | py: Support arm and thumb ARM ISAs, in addition to thumb2. | Paul Sokolovsky | |
| These changes were tested with QEMU, and by few people of real hardware. | |||
| 2014-06-19 | Add missing “assert.h” file header inclusion from “nlr.h” | Emmanuel Blot | |
| 2014-05-03 | Add license header to (almost) all files. | Damien George | |
| Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/. | |||
| 2014-05-02 | py, unix: Make "mpconfig.h" be first included, as other headers depend on it. | Paul Sokolovsky | |
| Specifically, nlr.h does. | |||
| 2014-04-30 | py: Abstract no-return attribute for functions a bit. | Paul Sokolovsky | |
| 2014-04-30 | nlr.h: As we treat all warnings as errors, can't use #warning. | Paul Sokolovsky | |
| And this is not good. | |||
| 2014-04-17 | nlr: Add implementation using setjmp/longjmp. | Paul Sokolovsky | |
| Having an optimized asm implementation is good, but if we want portability, that's it. | |||
| 2014-04-08 | Add a check for NULL nlr_top in nlr_jump. | Damien George | |
| If no nlr_buf has been pushed, and an nlr_jump is called, then control is transferred to nlr_jump_fail (which should bail out with a fatal error). | |||
| 2014-04-05 | py: Change nlr_jump to nlr_raise, to aid in debugging. | Damien George | |
| This does not affect code size or performance when debugging turned off. To address issue #420. | |||
| 2014-04-03 | Changes to get unix/ port compiling on Cygwin. | Damien George | |
| 2014-03-01 | nlr.h: Do proper arch selection, using the same tests as nlr*.S . | Paul Sokolovsky | |
| 2013-10-23 | Fix func decls with no arguments: () -> (void). | Damien | |
| 2013-10-16 | NLR and Python exceptions work on the board. | Damien | |
| 2013-10-15 | Implement basic exception framework, and simple for loop. | Damien | |
