0c0ebccdf7
Fix Mixbus Editor-toolbar icons & height
2016-12-20 18:48:10 +01:00
f6dc24b901
Prepare for re-use of TimeInfoBox w/o punch-clock
2016-12-20 03:59:15 +01:00
6ebf14c2c2
Fix the case of jump-to-next{prev}-Mark.
2016-12-19 17:25:59 -06:00
628c99d555
Follow Edits => Follow Range
...
* "Follow Edits" button had several behaviors that confused users.
* "Follow Range" only has 2 behaviors:
** Click anywhere in Range mode (or Smart mode) to locate the playhead.
** When you select a Range, "Play" will play the selected range.
2016-12-19 13:14:44 -06:00
06938105a4
Simplify spacer code
2016-12-18 21:39:36 +01:00
dae2dcd53e
Transport Layout: horizontal separator makes it look too busy. Commented out for now.
2016-12-18 13:47:14 -06:00
ab37491614
repack widgets, and add some spacer elements
2016-12-18 13:34:15 -06:00
448f921dd8
Transport Layout:
...
* Remove some redundant containers and frames, for a cleaner look.
* Adjust transport button spacing and sizes to more closely match the editor toolbar.
2016-12-18 09:02:13 -06:00
85e4b1d98f
Move selection/punch clocks to editor Sidebar
2016-12-17 02:43:42 +01:00
e1826f8b1c
Add API to query editor's playhead cursor position
2016-12-17 02:43:42 +01:00
b34a614df4
Further fixes to non-cxx11 enabled builds
...
Hopefully all that is necessary this time
2016-12-13 17:10:30 +10:00
89623923bd
Change Zoom to Selection action (Z key) to zoom on both axes
...
Add Zoom to Selection (Horizontal) action to access previous behavior.
Remove Editor::temporal_zoom_region as it was duplicate code and broken for
both_axes
Should Resolve : #7112
2016-12-13 12:25:03 +10:00
61c7af141d
Clarify "frames" (video, timecode) vs "samples" (audio)
2016-12-08 12:45:44 +01:00
3d925ef503
braces, please
2016-12-08 10:49:26 +00:00
01f8ca831a
cont'd work to prevent duplicate playlist names
2016-11-25 14:24:29 +01:00
nick_m
05355d0306
fix incorrect return type for Editor::get_grid_music_divisions().
2016-11-17 03:13:16 +11:00
nick_m
715b178130
Improve bbt ruler drawing performance for large time ranges.
...
- when the timeline displays many bars, zoom/autoscroll
speed is improved by calculating the bbt ruler scale first
then requesting a suitably scaled grid.
2016-10-19 03:56:43 +11:00
nick_m
9698f16aee
Note selection state uses note event_id_t.
2016-10-15 23:50:02 +11:00
78d02eb620
Revert "Editor does not need to reset track/stripable selection, since Selection already maintains that itself"
...
This reverts commit 57652d7d50f706e2f0e525c6f48c1fc7830cf222.
2016-09-27 14:59:32 -05:00
238ca58c93
Editor does not need to reset track/stripable selection, since Selection already maintains that itself
2016-09-27 14:59:32 -05:00
c9ece0d6c6
use moved version of reset_focus()
2016-09-06 16:17:39 -04:00
nick_m
e689182a6a
Editor::get_grid_type_as_beats() returns the quarter note equivalent of BBT beat and bar.
2016-09-02 05:11:54 +10:00
nick_m
086096b465
Use quarter-note based 'beat' when snapping.
2016-08-31 23:12:11 +10:00
822810b88f
the endless quest to plug memory leaks -- episode 379
2016-07-25 17:38:59 +02:00
ac8f4baa00
add some flush_pending timeouts
2016-07-25 14:51:23 +02:00
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
da7d7f9502
many changes associated with rationalizing selection flow
2016-07-06 13:39:10 -04:00
2f71967be2
fix crash when loading a saved visual state
2016-07-05 23:49:50 +02:00
906f7e1edd
GUI doesn't need to listen to old ControlProtocol signals for stripable selection
2016-07-04 12:45:53 -04:00
8b142a2fd6
make Selection catch up with session/libardour-side selection status at session load
2016-07-02 16:09:19 -04:00
36d7e3c61b
fix use of removed Session::get_nth_stripable()
2016-07-02 16:08:58 -04:00
9f5d0930fc
use pane position mgmt on appropriate panes
2016-06-13 09:53:10 -04:00
nick_m
24f64b3ea7
Make exact beat calculation of tempi a bit less cumbersome. Move tempi on an audio basis for non-musical snap.
2016-06-12 02:46:13 +10:00
3eaa6c0389
remove certain ControlProtocol signals related to stripable selection
...
includes change to Mackie support so that strips listen for PropertyChange
on the stripables they represent, no global selection change used anymore.
2016-06-10 13:57:18 -04:00
5833576d5b
ensure that dropdowns in editor toolbar are populated at first use (with no existing config file to set them)
2016-06-06 14:29:58 -04:00
a0f0bdc063
try to keep editor+mixer treemodels in sync
2016-06-06 12:58:48 -04:00
ea05a66736
when adding a list of Stripables, sort them into PresentationInfo order first
2016-06-05 16:33:01 -04:00
c7d6262e9f
there is no PresentationInfo::global_order_t any more
2016-06-05 16:33:01 -04:00
2161c5d507
use new RouteGroup property names
2016-06-05 16:33:01 -04:00
260058a4a9
move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour
...
Dragging tracks/busses in the editor *below* VCAs still does not work
2016-06-03 15:15:39 -04:00
3835b782b3
part three of using LocaleGuard with pane sizes
2016-06-02 08:17:20 -04:00
bac7a13d0f
the second half of using LocaleGuard with pane sizes
2016-06-02 08:09:34 -04:00
79a9be434c
add LocaleGuards to 2 places where we save pane sizes (which are floating point values now)
2016-06-02 08:04:08 -04:00
2562b4a2f0
handle old-version pane positions by ignoring them
2016-05-31 15:30:45 -04:00
76620819e0
use new pane API
2016-05-31 15:30:45 -04:00
cc88501d97
set minimum size for editor list
2016-05-31 15:30:45 -04:00
a26a85de14
set editor pane cursors
2016-05-31 15:30:45 -04:00
91a95b086a
initial sort-of-mostly-working integration of new Pane
2016-05-31 15:30:45 -04:00
482873760c
initial implementation of VCA time axis views
2016-05-31 15:30:44 -04:00
4cd6d52013
make Escape (cancel drag or selection) work in mixer as well as editor
2016-05-31 15:30:44 -04:00
8b48aff077
fix GUI handling of surface select requests to include possibility of selecting non-Routes
2016-05-31 15:30:43 -04:00
08f01085de
remove now-redundant control protocol route-selection signals
2016-05-31 15:30:43 -04:00
3eae4b0974
tweak Editor to use Stripable methods for control-surface-driven selection
2016-05-31 15:30:42 -04:00
e0ff70cf86
first vaguely working version using PresentationInfo
...
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
a598b4a708
use new paned-sizing strategy in editor
2016-05-31 15:30:41 -04:00
4d87503863
fix restoration of editor pane positions
2016-05-31 15:30:39 -04:00
nick_m
baf8f37967
Tempo ramps - rename meter_at() -> meter_at_frame() & make the ticker slightly more efficient.
2016-05-27 23:38:17 +10:00
nick_m
ccf6ce76d9
Tempo ramps - clean up tempo curve a bit.
2016-05-27 23:38:16 +10:00
nick_m
85c3284adc
Tempo ramps - add some right-click options to meter and tempo markers.
2016-05-27 23:38:15 +10:00
nick_m
354567e5a7
Tempo ramps - switch MusicLocked tempos to beat-based dragging. fix various bugs wrt future-snapped tempo drags
2016-05-27 23:38:12 +10:00
nick_m
a2797f4d38
Tempo ramps - use correct meter when snapping to the future.
2016-05-27 23:38:12 +10:00
nick_m
daa07ce6e0
Tempo ramps - tempos now musically snap to their future.
2016-05-27 23:38:12 +10:00
nick_m
340bd42c62
Tempo ramps - allow live updating of tempo markers.
...
- all a bit slow, but should be ok once we can lock
markers to frames.
2016-05-27 23:38:09 +10:00
nick_m
7fc3b0c34c
Initial stab at tempo ramps.
...
Replaces the list of points in TempoMap with TempoSection functions, which
compute tempo-at or tick-at time relative to tempo section start.
TempoMap consults them additively to determine things like bbt_time(),
frame_time() get_grid() etc.
This has a marked effect on scrolling speed along with the code simplification
in the places it has been attempted.
Several things are broken here.
Currently every ramp except the last one is an exponential ramp. this may
be simple to fix :).
Mouse-over midi grid doesn't match mouse click grid. should also be simple.
Many things seem to work, but their accuracy should be in question until
each area has been addressed.
2016-05-27 23:38:09 +10:00
a7d03731a2
initialize snap-mode dropdown text
...
"SnapOff" is the default, so no change is triggered when calling
set_active() and initially the dropdown/ardour-button remains blank.
2016-05-18 20:07:11 +02:00
098e8e551a
Don't save instant while loading instant.xml
...
opening a recent session from a session can result in: Editor::constructed
and session_loaded() being true. A partial instant_save can occur (not
to mention: invalid XMLnode iterators)
2016-05-18 20:06:20 +02:00
4d74b5e420
action script GUI details (sensitivity + tooltip)
2016-05-14 15:16:23 +02:00
05baa2d1c1
use WindowManager toggle API for script-manager
2016-05-06 03:59:02 +02:00
5c9660b62e
re-introduce "add track/bus" from mixer window
2016-05-06 03:08:46 +02:00
17ace643e4
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
2016-05-04 23:09:45 -04:00
5e0f0fc9f2
lua action details (button sensitivity, text ellipsis)
2016-04-25 12:56:21 +02:00
9c622e3c99
add optional buttons to trigger lua scripted actions.
2016-04-25 00:16:08 +02:00
55fb20f491
update keyeditor when action label changes
2016-04-24 22:20:44 +02:00
ec0ec95262
change const some functions to const. (prepare lua bindings)
2016-04-09 00:33:03 +02:00
9a11e3a64d
change API for CairoWidget::focus_handler
...
This functor/closure is responsible for stealing focus from any existing text entry (or whatever else may have focus)
when clicking on a CairoWidget or derived class.
The old implementation just gave focus back to the editor canvas. The new version walks up the widget packing
heirarchy to find a focusable parent (from the CairoWidget for which it is invoked). If no focusable parent
is found, it cancels keyboard focus in the toplevel window containing the CairoWidget
2016-03-15 12:41:21 -04:00
c9d6d9ed85
add region & range loudnless report
2016-03-11 17:26:42 +01:00
2532911b18
Editor Actions Scripts & Manager
2016-02-23 15:42:53 +01:00
25a24e0805
rework dialog-close-focus-reset change to work in Tabbed
2016-02-22 15:31:26 -05:00
01d5d1eda4
add "Editor" to detached editor window name to see if this fixes Unity WM behaviour
2016-02-22 15:31:25 -05:00
6991a07902
remove all trace of SAE from source code.
...
This had become incoherent over time, and posed a development hazard and burden going forward
2016-02-22 15:31:24 -05:00
bc487bb4b0
replicate the remove-all-trailing whitespace commit(s) in master
2016-02-22 15:31:24 -05:00
9b9a7beb13
cleanup various merge conflict resolution errors/omissions
2016-02-22 15:31:24 -05:00
09f9020897
action maps now have names
2016-02-22 15:31:24 -05:00
949163f806
more changes to Bindings, Keyboard APIs
2016-02-22 15:31:24 -05:00
67e19c177f
radically change Keyboard/Binding API design to disconnect Gtk::Action lookup from binding definition
...
We need this because we need binding information/objects before all
Actions have been defined.
2016-02-22 15:31:24 -05:00
2c6799f247
changes to support new key bindings editor design
2016-02-22 15:31:23 -05:00
a13a8da8ac
switch all action registration/binding code over to new API.
...
This removes the ability to change bindings via menus.
Still to come: saving modified bindings, and reworking the key editor
2016-02-22 15:31:23 -05:00
d5bcf90b1a
remove all tearoffs except the monitor section.
...
We don't need this functionality anymore as we build on 15 years experience plus the new tabbed structure
2016-02-22 15:31:23 -05:00
8933d53271
get current tab on startup correct.
...
Note that Gtk::Notebook will not switch to a page with an invisible widget. This took me TOO LONG to discover.
Also move code around between files
2016-02-22 15:31:23 -05:00
16731d07d3
remove use of current_toplevel() where unnecessary, fix broken necessary cases, generally fix up show/hide/attach/detach for Tabbables
2016-02-22 15:31:22 -05:00
dd8cd579fc
tell the editor to try to load editor.bindings
2016-02-22 15:31:22 -05:00
37fce09a18
widespread changes to get the new (oldArdour binding scheme to be used for keyboard accelerators
2016-02-22 15:31:22 -05:00
39036cf20f
remove debug output
2016-02-22 15:31:21 -05:00
552e995297
save/restore tabbable state
2016-02-22 15:31:21 -05:00
98b14ad0e6
get normal GTK accelerators working again
2016-02-22 15:31:21 -05:00
af378e7256
stop using C++11 structure initializer
2016-02-22 15:31:21 -05:00
9010262bed
first compilable version of tabbable design.
...
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
2016-02-22 15:31:21 -05:00
02c8d6d648
the basics of tabbed
2016-02-22 15:31:21 -05:00
458a2b723c
Use visible playhead location for editing during a jog-wheel event.
2016-01-28 13:46:33 -06:00
893b51bda2
Center the playhead for stationary_playhead playback.
...
This avoids a visual discontinuity when playback is initiated after a jog-event.
2016-01-28 13:46:33 -06:00