Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | mp_obj_is_callable(): Only object types can be callable. | Paul Sokolovsky | 2014-01-23 |
| | | | | Fixes segfault on callable("string"). | ||
* | Implement simplest case of str.startswith(). | Paul Sokolovsky | 2014-01-23 |
| | |||
* | Implement octal and hex escapes in strings. | Paul Sokolovsky | 2014-01-22 |
| | |||
* | py: Implement break and continue byte codes, and add tests. | Damien George | 2014-01-21 |
| | | | | | | | Also fixes a bug in the for-in-range optimiser. I hope to remove break and continue byte codes in the future and just use jump (if possible). | ||
* | Add bytearray basic tests. | Paul Sokolovsky | 2014-01-21 |
| | |||
* | run-tests: Allow to run tests selectively via command line. | Paul Sokolovsky | 2014-01-21 |
| | |||
* | Implement str.split(None). | Paul Sokolovsky | 2014-01-21 |
| | | | | Note that splitting by explicit string is not implemented so far. | ||
* | str: Implement proper string (instead of byte string) indexing. | Paul Sokolovsky | 2014-01-21 |
| | | | | Also, support negative indexes. | ||
* | Implement string multiplication. | Paul Sokolovsky | 2014-01-21 |
| | |||
* | unix io.FileIO: Add iteration support. | Paul Sokolovsky | 2014-01-20 |
| | | | | | A file cannot be iterated concurrently, so we make io.FileIO its own iterator. | ||
* | Rename unix binary to 'micropython'. | Damien George | 2014-01-20 |
| | |||
* | unix: Implement sys.argv. | Paul Sokolovsky | 2014-01-20 |
| | |||
* | Add README for tests/. | Paul Sokolovsky | 2014-01-19 |
| | |||
* | Add directory for I/O tests with basic test for file methods. | Paul Sokolovsky | 2014-01-19 |
| | |||
* | Move tests in basic/tests/ up one level preparating to multiple test dirs. | Paul Sokolovsky | 2014-01-19 |
| | |||
* | Tiny optimisation in objlist.c; a new test for inheritance. | Damien George | 2014-01-19 |
| | |||
* | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-01-18 |
|\ | |||
| * | Add testcase for subclassing builtin type and calling native method (broken). | Paul Sokolovsky | 2014-01-18 |
| | | |||
* | | Improve method lookup in mp_obj_class_lookup. | Damien George | 2014-01-18 |
|/ | | | | Now searches both locals_dict and methods. Partly addresses Issue #145. | ||
* | Implement framework for class-defined built-in operators. | Damien George | 2014-01-18 |
| | | | | | Now working for class-defined methods: __getitem__, __setitem__, __add__, __sub__. Easy to add others. | ||
* | Add empty (false) value testing for strings, tuples, lists, dicts. | Paul Sokolovsky | 2014-01-16 |
| | |||
* | str.format: Don't assume that '}' immediately follows '{', skip insides. | Paul Sokolovsky | 2014-01-16 |
| | | | | | That at least makes stuff like "{:x}".format(1) to produce not completely broken output. | ||
* | Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2int | Damien George | 2014-01-15 |
|\ | | | | | | | | | | | | | Conflicts: py/objint.c unix-cpy/Makefile unix/Makefile | ||
| * | add more tests and remove debug code | xyb | 2014-01-15 |
| | | |||
| * | int() test passed | xyb | 2014-01-15 |
| | | |||
| * | Implemented int(str) in UNIX | xyb | 2014-01-14 |
| | | |||
* | | Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-repr | Damien George | 2014-01-15 |
|\ \ | | | | | | | | | | | | | Conflicts: tests/basics/tests/exception1.py | ||
| * | | type->print(): Distinguish str() and repr() variety by passing extra param. | Paul Sokolovsky | 2014-01-15 |
| | | | |||
* | | | Merge branch 'builtins' of github.com:chipaca/micropython into chipaca-builtins | Damien George | 2014-01-15 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Added some checks for number of arguments. Conflicts: py/mpqstrraw.h | ||
| * | | | added filter() | John R. Lenton | 2014-01-15 |
| | | | | |||
| * | | | Added map | John R. Lenton | 2014-01-15 |
| | | | | |||
| * | | | Merge remote-tracking branch 'upstream/master' into builtins | John R. Lenton | 2014-01-14 |
| |\| | | |||
| * | | | added enumerate() | John R. Lenton | 2014-01-14 |
| | | | | |||
* | | | | Implement eval. | Damien George | 2014-01-15 |
| | | | | |||
* | | | | Implement repr. | Damien George | 2014-01-15 |
| |/ / |/| | | |||
* | | | Merge pull request #161 from pfalcon/exc-more-pythonic | Damien George | 2014-01-14 |
|\ \ \ | | | | | | | | | Move towards Python-compliant interface of exceptions | ||
| * | | | Refactor exception objects to have better impl of Python-side interface. | Paul Sokolovsky | 2014-01-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements internal args tuple of arguments, while still keeping object useful for reporting C-side errors. Further elaboration is needed. | ||
* | | | | Merge pull request #142 from chipaca/containment | Damien George | 2014-01-14 |
|\ \ \ \ | |_|/ / |/| | | | Implemented support for `in` and `not in` operators. | ||
| * | | | Merge remote-tracking branch 'upstream/master' into containment | John R. Lenton | 2014-01-13 |
| |\| | | |||
| * | | | Implemented support for `in` and `not in` operators. | John R. Lenton | 2014-01-11 |
| | | | | |||
* | | | | Merge pull request #165 from chipaca/builtins | Damien George | 2014-01-14 |
|\ \ \ \ | | | | | | | | | | | added zip() | ||
| * | | | | 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. | ||
* | | | 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 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. | ||
* | | | | oops, nasty off-by-one in set_copy | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set binary ops. | John R. Lenton | 2014-01-12 |
| | | | |