All notable changes to this project are documented in this file.
The format is based on Keep a Changelog.
This project uses Semantic Versioning starting from version 1.0.0.
- Fixed command-line options, which were broken due to my misunderstanding of store_true: options that had to be enabled by default were renamed with their corresponding negation (e.g., to enable by default --show-all-calls it was renamed to --simplify-calls and the corresponding logic was inverted. Same for --show-node-stats which became --hide-node-stats).
- The -i option is now a positional parameter, called input
- Enabled a few options by default.
- Added options to control the node size and make it proportional to the number of lines of code in the given function (Issue #29)
- Fixed handling of commands enclosed in parentheses (e.g., "if defined foo (exit /b 0)")
- Fixed exit node detection (#13)
- Fixed eof node pruning
- Changed color palette to be more muted, and do not rely on color alone to convey information (fixes Issue #14)
- Added a Changelog, that retroactively covers all versions.
- Added an option (-v, --verbose) to enable/disable verbose output (Issue #5)
- Added options for input file (-i, --input), output file (-o, --output) and log file (-l, --log-file) (Issue #6)
- Issue #15 (Fix handling of nodes with %)
- Issue #17 (Create a ChangeLog)
- Changed the command-line options --show-all-calls and --show-node-stats to not require =True from the command line (Issue #18)
- Add an option to hide some nodes (--nodes-to-hide)
- Allow connections to non-existing nodes
- Fix comment detection logic
- Issue #11 (Fix connection type for nodes ending in goto)
- Show number of external calls with --show-node-stats (fixes Issue #9)
- Issue #8 (Fix treating the last block as exit node if it's not)
- Improved unit test coverage to ~90% (fixes Issue #4)
- Add an option to show per-node statistics (--show-node-stats)
- Automatic pruning of the EOF node if it's not used
- Execution under Python 2.x
- Issue #10 (Make the ordering of the resulting graph deterministic)
- Logic for the generation of nested connections
- Most of the core functionality :)
- First release pushed to PyPI
- Fixed overflow error in tokenization of the exit command (by @refack)