Commit graph

23898 commits

Author SHA1 Message Date
Robin Gareus
d0e3eb42a6 Fix initial order-keys when creating tracks/busses
.. and leave some notes for the day when UI treemodel won't be canonical
to set order-keys.
2017-02-17 00:50:52 +01:00
Robin Gareus
91cee14ca6 Fix route ordering (mixer TV lacks master-bus)
Skip master bus' order-key when re-ordering routes in the mixer.

This also fixes a related issue:
When a new track is added, Session::RouteAdded will call be handled by
Editor::add_routes AND Mixer_UI::add_routes, leading to calls to both:

- EditorRoutes::sync_presentation_info_from_treeview()
- Mixer_UI::sync_presentation_info_from_treeview ()

which potentially set different order-keys.
2017-02-17 00:44:02 +01:00
Ben Loftis
d2b823b3c5 Toolbar spacing: Add back one pixel of vertical padding, and preserve it regardless of which button sections are hidden. 2017-02-16 14:37:56 -06:00
Robin Gareus
2d0200209f Prevent "punch" and "mon" buttons from increasing toolbar height. 2017-02-16 20:49:18 +01:00
Robin Gareus
eba5f0d2e1 Better solution 213cc1d32 2017-02-16 16:08:33 +01:00
Robin Gareus
9c10fc5b5c Properly update main window-title.
This fixes an issue with Session > Snapshot & switch, not updating
the widow title to the new snapshot (and probably some other edge cases
where it was possible for a detached editor and main window to
have different titles).

The main UI now updates the window-title like the Editor on StateSaved.
(it may lead to dup updates with DirtyChanged, c'est la vie)
2017-02-16 16:07:59 +01:00
Paul Davis
a31e70a7d5 check region action sensitivity from two more places that may alter it 2017-02-16 10:29:48 +01:00
Paul Davis
4d05af8e71 improve logic for region action sensitivity settings 2017-02-16 10:29:48 +01:00
nick_m
461c0374a1 amend 32248b755b (legacy tempo map). 2017-02-16 09:06:07 +11:00
nick_m
858e44745b fix constrained region drags across tracks (7242). 2017-02-16 08:57:03 +11:00
Paul Davis
d463720b6d simplify arguments to Editor::sensitize_the_right_region_actions() 2017-02-15 20:07:49 +01:00
Paul Davis
3d3f2a79f6 use leave/enter from track canvas to be the primary driver of region action sensitivity
This works for context menus also, because GTK sends us leave/enter notify
events when they appear.
2017-02-15 20:07:49 +01:00
Paul Davis
0a41daa932 classify all region actions based on how they get a list of regions to operate on; use this in Editor::sensitize_the_right_region_actions()
There are still problems because actions like trim_front()
that use the edit point get the edit point with different
results than the code that sensitizes actions
2017-02-15 20:07:49 +01:00
Paul Davis
2cc94f8880 tentative steps in trying to fix region action sensitivity 2017-02-15 20:07:49 +01:00
Robin Gareus
213cc1d320 Allow bundling suil/qt4,5 using system-wide QT 2017-02-15 19:42:51 +01:00
nick_m
32248b755b fix loading of 4.x sessions with a missing initial tempo section.
- behaviour should match that of 4.x (move the first tempo
	  to frame 0).
2017-02-16 04:58:45 +11:00
Robin Gareus
61ae00ed23 Example lua script to re-order/reverse plugins 2017-02-15 18:12:51 +01:00
Robin Gareus
1f4d16fe0f Add Lua bindings for plugin re-ordering 2017-02-15 18:12:28 +01:00
Robin Gareus
41c432ed3b Don't copy-construct MusicFrame, pass const reference. 2017-02-15 14:20:26 +01:00
nick_m
d9c7a2ad49 unconditionally set region quarter note in set_position().
- this fixes incorrect timing of new regions recorded
	  before the music origin.
2017-02-15 22:55:51 +11:00
Robin Gareus
03dc458645 Separate MSB/LSB MIDI Bank select 2017-02-14 23:53:23 +01:00
Robin Gareus
8eff36913c Save/restore location clock mode
- save mode separately for Editor-sidebar and Location Window
- cache mode (multiple calls to set_session())
- fix restore: after creating the editor, instant_save() is called,
  potentially overwriting the previous value.
2017-02-14 17:15:16 +01:00
Robin Gareus
cf66f894bb NO-OP: whitespace 2017-02-14 15:46:37 +01:00
Robin Gareus
d3e23c1a6e Another update for Lua-documentation (new manual.ardour.org) 2017-02-14 15:05:07 +01:00
Robin Gareus
dd66542e91 Update Lua script - API change after 59daffea1 2017-02-14 14:52:07 +01:00
Robin Gareus
ad87d71412 Add missing bindings (after 59daffea1) 2017-02-14 14:45:21 +01:00
Robin Gareus
dbdc2afd6d update luadoc tool (new manual website system) 2017-02-14 14:44:51 +01:00
Robin Gareus
659701c59b Fix lua-doc (Null pointer c'tor doc) 2017-02-14 14:44:22 +01:00
Robin Gareus
7330357e1c Reset window-size when switching between custom and generic plugin UI.
Both views have uncorrelated geometry, apply one size to the other
makes no sense and usually results in odd window sizes, particularly
for custom plugin UIs with aspect-ratio constraints.
2017-02-14 01:05:43 +01:00
Robin Gareus
ca65101e49 Clarify session property (now that there's an action) 2017-02-13 23:01:11 +01:00
Robin Gareus
65b38322db GUI action Transport/RecordCountIn 2017-02-13 23:01:11 +01:00
Robin Gareus
7946967270 Prepare record with count-in action 2017-02-13 23:01:11 +01:00
Paul Davis
0f485ffd6b reinstate ensure-time-axis-visible after move-selected-tracks 2017-02-13 22:22:53 +01:00
Paul Davis
bd7507590e new implementation of move-selected-tracks
This does not modify the editor treeview/treemodel at all
but instead works directly on the PresentationInfo order
data. Likely needs more testing etc.
2017-02-13 22:10:18 +01:00
Paul Davis
0f7ccb8adb update email address 2017-02-13 22:10:18 +01:00
Robin Gareus
26118af1a4 Update scripts for API change in 59daffea1 2017-02-13 18:44:59 +01:00
Robin Gareus
9ce55c1b3d remove unused background expose 2017-02-13 18:44:59 +01:00
Paul Davis
c5487498ab latest Czech translation for libs/ardour, from Pavel Fric (December 2016) 2017-02-13 14:34:36 +01:00
nick_m
50fc9e0d0f fix 'snap to beat' havoc-causing misplaced bracket.
- should fix 7234
2017-02-14 00:16:52 +11:00
nick_m
751662241a fix missing position property in MidiRegion::clone() 2017-02-13 02:03:05 +11:00
Paul Davis
4022b86be0 credit where credit is due 2017-02-12 11:59:53 +01:00
Hiroki Inagaki
5668f6b40e Update Japanese translation 2017-02-12 11:59:40 +01:00
Paul Davis
08353095df This is the wrong approach to this problem.
Revert "3 actions (trim-front, trim-back, set-sync-position) do not need to be region-selection sensitive."

This reverts commit 4aaf3fcb95.
2017-02-09 17:03:42 +01:00
Paul Davis
8d83df7257 remove debug output from PresentationInfo changes 2017-02-09 16:49:11 +01:00
Paul Davis
6e476c515d NO-OP: whitespace conversion 2017-02-09 16:27:34 +01:00
Paul Davis
ab105314fb when considering whether or not to autoscroll teh canvas, first translate allocation boundary into toplevel coordinates 2017-02-09 16:27:16 +01:00
Paul Davis
8243aeb3a1 remove debugging stacktrace from mackie code 2017-02-09 12:47:25 +01:00
Paul Davis
182cb89733 NO-OP: whitespace 2017-02-09 12:40:59 +01:00
Paul Davis
c816d34d68 explanatory comment and logic change to cover when we switch to the new session after save-as 2017-02-09 12:40:59 +01:00
Paul Davis
668d970dd0 always hide splash screen after save-as session switch 2017-02-09 12:40:59 +01:00