summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.cc
AgeCommit message (Collapse)Author
2015-04-30cleanup display suspend.Robin Gareus
2015-04-30suspend editor redisplay during batch changesRobin Gareus
(major speed-up when changing all meters)
2015-04-05add more contexts for SLA.Robin Gareus
2015-04-05add context to single-letter translatableRobin Gareus
2015-04-02[Summary] Sort the routes of session before creating time axises ↵Valeriy Kamyshniy
unconditionally. This will keep tracks sorted even in case a new session created from template. Conflicts: gtk2_ardour/editor_routes.cc
2015-03-16avoid possible shared remote control IDs in large (>317 track) sessionPaul Davis
2015-03-15Fix incorrect track ordering when creating a session from a templatenick_m
(supplied order keys are correct). This really shouldn't be needed, but historically there have been races between the treeview and the editor order keys. Interesting to note that there have been no reported ordering bugs when loading sessions.
2015-03-13Don't mess with the track selection at all from the editor route listnick_m
when adding tracks (thinko in last commit).
2015-03-13Add new routes to selection in the editor, rather than the editornick_m
route list. Fixes new tracks not being selected. Also begin selection op history when adding routes.
2015-02-13fix up recent cherry-picks from waves' tracksPaul Davis
2015-02-13insanely complex fixes for dragging to and from the drop zone.Paul Davis
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-01-13Fix missing selection undo for track header click and route list select.nick_m
2014-12-26remove unnecessary scopingPaul Davis
2014-10-23small round of compiler warning fixesRobin Gareus
2014-09-07remove debug messageRobin Gareus
2014-09-07fix (auto-expand) typo in f23f379b3Robin Gareus
2014-09-07NOOP, re-indent, remove trailing whitespace, sort includesRobin Gareus
2014-09-07don't loose a redraw.Robin Gareus
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-06safe EditorRoutes::redisplay()Robin Gareus
2014-09-06idle update editor TreeViewRobin Gareus
dramatic speedup for solo & route toggle.
2014-09-06speed up session load (display updates)Robin Gareus
2014-08-31Remove unused variables (fix warnings).David Robillard
2014-08-22Rationalize ArdourButton and lots of associated theming issues.Ben Loftis
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-06-29suspend route redisplay for (rec-en, solo, mute and monitor) batch changesRobin Gareus
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-20fix some confusion when redrawing editor/mixer track/strip displays after ↵Paul Davis
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-03-24add optional arg to Editor::ensure_time_axis_view_is_visible() to "force" ↵Paul Davis
"make it visible as the top track" behaviour
2014-03-24selecting a track/bus in the editor list now selects it in the canvas, and ↵Paul Davis
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.
2013-10-31fix merge with masterPaul Davis
2013-10-31handle enter/leave items when zooming and scrolling occurPaul Davis
2013-10-24New routes are placed after highest selected route.nick_m
2013-10-22merge from masterPaul Davis
2013-10-21Unify editor / mixer ordering.nick_m
2013-07-10some sort-of-deep fixes to get autoscroll/vertical scroll to work properly ↵Paul Davis
for cairocanvas
2013-04-12remove TimeAxisView::clip_to_viewport() and Editor::update_canvas_now() and ↵Paul Davis
Editor::flush_canvas() which should no longer be necessary with a sane canvas design
2013-04-04commit immediately post linkingPaul Davis
2013-04-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly
2013-04-01likely fix for #5426 (hide all tracks doesn't work and causes inconsistent statePaul Davis
2013-02-06fix crash when pressing "s" with kbd focus in editor route listPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@14055 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07more theming and layout tweaks. new faders that pre-light. fixed some ↵Ben Loftis
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-04dramatically speed up the addition of large numbers of busses + tracks. ↵Paul Davis
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-10-27fix serious logic error in re-ordering treeviews after route order keys/RIDs ↵Paul Davis
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-07-20make more or less all LHS treeviews use the same stylePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-19more work on RID and editor/mixer order matching; when a track/bus is hidden ↵Paul Davis
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-06-28further efforts at cleaning up the design of the interaction/relationship ↵Paul Davis
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-28minor cleanups from 12952Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12956 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28reorder #includes to avoid the usual Apple BS with un-namespaced typenames ↵Paul Davis
like Style git-svn-id: svn://localhost/ardour2/branches/3.0@12954 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-27first pass at the big rethink of managing sort order keys for editor and ↵Paul Davis
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-25drastic rethink of the relationship between remote control ID and route ↵Paul Davis
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-04-25remove the apparently unnecessary "ui_bind()" macro from entire source basePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf