13
0
Commit Graph

16955 Commits

Author SHA1 Message Date
c46ec135e5 initial incorporation of Tracks' automatic reconnect features, based on current Tracks code 2015-06-29 14:18:11 -04:00
de4efe73a6 merge several of the trickiest Tracks- and platform-specific RC configuration variables 2015-06-29 14:18:11 -04:00
d1747b4137 no-op: indentation and whitespace fixes 2015-06-29 14:18:11 -04:00
GZharun
ae8c494c02 [Summary] Added export cleanup
[Reviewed by] Andriy Mishyn
2015-06-29 14:18:11 -04:00
f9aeb659ee indentation and formatting cleanup 2015-06-29 14:18:11 -04:00
GZharun
f837b66c20 [Summary] Fixed issue with export built on Mavericks. There was not check on empty sets in ExportFormatSpecification class.
C standard, section 6.5.6.8 says:
"...if the result points one past the last element of the array object, it shall not be used as the operand of a unary * operator that is evaluated..."
So GCC compiler and CLANG compiler (Mavericks) process this operation different way. GCC returns 0 on an attempt to dereference end iterator when CLANG returns a non 0 value.
2015-06-29 14:18:11 -04:00
Greg Zharun
5877f255f0 [Summary] Fixed windows build 2015-06-29 14:18:11 -04:00
04b2d34362 add channel_count() to audio source API 2015-06-29 14:18:11 -04:00
9c95a8bdea another signal related to record state added from Tracks.
This doesn't appear to have obviously distinct semantics from RecordStateChanged
but Tracks is using it and I can't verify instantly that it could be replaced
by RecordStateChanged.
2015-06-29 14:18:11 -04:00
43f4b82485 distribute use of RouteAddedOrRemoved to appropriate places.
It might be wise to use this rather than GUIIdle but that needs further investigation
2015-06-29 14:18:11 -04:00
8c880b6529 include emission of RouteAddedOrRemoved in Session::add_audio_track() 2015-06-29 14:18:11 -04:00
11e371c5e7 integrate Session::remove_routes() from Tracks and replace Session::remove_route() internal implementation.
The singular case replicated (and was the model for) the plural case.
2015-06-29 14:18:11 -04:00
e7fa40762c re-do previous commit with less variables 2015-06-29 14:18:11 -04:00
024a061804 Tracks calls tracks "Tracks"; Ardour uses type-names 2015-06-29 14:18:11 -04:00
b3d0b85328 Session::reconnect_midi_scene_ports() is a Tracks thing.
It requires the EngineStateController which is not merged at this time
2015-06-29 14:18:11 -04:00
9fffa74267 add missing profile header 2015-06-29 14:18:11 -04:00
GZharun
2f790bc638 fix bank ID when MIDI Scene change handles a program change message 2015-06-29 14:18:11 -04:00
511f609a14 add Session::reconnect_midi_scene_ports() 2015-06-29 14:18:10 -04:00
2f95da983b add comment 2015-06-29 14:18:10 -04:00
584d8095ee totally bizarre and incorrect solo/mute behaviour for Tracks (ONLY) 2015-06-29 14:18:10 -04:00
nikolay
ed291ee8d0 [Summary] Changed function name update_route_active_state() on update_route_record_state()
[Reviewed] GZharun

Conflicts:
	libs/ardour/ardour/session.h
	libs/ardour/session.cc
	libs/ardour/session_state.cc
2015-06-29 14:18:10 -04:00
9320b51032 provide Session::have_rec_disabled_track() 2015-06-29 14:18:10 -04:00
0108f9f18d add the Tracks version of Track::monitoring_state()
This drastically-stripped down version of the Ardour original is used only when USE_TRACKS_CODE_FEATURES
is defined. It doesn't respond to many aspects/features of libardour.
2015-06-29 14:18:10 -04:00
8a6b23f28f adding routes no longer saves session but leaves it marked dirty (Tracks semantics for add_routes() retained) 2015-06-29 14:18:10 -04:00
039127c89a fix indentation 2015-06-29 14:18:10 -04:00
GZharun
c4f6faa424 [Summary] Region changes will make session dirty 2015-06-29 14:18:10 -04:00
43f45ed0b0 mark session dirty when markers/ranges are changed 2015-06-29 14:18:10 -04:00
4235367acd fixed previous commit from Tracks to work correctly in all cases 2015-06-29 14:18:10 -04:00
Valeriy Kamyshniy
07c81a763f [Summary] BUG FIXED: New name of a session saved with “save as”, was not stored in the session recent list.
[Reviewed] YPozdnyakov
2015-06-29 14:18:10 -04:00
Valeriy Kamyshniy
1f98535b52 [Summary] Adding informative message to failed file copy exception in Session::save_as.
[Review required] Paul Davis
2015-06-29 14:18:10 -04:00
445d742af1 save recent templates analogously to recent sessions 2015-06-29 14:18:10 -04:00
0365c5cc47 Tracks-specific handling of template dir 2015-06-29 14:18:10 -04:00
893cb3460c fix cherry-pick logic failure with Session::save_template() - Tracks case already taken care of 2015-06-29 14:18:10 -04:00
Valeriy Kamyshniy
1acee68037 [Summary] a) On MAC OS, .DS_Store files are ignored when saving a session by “Save As”.
b) plugins folder is not created for Templates.

[Required review] Paul Davis, YPozdnyakov

Conflicts:
	libs/ardour/session_state.cc
2015-06-29 14:18:10 -04:00
Valeriy Kamyshniy
7c5d849247 [Summary] For tracks when saving templates, we need stored the Auto Loop Range and all MIDI markers. As well, just to follow canonical rule: dealing with a pointer (_location in Session::state) check it for NULL prior to any operation (s), accessing the pointer.
[Review required] YPozdnyakov, GZharun, Paul Davis
2015-06-29 14:18:10 -04:00
2a1d0e20f0 emit SessionSaveUnderWay signal during template save 2015-06-29 14:18:10 -04:00
fba9bff5b0 improved error handling and checking for Session::save_template() 2015-06-29 14:18:10 -04:00
5bf6542a2c set micro_version, used for tracks builds 2015-06-29 14:18:10 -04:00
c912bd61ae tracks build ... backends are hard-coded 2015-06-29 14:18:10 -04:00
7fae6bcd87 copy all XCode project files from Tracks.
Rationale: the Waves team maintains the XCode project files, the Ardour crew doesn't. Thus, the Waves'
version is more canonical
2015-06-29 14:18:10 -04:00
14ffde884f conditionalize background fades depending on whether this is a tracks or other build 2015-06-29 14:18:10 -04:00
26b0201c69 tweak for static library build 2015-06-29 14:18:10 -04:00
87cfd47818 add now-expected -D defines for a Tracks build 2015-06-29 14:18:10 -04:00
b385d02022 merge two small pieces of code by Valeriy into libs/gtkmm2ext, conditionally used ONLY in Tracks builds.
This code is not acceptable for use in Ardour ... comments in code explain more.
2015-06-29 14:18:10 -04:00
d682c42d5a better implementation of configure and build time is_tracks_build() test 2015-06-29 14:18:10 -04:00
8c41a412c1 fix up waves_fastmeter.cc code to work with current fastmeter API 2015-06-29 14:18:10 -04:00
e1bd9401d5 add clean and nice check for Tracks builds 2015-06-29 14:18:10 -04:00
8a9dc2c2d5 conditionally use correct fast meter implementation 2015-06-29 14:18:10 -04:00
e2574020b2 fix logic/declaration issue with modified PersistentTooltip API 2015-06-29 14:18:10 -04:00
d4c28adc6f add Waves Tracks version of fastmeter 2015-06-29 14:18:10 -04:00