| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-07-03 | Rename machine_(u)int_t to mp_(u)int_t. | Damien George | |
| See discussion in issue #50. | |||
| 2014-06-14 | objstr: Be 8-bit clean even for repr(). | Paul Sokolovsky | |
| This will allow roughly the same behavior as Python3 for non-ASCII strings, for example, print("<phrase in non-Latin script>".split()) will print list of words, not weird hex dump (like Python2 behaves). (Of course, that it will print list of words, if there're "words" in that phrase at all, separated by ASCII-compatible whitespace; that surely won't apply to every human language in existence). | |||
| 2014-06-11 | objfun: Remove no longer used mp_obj_fun_prepare_simple_args(). | Paul Sokolovsky | |
| 2014-06-08 | py: Make sure getattr() works with non-interned strings (by interning them). | Paul Sokolovsky | |
| 2014-06-07 | py: Implement default keyword only args. | Damien George | |
| Should finish addressing issue #524. | |||
| 2014-06-05 | objstr: Implement "%(key)s" % {} formatting for strings and dicts. | Paul Sokolovsky | |
| Also, make sure that args to "*" format specifiers are bounds-checked properly and don't lead for segfaults in case of mismatch. | |||
| 2014-06-01 | py: Fix configurability of builtin slice. | Damien George | |
| 2014-06-01 | Rename bultins config variables to MICROPY_PY_BUILTINS_*. | Damien George | |
| This renames: MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT See issue #35 for discussion. | |||
| 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: Implement long int parsing in int(...). | Damien George | |
| Addresses issue #627. | |||
| 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 | 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 | 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 | 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-21 | py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. | Damien George | |
| See issue #608 for justification. | |||
| 2014-05-17 | py: More const usage. | Paul Sokolovsky | |
| 2014-05-15 | objstringio: Implement io.BytesIO. | Paul Sokolovsky | |
| Done in generalized manner, allowing any stream class to be specified as working with bytes. | |||
| 2014-05-11 | py: Rename globally-accessible tuple functions, prefix with mp_obj_. | Damien George | |
| Likely there are other functions that should be renamed, but this is a start. | |||
| 2014-05-11 | objtuple: Go out of the way to support comparison of subclasses. | Paul Sokolovsky | |
| Two things are handled here: allow to compare native subtypes of tuple, e.g. namedtuple (TODO: should compare type too, currently compared duck-typedly by content). Secondly, allow user sunclasses of tuples (and its subtypes) be compared either. "Magic" I did previously in objtype.c covers only one argument (lhs is many), so we're in trouble when lhs is native type - there's no other option besides handling rhs in special manner. Fortunately, this patch outlines approach with fast path for native types. | |||
| 2014-05-11 | py: Start making good use of mp_const_obj_t. | Paul Sokolovsky | |
| 2014-05-10 | objlist: Implement non-growing slice assignment. | Paul Sokolovsky | |
| Slice value to assign can be only a list so far too. | |||
| 2014-05-10 | py: Fix prefix on few sequence helpers, was incorrectly "mp_". | Paul Sokolovsky | |
| 2014-05-10 | objset: Give up and implement frozenset. | Paul Sokolovsky | |
| Tired of patching CPython stdlib for it. | |||
| 2014-05-10 | py: Tidy up returning NULL which should be MP_OBJ_NOT_SUPPORTED. | Damien George | |
| 2014-05-07 | py: Improve native emitter; now supports more opcodes. | Damien George | |
| 2014-05-03 | Add license header to (almost) all files. | Damien George | |
| 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/. | |||
| 2014-05-03 | objclosure, objcell: Print detailed representation if was requested. | Paul Sokolovsky | |
| Well, it is bound to "detailed error reporting", but that's closest what we have now without creating new entities. | |||
| 2014-05-02 | objtype: .print() Exception instances in adhoc way. | Paul Sokolovsky | |
| This is ugly, just as expected. | |||
| 2014-05-01 | objgenerator: .print(): Output real underlying function name. | Paul Sokolovsky | |
| 2014-04-28 | py: Clear allocated, but unused memory in containers. | Paul Sokolovsky | |
| Also, clear up freed slots in containers. As a follow up to 32bef315be8e56ad2d7f69223fe7b9606893b6ab. | |||
| 2014-04-27 | py: Implement keyword-only args. | Damien George | |
| Implements 'def f(*, a)' and 'def f(*a, b)', but not default keyword-only args, eg 'def f(*, a=1)'. Partially addresses issue #524. | |||
| 2014-04-26 | modio: Implement io.StringIO class. | Paul Sokolovsky | |
| 2014-04-22 | objexcept: Add mp_obj_new_exception_arg1() convenience function. | Paul Sokolovsky | |
| 2014-04-20 | py: Making closures now passes pointer to stack, not a tuple for vars. | Damien George | |
| Closed over variables are now passed on the stack, instead of creating a tuple and passing that. This way memory for the closed over variables can be allocated within the closure object itself. See issue #510 for background. | |||
| 2014-04-19 | obj.h: Typo fix in comment. | Paul Sokolovsky | |
| 2014-04-18 | py: Allow to pass buffer protocol flags to get_buffer helper funcs. | Damien George | |
| 2014-04-18 | py: Add typecode to buffer protocol. | Damien George | |
| When querying an object that supports the buffer protocol, that object must now return a typecode (as per binary.[ch]). This does not have to be honoured by the caller, but can be useful for determining element size. | |||
| 2014-04-17 | py: Add MP_OBJ_STOP_ITERATION and make good use of it. | Damien George | |
| Also make consistent use of MP_OBJ_NOT_SUPPORTED and MP_OBJ_NULL. This helps a lot in debugging and understanding of function API. | |||
| 2014-04-17 | py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. | Damien George | |
| mp_obj_t->subscr now does load/store/delete. | |||
| 2014-04-17 | py: Simplify objfun/objgenerator connection, no need to call bc_get. | Damien George | |
| 2014-04-17 | py: Make built-in 'range' a class. | Damien George | |
| Addresses issue #487. | |||
| 2014-04-13 | py: Add property object, with basic functionality. | Damien George | |
| Enabled by MICROPY_ENABLE_PROPERTY. | |||
| 2014-04-13 | objlist: Add support for statically allocated lists. | Paul Sokolovsky | |
| Similar to similar support for lists. | |||
| 2014-04-12 | py: Add 'static' to inline function MP_BOOL; remove category_t. | Damien George | |
| Small fixes to get it compiling with ARMCC. I have no idea why category_t was in the enum definition for qstrs... | |||
| 2014-04-12 | py: Change inline to static inline for 2 functions. | Damien George | |
| 2014-04-11 | py: Revert some inline functions back to macros, since they bloat stmhal. | Damien George | |
| 2014-04-11 | py: Convert some macros to inline functions (in obj.h). | Damien George | |
| Also convert mp_obj_is_integer to an inline function. Overall this decreased code size (at least on 32-bit x86 machine). | |||
| 2014-04-10 | py: Fix float/complex binop returning NULL; implement complex power. | Damien George | |
