aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-24Revert "Move gc_collect to py/gc.c"Damien George
This reverts commit a215b09c0dc29b82161092e92ea2e5e004d79468.
2014-01-24Merge pull request #218 from iabdalkader/masterDamien George
Move file obj to separate module
2014-01-24py: Improve freeing of emitters in mp_compile.Damien George
There can be multiple emitters allocated during compile (eg byte code and native).
2014-01-24Merge pull request #217 from pfalcon/free-emitterDamien George
Add support for freeing code emitter objects at the end of compilation.
2014-01-24Small edits to examples to get them working again with unix/micropython.Damien George
2014-01-24Merge pull request #216 from ugurthemaster/patch-1Damien George
Update conwaylife.py
2014-01-24Retain file order of qstr definitions.Damien George
Want common qstrs to be first in the list so they have the lowest ids, so that in the byte code they take up the least room.
2014-01-24Merge pull request #215 from pfalcon/qstr-special-charsDamien George
Allow qstr's with non-ident chars, construct good identifier for them.
2014-01-24Move gc_collect to py/gc.cmux
* Move gc_collect from main to py/gc.c * Define GC's memory boundaries in linker script * Issue #220
2014-01-24Move file obj to separate modulemux
2014-01-24Add support for freeing code emitter objects at the end of compilation.Paul Sokolovsky
2014-01-24unix main: Free input line.Paul Sokolovsky
Also, readline uses system malloc, so for symmetry, use the same for non-readline case.
2014-01-24Update conwaylife.pyugurthemaster
Import statements have been moved to the top of the file.
2014-01-24lexerstr: Free mp_lexer_str_buf_t structure itself.Paul Sokolovsky
2014-01-24Allow qstr's with non-ident chars, construct good identifier for them.Paul Sokolovsky
Also, add qstr's for string appearing in unix REPL loop, gross effect being less allocations for each command run.
2014-01-23Merge pull request #214 from pfalcon/compile-mem-leaksDamien George
Memory leaks in lexer/compiler
2014-01-23stm: Remove unnecessary #includes; small other changes.Damien George
2014-01-23Merge pull request #213 from iabdalkader/masterDamien George
Move LED defs to mpconfigport.h
2014-01-23mp_compile(): Properly free module_scope and all nested scopes.Paul Sokolovsky
2014-01-23mp_lexer_free(): Free lex->indent_level array.Paul Sokolovsky
2014-01-23Move LED defs to mpconfigport.hmux
2014-01-23Merge branch 'master' of github.com:iabdalkader/micropython into ↵Damien George
iabdalkader-master Conflicts: stm/main.c
2014-01-23py: Implement bool unary op; tidy up unary op dispatch.Damien George
2014-01-23py: Simpler implementation of mp_obj_callable.Damien George
2014-01-23Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-23stm: LCD support for PYBv4; fix MMA reading code.Damien George
2014-01-23Fix USB CORE PCGCCTL Wrong Addressmux
* Fix PCGCCTL bug using address instead of value. * Fix issue #211
2014-01-23Move RTC to Separate Modulemux
* Move RTC code from main to a separate module.
2014-01-23Add More Feature Test Macrosmux
* Add MICROPY_HW_HAS_LCD * Add MICROPY_HW_HAS_WLAN * Use feature test macros in main
2014-01-23mp_obj_is_callable(): Only object types can be callable.Paul Sokolovsky
Fixes segfault on callable("string").
2014-01-23stm: Add memcmp() implementation.Paul Sokolovsky
2014-01-23Implement simplest case of str.startswith().Paul Sokolovsky
2014-01-23py: Use C99 way of variable macro arguments.Damien George
Addresses Issue #207.
2014-01-23py: Change macro var args in parser to be C99 compliant.Damien George
2014-01-22py: Initialise loaded_module map in rt_init.Damien George
STM port crashes without this re-init. There should not be any state in the core py/ code that relies on pre-initialised data.
2014-01-22Fix 1 warning and 1 bug.Damien George
2014-01-22Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-22Merge pull request #208 from pfalcon/string-escapesDamien George
Implement octal and hex escapes in strings.
2014-01-22Merge pull request #206 from iabdalkader/masterDamien George
Add Generic Feature Macros to mpconfigport
2014-01-22Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-22stm: Fix USART3 init. Small edits to Makefile and other things.Damien George
2014-01-22Implement octal and hex escapes in strings.Paul Sokolovsky
2014-01-22Fix Feature Macro Prefixmux
2014-01-22file.readline(): Use mp_obj_str_get_data() and fix off-by-one error on EOF.Paul Sokolovsky
2014-01-22Remove Underscore from Macro Namesmux
2014-01-22Add Generic Feature Macros to mpconfigportmux
* Add some generic feature macros to mpconfigport * Move pin and port definitions from usrsw.c to mpconfigport
2014-01-22Second stage of qstr revamp: uPy str object can be qstr or not.Damien George
2014-01-22Merge branch 'fix-stm-discovery' of github.com:dhylands/micropython into ↵Damien George
dhylands-fix-stm-discovery Conflicts: stm/main.c
2014-01-21Fix support for STM32F4DISCOVERYDave Hylands
2014-01-22py: Remove implicit conversion of float to int in mp_obj_get_int().Damien George
Addresses Issue #199.