Robin Gareus
ff95d81612
Reduce reliance on boost - the easy part
...
* boost::unordered_map -> std::unordered_map
* BOOST_STATIC_ASSERT/static_assert
* BOOST_FOREACH -> for
* boost::tuple -> std::tuple/g
* boost::math::isnormal -> std::isnormal
* boost::container::set -> std::set
* boost::none -> std::nullopt
* boost::optional -> std::optional
2024-10-19 03:41:16 +02:00
Robin Gareus
2d7cce44f1
Replace PBD::Signals (1/2)
2024-10-18 20:41:08 +02:00
Alejandro Domínguez
da2935c285
Remove #include <boost/algorithm/string/trim.hpp>
2024-08-29 23:08:42 +02:00
Paul Davis
b21dd1212e
redesign API and internals of CoreSelection for more universality
...
We now have two basic methods for CoreSelection
* when selecting a stripable, use ::select_stripable_and_maybe_group() with
appropriate arguments to cover the group selection aspects.
* when selecting an automation control that is part of a stripable, call
::select_stripable_with_control()
The old, more simply named methods (set/add/toggle etc.) have all been
made private, and their internal implementations changed somewhat.
This commit includes changes to control surfaces that use CoreSelection directly.
2024-08-02 11:50:21 -06:00
Robin Gareus
fa6fbbf810
Fix ctrl surface shutdown sequence
...
Tear down GUI before stopping event loop, this fixes
a crash on windows (and perhaps a rare crash on other OS).
2024-07-11 19:19:21 +02:00
Robin Gareus
0fd1edd78e
Update well-known ctrl: separate global and per band EQ enum
2024-01-15 15:34:55 +01:00
Robin Gareus
bfb22e2acc
Ctrl Surfaces: update bound controllables
...
Note: this only affects surfaces that use mapped_controls, and do
not already subscribe to processors_changed/RouteProcessorChange signal.
2024-01-13 17:14:17 +01:00
Robin Gareus
70a0b47cef
Update Ctrl Surfaces: use new well-known-ctrl API
2024-01-13 03:08:51 +01:00
Robin Gareus
ad51c7c2ba
Localize stripped down gtk2
...
This is intended mainly for GNU/Linux distros who will remove
GTK2 support in the near future.
2024-01-06 21:52:48 +01:00
Robin Gareus
49426a602f
Console1: Clean up previous commit
2023-10-28 23:04:39 +02:00
Holger Dehnhardt
03e3546422
Clean init process to prevent exceptions
2023-10-28 22:59:39 +02:00
Robin Gareus
bec4344546
Console1: leave some TODO notes for later
2023-10-27 21:23:33 +02:00
Robin Gareus
a5aff68053
Console1: remove unused dependencies
2023-10-27 21:23:33 +02:00
Robin Gareus
5cad7837fa
Console1: fix compiler warnings
...
For reasons unknown only the console1.h produces
-Winconsistent-missing-override
warnings, other similar headers e.g. lppro.h do not.
2023-10-27 21:23:28 +02:00
Robin Gareus
68f55d62d0
Console1: cleanup, fix event loop initialization
2023-10-27 17:12:30 +02:00
Robin Gareus
49124ab987
Console1: properly shut down
2023-10-26 21:53:27 +02:00
Robin Gareus
61ec873481
Console1: another attempt to fix uncaught exeptions
2023-10-26 21:37:28 +02:00
Robin Gareus
85d9e333c9
Revert "Console1: catch some more uncaught exceptions"
...
This reverts commit 99e2546477 .
2023-10-26 21:21:01 +02:00
Robin Gareus
53e24168b6
Partially revert "Clean init process to prevent exceptions"
...
This reverts commit 94fec7fd8a
except whitespace and intent changes as per discussion on
https://github.com/Ardour/ardour/pull/834
2023-10-26 21:20:06 +02:00
Hoger Dehnhardt
94fec7fd8a
Clean init process to prevent exceptions
2023-10-24 23:11:05 +02:00
Robin Gareus
99e2546477
Console1: catch some more uncaught exceptions
2023-10-19 23:46:43 +02:00
Robin Gareus
8f5df7ed28
Fix console1 crashes when no surface is present
...
e.g. selecting a track causes a ControlNotFoundException
if the ctrl surface is enabled, but no hardware is connected.
terminate called after throwing an instance of 'ArdourSurface::ControlNotFoundExceptio
```
#0 0x00007ffff14d8c2e in __cxa_throw () at /lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x00007fffe2b560a0 in ArdourSurface::Console1::get_button(ArdourSurface::Console1::ControllerID) const (this=0x61d0017e1c80, id=ArdourSurface::Console1::FOCUS1)
at ../libs/surfaces/console1/console1.cc:928
#2 0x00007fffe2bfc647 in ArdourSurface::Console1::map_select() (this=0x61d0017e1c80) at ../libs/surfaces/console1/c1_operations.cc:653
#3 0x00007fffe2b55384 in ArdourSurface::Console1::map_stripable_state() (this=0x61d0017e1c80) at ../libs/surfaces/console1/console1.cc:832
#4 0x00007fffe2b541ab in ArdourSurface::Console1::set_current_stripable(std::shared_ptr<ARDOUR::Stripable>)
...
```
This does at least fix the crash. Ideally the surface would
only be enabled if there is hardware present.
2023-10-19 21:58:28 +02:00
Mads Kiilerich
88cecdfaef
wscript: drop repeated autowaf.set_options - it is enough to set at top level
2023-10-15 10:47:16 -06:00
Mads Kiilerich
94875d13ae
wscript: drop unused "mandatory variables" 'top' and 'out' in libs
...
New files missed in d220f477ed .
2023-10-15 10:47:16 -06:00
Robin Gareus
f715640aeb
Initialize uninitialized variable
...
Fixes crash when mapping files cannot be found of read.
2023-09-19 18:28:00 +02:00
Holger Dehnhardt
6bcf0c2d74
Make it C++11 compatible
2023-09-17 11:29:47 -06:00
Hoger Dehnhardt
0e759d5523
Console1 - refine channel selection
2023-09-17 11:29:47 -06:00
Hoger Dehnhardt
827f61ad58
Console1: add shift operations for plugins
2023-09-17 11:29:47 -06:00
Hoger Dehnhardt
e22a0eb1db
add options to swap mute and solo and to create mapping stops
2023-09-17 11:29:47 -06:00
Hoger Dehnhardt
7634c4936c
Store mappings as XML
2023-09-17 11:29:47 -06:00
Hoger Dehnhardt
ac00b4a0bb
fix plugin selection
2023-09-17 11:29:47 -06:00
Hoger Dehnhardt
4dd58961d2
Enable controlling of plugin
2023-09-17 11:29:47 -06:00
Hoger Dehnhardt
835598c802
Console1: Add plugin interface
2023-09-17 11:29:47 -06:00
Hoger Dehnhardt
f958b7b0e0
With larger projects, the session was not initialised at this time
2023-05-14 22:50:35 +02:00
Robin Gareus
b1a771d36b
Fix windows builds (type mismatch/error)
2023-05-08 22:05:56 +02:00
Robin Gareus
1940dfbb28
NO-OP: cleanup includes
2023-05-08 22:02:37 +02:00
Robin Gareus
ee2bae5aa8
Fix std::optional -> boost::optional API
2023-05-08 22:02:21 +02:00
Hoger Dehnhardt
1dc879eb8d
Softube Console1 add surface (libs)
2023-05-07 18:19:40 +02:00