Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-16 | Implement support for __str__ and __repr__ special methods in classes. | Paul Sokolovsky | |
2014-03-15 | py: Fix bug in vstr_ins_blank_bytes. | Damien George | |
2014-03-15 | Add vstr_ins and vstr_cut_out; improve stmhal readline. | Damien George | |
2014-03-14 | stmhal - add pin mapping, gpio, exti, usrsw | Dave Hylands | |
2014-03-13 | py: In string.count, handle case of zero-length needle. | Damien George | |
2014-03-13 | Fix issues in str.count implementation. | xbe | |
See pull request #343. | |||
2014-03-12 | Implement str.count and add tests for it. | xbe | |
Also modify mp_get_index to accept: 1. Indices that are or evaluate to a boolean. 2. Slice indices. Add tests for these two cases. | |||
2014-03-12 | py: Cosmetic changes. | Damien George | |
2014-03-12 | Merge pull request #340 from iabdalkader/realloc | Damien George | |
Fix realloc | |||
2014-03-12 | py: Add expm1 to math module. | Damien George | |
2014-03-12 | Fix realloc | mux | |
2014-03-12 | py: Implement integer overflow checking for * and << ops. | Damien George | |
If operation will overflow, a multi-precision integer is created. | |||
2014-03-12 | py: Fix some bugs in mpz; add mpz_from_ll and mpz_set_from_ll. | Damien George | |
A couple of bugs in mpn_shl, and overflow bug in mpz_set_from_int. | |||
2014-03-10 | Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h. | Damien George | |
MICROPY_ENABLE_FLOAT is automatically set in mpconfig.h if MICROPY_FLOAT_IMPL is set to a non-zero value. | |||
2014-03-10 | Add proper floating point printing support. | Dave Hylands | |
2014-03-10 | Fix makeqstrdata.py to work in Python 2.7 | Dave Hylands | |
2014-03-09 | py: Make objstr support buffer protocol (read only). | Damien George | |
2014-03-09 | py: Fix printing of type name. | Damien George | |
2014-03-08 | Implement ROMable modules. Add math module. | Damien George | |
mp_module_obj_t can now be put in ROM. Configuration of float type is now similar to longint: can now choose none, float or double as the implementation. math module has basic math functions. For STM port, these are not yet implemented (they are just stub functions). | |||
2014-03-08 | py: Wrap mpz float functions in MICROPY_ENABLE_FLOAT. | Damien George | |
2014-03-08 | makeqstrdata: print error to stderr. | Damien George | |
2014-03-07 | py: Revert to old gc_realloc for now. | Damien George | |
2014-03-06 | py: Add comments to new gc_realloc, it has some bugs. | Damien George | |
2014-03-06 | py: Small cosmetic changes to gc_realloc. | Damien George | |
2014-03-05 | Merge pull request #334 from iabdalkader/realloc | Damien George | |
Fix gc_realloc to expand in place | |||
2014-03-05 | Fix gc_realloc to expand in place | mux | |
* Issue #322 | |||
2014-03-03 | py: Fix overriding of default arguments. | Damien George | |
Addresses issue #327. | |||
2014-03-03 | py: Unify syntax error handling in compiler; check defualt arg syntax. | Damien George | |
Checks for non-default args following default args, and errors out. Addresses issue #328. | |||
2014-03-03 | py: Factor and improve issubclass. | Damien George | |
2014-03-03 | namedtuple: Inherit unary/binary ops from tuple base class. | Paul Sokolovsky | |
2014-03-03 | Add mp_obj_is_subclass_fast() - intended for fast argument checking. | Paul Sokolovsky | |
I.e. as replacement of MP_OBJ_IS_TYPE(), which takes into account subclassing. | |||
2014-03-03 | Add basic collections.namedtuple implementation. | Paul Sokolovsky | |
2014-03-01 | Merge pull request #330 from pfalcon/cortex-a | Damien George | |
Support building "unix" port for ARM | |||
2014-03-01 | py: Implement bit-shift and not operations for mpz. | Damien George | |
Implement not, shl and shr in mpz library. Add function to create mpzs on the stack, used for memory efficiency when rhs is a small int. Factor out code to parse base-prefix of number into a dedicated function. | |||
2014-03-01 | nlrthumb.S: Comment out ".cpu cortex-m4", it causes problems on Cortex-A. | Paul Sokolovsky | |
2014-03-01 | nlr.h: Do proper arch selection, using the same tests as nlr*.S . | Paul Sokolovsky | |
2014-02-26 | GC: Fix printf formats for debugging; add gc_dump_alloc_table. | Damien George | |
2014-02-26 | py: Remove more var arg names fro macros with var args. | Damien George | |
2014-02-26 | py: Reduce size of mp_obj_fun_native_t struct by packing ints. | Damien George | |
2014-02-26 | py: Take out bitfield entries from their own structure. | Damien George | |
Don't need to wrap bitfields in their own struct. Compiler does the correct thing without it. | |||
2014-02-26 | py: Remove name of var arg from macros with var args. | Damien George | |
2014-02-26 | py: Start to implement shl/shr for mpz. Fix return void. | Damien George | |
2014-02-24 | py: Fix mpn_sub, was increasing wrong source pointer. | Damien George | |
Also change int -> machine_int_t where appropriate. | |||
2014-02-22 | Add arbitrary precision integer support. | Damien George | |
Some functionality is still missing (eg and, or, bit shift), and some things are buggy (eg subtract). | |||
2014-02-22 | py: Put number parsing code together in parsenum.c. | Damien George | |
2014-02-22 | py: Rename strtonum to mp_strtonum. | Damien George | |
strtonum clashes with BSD function of same name, and our version is different so warrants a unique name. Addresses Issue #305. | |||
2014-02-22 | py: Fix casting and printing of small int. | Damien George | |
2014-02-22 | parse: Refactor parse node encoding to support full range of small ints. | Paul Sokolovsky | |
Based on suggestion by @dpgeorge at https://github.com/micropython/micropython/pull/313 | |||
2014-02-21 | parse: Note that fact that parser's small ints are different than VM small int. | Paul Sokolovsky | |
Specifically, VM's small ints are 31 bit, while parser's only 28. There's already MP_OBJ_FITS_SMALL_INT(), so, for clarity, rename MP_FIT_SMALL_INT() to MP_PARSE_FITS_SMALL_INT(). | |||
2014-02-21 | showbc: Update for recent int varlen storage refactor. | Paul Sokolovsky | |
TODO: De-duplicate DECODE_UINT, etc. definitions. |