micropython

Changelog

(0) -300 -100 -10 +10 +100 +300 tip
360:c1d86ea03224
2010-08-16 Paul Boddie changeset files shortlog graph Added space above the code in each report in order to permit pop-up elements to appear early in modules. Removed __import__ from the builtins, since it is unlikely to be supported. Added a note about a potential class attribute positioning optimisation.
TO_DO.txt lib/builtins.py micropython/report.py
359:ff6e0ddbdd61
2010-08-15 Paul Boddie changeset files shortlog graph Added the type pop-up element to AssAttr nodes.
micropython/report.py
358:dcff921447e6
2010-08-15 Paul Boddie changeset files shortlog graph Fixed operator module acquisition where the module is acquired in both a normal module and in the builtins. Fixed unary operator inspection so that the operator module is also used for such operators. Fixed instantiator acquisition, preventing attribute usage information from being erased by not supplying the Function initialiser with an AST node and not attempting to initialise attribute users without such a node. Removed the in_init attribute from InspectedModule instances. Simplified the built-in range function implementation. Added support for most remaining AST nodes in the report module. Changed the report summary to show instance attributes in order. Made base classes refer to their definitions in generated reports. Added a "pass" statement to empty classes in generated reports.
lib/builtins.py micropython/__init__.py micropython/data.py micropython/inspect.py micropython/report.py
357:33faeaf83f57
2010-08-11 Paul Boddie changeset files shortlog graph Moved accessor type detection using the attribute usage annotations to the ASTVisitor superclass provided by the common module, changing the report visitors so that they are now initialised with the current program, complete with object table, thus permitting the activity of determining types providing a particular set of attributes.
micropython/common.py micropython/report.py micropython/trans.py test.py
356:2903ee29db24
2010-08-10 Paul Boddie changeset files shortlog graph Remove highlighting from attribute names.
micropython/report.py
355:a3b42d1733ad
2010-08-10 Paul Boddie changeset files shortlog graph Made more use of convenience methods. Removed highlighting and pop-up elements where no pop-up data is available.
micropython/report.py
354:978dc8a73ef5
2010-08-09 Paul Boddie changeset files shortlog graph Removed ExtendFrame instructions for empty units. Removed superfluous instruction emission for dynamic functions without defaults. Removed operator code emission, replacing it with calls to operator module functions, replacing attribute usage where operators are used with specific usage of the operator functions now involved. Removed the superfluous _def AST node annotation, equivalent to the unit AST node annotation already in use. Changed the RSVP library to accept a dictionary of constants and to return NotImplemented for incompatible integer comparison operations. Added attribute usage pop-up elements to generated reports. Fixed the augmented assignment test and the equality comparison test.
docs/annotations.txt lib/operator.py micropython/ast.py micropython/common.py micropython/data.py micropython/inspect.py micropython/report.py micropython/trans.py rsvp.py rsvplib.py ...
353:34ebed37aecc
2010-08-07 Paul Boddie changeset files shortlog graph Added some support for HTML reports of program modules, separating the program finalisation out into a separate method of the Program class, in order to avoid obtaining an actual program image, yet removing unneeded parts of a program. Moved code to test for the usage of program sections into the common module, since this is also useful when generating reports. Added AST node annotation documentation.
docs/annotations.txt micropython/__init__.py micropython/ast.py micropython/common.py micropython/report.py test.py
352:67d7ed58ac50
2010-07-11 Paul Boddie changeset files shortlog graph Fixed the module search path to find standard library modules.
test_all.py
351:eb03f44e16d1
2010-07-11 Paul Boddie changeset files shortlog graph Changed lambda definitions to have automatically generated names, and added specific references to lambdas from their defining namespaces, enabling usage analysis. Introduced special lambda registration within namespaces and methods for obtaining namespace contents specifically for vacuuming namespaces. Added an is_lambda method to the Function class. Added a test of the operator library module.
TO_DO.txt micropython/__init__.py micropython/data.py micropython/inspect.py micropython/trans.py tests/operator_add.py
(0) -300 -100 -10 +10 +100 +300 tip