ardour.git
7 years agoremove VCA title/heading (increases min width)
Robin Gareus [Mon, 2 Jan 2017 16:16:11 +0000 (17:16 +0100)]
remove VCA title/heading (increases min width)

7 years agoEnforce minimum pane sizes
Robin Gareus [Mon, 2 Jan 2017 16:13:56 +0000 (17:13 +0100)]
Enforce minimum pane sizes

* enforce minimum size of child widgets
* honor manually set child-minsize in size-requests
* ignore hidden children (eg. VCA)
* clamp divider position (instead of just ignoring out-of-bounds moves)

7 years agoallow Lua session scripts to inject [immediate] RT-events
Robin Gareus [Mon, 2 Jan 2017 16:03:33 +0000 (17:03 +0100)]
allow Lua session scripts to inject [immediate] RT-events

7 years agoAdd an example script to start recording on a MIDI event
Robin Gareus [Sun, 1 Jan 2017 23:52:25 +0000 (00:52 +0100)]
Add an example script to start recording on a MIDI event

7 years agoWhitelist bit32 Lua library for session rt-scripts
Robin Gareus [Sun, 1 Jan 2017 23:46:01 +0000 (00:46 +0100)]
Whitelist bit32 Lua library for session rt-scripts

7 years agoMatch API: add rt_context option for en/disable_record()
Robin Gareus [Sun, 1 Jan 2017 23:26:21 +0000 (00:26 +0100)]
Match API: add rt_context option for en/disable_record()

This allows to call maybe_enable_record () from Lua session or DSP scripts

7 years agoOnly display pull-up/down if it's being used.
Robin Gareus [Sun, 1 Jan 2017 15:14:59 +0000 (16:14 +0100)]
Only display pull-up/down if it's being used.

7 years agoFix flat buttons for the shuttle-ctrl
Robin Gareus [Sat, 31 Dec 2016 19:57:07 +0000 (20:57 +0100)]
Fix flat buttons for the shuttle-ctrl

7 years agoAdd keyboard option reset
Robin Gareus [Sat, 31 Dec 2016 18:35:31 +0000 (19:35 +0100)]
Add keyboard option reset

7 years agoOSC: remove unused overall feedback calls and variables
Len Ovens [Sat, 31 Dec 2016 16:01:23 +0000 (08:01 -0800)]
OSC: remove unused overall feedback calls and variables

7 years agoOSC: remove feedback enable from GUI (unused)
Len Ovens [Sat, 31 Dec 2016 15:42:51 +0000 (07:42 -0800)]
OSC: remove feedback enable from GUI (unused)

7 years agore-fine preferences dialog part eleven of 27 (probably)
Robin Gareus [Sat, 31 Dec 2016 03:50:37 +0000 (04:50 +0100)]
re-fine preferences dialog part eleven of 27 (probably)

7 years agoamend 3afe3f32df (remove unused global feedback option)
Robin Gareus [Sat, 31 Dec 2016 03:35:41 +0000 (04:35 +0100)]
amend 3afe3f32df (remove unused global feedback option)

That commit accidentally removed unrelated code in generic-midi surface
which just happened to have the same name (get/set_midi_feedback) as the
unused preference.

Regardless, there was more cruft there. GMCP midicontrollables now use
the control surfaces' feedback option.

7 years agoRemove some (no longer needed) source files from our MSVC project (gtk2_ardour)
John Emmas [Sat, 31 Dec 2016 11:10:11 +0000 (11:10 +0000)]
Remove some (no longer needed) source files from our MSVC project (gtk2_ardour)

7 years agoPrefs treeview borders
Robin Gareus [Fri, 30 Dec 2016 17:44:33 +0000 (18:44 +0100)]
Prefs treeview borders

7 years agore-fine preferences dialog part ten of 27 (probably)
Robin Gareus [Fri, 30 Dec 2016 17:29:15 +0000 (18:29 +0100)]
re-fine preferences dialog part ten of 27 (probably)

7 years agoRemove cruft (old MIDI feedback API)
Robin Gareus [Fri, 30 Dec 2016 16:29:08 +0000 (17:29 +0100)]
Remove cruft (old MIDI feedback API)

7 years agore-group preferences part eight and nine of 27 (probably)
Robin Gareus [Fri, 30 Dec 2016 16:04:50 +0000 (17:04 +0100)]
re-group preferences part eight and nine of 27 (probably)

7 years agore-group preferences part seven of 27 (probably)
Robin Gareus [Fri, 30 Dec 2016 14:45:53 +0000 (15:45 +0100)]
re-group preferences part seven of 27 (probably)

7 years agore-group preferences part six of 27 (probably)
Robin Gareus [Fri, 30 Dec 2016 14:26:00 +0000 (15:26 +0100)]
re-group preferences part six of 27 (probably)

7 years agofix bug where hidden ghostregions were updated.
nick_m [Fri, 30 Dec 2016 09:40:48 +0000 (20:40 +1100)]
fix bug where hidden ghostregions were updated.

7 years agoRemoved the the
Robin Gareus [Fri, 30 Dec 2016 03:12:46 +0000 (04:12 +0100)]
Removed the the

7 years agoClarify some more preferences
Robin Gareus [Fri, 30 Dec 2016 02:39:15 +0000 (03:39 +0100)]
Clarify some more preferences

7 years agoLess verbose phrasing for prefs.
Robin Gareus [Fri, 30 Dec 2016 01:54:34 +0000 (02:54 +0100)]
Less verbose phrasing for prefs.

7 years agoLeft align notes in Preferences.
Robin Gareus [Fri, 30 Dec 2016 01:33:27 +0000 (02:33 +0100)]
Left align notes in Preferences.

7 years agoTweak some open labels
Robin Gareus [Fri, 30 Dec 2016 01:33:11 +0000 (02:33 +0100)]
Tweak some open labels

7 years agore-group preferences part five of 27 (probably)
Robin Gareus [Fri, 30 Dec 2016 00:50:40 +0000 (01:50 +0100)]
re-group preferences part five of 27 (probably)

7 years agore-group preferences part four of 27 (probably)
Robin Gareus [Fri, 30 Dec 2016 00:17:05 +0000 (01:17 +0100)]
re-group preferences part four of 27 (probably)

7 years agore-group preferences part three of 27 (probably)
Robin Gareus [Thu, 29 Dec 2016 23:50:48 +0000 (00:50 +0100)]
re-group preferences part three of 27 (probably)

7 years agoSome more Spinbox size updates
Robin Gareus [Thu, 29 Dec 2016 23:23:05 +0000 (00:23 +0100)]
Some more Spinbox size updates

7 years agoShrink some spinners
Robin Gareus [Thu, 29 Dec 2016 23:12:25 +0000 (00:12 +0100)]
Shrink some spinners

7 years agore-group preferences part two of 27 (probably)
Robin Gareus [Thu, 29 Dec 2016 23:12:11 +0000 (00:12 +0100)]
re-group preferences part two of 27 (probably)

7 years agore-group preferences part one of 27 (probably)
Robin Gareus [Thu, 29 Dec 2016 22:34:51 +0000 (23:34 +0100)]
re-group preferences part one of 27 (probably)

7 years agoConsistent Session Props Dialog Layout
Robin Gareus [Thu, 29 Dec 2016 22:18:53 +0000 (23:18 +0100)]
Consistent Session Props Dialog Layout

7 years agoFix updates of region-color
Robin Gareus [Thu, 29 Dec 2016 22:05:08 +0000 (23:05 +0100)]
Fix updates of region-color

7 years agoTurn Theme Manager into an OptionEditor (no direct use of Gtk)
Robin Gareus [Thu, 29 Dec 2016 22:04:39 +0000 (23:04 +0100)]
Turn Theme Manager into an OptionEditor (no direct use of Gtk)

7 years agoConsolidate Preferences/OptionEditor
Robin Gareus [Thu, 29 Dec 2016 20:39:03 +0000 (21:39 +0100)]
Consolidate Preferences/OptionEditor

7 years agoanother small improvement to MGR::add_note() performance.
nick_m [Thu, 29 Dec 2016 15:21:12 +0000 (02:21 +1100)]
another small improvement to MGR::add_note() performance.

7 years agoallow the use of static_cast for MGR ghost events (speeds things up a bit).
nick_m [Thu, 29 Dec 2016 14:55:41 +0000 (01:55 +1100)]
allow the use of static_cast for MGR ghost events (speeds things up a bit).

7 years agominor MidiRegionView::redisplay_model() cleanup
nick_m [Thu, 29 Dec 2016 13:46:43 +0000 (00:46 +1100)]
minor MidiRegionView::redisplay_model() cleanup

7 years agoretain note selection for invalidated notes.
nick_m [Thu, 29 Dec 2016 13:40:20 +0000 (00:40 +1100)]
retain note selection for invalidated notes.

7 years agomore note performance work (dereference less).
nick_m [Thu, 29 Dec 2016 12:22:06 +0000 (23:22 +1100)]
more note performance work (dereference less).

7 years agorevert 7805217b5 (make note mode change work again).
nick_m [Thu, 29 Dec 2016 12:15:35 +0000 (23:15 +1100)]
revert 7805217b5 (make note mode change work again).

7 years agoRemove "Feedback" from Preferences Ctrl Surface pane.
Robin Gareus [Wed, 28 Dec 2016 22:02:38 +0000 (23:02 +0100)]
Remove "Feedback" from Preferences Ctrl Surface pane.

7 years agoTear down OSC settings GUI, when the protocol is disabled
Robin Gareus [Wed, 28 Dec 2016 21:59:49 +0000 (22:59 +0100)]
Tear down OSC settings GUI, when the protocol is disabled

7 years agoMove "Feedback" option to control-portocol settings
Robin Gareus [Wed, 28 Dec 2016 21:59:15 +0000 (22:59 +0100)]
Move "Feedback" option to control-portocol settings

7 years agoFix AudioRegion RMS calc for multi-channel
Robin Gareus [Wed, 28 Dec 2016 21:18:41 +0000 (22:18 +0100)]
Fix AudioRegion RMS calc for multi-channel

7 years agoAdd script to exercise AudioRegion Peak/RMS Normalization
Robin Gareus [Wed, 28 Dec 2016 21:18:23 +0000 (22:18 +0100)]
Add script to exercise AudioRegion Peak/RMS Normalization

7 years agoAdd Lua bindings for AudioRegion RMS+Peak calc
Robin Gareus [Wed, 28 Dec 2016 21:17:30 +0000 (22:17 +0100)]
Add Lua bindings for AudioRegion RMS+Peak calc

7 years agoFurther preference-dialog re-layout work in progress..
Robin Gareus [Wed, 28 Dec 2016 20:36:33 +0000 (21:36 +0100)]
Further preference-dialog re-layout work in progress..

7 years agoAdd Scrollbar to MIDI Port Option List
Robin Gareus [Wed, 28 Dec 2016 19:50:57 +0000 (20:50 +0100)]
Add Scrollbar to MIDI Port Option List

7 years agoNO-OP: whitespace
Robin Gareus [Wed, 28 Dec 2016 19:06:50 +0000 (20:06 +0100)]
NO-OP: whitespace

7 years agoPrefs Dialog: consistent headings, spacing, reduce width,..
Robin Gareus [Wed, 28 Dec 2016 19:03:37 +0000 (20:03 +0100)]
Prefs Dialog: consistent headings, spacing, reduce width,..

7 years agoPack Color Theme Manager as Box - consistent spacing
Robin Gareus [Wed, 28 Dec 2016 15:51:24 +0000 (16:51 +0100)]
Pack Color Theme Manager as Box - consistent spacing

7 years agoimprove the performance of MidiRegionView::find_canvas_patch_change().
nick_m [Wed, 28 Dec 2016 17:21:37 +0000 (04:21 +1100)]
improve the performance of MidiRegionView::find_canvas_patch_change().

- also fixes patch changes appearing outside region bounds
  when copied/trimmed.

7 years agoadd ArdourCanvas::Flag::width()
nick_m [Wed, 28 Dec 2016 17:16:09 +0000 (04:16 +1100)]
add ArdourCanvas::Flag::width()

7 years agoadd preference for showing non-quarter note tempi (Misc subsection Tempo).
nick_m [Wed, 28 Dec 2016 16:46:25 +0000 (03:46 +1100)]
add preference for showing non-quarter note tempi (Misc subsection Tempo).

7 years agotempo dialog shows note type on first row where applicable.
nick_m [Wed, 28 Dec 2016 16:44:19 +0000 (03:44 +1100)]
tempo dialog shows note type on first row where applicable.

7 years agodon't clear note items in MidiRegionView::display_model().
nick_m [Wed, 28 Dec 2016 15:39:57 +0000 (02:39 +1100)]
don't clear note items in MidiRegionView::display_model().

- redisplay_model() does this for us.

7 years agoimprove MidiGhostRegion::find_event() performance (end is quite common).
nick_m [Wed, 28 Dec 2016 15:36:58 +0000 (02:36 +1100)]
improve MidiGhostRegion::find_event() performance (end is quite common).

7 years agoallow all types of range location (loop, start, end etc.) to be glued to bars and...
nick_m [Wed, 28 Dec 2016 14:39:31 +0000 (01:39 +1100)]
allow all types of range location (loop, start, end etc.) to be glued to bars and beats.

7 years agoAdd Locale config preferences and rearrange UI prefs
Robin Gareus [Wed, 28 Dec 2016 12:38:35 +0000 (13:38 +0100)]
Add Locale config preferences and rearrange UI prefs

7 years agoEmit signal for special cased configuration variable
Robin Gareus [Wed, 28 Dec 2016 11:54:32 +0000 (12:54 +0100)]
Emit signal for special cased configuration variable

7 years agoAllow fine grained control over locale
Robin Gareus [Wed, 28 Dec 2016 11:39:43 +0000 (12:39 +0100)]
Allow fine grained control over locale

7 years agoAdd enum for locale-config
Robin Gareus [Wed, 28 Dec 2016 11:35:28 +0000 (12:35 +0100)]
Add enum for locale-config

7 years agoCorrect a namespace typo
John Emmas [Wed, 28 Dec 2016 09:20:39 +0000 (09:20 +0000)]
Correct a namespace typo

7 years agoMove a forward declaration (for class ArdourVSpacer) so that MSVC can also use it
John Emmas [Wed, 28 Dec 2016 09:16:12 +0000 (09:16 +0000)]
Move a forward declaration (for class ArdourVSpacer) so that MSVC can also use it

7 years agoSome operators need to have different visibility (as they're now used outside of...
John Emmas [Wed, 28 Dec 2016 09:14:51 +0000 (09:14 +0000)]
Some operators need to have different visibility (as they're now used outside of libardour)

7 years agoAccommodate newly introduced source(s) in our MSVC project (gtk2_ardour)
John Emmas [Wed, 28 Dec 2016 09:13:25 +0000 (09:13 +0000)]
Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour)

7 years agoremove old unhelpful Makefile
Robin Gareus [Tue, 27 Dec 2016 23:39:37 +0000 (00:39 +0100)]
remove old unhelpful Makefile

7 years agoAdd GUI support to extract and open session-archives
Robin Gareus [Tue, 27 Dec 2016 21:25:22 +0000 (22:25 +0100)]
Add GUI support to extract and open session-archives

7 years agoAdd backend support to extract session-archives
Robin Gareus [Tue, 27 Dec 2016 21:24:24 +0000 (22:24 +0100)]
Add backend support to extract session-archives

7 years agoEnable session-archive feature
Robin Gareus [Tue, 27 Dec 2016 17:32:27 +0000 (18:32 +0100)]
Enable session-archive feature

7 years agoNormalize audio when archiving to fixed-point format.
Robin Gareus [Tue, 27 Dec 2016 17:33:41 +0000 (18:33 +0100)]
Normalize audio when archiving to fixed-point format.

7 years agoAllow gain factor for audio sources.
Robin Gareus [Tue, 27 Dec 2016 17:20:02 +0000 (18:20 +0100)]
Allow gain factor for audio sources.

In preparation for archiving files as .flac (fixed point),
normalized with gain factor.

7 years agofix leak in MGR _note_group
nick_m [Fri, 23 Dec 2016 15:14:43 +0000 (02:14 +1100)]
fix leak in MGR _note_group

7 years agospeed up load/quit for sessions containing ~25k events.
nick_m [Fri, 23 Dec 2016 15:01:37 +0000 (02:01 +1100)]
speed up load/quit for sessions containing ~25k events.

- MGR uses a _note_group to hold events.

- MRV & MGR delete canvas notes directly from their note group.

- sysex is untested (it uses MRV note group).

7 years agoshave another line from MidiGhostRegion::clear_events().
nick_m [Fri, 23 Dec 2016 12:33:13 +0000 (23:33 +1100)]
shave another line from MidiGhostRegion::clear_events().

7 years agofix thinko in previous commit.
nick_m [Fri, 23 Dec 2016 12:24:54 +0000 (23:24 +1100)]
fix thinko in previous commit.

7 years agopossibly faster way to clear ghost events.
nick_m [Fri, 23 Dec 2016 12:03:22 +0000 (23:03 +1100)]
possibly faster way to clear ghost events.

7 years agoslight speed improvement on GhostEvent ctor.
nick_m [Fri, 23 Dec 2016 11:20:08 +0000 (22:20 +1100)]
slight speed improvement on GhostEvent ctor.

7 years agoremove double check for note range in MGR::update_note/hit()
nick_m [Fri, 23 Dec 2016 11:18:43 +0000 (22:18 +1100)]
remove double check for note range in MGR::update_note/hit()

7 years agofix editor sidebar show/hide with embedded TimeInfo
Robin Gareus [Fri, 23 Dec 2016 02:56:01 +0000 (03:56 +0100)]
fix editor sidebar show/hide with embedded TimeInfo

7 years agoMidiGhostRegion::update_contents_height() is only about height (again).
nick_m [Thu, 22 Dec 2016 18:44:29 +0000 (05:44 +1100)]
MidiGhostRegion::update_contents_height() is only about height (again).

7 years agohide ghost events appropriately (e.g. after split).
nick_m [Thu, 22 Dec 2016 18:07:22 +0000 (05:07 +1100)]
hide ghost events appropriately (e.g. after split).

7 years agoonly update GhostEvents on visible trackviews.
nick_m [Thu, 22 Dec 2016 15:55:51 +0000 (02:55 +1100)]
only update GhostEvents on visible trackviews.

- this requires that MidiGhostRegion::update_contents_height()
  also controls visibility.

7 years agomidi scrooming performance updates.
nick_m [Thu, 22 Dec 2016 13:51:34 +0000 (00:51 +1100)]
midi scrooming performance updates.

- MGR visibility is handled by update_note/hit()
  MRV unconditionally updates MGR events
- remove MidiGhostRegion::update_range()
- rename set_contents_height -> update_contents_height

7 years agoremove wtfery in MidiGhostRegion ctor
nick_m [Thu, 22 Dec 2016 13:41:25 +0000 (00:41 +1100)]
remove wtfery in MidiGhostRegion ctor

7 years agoMore 8 whitespace to tab indentation fixes
Nil Geisweiller [Thu, 22 Dec 2016 12:20:13 +0000 (14:20 +0200)]
More 8 whitespace to tab indentation fixes

7 years agoshow VCA color on number label
Robin Gareus [Thu, 22 Dec 2016 01:00:55 +0000 (02:00 +0100)]
show VCA color on number label

7 years agoDisplay VCAs at the end of the Track/Bus list
Robin Gareus [Thu, 22 Dec 2016 00:38:55 +0000 (01:38 +0100)]
Display VCAs at the end of the Track/Bus list

7 years agospill chained VCAs
Robin Gareus [Thu, 22 Dec 2016 00:05:53 +0000 (01:05 +0100)]
spill chained VCAs

7 years agoamend 91321272b
Robin Gareus [Wed, 21 Dec 2016 22:36:00 +0000 (23:36 +0100)]
amend 91321272b

7 years agoFix minor typo in comment
Nil Geisweiller [Wed, 21 Dec 2016 20:57:59 +0000 (22:57 +0200)]
Fix minor typo in comment

7 years agoFix indentation 8 whitespaces to tab
Nil Geisweiller [Wed, 21 Dec 2016 20:57:39 +0000 (22:57 +0200)]
Fix indentation 8 whitespaces to tab

7 years agoAdd option to hide the 2ndary clock
Robin Gareus [Wed, 21 Dec 2016 22:01:34 +0000 (23:01 +0100)]
Add option to hide the 2ndary clock

7 years agocheck audio-locked meter ordering by frame.
nick_m [Wed, 21 Dec 2016 18:36:40 +0000 (05:36 +1100)]
check audio-locked meter ordering by frame.

7 years agoGhostEvent wrangling.
nick_m [Wed, 21 Dec 2016 17:39:53 +0000 (04:39 +1100)]
GhostEvent wrangling.

- update_range() solely looks after visibility.
- update_note/hit() positions both x and y using code stolen from
  update_range()
- add update_contents_height() for when we just change the GR height.
- find_event() is now used rather than map::find()
- use temp canvas items to avoid constructor overhead.

7 years agouse map::find in the currently unused MidiGhostRegion::find_event()
nick_m [Wed, 21 Dec 2016 17:23:58 +0000 (04:23 +1100)]
use map::find in the currently unused MidiGhostRegion::find_event()

- the next one is still often the one we want.

7 years agorevert b330a8a0ce
nick_m [Wed, 21 Dec 2016 16:29:59 +0000 (03:29 +1100)]
revert b330a8a0ce