Colin Fletcher [Tue, 1 Jul 2014 17:46:13 +0000 (18:46 +0100)]
Fixes for ripple mode drag
Make undo of ripple mode dragging work a bit better, and hopefully prevent
rippled regions from jumping about when being dragged.
Colin Fletcher [Tue, 1 Jul 2014 17:27:22 +0000 (18:27 +0100)]
Ripple mode: fix undo of paste
Fix undo of region paste operations in ripple mode.
Colin Fletcher [Tue, 1 Jul 2014 17:26:31 +0000 (18:26 +0100)]
Remove unused code
This code was changed to implement ripple mode, but meanwhile it was
removed altogether in cairocanvas. Remove it here too to simplify merging.
Colin Fletcher [Fri, 16 May 2014 19:04:57 +0000 (20:04 +0100)]
Ripple mode: ripple all after start of deleted range
When deleting a range in ripple mode, ripple everything after the start
point of that range backwards by the length of the range, so that
newly-created regions immediately at the range end move back to the range
start.
Colin Fletcher [Thu, 15 May 2014 23:49:09 +0000 (00:49 +0100)]
Don't clear the clipboard when deleting things
Deleting regions (or ranges, or anything) shouldn't affect the contents of
the clipboard - only CutCopyOp::Copy, CutCopyOp::Cut and CutCopyOp::Clear
should do that.
Colin Fletcher [Thu, 15 May 2014 23:51:54 +0000 (00:51 +0100)]
Ripple mode: ripple when deleting ranges.
Make delete, cut and clear of a range ripple the appropriate playlists.
Colin Fletcher [Thu, 1 May 2014 12:23:43 +0000 (13:23 +0100)]
Ripple mode: tidy up
Remove a load of debug output and dead code.
Move implementation of RegionRippleDrag::y_movement_allowed() out of
header into .cc file.
Colin Fletcher [Wed, 23 Oct 2013 20:50:01 +0000 (21:50 +0100)]
Ripple mode: basic implementation
Add a value for Ripple to EditMode enum.
Add Ripple edit mode to edit mode dropdown, by adding it to the
Editor::build_edit_mode_menu() helper function, and remove the old code that
added items to the (now unused) Editor::edit_mode_strings.
Add the regions that should be affected by the drag to RegionDrag::_views so
that the drag carries them along automatically.
Use a copy of the RegionList in Playlist::core_ripple(), since bad things
happen when iterating over regions and they get moved around in the list.
Handle rippling in removal of regions from playlist.
When dragging in ripple mode, exclude all regions that lie before the
original start position of the selected regions being dragged from
rippling: this is what Mixbus does.
Make editor dragging respect snap-to settings, by using the existing
compute_x_delta() function, which did almost the right thing. Move setting
of _last_frame_position out of that function so all ripple-dragged regions
can move.
Ripple when dragging from region list: even though Mixbus doesn't do this, it
seems like a good idea.
Prevent multi-track selection being dragged across tracks, by making
RegionMotionDrag::y_movement_allowed() virtual, and overriding it in
RegionRippleDrag to forbid dragging of selections containing regions on more
than one track to dofferent tracks in ripple mode.
Remember which TimeAxisView a ripple-mode drag that's allowed cross-track
drags started from, so that the effect of rippling regions after any region
that's dragged off that track can be undone.
Colin Fletcher [Sat, 8 Mar 2014 17:11:37 +0000 (17:11 +0000)]
Splice mode: fix comment typo
Colin Fletcher [Mon, 10 Feb 2014 19:41:11 +0000 (19:41 +0000)]
Splice mode: exclude newly-added regions from being shuffled
When adding regions in splice mode, exclude the region being added from
possibly being shuffled. I don't know whether this might have some other
adverse effects, but it fixes an obvious defect in 'Splice' mode where
newly-recorded regions 'jump' to the playhead position when recording
stops, and since splice mode is pretty much broken anyway, I don't think it
can make matters any worse.
Colin Fletcher [Tue, 15 Apr 2014 21:13:06 +0000 (22:13 +0100)]
Fix region content drag direction
Fix <Control>+drag in bottom of region to move the region contents in the
expected direction.
Colin Fletcher [Mon, 14 Apr 2014 12:34:18 +0000 (13:34 +0100)]
Fix undo of layer-changing region drags
Move clear_changes() of the playlist on which a region has been dragged
before calling set_layer() on that playlist, so that undo of region drags
in layered mode undoes any layer changes too.
Should fix #5904
Paul Davis [Wed, 7 May 2014 16:13:34 +0000 (12:13 -0400)]
shift-modifier during trim dragging causes region to jump to original position (anchored at start or end, depending on trim type)
Paul Davis [Wed, 7 May 2014 14:35:45 +0000 (10:35 -0400)]
first pass at tightening up waveform drawing algorithm to generally round down when dealing with fractional pixels
Robin Gareus [Tue, 6 May 2014 21:34:04 +0000 (23:34 +0200)]
provide plugins with all available buffers.
e.g. Audio in -> Midi out plugins (on an audio-track).
Midi-buffers do exist in the route but no corresponding
(physical) Input port-buffer exists and ardour crashed.
Now, the plugin itself still only accesses the mapped ports
(ChanMapping), but the mapped buffers are at most
"processor_max_streams" and at least the required
in+out buffers for the plugin.
Paul Davis [Tue, 6 May 2014 17:14:18 +0000 (13:14 -0400)]
fix mingw build - needs bundle_env_mingw.cc when building with mingw, and that is a build target, not a platform
John Emmas [Tue, 6 May 2014 16:00:35 +0000 (17:00 +0100)]
Add some more missing #includes
John Emmas [Tue, 6 May 2014 08:41:40 +0000 (09:41 +0100)]
'atomic_ops' to use glib, rather than Waves's inbuilt atomic operations
Note that the following source files can be removed once we know this works on all platforms:-
backends/wavesaudio/wavesapi/akupara/threading/atomic_ops.hpp
backends/wavesaudio/wavesapi/akupara/threading/atomic_ops_gcc_x96.hpp
backends/wavesaudio/wavesapi/akupara/basics.hpp
backends/wavesaudio/wavesapi/akupara/compiletime_functions.hpp
John Emmas [Tue, 6 May 2014 08:33:54 +0000 (09:33 +0100)]
Add a return value to 'WCMRPortAudioDeviceManager::getDeviceAvailableSampleRates()'
(whilst technically, it doesn't report any encountered errors, it should nevertheless be returning some kind of error status)
John Emmas [Tue, 6 May 2014 08:31:11 +0000 (09:31 +0100)]
Add a couple of pthread helper macros
(to accommodate the fact that in ptw-win32, 'pthread_t' is subtlely different from its non-Windows counterparts)
John Emmas [Tue, 6 May 2014 08:26:59 +0000 (09:26 +0100)]
Add 'waves_backend.vcproj'
John Emmas [Tue, 6 May 2014 08:25:27 +0000 (09:25 +0100)]
Add the 'porttime' source file for Windows
John Emmas [Tue, 6 May 2014 08:23:00 +0000 (09:23 +0100)]
Add some type guards to 'wstdint.h' (in case we previously #included some headers which already define those types)
John Emmas [Tue, 6 May 2014 08:20:03 +0000 (09:20 +0100)]
Add some casting and namespace specifiers to keep MSVC happy
John Emmas [Tue, 6 May 2014 08:16:59 +0000 (09:16 +0100)]
Add a couple of missing header files (needed for cin /cout etc)
John Emmas [Tue, 6 May 2014 08:08:47 +0000 (09:08 +0100)]
Add 'midi_scene_change' sources to ardour.vcproj
Paul Davis [Fri, 2 May 2014 22:44:04 +0000 (18:44 -0400)]
a variety of changes to finalize (?) (MIDI) SceneChange functionality
Paul Davis [Fri, 2 May 2014 22:43:37 +0000 (18:43 -0400)]
tell the SceneChanger to emit any relevant scene changes after a locate
Paul Davis [Fri, 2 May 2014 22:43:04 +0000 (18:43 -0400)]
changing the start (position) of a marker with a scene change needs to update the SceneChanger
Adrian Knoth [Wed, 30 Apr 2014 21:17:49 +0000 (21:17 +0000)]
Add ComboOption configuration for default-fade-shape
Let the user choose the preferred default fade shape in the editor
section of the preference menu.
Adrian Knoth [Mon, 24 Mar 2014 12:22:49 +0000 (13:22 +0100)]
Introduce global default-fade-shape configuration variable
Some users always want the same fade in/out style, e.g., constant power,
symmetric, fast etc.
To avoid having them change the fade style manually for each fade, use a
global configuration variable instead.
Adrian Knoth [Sat, 22 Mar 2014 14:36:45 +0000 (15:36 +0100)]
Drop unused set_default-fade(float, framecnt_t) prototype
Paul Davis [Thu, 1 May 2014 16:31:30 +0000 (12:31 -0400)]
if using the audio/MIDI setup dialog because there are >1 backends, but the chosen backend is not under our control (i.e. JACK), remember to start it before returning from the dialog
Paul Davis [Thu, 1 May 2014 16:27:26 +0000 (12:27 -0400)]
fix crash in butler when destroying before thread is started
Paul Davis [Thu, 1 May 2014 14:18:30 +0000 (10:18 -0400)]
fix install path for ./waf install of waves backend
Paul Davis [Thu, 1 May 2014 13:39:11 +0000 (09:39 -0400)]
second part of windows/osx macro change - forgot *.cpp files
Paul Davis [Thu, 1 May 2014 13:32:18 +0000 (09:32 -0400)]
alter platform-dependent preprocessor macros to use the same names as the rest of the ardour codebase
Paul Davis [Thu, 1 May 2014 13:22:59 +0000 (09:22 -0400)]
fix compile for waves backend, after recent API change
Paul Davis [Thu, 1 May 2014 13:15:26 +0000 (09:15 -0400)]
use AudioBackendInfo::already_configured() to correctly determine if backend requires setup
Fixes issues when using JACK backend in combination with others, that prevented connecting to an existing JACK server.
Paul Davis [Thu, 1 May 2014 13:14:25 +0000 (09:14 -0400)]
Add AudioBackend::info() method to retrieve AudioBackendInfo object
Goal is to be able to call AudioBackendInfo::already_configured() from the right place.
Paul Davis [Thu, 1 May 2014 11:53:46 +0000 (07:53 -0400)]
change location marker ruler text for get_trx() == true case
Paul Davis [Thu, 1 May 2014 11:53:28 +0000 (07:53 -0400)]
correctly set up ruler preferences for get_trx() == true case
Paul Davis [Wed, 30 Apr 2014 18:24:32 +0000 (14:24 -0400)]
more previously applied changes required to build Waves audio/midi backend
Paul Davis [Wed, 30 Apr 2014 17:48:25 +0000 (13:48 -0400)]
second part of (previously applied) change to be able to use -fms-extensions with C compiler
Paul Davis [Wed, 30 Apr 2014 17:46:41 +0000 (13:46 -0400)]
2nd attempt at updated Waves audio backend, with added -fms-extensions as previously applied (but not updated in Waves' repo) to allow anonymous unions, as used by PortMidi
Robin Gareus [Wed, 30 Apr 2014 14:15:10 +0000 (16:15 +0200)]
script to run ardour under callgrind
Paul Davis [Wed, 30 Apr 2014 14:10:31 +0000 (10:10 -0400)]
use per-channel signals to pick up scene changes, rather than global ones
Paul Davis [Wed, 30 Apr 2014 14:10:06 +0000 (10:10 -0400)]
fix for storing 14 bit MIDI controller values
Paul Davis [Tue, 29 Apr 2014 20:30:56 +0000 (16:30 -0400)]
Revert "update wavesaudio backend, now supports Windows (ASIO) as well as OS X (CoreAudio)"
This reverts commit
f374ce69a6f28eb3e7774bfcdb5e07b61b06c3bd.
The code does not compile on OS X, and includes changes to ARDOUR::AudioEngine
that have not landed in git.
Paul Davis [Tue, 29 Apr 2014 20:06:32 +0000 (16:06 -0400)]
remove two more unnecessary instances of os.path.join in install path definitions
Paul Davis [Tue, 29 Apr 2014 20:05:54 +0000 (16:05 -0400)]
update wavesaudio backend, now supports Windows (ASIO) as well as OS X (CoreAudio)
Carl Hetherington [Tue, 29 Apr 2014 11:42:49 +0000 (12:42 +0100)]
Merge branch 'cairocanvas' of git.ardour.org:ardour/ardour into cairocanvas
Robin Gareus [Tue, 29 Apr 2014 10:57:03 +0000 (12:57 +0200)]
DummyAudioBackend: fix freewheelin' typo
Robin Gareus [Tue, 29 Apr 2014 03:12:12 +0000 (05:12 +0200)]
DummyAudioBackend: implement /fake/ system ports
Robin Gareus [Tue, 29 Apr 2014 01:13:40 +0000 (03:13 +0200)]
DummyAudioBackend: NOOP, white-space, clarify variable name & casts
Paul Davis [Tue, 29 Apr 2014 04:11:05 +0000 (00:11 -0400)]
"sequence regions" operation (remove space between selected regions) added, c/o Thomas Brand
Paul Davis [Tue, 29 Apr 2014 01:18:02 +0000 (21:18 -0400)]
remove redundant os.path.join() calls when specifying install path as bld.env['LIBDIR']
Paul Davis [Tue, 29 Apr 2014 01:11:08 +0000 (21:11 -0400)]
finish unfinished work at basing all install paths on the program name
Paul Davis [Tue, 29 Apr 2014 00:56:33 +0000 (20:56 -0400)]
add another missing file
Paul Davis [Tue, 29 Apr 2014 00:46:03 +0000 (20:46 -0400)]
add missing file
Paul Davis [Tue, 29 Apr 2014 00:02:31 +0000 (20:02 -0400)]
do not package anything but explicitly listed backends for the bundle(s) (OS X)
Paul Davis [Tue, 29 Apr 2014 00:01:54 +0000 (20:01 -0400)]
do not package anything but explicitly listed backends for the bundle(s) (Linux)
Paul Davis [Mon, 28 Apr 2014 23:58:24 +0000 (19:58 -0400)]
merge (squash) with scenechange topic branch to provide MIDI-driven scene change markers
Robin Gareus [Mon, 28 Apr 2014 21:00:40 +0000 (23:00 +0200)]
DummyAudioBackend: port-engine, midi-buffers and the rest of it
Robin Gareus [Mon, 28 Apr 2014 20:59:19 +0000 (22:59 +0200)]
DummyAudioBackend: basic process threads and support structure
Robin Gareus [Mon, 28 Apr 2014 19:29:35 +0000 (21:29 +0200)]
skeleton dummy audio-engine
Carl Hetherington [Sat, 19 Apr 2014 19:58:01 +0000 (20:58 +0100)]
Fix some capitalisation in the preferences dialog.
Robin Gareus [Thu, 24 Apr 2014 18:55:03 +0000 (20:55 +0200)]
NOOP, no whitespace at EOF
Robin Gareus [Thu, 24 Apr 2014 18:54:40 +0000 (20:54 +0200)]
fix packing of LXVST UIs (minimum size, border)
Robin Gareus [Thu, 24 Apr 2014 11:22:17 +0000 (13:22 +0200)]
try get_win_special_folder() for harvid & xjadeo (if registry fails)
Robin Gareus [Thu, 24 Apr 2014 00:08:19 +0000 (02:08 +0200)]
query windows registry for xjadeo & harvid path
Robin Gareus [Wed, 23 Apr 2014 19:27:05 +0000 (21:27 +0200)]
fix xjadeo on windows (directly use xjadeo.exe)
Robin Gareus [Tue, 22 Apr 2014 02:18:35 +0000 (04:18 +0200)]
dynamically adjust open-video-dialog layout depending on configuration
Robin Gareus [Mon, 21 Apr 2014 12:44:36 +0000 (14:44 +0200)]
increase LXVST GUI idle call regularity, aim for 25Hz
Robin Gareus [Mon, 21 Apr 2014 11:45:53 +0000 (13:45 +0200)]
vtl: fix leftover typo in request URL (noop)
Robin Gareus [Mon, 21 Apr 2014 02:39:25 +0000 (04:39 +0200)]
really fix vsrv.php script. support new A3.5-CC (BGRA images, CSV)
Robin Gareus [Mon, 21 Apr 2014 02:11:38 +0000 (04:11 +0200)]
update video server API prototyping script (CSV)
Robin Gareus [Sun, 20 Apr 2014 21:02:32 +0000 (23:02 +0200)]
close stdin as first attempt to terminate process cleanly.
Robin Gareus [Sun, 20 Apr 2014 16:55:14 +0000 (18:55 +0200)]
fix issue with duplicate entry in "Recent" menu after re-naming a session
Robin Gareus [Sun, 20 Apr 2014 00:51:00 +0000 (02:51 +0200)]
fix SystemExec for windows
Robin Gareus [Sun, 20 Apr 2014 00:50:38 +0000 (02:50 +0200)]
update GUI while waiting for video server to respond
Robin Gareus [Sun, 20 Apr 2014 00:50:24 +0000 (02:50 +0200)]
add missing "Path" to label, re-order VST preferences
John Emmas [Sat, 19 Apr 2014 12:09:06 +0000 (13:09 +0100)]
Save any cached fonts into our dedicated cache folder (msvc)
(modifies the appropriate entry in 'fonts.conf')
Robin Gareus [Sat, 19 Apr 2014 00:03:43 +0000 (02:03 +0200)]
videotimeline: path related fixes for windows
Robin Gareus [Fri, 18 Apr 2014 22:54:28 +0000 (00:54 +0200)]
no vfork wrapper on windows
unknown [Fri, 18 Apr 2014 14:35:49 +0000 (09:35 -0500)]
Merge branch 'cairocanvas' of git.ardour.org:ardour/ardour into cairocanvas
unknown [Fri, 18 Apr 2014 14:35:08 +0000 (09:35 -0500)]
add vsprops files
Paul Davis [Fri, 18 Apr 2014 09:07:43 +0000 (05:07 -0400)]
correct fix to OS X build script for patchfiles (spelling error)
Paul Davis [Fri, 18 Apr 2014 09:07:20 +0000 (05:07 -0400)]
put back bottom line of region views if name highlight is not shown.
Also remove redundant line that replicated the one we modified.
Robin Gareus [Thu, 17 Apr 2014 23:54:59 +0000 (01:54 +0200)]
fix VST GUI swallowing for windows
Robin Gareus [Thu, 17 Apr 2014 21:24:37 +0000 (23:24 +0200)]
account for MS version of std::isalnum() - fixes assert on UTF8
Paul Davis [Thu, 17 Apr 2014 13:47:06 +0000 (09:47 -0400)]
new transport option, "loop-is-mode" which optionally changes the role of the "play loop" button.
If enabled, then the button simply changes the behaviour of the "play" button rather than actually starting playback. If disabled
transport behaviour should be unchanged from before.
Paul Davis [Wed, 16 Apr 2014 13:03:16 +0000 (09:03 -0400)]
fix lack of region trimming when not displaying name highlight bar
Paul Davis [Wed, 16 Apr 2014 11:35:20 +0000 (07:35 -0400)]
improve comment text
Paul Davis [Wed, 16 Apr 2014 11:31:01 +0000 (07:31 -0400)]
add preferences item for show-name-highlight (does not take effect till next instance)
Paul Davis [Wed, 16 Apr 2014 11:30:09 +0000 (07:30 -0400)]
fix logic for Config->show_name_highlight (reversed from inital experiments)
Paul Davis [Wed, 16 Apr 2014 10:35:24 +0000 (06:35 -0400)]
use new config option to control name highlight and name placement
Paul Davis [Wed, 16 Apr 2014 10:31:24 +0000 (06:31 -0400)]
add new config parameter controlling visibility of name highlights in regions.
This also affects region name placement.
Paul Davis [Wed, 16 Apr 2014 08:16:56 +0000 (04:16 -0400)]
add a transparent rect that is always located at the bottom of the track canvas
This gives us an event/drag-n-drop/click target for things "at the bottom"
Paul Davis [Wed, 16 Apr 2014 07:00:49 +0000 (03:00 -0400)]
not that anyone ever runs with the SAE profile and not that we want to support it, but don't crash if they do