Damien George
|
8fcf7b858d
|
Merge pull request #225 from dhylands/fix-make-dep
Fixed dependency problem for qstrdefs.generated.h
|
2014-01-25 09:34:23 -08:00 |
|
Dave Hylands
|
1a3b0d5fed
|
Fixed dependency problem for qstrdefs.generated.h
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-25 08:55:31 -08:00 |
|
Damien George
|
51f3a6becd
|
stm: Improved ADC module; add BOARD_NAME config value.
|
2014-01-25 16:30:47 +00:00 |
|
Damien George
|
b829b5caec
|
Implement mp_parse_node_free; print properly repr(string).
|
2014-01-25 13:51:19 +00:00 |
|
Damien George
|
e0722ee9d9
|
Merge branch 'free-parse-tree' of github.com:pfalcon/micropython into pfalcon-free-parse-tree
|
2014-01-25 11:54:46 +00:00 |
|
Damien George
|
28eb57786d
|
py: Optimise generated code for working out line numbers.
|
2014-01-25 11:43:20 +00:00 |
|
Damien George
|
449dd0a69e
|
stm: Put gc_collect code in separate file; define _ram_start in .ld.
To partly address Issue #220.
|
2014-01-25 00:44:31 +00:00 |
|
Damien George
|
2259e62c37
|
Remove obsoleted comment.
|
2014-01-25 00:25:32 +00:00 |
|
Damien George
|
0f5e8b151f
|
Merge branch 'master' of github.com:micropython/micropython
|
2014-01-25 00:18:30 +00:00 |
|
Damien George
|
7c9c667633
|
py: Implement iterator support for object that has __getitem__.
Addresses Issue #203.
|
2014-01-25 00:17:36 +00:00 |
|
Paul Sokolovsky
|
aee2ba70de
|
Add parse_node_free_struct() and use it to free parse tree after compilation.
TODO: Check lexer/parse/compile error path for leaks too.
|
2014-01-25 02:11:59 +02:00 |
|
Paul Sokolovsky
|
c1d200ef74
|
rt_deinit(): Finalize some maps.
|
2014-01-25 02:04:07 +02:00 |
|
Paul Sokolovsky
|
9a24a0465f
|
Add mp_map_deinit() & mp_map_free() to finalize maps.
mp_map_deinit() finalizes static map, mp_map_free() - dynamic.
|
2014-01-25 02:04:01 +02:00 |
|
Damien George
|
fcd4ae8271
|
Merge pull request #221 from pfalcon/basic-bytes
Add basic implementation of bytes type, piggybacking on str.
|
2014-01-24 15:15:47 -08:00 |
|
Damien George
|
58b8a6202a
|
Merge pull request #219 from dhylands/add-deps
Rework makefiles. Add proper dependency checking.
|
2014-01-24 15:03:39 -08:00 |
|
Damien George
|
0004a84ec0
|
Revert "Move gc_collect to py/gc.c"
This reverts commit a215b09c0d .
|
2014-01-24 22:54:09 +00:00 |
|
Damien George
|
baba08bff9
|
Merge pull request #218 from iabdalkader/master
Move file obj to separate module
|
2014-01-24 14:48:06 -08:00 |
|
Damien George
|
41d02b654e
|
py: Improve freeing of emitters in mp_compile.
There can be multiple emitters allocated during compile (eg byte code
and native).
|
2014-01-24 22:42:28 +00:00 |
|
Damien George
|
ceb87835fe
|
Merge pull request #217 from pfalcon/free-emitter
Add support for freeing code emitter objects at the end of compilation.
|
2014-01-24 14:32:40 -08:00 |
|
Damien George
|
4461970da0
|
Small edits to examples to get them working again with unix/micropython.
|
2014-01-24 22:26:13 +00:00 |
|
Damien George
|
389cb950e8
|
Merge pull request #216 from ugurthemaster/patch-1
Update conwaylife.py
|
2014-01-24 14:28:06 -08:00 |
|
Damien George
|
1976baeeb7
|
Retain file order of qstr definitions.
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-24 22:22:00 +00:00 |
|
Damien George
|
60aca4810f
|
Merge pull request #215 from pfalcon/qstr-special-chars
Allow qstr's with non-ident chars, construct good identifier for them.
|
2014-01-24 14:14:44 -08:00 |
|
Paul Sokolovsky
|
91fb1c9b13
|
Add basic implementation of bytes type, piggybacking on str.
This reuses as much str implementation as possible, from this we
can make them more separate as needed.
|
2014-01-24 22:56:26 +02:00 |
|
mux
|
a215b09c0d
|
Move gc_collect to py/gc.c
* Move gc_collect from main to py/gc.c
* Define GC's memory boundaries in linker script
* Issue #220
|
2014-01-24 21:33:19 +02:00 |
|
Dave Hylands
|
c89c681a9f
|
Rework makefiles. Add proper dependency checking.
|
2014-01-24 08:46:48 -08:00 |
|
mux
|
40048adabc
|
Move file obj to separate module
|
2014-01-24 17:14:13 +02:00 |
|
Paul Sokolovsky
|
f46d87a30d
|
Add support for freeing code emitter objects at the end of compilation.
|
2014-01-24 16:31:20 +02:00 |
|
Paul Sokolovsky
|
2b2cb7b7f4
|
unix main: Free input line.
Also, readline uses system malloc, so for symmetry, use the same for
non-readline case.
|
2014-01-24 16:29:49 +02:00 |
|
ugurthemaster
|
b94a209d1f
|
Update conwaylife.py
Import statements have been moved to the top of the file.
|
2014-01-24 08:48:10 +02:00 |
|
Paul Sokolovsky
|
39763c6cb0
|
lexerstr: Free mp_lexer_str_buf_t structure itself.
|
2014-01-24 02:57:50 +02:00 |
|
Paul Sokolovsky
|
ab5d08280b
|
Allow qstr's with non-ident chars, construct good identifier for them.
Also, add qstr's for string appearing in unix REPL loop, gross effect
being less allocations for each command run.
|
2014-01-24 02:34:22 +02:00 |
|
Damien George
|
d552db426b
|
Merge pull request #214 from pfalcon/compile-mem-leaks
Memory leaks in lexer/compiler
|
2014-01-23 14:27:40 -08:00 |
|
Damien George
|
3257d3543b
|
stm: Remove unnecessary #includes; small other changes.
|
2014-01-23 22:16:15 +00:00 |
|
Damien George
|
82fd302f1a
|
Merge pull request #213 from iabdalkader/master
Move LED defs to mpconfigport.h
|
2014-01-23 14:14:19 -08:00 |
|
Paul Sokolovsky
|
fd31358505
|
mp_compile(): Properly free module_scope and all nested scopes.
|
2014-01-23 23:16:18 +02:00 |
|
Paul Sokolovsky
|
624ed5d563
|
mp_lexer_free(): Free lex->indent_level array.
|
2014-01-23 23:16:18 +02:00 |
|
mux
|
45ad9b405d
|
Move LED defs to mpconfigport.h
|
2014-01-23 22:35:48 +02:00 |
|
Damien George
|
b080c7946b
|
Merge branch 'master' of github.com:iabdalkader/micropython into iabdalkader-master
Conflicts:
stm/main.c
|
2014-01-23 18:40:57 +00:00 |
|
Damien George
|
1e708fed18
|
py: Implement bool unary op; tidy up unary op dispatch.
|
2014-01-23 18:27:51 +00:00 |
|
Damien George
|
b051e7d167
|
py: Simpler implementation of mp_obj_callable.
|
2014-01-23 18:13:53 +00:00 |
|
Damien George
|
cfedd81c07
|
Merge branch 'master' of github.com:micropython/micropython
|
2014-01-23 18:11:05 +00:00 |
|
Damien George
|
26a00085fe
|
stm: LCD support for PYBv4; fix MMA reading code.
|
2014-01-23 18:10:42 +00:00 |
|
mux
|
1d1e4e1bd5
|
Fix USB CORE PCGCCTL Wrong Address
* Fix PCGCCTL bug using address instead of value.
* Fix issue #211
|
2014-01-23 18:27:29 +02:00 |
|
mux
|
638179fb9c
|
Move RTC to Separate Module
* Move RTC code from main to a separate module.
|
2014-01-23 13:49:06 +02:00 |
|
mux
|
c4808dae0a
|
Add More Feature Test Macros
* Add MICROPY_HW_HAS_LCD
* Add MICROPY_HW_HAS_WLAN
* Use feature test macros in main
|
2014-01-23 13:41:35 +02:00 |
|
Paul Sokolovsky
|
c3e72a8cc8
|
mp_obj_is_callable(): Only object types can be callable.
Fixes segfault on callable("string").
|
2014-01-23 03:37:21 +02:00 |
|
Paul Sokolovsky
|
bc5b3f8c73
|
stm: Add memcmp() implementation.
|
2014-01-23 02:47:10 +02:00 |
|
Paul Sokolovsky
|
1eacefe5bc
|
Implement simplest case of str.startswith().
|
2014-01-23 02:47:10 +02:00 |
|
Damien George
|
b979122dfb
|
py: Use C99 way of variable macro arguments.
Addresses Issue #207.
|
2014-01-23 00:34:21 +00:00 |
|