1. 21 Sep, 2016 1 commit
  2. 06 Aug, 2016 1 commit
  3. 18 Jun, 2016 1 commit
  4. 04 Apr, 2016 1 commit
  5. 01 Mar, 2016 1 commit
  6. 27 Jan, 2016 1 commit
  7. 21 Jan, 2016 1 commit
  8. 11 Jan, 2016 4 commits
  9. 29 Nov, 2015 2 commits
  10. 21 Nov, 2015 1 commit
  11. 20 Nov, 2015 2 commits
  12. 10 Oct, 2015 1 commit
  13. 14 Jul, 2015 1 commit
    • Paul Sokolovsky's avatar
      unix: modsocket: Implement inet_pton() in preference of inet_aton(). · c48740e2
      Paul Sokolovsky authored
      inet_pton supports both ipv4 and ipv6 addresses. Interface is also extensible
      for other address families, but underlying libc inet_pton() function isn't
      really extensible (e.g., it doesn't return length of binary address, i.e. it's
      really hardcoded to AF_INET and AF_INET6). But anyway, on Python side, we could
      extend it to support other addresses.
      c48740e2
  14. 13 Jul, 2015 1 commit
  15. 12 Jul, 2015 1 commit
    • Paul Sokolovsky's avatar
      unix: modsocket: Implement sendto(). · 3b83aeb4
      Paul Sokolovsky authored
      sendto() turns out to be mandatory function to work with UDP. It may seem
      that connect(addr) + send() would achieve the same effect, but what connect()
      appears to do is to set source address filter on a socket to its argument.
      Then everything falls apart: socket sends to a broad-/multi-cast address,
      but reply is sent from real peer address, which doesn't match filter set
      by connect(), so local socket never sees a reply.
      3b83aeb4
  16. 10 Jul, 2015 1 commit
  17. 09 Jul, 2015 1 commit
  18. 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
  19. 20 Jan, 2015 1 commit
  20. 01 Jan, 2015 2 commits
  21. 05 Dec, 2014 1 commit
  22. 29 Nov, 2014 1 commit
  23. 21 Oct, 2014 1 commit
    • stijn's avatar
      Implement kwargs for builtin open() and _io.FileIO · 2fe4cf77
      stijn authored
      This makes open() and _io.FileIO() more CPython compliant.
      The mode kwarg is fully iplemented.
      The encoding kwarg is allowed but not implemented; mainly to allow
      the tests to specify encoding for CPython, see #874
      2fe4cf77
  24. 18 Oct, 2014 1 commit
  25. 09 Oct, 2014 1 commit
  26. 06 Sep, 2014 1 commit
  27. 29 Aug, 2014 1 commit
  28. 10 Aug, 2014 1 commit
  29. 31 Jul, 2014 1 commit
  30. 27 Jul, 2014 1 commit
  31. 03 Jul, 2014 1 commit
  32. 24 Jun, 2014 1 commit
  33. 22 Jun, 2014 2 commits