| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-05-28 | py: Fix check of small-int overflow when parsing ints. | Damien George | |
| Also unifies use of SMALL_INT_FITS macro across parser and runtime. | |||
| 2014-05-28 | py: Make int(<longint>) work by just returning the longint. | Damien George | |
| 2014-05-28 | py: Implement long int parsing in int(...). | Damien George | |
| Addresses issue #627. | |||
| 2014-05-28 | unix/gccollect.c: Make Clang workaround apply only to it. Unbreaks gcc builds. | Paul Sokolovsky | |
| 2014-05-28 | Revert "Fix DEBUG=1 builds" | Paul Sokolovsky | |
| This reverts commit 6e76f7bc90fcd130db888f8804b8555dc8f3a484. This patch tries to workaround a previous clang workaround. Instead of going into workaround of workaround spiral, the original workaround should be tamed. | |||
| 2014-05-28 | Merge pull request #631 from stinos/fix-win-def | Damien George | |
| windows: Complete rename of MICROPY_PATH_MAX to MICROPY_ALLOC_PATH_MAX (... | |||
| 2014-05-28 | Merge pull request #629 from dhylands/fix-unix-debug | Damien George | |
| Fix unix DEBUG=1 builds | |||
| 2014-05-27 | windows: Complete rename of MICROPY_PATH_MAX to MICROPY_ALLOC_PATH_MAX (58ebde4) | stijn | |
| 2014-05-26 | Fix DEBUG=1 builds | Dave Hylands | |
| Without this fix, I get the following error: CC gccollect.c gccollect.c: In function ‘gc_helper_get_regs’: gccollect.c:63:1: error: bp cannot be used in asm here | |||
| 2014-05-26 | modos: stat(): Accept bytes argument. | Paul Sokolovsky | |
| 2014-05-26 | tests: Add small testcase for 3-arg slices. | Paul Sokolovsky | |
| 2014-05-25 | py, vm: Where possible, make variables local to each opcode. | Damien George | |
| This helps the compiler do its optimisation, makes it clear which variables are local per opcode and which global, and makes it consistent when extra variables are needed in an opcode (in addition to old obj1, obj2 pair, for example). Could also make unum local, but that's for another time. | |||
| 2014-05-25 | py: Slightly improve efficiency of mp_obj_new_str; rename str_new. | Damien George | |
| Reorder interning logic in mp_obj_new_str, to be more efficient. str_new is globally accessible, so should be prefixed with mp_obj_. | |||
| 2014-05-25 | Change const byte* to const char* where sensible. | Damien George | |
| This removes need for some casts (at least, more than it adds need for new casts!). | |||
| 2014-05-25 | Merge branch 'pfalcon-keep-strings-uninterned' | Damien George | |
| 2014-05-25 | py: Don't automatically intern strings in parser. | Damien George | |
| This completes non-automatic interning of strings in the parser, so that doc strings don't take up RAM. It complicates the parser and compiler, and bloats stmhal by about 300 bytes. It's complicated because now there are 2 kinds of parse-nodes that can be strings: interned leaves and non-interned structs. | |||
| 2014-05-25 | objlist: Implement support for arbitrary (3-arg) slices. | Paul Sokolovsky | |
| 2014-05-25 | py: Refactor slice helpers, preparing to support arbitrary slicing. | Paul Sokolovsky | |
| 2014-05-25 | Merge branch 'keep-strings-uninterned' of github.com:pfalcon/micropython ↵ | Damien George | |
| into pfalcon-keep-strings-uninterned Conflicts: py/parse.c | |||
| 2014-05-25 | sequence: Throw exception for not implemented slice steps. | Paul Sokolovsky | |
| 2014-05-25 | objlist: Implement growing slice assignment. | Paul Sokolovsky | |
| This means that complete slice operations are supported for lists (but not for bytearray's and array.array's). | |||
| 2014-05-25 | py: Handle case of slice start > stop in common sequence function. | Paul Sokolovsky | |
| 2014-05-25 | objslice: Support arbitrary objects start, stop, and step. | Paul Sokolovsky | |
| Older int-only encoding is not expressive enough to support arbitrary slice assignment operations. | |||
| 2014-05-24 | Add SystemExit exception and use it in unix/ and stmhal/ ports. | Damien George | |
| Addresses issue #598. | |||
| 2014-05-24 | Rename configuration variables controling Python features. | Damien George | |
| Now of the form MICROPY_PY_*. See issue #35. | |||
| 2014-05-24 | modsocket: 64-bit cleanness. | Paul Sokolovsky | |
| 2014-05-24 | objstr: Implement .endswith(). | Paul Sokolovsky | |
| 2014-05-24 | unix modsocket: Make .makefile() method more compliant. | Paul Sokolovsky | |
| .makefile() should allow to specify which stream time to create - byte or text. | |||
| 2014-05-22 | py: Initial attempts to actually allow implementing __new__ in Python. | Paul Sokolovsky | |
| Caveat is that __new__ should recurse to base class __new__, and ultimately, object.__new__ is what handles instance allocation. | |||
| 2014-05-21 | objobject: Fix arguments to __init__(). | Paul Sokolovsky | |
| 2014-05-21 | unix: Fix casting issue, int to small int object. | Damien George | |
| 2014-05-21 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-05-21 | Tidy up some configuration options. | Damien George | |
| 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. | |||
| 2014-05-21 | objtype: super: Fall back to "object" lookup as last resort. | Paul Sokolovsky | |
| Also, define object.__init__() (semantically empty, purely CPython compat measure). Addresses #520. | |||
| 2014-05-21 | objtype: super: Add stop condition for looking up in base types. | Paul Sokolovsky | |
| 2014-05-21 | stm: Remove long-obsolete stm/ port. | Damien George | |
| 2014-05-21 | unix, Mac support: Generate order.def via Makefile. | Damien George | |
| 2014-05-21 | Merge pull request #607 from Anton-2/osx-clang | Damien George | |
| Allow compilation of unix port under clang on OS X | |||
| 2014-05-21 | py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. | Damien George | |
| See issue #608 for justification. | |||
| 2014-05-21 | stmhal: Stop USB before entering DFU by software. | Damien George | |
| 2014-05-20 | Merge pull request #621 from stinos/migw-w64-fix | Paul Sokolovsky | |
| windows: Fix compilation with mingw-w64 so it uses correct printf implem... | |||
| 2014-05-20 | modstruct: struct_calcsize: Fix case of uninitialized var. | Paul Sokolovsky | |
| 2014-05-20 | windows: Fix compilation with mingw-w64 so it uses correct printf ↵ | stijn | |
| implementations Without this flag, mingw-w64 uses the MS implementations of snpintf and the likes. This is not really a problem since they work with the the fixes provided for msvc, but due to the way mingw-w64's stdio.h is structured we cannot get it to use the fixes. | |||
| 2014-05-19 | qemu-arm: Disable "io" module. | Paul Sokolovsky | |
| 2014-05-19 | py: Implement proper separation between io.FileIO and io.TextIOWrapper. | Paul Sokolovsky | |
| io.FileIO is binary I/O, ans actually optional. Default file type is io.TextIOWrapper, which provides str results. CPython3 explicitly describes io.TextIOWrapper as buffered I/O, but we don't have buffering support yet anyway. | |||
| 2014-05-19 | objexcept: Implement explicit __init__ method, useful for subclasses. | Paul Sokolovsky | |
| 2014-05-19 | tests: Update subclass-native2.py for __new__/__init__ refactor. | Paul Sokolovsky | |
| Now case of subclassing tuple works, and list is broken, see comments. | |||
| 2014-05-19 | objtype: Separate __new__ and __init__ methods. | Paul Sokolovsky | |
| Now schedule is: for native types, we call ->make_new() C-level method, which should perform actions of __new__ and __init__ (note that this is not compliant, but is efficient), but for user types, __new__ and __init__ are called as expected. Also, make sure we convert scalar attribute value to a bound-pair tight in mp_obj_class_lookup() method, which avoids converting it again and again in its callers. | |||
| 2014-05-19 | stmhal: Fix DAC documentation: need to convert float to int for buf. | Damien George | |
| 2014-05-19 | stmhal: Fix write_timed function for DAC(2). | Damien George | |
| Addresses issue #617. | |||
