1. 05 Sep, 2016 2 commits
  2. 31 Aug, 2016 1 commit
  3. 30 Jul, 2016 1 commit
  4. 16 Jul, 2016 1 commit
  5. 09 Jul, 2016 1 commit
    • Damien George's avatar
      unix: Disable the GIL to improve performance of non-thread code. · 3096928d
      Damien George authored
      Threading support is still very new so stay conservative at this point
      and enable threading without the GIL.  This requires users to protect
      concurrent access of mutatable Python objects (eg lists) with locks at
      the Python level (something you should probably do anyway).  The
      advantage is that there is less of a performance hit for non-threaded
      code, because the VM does not need to constantly release/acquire the GIL.
      In the future the GIL will be made more efficient.  There is also room to
      improve the efficiency of non-GIL code by not using mutex's if there is
      only one thread active.
  6. 02 Jul, 2016 2 commits
  7. 28 Jun, 2016 1 commit
  8. 27 Jun, 2016 1 commit
  9. 17 Jun, 2016 3 commits
  10. 16 Jun, 2016 2 commits
    • Paul Sokolovsky's avatar
      unix: Time to build with --gc-sections. · df453f06
      Paul Sokolovsky authored
      This actually saves "only" 6K for x86_64 build, as we're still more or less
      careful to #ifdef unneeded code. But relying on --gc-sections in a "lazy"
      manner would allow to make #ifdef'ing less pervasive (not suggested right
      away, but an option for the future).
    • Paul Sokolovsky's avatar
      unix: Deprecate support for GNU Readline (MICROPY_USE_READLINE=2). · acaa30b6
      Paul Sokolovsky authored
      MicroPython own readline implementation is superior now by providing
      automatic indentation and completion (completion for GNU Readline was
      never implemented). MICROPY_USE_READLINE=2 also wasn't build for a long
      time and probably broken.
      If GNU Readline is still beneficial for some cases, it can be achieved
      with external wrappers like "rlwrap" (there will be the same level of
      functionality, as again, there never was deep integration, like completion
  11. 15 Jun, 2016 1 commit
  12. 31 May, 2016 1 commit
    • Robert HH's avatar
      extmod/vfs_fat.c: Add vfs.stat(). · ee009d71
      Robert HH authored
      The call to stat() returns a 10 element tuple consistent to the os.stat()
      call. At the moment, the only relevant information returned are file
      type and file size.
  13. 28 May, 2016 1 commit
  14. 25 May, 2016 1 commit
  15. 23 May, 2016 1 commit
  16. 17 May, 2016 1 commit
  17. 16 May, 2016 1 commit
  18. 28 Apr, 2016 1 commit
    • Martin Müller's avatar
      unix/Makefile: Make install more compatible (BSD, etc.). · 31fc81d3
      Martin Müller authored
      The current install command uses the flag -D which is specific to the
      install command from GNU coreutils, but isn't available for the BSD
      version. This solution uses the -d flag which should be commonly
      available to create the target directory. Afterwards the target files
      are installed to this directory seperately.
  19. 19 Apr, 2016 1 commit
  20. 16 Apr, 2016 1 commit
    • Jan Čapek's avatar
      py: Add rules for automated extraction of qstrs from sources. · d76c65f5
      Jan Čapek authored
      - add template rule that converts a specified source file into a qstring file
      - add special rule for generating a central header that contains all
        extracted/autogenerated strings - defined by QSTR_DEFS_COLLECTED
        variable. Each platform appends a list of sources that may contain
        qstrings into a new build variable: SRC_QSTR. Any autogenerated
        prerequisities are should be appened to SRC_QSTR_AUTO_DEPS variable.
      - remove most qstrings from py/qstrdefs, keep only qstrings that
        contain special characters - these cannot be easily detected in the
        sources without additional annotations
      - remove most manual qstrdefs, use qstrdef autogen for: py, cc3200,
        stmhal, teensy, unix, windows, pic16bit:
         - remove all micropython generic qstrdefs except for the special strings that contain special characters (e.g. /,+,<,> etc.)
         - remove all port specific qstrdefs except for special strings
         - append sources for qstr generation in platform makefiles (SRC_QSTR)
  21. 08 Apr, 2016 1 commit
  22. 14 Feb, 2016 4 commits
  23. 28 Jan, 2016 1 commit
    • Dave Hylands's avatar
      lib/utils/printf: Fix printf on release builds · 6a804cba
      Dave Hylands authored
      When using newer glibc's the compiler automatically sets
      _FORTIFY_SOURCE when building with -O1 and this causes
      a special inlined version of printf to be declared which
      then bypasses our version of printf.
  24. 26 Jan, 2016 1 commit
    • Damien George's avatar
      extmod/modurandom: Add some extra random functions. · a53af6c8
      Damien George authored
      Functions added are:
      - randint
      - randrange
      - choice
      - random
      - uniform
      They are enabled with configuration variable
      MICROPY_PY_URANDOM_EXTRA_FUNCS, which is disabled by default.  It is
      enabled for unix coverage build and stmhal.
  25. 15 Jan, 2016 2 commits
  26. 02 Jan, 2016 1 commit
  27. 16 Dec, 2015 1 commit
  28. 12 Dec, 2015 1 commit
  29. 21 Nov, 2015 1 commit
  30. 16 Nov, 2015 1 commit
  31. 19 Oct, 2015 1 commit