Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge pull request #165 from chipaca/builtins | Damien George | 2014-01-14 |
|\ | | | | | added zip() | ||
| * | Merge remote-tracking branch 'upstream/master' into builtins | John R. Lenton | 2014-01-13 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: py/builtin.c py/builtin.h py/runtime.c | ||
| * | | Made sorted() raise an exception instead of aborting when given no ↵ | John R. Lenton | 2014-01-13 |
| | | | | | | | | | | | | arguments; moved around some things in objfun.c as a consequence | ||
| * | | Cleaned up sorted() as per Damien's suggestions. | John R. Lenton | 2014-01-13 |
| | | | |||
| * | | sorted | John R. Lenton | 2014-01-13 |
| | | | |||
| * | | added zip() | John R. Lenton | 2014-01-13 |
| | | | |||
* | | | Implement "is" and "is not" operators. | Paul Sokolovsky | 2014-01-15 |
| | | | | | | | | | | | | So far, don't work for strings as expected. | ||
* | | | Add objtuple.h to allow embedding of tuples inside other objects. | Paul Sokolovsky | 2014-01-14 |
| |/ |/| | | | | | This is useful because tuple is closest analog of C static array. | ||
* | | mp_obj_equal(): Compare small and long ints properly. | Paul Sokolovsky | 2014-01-13 |
| | | | | | | | | By dispatching to long int methods. | ||
* | | Move mp_obj_int_t definition to objint.h, to reuse in long int impls. | Paul Sokolovsky | 2014-01-13 |
| | | |||
* | | Consolidate rt_make_function_[0123] to rt_make_function_n. | Damien George | 2014-01-13 |
| | | |||
* | | 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 |
|/ |