summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* Merge pull request #226 from pfalcon/make-debugDamien George2014-01-26
|\ | | | | unix Makefile: -Og doesn't work (at least) with gcc 4.6 below.
| * unix Makefile: -Og doesn't work (at least) with gcc 4.6 below.Paul Sokolovsky2014-01-25
| | | | | | | | Also, don't try to force debug info format, use native.
* | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-26
|\ \
| * | sock-server.py: Use SO_REUSEADDR to avoid errors on quick restart.Paul Sokolovsky2014-01-26
| | |
| * | unix socket: Add setsockopt() method.Paul Sokolovsky2014-01-26
| | |
| * | Functions of fixed number of args are special-cased only for 3 or less args.Paul Sokolovsky2014-01-26
| | |
| * | Add MP_OBJ_IS_INT(), for symmetry with MP_OBJ_IS_STR().Paul Sokolovsky2014-01-26
| | |
| * | unix socket: Add few more socket constants.Paul Sokolovsky2014-01-26
| | |
| * | unix socket: Store module constants in data structure.Paul Sokolovsky2014-01-26
| |/ | | | | | | -147 bytes on x86.
* / stm: USB host mode working! Restructure stm library directories.Damien George2014-01-26
|/
* Merge pull request #225 from dhylands/fix-make-depDamien George2014-01-25
|\ | | | | Fixed dependency problem for qstrdefs.generated.h
| * Fixed dependency problem for qstrdefs.generated.hDave Hylands2014-01-25
| | | | | | | | | | | | The problem manifests itself in make 4.0 I also fixed the LINK message when linking the final executable for unix and unix-cpy.
* | stm: Improved ADC module; add BOARD_NAME config value.Damien George2014-01-25
| |
* | Implement mp_parse_node_free; print properly repr(string).Damien George2014-01-25
| |
* | Merge branch 'free-parse-tree' of github.com:pfalcon/micropython into ↵Damien George2014-01-25
|\ \ | | | | | | | | | pfalcon-free-parse-tree
| * | Add parse_node_free_struct() and use it to free parse tree after compilation.Paul Sokolovsky2014-01-25
| | | | | | | | | | | | TODO: Check lexer/parse/compile error path for leaks too.
* | | py: Optimise generated code for working out line numbers.Damien George2014-01-25
| |/ |/|
* | stm: Put gc_collect code in separate file; define _ram_start in .ld.Damien George2014-01-25
| | | | | | | | To partly address Issue #220.
* | Remove obsoleted comment.Damien George2014-01-25
| |
* | Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-25
|\|
| * rt_deinit(): Finalize some maps.Paul Sokolovsky2014-01-25
| |
| * Add mp_map_deinit() & mp_map_free() to finalize maps.Paul Sokolovsky2014-01-25
| | | | | | | | mp_map_deinit() finalizes static map, mp_map_free() - dynamic.
* | py: Implement iterator support for object that has __getitem__.Damien George2014-01-25
|/ | | | Addresses Issue #203.
* Merge pull request #221 from pfalcon/basic-bytesDamien George2014-01-24
|\ | | | | Add basic implementation of bytes type, piggybacking on str.
| * Add basic implementation of bytes type, piggybacking on str.Paul Sokolovsky2014-01-24
| | | | | | | | | | This reuses as much str implementation as possible, from this we can make them more separate as needed.
* | Merge pull request #219 from dhylands/add-depsDamien George2014-01-24
|\ \ | | | | | | Rework makefiles. Add proper dependency checking.
| * | Rework makefiles. Add proper dependency checking.Dave Hylands2014-01-24
| |/
* | Revert "Move gc_collect to py/gc.c"Damien George2014-01-24
| | | | | | | | This reverts commit a215b09c0dc29b82161092e92ea2e5e004d79468.
* | Merge pull request #218 from iabdalkader/masterDamien George2014-01-24
|\ \ | | | | | | Move file obj to separate module
| * | Move gc_collect to py/gc.cmux2014-01-24
| | | | | | | | | | | | | | | | | | * Move gc_collect from main to py/gc.c * Define GC's memory boundaries in linker script * Issue #220
| * | Move file obj to separate modulemux2014-01-24
| |/
* | py: Improve freeing of emitters in mp_compile.Damien George2014-01-24
| | | | | | | | | | There can be multiple emitters allocated during compile (eg byte code and native).
* | Merge pull request #217 from pfalcon/free-emitterDamien George2014-01-24
|\ \ | | | | | | Add support for freeing code emitter objects at the end of compilation.
| * | Add support for freeing code emitter objects at the end of compilation.Paul Sokolovsky2014-01-24
| |/
* | Small edits to examples to get them working again with unix/micropython.Damien George2014-01-24
| |
* | Merge pull request #216 from ugurthemaster/patch-1Damien George2014-01-24
|\ \ | | | | | | Update conwaylife.py
| * | Update conwaylife.pyugurthemaster2014-01-24
| | | | | | | | | Import statements have been moved to the top of the file.
* | | Retain file order of qstr definitions.Damien George2014-01-24
| | | | | | | | | | | | | | | 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.
* | | Merge pull request #215 from pfalcon/qstr-special-charsDamien George2014-01-24
|\ \ \ | |_|/ |/| | Allow qstr's with non-ident chars, construct good identifier for them.
| * | Allow qstr's with non-ident chars, construct good identifier for them.Paul Sokolovsky2014-01-24
| | | | | | | | | | | | | | | Also, add qstr's for string appearing in unix REPL loop, gross effect being less allocations for each command run.
* | | unix main: Free input line.Paul Sokolovsky2014-01-24
| |/ |/| | | | | | | Also, readline uses system malloc, so for symmetry, use the same for non-readline case.
* | lexerstr: Free mp_lexer_str_buf_t structure itself.Paul Sokolovsky2014-01-24
|/
* Merge pull request #214 from pfalcon/compile-mem-leaksDamien George2014-01-23
|\ | | | | Memory leaks in lexer/compiler
| * mp_compile(): Properly free module_scope and all nested scopes.Paul Sokolovsky2014-01-23
| |
| * mp_lexer_free(): Free lex->indent_level array.Paul Sokolovsky2014-01-23
| |
* | stm: Remove unnecessary #includes; small other changes.Damien George2014-01-23
| |
* | Merge pull request #213 from iabdalkader/masterDamien George2014-01-23
|\ \ | |/ |/| Move LED defs to mpconfigport.h
| * Move LED defs to mpconfigport.hmux2014-01-23
|/
* Merge branch 'master' of github.com:iabdalkader/micropython into ↵Damien George2014-01-23
|\ | | | | | | | | | | | | iabdalkader-master Conflicts: stm/main.c
| * Fix USB CORE PCGCCTL Wrong Addressmux2014-01-23
| | | | | | | | | | * Fix PCGCCTL bug using address instead of value. * Fix issue #211