Damien George
|
58b8a6202a
|
Merge pull request #219 from dhylands/add-deps
Rework makefiles. Add proper dependency checking.
|
11 years ago |
Damien George
|
0004a84ec0
|
Revert "Move gc_collect to py/gc.c"
This reverts commit a215b09c0d .
|
11 years ago |
Damien George
|
baba08bff9
|
Merge pull request #218 from iabdalkader/master
Move file obj to separate module
|
11 years ago |
Damien George
|
41d02b654e
|
py: Improve freeing of emitters in mp_compile.
There can be multiple emitters allocated during compile (eg byte code
and native).
|
11 years ago |
Damien George
|
ceb87835fe
|
Merge pull request #217 from pfalcon/free-emitter
Add support for freeing code emitter objects at the end of compilation.
|
11 years ago |
Damien George
|
4461970da0
|
Small edits to examples to get them working again with unix/micropython.
|
11 years ago |
Damien George
|
389cb950e8
|
Merge pull request #216 from ugurthemaster/patch-1
Update conwaylife.py
|
11 years ago |
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.
|
11 years ago |
Damien George
|
60aca4810f
|
Merge pull request #215 from pfalcon/qstr-special-chars
Allow qstr's with non-ident chars, construct good identifier for them.
|
11 years ago |
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.
|
11 years ago |
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
|
11 years ago |
Dave Hylands
|
c89c681a9f
|
Rework makefiles. Add proper dependency checking.
|
11 years ago |
mux
|
40048adabc
|
Move file obj to separate module
|
11 years ago |
Paul Sokolovsky
|
f46d87a30d
|
Add support for freeing code emitter objects at the end of compilation.
|
11 years ago |
Paul Sokolovsky
|
2b2cb7b7f4
|
unix main: Free input line.
Also, readline uses system malloc, so for symmetry, use the same for
non-readline case.
|
11 years ago |
ugurthemaster
|
b94a209d1f
|
Update conwaylife.py
Import statements have been moved to the top of the file.
|
11 years ago |
Paul Sokolovsky
|
39763c6cb0
|
lexerstr: Free mp_lexer_str_buf_t structure itself.
|
11 years ago |
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.
|
11 years ago |
Damien George
|
d552db426b
|
Merge pull request #214 from pfalcon/compile-mem-leaks
Memory leaks in lexer/compiler
|
11 years ago |
Damien George
|
3257d3543b
|
stm: Remove unnecessary #includes; small other changes.
|
11 years ago |
Damien George
|
82fd302f1a
|
Merge pull request #213 from iabdalkader/master
Move LED defs to mpconfigport.h
|
11 years ago |
Paul Sokolovsky
|
fd31358505
|
mp_compile(): Properly free module_scope and all nested scopes.
|
11 years ago |
Paul Sokolovsky
|
624ed5d563
|
mp_lexer_free(): Free lex->indent_level array.
|
11 years ago |
mux
|
45ad9b405d
|
Move LED defs to mpconfigport.h
|
11 years ago |
Damien George
|
b080c7946b
|
Merge branch 'master' of github.com:iabdalkader/micropython into iabdalkader-master
Conflicts:
stm/main.c
|
11 years ago |
Damien George
|
1e708fed18
|
py: Implement bool unary op; tidy up unary op dispatch.
|
11 years ago |
Damien George
|
b051e7d167
|
py: Simpler implementation of mp_obj_callable.
|
11 years ago |
Damien George
|
cfedd81c07
|
Merge branch 'master' of github.com:micropython/micropython
|
11 years ago |
Damien George
|
26a00085fe
|
stm: LCD support for PYBv4; fix MMA reading code.
|
11 years ago |
mux
|
1d1e4e1bd5
|
Fix USB CORE PCGCCTL Wrong Address
* Fix PCGCCTL bug using address instead of value.
* Fix issue #211
|
11 years ago |
mux
|
638179fb9c
|
Move RTC to Separate Module
* Move RTC code from main to a separate module.
|
11 years ago |
mux
|
c4808dae0a
|
Add More Feature Test Macros
* Add MICROPY_HW_HAS_LCD
* Add MICROPY_HW_HAS_WLAN
* Use feature test macros in main
|
11 years ago |
Paul Sokolovsky
|
c3e72a8cc8
|
mp_obj_is_callable(): Only object types can be callable.
Fixes segfault on callable("string").
|
11 years ago |
Paul Sokolovsky
|
bc5b3f8c73
|
stm: Add memcmp() implementation.
|
11 years ago |
Paul Sokolovsky
|
1eacefe5bc
|
Implement simplest case of str.startswith().
|
11 years ago |
Damien George
|
b979122dfb
|
py: Use C99 way of variable macro arguments.
Addresses Issue #207.
|
11 years ago |
Damien George
|
00208ce194
|
py: Change macro var args in parser to be C99 compliant.
|
11 years ago |
Damien George
|
0d028743aa
|
py: Initialise loaded_module map in rt_init.
STM port crashes without this re-init. There should not be any state in
the core py/ code that relies on pre-initialised data.
|
11 years ago |
Damien George
|
f64086f80f
|
Fix 1 warning and 1 bug.
|
11 years ago |
Damien George
|
452932ace4
|
Merge branch 'master' of github.com:micropython/micropython
|
11 years ago |
Damien George
|
60fec7a9c0
|
Merge pull request #208 from pfalcon/string-escapes
Implement octal and hex escapes in strings.
|
11 years ago |
Damien George
|
66db7bf69f
|
Merge pull request #206 from iabdalkader/master
Add Generic Feature Macros to mpconfigport
|
11 years ago |
Damien George
|
8bcc52e834
|
Merge branch 'master' of github.com:micropython/micropython
|
11 years ago |
Damien George
|
b5d13c309f
|
stm: Fix USART3 init. Small edits to Makefile and other things.
|
11 years ago |
Paul Sokolovsky
|
0b7184dcb8
|
Implement octal and hex escapes in strings.
|
11 years ago |
mux
|
3c7e71fb00
|
Fix Feature Macro Prefix
|
11 years ago |
Paul Sokolovsky
|
0914371faf
|
file.readline(): Use mp_obj_str_get_data() and fix off-by-one error on EOF.
|
11 years ago |
mux
|
630d8ff89f
|
Remove Underscore from Macro Names
|
11 years ago |
mux
|
28b23f09a4
|
Add Generic Feature Macros to mpconfigport
* Add some generic feature macros to mpconfigport
* Move pin and port definitions from usrsw.c to mpconfigport
|
11 years ago |
Damien George
|
5fa93b6755
|
Second stage of qstr revamp: uPy str object can be qstr or not.
|
11 years ago |