| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-05 | py: Fix delete operation on map/dict and set objects. | Damien George | |
| Hash table can now be completely full (ie now NULL entry) before a resize is triggered. Use sentinel value to indicate delete entry in the table. | |||
| 2014-04-05 | stmhal: autoflash now enters serial comms after flashing. | Damien George | |
| 2014-04-05 | py: Fix bug in DELETE_SUBSCR bytecode, decreasing sp too much. | Damien George | |
| 2014-04-05 | tests: Add test for dict delete. It fails. | Damien George | |
| 2014-04-05 | py: Implement DELETE_SUBSCR bytecode; implement mp_obj_dict_delete. | Damien George | |
| 2014-04-05 | Merge pull request #431 from pfalcon/unbreak-map-remove | Damien George | |
| map: When removing a key, don't NULL the entry, but mark as deleted. | |||
| 2014-04-05 | objfun: Add equality support. | Paul Sokolovsky | |
| 2014-04-05 | stmhal: Add more escape seqs; add debugging output for escape seq. | Damien George | |
| 2014-04-05 | Merge branch 'xterm-home-end' of github.com:pfalcon/micropython into ↵ | Damien George | |
| pfalcon-xterm-home-end | |||
| 2014-04-05 | objtype: Add equality test for type types. | Paul Sokolovsky | |
| 2014-04-05 | py: Allow types to be hashable. | Paul Sokolovsky | |
| Quite natural to have d[int] = handle_int . | |||
| 2014-04-05 | py: Put default namespace into module __main__. | Paul Sokolovsky | |
| That's how CPython has it, in particular, "import __main__" should work. | |||
| 2014-04-05 | map: When removing a key, don't NULL the entry, but mark as deleted. | Paul Sokolovsky | |
| When searching next time, such entry should be just skipped, not terminate the search. It's known that marking techique is not efficient at the presense of many removes, but namespace usage should not require many deletes, and as for user dictionaries - well, open addressing map table with linear rehashing and load factor of ~1 is not particularly efficient at all ;-). TODO: May consider "shift other entries in cluster" approach as an alternative. | |||
| 2014-04-05 | mp_load_name(): Optimize for outer scope where locals == globals. | Paul Sokolovsky | |
| 2014-04-05 | map: Add mp_map_dump() (#ifdef'ed) to be handy when debugging maps. | Paul Sokolovsky | |
| 2014-04-05 | stmhal readline: Parse XTERM Home/End key codes. | Paul Sokolovsky | |
| Which are ESC O H, ESC O F. | |||
| 2014-04-04 | unix: Rename module sources per latest naming conventions (mod*.c). | Paul Sokolovsky | |
| 2014-04-04 | unix: Use STATIC modifier to enable code size analysis via map file. | Paul Sokolovsky | |
| 2014-04-04 | Merge pull request #421 from dhylands/git-version | Damien George | |
| Add the git version and build-date to the banner | |||
| 2014-04-04 | unix: Routines related to terminal reading should use system malloc. | Paul Sokolovsky | |
| Otherwise we have mixup between system and GC alloc. | |||
| 2014-04-04 | run-tests: Elaborate python3 command override capabilities. | Paul Sokolovsky | |
| 2014-04-04 | py: Make False and True act like 0 and 1 for integer arithmetic. | Damien George | |
| 2014-04-04 | py: Allow dict constructor to take keyword arguments. | Damien George | |
| 2014-04-04 | py: Remove mp_obj_less (use mp_binary_op(MP_BINARY_OP_LESS..) instead). | Damien George | |
| 2014-04-04 | unix: Allocate more heap memory by default on 64 bit machines. | Damien George | |
| Pointers are 2x bigger on 64 bit machines, so we should allocate twice the memory to have a comparable heap size. | |||
| 2014-04-04 | Merge pull request #422 from dhylands/str-modulo | Damien George | |
| Str modulo | |||
| 2014-04-04 | py: Enable optimisation of multiplying 2 small ints in compiler. | Damien George | |
| 2014-04-04 | tests: Make rge-sm.py use less memory (integration step increased). | Damien George | |
| In addition to memory allocation failure, other problem was that 10**17 was overflowing. Now passes. | |||
| 2014-04-04 | py: This time, real proper overflow checking of small int power. | Damien George | |
| Previous overflow test was inadequate. | |||
| 2014-04-04 | py: Add m_malloc_fail function to handle memory allocation error. | Damien George | |
| A malloc/realloc fail now throws MemoryError. | |||
| 2014-04-04 | tests/file-with: Add testcase which failed for @dpgeorge. | Paul Sokolovsky | |
| Works on x86. | |||
| 2014-04-03 | Implements most of str.modulo | Dave Hylands | |
| The alternate form for floating point doesn't work yet. The %(name)s form doesn't work yet. | |||
| 2014-04-03 | Add the git version to the banner | Dave Hylands | |
| 2014-04-04 | py: Handle small int power overflow correctly. | Damien George | |
| 2014-04-03 | Changes to get unix/ port compiling on Cygwin. | Damien George | |
| 2014-04-03 | stmhal: Add home/end cursor support in readline. | Damien George | |
| Home/end work in picocom and screen (different codes in those 2 programs). Also, CTRL-A (for non-empty liny) and CTRL-E act as home/end. | |||
| 2014-04-03 | Merge pull request #419 from pfalcon/stmhal-file-streams | Damien George | |
| stmhal: Reimplement file support using stream protocol API. | |||
| 2014-04-03 | tests: Allow to run tests on pyboard. | Damien George | |
| To run the tests on the pyboard you need to set the "test_on_pyboard" variable to "True", and also have tools/pyboard.py available for import (easiest is to symlink to it). | |||
| 2014-04-03 | tools: Improve reading back from pyboard. | Damien George | |
| 2014-04-03 | stmhal: On soft reset, if in raw REPL mode, don't run main.py. | Damien George | |
| 2014-04-03 | tools: pyboard.py can now execute a file remotely! | Damien George | |
| 2014-04-03 | stmhal: Fix raw REPL so that it passes through more ASCII chars. | Damien George | |
| 2014-04-03 | stmhal: Add powf, logf, log2f, log10f. | Damien George | |
| 2014-04-03 | stmhal: #undef log2f if it's defined. | Damien George | |
| 2014-04-03 | README: ARM Linux is supported. | Paul Sokolovsky | |
| Retested again on Ubuntu 12.04 armhf running in chroot on Samsung ARM Chromebook (Cortex-A15). | |||
| 2014-04-03 | stmhal: Reimplement file support using stream protocol API. | Paul Sokolovsky | |
| This adds readline(), readall(), etc. methods. Also other fixes to make Python API compliant and "with" support. | |||
| 2014-04-03 | run-tests: Allow to override python3 command to use via environment var. | Paul Sokolovsky | |
| 2014-04-03 | unix file: Implement context manager protocol (for "with" statement). | Paul Sokolovsky | |
| 2014-04-03 | py: Add "io" module. | Paul Sokolovsky | |
| So far just includes "open" function, which should be supplied by a port. TODO: Make the module #ifdef'ed. | |||
| 2014-04-03 | py: More robust int conversion and overflow checking. | Damien George | |
