1. 07 May, 2014 1 commit
  2. 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/.
  3. 26 Apr, 2014 1 commit
  4. 20 Apr, 2014 1 commit
  5. 17 Apr, 2014 3 commits
  6. 13 Apr, 2014 1 commit
  7. 08 Apr, 2014 1 commit
  8. 05 Apr, 2014 1 commit
    • Damien George's avatar
      py: Replace stream_p with *stream_p in mp_obj_type_t. · 27e735fd
      Damien George authored
      This is to reduce ROM usage.  stream_p is used in file and socket types
      only (at the moment), so seems a good idea to make the protocol
      functions a pointer instead of the actual structure.
      It saves 308 bytes of ROM in the stmhal/ port, 928 in unix/.
  9. 29 Mar, 2014 1 commit
  10. 26 Mar, 2014 1 commit
  11. 15 Feb, 2014 2 commits
    • 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.
    • Damien George's avatar
      Change mp_obj_type_t.name from const char * to qstr. · a71c83a1
      Damien George authored
      Ultimately all static strings should be qstr.  This entry in the type
      structure is only used for printing error messages (to tell the type of
      the bad argument), and printing objects that don't supply a .print method.
  12. 08 Feb, 2014 1 commit
    • Paul Sokolovsky's avatar
      Rename "rawsocket" module to "microsocket". · 9945f338
      Paul Sokolovsky authored
      It's no longer intended to provide just "raw" socket interface, may include
      some convenience methods for compatibility with CPython socket - but anyway
      just minimal set required to deal with socket client and servers, not wider
      network functionality.
  13. 04 Feb, 2014 1 commit
  14. 21 Jan, 2014 1 commit