1. 10 Sep, 2016 1 commit
  2. 15 Aug, 2016 1 commit
  3. 25 Jun, 2016 1 commit
  4. 17 Jun, 2016 1 commit
  5. 14 Apr, 2016 1 commit
  6. 13 Apr, 2016 1 commit
  7. 29 Jan, 2016 1 commit
    • Paul Sokolovsky's avatar
      py/runtime: mp_stack_ctrl_init() should be called immediately on startup. · d3b1f0b6
      Paul Sokolovsky authored
      Calling it from mp_init() is too late for some ports (like Unix), and leads
      to incomplete stack frame being captured, with following GC issues. So, now
      each port should call mp_stack_ctrl_init() on its own, ASAP after startup,
      and taking special precautions so it really was called before stack variables
      get allocated (because if such variable with a pointer is missed, it may lead
      to over-collecting (typical symptom is segfaulting)).
      d3b1f0b6
  8. 26 Jan, 2016 1 commit
  9. 27 Dec, 2015 1 commit
  10. 17 Dec, 2015 1 commit
  11. 11 Dec, 2015 1 commit
  12. 24 Nov, 2015 1 commit
    • stijn's avatar
      windows/py: Support 64bit mingw-w64 builds · 3baf6b53
      stijn authored
      - add mp_int_t/mp_uint_t typedefs in mpconfigport.h
      - fix integer suffixes/formatting in mpconfig.h and mpz.h
      - use MICROPY_NLR_SETJMP=1 in Makefile since the current nlrx64.S
        implementation causes segfaults in gc_free()
      - update README
      3baf6b53
  13. 14 Nov, 2015 1 commit
  14. 31 Oct, 2015 2 commits
  15. 26 Oct, 2015 1 commit
  16. 25 Oct, 2015 1 commit
    • stijn's avatar
      windows: Add usleep() implementation for msvc port · ca9eb81d
      stijn authored
      Also make sleep.c self-contained by moving initialization code,
      instead of having part of the code in init.c, and add a header file
      to accomodate this.
      msec_sleep() now uses the usleep() implementation as well.
      ca9eb81d
  17. 23 Sep, 2015 1 commit
  18. 14 Aug, 2015 1 commit
    • stijn's avatar
      windows: Make unistd.h more posix compatible · 3179d23c
      stijn authored
      - add SEEK_XXX definitions, this fixes missing definition in py/stream.c
      - move R_OK from realpath.c and add W_OK/F_OK defintions
      - move STDXXX_FILENO definitions from mpconfigport for consistency
      3179d23c
  19. 04 Jun, 2015 1 commit
  20. 17 May, 2015 1 commit
  21. 13 May, 2015 1 commit
  22. 16 Apr, 2015 1 commit
    • Damien George's avatar
      py: Overhaul and simplify printf/pfenv mechanism. · 7f9d1d6a
      Damien George authored
      Previous to this patch the printing mechanism was a bit of a tangled
      mess.  This patch attempts to consolidate printing into one interface.
      
      All (non-debug) printing now uses the mp_print* family of functions,
      mainly mp_printf.  All these functions take an mp_print_t structure as
      their first argument, and this structure defines the printing backend
      through the "print_strn" function of said structure.
      
      Printing from the uPy core can reach the platform-defined print code via
      two paths: either through mp_sys_stdout_obj (defined pert port) in
      conjunction with mp_stream_write; or through the mp_plat_print structure
      which uses the MP_PLAT_PRINT_STRN macro to define how string are printed
      on the platform.  The former is only used when MICROPY_PY_IO is defined.
      
      With this new scheme printing is generally more efficient (less layers
      to go through, less arguments to pass), and, given an mp_print_t*
      structure, one can call mp_print_str for efficiency instead of
      mp_printf("%s", ...).  Code size is also reduced by around 200 bytes on
      Thumb2 archs.
      7f9d1d6a
  23. 26 Mar, 2015 1 commit
  24. 14 Mar, 2015 1 commit
  25. 03 Mar, 2015 1 commit
  26. 12 Jan, 2015 1 commit
  27. 10 Jan, 2015 1 commit
  28. 09 Jan, 2015 1 commit
  29. 08 Jan, 2015 1 commit
  30. 04 Jan, 2015 1 commit
  31. 20 Dec, 2014 1 commit
  32. 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
  33. 21 Nov, 2014 1 commit
  34. 16 Nov, 2014 1 commit
  35. 13 Oct, 2014 1 commit
  36. 06 Oct, 2014 1 commit
  37. 04 Oct, 2014 1 commit
  38. 22 Sep, 2014 1 commit
  39. 02 Sep, 2014 1 commit