Commit Graph

224 Commits

Author SHA1 Message Date
Paul Davis 236f549caa insanely complex fixes for dragging to and from the drop zone.
This probably breaks some of ardour's functionality (e.g. layered mode), but seems to
be either just right or very close to it for tracks

Conflicts:
	gtk2_ardour/editor_routes.cc
2015-02-13 17:00:30 -05:00
nick_m 7a3662bc14 Fix missing selection undo for track header click and route list select. 2015-01-13 21:41:30 +11:00
Paul Davis 99cfd00e86 remove unnecessary scoping 2014-12-26 13:04:48 -05:00
Robin Gareus c6a3d6bc48 small round of compiler warning fixes 2014-10-23 03:43:04 +02:00
Robin Gareus 5462294629 remove debug message 2014-09-07 20:42:50 +02:00
Robin Gareus 27631e7c7f fix (auto-expand) typo in f23f379b3 2014-09-07 20:33:11 +02:00
Robin Gareus 4167e83972 NOOP, re-indent, remove trailing whitespace, sort includes 2014-09-07 20:23:50 +02:00
Robin Gareus f23f379b37 don't loose a redraw.
This more or less obsoletes the DisplaySuspender.
While RAII is nice, the DisplaySuspender cannot be
used from outside gtk2_ardour eg Mute/Solo signals
notifications from libardour (which don't originate
from the GUI).

The DisplaySuspender is still useful, because it
explicitly disables re-display and forces a single
expose at the end.
2014-09-07 20:23:50 +02:00
Robin Gareus 78f0007d54 safe EditorRoutes::redisplay() 2014-09-06 22:01:39 +02:00
Robin Gareus bcd2e8d5e6 idle update editor TreeView
dramatic speedup for solo & route toggle.
2014-09-06 13:10:47 +02:00
Robin Gareus 3a75fab244 speed up session load (display updates) 2014-09-06 12:52:29 +02:00
David Robillard 885f1c71ec Remove unused variables (fix warnings). 2014-08-31 17:54:16 -04:00
Ben Loftis 74f313dd6b Rationalize ArdourButton and lots of associated theming issues.
ArdourButtons now have a "pushed" animation.
The gradient is now implemented in the button, rather than providing 2 colors in the theme, which was burdensome.
Lots of code cleanup in ArdourButton.  Removed several unnecessary flags.
Refactor more stuff into route_ui.
2014-08-22 11:51:20 -05:00
Robin Gareus c52cb37bf2 suspend route redisplay for (rec-en, solo, mute and monitor) batch changes 2014-06-29 02:52:56 +02:00
Robin Gareus a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
Paul Davis 5d6dc388f7 fix some confusion when redrawing editor/mixer track/strip displays after track/bus deletion
The code relied on the idea that the order-key resync that occurs after deletion would change the order keys and thus cause
a redisplay. But since both the editor and mixer can initiate an order-key resync, the other window's resync will actually
do nothing (the order keys will already be correct). This led to the incorrect placement of material in the tracks canvas,
because the first resync triggered a redisplay while the route still existed, and then the second resync didn't cause a
redisplay (repositioning) but the canvas elements representing the track went away.

Fixed by forcing a redisplay in both editor and mixer if a route deletion is believed to be triggering a row deletion
in their underlying data models.
2014-06-20 21:52:24 -04:00
Paul Davis 95f81e2d24 add optional arg to Editor::ensure_time_axis_view_is_visible() to "force" "make it visible as the top track" behaviour 2014-03-24 19:46:45 -04:00
Paul Davis 012504d35a selecting a track/bus in the editor list now selects it in the canvas, and also ensures that it is visible
Visibility is done with Editor::ensure_time_axis_view_is_visible(), and ctrl-click in the editor list
was also modified to use the same method.
2014-03-24 17:32:04 -04:00
Paul Davis ea1ccb869a fix merge with master 2013-10-31 13:16:51 -04:00
Paul Davis 7ce86cec7d handle enter/leave items when zooming and scrolling occur 2013-10-31 03:10:18 -04:00
nick_m be69bf15dd New routes are placed after highest selected route. 2013-10-24 01:27:13 +11:00
Paul Davis 664e715a00 merge from master 2013-10-22 15:29:44 -04:00
nick_m 5b62e88fbf Unify editor / mixer ordering. 2013-10-21 00:19:43 +11:00
Paul Davis 525cb6b4a7 some sort-of-deep fixes to get autoscroll/vertical scroll to work properly for cairocanvas 2013-07-10 19:10:06 -04:00
Paul Davis 4e9108cd1e remove TimeAxisView::clip_to_viewport() and Editor::update_canvas_now() and Editor::flush_canvas() which should no longer be necessary with a sane canvas design 2013-04-12 18:01:44 -04:00
Paul Davis 19bd641915 commit immediately post linking 2013-04-04 18:45:27 -04:00
Paul Davis aaea166135 initial commit of hand merging, plus getting "ancient" waf script to work correctly 2013-04-04 00:32:52 -04:00
Paul Davis 851a392495 likely fix for #5426 (hide all tracks doesn't work and causes inconsistent state 2013-04-01 19:56:33 -04:00
Paul Davis 076d919ac3 fix crash when pressing "s" with kbd focus in editor route list
git-svn-id: svn://localhost/ardour2/branches/3.0@14055 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-02-06 14:38:13 +00:00
Ben Loftis 5249f82603 more theming and layout tweaks. new faders that pre-light. fixed some spacing around mixer buttons. tweaked some colors (returned mutes to yellow). removed group button at bottom of mixer strip and replaced it with fader automation mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@13617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07 22:38:49 +00:00
Paul Davis 89d1a2fdf5 dramatically speed up the addition of large numbers of busses + tracks. consists of a backend part (ignore JACK graph/latency callbacks while we're adding tracks) and a GUI side (avoid O(N^N) behaviour while adding each new time axis view)
git-svn-id: svn://localhost/ardour2/branches/3.0@13595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-04 14:32:28 +00:00
Paul Davis f750aa3207 fix serious logic error in re-ordering treeviews after route order keys/RIDs change - fixes major memory corruption bug that overwrote random memory as soon as a track gets deleted and/or user-defined remote IDs are in use
git-svn-id: svn://localhost/ardour2/branches/3.0@13355 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-27 00:15:45 +00:00
Paul Davis 4f77bf201e make more or less all LHS treeviews use the same style
git-svn-id: svn://localhost/ardour2/branches/3.0@13056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-20 01:47:27 +00:00
Paul Davis e43d91949b more work on RID and editor/mixer order matching; when a track/bus is hidden in the GUI controlling RID, it gets a extremely large RID to prevent it showing up on a control surface (but ... for now ... is still visible in the other GUI, even if "sync order between mixer + editor" is enabled); change font in editor route list
git-svn-id: svn://localhost/ardour2/branches/3.0@13054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-19 22:35:43 +00:00
Paul Davis 7db500301d further efforts at cleaning up the design of the interaction/relationship between route sort order keys and remote control IDs
git-svn-id: svn://localhost/ardour2/branches/3.0@12962 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28 22:27:37 +00:00
Paul Davis 958c63bd18 minor cleanups from 12952
git-svn-id: svn://localhost/ardour2/branches/3.0@12956 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28 14:32:26 +00:00
Paul Davis f46a7bc509 reorder #includes to avoid the usual Apple BS with un-namespaced typenames like Style
git-svn-id: svn://localhost/ardour2/branches/3.0@12954 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28 02:11:26 +00:00
Paul Davis 11415b49be first pass at the big rethink of managing sort order keys for editor and mixer. this appears to work, but remote control IDs are not yet correct (frequently off by one because of the presence of the master bus in the editor)
git-svn-id: svn://localhost/ardour2/branches/3.0@12953 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-27 22:57:06 +00:00
Paul Davis 97d920593f drastic rethink of the relationship between remote control ID and route order keys. unless the user explicitly switches to UserOrdered, Route::_remote_control_id is an unallocated pointer, and Route::remote_control_id() simply returns a value based on the relevant order_key() value. Also, change the key used in the Route::order_keys std::map<> from a string to an enum, since there is no evidence that we are benefitting from the theoretical benefit of using a string. Generally tidy up allocation of order keys so that the master and monitor busses always get a "special" MixerSort key value, based on the MMC ID for master (already defined within Ardour), and all other tracks/busses start at zero. Syncing keys between editor and mixer will leave the MixerSort key for the master and monitor bus alone, reflecting the fact that we display these in their own distinct parts of the GUI and they are not orderable like other tracks or busses within the mixer window
git-svn-id: svn://localhost/ardour2/branches/3.0@12923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25 12:46:13 +00:00
Paul Davis ec1ef5d6b5 remove the apparently unnecessary "ui_bind()" macro from entire source base
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:58:19 +00:00
Paul Davis 2b7d17e904 reorder editor route list columns to put visible and active first (from joern)
git-svn-id: svn://localhost/ardour2/branches/3.0@11732 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 17:08:07 +00:00
Paul Davis c52c2b7368 forward-port some fixes from a2
git-svn-id: svn://localhost/ardour2/branches/3.0@11630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09 17:15:25 +00:00
Paul Davis b08d13706f remove additional "mid" color from ArdourButton; replace Active/Mid widget state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now
git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07 17:43:55 +00:00
Paul Davis 946dc070f8 add monitoring column to route group list; make click in blank area of route list and route group list cancel selection and/or name editing
git-svn-id: svn://localhost/ardour2/branches/3.0@10911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-06 16:46:50 +00:00
Paul Davis 5547744d85 consistent colors for selected treeview rows
git-svn-id: svn://localhost/ardour2/branches/3.0@10901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05 17:20:15 +00:00
Paul Davis eab4929c31 add tooltips to the editor track/bus list
git-svn-id: svn://localhost/ardour2/branches/3.0@10859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02 14:52:04 +00:00
Carl Hetherington 12e80812fd Remove solo buttons from the master route in the route list (#4486).
git-svn-id: svn://localhost/ardour2/branches/3.0@10667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18 00:08:47 +00:00
Carl Hetherington aef4f9fb07 Fix erroneous setup of order keys when tracks have children: order keys relate to the actual tracks only, and ignore child automation views. Should fix the root cause of #4481.
git-svn-id: svn://localhost/ardour2/branches/3.0@10664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17 23:44:16 +00:00
Paul Davis 11fdd6cd18 solo buttons are now ArdourButtons
git-svn-id: svn://localhost/ardour2/branches/3.0@10401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 18:48:32 +00:00
Paul Davis 592bfa3616 mute and send-alert buttons are now ArdourButtons
git-svn-id: svn://localhost/ardour2/branches/3.0@10397 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-02 16:46:49 +00:00
Carl Hetherington ce6d99ccb5 Add active toggle to editor route list (#4236).
git-svn-id: svn://localhost/ardour2/branches/3.0@10098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-19 22:34:30 +00:00
Carl Hetherington 6ae03aa212 Maintain order keys even when routes are hidden, to prevent
git-svn-id: svn://localhost/ardour2/branches/3.0@9844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12 11:02:12 +00:00
Paul Davis 1e7f4986ec use thorsten's new icons where relevant
git-svn-id: svn://localhost/ardour2/branches/3.0@9820 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-09 20:22:53 +00:00
Paul Davis b0ec4057ad fix behaviour of "Hide" in track context menu
git-svn-id: svn://localhost/ardour2/branches/3.0@9804 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-07 18:58:02 +00:00
Paul Davis 10cb0a7646 introduce GUIObjectState; massive, pervasive changes in visibility and height management for track displays in the editor
git-svn-id: svn://localhost/ardour2/branches/3.0@9796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-07 00:37:13 +00:00
Paul Davis c03ea1fdb3 fixed width columns for LHS of editor route list
git-svn-id: svn://localhost/ardour2/branches/3.0@9782 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-01 23:37:42 +00:00
Paul Davis 39c75ebcd6 new editor track/bus list icons from thorwil
git-svn-id: svn://localhost/ardour2/branches/3.0@9781 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-01 21:05:58 +00:00
Paul Davis 0fb08e9bc3 switch to basic round icon for MIDI input enable in editor track list; use StatefulButton to avoid visual ugliness with midi input button in mixer strip
git-svn-id: svn://localhost/ardour2/branches/3.0@9780 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-01 16:31:21 +00:00
Paul Davis 67e21fd82e add MIDI input control column to editor route list; tweak SVG for MIDI not DIN
git-svn-id: svn://localhost/ardour2/branches/3.0@9779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-01 15:48:24 +00:00
Paul Davis 1060243302 major, substantive reworking of how we store GUI information (visibility, height) for automation data. old design stored (insufficient) identifying information plus actual data in a GUI-only XML node; new scheme adds GUI data via extra_xml node to each AutomationControl object. reworked public/private methods for showing/hiding TimeAxisView objects; changed labelling of automation tracks to just show the name of the controlled parameter - more info can be viewed in the tooltip for the track headers. NOTE: Session file format ALTERED. No data loss but track visibility may be different than previous ardour3 versions
git-svn-id: svn://localhost/ardour2/branches/3.0@9703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 15:35:34 +00:00
David Robillard ed626628b5 Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00
Carl Hetherington 5392447686 Cope with tracks having order keys higher than the number of tracks; although I'm not quite sure how this happens. Fixes #4037.
git-svn-id: svn://localhost/ardour2/branches/3.0@9492 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-11 14:15:32 +00:00
Carl Hetherington 13232d03f3 Modify route _processor list set up so that the logic for placing `invisible' processors (e.g. internal returns etc.) is in one place. Add option to get pre-fade listen from before or after pre-fade processors (#3781).
git-svn-id: svn://localhost/ardour2/branches/3.0@8903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20 00:55:32 +00:00
Paul Davis 314f0d91d3 a radically new approach to sizing the track header layout that now allows ardour to shrink dramatically in vertical height. current lower limit is about 763 pixels WITH the editor mixer strip, and something much, much smaller without it
git-svn-id: svn://localhost/ardour2/branches/3.0@8608 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-29 14:48:59 +00:00
Carl Hetherington b565ada188 Fix MIDI solo buttons in the editor route list, and improve AFL/PFL behaviour in there too. Should fix #3645 and #3644.
git-svn-id: svn://localhost/ardour2/branches/3.0@8410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-02 13:42:27 +00:00
Carl Hetherington f07af0c990 Make editor route list rec enable work for MIDI tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@8406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-01 19:04:11 +00:00
Carl Hetherington f294d62187 Don't grab focus on enter if we are editing a name. Otherwise when the mouse pointer leaves the editing widget and re-enters the route list, the edit is aborted. Should fix #2920.
git-svn-id: svn://localhost/ardour2/branches/3.0@8405 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-01 18:46:20 +00:00
Paul Davis b8429faada make track list solo-isolate column wide enough to show "SI" as its name
git-svn-id: svn://localhost/ardour2/branches/3.0@8284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-15 03:38:52 +00:00
Paul Davis b85b4d9e54 make ardour3 build and link on OS X (tiger, at least)
git-svn-id: svn://localhost/ardour2/branches/3.0@8018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-13 05:14:48 +00:00
Paul Davis e98cf169eb take control of colors in text cell entry-editing widgets (region & route lists)
git-svn-id: svn://localhost/ardour2/branches/3.0@7974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-05 16:53:57 +00:00
Paul Davis ee54123470 don't unnecessarily reset name_editable in editor route list, so that tab will still finish an edit
git-svn-id: svn://localhost/ardour2/branches/3.0@7860 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-29 16:57:02 +00:00
Paul Davis 5f128910e1 more route + region list navigation/editing changes. not sure we actually want this functionality for the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@7858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-29 02:01:35 +00:00
Paul Davis 9f3f3738e7 (1) awful grungy code to make tab/shift-tab correctly end route editing in track+bus tab (2) traversify the track+bus tab so that s/m/r keys solo/mute/rec-enable the appropriate things (more work to do here to follow modifier conventions established elsewhere)
git-svn-id: svn://localhost/ardour2/branches/3.0@7855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-29 01:22:11 +00:00
Paul Davis 0ff828822f use select next/prev stuff on editor track+bus list
git-svn-id: svn://localhost/ardour2/branches/3.0@7851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-28 18:37:21 +00:00
Paul Davis da8eec7a83 remove Glib::ustring from gtk2_ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@7774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14 16:51:02 +00:00
Carl Hetherington ef5c59068f Fix up solo / mute colouring in the tracks list. Should fix #2940.
git-svn-id: svn://localhost/ardour2/branches/3.0@7629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-15 10:35:51 +00:00
Carl Hetherington 04150d8069 Make route list tab LEDs follow record state correctly.
git-svn-id: svn://localhost/ardour2/branches/3.0@7628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-15 10:33:41 +00:00
Paul Davis c685724c80 step editing now accessed via a context menu on MIDI track rec-enable buttons. along the way, fixed up confusion between set_rec_enable() and set_rec_enabled() methods in Route/Track/Diskstream
git-svn-id: svn://localhost/ardour2/branches/3.0@7482 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-24 16:40:56 +00:00
Carl Hetherington 536384ea4e Tweak group tabs class hierarchy and offer the same menu in both editor and mixer. Fixes #3336.
git-svn-id: svn://localhost/ardour2/branches/3.0@7441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-19 21:47:07 +00:00
Carl Hetherington 9510cb20fc Lincoln's patch from #3223 to add show/hide midi track options to the route list.
git-svn-id: svn://localhost/ardour2/branches/3.0@7237 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-06 00:56:19 +00:00
Carl Hetherington ec4cb52685 Make track Hide option work again.
git-svn-id: svn://localhost/ardour2/branches/3.0@7142 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-23 01:50:59 +00:00
Carl Hetherington 05b99bf8da Remove some debug code.
git-svn-id: svn://localhost/ardour2/branches/3.0@7091 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-10 10:22:38 +00:00
Carl Hetherington c899ba4368 Remove some dead code.
git-svn-id: svn://localhost/ardour2/branches/3.0@7090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-10 01:37:35 +00:00
Paul Davis a8e354ed7b yet more work on Ye Fabled Solo Architecture. now do forward and backward propagation of solo status from a soloed track. tweak GUI appearance
git-svn-id: svn://localhost/ardour2/branches/3.0@7001 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-27 03:10:53 +00:00
Carl Hetherington 061a85191c Move Diskstream ownership to Track, so that Session no longer holds lists of Diskstreams. Breaks 3.0 file format again.
git-svn-id: svn://localhost/ardour2/branches/3.0@6945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-21 20:42:22 +00:00
Carl Hetherington 3ff2396b4a Add solo safe control to editor route list, as per #3063.
git-svn-id: svn://localhost/ardour2/branches/3.0@6861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-05 20:08:37 +00:00
Paul Davis 14b0ca31bc handle deletion of UI objects between the time that a callback is queued with the UI event loop and the execution of the callback (intrusive, big)
git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30 15:18:43 +00:00
Paul Davis fa701b8c06 change PropertyChange from a bitfield into a real object, with all the many widespread changes that causes
git-svn-id: svn://localhost/ardour2/branches/3.0@6701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-19 18:09:08 +00:00
Carl Hetherington d89b7897f0 Allow buss names to be edited in the track/bus list.
git-svn-id: svn://localhost/ardour2/branches/3.0@6627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-03 01:23:38 +00:00
Carl Hetherington eb6b142c02 Tweaks to prevent flicker in the treeview when changing record / solo isolate state.
git-svn-id: svn://localhost/ardour2/branches/3.0@6554 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-25 02:03:24 +00:00
Paul Davis b1180c3a7e lincoln's revised patch for editor route list, to get column widths better etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@6546 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-22 17:23:58 +00:00
Carl Hetherington 519869c4a6 Fix #2992: mute/solo state in tracks/busses tab not set up correctly on session load.
git-svn-id: svn://localhost/ardour2/branches/3.0@6488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-15 00:06:11 +00:00
Paul Davis 74933f5865 restore excess calls to sync-order stuff (for now); allow MIDI controllers to use the same non-linear fader response as the gui; add various flags to PBD::Controllable and remove URI from that class
git-svn-id: svn://localhost/ardour2/branches/3.0@6414 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-30 16:48:58 +00:00
Paul Davis 8a17b0fb90 make generic MIDI control track remote control ID changes; fixup messes in the editor+mixer that caused excessive calls to SyncOrderKey stuff. generic MIDI still doesn't track editor/mixer order changes if we're not syncing both windows
git-svn-id: svn://localhost/ardour2/branches/3.0@6413 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-30 12:41:10 +00:00
Paul Davis c83389b8ec cleanup up cleanup at session destruction; clarify the meaning of 3 signals (DropReferences & Destroyed in libardour ; CatchDeletion in the GTK UI); clarify ownership of objects (session no longer pays attention to DropReferences for objects that it is considered to own, such as routes, sources, etc); fix up MIDI parsing and a couple of other places by correcting syntax for return of values from a boost::signals2::signal (possible danger elsewhere to be checked)
git-svn-id: svn://localhost/ardour2/branches/3.0@6389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-22 20:21:43 +00:00
Paul Davis f450df300c fully implement and deploy explicit x-thread signal connection syntax (testing comes next)
git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21 18:23:07 +00:00
Paul Davis aae367b63c use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters
git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19 20:26:31 +00:00
Paul Davis f6fdd8dcbf switch to using boost::signals2 instead of sigc++, at least for libardour. not finished yet, but compiles, loads sessions, records and can close a session without a crash
git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17 18:24:23 +00:00
Paul Davis 8687895abb remove using namespace sigc everywhere to ensure clarity over which bind/mem_fun is being used; make Config::map_parameters take a boost::function rather than a sigc::slot ; continue debugging crash caused by regionviews not tracking their Region's lifetime
git-svn-id: svn://localhost/ardour2/branches/3.0@6357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-12 15:02:15 +00:00
Paul Davis 64dc5427e4 make all use of bind/mem_fun be explicitly sigc::
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-11 23:29:48 +00:00
Paul Davis 6ab765e8fa add solo isolate indicator in editor route list
git-svn-id: svn://localhost/ardour2/branches/3.0@6343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-10 20:51:35 +00:00
Paul Davis 90d6916ca3 restore rec-enable, solo & mute functionality; remove all Global*Command cruft; reimplement momentary solo&mute; refactor session RT event stuff to be even cleaner and finally compatible with everything-is-a-UI idea ; make all UIs derive from a primitive type that pprovides only void call_slot (sigc::slot<void>) as a way to execute arbitrary code in the UI thread
git-svn-id: svn://localhost/ardour2/branches/3.0@6338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-10 17:45:18 +00:00
Paul Davis 61cade6d59 drastic, deep and wide changes to make RouteGroup use boost::shared_ptr<Route> and boost::shared_ptr<RouteList> to better fit into emerging framework for "RT operations" ; torben's changes to MTC slaving code (sorry for bundling)
git-svn-id: svn://localhost/ardour2/branches/3.0@6334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-10 03:25:32 +00:00
Paul Davis 7703f0a76a move generic parts of Keyboard into gtkmm2ext. imperfectly done, but makes modifiers available in libgtkmm2ext now
git-svn-id: svn://localhost/ardour2/branches/3.0@6288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-04 22:51:32 +00:00
Carl Hetherington 4497db3f1a Speed up some track state operations (e.g. mute etc.) that affect the editor route list; should help with #2941
git-svn-id: svn://localhost/ardour2/branches/3.0@6226 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-30 19:48:50 +00:00
Carl Hetherington 515d19c745 Implement 2532: option to show tracks with regions under the playhead.
git-svn-id: svn://localhost/ardour2/branches/3.0@6207 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-29 12:47:59 +00:00
Carl Hetherington 966e09677d Fix #2926 and #2927; presence and behaviour of solo/mute icons in the editor list.
git-svn-id: svn://localhost/ardour2/branches/3.0@6185 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-26 03:02:16 +00:00
Paul Davis 5f5ecdbfc3 don't resort routelists during session destruction
git-svn-id: svn://localhost/ardour2/branches/3.0@6172 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-25 14:34:42 +00:00
Carl Hetherington 2f1c664e4e Fix for routes being renamed if you start editing their names but then change your mind. Don't allow name edit if rec-enabled (part of #2920)
git-svn-id: svn://localhost/ardour2/branches/3.0@6166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-24 23:59:15 +00:00
Paul Davis 9fa51e19b6 some provisional support for "real" solo-isolate behaviour, subject to more discussions with mr. oofus and others
git-svn-id: svn://localhost/ardour2/branches/3.0@6145 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-21 17:20:57 +00:00
Paul Davis 99d4974fdd lincoln's patch to show mute/solo in editor RHS track/bus list
git-svn-id: svn://localhost/ardour2/branches/3.0@6097 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-16 13:35:00 +00:00
Carl Hetherington 9d0e560a1f Allow route name edit from the right-hand-side editor list.
git-svn-id: svn://localhost/ardour2/branches/3.0@6065 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-12 00:17:45 +00:00
David Robillard c83e48e07a Trim session.h include dependency tree.
git-svn-id: svn://localhost/ardour2/branches/3.0@5979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30 15:30:22 +00:00
David Robillard bb9cc45cd2 Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red.  I don't know the emacs equivalent...


git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 16:10:01 +00:00
Carl Hetherington 677bb36f5c Fix route group collect option.
git-svn-id: svn://localhost/ardour2/branches/3.0@5515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-10 21:13:33 +00:00
Paul Davis bcc929a5b6 waf build works on OS X ; new bindings file and processing system in place for mnemonic-us
git-svn-id: svn://localhost/ardour2/branches/3.0@5498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-08 22:36:32 +00:00
Carl Hetherington 168b1471dc Fix sync of editor and mixer route ordering.
git-svn-id: svn://localhost/ardour2/branches/3.0@5453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 00:33:16 +00:00
Sampo Savolainen 162c48b843 Make editor route list rec button respect group settings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-23 17:26:32 +00:00
Carl Hetherington b65f8073ba Fix some unused parameter warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 15:55:17 +00:00
Carl Hetherington 402cc384ce Back out big shared_ptr change. Moving to a branch. Apologies all.
git-svn-id: svn://localhost/ardour2/branches/3.0@5343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-09 17:58:13 +00:00
Carl Hetherington 4297071b3f Use shared_ptr for the TimeAxisView hierarchy.
git-svn-id: svn://localhost/ardour2/branches/3.0@5339 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-09 13:39:45 +00:00
Carl Hetherington 40b0b216de Add option to collect a route group, so that its member routes are reordered to be together in the editor. A few cleanups along the way.
git-svn-id: svn://localhost/ardour2/branches/3.0@5319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-04 13:44:01 +00:00
Carl Hetherington 36564e4f91 Use std::string for order key map.
git-svn-id: svn://localhost/ardour2/branches/3.0@5318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-04 12:40:26 +00:00
Carl Hetherington b233455b3f Split route group list out of Editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@5308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-03 18:37:15 +00:00