| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-07-31 | all: Use the name MicroPython consistently in comments | Alexander Steffen | |
| There were several different spellings of MicroPython present in comments, when there should be only one. | |||
| 2016-11-02 | unix: fix symbol references for x86 Mac | Jan Pochyla | |
| 2016-06-28 | unix/gccollect: Provide declaration of exported function. | Damien George | |
| 2016-06-28 | unix: Implement garbage collection with threading. | Damien George | |
| This patch allows any given thread to do a proper garbage collection and scan all the pointers of all active threads. | |||
| 2016-06-28 | py: Add MP_STATE_THREAD to hold state specific to a given thread. | Damien George | |
| 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-11-08 | unix/gccollect: Fallback to setjmp-based register fetching automatically. | Paul Sokolovsky | |
| Now, if we build for an architecture which doesn't have dedicated support for getting registers for GC scanning, fallback to setjmp-based method automatically. It's still possible to force setjmp-based implementation on archs with dedicated support (e.g. for testing, or for peculiar calling conventions/optimizations). | |||
| 2015-01-16 | unix: Add target to build "minimal" uPy interpreter. | Damien George | |
| 2015-01-14 | unix, windows: Don't call mp_unix_mark_exec on windows. | Damien George | |
| 2015-01-14 | py, unix: Trace root pointers with native emitter under unix port. | Damien George | |
| Native code has GC-heap pointers in it so it must be scanned. But on unix port memory for native functions is mmap'd, and so it must have explicit code to scan it for root pointers. | |||
| 2015-01-12 | py: Can compile with -Wmissing-declarations and -Wmissing-prototypes. | Damien George | |
| 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 | unix: Prefix includes with py/; remove need for -I../py. | Damien George | |
| 2014-12-10 | py: Make functions static where appropriate. | Damien George | |
| 2014-10-31 | py: Make gc.enable/disable just control auto-GC; alloc is still allowed. | Damien George | |
| gc.enable/disable are now the same as CPython: they just control whether automatic garbage collection is enabled or not. If disabled, you can still allocate heap memory, and initiate a manual collection. | |||
| 2014-07-03 | Rename machine_(u)int_t to mp_(u)int_t. | Damien George | |
| See discussion in issue #50. | |||
| 2014-07-01 | stackctrl: Add "mp_" prefix. | Paul Sokolovsky | |
| 2014-06-28 | unix: Fix mpconfig.h not being included before misc.h | stijn | |
| This fixes count_lead_ones in misc.h not compiling due to unknown types | |||
| 2014-06-22 | gc: Use simple cast instead of union to silence compiler | stijn | |
| 2014-06-22 | windows: Enable GC and implement bss start and end symbols | stijn | |
| The pointers to the bss section are acquired in init.c() by inspecting the PE header. Works for msvc and mingw. | |||
| 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-05 | unix: Add setjmp-based GC register helper implementation. | Paul Sokolovsky | |
| As I suspected for a long time, for x86, register helper doesn't really make any difference - there's simply not enough register to keep anything in them for any prolonged time. Anything gets pushed on stack anyway. So, on x86, uPy passed all tests even with empty reg helper. So, this setjmp implementation goes as "untested". | |||
| 2014-05-28 | unix/gccollect.c: Make Clang workaround apply only to it. Unbreaks gcc builds. | Paul Sokolovsky | |
| 2014-05-12 | unix: Add asm statements needed to read registers with clang. Code generated ↵ | Antonin ENFRUN | |
| by gcc 4.9.0 is unchanged (same statements, different order). Both are inefficient, saving unmodified registers on the stack. | |||
| 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-04-11 | unix: Update comment in gccollect.c | xbe | |
| 2014-04-03 | Changes to get unix/ port compiling on Cygwin. | Damien George | |
| 2014-03-16 | unix: Clean up includes. | xbe | |
| Remove unnecessary includes. Add includes that improve portability. | |||
| 2014-03-03 | unix: Add GC support for ARM architecture. | Paul Sokolovsky | |
| 2014-02-26 | GC: Fix printf formats for debugging; add gc_dump_alloc_table. | Damien George | |
| 2014-02-11 | More GC debugging improvements. | Paul Sokolovsky | |
| 2014-02-11 | unix: Implement garbage collection support. | Paul Sokolovsky | |
