Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New XML-based parameter class: pdParamXML
Another nasty project I've put off for far too long is standardizing PD's internal parameter class (which tracks data passing between PD's central processor and individual processing functions, so we can record it for macros and the like) against PD's various file-specific functions, which have all been migrated to XML. This has been a blocker for a bunch of tasks, including a built-in macro editor (for creating macros without needing to actually *record* them). I've now completed a pdParamXML class which is just about a drop-in replacement for the old pdParamString class. This class fixes a lot of obnoxious interop issues, and it's also much better for backwards-compatibility between versions, as individual processing functions can track parameters by name instead of by ordinal (where parameter changes are impossible to auto-detect). The long-term goal is to remove all function-specific processing from PD's central processor, and have it just blindly pass strings to/from individual functions (instead of parsing out individual parameters, as it does now). Besides macro editing, this is also is a required change before I can implement an official plugin module, but please note that it's going to take some time to get everything switched. Also, this will break macro backwards-compatibility for the 7.0 release. Sorry.
- Loading branch information
1 parent
4789ee7
commit c472bf0
Showing
14 changed files
with
597 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.