Commit Graph

31902 Commits

Author SHA1 Message Date
1324c25282 WIP: Fix namespace issues and build with GCC8
The build was broken for me with both GCC 8 and clang 11 due to the lookup of
operator<<().  However, since the previous pattern of using a namespace then
defining things in that namespace in... the global namespace... sort of... is
very strange, and likely to cause further problems with ADL especially as we
move to newer language versions and libraries, I opted to go all-out here and
define things inside the appropriate namespace.

This will probably resolve some earlier issues with clang and MSVC as well,
since they each use different lookup rules that all have their own quirks
around this stuff.
2021-05-25 16:41:19 -04:00
6ae9dcc650 Consistently spell "operator<<"
For all your grepping pleasure.
2021-05-25 15:15:09 -04:00
3fb9f47bf1 ptimport: Fix importing of large sessions, no more crashing and faster 2021-05-25 20:37:39 +10:00
54e0b7f230 renaming cue markers (via dbl-click) 2021-05-24 20:23:06 -06:00
3a1cfc837e libardour: API infrastructure for renaming cue markers 2021-05-24 20:23:06 -06:00
6277419673 Rulers: do not trigger ruler auto-display when only selecting between bbt subdivisions (#8717)
Also remove 'nonmusical' construct which was a convoluted way
 to handle GridNone when determining how to draw grid lines.
2021-05-24 16:45:42 -05:00
ab2357dfa1 implement dragging for region/cue markers 2021-05-24 12:28:19 -06:00
c2a012545b API infrastructure for dragging region/cue markers 2021-05-24 12:26:21 -06:00
2016710865 skeleton for RegionMarkerDrag 2021-05-24 09:12:19 -06:00
63ef9bdb9e Revert "hide region marker actions in menus"
This reverts commit b2ca7ac01e.
2021-05-23 21:27:54 -06:00
f1fe1c7066
Amend 445f9a51bf 2021-05-23 23:22:18 +02:00
65afd57856
Remove debug message 2021-05-23 22:23:27 +02:00
a6fc82537e
Fix assert in Waveview cache size
previous condition made no sense. effectively assert(bytes > 0).
2021-05-23 21:41:45 +02:00
445f9a51bf
Fix ripple undo/redo
Ripple edit undo/redo needs a "recursive diff" of all regions
in the playlist. To work properly owned changes have to be
cleared first, previously unrelated edits were be collected too.

This includes a more consistent version of
7a89d56009 using rdiff() instead of explicitly
saving region diffs.
2021-05-23 17:42:33 +02:00
31bbf03a67
NO-OP: always use braces (styleguide #4) 2021-05-23 17:37:28 +02:00
44c0535b10
Fix gprof builds
`-pg` needs is both a compiler and linker flag.
2021-05-23 01:05:22 +02:00
42f4e64d5f
Fix a moderate memory leak
periodic calls ARDOUR_UI::update_clocks() -> AudioClock::set()
-> 2+ calls to UI::set_tip() can easily accumulate 50MB/hour
when rolling.
2021-05-22 22:11:42 +02:00
Hubert Figuière
17b7d92244 Added midnam for Yamaha P-121/125
- I do have a P-125, and did test with it
- Yamaha MIDI reference list both P-121 and P-125 for the same
- Values comes from official Yamaha documentation

The file is my own creation, licensed CC0.
2021-05-21 22:06:10 -04:00
d703079f10
ace-fluidsynth: add bypass (ignore notes, but retain reverb) 2021-05-21 18:40:59 +02:00
ecbd8732de
NO-OP: clang-format 2021-05-21 18:39:39 +02:00
fd3220c3d7
Set uninitialized variable (fix playhead dragging) 2021-05-21 17:57:56 +02:00
6733a847ee Fix Bounced region+filename (lib part)
Prior implementation:
  Bouncing a range and naming it "chorus" resulted in:
     ..a region per track, and they were all named "chorus"
     ...a file per track, with the name "chorus-{playlist name}"

New implementation:
   Bouncing a range and naming it "chorus" results in:
     ..a region per track, with the name "chorus-{playlist name}"
     ...a file with the same name as the region
2021-05-20 11:42:48 -05:00
5fdbd71d89 Fix bounced file+region names: concatenating all the names was a bad idea. (gtk part) 2021-05-20 11:42:48 -05:00
70fb4d4a27 Plugin Tags: add some new tagged plugins, especially VST3s 2021-05-20 11:42:48 -05:00
a8561d531f adjust preferences label for "rewind/ffwd like a tape deck" 2021-05-19 18:54:41 -06:00
2e501fd77a ensure the BasicUI implementation of rewind/ffwd is the same as the ARDOUR_UI one 2021-05-19 18:32:00 -06:00
b2ca7ac01e hide region marker actions in menus 2021-05-19 16:32:20 -06:00
159fa49dbb change chat URL to one that redirects via ardour.org 2021-05-19 15:49:50 -06:00
ad69a564a0 Revert "come to a complete stop if rewind/ffwd steps past -40 semitones slower"
This reverts commit 05ef7f2647.

This stopping behavior was not satisfactory. The behavior after this revert is not great, but better than the stop.
2021-05-18 22:59:22 -06:00
3047b25527 split out region marker actions to their own submenu; implement remove and clear all 2021-05-18 20:59:37 -06:00
17dbdffc45 infrastructure APIs for region/cue marker removal and clear 2021-05-18 20:59:37 -06:00
d8e0a29316
Fix A/B plugins, skip internal but visible plugins (e.g. LAN) 2021-05-19 02:10:33 +02:00
9d865f241d
Prevent user from indirectly disabling LAN amp 2021-05-19 02:10:29 +02:00
b167e6f2ed fix crash when deleting a marker
the line (if non-null) is owned by the marker's group, and will be deleted when the group is
2021-05-18 18:02:22 -06:00
35a68ad324 remove unusued variables 2021-05-18 18:01:49 -06:00
60a972a7de implement region marker deletion 2021-05-18 18:01:38 -06:00
bd2d8b8c87 tweak Editor remove-marker APIs to set state for removing region cue markers 2021-05-18 16:50:55 -06:00
baee1a2f01 add API to make sure that region cue markers are above any waveviews or MIDI etc 2021-05-18 16:50:27 -06:00
b76991c00b reset region cue marker colors when colors change 2021-05-18 16:17:37 -06:00
eb8c25edce remove debug output 2021-05-18 16:17:37 -06:00
3713175bf1 allow user to set name for new region cue marker 2021-05-18 16:17:37 -06:00
1de3ba6cc2 try a tweak to region cue marker color 2021-05-18 16:17:37 -06:00
91ec860b3b redesign color mgmt when entering/leaving markers of various kinds 2021-05-18 16:17:37 -06:00
a5a2f111ee Remove debug line 2021-05-18 14:32:38 -07:00
0130f19e26 Fix positions before start and after end 2021-05-18 14:27:20 -07:00
35022caf4f
Tweak record-time axis name edit #8712
This allow to use the entry context menu,
and also cancels edit when clicking outside of the entry
2021-05-18 22:24:56 +02:00
0ee8b1706d
Fix event_inside_widget_window()
This fixes cases where a widget's parent isn't the
top-level window and additional offset has to be taken
into account.

So far this has not been an issue since this method was only
used for floating text entries.
2021-05-18 22:17:36 +02:00
8cd8d90483
Reported the jack2 xrun bug, now we stop telling users 2021-05-18 03:17:17 +02:00
c9bc0ff578
Fix VST2 enter/return ambiguity -- thanks to falktx 2021-05-18 01:39:26 +02:00
f9557d0d04 Remove unused code 2021-05-17 13:50:18 -07:00