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 |
| | | |||
* | | Merge pull request #172 from dhylands/init-kw | Damien George | 2014-01-13 |
|\ \ | | | | | | | Initialize is_kw for dynamically allocated mp_obj_fun_native_t ojects. | ||
| * | | Initialize is_kw for dynamically allocated mp_obj_fun_native_t ojects. | Dave Hylands | 2014-01-13 |
| |/ | | | | | | | This should fix issue #171 | ||
* / | logo gradients in master SVG, png | Mark Schafer | 2014-01-14 |
|/ | | | | Also new vector_log png with alpha | ||
* | 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 |
| |/ | |||
* | | Merge pull request #159 from chipaca/set_feats | Damien George | 2014-01-12 |
|\ \ | | | | | | | Set features. As per #143. | ||
| * | | 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 |
| | | | |||
* | | | Merge pull request #157 from dhylands/printf-float | Damien George | 2014-01-12 |
|\ \ \ | | | | | | | | | Added a hacky implementation for %g | ||
| * | | | Added a hacky implementation for %g | Dave Hylands | 2014-01-12 |
| | |/ | |/| | |||
* / | | stm: Re-instate C debugging USART port (disabled by default). | Damien George | 2014-01-13 |
|/ / | | | | | | | | | | | See pyb_usart_global_debug variable. Also did some work on USB OTG, but nothing working yet. | ||
* | | Merge pull request #140 from Metallicow/art-branch | Damien George | 2014-01-12 |
|\ \ | |/ |/| | Small graphic - Useful for WebBanners, etc... | ||
| * | Small graphic - Useful for WebBanners, etc... | Metallicow | 2014-01-11 |
| | | | | | | | | | | License: However you want / MicroPython. Thanks Damien :) | ||
* | | 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 |
| | | | |||
* | | | Merge pull request #147 from dhylands/staticfs | Damien George | 2014-01-12 |
|\ \ \ | | | | | | | | | Added memzip filesystem support for teensy | ||
| * | | | Added memzip filesystem support for teensy | Dave Hylands | 2014-01-11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can now append a zipfile (containining uncomressed python sources) to the micropython.hex file. Use MEMZIP_DIR=directory when you call make, or set that in your environment to include a different tree of source files. Added sample /boot.py, /src/main.py, /test.py and /src/test.py files. Added run command so that you can execute scripts from REPL (until import is implemented). Added build directory to .gitignore | ||
* | | | | py: AssertionError is loaded from global, to match CPython. | Damien George | 2014-01-12 |
| | | | |