| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-02-08 | py: Allow mp_map_t to be initialised by a fixed-size, const table. | Damien George | |
| This allows keyword maps to be created directly from stack data. | |||
| 2014-02-08 | Make mp_obj_str_get_data return char* instead of byte*. | Damien George | |
| Can't decide which is better for string type, char or byte pointer. Changing to char removes a few casts. Really need to do proper unicode. | |||
| 2014-02-08 | stm: Mount SD card on 1:/ if present. | Damien George | |
| If SD card is present on (soft) reset then it's mounted on 1:/ and files can be openned using, eg, open('1:/test.txt', 'r'), or 'w' for writing. | |||
| 2014-02-06 | py: Put builtins into ROM table. | Damien George | |
| Linear table at the moment, to eventually be replaced with a hash table generated by a preprocessor. Dynamic table is retained so that builtins can be overridden. | |||
| 2014-02-06 | Implement fixed buffer vstrs; use them for import path. | Damien George | |
| 2014-02-06 | Add staticmethod and classmethod to builtin namespace. | Damien George | |
| 2014-02-06 | py: More output in showbc. | Damien George | |
| 2014-02-06 | py: Fix compile of class with keyword arguments in bases. | Damien George | |
| 2014-02-06 | Add mp_import_stat to unix-cpy port. | Damien George | |
| 2014-02-06 | Add more finally + break/continue testcases. | Paul Sokolovsky | |
| 2014-02-06 | Add additional testcase for finally/return. | Paul Sokolovsky | |
| 2014-02-05 | Search paths properly on import and execute __init__.py if it exists. | Damien George | |
| 2014-02-05 | Merge pull request #262 from pfalcon/sys-path | Damien George | |
| Implement sys.path support | |||
| 2014-02-05 | py: Fix bug with dual initialisation of RT_UNARY_OP_NOT. | Damien George | |
| Fixes Issue #261. | |||
| 2014-02-05 | py: Add built-in super. | Damien George | |
| 2014-02-05 | Remove older import helpers, no longer used. | Paul Sokolovsky | |
| 2014-02-05 | unix: Be sure to add current/base dir of a script to sys.path. | Paul Sokolovsky | |
| This mirrors CPython behavior and makes possible to run scripts which import other modules not from script's directory. | |||
| 2014-02-05 | unix: Initialize sys.path from MICROPYPATH environment variable. | Paul Sokolovsky | |
| If it's not available, "~/.micropython/lib:/usr/lib/micropython" is used as a fallback. | |||
| 2014-02-05 | Implement support for sys.path when loading modules. | Paul Sokolovsky | |
| sys.path is not initialized by rt_init(), that's left for platform-specific startup code. (For example, bare metal port may have some hardcoded defaults, and let user change sys.path directly; while port for OS with environment feature can take path from environment). If it's not explicitly initialized, modules will be imported only from a current directory. | |||
| 2014-02-05 | Add generic MIN()/MAX() functions. | Paul Sokolovsky | |
| 2014-02-04 | Merge pull request #259 from dhylands/netduino | Damien George | |
| Initial support for Netduino | |||
| 2014-02-04 | mp_obj_new_list(n, items): Copy items only if not-NULL. | Paul Sokolovsky | |
| Similar to mp_obj_new_tuple(). | |||
| 2014-02-04 | Use qstr id to create sys module. | Paul Sokolovsky | |
| 2014-02-03 | Initial support for Netduino | Dave Hylands | |
| This also fixes up the IRQ for the PYBOARD4 USERSW although I was unable to test that functionality. | |||
| 2014-02-04 | Add ImportError. | Paul Sokolovsky | |
| 2014-02-04 | Fix unstable case in builtin_id.py test. | Paul Sokolovsky | |
| 2014-02-04 | Expose __import__() function. | Paul Sokolovsky | |
| 2014-02-03 | py: Implement builtin exec. | Damien George | |
| 2014-02-02 | py: Add very basic implementation of dir() builtin. | Damien George | |
| Only works on modules and class instances. | |||
| 2014-02-02 | Fix thinko with how bitfields were added to mp_obj_fun_native_t. | Paul Sokolovsky | |
| Structure is back to expected 16 bytes. | |||
| 2014-02-02 | Merge branch 'xbe-master' | Damien George | |
| 2014-02-02 | Change id to return signed integer. | Damien George | |
| 2014-02-02 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-02-02 | py: Partially fix native emitter to work with latest runtime. | Damien George | |
| Native emitter has been broken since stack order has changed from reverse to standard. This fix gets it partially working. | |||
| 2014-02-02 | Fix assert() usage. | Paul Sokolovsky | |
| 2014-02-02 | unix time.clock(): Actually return float value. | Paul Sokolovsky | |
| 2014-02-02 | Implement str/bytes rich comparisons. | Paul Sokolovsky | |
| 2014-02-01 | Implement and add tests for the id() builtin function. | xbe | |
| 2014-02-02 | Implement slicing for tuples. | Paul Sokolovsky | |
| 2014-02-02 | Implement slicing for lists. | Paul Sokolovsky | |
| 2014-02-02 | Factor out m_seq_get_fast_slice_indexes() fucntions as sequence helper. | Paul Sokolovsky | |
| Takes slice object and sequence length and computes subsequence indexes for case of slice step=1. | |||
| 2014-02-02 | unix: Add basic time module (with time() and clock() functions). | Paul Sokolovsky | |
| Both return int so far (single-precision float doesn't have enough bits to represent int32 precisely). | |||
| 2014-02-02 | Add testcase for sequence unpacking. | Paul Sokolovsky | |
| 2014-02-02 | rt_unpack_sequence(): Support generic iterables. | Paul Sokolovsky | |
| 2014-02-01 | Tidy up some comments. | Damien George | |
| 2014-02-01 | py: Tidy up BINARY_OPs; negation done by special NOT bytecode. | Damien George | |
| IS_NOT and NOT_IN are now compiled to IS + NOT and IN + NOT, with a new special NOT bytecode. | |||
| 2014-02-01 | py: Reduce code size of compiler by a bit. | Damien George | |
| 2014-02-01 | py: Fix emitcpy so continue is compatible with CPython. | Damien George | |
| 2014-02-01 | py: Implement break/continue from an exception with finally. | Damien George | |
| Still todo: break/continue from within the finally block itself. | |||
| 2014-02-01 | unix: libffi include path now found using pkg-config. | Damien George | |
| Hopefully this works for other people as well :) | |||
