summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* py: Implement bool unary op; tidy up unary op dispatch.Damien George2014-01-23
|
* py: Simpler implementation of mp_obj_callable.Damien George2014-01-23
|
* Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-23
|\
| * mp_obj_is_callable(): Only object types can be callable.Paul Sokolovsky2014-01-23
| | | | | | | | Fixes segfault on callable("string").
| * stm: Add memcmp() implementation.Paul Sokolovsky2014-01-23
| |
| * Implement simplest case of str.startswith().Paul Sokolovsky2014-01-23
| |
* | stm: LCD support for PYBv4; fix MMA reading code.Damien George2014-01-23
|/
* py: Use C99 way of variable macro arguments.Damien George2014-01-23
| | | | Addresses Issue #207.
* py: Change macro var args in parser to be C99 compliant.Damien George2014-01-23
|
* py: Initialise loaded_module map in rt_init.Damien George2014-01-22
| | | | | STM port crashes without this re-init. There should not be any state in the core py/ code that relies on pre-initialised data.
* Fix 1 warning and 1 bug.Damien George2014-01-22
|
* Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-22
|\
| * Merge pull request #208 from pfalcon/string-escapesDamien George2014-01-22
| |\ | | | | | | Implement octal and hex escapes in strings.
| | * Implement octal and hex escapes in strings.Paul Sokolovsky2014-01-22
| | |
* | | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-22
|\| |
| * | Merge pull request #206 from iabdalkader/masterDamien George2014-01-22
| |\ \ | | |/ | |/| Add Generic Feature Macros to mpconfigport
| | * Fix Feature Macro Prefixmux2014-01-22
| | |
| | * Remove Underscore from Macro Namesmux2014-01-22
| | |
| | * Add Generic Feature Macros to mpconfigportmux2014-01-22
| | | | | | | | | | | | | | | * Add some generic feature macros to mpconfigport * Move pin and port definitions from usrsw.c to mpconfigport
| * | file.readline(): Use mp_obj_str_get_data() and fix off-by-one error on EOF.Paul Sokolovsky2014-01-22
| |/
* / stm: Fix USART3 init. Small edits to Makefile and other things.Damien George2014-01-22
|/
* Second stage of qstr revamp: uPy str object can be qstr or not.Damien George2014-01-22
|
* Merge branch 'fix-stm-discovery' of github.com:dhylands/micropython into ↵Damien George2014-01-22
|\ | | | | | | | | | | | | dhylands-fix-stm-discovery Conflicts: stm/main.c
| * Fix support for STM32F4DISCOVERYDave Hylands2014-01-21
| |
* | py: Remove implicit conversion of float to int in mp_obj_get_int().Damien George2014-01-22
| | | | | | | | Addresses Issue #199.
* | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-21
|\ \
| * | Merge pull request #204 from dhylands/masterDamien George2014-01-21
| |\| | | | | | | Fix malformed makeqstrdata generated file when using python 2.7
| | * Fix malformed generated file when using python 2.7Dave Hylands2014-01-21
| | |
* | | py: Implement break and continue byte codes, and add tests.Damien George2014-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).
* / stm: Clean up main.c; disable libgcc by default.Damien George2014-01-21
|/ | | | | f2d and d2f functions from libgcc does not work correctly, most likely due to the ABI being incorrect. libgcc disabled for now.
* stm: Put HSE_VALUE and other defines in mpconfigport.h.Damien George2014-01-21
| | | | | mpconfigport.h is now included by stm32f4xx.h so that all STM files have access to these defines.
* stm: Put TARGET in mpconfigport.h; support PYBv4.Damien George2014-01-21
|
* Merge pull request #202 from iabdalkader/masterDamien George2014-01-21
|\ | | | | Remove hardcoded PLL_M value
| * Add OSC_VALUE to Makefilemux2014-01-21
| | | | | | | | * Add the option to pass OSC frequency on command line.
| * Remove hardcoded PLL_M valuemux2014-01-21
| |
* | Add bytearray basic tests.Paul Sokolovsky2014-01-21
| |
* | array: Implement iterator.Paul Sokolovsky2014-01-21
| |
* | Add len() support for arrays.Paul Sokolovsky2014-01-21
| |
* | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-21
|\| | | | | | | | | | | | | | | | | Conflicts: py/objstr.c py/py.mk py/stream.c unix/main.c unix/socket.c
| * run-tests: Allow to run tests selectively via command line.Paul Sokolovsky2014-01-21
| |
| * Implement str.split(None).Paul Sokolovsky2014-01-21
| | | | | | | | Note that splitting by explicit string is not implemented so far.
| * str: Implement proper string (instead of byte string) indexing.Paul Sokolovsky2014-01-21
| | | | | | | | Also, support negative indexes.
| * Implement string multiplication.Paul Sokolovsky2014-01-21
| |
| * sequence.c: Start to refactor sequence operations for reuse among types.Paul Sokolovsky2014-01-21
| |
| * unix file: Refactor and add sys.stdout/stdin/stderr.Paul Sokolovsky2014-01-20
| |
| * objstr: More support for MP_OBJ_QSTR.Paul Sokolovsky2014-01-20
| |
| * mp_obj_get_type_str(): Handle MP_OBJ_QSTR.Paul Sokolovsky2014-01-20
| |
| * socket-client, socket-server examples now run on both Micro- and C-Python.Paul Sokolovsky2014-01-20
| |
| * Add dummy bytes() constructor.Paul Sokolovsky2014-01-20
| | | | | | | | | | | | Currently, MicroPython strings are mix between CPython byte and unicode strings. So, conversion is null so far. This dummy implementation is intended for compatibility with CPython (so, same code can run on both).
| * Don't preimport socket module.Paul Sokolovsky2014-01-20
| |