summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* stackctrl: Add "mp_" prefix.Paul Sokolovsky2014-07-01
|
* modffi: Add special 'C' code for passing a callback function pointer.Paul Sokolovsky2014-07-01
|
* Merge pull request #710 from iabdalkader/assertDamien George2014-06-30
|\ | | | | Fix assert_func warning/error
| * Add NORETURN to __fatal_errormux2014-06-21
| |
| * Fix asser_func warning/errormux2014-06-21
| | | | | | | | | | * Add while(1) to assert_func to avoid func returns warning * Define a weak attr in mpconfig.h
* | py: Improvements to native emitter.Damien George2014-06-30
| | | | | | | | | | | | | | | | | | | | | | Native emitter can now compile try/except blocks using nlr_push/nlr_pop. It probably only works for 1 level of exception handling. It doesn't work on Thumb (only x64). Native emitter can also handle some additional op codes. With this patch, 198 tests now pass using "-X emit=native" option to micropython.
* | stmhal: pyb.adc: Clarify that buffer with elements of any size can be used.Paul Sokolovsky2014-06-29
| | | | | | | | Based on forum post: http://forum.micropython.org/viewtopic.php?f=6&t=193
* | Merge pull request #730 from stinos/windows-mpconfigPaul Sokolovsky2014-06-29
|\ \ | | | | | | windows: Sync mpconfigport.h with the unix' version
| * | windows: Sync mpconfigport.h with the unix' versionstijn2014-06-29
| | | | | | | | | | | | | | | | | | - rearrange/add definitions that were not there so it's easier to compare both - use MICROPY_PY_SYS_PLATFORM in main.c since it's available anyway - define EWOULDBLOCK, it is missing from ingw32
* | | gendoc.py: Support modules w/o functions and/or classes.Paul Sokolovsky2014-06-29
| | | | | | | | | | | | I.e. don't assume that both are always present.
* | | modffi: Support short types.Paul Sokolovsky2014-06-29
|/ /
* | stmhal: Include mpconfig.h before all other includes.Paul Sokolovsky2014-06-28
| | | | | | | | | | | | It defines types used by all other headers. Fixes #691.
* | py: Make unichar_charlen() accept/return machine_uint_t.Paul Sokolovsky2014-06-28
| |
* | Merge pull request #729 from stinos/fix-include-orderPaul Sokolovsky2014-06-28
|\ \ | | | | | | unix: Fix mpconfig.h not being included before misc.h
| * | unix: Fix mpconfig.h not being included before misc.hstijn2014-06-28
|/ / | | | | | | This fixes count_lead_ones in misc.h not compiling due to unknown types
* | Merge branch 'unicode'Damien George2014-06-28
|\ \
| * | unix, stmhal: Add option for STR_UNICODE to mpconfigport.h.Damien George2014-06-28
| | | | | | | | | | | | | | | | | | Unicode is disabled by default for now, since FileIO.read(n) is currently not implemented for text-mode files, and this is an often function.
| * | py: Add missing #endif.Damien George2014-06-28
| | |
| * | tests: Write output in byte mode, not text mode.Damien George2014-06-28
| | | | | | | | | | | | This enables testing unicode and non-unicode implementations.
| * | py: Small comments, name changes, use of machine_int_t.Damien George2014-06-28
| | |
| * | Merge branch 'master' into unicodeDamien George2014-06-28
| |\ \ | |/ / |/| | | | | | | | Conflicts: py/mpconfig.h
* | | py: Add protection against printing too nested or recursive data structures.Paul Sokolovsky2014-06-28
| | | | | | | | | | | | With a test which cannot be automatically validated so far.
* | | bare-arm: Hint of setting MICROPY_ERROR_REPORTING to REPORTING_TERSE.Paul Sokolovsky2014-06-27
| | | | | | | | | | | | | | | Commented out so far, as enabled leads to dozen more bytes used actually (due to string pooling effects).
* | | bare-arm: Disable array module and even bytearray type.Paul Sokolovsky2014-06-27
| | | | | | | | | | | | To squeeze few more hundreds of bytes.
* | | py: Allow to disable array module and bytearray type.Paul Sokolovsky2014-06-27
| | | | | | | | | | | | | | | array.array and bytearray share big deal of code, so to get real savings, both need to be disabled.
* | | bare-arm: Enable link map file.Paul Sokolovsky2014-06-27
| | | | | | | | | | | | | | | This port supposed to be demo of uPy minimality, so let people behold it in details.
* | | py: Move stack_ctrl_init() to mp_init().Paul Sokolovsky2014-06-27
| | | | | | | | | | | | | | | | | | As stack checking is enabled by default, ports which don't call stack_ctrl_init() are broken now (report RuntimeError on startup). Save them trouble and just init stack control framework in interpreter init.
* | | Merge pull request #720 from iabdalkader/mcu_namePaul Sokolovsky2014-06-27
|\ \ \ | | | | | | | | Change MCU name config micro
| * | | Change MCU name config micromux2014-06-27
|/ / /
* | | Merge pull request #717 from stinos/dead-codePaul Sokolovsky2014-06-27
|\ \ \ | | | | | | | | unix: Remove unused CTRL-D definition
| * | | unix: Remove unused CTRL-D definitionstijn2014-06-25
| | | |
* | | | Merge pull request #703 from iabdalkader/micro_namesPaul Sokolovsky2014-06-27
|\ \ \ \ | | | | | | | | | | Add MICROPY_HW_MICRO_NAME to boards config
| * | | | Add MICROPY_HW_MICRO_NAME to boards configmux2014-06-19
| | | | |
| | | * | tests: Add basic test for unicode file i/o.Paul Sokolovsky2014-06-27
| | | | |
| | | * | streams: Reading by char count from unicode text streams is not implemented.Paul Sokolovsky2014-06-27
| | | | |
| | | * | misc: Add count_lead_ones() function, useful for UTF-8 handling.Paul Sokolovsky2014-06-27
| | | | |
| | | * | tests: Test for explicit start/end args to str methods for unicode.Paul Sokolovsky2014-06-27
| | | | |
| | | * | objstrunicode: Refactor str_index_to_ptr() following objstr.Paul Sokolovsky2014-06-27
| | | | |
| | | * | objstr: 64-bit issues.Paul Sokolovsky2014-06-27
| | | | |
| | | * | objstrunicode: Signedness issues.Paul Sokolovsky2014-06-27
| | | | |
| | | * | unicode: Make get_char()/next_char()/charlen() be 8-bit compatible.Paul Sokolovsky2014-06-27
| | | | | | | | | | | | | | | | | | | | Based on config define.
| | | * | tests: Add tests for unicode find()/rfind()/index().Paul Sokolovsky2014-06-27
| | | | |
| | | * | objstr: find(), rfind(), index(): Make return value be unicode-aware.Paul Sokolovsky2014-06-27
| | | | |
| | | * | unicode: Add utf8_ptr_to_index().Paul Sokolovsky2014-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | Useful when we have pointer to char inside string, but need to return char index. (E.g. str.find()).
| | | * | py: Add dedicated unicode header.Paul Sokolovsky2014-06-27
| | | | |
| | | * | tests: Add test for unicode string iteration.Paul Sokolovsky2014-06-27
| | | | |
| | | * | objstrunicode: Implement iterator.Paul Sokolovsky2014-06-27
| | | | |
| | | * | objstrunicode: Re-add buffer protocol back for now, required for io.StringIO.Paul Sokolovsky2014-06-27
| | | | |
| | | * | objstrunicode: Revamp len() handling for unicode, and optimize bool().Paul Sokolovsky2014-06-27
| | | | |
| | | * | objstrunicode: Get rid of bytes checking, it's separate type.Paul Sokolovsky2014-06-27
| | | | |