Robin Gareus
5cf392b17a
Implement YDK Touch API for Linux/X11
2024-10-24 23:33:31 +02:00
Robin Gareus
89da2f2c87
Define YDK/YTKMM Touch Event API
2024-10-24 23:33:28 +02:00
Matthew Smith
84027120cc
Fix OSC observer heap buffer-overflow
2024-10-23 14:54:00 +02:00
Robin Gareus
86a4447805
OSC: Never, ever bind a shared_ptr<T> to a signal
...
This fixes crashes when controllable are destroyed, or
OSC surface is disabled (signals retain a reference).
2024-10-23 01:39:05 +02:00
Robin Gareus
2816c85324
Fix OSC observer heap buffer-overflow
...
OSCCueObserver::send_init may populate a sparse map, rather
than a contiguously indexed vector
2024-10-23 01:39:05 +02:00
Paul Davis
43961e2d86
remove debug output (and an inaccurate comment)
2024-10-22 14:49:50 -06:00
Paul Davis
c986405fe0
fix two unintentionally committed API changes
2024-10-22 14:49:50 -06:00
Paul Davis
e11caf2dea
various changes to get MIDI clip recording to display the post-capture region
2024-10-22 14:49:50 -06:00
Paul Davis
aa2fb8c1d4
SMF: add a set_length() method which will place TrkEnd meta-events
2024-10-22 14:49:50 -06:00
Paul Davis
769920d337
add a "region" property so that we can properly signal when it has changed inside a Trigger
2024-10-22 14:49:50 -06:00
Mads Kiilerich
7a4fe02d53
wscript: waf i18n is usually running pot&po&mo and should thus also run appdata_i18n_mo
2024-10-22 00:37:40 +02:00
Mads Kiilerich
6742c1e4b4
wscript: waf i18n should generate gtk2_ardour/appdata/ardour.appdata.pot when invoking appdata_i18n_pot
2024-10-22 00:37:40 +02:00
Mads Kiilerich
e520cf6bac
wscript: Actually invoke autowaf.build_i18n_pot in i18n_pot_func
2024-10-22 00:37:39 +02:00
Mads Kiilerich
8e2a9dfd91
wscript: Fix i18n names for tk
2024-10-22 00:37:39 +02:00
Robin Gareus
b5d6b97fd2
Keep inline control state in sync with editor-mixer
2024-10-22 00:36:50 +02:00
Paul Davis
590400a95f
trigger arming must be mutually exclusive within a triggerbox
2024-10-21 10:45:47 -06:00
Mads Kiilerich
3228a61e62
wscript: the i18n worker functions do not define the i18n waf commands
...
Rename the worker functions to make it clear that their name in this
case isn't magic. These functions "are not" the waf commands. It is the
custom build context class definitions that define the i18n commands ...
which will invoke these top level worker functions which in turn invoke
the others recursively.
The bare printing of the build environment in the top level i18n command
seems to be old debug code that safely can be removed.
2024-10-20 19:52:14 -06:00
Mads Kiilerich
27acda4ccd
wscript: the i18n class names do not define the i18n waf command names
...
Try to make it a bit more clear what is going on with class and def for
i18n commands.
It was confusing that we first defined i18n classes in the beginning of
the wscript file, and then replaced them with "plain" functions with the
same name at the end. pyflakes also didn't like it.
It seemed magic. The i18n functionality easily broke if trying to touch
that. It deserves an explanation to make it maintainable ... and some
cleanup.
Simple functions in the top level wscript file are generally exposed as
custom waf commands. The command will have the same name as the function
and will get a plain Context. But that simple method doesn't work for
these i18n commands. They have to be declared in a different way with a
custom BuildContext, as seen and described in the comment.
The name of the BuildContext classes doesn't matter, so we change the
name to avoid the name collision and to give a hint how they actually
just are contexts for the commands - they are not the command itself. We
also place the classes next to the corresponding functions so it is more
obvious that they are related.
2024-10-20 19:52:14 -06:00
Mads Kiilerich
c78b3289d5
wscript: set PROGRAM_NAME in env early, not as set_compiler_flags side effect
2024-10-20 19:52:14 -06:00
Mads Kiilerich
48fcb30608
wscript: fix whitespace formatting
...
No tabs and no trailing spaces.
2024-10-20 19:52:14 -06:00
Robin Gareus
dab3cc3501
Disable RegionFX plugins in safe-mode
2024-10-21 02:28:34 +02:00
Mads Kiilerich
05699c2d1a
Fix invalid beatbox #include syntax ... but it still doesn't compile
...
It has been broken for 2½ year.
2024-10-20 03:30:48 +02:00
Mads Kiilerich
b4ff4f356c
Make header files more self-contained - add missing Ardour and lib includes
2024-10-20 03:30:46 +02:00
Mads Kiilerich
955e634371
Make header files more self-contained - add missing std includes
2024-10-20 03:11:53 +02:00
Mads Kiilerich
8a5f21d8e3
Drop some unused files - avoid trying to maintain stuff that can't be tested
2024-10-20 03:11:53 +02:00
Mads Kiilerich
140670541f
Use .inc.h for #include files that not are plain headers
...
Regular .h files *should* be self-contained and independent of previous
includes and guarded to only include once. Make it clear which files
that *doesn't* apply for at all.
2024-10-20 03:11:53 +02:00
Mads Kiilerich
38db12c9ea
Drop Frontier Tranzport surface - it has been dead for a decade
2024-10-20 03:08:03 +02:00
Robin Gareus
0d71876189
signals_generated.h is no longer required
2024-10-19 21:54:34 +02:00
Robin Gareus
7b74faaf57
Tidy up libs/lua/LuaBridge/detail/Userdata.h
2024-10-19 18:38:59 +02:00
Mads Kiilerich
a7eb3b7341
un-boost: Add missing #include <cmath> in audiographer silence_trimmer.h
2024-10-19 12:56:43 +02:00
Mads Kiilerich
d217b2f8ad
un-boost: Add missing #include <functional> in rt_task.h
2024-10-19 12:42:25 +02:00
Robin Gareus
f8e05a595d
Remove conflicting include
2024-10-19 06:27:50 +02:00
Robin Gareus
7b24d38c0f
Add more missing include (fix windows builds)
2024-10-19 04:58:30 +02:00
Robin Gareus
af4d70c243
Use heap to build peak data
2024-10-19 04:49:13 +02:00
Robin Gareus
0a36cdedac
Add missing include (fix windows builds)
2024-10-19 04:46:35 +02:00
Robin Gareus
74c4ca3e52
Reduce reliance on boost - the hard part
...
the rest from `tools/convert_boost.sh`.
* replace boost::function, boost::bind with std::function and std::bind.
This required some manual fixes, notably std::placeholders,
some static_casts<>, and boost::function::clear -> = {}.
2024-10-19 03:47:21 +02:00
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
168b917730
Prepare for std::optional
2024-10-19 03:40:04 +02:00
Robin Gareus
7037d86a00
Add tool to reduce relince on boost
...
Inspired by https://github.com/Ardour/ardour/pull/914
2024-10-19 03:40:01 +02:00
Robin Gareus
8eb9263af2
Replace boost::format with PBD::string_compose
2024-10-19 03:39:57 +02:00
Robin Gareus
609b723650
Remove unused header
2024-10-19 03:39:54 +02:00
Alejandro Domínguez
56cc8557c5
Replace boost::replace_all with std::replace
2024-10-19 03:39:48 +02:00
Alejandro Domínguez
2436b4df06
Replace boost::noncopyable with C++11 deleted copy constructors
2024-10-19 01:04:15 +02:00
Alejandro Domínguez
915200699b
Replace boost::lexical_cast with std equivalent functions
2024-10-19 01:04:15 +02:00
Alejandro Domínguez
7a0428644f
Replace boost::assign::map_list_of with initializer_list constructor
2024-10-19 01:04:15 +02:00
Alejandro Domínguez
abf7a78984
Replace boost::ptr_list with std::list
2024-10-19 01:04:14 +02:00
Alejandro Domínguez
e326426dbc
Replace boost type traits with std version
2024-10-19 01:04:14 +02:00
Alejandro Domínguez
88e38b2699
Replace boost atomics with std version
2024-10-19 01:04:14 +02:00
Alejandro Domínguez
1ee044c5fc
Replace boost::erase_first with std equivalent
2024-10-19 01:04:14 +02:00
Alejandro Domínguez
21e70d28cc
Replace boost::scoped_ptr with std::unique_ptr (2/2)
2024-10-19 01:04:14 +02:00