1. 14 Mar, 2015 1 commit
  2. 03 Mar, 2015 1 commit
  3. 12 Jan, 2015 1 commit
  4. 10 Jan, 2015 1 commit
  5. 09 Jan, 2015 1 commit
  6. 08 Jan, 2015 1 commit
  7. 04 Jan, 2015 1 commit
  8. 20 Dec, 2014 1 commit
  9. 09 Dec, 2014 1 commit
    • Damien George's avatar
      py: Allow builtins to be overridden. · 78d702c3
      Damien George authored
      This patch adds a configuration option (MICROPY_CAN_OVERRIDE_BUILTINS)
      which, when enabled, allows to override all names within the builtins
      module.  A builtins override dict is created the first time the user
      assigns to a name in the builtins model, and then that dict is searched
      first on subsequent lookups.  Note that this implementation doesn't
      allow deleting of names.
      
      This patch also does some refactoring of builtins code, creating the
      modbuiltins.c file.
      
      Addresses issue #959.
      78d702c3
  10. 21 Nov, 2014 1 commit
  11. 16 Nov, 2014 1 commit
  12. 13 Oct, 2014 1 commit
  13. 06 Oct, 2014 1 commit
  14. 04 Oct, 2014 1 commit
  15. 22 Sep, 2014 1 commit
  16. 02 Sep, 2014 1 commit
  17. 24 Aug, 2014 1 commit
  18. 13 Aug, 2014 1 commit
    • stijn's avatar
      msvc: Use built-in alignof · 8cce8b7c
      stijn authored
      This also fixes a 'unnamed type definition in parentheses' warning on the
      alignof implementation define in binary.c
      8cce8b7c
  19. 03 Jul, 2014 1 commit
  20. 29 Jun, 2014 1 commit
    • stijn's avatar
      windows: Sync mpconfigport.h with the unix' version · ec6fa873
      stijn authored
      - rearrange/add definitions that were not there so it's easier to compare both
      - use MICROPY_PY_SYS_PLATFORM in main.c since it's available anyway
      - define EWOULDBLOCK, it is missing from ingw32
      ec6fa873
  21. 22 Jun, 2014 1 commit
  22. 08 Jun, 2014 2 commits
  23. 07 Jun, 2014 1 commit
  24. 01 Jun, 2014 1 commit
    • Damien George's avatar
      Rename bultins config variables to MICROPY_PY_BUILTINS_*. · fb510b3b
      Damien George authored
      This renames:
      MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET
      MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY
      MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE
      MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT
      
      See issue #35 for discussion.
      fb510b3b
  25. 27 May, 2014 1 commit
  26. 24 May, 2014 1 commit
  27. 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
  28. 11 May, 2014 1 commit
  29. 09 May, 2014 1 commit
  30. 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
      01d6be4d
  31. 07 May, 2014 1 commit
  32. 03 May, 2014 4 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/.
      04b9147e
    • 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()
      72521a1c
    • stijn's avatar
      mingw: Add implementation of realpath() · 4cd21dee
      stijn authored
      The mingw port used _fullpath() until now, but the behaviour is not exactly
      the same as realpath()'s on unix; major difference being that it doesn't
      return an error for non-existing files, which would bypass main's error
      checking and bail out without any error message.
      
      Also realpath() will return forward slashes only since main() relies on that.
      4cd21dee
    • stijn's avatar
      mingw: Add 'open' as extra builtin and add define MICROPY_MOD_SYS_STDFILES · 55131942
      stijn authored
      This one was probable missed when creating mpconfigport.h, but the underlying
      code (file.c) gets compiled and works perfectly so no reason to omit it.
      55131942
  33. 20 Apr, 2014 1 commit
  34. 07 Apr, 2014 1 commit
  35. 13 Mar, 2014 1 commit
  36. 28 Jan, 2014 1 commit