micropython

Changelog

(0) -300 -100 -10 +10 +100 +300 tip
410:fa58e72b573a
2011-04-26 Paul Boddie changeset files shortlog graph Added missing list method. Added simple import test.
lib/builtins.py tests/import_pygame.py
409:bcdd14822a46
2011-03-23 Paul Boddie changeset files shortlog graph Made ObjectSet more usable as a set member and as a collection. Store products of ObjectSet instances in a set, not a list. Fixed the HTML generation to show attribute types again.
micropython/common.py micropython/report.py
408:930e3447f06f
2011-03-23 Paul Boddie changeset files shortlog graph Fixed function definitions to copy extra parameters before the frame is extended, otherwise the extended frame elements are erroneously copied into the star argument tuple. Added tests to check the behaviour of star argument initialisation in the presence of locals. Introduced a _tuple native method to convert lists to tuples. Updated the native library functions to use variables indicating the size of fragment headers.
TO_DO.txt lib/builtins.py micropython/ast.py micropython/trans.py rsvplib.py tests/call_func_extra_known_with_locals.py tests/call_func_extra_unknown_with_locals.py tests/tuple_call.py
407:fd96865ebfb7
2011-03-21 Paul Boddie changeset files shortlog graph Changed the test runner to support separate-process invocation of the test program, since running all tests in the same process appears to cause substantial memory usage as if memory is not being freed, even when garbage collection is explicitly requested.
test.py test_all.py
406:7696283f6599
2011-03-21 Paul Boddie changeset files shortlog graph Fixed attribute coverage analysis to obtain the real identity of attributes in order to properly follow attribute references. Added various tests of instance attribute definition, usage and preservation.
micropython/__init__.py micropython/inspect.py tests/attributes_instance_defined_in_method_used_by_subclass.py tests/attributes_instance_unused.py tests/attributes_instance_used_by_subclass.py
405:5c0225bbbd03
2011-03-20 Paul Boddie changeset files shortlog graph Added support in the code generation for class attribute assignment, introducing optimisation-related configuration of the support depending on whether attribute usage is being tracked. Prevented __class__ attribute assignment if detected at compile-time. Added run-time support for class attribute assignment. Added registration of instance attribute usage upon assignment. Added a special attribute to exception instances, protecting it from vacuuming. Fixed a test of class attribute assignment so that it can be run successfully.
lib/builtins.py micropython/ast.py micropython/data.py micropython/inspect.py micropython/opt.py micropython/trans.py rsvp.py tests/attributes_class_assignment_unknown_alternatives.py
404:96c334ff4431
2011-03-19 Paul Boddie changeset files shortlog graph Added tentative support for tracking attribute assignments together with attribute usage. Added various tests of class attribute assignment which should eventually be supported. Added missing tests.
TO_DO.txt micropython/__init__.py micropython/common.py micropython/data.py micropython/inspect.py tests/abandoned_attribute_usage.py tests/attributes_class_assignment.py tests/attributes_class_assignment_indirect.py tests/attributes_class_assignment_unknown.py tests/attributes_class_assignment_unknown_alternatives.py ...
403:d8329b6ca1ca
2011-03-13 Paul Boddie changeset files shortlog graph Added recording of attribute references as they are collected in order to record the results of attribute usage inference. Changed the graph module to show attribute usage relationships instead of mere attribute ownership.
micropython/__init__.py micropython/graph.py
402:c87bdb84d9d3
2011-02-27 Paul Boddie changeset files shortlog graph Introduced placeholder functions for print in order to let all tests pass. Added TestIdentity and status-related optimisation suggestions.
TO_DO.txt rsvplib.py
401:4a8dd27c2994
2011-02-27 Paul Boddie changeset files shortlog graph Switched back to providing a common __class__ attribute for instances, intercepting __class__ accesses on classes during inspection, compilation and, through appropriate instruction sequences, execution. Exposed target details in the optimise_constant_accessor method's results. Exposed dynamic/static details in the possible_accessor_types ASTVisitor method's results. Improved frame stack visualisation in the RSVP machine.
TO_DO.txt docs/concepts.txt lib/builtins.py micropython/common.py micropython/data.py micropython/inspect.py micropython/opt.py micropython/rsvp.py micropython/trans.py rsvp.py ...
(0) -300 -100 -10 +10 +100 +300 tip