13
0
Commit Graph

8118 Commits

Author SHA1 Message Date
e3da18fd2f fix copy/drag abort. 2015-01-24 20:40:07 +01:00
22435bb53d make MouseCursors invalid cursor API be static; use to initialize default cursor value in Drag API; use C API to set canvas cursor 2015-01-24 12:26:58 -05:00
90c1e0ffd2 allow use of null pointer as a valid cursor (implies using cursor of parent window) 2015-01-23 15:19:36 -05:00
fe08965d91 fix indentation from prior commit 2015-01-23 13:45:21 -05:00
GZharun
6976a78100 [Summary] Fixed bug 45163: Trim range from right corner of timeline leads Tracks to crash
[Details] Crash was provoked because of an attempt to add commands to the session reversible command, but when autoscroll started and trim began with autoscroll the session reversible command was not created for for Trim Drag.
2015-01-23 13:43:52 -05:00
1473442204 fix crash at exit if location-ui was used
LocationEditRow members are destroyed after ~LocationUI()
destroys the clock_group. -> segfault in ~LocationEditRow()
2015-01-23 02:24:26 +01:00
611073790b move control app button adjacent to sample rate and bufsize settings 2015-01-22 15:00:13 -06:00
dcaf8d89c1 remove channelcount selectors for mixbus 2015-01-22 14:54:56 -06:00
01d99870ff update selection clock 2015-01-21 22:26:14 +01:00
c7c8cc7dc7 set Theme buttons on state reset
cleaner version of last commit, set GUI elements
on state-reset.
2015-01-21 20:24:39 +01:00
0c8947491a initialize theme > gradient sliders. 2015-01-21 19:41:15 +01:00
f282884094 apply Theme > “Show waveform clipping”
fixes http://tracker.ardour.org/view.php?id=5589#c15515
2015-01-21 19:35:04 +01:00
nick_m
ae7b978b0b Fixes for when rubberbanding_snaps_to_grid config setting is off.
The initial point and the ultimately selected items were always following
the snap settings. Also the VCC was displaying incorrectly on button press.
2015-01-20 04:49:44 +11:00
d2fa2450aa use C locale, because POSIX locale is not supported on windows, and operation is undefined. C works on all platforms 2015-01-19 07:29:25 -06:00
49047e4dc9 consistent display of period-size. 2015-01-17 22:42:20 +01:00
03523f6703 fix panner send-strip color 2015-01-17 22:02:36 +01:00
cc221ea3c3 display current buffer size - hopefully w/o breaking ASIO 2015-01-17 21:29:14 +01:00
964c85a061 fix 20ea90a1 for winegcc 2015-01-17 21:11:27 +01:00
d2cbb28f79 Engine Dialog: fix various signal connections
connect/disconnect button was connected multiple times
Also the button allowed to start a backend with
invalid settings (after changing backend).

Q: does “Connect to” make sense? It’s redundant with 
“Apply”.
2015-01-17 21:03:56 +01:00
f77c923bee engine dialog fix buffersize sensitivity 2015-01-17 21:03:56 +01:00
7d88dc3202 update engine dialog UI state
fixes crash when jack is started externally
and the dialog is displayed later.
The current state e.g. avail buffer sizes is not
are queried from the backend, Apply,OK -> crash
because the dropdown is empty)
2015-01-17 21:03:56 +01:00
nick_m
d312bf1d7a Fix some ignored region selection changes (probably others).
Fix ignored right click track selection change.
2015-01-18 05:25:23 +11:00
20ea90a186 waf: fix concurrency issue with duplicate targets
The same source file cannot safely be used in different wscripts
with concurrency (if they were in the same wscript it works
.c.1.o .c.2.o, etc).


[387/764] c: libs/fst/vstwin.c -> build/libs/fst/vstwin.c.1.o
[731/764] c: libs/fst/vstwin.c -> build/libs/fst/vstwin.c.1.o
[746/764] cxxprogram: build/libs/fst/scanner.cc.1.o build/libs/fst/vstwin.c.1.o -> build/libs/fst/ardour-vst-scanner.exe
[750/764] cxxshlib: [...]  build/libs/fst/vstwin.c.1.o [...] -> build/libs/ardour/ardour-3.dll

and about one every full moon (depending on concurrency) it failed:
missing file: 'build/libs/fst/vstwin.c.1.o'
2015-01-17 18:19:25 +01:00
a58730e8f9 Revert "Kludgey fix for invisible playhead when scrolled."
This reverts commit 8f823388d9.
2015-01-16 22:06:10 -05:00
8f823388d9 Kludgey fix for invisible playhead when scrolled.
The problem this is avoiding makes absolutely no sense.  Either I'm dumb, or
something is more deeply wrong with scroll group bounding boxes, or both, but I
don't care anymore.  This works.  Viva release mode.
2015-01-16 21:04:38 -05:00
14a235ca8a fix 05a612b 2015-01-17 01:26:29 +01:00
b759fd5879 Put playhead on top of everything.
Achieve this by adding a new hscroll group just for cursors.

That requires a slightly smarter window_to_canvas() to deal with overlapping
sensitive scroll groups.  New rule is that scroll groups can overlap, but the
most sensitive one found from the top down will be chosen to translate
coordinates.  This basically means don't overlap scroll groups with different
sensitivities.

In the presence of scroll groups, having a canvas-wide window_to_canvas()
and/or canvas_to_window() fundamentally makes no sense.  At some point in the
glorious future we should kill those and use only item-relative coordinate
translation.
2015-01-16 19:13:56 -05:00
8565470797 Fix hidden notes at trimmed region start. 2015-01-16 14:52:40 -05:00
nick_m
ade1c4923c Fix note resize double undo bug.
Newly drawn notes are selected.
Clear midi note selection on Selection::set_state().
2015-01-17 04:55:05 +11:00
4166b05bda Fix setting command key bindings on OSX. 2015-01-14 20:31:38 -05:00
af1a064ebf don’t show “-all-“ group with currently does nothing. 2015-01-14 20:10:34 +01:00
nick_m
18c502f646 Reduce selection loss when changing mouse modes.
Never change selection when smart mode toggled.
2015-01-15 01:39:00 +11:00
nick_m
44f2f53cde A test for less brutall deselection on mouse mode change.
Mostly stops toggling smart mode from doing anything to the selection.
2015-01-15 00:06:16 +11:00
e1f8112f81 toggling smart mode is just an option.
it should not force mouse-mode to Object
it should not clear the current object selection
2015-01-14 06:30:16 -06:00
59bb3fbe65 Remove drag code from automation region view.
Let the editor handle it like (almost) everything else.
2015-01-13 23:53:28 -05:00
d39d4c1c11 Fix automation range drag and implement for MIDI.
Range select rect sticks around now after switching to the draw tool, but
disappears if a note selection is made.  Not sure if draw is really the most
appropriate tool here (particularly if we ever implement actual pencil-like
drawing); edit contents seems more appropriate but that would probably cause
more selection issues, so here we are.
2015-01-13 23:30:37 -05:00
88e6995b14 when the mouse tool changes, smart mode should have no effect on clearing selections 2015-01-13 13:33:57 -06:00
nick_m
5ef868e767 Don't reuse _optimization_iterator - fixes crash on multiple note delete undo. 2015-01-13 22:52:02 +11:00
nick_m
7a3662bc14 Fix missing selection undo for track header click and route list select. 2015-01-13 21:41:30 +11:00
877492ef8a Give tempo dialog initial focus to BPM spinner. 2015-01-13 01:00:53 -05:00
45aa1e50b7 show title bar for big clock window
fixes #6116
(on OSX and [most] Linux WMs the title-bar was implicitly present)
2015-01-12 22:55:09 +01:00
c5252599bc Don't default to grab mode when undoing selection.
I'm not sure how/why this ever happens, but it does, switching the tool when it
shouldn't, which is annoying.  I'm also not sure if this fallback is necessary
for some reason, but it seems to work fine without for me.
2015-01-12 02:31:27 -05:00
305af7a5ce Fix whitespace. 2015-01-12 02:06:40 -05:00
ba9a90b927 Merge duplicated code. 2015-01-12 02:06:40 -05:00
8b47241596 Trim include tree. 2015-01-12 02:06:35 -05:00
4438263d4d Fix crash when undoing note delete. 2015-01-12 02:03:49 -05:00
1df6931e77 Fix broken whitespace (noop). 2015-01-12 01:05:01 -05:00
cd15d27033 Put tempo lines below tracks. 2015-01-12 01:05:01 -05:00
43e58911a4 Remove unused vertical scroll group. 2015-01-12 01:05:01 -05:00
e79af77a18 Revert "hotfix z-stacking"
This reverts commit 03f0229bcf.

Mitigate the fallout from said overly aggressive revert: preserve the alpha
values to not break the color configuration for when the lines are fixed.
2015-01-12 01:03:17 -05:00
c7affd79c2 remove track-selection requirement so fit_selected_tracks works as coded. change name to fit-selection. remove action to zoom (both axes) because this can trivially be accomplished by clicking (f)it and (z)oom sequentially, and it frees a keybinding. remaining bug: Fitting a selection of MIDI regions doesnt work right 2015-01-11 11:46:36 -06:00
03f0229bcf hotfix z-stacking
This reverts commit 780c1762 and e70c9a3
Both combined introduced various bugs:

* rubberband-selection has a scroll-offset
* region drag/drop has wrong y-offset
* ranges (loop etc) are above the playhead
* possible scroll performance hit (long unclipped
  lines in h_scroll_group)

on the downside: time-grid is now no longer visible behind
the rulers. Doing that will require a different approach…
2015-01-11 14:17:47 +01:00
764aad9efe clean up whitespace & debug output in 44203ce 2015-01-11 02:56:53 +01:00
0a5d5f91c9 Raise threshold for showing ticks for a bit.
This fixes two zoom levels (the closest that shows bars, and the next closest)
that had the same tick resolution despite enough space.
2015-01-10 19:38:37 -05:00
780c17620e Raise regions about tempo lines. 2015-01-10 19:38:21 -05:00
38c2bdc856 gracefully handle missing .midnam
Fixes bug: Add a .midnam to local preferences.
use it in a session. delete the .midnam,
reload session -> crash
2015-01-10 19:31:50 +01:00
nick_m
44203ce955 Fix AutomationTrackItem rubberband click thinking it was unhandled.
Fix several other cases where a single mouse click could cause several
(not nested) selection ops.
Fix missing selection memento for midi notes and midi commands.
Rename some variables.
Fix random style issues.
2015-01-11 04:07:31 +11:00
ca7965d7aa Fix initial display of grouped MIDI region colors. 2015-01-09 17:49:16 -05:00
0d66a38e75 Use quotes to include local library headers. 2015-01-09 17:48:58 -05:00
9e0cd98ad4 fix select-all-regions-within (it used to select everything overlapped) 2015-01-09 12:21:10 -06:00
a6e45a471a make set_selection_from_region do something visible 2015-01-09 12:21:10 -06:00
5b5e105680 stash Bring Into Session inside the Cleanup submenu 2015-01-09 12:21:10 -06:00
6c2c40a698 add .m2t video extension 2015-01-09 18:05:27 +01:00
0367aa5825 remove cruft (old unused pre-git version files) 2015-01-09 06:11:57 +01:00
7235ece898 Revert "don't unpack and repack meters unnecessarily during LevelMeterBase::setup_meters()"
This reverts commit d00e035fe0.

..which introduced a bug.

Meter count and type may change when switching the meter point or simply
when selecting a different track in the editor-mixer. Additional meters
were not unpacked and remained on canvas.

Ideally we'd just remove the excess meters or meters where the type
changed, but that's far more complex than just repacking them all.
2015-01-09 06:08:15 +01:00
ccde95757d More contrast between different division lines. 2015-01-08 21:10:54 -05:00
12bf085a34 Stop showing bar lines sooner.
Not sure if this is a DPI dependent thing, but when zooming out some of the
steps had way too dense bar lines for me.
2015-01-08 21:10:13 -05:00
8d98102573 Fix show MIDI regions using track color. 2015-01-08 19:59:40 -05:00
1256a70340 Fix inactive track header color. 2015-01-08 19:22:09 -05:00
57947ff5a8 Prevent note trim to zero length (shown as stuck).
The reasonable value 1 tick doesn't seem to work here, presumably it gets lost
in rounding conversion somewhere.  Instead use a really small power of two
reciprocal.  Once we use actual beats and ticks we can fix this to be a minimum
of one tick (the actual minimum length for a note).
2015-01-08 19:13:00 -05:00
3f34f0a0a4 Fix value ramps to reach specified upper value. 2015-01-08 18:47:08 -05:00
0aeba98cb6 Clamp value spinner when valid range changes. 2015-01-08 18:46:16 -05:00
7fac335f77 Meter-like note colours, but still mostly green.
The previous colours made low velocity notes almost invisible.  This fixes that
and attempts meter-like colours where yellowish is high, but without going all
the way into red for a generally consistent range of colors.
2015-01-08 18:36:10 -05:00
1b2377e425 Use the subtlest red we have for selected tracks.
The purple doesn't match anything anymore, red is our "selected" color.
2015-01-08 18:36:10 -05:00
b3c7578b69 Use selected fill color for selected notes. 2015-01-08 18:36:10 -05:00
f7e3d1be2c change Split menu entry to say Split/Separate (it was already doing that anyway). also fix a bug so you can drag the playhead and split at the playhead location 2015-01-08 16:00:49 -06:00
5ab70b6822 missing parenthesis 2015-01-08 16:00:49 -06:00
76cd6236e1 temporary fix: tell the user that region name-display requires a restart of ardour 2015-01-08 16:00:49 -06:00
e0964ea69a temporarily hide the tooltip preference, until CairoWidget and CanvasItem can see the config setting. it doesnt seem to be a priority since clearly nobody is using this button 2015-01-08 16:00:48 -06:00
e70c9a3da1 Show tempo lines under marker bars. 2015-01-08 15:24:14 -05:00
fe71dd3d81 More consistent canvas base colours.
General ideas: audio is blueish, MIDI is greenish, automation track colour is a
slightly darker version of its parent track colour, canvas base is the same as
the Gtk base.
2015-01-08 14:56:47 -05:00
2d3e6956e6 Slightly more distinct beat/subdivision lines. 2015-01-08 14:53:41 -05:00
87f5f333ce make MouseTool tooltips more consistent 2015-01-08 11:13:56 -06:00
fbfd6796f9 continuing menu and keybinding consolidation 2015-01-08 11:13:56 -06:00
d9a963b07e Show Measure Lines instead of Show Measures 2015-01-08 11:13:56 -06:00
2ef8c06464 Redisplay key bindings when reset. 2015-01-07 21:02:13 -05:00
56d48a927a Alow tabbing between fields in metadata editor. 2015-01-07 20:56:39 -05:00
2eef0612b9 Start step entry at playhead. 2015-01-07 20:46:21 -05:00
4fd3adda01 Fix select all before/after edit point. 2015-01-07 20:44:26 -05:00
69069e0381 Fix whitespace (noop). 2015-01-07 20:12:14 -05:00
e705e93376 Don't select regions with an internal tool. 2015-01-07 20:04:39 -05:00
3a47d99f5f Fix internal/external snap type restoration. 2015-01-07 19:51:18 -05:00
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
b73477b250 add more controllable modifiers for region transparency 2014-12-19 09:53:51 -05:00
David Robillard
d936e6f3b5 Expand transport buttons to fill vertical space. 2014-12-18 23:20:17 -05:00
95042d941d Move object tool to "grab" tool (key g).
Makes all tools under the left hand and eliminates the need for toggling.
2014-12-18 20:33:10 -05:00
341146a975 Remove mouse mode toggling. 2014-12-18 20:26:43 -05:00
66870ddf09 Restore snap when switching to/from internal. 2014-12-18 20:23:34 -05:00
6031308520 Use color modifiers for dynamic region styles. 2014-12-18 20:23:34 -05:00
a12a065457 Fix copy paste of MIDI and track automation. 2014-12-18 20:23:34 -05:00
026f7bf5b7 Make MIDI regions translucent for internal tools. 2014-12-18 20:23:23 -05:00
7ab8a11fb5 Enforce internal/external selection exclusivity. 2014-12-18 20:22:48 -05:00
cebf191cba Make tools toggle-like by switching to last mode. 2014-12-18 20:21:05 -05:00
5fef655380 Remove internal edit mode and add "content" tool. 2014-12-18 20:21:01 -05:00
4453803c0c This fixes a bug where an impossible keybinding assignment is possible.
It also makes it behave similar to the gtk keybinder. See Bug 5888 for more
details. From pull request #82 @ github, from Domohawk
2014-12-18 11:14:41 -05:00
0d771999ac expand help menu with various useful entries.
From Georg Kraus. Addresses #5783, and was github pull request #67. Manually applied via .diff because of merge mechanics issues
2014-12-18 11:09:10 -05:00
nick_m
9af9e17adc Add editor selection state to session history via a SelectionMemento, which
combines selection related editor properties with the current editor selection.

The related editor properties are:
mouse mode,
zoom setting,
left frame of the canvas,
y origin of the canvas.

Selection state now includes region views (storing the underlying region id)
and time.

This patch also fixes a region mute undo bug.
2014-12-18 11:03:10 -05:00
Julien de Kozak
2c8a769aae Fix crash if new tempo is set to start at bar #0 / Follow-up for non movable meters 2014-12-18 10:49:12 -05:00
Julien de Kozak
d2e966aac4 Fix crash if new tempo is set to start at bar #0 / Follow-up for non movable tempos 2014-12-18 10:49:12 -05:00
Julien de Kozak
444ec162ae Fix crash if new tempo is set to start at bar #0 2014-12-18 10:49:12 -05:00
5f66300349 Support stepping bank by shift+scroll/arrow. 2014-12-17 20:18:11 -05:00
d2cafbe95a Remove some aborts that don't really need to be.
Enforce PatchPrimaryKey sanity at the type level rather than attempting to
check for it everywhere.

Remove dead file.
2014-12-17 19:43:09 -05:00
6e912a0aa3 Fix display of MIDI notes/regions while recording.
Make record rect transparency configurable.

Factor out some copy-paste streamview code.
2014-12-17 18:41:23 -05:00
0f63ac06a4 Remove unused variables. 2014-12-17 18:41:23 -05:00
a706755710 Fix various MIDI locking issues.
Attempt to make mistakes much less likely in the future by statically requiring
caller to pass scoped locks where necessary.
2014-12-17 16:07:29 -05:00
1fa9edd872 insensitive buttons should be shaded towards the gtk_background color, not hardcoded gray 2014-12-17 14:17:32 -06:00
da2043e179 Force ghost note positive in all circumstances. 2014-12-17 03:17:07 -05:00
733f517948 Fix potential crash when right clicks go astray.
This should be impossible, since nothing but an audio region should have a fade
to begin with, but just doing nothing in this case does no harm.
2014-12-17 03:06:23 -05:00
5ee4a5d56a Don't allow drawing notes in rec regions (crash). 2014-12-17 02:50:45 -05:00
e0cb9efb00 Various color tweaks.
This commit changes some color names, nuke your theme.  This isn't quite ideal
yet, but takes some steps towards where I think things should go aesthetically:

Make automation tracks/regions colors correspond to their parent's type.

Make selected MIDI notes outlined in red like most everything else, and scrap
separate min/mid/max fill colors for selected MIDI notes.

Color automation ghost MIDI notes based on original note color.

Try to kill 90's looking brightish gray gradients in general.
2014-12-16 00:05:45 -05:00
211f8f61d7 Fix control point colors. 2014-12-16 00:04:06 -05:00
e90ecdd5c5 Fix marker bars "gradient" colors. 2014-12-16 00:02:06 -05:00
f8ae456aaa fix editing of nested/group item colors in theme manager 2014-12-15 15:54:10 -05:00
76733daf63 add some alpha to "covered region" coloration 2014-12-15 14:49:17 -05:00
f88804b788 fix some missing color definitions 2014-12-15 14:31:43 -05:00
5471ef8a79 make editor rubber band rect have appropriate transparency 2014-12-15 13:37:25 -05:00
a5aa2df6fc add localeguard to read floating point values correctly when loading theme modifiers 2014-12-15 13:30:56 -05:00
4791c51d0f tweak up transparency editor in theme panel 2014-12-15 12:48:31 -05:00
f6e88ead01 move theme manager into preferences window 2014-12-15 12:32:41 -05:00
8b23001441 add editor to Theme Manager for modifiers 2014-12-15 12:07:05 -05:00
94b6dd7f87 final modifier 2014-12-15 10:47:51 -05:00
2145fd2973 next 2 modifiers 2014-12-15 10:46:15 -05:00
eac478495e next modifier 2014-12-15 10:43:39 -05:00
bf7fa8e3db next modifier 2014-12-15 10:41:46 -05:00
d8594a9b20 remove unused color 2014-12-15 10:37:50 -05:00
aa8fa1fe4f next modifier 2014-12-15 10:36:38 -05:00
1ab2705b4b next modifier 2014-12-15 10:32:17 -05:00
651fc9f68e next modifier 2014-12-15 10:25:42 -05:00
bd6682f2cd next modifier 2014-12-15 10:22:22 -05:00
1fd681604e next modifier 2014-12-15 10:21:08 -05:00
7b023f4ee0 next modifier 2014-12-15 10:11:21 -05:00
666f33b463 next modifier 2014-12-15 10:02:20 -05:00
ccbedaee51 next modifier 2014-12-15 10:00:20 -05:00
3b863af475 remove color 105 since nothing uses it 2014-12-15 09:48:13 -05:00
04a1893ffd next modifier, and remove color 102 since nothing uses it 2014-12-15 09:47:39 -05:00
7995f4f61e next modifier 2014-12-15 09:30:14 -05:00
70e517380c add 22 modifiers to dark.colors and start using the first one (for crossfade alpha) 2014-12-15 09:05:25 -05:00
811677c543 fix incorrect item name for color 2014-12-15 09:05:01 -05:00
dc934ab90d Add UIConfiguration::color_mod (colorname, modifiername) to get a modified color 2014-12-15 09:04:41 -05:00
4908685d5e fix meter color definitions (extra 0x in every one) 2014-12-15 07:50:45 -05:00
ef26a862e9 add missing UIConfiguration::modifier() 2014-12-14 23:48:20 -05:00