Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | objclosure: Store reference to entire closed variables tuple. | Paul Sokolovsky | 2014-04-20 |
| | | | | Avoids pointer-to-field garbage collection issue. Fixes #510. | ||
* | objcell: Add disabled by default print method for debugging. | Paul Sokolovsky | 2014-04-20 |
| | |||
* | gc: "new" gc_realloc: Rewrite in plain C, fixing bunch of bugs. | Paul Sokolovsky | 2014-04-20 |
| | | | | | | There were typos, various rounding errors trying to do concurrent counting in bytes vs blocks, complex conditional paths, superfluous variables, etc., etc., all leading to obscure segfaults. | ||
* | gc: Recover simple gc_realloc implementation, make easier to switch between. | Paul Sokolovsky | 2014-04-20 |
| | |||
* | modsocket: Add setblocking() method. | Paul Sokolovsky | 2014-04-20 |
| | |||
* | modstruct: Add 'O' typecode for passing mp_obj_t. | Paul Sokolovsky | 2014-04-20 |
| | | | | Useful as callback data, etc. | ||
* | modstruct: Use proper int accessor which checks input value type. | Paul Sokolovsky | 2014-04-20 |
| | |||
* | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-04-20 |
|\ | |||
| * | test/class-super: Expose super() breakage. | Paul Sokolovsky | 2014-04-19 |
| | | |||
| * | objarray: Implement slice subscription. | Paul Sokolovsky | 2014-04-19 |
| | | |||
| * | modffi: Update for MP_OBJ_STOP_ITERATION refactor. | Paul Sokolovsky | 2014-04-19 |
| | | |||
* | | stmhal: Small bug fixes and simplifications. | Damien George | 2014-04-20 |
| | | |||
* | | py: Fix mp_arg_parse_all. | Damien George | 2014-04-20 |
| | | |||
* | | stmhal: Only init RNG if it's used. | Damien George | 2014-04-20 |
| | | |||
* | | stmhal: Update ExtInt to allow keyword arguments in constructor. | Damien George | 2014-04-20 |
| | | |||
* | | stmhal: Tidy up and improve consistency across modules. | Damien George | 2014-04-20 |
| | | |||
* | | stmhal: Add SPI class. | Damien George | 2014-04-20 |
| | | | | | | | | Also some updates to compile with latest changes to core py. | ||
* | | stm: Update to compile with latest changes to core py. | Damien George | 2014-04-20 |
| | | |||
* | | py: Add arg checking helper functions. | Damien George | 2014-04-20 |
|/ | | | | | | | These are to assist in writing native C functions that take positional and keyword arguments. mp_arg_check_num is for just checking the number of arguments is correct. mp_arg_parse_all is for parsing positional and keyword arguments with default values. | ||
* | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-04-19 |
|\ | |||
| * | stmhal: Update for mp_binary_get_size() refactor. | Paul Sokolovsky | 2014-04-19 |
| | | |||
| * | modstruct: Initial implementation of struct.pack(). | Paul Sokolovsky | 2014-04-19 |
| | | |||
| * | objstr: Init hash in mp_obj_str_builder_start() to 0. | Paul Sokolovsky | 2014-04-19 |
| | | |||
| * | obj.h: Typo fix in comment. | Paul Sokolovsky | 2014-04-19 |
| | | |||
| * | modstruct: Fix .calcsize() to account for struct type/alignment. | Paul Sokolovsky | 2014-04-19 |
| | | |||
| * | modstruct: Support 'q' & 'Q' type codes. | Paul Sokolovsky | 2014-04-19 |
| | | |||
| * | modffi: Mark 'p' type spec deprecated, replace with 'P'. | Paul Sokolovsky | 2014-04-19 |
| | | | | | | | | 'p' in struct module is "pascal string". 'P' is void*. | ||
* | | stmhal: Add pyb.Pin.init method to re-init GPIO pin mode. | Damien George | 2014-04-19 |
| | | |||
* | | stmhal: Improve RTC class; make fatfs use RTC for time stamping files. | Damien George | 2014-04-19 |
| | | |||
* | | stmhal: Add pyb.unique_id, to get unique id of MCU. | Damien George | 2014-04-19 |
|/ | |||
* | stmhal: Rename pyb.Led to pyb.LED to conform to naming rules. | Damien George | 2014-04-19 |
| | | | | It's Light Emitting Diode, so should be LED. | ||
* | stmhal: Remove pyb.input (use sys.stdio.read(1) instead). | Damien George | 2014-04-19 |
| | |||
* | stmhal: Add lots of constants to stm module. | Damien George | 2014-04-19 |
| | |||
* | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-04-18 |
|\ | |||
| * | sequence: Further simplify sequence comparison. | Paul Sokolovsky | 2014-04-18 |
| | | |||
| * | sequence: Fix glaring bug in sequence comparison. | Paul Sokolovsky | 2014-04-18 |
| | | |||
| * | objfloat: Try to achieve the same float printing format as CPython does. | Paul Sokolovsky | 2014-04-18 |
| | | | | | | | | | | | | | | Test usecase I used is print(time.time()) and print(time.time() - time.time()). On Linux/Glibc they now give the same output as CPython 3.3. Specifically, time.time() gives non-exponential output with 7 decimal digits, and subtraction gives exponential output e-06/e-07. | ||
| * | py: from import * should not import symbols starting with underscore. | Paul Sokolovsky | 2014-04-18 |
| | | | | | | | | | | I skipped implementing this initially, but then it causes __name__ of current module be overwritten and relative imports fail. | ||
* | | stmhal: Update ADC, DAC and I2C objects to use new buffer protocol. | Damien George | 2014-04-18 |
| | | | | | | | | | | | | | | | | | | | | Main reason for expanding buffer protocol API was to support writes to a buffer in ADC module (see read_timed). With this change you can now create an array of arbitrary type and ADC.read_timed will store into that array in the correct format (byte, int, float). I wonder though if all these changes were really worth it to support just this function. Hopefully this enhanced buffer protocol API (with typecode specified) will be used elsewhere. | ||
* | | py: Add mp_binary_set_val_array_from_int, to store an int directly. | Damien George | 2014-04-18 |
| | | |||
* | | py: Allow to pass buffer protocol flags to get_buffer helper funcs. | Damien George | 2014-04-18 |
| | | |||
* | | stmhal: Update help and comments re gpio changing to Pin. | Damien George | 2014-04-18 |
| | | |||
* | | stmhal: Big cleanup; merge gpio into Pin; make names consistent. | Damien George | 2014-04-18 |
| | | | | | | | | | | | | | | | | This is an attempt to clean up the Micro Python API on the pyboard. Gpio functionality is now in the Pin object, which seems more natural. Constants for MODE and PULL are now in pyb.Pin. Names of some classes have been adjusted to conform to CamelCase. Other miscellaneous changes and clean up here and there. | ||
* | | unix: Update to use new buffer protocol interface with typecode. | Damien George | 2014-04-18 |
| | | |||
* | | py: Add typecode to buffer protocol. | Damien George | 2014-04-18 |
| | | | | | | | | | | | | | | When querying an object that supports the buffer protocol, that object must now return a typecode (as per binary.[ch]). This does not have to be honoured by the caller, but can be useful for determining element size. | ||
* | | py: Tidy up function argument error messages. | Damien George | 2014-04-18 |
| | | | | | | | | We are not as verbose as CPython, and maybe a bit too cryptic sometimes. | ||
* | | py: Tidy up array.array; add more error handling. | Damien George | 2014-04-18 |
| | | |||
* | | inlinethumb: Add wfi, cpsid and cpsie instructions. | Damien George | 2014-04-18 |
| | | |||
* | | stmhal: Remove non-ascii character from include file. | Damien George | 2014-04-18 |
| | | |||
* | | Add Python code conventions to CODECONVENTIONS. | Damien George | 2014-04-18 |
|/ |