13
0
Commit Graph

7876 Commits

Author SHA1 Message Date
84412e1367 Draw beat sudivisions according to snap setting. 2015-01-07 19:05:41 -05:00
04bbe402b0 Factor out grid beat divisions. 2015-01-07 19:05:41 -05:00
21ffb956e6 properly catch RTAV deletion.
fixes issue with editor-mixer retaining
a shared-pointer to the deleted route.
2015-01-08 00:41:59 +01:00
0a4038f1df fix meter bridge window size issues
* no more OSX liveloop (window size < min size)
* properly set min window size
* re-layout metric areas when label height changes
* remove ‘smart’ auto-resize (when tracks are added/removed)
  (it wasn’t smart enough to work on all WMs)
2015-01-07 23:46:22 +01:00
a4f7c21ec3 now that regions and range selections are exclusive, the separate actions to set ranges or zoom to selections are redundant. save some menu entries and keybindings by consolidating them. also consolidate some code with new function get_selection_extents(). as a side-effect, this checkin fixes the assert failure in play_with_preroll 2015-01-07 15:31:30 -06:00
915a840119 remove Skip Ranges menu item for now 2015-01-07 15:31:30 -06:00
91c650bc29 High resolution tempo lines. 2015-01-07 08:37:20 -05:00
81c196e9ca Improve contrast of summary. 2015-01-07 01:42:49 -05:00
58a4e01430 Update background color when theme is changed. 2015-01-07 01:23:13 -05:00
2a251b4570 MusicalTime => Beats. 2015-01-07 00:12:07 -05:00
4d202d9157 Add modulus operator to MIDI transformer.
Useful for doing things like making alternating bowing patterns.
2015-01-06 23:04:28 -05:00
82c5349e61 Fix drag of patch changes. 2015-01-06 22:00:54 -05:00
0614bc5e81 Fix for incorrect folder selection for new sessions from bug #6069 2015-01-06 14:05:11 +07:00
59a15a1f57 Fix Session file filter so session files are displayed in file browser
This small mistake slipped in with 78d0b2
2015-01-06 14:02:31 +07:00
946e63a276 never show windows console.
If ardour is launched from a terminal, stdout/stderr works since
9988f661f. Further, the debug-version comes packaged with gdb and
a has a start-menu shortcut for it. There is no need to implicitly
always show a console even for debug builds.
2015-01-06 02:07:58 +01:00
9988f661fa windows: re-attach to the console with -mwindows 2015-01-06 02:04:12 +01:00
9380b87269 mingw-bundle: use abstract definition of "ardour3" libdir 2015-01-05 18:38:45 +01:00
34a7a3078a unhardcode "Ardour" in ffmpeg encoder comment 2015-01-05 18:37:00 +01:00
78d0b2eebb un-hardcode "*.ardour" file filters 2015-01-05 18:36:43 +01:00
274522b1a4 windows packaging: project agnostic names & registy 2015-01-05 02:15:19 +01:00
6bb82bfd30 Fix Audiofile browser dialog so it appears infront of preference window when selecting click file 2015-01-02 22:11:47 +07:00
02a7bbce76 Fix for Clock updates 2015-01-02 22:07:50 +07:00
68ae9394be fix big clock aspect ratio, and add minimum size to avoid resize glitches 2015-01-02 09:01:11 -05:00
9ef350cb90 remember big clock window scaling, or rather, recompute it accurately 2015-01-02 08:23:56 -05:00
nick_m
884cc6f90c Add automation track control points to undo history (and selection_op history). 2015-01-02 08:01:12 -05:00
nick_m
0f7df2979c Fix previous commit. 2015-01-02 08:01:12 -05:00
nick_m
61315c314d Make editor undo/redo actions sensitive at appropriate times. 2015-01-02 08:01:12 -05:00
nick_m
792f9ff37b Removed unrelated change in Selection::set_state () (clear_points()). 2015-01-02 08:01:12 -05:00
nick_m
a795892492 Separate selection operations into their own temporary history mechanism.
The user can now replay *all* earlier selection operations until the next
session undo/redo command, or the completion of a new operation.
Nothing relating to selection ops is stored, and selection operation history
is begun on first idle.

Selection operation history is fundamentally different from the history of
operations which act on a selection in terms of both their viewport and the
amount of information required to replay them.
WRT undo, the user of a selection op doesn't care about the viewport state
at the beginning of an op, but rather that at the end of the previous one.
2015-01-02 08:01:12 -05:00
b5c9a92a58 Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers 2015-01-01 19:04:14 +07:00
d415bb7bca Add PBD::DEBUG::GUITiming debug bit 2015-01-01 19:04:14 +07:00
03833e4376 remove debug output 2014-12-31 07:57:51 -05:00
9ca0ce4b7f use clock text scaling for big clock window 2014-12-31 07:20:48 -05:00
d8405e2ebe add the ability to use cairo scaling to warp the rendering of the main clock text 2014-12-31 07:20:48 -05:00
4facff3b8e Gracefully handle MIDI parse failure. 2014-12-30 23:10:11 -05:00
2c8babf41e Fix stuck note display while recording.
This doesn't make sense, but I'm okay with that.
2014-12-30 20:06:37 -05:00
2c36e96c97 rename "Convert to Region In-Place" to "Separate" since it is known by that name elsehwere and in the code 2014-12-30 19:52:44 -05:00
e82ce75cb1 Fix display of MIDI while recording.
... almost.  There are some artifacts when you zoom out while recording that I
can't figure out, but whatever.

Also fix performance issues caused by last attempt at rec display while zoom.
2014-12-30 19:16:41 -05:00
057cf770f0 32/64bit compat 2014-12-31 01:15:39 +01:00
486d47db0e Fix smart mode cursor on audio regions. 2014-12-30 12:50:15 -05:00
ee8dbdb009 Fix internal select all. 2014-12-29 21:04:23 -05:00
937cf046a4 Fix key bindings for note trim/extend. 2014-12-29 20:50:39 -05:00
f46d4de92c Fix fallout from sooomeone's busted emacs. 2014-12-29 20:21:32 -05:00
196e29ddef remove unused code 2014-12-29 19:56:04 -05:00
3d1f955a0c Fix MIDI recording display when zoom/etc changes. 2014-12-29 18:56:39 -05:00
d00e035fe0 don't unpack and repack meters unnecessarily during LevelMeterBase::setup_meters() 2014-12-29 18:14:45 -05:00
2b955b33a3 update meters as soon as UI-settings change - amend 64fa63212f 2014-12-29 13:37:28 +01:00
d283608fe9 Automation ghost notes for percussive hits. 2014-12-28 21:31:33 -05:00
606efb601c Show correct ghost hit for percussive tracks. 2014-12-28 20:23:52 -05:00
12b18da8f6 Fix rect select of hit events. 2014-12-28 20:03:38 -05:00
b54863c8c3 Set new note velocity based on surrounding notes. 2014-12-28 19:21:46 -05:00
815a8b09e4 follow 113bc3b38e, tentative clock-font size update.
This really needs a better solution.
2014-12-29 00:05:58 +01:00
957e72724c quick hack to lighten up font scale slider tick-marks 2014-12-29 00:05:58 +01:00
4973ddc478 Fix events for short notes at region start/end. 2014-12-28 17:45:24 -05:00
6a73fd337c Update note colors when model changes. 2014-12-28 16:06:44 -05:00
4c0cebf7f9 MIDI transform dialog. 2014-12-28 16:06:44 -05:00
dbc2f59453 Remove pointless register specifier and warning. 2014-12-28 16:06:44 -05:00
31641179f9 Fix potential pop of empty enter stack. 2014-12-28 16:06:44 -05:00
000ffe2c7e reduce clumsiness of font-scale slider:
* work-around update/snap on release
* remove textual display with decimals
* towards ending the 'font-scale percent' discussion
2014-12-28 19:29:39 +01:00
f3604814a4 use ldflags for wine linking
fixes issue with eg. wine-unstable:
--also-libdir=/usr/lib/i386-linux-gnu/wine-unstable/
2014-12-28 15:18:39 +01:00
8bd53e2edb fix marker rendering and layout 2014-12-28 15:01:59 +01:00
c14f6c59db apply font-scale to overall layout (rulers, track-header) - fixes #6088 2014-12-28 15:01:49 +01:00
c2eea34fb0 add note that font-scale changes require a restart. 2014-12-28 14:09:33 +01:00
28fb110dd3 fix [rare] concurrent build issue:
[709/779] subst: headless/hardev_common.sh.in -> build/headless/hardev_common_waf.sh
[710/779] hardev_common_waf.sh: -> build/headless/hardev_common_waf.sh
chmod: cannot access `headless/hardev_common_waf.sh': No such file or directory
2014-12-28 10:20:25 +01:00
ffa6954875 fixup LED size (font-scaling)..
..until there's a better solution.
2014-12-27 18:05:42 +01:00
99cfd00e86 remove unnecessary scoping 2014-12-26 13:04:48 -05:00
c5db19bc52 fix "alt+g" duplicate range selection.
This is a somewhat wacky workaround but no there is
no better solution in sight.

Related bug:
 select range, save, quit, restart & re-load session
-> range selected but tool == object
2014-12-26 13:10:01 +01:00
12a7f12b0b Context menu for applying edits to note selection. 2014-12-25 15:32:10 -05:00
6b1c171dc2 Fix warnings. 2014-12-25 13:50:00 -05:00
1de39b8971 Add instrument selector to import dialog.
Idea here is for importing large multi-track MIDI files to be immediately
listenable upon play without tediously adding a ton of instrument plugins
manually.
2014-12-24 20:07:10 -05:00
10ad55fcf5 Factor out instrument selector. 2014-12-24 18:39:15 -05:00
49b7a46805 Fix potential memory errors with note player.
Seems unlikely, but if the event firing stuff is off, it could trigger the
issue (#5502) and/or a possible memory leak.
2014-12-24 16:54:38 -05:00
fb5ea0ca92 Fix sticky snap mode/type selectors. 2014-12-24 15:11:25 -05:00
5b28e0bc6f Fix position of AU GUIs.
I'm not sure if this will be right everywhere, but it's perfectly centered for
me and corresponds to the spacing/padding that's present, so it seems right.
2014-12-24 13:00:32 -05:00
8c8bc51034 Fix OSX build. 2014-12-24 13:00:32 -05:00
ac2b11b863 windows package details:
* add 'bug' icon for gdb
* add a shortcut to xjadeo (if installed)
* quiet rsync
2014-12-24 14:33:48 +01:00
0b471df0c3 fix clang compilation
error: call to function 'operator>>' that is neither
visible in the template definition nor found by argument-dependent lookup. 'operator>>' should be declared prior to the call site.

IOW. types.h must be included before using ‘ss >> (T) value’ in
template in pbd/configuration.h
2014-12-24 05:00:39 +01:00
bec521c6a7 proper default setup and fallbacks for video on windows 2014-12-24 01:36:46 +01:00
30c648f335 consolidate video-tool filepaths - step three:
prefer versions registered in HKLM Software\Ardour\video
2014-12-23 23:43:24 +01:00
67f6f84224 consolidate video-tool filepaths - step two:
common windows registry query
2014-12-23 23:43:24 +01:00
9c251037f0 consolidate video-tool filepaths - step one
1:1 cut/paste
2014-12-23 23:43:24 +01:00
62355de33a Fix cursor update on nested entry.
For example, if you're in a note and something about the mode changes, it's the
underlying region context that needs to change.  So, seems we need a stack of
entry contexts to deal with this sort of thing.

Switching in/out of smart mode still doesn't update immediately because we
don't have the y-coordinate needed to update it.
2014-12-23 13:47:59 -05:00
e00c579fb2 Update canvas cursor on pop. 2014-12-23 13:47:59 -05:00
ea2e80f298 fix slow behaviour when changing visible track height in Editor::set_visible_track_count() 2014-12-23 12:41:32 -05:00
7e17ccfeb7 change font scaling default in code and default_ui_config to 100%.
Incorrect value was caused by misremembering how Pango::SCALE works.
2014-12-22 21:08:01 -05:00
5cc64d0711 change font scaling default in code and default_ui_config to 100%.
Incorrect value was caused by misremembering how Pango::SCALE works.
2014-12-22 21:07:31 -05:00
d854c5d93c move ARDOUR::Configuration and ARDOUR::ConfigVariable into libpbd 2014-12-22 19:48:30 -05:00
1f0fbea628 reorder members and constructors to ensure null pointers for ARDOUR_UI::{editor,mixer} 2014-12-22 19:48:30 -05:00
1211278a2b consolidate zoom-to-range and zoom-to-regions into: zoom-to-selection. ToDo: zoom to selection of midi notes, control points, tracks(?) 2014-12-22 17:42:43 -06:00
64fa63212f move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration 2014-12-22 13:39:46 -05:00
35537aac69 fix color parsing on 32bit systems 2014-12-22 04:48:32 +01:00
113bc3b38e reduce all default font sizes on Linux by 80%
If you use font scaling of 80% you may wish to reset it to 100% to get almost the exact same font sizes as previously. Normal size is now 8pt,
rather then 10pt as before
2014-12-21 11:55:08 -05:00
fa72223268 restore ardour-style ruler labels for timecode ruler.
Also reduce font size used to a cross-platform single definition.
2014-12-21 11:55:08 -05:00
David Robillard
670938c8c4 Fix various cursor problems.
Add a new scoped cursor system that makes it much harder to screw up and end up
with stick cursors and so on.
2014-12-20 01:13:25 -05:00
21f5859981 fix double-free/crash at session close 2014-12-19 21:30:22 +01:00
1823126408 Implement configurable region selection after split
Implement the configured behaviour of region selection after split.
2014-12-19 17:12:04 +00:00
d4a3141927 Add a config option to control region selection after split.
Add a configuration variable to choose the behaviour of the region
selection after splitting selected regions.

Add options to choose between all eight possible combinations of 'existing
unmodified selected regions', 'newly-created regions to left of split',
and 'newly-created regions to right of split', but comment out all but the
three least crazy ones for now. If anyone wants them, they're there.
2014-12-19 17:12:04 +00:00
f4e0fec179 new color modifiers plus adjust default time axis view item/region transparency to 0.7 2014-12-19 12:07:04 -05:00
00887f94dc more color/modifier tweaks 2014-12-19 12:06:42 -05:00
f20933b80f allow theme control of sync mark colors 2014-12-19 10:07:20 -05:00