1. 05 May, 2015 1 commit
  2. 07 Feb, 2015 1 commit
    • Damien George's avatar
      py: Protect mp_parse and mp_compile with nlr push/pop block. · 0bfc7638
      Damien George authored
      To enable parsing constants more efficiently, mp_parse should be allowed
      to raise an exception, and mp_compile can already raise a MemoryError.
      So these functions need to be protected by an nlr push/pop block.
      
      This patch adds that feature in all places.  This allows to simplify how
      mp_parse and mp_compile are called: they now raise an exception if they
      have an error and so explicit checking is not needed anymore.
      0bfc7638
  3. 16 Jan, 2015 1 commit
  4. 14 Jan, 2015 1 commit
  5. 07 Jan, 2015 1 commit
  6. 01 Jan, 2015 1 commit
  7. 28 Nov, 2014 1 commit
  8. 27 Nov, 2014 1 commit
  9. 05 Oct, 2014 1 commit
  10. 04 Aug, 2014 1 commit
  11. 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
  12. 02 May, 2014 1 commit
  13. 08 Apr, 2014 1 commit
  14. 06 Apr, 2014 1 commit
  15. 30 Mar, 2014 1 commit
    • Damien George's avatar
      Rename rt_* to mp_*. · d17926db
      Damien George authored
      Mostly just a global search and replace.  Except rt_is_true which
      becomes mp_obj_is_true.
      
      Still would like to tidy up some of the names, but this will do for now.
      d17926db
  16. 27 Mar, 2014 1 commit
  17. 15 Feb, 2014 1 commit
    • Damien George's avatar
      Implement proper exception type hierarchy. · c5966128
      Damien George authored
      Each built-in exception is now a type, with base type BaseException.
      C exceptions are created by passing a pointer to the exception type to
      make an instance of.  When raising an exception from the VM, an
      instance is created automatically if an exception type is raised (as
      opposed to an exception instance).
      
      Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper.
      
      Handling of parse error changed to match new exceptions.
      
      mp_const_type renamed to mp_type_type for consistency.
      c5966128
  18. 06 Feb, 2014 1 commit
  19. 22 Jan, 2014 1 commit
  20. 19 Jan, 2014 1 commit
  21. 18 Jan, 2014 1 commit
  22. 15 Jan, 2014 1 commit
  23. 07 Jan, 2014 2 commits
  24. 06 Jan, 2014 2 commits
  25. 03 Jan, 2014 1 commit
  26. 29 Dec, 2013 1 commit