Commit Graph

31223 Commits

Author SHA1 Message Date
Robin Gareus
ce4b79e057 Remove unused "auto-backup" pane
This reverts/reworks commit e87012ca89 -- a failed experiment
which isn't used by Mixbus either since it introduced various issues.

When reverting to backups > 1 hour old, closing the session first
is acceptable.
2019-04-12 18:51:00 +02:00
Robin Gareus
c218b65d24 Fix the URI handling (for sfdb) for Windows
This forward ports Mixbus' 4eca3dea47 without additional code to correct
for old (Ardour2) URIs.

A2, used path2uri() which accumulated and left duplicate slashes in place,
eg. "file:////". Mixbus3 auto-corrected this on load in
AudioLibrary::search_members_and().
However sfdb libraries are not shared between major versions, so this
code does no need to be forward ported.
2019-04-12 18:38:49 +02:00
Robin Gareus
6cfb164d7c Backport backup folder creation
Other parts for auto-backup is already in ardour-git.
2019-04-12 18:32:34 +02:00
Robin Gareus
6631d97ac0 Mixbus likes hyperthreading on Mac 2019-04-12 18:30:52 +02:00
Robin Gareus
5a0b9a92a3 Update Mixbus Mon-section #ifdef 2019-04-12 18:29:23 +02:00
Robin Gareus
3da07e6736 Special case Lua copy-construction of trackable instances
This fixes an crashing issue with ArdourUI.SelectionList a bug
introduced in 6dc3bdf252 and 35dcd46d7d.

Since removal of the special cases in 35dcd46d7d, when using
a C-pointer in a std::list<>,
  std::list<class*>::push_back(TypeListValue)
TypeListValues<>'s Head was expanded to  "class*& const"
implied by void ::push_back(const T& value);

This resulted in lifetime issues with a classes that derive
from sigc::trackable (e.g. Ardour's Selection).
The reference leaves scope and isn't duplicated when it is pushed back
to the std::list<>.

The script scripts/select_every_2nd_region.lua crashed because entries
in the SelectionList were no longer valid.

Previously (before 6dc3bdf252) TypeListValues explicitly
copy-constructed the value to work around the lifetime issue.
This new solution bypasses the issue by directly using the c-pointer
without dereferencing it.
2019-04-12 05:45:27 +02:00
Robin Gareus
8dc883ebfa Revert another sample/frame confusion 2019-04-12 02:44:23 +02:00
Robin Gareus
2a8bda01b1 NO-OP: whitespace 2019-04-11 02:32:45 +02:00
Robin Gareus
54d8bcca57 Skip Subgroup menu-options when not available (no MIDI subgroups) 2019-04-11 02:08:36 +02:00
Robin Gareus
01024e2b4c Add API to render a reflection
This is to be used sparingly because the pattern is dynamically
created every time. Mainly for the benefit of some Mixbus
widgets -- compared to ArdourButton::convex_pattern
2019-04-11 02:06:32 +02:00
Robin Gareus
a16c038ecc Ardour/Mixbus codebase unification - ui config 2019-04-11 02:05:01 +02:00
Robin Gareus
f5bc64d00e Add option to leave vertical gap below audio regions
This is a backport from Mixbus, to leave are 4 "open" pixels
at the bottom of the track so one can see the grid-lines between tracks.

This is useful with low region-transparency. grid-lines behind
opaque regions are not visible.
2019-04-10 21:50:55 +02:00
David Robillard
d465a2b012 Cleanup: Simplify conditionals 2019-04-10 10:24:33 +02:00
David Robillard
30d59c8f6e Remove support for building against LV2 older than 1.2.0
LV2 1.2.0 was released in 2012, over 6 years ago now.
2019-04-10 10:24:33 +02:00
Robin Gareus
5f18d8ddfd Clarify default template description 2019-04-10 00:22:39 +02:00
Robin Gareus
7fc7c18a07 LV2: check required feature and options
When discovering LV2 plugins, verify if a plugin's required features
and required options can be be satisfied.

This replaces a previous blacklist with a whitelist of supported
features/options.
2019-04-10 00:22:20 +02:00
Robin Gareus
59b1193b56 Disable auto-input by default for new installs
This prevents audible feedback on laptops when adding new tracks
with default settings.
2019-04-09 14:36:56 +02:00
Robin Gareus
1780cbe179 Backport Mixbus delivery patch 2019-04-09 14:33:27 +02:00
Robin Gareus
e0e5ee0b44 Unify build-system customization (Ardour/Mixbus) 2019-04-09 13:17:15 +02:00
Robin Gareus
25eb8ca593 Fix session-export util (timecode: frames, not samples) 2019-04-09 03:28:23 +02:00
Robin Gareus
8017a7fc1e Backport Mixbus toolbutton layout 2019-04-09 03:16:09 +02:00
Robin Gareus
8912efe9c9 Update Lua Script to use new MusicSample API 2019-04-09 03:15:38 +02:00
Robin Gareus
a5f5a0db24 NO-OP: fix another comment 2019-04-09 03:00:31 +02:00
Robin Gareus
57ebb5c1ba Remove cruft: unused typedef 2019-04-09 02:23:17 +02:00
Robin Gareus
b840feb721 NO-OP: whitespace 2019-04-09 02:20:06 +02:00
Robin Gareus
c6e5b138a0 NO-OP: fix comment 2019-04-09 02:19:51 +02:00
Robin Gareus
eb4e854a56 Replace some more "samples" with "frames" (rectangles) 2019-04-09 00:31:29 +02:00
Robin Gareus
01a43c6b1e Another round of whitespace fixes 2019-04-09 00:27:33 +02:00
Robin Gareus
14b27be658 Fix typo in 37aaa2d1 2019-04-08 22:56:50 +02:00
Robin Gareus
23f8a7335d Fix Timecode fps 2019-04-08 22:42:56 +02:00
Robin Gareus
3272621db6 Clarify API name (I/O-selector frame) 2019-04-08 22:42:53 +02:00
Robin Gareus
a0b032efe2 Revert more "frame/sample" replacements
- Coverage concerns rectangles (frames, not sample)
- frame-handles are rectangles
- layout container boxes are frames
- inline display boxes are display_frame
2019-04-08 22:42:47 +02:00
Robin Gareus
37aaa2d11b NO-OP: whitespace, alignment 2019-04-08 22:39:22 +02:00
Robin Gareus
8f5f0f298b Remove hardcoded project-name from Actions 2019-04-08 21:36:27 +02:00
Robin Gareus
95c8490920 Remove cruft (commented code) 2019-04-08 20:59:23 +02:00
Robin Gareus
50303d90bd NO-OP: whitespace, indent 2019-04-08 20:58:18 +02:00
Robin Gareus
8a7e452265 Yet another "Rect frame" (not a sample) 2019-04-08 20:57:56 +02:00
Robin Gareus
f9e12235c3 Frame as in "picture frame", not sample 2019-04-08 20:19:15 +02:00
Robin Gareus
9f77a6f7fe NO-OP: more libardour whitespace tweaks 2019-04-08 19:36:22 +02:00
Robin Gareus
2f727a6a32 Undo yet more frame/sample replacements 2019-04-08 18:32:09 +02:00
Robin Gareus
aef75f87b7 NO-OP: whitespace, comments 2019-04-08 18:32:03 +02:00
Robin Gareus
57616fdb11 Cleaup meter-tap: reduce nesting and remove code-dup 2019-04-08 16:12:19 +02:00
Robin Gareus
3ec261ae5d Fix OMFtool; sample_rate vs frame_rate 2019-04-08 16:11:38 +02:00
Robin Gareus
09dd054fc4 Remove duplicate patchfiles
The previous commit also unified the naming schama to prefer underscores.
2019-04-08 15:01:26 +02:00
Robin Gareus
32b5eb30b8 Import MIDNAM collection from Harrison Mixbus
Kudos to Nik and Ben at Harrisonconsoles. You Rock!
2019-04-08 14:48:26 +02:00
Robin Gareus
0a329ffe73 NO-OP name change: CD-frames (not samples) 2019-04-08 14:44:22 +02:00
Robin Gareus
84272b4e27 NO-OP: whitespace
Fix space-alignment, mostly due to "frame" -> "sample" changes.
2019-04-08 05:16:33 +02:00
Robin Gareus
f4c5e21a7a Undo incorrect sample/frame replacements in clearlooks 2019-04-08 04:10:12 +02:00
Robin Gareus
46f0b75e12 Undo more incorrect sample/frame replacements 2019-04-08 04:10:04 +02:00
Robin Gareus
889bd35f4f NO-OP: whitespace 2019-04-08 03:45:12 +02:00