1. 26 Jun, 2014 1 commit
  2. 21 Jun, 2014 1 commit
  3. 19 Jun, 2014 1 commit
  4. 14 Jun, 2014 1 commit
  5. 03 Jun, 2014 1 commit
  6. 02 Jun, 2014 1 commit
  7. 21 May, 2014 1 commit
    • Damien George's avatar
      Tidy up some configuration options. · 58ebde46
      Damien George authored
      MP_ALLOC_* -> MICROPY_ALLOC_*
      MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX
      MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL
      MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX
      MICROPY_EXTRA_* -> MICROPY_PORT_*
      
      See issue #35.
      58ebde46
  8. 12 May, 2014 1 commit
    • Damien George's avatar
      py: Add support for __debug__ constant. · 97f9a281
      Damien George authored
      __debug__ now resolves to True or False.  Its value needs to be set by
      mp_set_debug().
      
      TODO: call mp_set_debug in unix/ port.
      
      TODO: optimise away "if False:" statements in compiler.
      97f9a281
  9. 10 May, 2014 1 commit
  10. 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
  11. 10 Apr, 2014 2 commits
  12. 17 Mar, 2014 1 commit
    • xbe's avatar
      py: Clean up includes. · efe34223
      xbe authored
      Remove unnecessary includes. Add includes that improve portability.
      efe34223
  13. 15 Mar, 2014 1 commit
  14. 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
  15. 12 Feb, 2014 1 commit
  16. 25 Jan, 2014 1 commit
  17. 23 Jan, 2014 1 commit
  18. 22 Jan, 2014 2 commits
  19. 21 Jan, 2014 1 commit
  20. 18 Jan, 2014 1 commit
  21. 15 Jan, 2014 1 commit
  22. 13 Jan, 2014 1 commit
    • Paul Sokolovsky's avatar
      Add "buffer management" and "shrink" API calls to vstr. · 5d2499c6
      Paul Sokolovsky authored
      vstr is initially intended to deal with arbitrary-length strings. By
      providing a bit lower-level API calls, it will be also useful to deal
      with arbitrary-length I/O buffers (the difference from strings is that
      buffers are filled from "outside", via I/O).
      
      Another issue, especially aggravated by I/O buffer use, is alloc size
      vs actual size length. If allocated 1Mb for buffer, but actually
      read 1 byte, we don't want to keep rest of 1Mb be locked by this I/O
      result, but rather return it to heap ASAP ("shrink" buffer before passing
      it to qstr_from_str_take()).
      5d2499c6
  23. 12 Jan, 2014 1 commit
  24. 06 Jan, 2014 2 commits
  25. 04 Jan, 2014 1 commit
  26. 30 Dec, 2013 1 commit
  27. 29 Dec, 2013 1 commit
  28. 21 Dec, 2013 1 commit
    • Damien's avatar
      Change object representation from 1 big union to individual structs. · d99b0528
      Damien authored
      A big change.  Micro Python objects are allocated as individual structs
      with the first element being a pointer to the type information (which
      is itself an object).  This scheme follows CPython.  Much more flexible,
      not necessarily slower, uses same heap memory, and can allocate objects
      statically.
      
      Also change name prefix, from py_ to mp_ (mp for Micro Python).
      d99b0528
  29. 22 Oct, 2013 2 commits
  30. 20 Oct, 2013 2 commits
  31. 18 Oct, 2013 1 commit
  32. 09 Oct, 2013 1 commit
  33. 04 Oct, 2013 1 commit