Commit graph

16824 commits

Author SHA1 Message Date
Paul Davis
a032df0b6f distribute use of RouteAddedOrRemoved to appropriate places.
It might be wise to use this rather than GUIIdle but that needs further investigation
2015-06-25 10:49:05 -04:00
Paul Davis
aba2ceda23 include emission of RouteAddedOrRemoved in Session::add_audio_track() 2015-06-25 10:49:05 -04:00
Paul Davis
da6139bdb0 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-25 10:49:04 -04:00
Paul Davis
09c5bb9ada re-do previous commit with less variables 2015-06-25 10:49:04 -04:00
Paul Davis
8841a43d23 Tracks calls tracks "Tracks"; Ardour uses type-names 2015-06-25 10:49:04 -04:00
Paul Davis
202ddbfdb5 Session::reconnect_midi_scene_ports() is a Tracks thing.
It requires the EngineStateController which is not merged at this time
2015-06-25 10:49:04 -04:00
Paul Davis
87d81cf85c add missing profile header 2015-06-25 10:49:04 -04:00
GZharun
2e58b7ad44 fix bank ID when MIDI Scene change handles a program change message 2015-06-25 10:49:04 -04:00
Paul Davis
3b38b0fe1b add Session::reconnect_midi_scene_ports() 2015-06-25 10:49:04 -04:00
Paul Davis
bdf8c37306 add comment 2015-06-25 10:49:04 -04:00
Paul Davis
8bdc54cc67 totally bizarre and incorrect solo/mute behaviour for Tracks (ONLY) 2015-06-25 10:49:04 -04:00
nikolay
149c8271c6 [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-25 10:49:04 -04:00
Paul Davis
a92c61194e provide Session::have_rec_disabled_track() 2015-06-25 10:49:04 -04:00
Paul Davis
51baaaaf7e 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-25 10:49:04 -04:00
Paul Davis
31d664c58a adding routes no longer saves session but leaves it marked dirty (Tracks semantics for add_routes() retained) 2015-06-25 10:49:04 -04:00
Paul Davis
324a9512ec fix indentation 2015-06-25 10:49:04 -04:00
GZharun
bb85d56db7 [Summary] Region changes will make session dirty 2015-06-25 10:49:04 -04:00
Paul Davis
64a0cd6c06 mark session dirty when markers/ranges are changed 2015-06-25 10:49:03 -04:00
Paul Davis
14393f9790 fixed previous commit from Tracks to work correctly in all cases 2015-06-25 10:49:03 -04:00
Valeriy Kamyshniy
a9274cd3a1 [Summary] BUG FIXED: New name of a session saved with “save as”, was not stored in the session recent list.
[Reviewed] YPozdnyakov
2015-06-25 10:49:03 -04:00
Valeriy Kamyshniy
b9106d4304 [Summary] Adding informative message to failed file copy exception in Session::save_as.
[Review required] Paul Davis
2015-06-25 10:49:03 -04:00
Paul Davis
65c6ee7791 save recent templates analogously to recent sessions 2015-06-25 10:49:03 -04:00
Paul Davis
01bb1785a4 Tracks-specific handling of template dir 2015-06-25 10:49:03 -04:00
Paul Davis
79759e63f8 fix cherry-pick logic failure with Session::save_template() - Tracks case already taken care of 2015-06-25 10:49:03 -04:00
Valeriy Kamyshniy
72c7df716d [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-25 10:49:03 -04:00
Valeriy Kamyshniy
0583cefa1c [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-25 10:49:03 -04:00
Paul Davis
c12220f81a emit SessionSaveUnderWay signal during template save 2015-06-25 10:49:03 -04:00
Paul Davis
b66e06d7c5 improved error handling and checking for Session::save_template() 2015-06-25 10:49:03 -04:00
Paul Davis
5d6dfe0c37 set micro_version, used for tracks builds 2015-06-25 10:49:03 -04:00
Paul Davis
0aa199b2a1 tracks build ... backends are hard-coded 2015-06-25 10:49:03 -04:00
Paul Davis
ab09ca264f 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-25 10:49:03 -04:00
Paul Davis
f91e83c759 conditionalize background fades depending on whether this is a tracks or other build 2015-06-25 10:49:03 -04:00
Paul Davis
4e87c61179 tweak for static library build 2015-06-25 10:49:03 -04:00
Paul Davis
8e9a18f0d2 add now-expected -D defines for a Tracks build 2015-06-25 10:49:03 -04:00
Paul Davis
888112a231 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-25 10:49:03 -04:00
Paul Davis
1df10daa6b better implementation of configure and build time is_tracks_build() test 2015-06-25 10:49:03 -04:00
Paul Davis
2022a5b8d1 fix up waves_fastmeter.cc code to work with current fastmeter API 2015-06-25 10:49:03 -04:00
Paul Davis
4c2ce0e6b3 add clean and nice check for Tracks builds 2015-06-25 10:49:02 -04:00
Paul Davis
4f0258465e conditionally use correct fast meter implementation 2015-06-25 10:49:02 -04:00
Paul Davis
a3cb63a679 fix logic/declaration issue with modified PersistentTooltip API 2015-06-25 10:49:02 -04:00
Paul Davis
ddbc67c567 add Waves Tracks version of fastmeter 2015-06-25 10:49:02 -04:00
Nikolay
720c911268 [Summary] Changed class PersistentTooltip. Now it can be used for 'non-draggable' tooltips.
[Feature reviewed] MKosharnyy
[Reviewed] VKamyshniy

Manually clean up merge mess, indentation, logic weakness, initializer order, etc.

Conflicts:
	libs/gtkmm2ext/gtkmm2ext/persistent_tooltip.h
	libs/gtkmm2ext/persistent_tooltip.cc
2015-06-25 10:49:02 -04:00
Paul Davis
d6511acd18 use Tracks' MainMenuDisabler during session lock (could be improved with more RAII) 2015-06-25 10:49:02 -04:00
Paul Davis
37077f6b8c hand-merge libs/gtkmm2ext part of f49d31a82 from Tracks; provides a way to disable/re-enable OS X main menu 2015-06-25 10:49:02 -04:00
Nikolay
7531da717a [Summary] Bug fix #44332 "Please fit the Pan values monitor to channel borders"
[Feature reviewed] AMishyn
[Reviewed] VKamyshniy

Fixed up by Paul Davis to fix logic mistakes and unnecessary complexity,
and indentation.

Conflicts:
	libs/gtkmm2ext/persistent_tooltip.cc
2015-06-25 10:49:02 -04:00
YPozdnyakov
93dae84dd1 [Summary]: add keybindings Cmd-h (hide application) for mac
Conflicts:
	gtk2_ardour/ardour_ui.cc
	gtk2_ardour/ardour_ui.h
	gtk2_ardour/ardour_ui_ed.cc
2015-06-25 10:49:02 -04:00
YPozdnyakov
ab08a14872 [Summary]: fix declaration of Cocoa NSApplicationDelegate methods [Reviewed by] Paul Davis
Conflicts:
	libs/gtkmm2ext/gtkapplication_quartz.mm
2015-06-25 10:49:02 -04:00
Paul Davis
8b2a2362d2 current version of valeriy's fader object requires access to libardour API (to be changed) 2015-06-25 10:49:02 -04:00
Paul Davis
0ff24de8fe add fader implementation from Tracks 2015-06-25 10:49:02 -04:00
Greg Zharun
b0b903cdd3 [Summary] Added correct memory alignment for Windows in ../pbd/malign.h
[Reviewed by] YPozdnyakov
2015-06-25 10:49:02 -04:00