Commit graph

8468 commits

Author SHA1 Message Date
nick_m
d9c0aa4236 Amend last commit. 2015-06-22 00:53:31 +10:00
nick_m
d45a25e4a8 Clicking an automation track line without a move adds a point on the line. 2015-06-22 00:47:08 +10:00
nick_m
e0a076d2b6 Mkae automation line / gain line cursors consistent. 2015-06-21 22:14:03 +10:00
nick_m
63269b3063 Automation selection fixes.
- display selected comtrol points in region gain lines
	- display selected points in internal edit mode
	- allow dragging of region gain lines in MouseContent mode
2015-06-21 05:27:45 +10:00
nick_m
aa1cdd26ca AudioRegionView now uses ControlList::editor_add(). 2015-06-19 05:02:06 +10:00
nick_m
1768e9817e Fix another LineDrag click crash. 2015-06-19 03:39:51 +10:00
nick_m
dcd3e3823c Don't begin command on start_grab for AutomationRangeDrag and NoteResizeDrag
- fixes a crash when clicking to resize without movement.
	- minor readability fix for _drag_had_movement
2015-06-19 00:02:09 +10:00
nick_m
16109ebcc8 Rework last commit, clicking on an automation line no longer adds history.
- fixes a crash when clicking on automation lines repeatedly.
2015-06-18 06:27:37 +10:00
nick_m
0280989276 Single control points can now be dragged up and down properly.
- preserves the zero notch, but doesn't mess up the cumulative drag.
2015-06-18 04:42:30 +10:00
nick_m
639750f815 Don't add history by clicking a control point, fix control point selection.
- also make set_selected_control_point_from_click () return
	  something useful.
2015-06-18 03:48:39 +10:00
nick_m
44790ebff0 More _reversible_command() auditing in the gui.
- try to keep begin/commit pairs in the same file where possible.
2015-06-17 09:54:23 +10:00
nick_m
d019ee836c Use a better pattern to avoid abort_reversible_command().
- also, duplicated regoins are now selected and some end-of sesion
	  bugs fixed there.
	- should fix lack of tempomap undo in Editor::insert_time ()
2015-06-17 09:54:23 +10:00
nick_m
4c1d79af4a Unbreak region brush drag wrt undo, avoid some dangling commands in the gui
- also allow moving of automation lines in internal mouse mode.
	- this is also a first pass at ensuring that if an operation does
	  nothing, avoid an undo entry.
2015-06-17 09:54:22 +10:00
nick_m
15819f0896 Automation -use editor_add in gui, record straight lines with fewer points.
- don't keep setting/unsetting write pass when transport frame
	  remains the same (think larger jack buffer sizes)
	- insert guards are now 64 frames after when.
	- refactor previous approach.
2015-06-17 09:54:22 +10:00
nick_m
57ce447fd1 Fix some workflow problems wrt automation.
- clearing automation points sets control to "off" rather than touch.
	- multiple touches on the same pass acts consistently (no more
	  fader jumps on mouse button press
	- use actual value for initial point rather than some arbitrary
	  default. clarify new semantics of add () (with_default->with_initial).
	- clean some whitespace
	- add guard points as needed in stop.
	- catch grab broken signal (i can't trigger it, but the docs seem
	  to think it is essential).
2015-06-17 09:54:22 +10:00
Robin Gareus
3f157f961a use mpeg4 for internal video format (not mjpeg)
reduces file size.
xjadeo > 0.8 and harvid >= 0.8 handle this fine.
2015-06-16 00:47:53 +02:00
Paul Davis
cc543280d9 We were 2 more debug "bits" away from overflow, so recast PBD::DEBUG mechanism away from a 64bit integer and toward std::bitset.
Clean up a few minor related PBD::DEBUG issues along the way
2015-06-12 18:14:09 -04:00
Paul Davis
59dc0881fb remove left-over debugging code 2015-06-10 22:04:20 -04:00
Paul Davis
9edd8d4b3b no Save-As progress dialog if we're not copying media 2015-06-10 18:48:12 -04:00
nick_m
392f48709c Magnetic snap now works on note moves / resizes. 2015-06-11 02:20:37 +10:00
nick_m
b3a4c88e0e Make absolute snap the default snap.
- also fixes a couple of absolute snap bugs wrt midi notes.
2015-06-11 01:36:34 +10:00
Robin Gareus
aad43bce4a fix video-image request, zoom before video start. 2015-06-09 23:26:43 +02:00
Colin Fletcher
88b0e0cd0b Update export config on stem export select tracks/busses/none
Call update_config() after selecting/deselecting all tracks/busses so that
the warning about 'No channels have been selected' is shown/hidden
appropriately.
2015-06-08 20:07:52 +01:00
Colin Fletcher
ecd37a5c2f Fix tiny typo in PortExportChannelSelector error text 2015-06-08 14:42:24 +01:00
Colin Fletcher
54caccf159 Don't select any routes for stem export by default
Now that there are 'select all tracks/busses' buttons, it makes sense to me
that stem export should start off with no routes selected, rather than all.

Maybe stem export should by default select routes that are selected in the
editor, but that's a task for another time.
2015-06-08 14:42:24 +01:00
Colin Fletcher
b7f799b7b2 Exclude inactive tracks & busses from stem export list
The exported file is silent, when choosing to export either region contents or
track outputs, so there seems no point in making such routes available for stem
export at all.

Perhaps there's an arguable use case for enabling stem export of inactive
tracks, but I can't see that it's worth worrying about for now.
2015-06-08 11:17:55 +01:00
Colin Fletcher
8b3c729f26 Add 'Select tracks/busses' & 'Deselect all' buttons to stem export
Add buttons to to select all tracks, select all busses and deselect all to
the stem export channel selector.
2015-06-08 11:17:55 +01:00
Ben Loftis
9e44e46c4a Enable stationary playhead mode.
stationary playhead needs to follow same rules as regular moving playhead.
2015-06-04 15:49:56 -05:00
Paul Davis
3d2f298fb2 Change message about JACK already running to be less scary 2015-06-03 13:48:43 -04:00
Robin Gareus
401ded3583 always round integer steps (regardless of enum) 2015-06-02 01:01:23 +02:00
Ben Loftis
42915c19a4 fix cursor in smart mode, when moving up and down the frame handles 2015-06-01 16:18:10 -05:00
Ben Loftis
cc396baf0d Fix some visual loopholes when switching tools inside a region:
switching to Grab should show the fade handles...
...switching away from grab should hide them.
Also, change "always show gain" preference to show lines, but not control points.
2015-06-01 13:12:39 -05:00
Robin Gareus
4d2bc612f2 engine dialog fixes for multiple devices 2015-06-01 01:01:42 +02:00
Tim Mayberry
d9f24a46aa Allow selection of input and output devices in EngineDialog for backends that support it
Some refactoring was necessary to avoid code duplication

Restoring of device state for input and output devices still doesn't work
correctly. I'm not quite sure what the issue is at this stage.
2015-05-31 20:02:07 +02:00
Robin Gareus
6c4d2a576d vector icons should at least be 6x6 px 2015-05-30 17:28:32 +02:00
Ben Loftis
3bdb40109b Stationary Playhead.
It is hard to locate/edit while playing, in this mode.
I think it needs to be an action, not a mode.
2015-05-30 08:31:09 -05:00
Ben Loftis
64586a8301 factor out Route::muted_by_others from existing code 2015-05-29 15:21:20 -05:00
Paul Davis
1291f3d2e8 add name text for ToggleExternalSync action 2015-05-28 16:22:32 -04:00
Paul Davis
48c4ad8004 only use and present the buggy gradient parameter if built with a suitably patched version of Cairo 2015-05-28 13:27:38 -04:00
Paul Davis
173b007779 rearrange and redesign UIConfiguration/ARDOUR_UI APIs to allow correct initialization.
We need to be able to set an environment variable *before* gtk_init() is called, but also to
load the color theme right after gtk_init() and before the rest of the GUI is created.
2015-05-28 12:46:43 -04:00
Paul Davis
34d19ce879 add control for buggy gradient option 2015-05-28 12:46:43 -04:00
Paul Davis
5cc04c55c1 add buggy gradient option 2015-05-28 12:46:43 -04:00
nick_m
2ef94d9422 Fix uninitialised variable. 2015-05-28 23:37:46 +10:00
Robin Gareus
8dbd55236a amend 3f5d17d, clear changes to MIDI as well. 2015-05-28 14:41:17 +02:00
Robin Gareus
3f5d17dd24 Fix region paste (ctrl+v) undo. 2015-05-28 13:19:50 +02:00
Paul Davis
9c6a821c67 prevent crash when using WM close button on "new route name contains bad chars" dialog.
The dialog would be created twice, once because the user hit enter etc. to indicate they were done editing,
and once because focus left the name text entry, also indicate the end of editing. We now note that we're
already processing the end of a name edit, and do nothing in that case
2015-05-27 19:34:11 -04:00
Robin Gareus
2d311979e3 relax LinuxVST GUI event loop.
it was spinning at 100Hz.
2015-05-27 23:30:56 +02:00
Ben Loftis
cc7a368fb6 Rationalize some aspects of region-gain control-point visibility:
Visibility is driven by the currently selected mouse mode.
Visibility no longer depends on entering/exiting the region.
Range mode shows the lines but not the points.
Fixed option text to reflect new operation.
2015-05-26 16:41:03 -05:00
Robin Gareus
e65c835381 replace tool pixel icons with vector drawing 2015-05-26 00:56:51 +02:00
Robin Gareus
f8de080f13 use vectorized TAV expand/shrink icons 2015-05-25 00:26:09 +02:00