- 04 May, 2014 1 commit
-
-
Paul Sokolovsky authored
This will work if MICROPY_DEBUG_PRINTERS is defined, which is only for unix/windows ports. This makes it convenient to user uPy normally, but easily get bytecode dump on the spot if needed, without constant recompiles back and forth. TODO: Add more useful debug output, adjust verbosity level on which specifically bytecode dump happens.
-
- 03 May, 2014 1 commit
-
-
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/.
-
- 26 Apr, 2014 1 commit
-
-
Damien George authored
-
- 10 Apr, 2014 2 commits
-
-
Damien George authored
Previously, a failed malloc/realloc would throw an exception, which was not caught. I think it's better to keep the parser free from NLR (exception throwing), hence this patch.
-
Damien George authored
-
- 05 Apr, 2014 1 commit
-
-
Damien George authored
-
- 04 Apr, 2014 1 commit
-
-
Damien George authored
A malloc/realloc fail now throws MemoryError.
-
- 03 Apr, 2014 1 commit
-
-
mux authored
-
- 02 Apr, 2014 1 commit
-
-
Damien George authored
-
- 15 Mar, 2014 1 commit
-
-
Damien George authored
-
- 26 Feb, 2014 1 commit
-
-
Damien George authored
Don't need to wrap bitfields in their own struct. Compiler does the correct thing without it.
-
- 22 Feb, 2014 1 commit
-
-
Damien George authored
strtonum clashes with BSD function of same name, and our version is different so warrants a unique name. Addresses Issue #305.
-
- 16 Feb, 2014 1 commit
-
-
Paul Sokolovsky authored
In particular, unix outputs to stderr, to allow to run testsuite against micropython built with debug output (by redirecting stderr to /dev/null).
-
- 06 Feb, 2014 1 commit
-
-
Damien George authored
-
- 05 Feb, 2014 1 commit
-
-
Damien George authored
-
- 04 Feb, 2014 2 commits
-
-
Paul Sokolovsky authored
sys.path is not initialized by rt_init(), that's left for platform-specific startup code. (For example, bare metal port may have some hardcoded defaults, and let user change sys.path directly; while port for OS with environment feature can take path from environment). If it's not explicitly initialized, modules will be imported only from a current directory.
-
Paul Sokolovsky authored
-
- 22 Jan, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 21 Jan, 2014 1 commit
-
-
Damien George authored
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
-
- 15 Jan, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 13 Jan, 2014 2 commits
-
-
Paul Sokolovsky authored
vstr is initially intended to deal with arbitrary-length strings. By providing a bit lower-level API calls, it will be also useful to deal with arbitrary-length I/O buffers (the difference from strings is that buffers are filled from "outside", via I/O). Another issue, especially aggravated by I/O buffer use, is alloc size vs actual size length. If allocated 1Mb for buffer, but actually read 1 byte, we don't want to keep rest of 1Mb be locked by this I/O result, but rather return it to heap ASAP ("shrink" buffer before passing it to qstr_from_str_take()).
-
John R. Lenton authored
-
- 07 Jan, 2014 1 commit
-
-
John R. Lenton authored
-
- 06 Jan, 2014 2 commits
- 03 Jan, 2014 2 commits
-
-
Paul Sokolovsky authored
This is just max value of current_bytes_allocated seen.
-
Paul Sokolovsky authored
Unlike total_bytes_allocated, this tracks m_free()'s too.
-
- 30 Dec, 2013 1 commit
-
-
Damien George authored
-
- 29 Dec, 2013 1 commit
-
-
Damien authored
-
- 21 Dec, 2013 1 commit
-
-
Damien authored
A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python).
-
- 03 Nov, 2013 2 commits
- 23 Oct, 2013 1 commit
-
-
Damien authored
-
- 20 Oct, 2013 1 commit
-
-
Damien authored
-
- 04 Oct, 2013 1 commit
-
-
Damien authored
-