summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-27list.pop(): Don't allow ->alloc drop to zero, which causes unexpected behavior.Paul Sokolovsky
2014-01-27gen.send(): Throw StopIteration. Also, explicitly shutdown finished gen.Paul Sokolovsky
Otherwise, some generator statements still may be spuriously executed on subsequent calls to next()/send().
2014-01-26Merge pull request #228 from pfalcon/gen-sendDamien George
Implement send() method for generators.
2014-01-26Implement send() method for generators.Paul Sokolovsky
2014-01-26Change -Og to -O0 in unix-cpy/Makefile; cast to small int in socket.c.Damien George
2014-01-26Merge pull request #226 from pfalcon/make-debugDamien George
unix Makefile: -Og doesn't work (at least) with gcc 4.6 below.
2014-01-26Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-26stm: USB host mode working! Restructure stm library directories.Damien George
2014-01-26sock-server.py: Use SO_REUSEADDR to avoid errors on quick restart.Paul Sokolovsky
2014-01-26unix socket: Add setsockopt() method.Paul Sokolovsky
2014-01-26Functions of fixed number of args are special-cased only for 3 or less args.Paul Sokolovsky
2014-01-26Add MP_OBJ_IS_INT(), for symmetry with MP_OBJ_IS_STR().Paul Sokolovsky
2014-01-26unix socket: Add few more socket constants.Paul Sokolovsky
2014-01-26unix socket: Store module constants in data structure.Paul Sokolovsky
-147 bytes on x86.
2014-01-25unix Makefile: -Og doesn't work (at least) with gcc 4.6 below.Paul Sokolovsky
Also, don't try to force debug info format, use native.
2014-01-25Merge pull request #225 from dhylands/fix-make-depDamien George
Fixed dependency problem for qstrdefs.generated.h
2014-01-25Fixed dependency problem for qstrdefs.generated.hDave Hylands
The problem manifests itself in make 4.0 I also fixed the LINK message when linking the final executable for unix and unix-cpy.
2014-01-25stm: Improved ADC module; add BOARD_NAME config value.Damien George
2014-01-25Implement mp_parse_node_free; print properly repr(string).Damien George
2014-01-25Merge branch 'free-parse-tree' of github.com:pfalcon/micropython into ↵Damien George
pfalcon-free-parse-tree
2014-01-25py: Optimise generated code for working out line numbers.Damien George
2014-01-25stm: Put gc_collect code in separate file; define _ram_start in .ld.Damien George
To partly address Issue #220.
2014-01-25Remove obsoleted comment.Damien George
2014-01-25Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-25py: Implement iterator support for object that has __getitem__.Damien George
Addresses Issue #203.
2014-01-25Add parse_node_free_struct() and use it to free parse tree after compilation.Paul Sokolovsky
TODO: Check lexer/parse/compile error path for leaks too.
2014-01-25rt_deinit(): Finalize some maps.Paul Sokolovsky
2014-01-25Add mp_map_deinit() & mp_map_free() to finalize maps.Paul Sokolovsky
mp_map_deinit() finalizes static map, mp_map_free() - dynamic.
2014-01-24Merge pull request #221 from pfalcon/basic-bytesDamien George
Add basic implementation of bytes type, piggybacking on str.
2014-01-24Merge pull request #219 from dhylands/add-depsDamien George
Rework makefiles. Add proper dependency checking.
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-24Add basic implementation of bytes type, piggybacking on str.Paul Sokolovsky
This reuses as much str implementation as possible, from this we can make them more separate as needed.
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-24Rework makefiles. Add proper dependency checking.Dave Hylands
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