1. 07 Jun, 2014 1 commit
  2. 05 Jun, 2014 1 commit
  3. 03 Jun, 2014 2 commits
  4. 01 Jun, 2014 3 commits
  5. 28 May, 2014 2 commits
  6. 21 May, 2014 1 commit
  7. 12 May, 2014 2 commits
  8. 11 May, 2014 2 commits
  9. 10 May, 2014 1 commit
  10. 09 May, 2014 1 commit
  11. 08 May, 2014 1 commit
    • stijn's avatar
      Windows MSVC port · 01d6be4d
      stijn authored
      Extend the windows port so it compiles with the toolchain from Visual Studio 2013
  12. 07 May, 2014 2 commits
  13. 03 May, 2014 2 commits
    • 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/.
    • stijn's avatar
      mingw: Fix number of exponent digits in floating point formatting · 72521a1c
      stijn authored
      By default mingw outputs 3 digits instead of the standard 2 so all float
      tests using printf fail. Using setenv at the start of the program fixes this.
      To accomodate calling platform specific initialization a
      MICROPY_MAIN_INIT_FUNC macro is used which is called in mp_init()
  14. 02 May, 2014 1 commit
  15. 25 Apr, 2014 1 commit
  16. 18 Apr, 2014 1 commit
  17. 17 Apr, 2014 3 commits
  18. 13 Apr, 2014 2 commits
    • Damien George's avatar
      py: Remove unique_codes from emitglue.c. Replace with pointers. · df8127a1
      Damien George authored
      Attempt to address issue #386.  unique_code_id's have been removed and
      replaced with a pointer to the "raw code" information.  This pointer is
      stored in the actual byte code (aligned, so the GC can trace it), so
      that raw code (ie byte code, native code and inline assembler) is kept
      only for as long as it is needed.  In memory it's now like a tree: the
      outer module's byte code points directly to its children's raw code.  So
      when the outer code gets freed, if there are no remaining functions that
      need the raw code, then the children's code gets freed as well.
      This is pretty much like CPython does it, except that CPython stores
      indexes in the byte code rather than machine pointers.  These indices
      index the per-function constant table in order to find the relevant
    • Paul Sokolovsky's avatar
  19. 12 Apr, 2014 2 commits
  20. 11 Apr, 2014 2 commits
  21. 10 Apr, 2014 1 commit
  22. 08 Apr, 2014 3 commits
  23. 06 Apr, 2014 1 commit
  24. 05 Apr, 2014 2 commits
    • Paul Sokolovsky's avatar
      py: Revert mp_load_attr() to its previous state (not supporting default val). · 36dd19ae
      Paul Sokolovsky authored
      Based on the discussion in #433. mp_load_attr() is critical-path function,
      so any extra check will slowdown any script. As supporting default val
      required only for getattr() builtin, move correspending implementation
      there (still as a separate function due to concerns of maintainability
      of such almost-duplicated code instances).
    • Damien George's avatar
      py: Make globals and locals proper dictionary objects. · 7efc5b3f
      Damien George authored
      Finishes addressing issue #424.
      In the end this was a very neat refactor that now makes things a lot
      more consistent across the py code base.  It allowed some
      simplifications in certain places, now that everything is a dict object.
      Also converted builtins tables to dictionaries.  This will be useful
      when we need to turn builtins into a proper module.