Andrew Belt
950d73444e
Add menu item to port menu to set color of cables.
2 years ago
Andrew Belt
74f372ec3f
Make force-moving move other modules to their "old" position when moving began.
2 years ago
Andrew Belt
8e7acf9b74
Log all calls to Model::createModule() and createModuleWidget().
2 years ago
Andrew Belt
6e0507f0f8
Make history::ModuleMove use RackWidget::requestModulePos() so it updates expanders.
3 years ago
Andrew Belt
de3f42edc1
Rename Engine::setParam() etc to Engine::setParamValue() etc.
3 years ago
Andrew Belt
2a5180f101
Clean up RackWidget and ModuleWidget members.
3 years ago
Andrew Belt
f5bad0e20f
Add hard-coded plugin/model slug fallbacks/aliases. Catch Exceptions from Module::fromJson().
3 years ago
Andrew Belt
5f8f9b8e35
Change `bypass` variable name to `bypassed` when appropriate.
3 years ago
Andrew Belt
5e4124f66a
Rename bypassed to bypass everywhere.
4 years ago
Andrew Belt
74aa4a6dd0
Make history actions fail silently instead of assert() when things go wrong.
4 years ago
Andrew Belt
05427d938b
Overhaul threading model for Engine using a shared mutex based design.
4 years ago
Andrew Belt
ca9231e1b3
Rename App to Context and app.hpp to context.hpp. The APP macro is still valid.
4 years ago
Andrew Belt
c9e0b82204
Add limit to undo history (currently 500 actions).
5 years ago
Andrew Belt
c33dc3c842
Rename module disabling to bypassing.
5 years ago
Andrew Belt
4936df2c0b
Move ParamWidget/Knob/Switch properties to ParamQuantity. Fix static linking on Linux.
5 years ago
Andrew Belt
e4b6056ded
Massive WIP v2 overhaul:
- Add Engine::fromJson which can be called without the GUI at all.
- Make RackWidget::fromJson attach itself to existing Engine state. However, once attached, they own their Engine objects (Module, Cable).
- Remove Engine thread. Now Engine must be stepped by other threads, such as the audio thread. This is fantastic because there is no longer a mutex lock every audio buffer.
- Add concept of the "primary module", which is allowed to call Engine::step().
- Add many Module events.
5 years ago
Andrew Belt
dca30e2b53
Auto-format code with astyle.
5 years ago
Andrew Belt
696939069d
Use <> instead of "" for include directive.
5 years ago
Andrew Belt
de95175596
Since dragging a ModuleWidget can move all modules, push a ComplexAction of ModuleMove actions instead of a single action.
5 years ago
Andrew Belt
87cab493f3
Add saved state to history::State. Ask for user confirmation in patch::resetDialog() and patch::loadDialog() if patch is unsaved.
5 years ago
Andrew Belt
2210287039
Move handling of RackWidget from Scene to RackScrollWidget.
5 years ago
Andrew Belt
da4110367a
Move DSP window functions to window.hpp. Use 0-indexed module/cable IDs instead of 1-indexed. Unserialize module/cable IDs as they are in the patch file.
5 years ago
Andrew Belt
b40fbf7f0e
Add names to history::Actions.
5 years ago
Andrew Belt
8a5a806425
Add app::, ui::, and widget:: namespaces.
5 years ago
Andrew Belt
0a22c3e378
Use engine mutex for bypassing module
5 years ago
Andrew Belt
c6f8153d74
Use various other history actions when interacting with the rack
5 years ago
Andrew Belt
f6010e61a3
Add Undo/Redo menu items. Clean up Toolbar.
5 years ago
Andrew Belt
42e47732f9
Refactor ModuleAdd. Add history::State::clear()
5 years ago
Andrew Belt
c4a33bedc3
Move CableContainer methods into RackWidget
5 years ago
Andrew Belt
94c33c5e77
Use cable history actions when interacting with cables
5 years ago
Andrew Belt
19d9fdd041
Add ModuleBypass. Serialize Module::bypass.
5 years ago
Andrew Belt
cb7e139b47
Make power meter display in microseconds instead of millisamples. Add history::ComplexAction. Split Param into Param and ParamInfo. Rename setup() to config().
5 years ago
Andrew Belt
3ab43a2ce0
Rename wire to cable
5 years ago
Andrew Belt
c59b9ba67d
Add history actions: ModuleAdd, ModuleRemove, ModuleMove, ParamChange, WireAdd, WireRemove, WireMove
5 years ago
Andrew Belt
2910af755f
Implement history::State. Add history::ModuleAdd declaration.
5 years ago
Andrew Belt
655f081965
Rename context() to app(). Add skeleton for history.
5 years ago