Commit Graph

15412 Commits

Author SHA1 Message Date
John Emmas
9e873acedb Accommodate a newly introduced #define ('LIBARDOUR') when building with MSVC
These changes are MSVC specific and shouldn't affect the other builds.
2015-01-10 12:15:47 +00:00
John Emmas
821761e0c4 Accommodate a newly introduced #define ('PROGRAM_VERSION') when building with MSVC
This change is MSVC specific and shouldn't affect the other builds.
2015-01-10 12:13:33 +00:00
John Emmas
2abd8b8f06 Add a newly introduced header file to our MSVC project (libevoral)
This change is MSVC specific and shouldn't affect the other builds.
2015-01-10 11:58:58 +00:00
John Emmas
f598105966 Add support for the C99 function 'log2()' which is newly needed by 'gtk2_ardour/tempo_lines.cc' (but isn't available from MSVC).
These changes are MSVC specific and shouldn't affect the other builds.

(incidentally, libpbd already offers a function called 'fast_log2()'. Not sure if that could have been used instead...)
2015-01-10 11:56:24 +00:00
David Robillard
ca7965d7aa Fix initial display of grouped MIDI region colors. 2015-01-09 17:49:16 -05:00
David Robillard
0d66a38e75 Use quotes to include local library headers. 2015-01-09 17:48:58 -05:00
Ben Loftis
9e0cd98ad4 fix select-all-regions-within (it used to select everything overlapped) 2015-01-09 12:21:10 -06:00
Ben Loftis
a6e45a471a make set_selection_from_region do something visible 2015-01-09 12:21:10 -06:00
Ben Loftis
5b5e105680 stash Bring Into Session inside the Cleanup submenu 2015-01-09 12:21:10 -06:00
Robin Gareus
6c2c40a698 add .m2t video extension 2015-01-09 18:05:27 +01:00
Robin Gareus
0367aa5825 remove cruft (old unused pre-git version files) 2015-01-09 06:11:57 +01:00
Robin Gareus
7f72e7d879 fix LTC alignment.
LTC-slave: offset the parsed LTC-frame instead of changing the
frame's timestamp. This fixes an issue with freewheel timeout and
delta-calculation. Align transport-time with output to match
capture alignment: "with existing material".

LTC-generator: follow suit. align clock with master-bus out.
This is a semi-permanent workaround. Once [tracks feeding] the
master-bus is/are delayed to align to output. The generator
needs to use (worst_track_latency not worst_playback_latency)
2015-01-09 06:08:15 +01:00
Robin Gareus
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
David Robillard
2132b917cc Fix offset events when consolidating MIDI range. 2015-01-08 23:28:02 -05:00
David Robillard
ccde95757d More contrast between different division lines. 2015-01-08 21:10:54 -05:00
David Robillard
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
David Robillard
9f8a97112d Fix windows key bindings.
I am not sure if this is correct, but since the name in the bindings didn't
match that in keyboard.cc, the modifier was just ignored, which results in
conflicting bindings and consequent bugs.

"Meta" seems to be the name for this thing (oddly, to me), so I chose that,
though since my window manager steals this key (as basically all the standard
ones do these days) I can't tell if these bindings actually work with the
desired key.
2015-01-08 20:15:02 -05:00
David Robillard
8d98102573 Fix show MIDI regions using track color. 2015-01-08 19:59:40 -05:00
David Robillard
1256a70340 Fix inactive track header color. 2015-01-08 19:22:09 -05:00
David Robillard
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
David Robillard
3f34f0a0a4 Fix value ramps to reach specified upper value. 2015-01-08 18:47:08 -05:00
David Robillard
0aeba98cb6 Clamp value spinner when valid range changes. 2015-01-08 18:46:16 -05:00
David Robillard
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
David Robillard
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
David Robillard
b3c7578b69 Use selected fill color for selected notes. 2015-01-08 18:36:10 -05:00
David Robillard
ec17b5388f Fix bounding box of rectangles with wide outlines. 2015-01-08 18:36:10 -05:00
Ben Loftis
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
Ben Loftis
5ab70b6822 missing parenthesis 2015-01-08 16:00:49 -06:00
Ben Loftis
76cd6236e1 temporary fix: tell the user that region name-display requires a restart of ardour 2015-01-08 16:00:49 -06:00
Ben Loftis
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
David Robillard
e70c9a3da1 Show tempo lines under marker bars. 2015-01-08 15:24:14 -05:00
David Robillard
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
David Robillard
2d3e6956e6 Slightly more distinct beat/subdivision lines. 2015-01-08 14:53:41 -05:00
Robin Gareus
c1ccf8e28e prepare for release candidate tags:
regexp: /[0—9]+-[0-9]+(-rc[0-9]*)?/
<Major>-<Minor>[-rc[<num>]]
valid tag examples: 4.0, 4.1-rc3, 5.0-rc
2015-01-08 20:18:09 +01:00
Ben Loftis
87f5f333ce make MouseTool tooltips more consistent 2015-01-08 11:13:56 -06:00
Ben Loftis
fbfd6796f9 continuing menu and keybinding consolidation 2015-01-08 11:13:56 -06:00
Ben Loftis
d9a963b07e Show Measure Lines instead of Show Measures 2015-01-08 11:13:56 -06:00
Robin Gareus
659c0d093d remove hardcoded major version in build scripts 2015-01-08 17:59:41 +01:00
David Robillard
7985624037 Close polygon borders (fix partially drawn hits). 2015-01-08 11:09:38 -05:00
Ben Loftis
0fba29a67a tweak boot message so the final message makes more sense 2015-01-08 07:38:08 -06:00
David Robillard
2ef8c06464 Redisplay key bindings when reset. 2015-01-07 21:02:13 -05:00
David Robillard
56d48a927a Alow tabbing between fields in metadata editor. 2015-01-07 20:56:39 -05:00
David Robillard
2eef0612b9 Start step entry at playhead. 2015-01-07 20:46:21 -05:00
David Robillard
4fd3adda01 Fix select all before/after edit point. 2015-01-07 20:44:26 -05:00
David Robillard
69069e0381 Fix whitespace (noop). 2015-01-07 20:12:14 -05:00
David Robillard
e705e93376 Don't select regions with an internal tool. 2015-01-07 20:04:39 -05:00
David Robillard
3a47d99f5f Fix internal/external snap type restoration. 2015-01-07 19:51:18 -05:00
David Robillard
84412e1367 Draw beat sudivisions according to snap setting. 2015-01-07 19:05:41 -05:00
David Robillard
04bbe402b0 Factor out grid beat divisions. 2015-01-07 19:05:41 -05:00
Robin Gareus
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