1. 01 Jul, 2014 1 commit
  2. 21 Jun, 2014 1 commit
  3. 18 Jun, 2014 2 commits
  4. 16 Jun, 2014 1 commit
  5. 13 Jun, 2014 2 commits
  6. 05 Jun, 2014 1 commit
  7. 10 May, 2014 1 commit
  8. 03 May, 2014 1 commit
    • Damien George's avatar
      Add license header to (almost) all files. · 04b9147e
      Damien George authored
      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/.
      04b9147e
  9. 26 Apr, 2014 1 commit
  10. 25 Apr, 2014 2 commits
    • Damien George's avatar
      py, gc: Zero out newly allocated blocks in the GC. · daab651c
      Damien George authored
      Also add some more debugging output to gc_dump_alloc_table().
      
      Now that newly allocated heap is always zero'd, maybe we just make this
      a policy for the uPy API to keep it simple (ie any new implementation of
      memory allocation must zero all allocations).  This follows the D
      language philosophy.
      
      Before this patch, a previously used memory block which had pointers in
      it may still retain those pointers if the new user of that block does
      not actually use the entire block.  Eg, if I want 5 blocks worth of
      heap, I actually get 8 (round up to nearest 4).  Then I never use the
      last 3, so they keep their old values, which may be pointers pointing to
      the heap, hence preventing GC.
      
      In rare (or maybe not that rare) cases, this leads to long, unintentional
      "linked lists" within the GC'd heap, filling it up completely.  It's
      pretty rare, because you have to reuse exactly that memory which is part
      of this "linked list", and reuse it in just the right way.
      
      This should fix issue #522, and might have something to do with
      issue #510.
      daab651c
    • Damien George's avatar
  11. 20 Apr, 2014 4 commits
  12. 09 Apr, 2014 1 commit
  13. 08 Apr, 2014 1 commit
  14. 05 Apr, 2014 2 commits
  15. 03 Apr, 2014 1 commit
  16. 02 Apr, 2014 2 commits
  17. 17 Mar, 2014 1 commit
    • xbe's avatar
      py: Clean up includes. · efe34223
      xbe authored
      Remove unnecessary includes. Add includes that improve portability.
      efe34223
  18. 12 Mar, 2014 2 commits
  19. 07 Mar, 2014 1 commit
  20. 06 Mar, 2014 2 commits
  21. 05 Mar, 2014 1 commit
  22. 26 Feb, 2014 2 commits
  23. 16 Feb, 2014 1 commit
  24. 12 Feb, 2014 1 commit
  25. 11 Feb, 2014 3 commits
  26. 24 Jan, 2014 2 commits