Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge pull request #168 from dhylands/add-strstr | Damien George | 2014-01-13 |
|\ | | | | | Added public domain implementations of strchr and strstr. | ||
| * | Added public domain implementations of strchr and strstr. | Dave Hylands | 2014-01-12 |
| | | |||
* | | Cleanup built-ins, and fix some compiler warnings/errors. | Damien George | 2014-01-13 |
| | | |||
* | | Initialize is_kw for dynamically allocated mp_obj_fun_native_t ojects. | Dave Hylands | 2014-01-13 |
|/ | | | | This should fix issue #171 | ||
* | Merge pull request #162 from chipaca/str_find | Damien George | 2014-01-12 |
|\ | | | | | Implement a basic str.find; fixes #67 | ||
| * | Implement a basic str.find; fixes #67 | John R. Lenton | 2014-01-12 |
| | | |||
* | | Merge pull request #160 from pfalcon/elaborate-int | Damien George | 2014-01-12 |
|\ \ | | | | | | | Elaborate small-int/long-int | ||
| * | | Add framework to support alternative implementations of long int Python type. | Paul Sokolovsky | 2014-01-12 |
| | | | |||
| * | | Parse long Python ints properly. | Paul Sokolovsky | 2014-01-12 |
| | | | | | | | | | | | | | | | | | | Long int is something which doesn't fit into SMALL_INT partion of machine_int_t. But it's also something which doesn't fit into machine_int_t in the first place. | ||
| * | | Add proper checks for fits-in-small-int. Make it reusable. | Paul Sokolovsky | 2014-01-12 |
| | | | | | | | | | | | | | | | | | | | | | We likely should make mp_obj_new_int() inline, and rely on its encapsulated check rather than inline checks everywhere explicitly. Also, parser for big small int values is still broken. | ||
| * | | Add WORD_MSBIT_HIGH define - machine_int_t with the highest bit set. | Paul Sokolovsky | 2014-01-12 |
| | | | |||
| * | | Move BITS_PER_BYTE, BITS_PER_WORD to mpconfig.h for reuse. | Paul Sokolovsky | 2014-01-12 |
| |/ | |||
* | | oops, nasty off-by-one in set_copy | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented set binary ops. | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented set.update | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented set.remove | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented set.isdisjoint | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented set.intersection and set.intersection_update | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented set.difference and set.difference_update | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented set.discard | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented set.copy | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented set.clear | John R. Lenton | 2014-01-12 |
| | | |||
* | | Implemented set.add | John R. Lenton | 2014-01-12 |
| | | |||
* | | make sets iterable | John R. Lenton | 2014-01-12 |
|/ | |||
* | py: Improve memory management for parser; add lexer error for bad line cont. | Damien George | 2014-01-12 |
| | |||
* | Merge pull request #148 from pfalcon/list-cmp | Damien George | 2014-01-12 |
|\ | | | | | Implement type virtual equality method support and implement comparisons for lists | ||
| * | list: Implement comparison operators. | Paul Sokolovsky | 2014-01-12 |
| | | |||
| * | mp_obj_equal(): For non-trivial types, call out to type's special method. | Paul Sokolovsky | 2014-01-12 |
| | | |||
* | | py: AssertionError is loaded from global, to match CPython. | Damien George | 2014-01-12 |
| | | |||
* | | Merge pull request #146 from pfalcon/assert-exc | Damien George | 2014-01-12 |
|\ \ | |/ |/| | Add AssertionError. | ||
| * | Add AssertionError. | Paul Sokolovsky | 2014-01-12 |
| | | |||
* | | rt_binary_op(): Don't fall thru in case small_int op result doesn't fit back. | Paul Sokolovsky | 2014-01-12 |
| | | | | | | | | | | Currently it would report "operation not supported" which is confusing. Overall, this is thinko leading to undefined behavior. | ||
* | | list: Add extend() methods and += operator. | Paul Sokolovsky | 2014-01-12 |
|/ | |||
* | py: Implement staticmethod and classmethod (internally). | Damien George | 2014-01-11 |
| | | | | Still need to make built-ins by these names, and write tests. | ||
* | py: Fix bug where == and != not handled for small_ints. | Damien George | 2014-01-11 |
| | |||
* | py: Fix emitcpy and emitnative's binary_op. | Damien George | 2014-01-11 |
| | |||
* | Merge branch 'master' of github.com:dpgeorge/micropython | Damien George | 2014-01-11 |
|\ | |||
| * | unified the bops | John R. Lenton | 2014-01-11 |
| | | |||
* | | py: Make arg to MP_BC_RAISE_VARARGS a byte. | Damien George | 2014-01-11 |
|/ | |||
* | Merge pull request #136 from pfalcon/for-range-downto | Damien George | 2014-01-10 |
|\ | | | | | compile_for_stmt_optimised_range(): Properly handle negative & unknown s... | ||
| * | compile_for_stmt_optimised_range(): Properly handle negative & unknown steps. | Paul Sokolovsky | 2014-01-11 |
| | | | | | | | | | | If step is not constant, in first approximation, we can't apply optimization, (well, we could, but need a special case for this). | ||
* | | Merge pull request #135 from pfalcon/simple-raise | Damien George | 2014-01-10 |
|\ \ | | | | | | | Crude attempt to implement RAISE_VARARGS (with args=1 so far only). | ||
| * | | Crude attempt to implement RAISE_VARARGS (with args=1 so far only). | Paul Sokolovsky | 2014-01-11 |
| |/ | |||
* | | Merge pull request #134 from pfalcon/list-mul | Damien George | 2014-01-10 |
|\ \ | | | | | | | list: Implement list multiplication. | ||
| * | | list: Implement list multiplication. | Paul Sokolovsky | 2014-01-11 |
| |/ | |||
* | | Merge pull request #131 from chipaca/dict_fromkeys | Damien George | 2014-01-10 |
|\ \ | |/ |/| | Added dict.fromkeys. | ||
| * | Added dict.fromkeys. Are we done with dict and #99 yet? I do think we are. | John R. Lenton | 2014-01-10 |
| | | |||
* | | Unsupported operand types for binary operator: dump both args' types. | Paul Sokolovsky | 2014-01-11 |
| | | |||
* | | mp_obj_equal(): Print which types' equality not implemented before assert(). | Paul Sokolovsky | 2014-01-11 |
| | | |||
* | | mp_repl_is_compound_stmt(): Thinko fix s/true/try/. | Paul Sokolovsky | 2014-01-11 |
| | |