13
0
Commit Graph

10301 Commits

Author SHA1 Message Date
0852d05643 remove RouteGroupDialog::do_run() and replace its use with code that doesn't rely on a recursive run loop 2016-06-12 14:54:01 -04:00
nick_m
b3b246b724 Pick a colour for music-locked tempo markers. 2016-06-13 04:27:53 +10:00
60b89849bd hide mixer group tabs when spilling control master slaves 2016-06-12 13:35:38 -04:00
04caff02a1 fix crash when removing a track in the presence of VCAs 2016-06-12 13:07:24 -04:00
9a7fbd53a2 don't show meter for integer/enum outputs in a generic plugin UI 2016-06-12 16:43:21 +02:00
99a996e836 fix typo 2016-06-12 16:35:37 +02:00
45119f5422 update post-export command placeholder documentation 2016-06-12 11:00:11 +02:00
2c44225df2 make RouteGroupDialog non-modal.
Not really how/why it was modal, but it did run a recursive main event loop, and these are
always a bad idea for lots of reasons. So I removed that feature, which makes it non-modal.
Not 100% tested yet.
2016-06-11 15:49:38 -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
nick_m
e973e39f06 Set tempo sections to the exact pulse when snapped to a musical grid. 2016-06-12 00:42:43 +10:00
nick_m
34500f7416 Make RegionView less aggressive about trimming the front of a region. 2016-06-11 05:43:35 +10:00
nick_m
f3b4644969 Fix many offset errors when drawing notes in midi regions that have been edited.
- hopefully this can close bugs such as 6270 & 6793
2016-06-11 05:40:50 +10:00
8ceab4e193 make sure editor can follow visibility changes for VCAs 2016-06-10 15:00:43 -04:00
fbc51c03ef do not add master to Mixer_UI's TreeModel - explicitly pack it and never unpack it 2016-06-10 14:49:35 -04:00
954b17325d another PresentationInfo sort order fix. 2016-06-10 13:57:19 -04:00
f1d9dbf359 fix behaviour of select_(next|prev)_route() in editor, when VCAs are present. 2016-06-10 13:57:19 -04:00
4b730ca645 Use generic sorter. 2016-06-10 13:57:19 -04:00
53ba6f1121 EditorRoutes needs to connect to the right property change signal. 2016-06-10 13:57:19 -04:00
df09d80bd3 EditorRoutes needs to respond to PropertyChanged(selected) 2016-06-10 13:57:19 -04:00
15fcb0845a make sure RouteUIs show selection status at startup 2016-06-10 13:57:18 -04:00
2d4358ddb5 Various changes to PresentationInfo and a small consolidation of sorters.
The semantics for sorting PresentationInfo are up to the caller, not the
PresentationInfo object, so operator<() was removed and callers specifically
invoke ::order() for sorting.
2016-06-10 13:57:18 -04: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
1f62dca536 avoid missing stuff after adding tracks/busses/vcas in mixer 2016-06-09 20:43:11 -04:00
06b12bef62 retain route i/o choice across show()'s of the AddRouteDialog 2016-06-09 20:39:43 -04:00
d403eaf1a0 phase out phase in favor of polarity 2016-06-10 01:18:20 +02:00
be42151c0d work "hide" button on VCA strip 2016-06-09 16:58:49 -04:00
4d28df97fa noop: clarifying comment about a magic number 2016-06-09 16:30:21 -04:00
2ee3fefc41 use codified heuristic for "is-color-set?" 2016-06-09 16:24:41 -04:00
a74c850b5b mixer-gui visibility management for VCAs 2016-06-09 16:03:14 -04:00
212afd402c color management and handling for VCAs 2016-06-09 16:03:14 -04:00
ef6f0de5a3 extend ArdourButton API to allow independently setting fixed active/inactive colors 2016-06-09 16:03:14 -04:00
3670f1adac use ControlSlaveUI in VCAMasterStrip 2016-06-09 13:12:09 -04:00
0678d0ada1 use new ControlSlaveUI object in mixer strip 2016-06-09 13:12:09 -04:00
f26191382f for now vca assignment does not apply to selection.
This hack comment needs cleaning up later
2016-06-09 13:12:09 -04:00
e6db49f9e2 new files 2016-06-09 13:12:09 -04:00
3f0cbfc152 comment and minor fix 2016-06-08 21:25:48 -04:00
7015ece8ef use 4.x and earlier route colors 2016-06-08 21:18:20 -04:00
f0eef82364 alphabetize local includes 2016-06-08 21:18:20 -04:00
nick_m
c9b6e0a7b3 Fix crash when editing meter via main clock. 2016-06-09 06:44:39 +10:00
nick_m
98455f2744 Fix crash when editing tempo via main clock. 2016-06-09 05:54:53 +10:00
393d69c7a0 listen for gui_changed() signal from all Stripables, not just Routes 2016-06-08 11:03:13 -04:00
4a863cb1d6 change format of state_id() return value for VCAMasteStrip to follow other objects' conventions 2016-06-08 11:03:13 -04:00
26d94f6014 add ::set_height() for VCATimeAxisView 2016-06-08 11:03:13 -04:00
5c6846a169 Experiment - change the Windows icon (gtk2_ardour/icons/ardour.ico) so that it doesn't contain compressed images
Windows itself is happy with compressed icons but they seem to upset the MSVC linker.

If there are no ill-effects I'll change the Mixbus icon which will allow me to remove the older style icons (that were only needed for MSVC)
2016-06-08 15:20:19 +01:00
b708439307 fix user color file name 2016-06-08 15:51:33 +02:00
8d5409f5dc what an oversight! 2016-06-08 15:39:04 +02:00
aeed54ed91 fix waf cmd tested for when deciding to build appdata.pot 2016-06-08 07:16:42 -04:00
nick_m
6c986231d3 More tempo marker cross-dragging fixes. 2016-06-08 13:48:22 +10:00
nick_m
d18bbc646a Fix tempo markers jittering when cross-dragging over large tempo deltas. 2016-06-08 12:45:12 +10:00
a5ae129a06 take a rather different approach toggling editor+mixer 2016-06-07 18:30:04 -04:00
3e089ee678 provide GUI option to control WM visibility info use 2016-06-07 18:29:40 -04:00
207fa93cf9 when destroying an ArdourDialog, be sure the Keyboard object knows about it.
It seems that there are ways to destroy a window without it emitting focus out
2016-06-07 18:28:32 -04:00
3933475cf2 noop: comment change 2016-06-07 15:01:49 -04:00
044fe7bf2a header file cleanup/reduction 2016-06-07 14:59:51 -04:00
9b925b45dc move color theme selector into color tab for preferences 2016-06-07 14:52:24 -04:00
06c9101f91 first pass at moving color theme management into its own preferences tab 2016-06-07 14:52:24 -04:00
ee40e8d026 fix click preferences alignment 2016-06-07 18:50:15 +02:00
nick_m
03ea905b86 Step edit cursor no longer assumes constant tempo. 2016-06-08 02:45:40 +10:00
a12f62219b re-group preferences to reduced window height constraint. 2016-06-07 18:34:45 +02:00
2814ff4866 use contextual translation macro for "Locations" 2016-06-07 12:32:57 -04:00
e574ab30e7 GUI tweaks and work on VCA mixer display 2016-06-07 12:30:44 -04:00
669b745329 fix missing restore of a pane position in mixer 2016-06-07 12:30:44 -04:00
158a660298 document post-export command placeholders 2016-06-07 17:07:37 +02:00
af9a9a9efd a better solution to the inheritance issue fixed in the previous commit 2016-06-07 09:22:57 -04:00
b40fe18775 fix up inheritance heirarchy and constructors so that the Session Properties dialog IS-A ArdourWindow
... and is thus subject to Ctrl-w to close it
2016-06-07 09:05:50 -04:00
a88fa99049 don't replace : in linux vst search path in prefs with newlines, to shrink down the preferences height 2016-06-07 08:51:53 -04:00
0318b4f3ac move 2 plugin options to plugin tab of preferences 2016-06-06 19:35:48 -04:00
d14c3adfe7 repeat previous commit's approach, but for VCATimeAxisView 2016-06-06 19:35:48 -04:00
56c831199e drop reference to VCA from VCAMasterStrip immediately rather than waiting for idle 2016-06-06 19:35:48 -04:00
084da26cfd remove dead members and code from RouteParamsUI 2016-06-06 16:04:19 -04:00
5fddbdd495 ensure that newly-added tracks are displayed in the editor 2016-06-06 14:44:58 -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
44c56fff6f add pre-release warning dialog. It wil not be shown when running via ardev etc. 2016-06-06 13:40:14 -04:00
e65f31cfd8 remove pre-release page from startup dialog.
This dialog won't be seen by users of older versions of Ardour, so it is the wrong place (for now)
to put this warning
2016-06-06 13:40:14 -04:00
a0f0bdc063 try to keep editor+mixer treemodels in sync 2016-06-06 12:58:48 -04:00
20d85384c1 there is no remote model choice anymore - ordering is determined by the GUI 2016-06-06 12:04:49 -04:00
8bfa2afe11 fix version reference in beta page/dialog 2016-06-06 08:13:15 -04:00
01812f53c3 use, or mostly use PresentationInfo for selection status of Routes.
Needs extension to Surfaces, replacing GuiSelectionChanged signal concept
2016-06-05 20:50:57 -04:00
9e28056fd2 AxisView does not need to initialize Selectable::_selected 2016-06-05 20:50:57 -04:00
8125ea5909 tweak API of Selectable 2016-06-05 20:50:57 -04:00
6adac60323 OS X specific fix, to match new mixer TreeModel structure 2016-06-05 18:00:48 -04:00
843b6b90b0 fix switching from generic to custom plugin UI 2016-06-05 23:55:08 +02:00
3e12d4b4a6 use PresentationInfo color to set route colors. GUI appears to respond as expected 2016-06-05 17:16:20 -04:00
4ca69e346f substantive redesign of Gtk::TreeModel used inside Mixer_UI to hold both VCAs and Routes 2016-06-05 16:33:02 -04:00
1d5d98589a catch up on change in definition of various AxisView {set,is}_selected() implementations 2016-06-05 16:33:02 -04:00
b69776ba15 catch up on change in definition of various AxisView {set,is}_selected() implementations 2016-06-05 16:33:02 -04:00
58eec76ab3 catch up on change in definition of various AxisView {set,is}_selected() implementations 2016-06-05 16:33:02 -04:00
da7013a286 cleanup API for RouteUI 2016-06-05 16:33:02 -04:00
0b5814e2a5 Stripable signals moved to PresentationInfo 2016-06-05 16:33:02 -04:00
9aedfbece3 missing mod to MonitorSection declaration, per previous commit 2016-06-05 16:33:02 -04:00
21400bf60b remove duplicate name_label widget from TimeAxisView (AxisView provides it) 2016-06-05 16:33:02 -04:00
518f7f9892 RouteUI connects to Route's PropertyChange signal; derived types implement route_property_changed() 2016-06-05 16:33:02 -04:00
c0e5265b14 don't add routes+VCAs separately to editor routes during startup; merge into single list of Stripables 2016-06-05 16:33:02 -04:00
8342d4d9e6 remove unused sort object 2016-06-05 16:33:02 -04:00
23f29a89ce use PresentationInfo API to mark Stripable elements hidden (from editor) 2016-06-05 16:33:02 -04:00
b85911d252 update use of PresentationInfo/Stripable API 2016-06-05 16:33:01 -04:00
dbcf2f5068 fix initialization in MidiTimeAxisView
This is another "most derived" class and so needs to initialize the SessionHandlePtr virtual base class
2016-06-05 16:33:01 -04:00
5dce39a26b Stripable signals moved to PresentationInfo 2016-06-05 16:33:01 -04:00
7b2f2a1f6a new color utility functions to convert between uint32_t and Gdk::Color 2016-06-05 16:33:01 -04:00
9d3aba30c4 Stripable signals moved to PresentationInfo 2016-06-05 16:33:01 -04:00
b685b6e175 use modified PresentationInfo/Stripable API 2016-06-05 16:33:01 -04:00
ea05a66736 when adding a list of Stripables, sort them into PresentationInfo order first 2016-06-05 16:33:01 -04:00
6a59100c3c no-op: one line not 3 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
bdd2f25c8b RouteUI is no longer an AxisView so use ARDOUR_UI::instance()->gui_object_state() directly 2016-06-05 16:33:01 -04:00
77f19ff8da add braces 2016-06-05 16:33:01 -04:00
2161c5d507 use new RouteGroup property names 2016-06-05 16:33:01 -04:00
939bc07b4b bring back the beta release warning for users new to 5.x-preN 2016-06-05 16:33:01 -04:00
c31435b474 RouteUI is now also derived from SessionHandlePtr but NOT AxisView. Fix initialization.
Only "most derived" classes can initialize virtual base classes (SessionHandlePtr)
2016-06-05 16:33:01 -04:00
384d05dd35 change AxisView color API to be virtual and implement per-type variants 2016-06-05 16:33:01 -04:00
2aeb33989e adjust color API for RouteUI to use PresentationInfo's color 2016-06-05 16:33:01 -04:00
171b70927a make AxisView::marked_for_display() be virtual so we can use the a Stripable's PresentationInfo hidden() status 2016-06-05 16:33:01 -04:00
nick_m
15631e381f Use non-magic widths for the now fixed-width mode region list. 2016-06-06 05:46:29 +10:00
a0f774025d generic plugin UI: insensitive NotAutomatable 2016-06-05 20:01:17 +02:00
e627a9681a show existing automation lanes regardless if they were visible before.
Automation can be recorded with the automation time axis not being
visible.
2016-06-04 18:52:57 +02:00
nick_m
fa50cf50d1 Clamp tempo curve height. 2016-06-04 07:24:04 +10:00
a98015e11a NO-OP: add blank line to make comments clearer 2016-06-03 16:12:32 -04:00
94827afffa fix both canvas scrolling and interleaving of VCA + Routes in editor 2016-06-03 16:12:32 -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
0b5364426d fix a -Wreorder 2016-06-03 12:22:35 +02:00
8818e1887a there is no explicit "Remote Control ID" control anymore - all done by ordering in the GUI 2016-06-02 19:19:22 -04:00
54e8a21a09 Remove references to a "master faders" window. We went the other way. 2016-06-02 19:19:22 -04:00
301000c94e make new action to bind BackSpace to in processors box 2016-06-02 14:46:35 -04:00
eee83c25a9 make all TimeAxisView derived types return PresentationInfo for sorting 2016-06-02 14:46:35 -04:00
nick_m
050035e787 Actions - make set-tempo-from-edit-range sensitive to time selection. 2016-06-03 03:16:50 +10:00
6baac7d46f various safety checks for the result of dynamic_cast-ing a TimeAxisView to RouteTimeAxisView
Now that we have VCATimeAxisView, this needed to be done, but it also potentially applied with automation
2016-06-02 08:42:58 -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
d680c1f1db fix styling of pane dividers (the original reason for the "*Pane*" widget=>style spec) 2016-06-01 22:23:34 -04:00
0d999ea4ec remove un-used name_hbox widget from TimeAxisView 2016-06-01 21:57:43 -04:00
43b6a7aca3 remove unneeded widget style definition 2016-06-01 21:57:43 -04:00
ef8f9d466c remove unnecessary wildcard GTK widget=>style mapping 2016-06-01 21:57:43 -04:00
c5b97e70be add Open Target Folder button to Export Dialog 2016-06-02 00:09:37 +02:00
22cbc69074 only show "Pin Connections..." in mixer-strip if there are plugins 2016-06-01 22:43:40 +02:00
f513878c8a MSVC itself defines a class called CheckMenuItem - so make sure we know to use the one from Gtk 2016-06-01 14:30:29 +01:00
b53ee9cd1e new api - update e0ff70cf 2016-06-01 15:12:26 +02:00
d9c98a51c2 fix windows builds & remove cruft
There's no mkstemp() for windows -> use Glib::file_open_tmp()
also ofstream should not be used (on windows it does not support UTF8 fn)
strstream + Glib::file_set_contents ()
2016-06-01 12:01:25 +02:00
c31bbd636b fix incorrect value in default_ui_config 2016-05-31 21:17:34 -04:00
82273a7551 change install target dir for color theme files 2016-05-31 15:59:27 -04:00
9c69d6f0c3 show color theme file search path when a file is not found 2016-05-31 15:59:14 -04:00
bf84903352 clean up some dangling code from ThemeManager 2016-05-31 15:30:46 -04:00
9710eaa831 reflect inclusion of appname in theme file name 2016-05-31 15:30:46 -04:00
6563439e1f rename color files to be program specific, and rename cainelton as caineville 2016-05-31 15:30:46 -04:00
3e5821428b install program-specific color files 2016-05-31 15:30:46 -04:00
6ec731c5fa rework of color theme file management
Use program-name + version when saving user color files (and search for them)
Preset XML-defined theme name, but use filename in config files (could be wrong).
2016-05-31 15:30:46 -04:00
ae314207b1 add theme name to each color theme file 2016-05-31 15:30:46 -04:00
b90e373d70 it is probably a mistake to rename dark -> Dark at this particular point in time 2016-05-31 15:30:45 -04:00
2562b4a2f0 handle old-version pane positions by ignoring them 2016-05-31 15:30:45 -04:00
fae3aee849 tweak layout in theme manager prefs 2016-05-31 15:30:45 -04:00
cb4b6bf8a3 remove debug output 2016-05-31 15:30:45 -04:00
268219d668 fix theme path for ardev and cousins 2016-05-31 15:30:45 -04:00
541a419cfe fix unused variable warning 2016-05-31 15:30:45 -04:00
2d485f6154 install theme files during waf install 2016-05-31 15:30:45 -04:00
4c60a925c0 the return of the theme selector, plus 3 new themes from cooltehno 2016-05-31 15:30:45 -04:00
6151caf599 set pane drag cursors in mixer 2016-05-31 15:30:45 -04:00
76620819e0 use new pane API 2016-05-31 15:30:45 -04:00
518fd81e6c restore mixer pane sizing 2016-05-31 15:30:45 -04:00
5df9c2178e remove unneeded code with new pane 2016-05-31 15:30:45 -04:00
cc88501d97 set minimum size for editor list 2016-05-31 15:30:45 -04:00
d30266dfc3 use new record safe control in GUI 2016-05-31 15:30:45 -04:00
a26a85de14 set editor pane cursors 2016-05-31 15:30:45 -04:00
95be25047c style colors for Pane 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
a9b919e877 use standard method to identify context click on patch change 2016-05-31 15:30:44 -04:00
e3c4f5fa98 make double-click on patch change launch patch change editor 2016-05-31 15:30:44 -04:00
4653e301c8 slight improvement of MIDI program names in verbose cursor while scrolling 2016-05-31 15:30:44 -04:00
428ed8ae1b stop playing silly games with widget packing when editing a route name in the edito
Use a FloatingTextEntry instead. All clever functionality from previous
implementation has been retained.
2016-05-31 15:30:44 -04:00
30d0b2a354 minor state tweaks for VCA time axis solo+mute buttons 2016-05-31 15:30:44 -04:00
531dca486d make VCA strips sensitive to solo model 2016-05-31 15:30:44 -04:00
670e79f7d1 do not accidentally try to select VCA time axis views for context clicks or other conditional ops 2016-05-31 15:30:44 -04:00
482873760c initial implementation of VCA time axis views 2016-05-31 15:30:44 -04:00
e626db22a0 make selectability of a TimeAxisView be overridable 2016-05-31 15:30:44 -04:00
4aea553467 not quite as many magic numbers when deciding if a group color is too close to black 2016-05-31 15:30:44 -04:00
63f50b1fc5 no-op: move comment to make scope more clear 2016-05-31 15:30:44 -04:00
a12ce428d0 fix wierd TimeAxisView initial attachment for the name hbox 2016-05-31 15:30:44 -04:00
d4070a7e3e pre-size TimeAxisView controls_table to something more like the correct rows x cols 2016-05-31 15:30:44 -04:00
f022784014 convert editor routes code to use Stripable 2016-05-31 15:30:44 -04:00
eaddf752c7 hacked up incomplete use of print-key-bindings-as-html 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
791d0196d6 make various button press events work on VCA strip vertical button; improve spacing 2016-05-31 15:30:44 -04:00
f8f7894ad9 make create group with master actually create (and name) master 2016-05-31 15:30:44 -04:00
4b11bb4d15 no-op; change comment 2016-05-31 15:30:44 -04:00
2a19dbb307 add header required when boost shared ptr debugging is in use 2016-05-31 15:30:44 -04:00
e12fdc81b4 use correct GTK response code, given YES/NO buttons 2016-05-31 15:30:44 -04:00
061c58f16a typo fixes 2016-05-31 15:30:44 -04:00
e86926baaf make drop button on VCA strip actually work 2016-05-31 15:30:44 -04:00
cc3f029c73 remove name button from vca strip; add drop button 2016-05-31 15:30:43 -04:00
b81fec9d58 rearrange group tabs menu 2016-05-31 15:30:43 -04:00
c6ad232796 more work on presenting GUI actions to connect Route groups and control masters 2016-05-31 15:30:43 -04:00
8e81db7a92 use new ::slaved_to() method in VCA master strip 2016-05-31 15:30:43 -04:00
c1592864e1 a start at the group/master menu related structure 2016-05-31 15:30:43 -04:00
bd43428a65 add route dialog should always show up wherever the mouse is, not in its last location 2016-05-31 15:30:43 -04:00
57000d7d5a allow context click on blank space in VCA packer to drive add route dialog 2016-05-31 15:30:43 -04:00
808346de0f vca: make Remove context menu option work
Also cancel spill view if relevant, during VCA Master Strip deletion
2016-05-31 15:30:43 -04:00
69d2758e8c actual implementation of VCA spill for mixer 2016-05-31 15:30:43 -04:00
45b5c9667e basics of spill control in place (actual change in mixer display, not done) 2016-05-31 15:30:43 -04:00
1d81392e37 use ArdourButton for the vertical space/button/label in VCAMasterStrip 2016-05-31 15:30:43 -04:00
effb08c121 hack to ArdourButton to get sizing correct for 90 + 270 degree rotated text 2016-05-31 15:30:43 -04:00
0b4d9c9d63 code consolidation 2016-05-31 15:30:43 -04:00