Commit Graph

31223 Commits

Author SHA1 Message Date
Robin Gareus
c4c70c347d use fixed fall-off time for k-meter 2013-07-23 19:13:45 +02:00
John Emmas
78974b2df9 'libs/evoral' - Windows specific includes 2013-07-23 17:10:06 +01:00
John Emmas
f6b0b4c0d7 'libs/evoral' - Remove ambiguity about which version of 'abs()' we need 2013-07-23 16:59:15 +01:00
John Emmas
3fb18593c6 'libs/taglib' - Remove 2 further symlinks which needn't be under git control 2013-07-23 16:57:27 +01:00
Colin Fletcher
8e376f7a2a Fix special handling of 'zoom vertical' scroll wheel modifier key.
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of
the modifier key used to adjust track heights in conjunction with the
scroll wheel, so that the same track continues to be resized even when
it's shrunk to no longer be under the mouse cursor. However, this code
assumed that the modifier key for this was <Shift>.

Fix it to use the event->state bit corresponding to
ScrollZoomVerticalModifier instead, and rename the relevant functions to
clarify that it's the 'zoom vertical' modifier key they're dealing with.

Partially fixes #5610.
2013-07-23 16:42:34 +01:00
Paul Davis
d5209cb4bf fix #5609 (import with 1 track per channel mis-associates tracks + channels)
when using ImportDistinctChannels, correctly name regions so that playlists for each channel/track
are also named differently, and thus reloaded properly when the session is reloaded.
2013-07-23 11:29:10 -04:00
Robin Gareus
8013160eb3 meterbridge metrics update:
* display metrics for every used meter-type
* show metrics between meters with differnet types
* update text and label alignment for meterbridge
* fix crash when deleting metrics-strip (zero route)
* clean up metric pattern code (use float for dBFS)
2013-07-23 13:30:23 +02:00
John Emmas
227380ea0c 'libs/taglib' - Remove 52 x symlinks which needn't be under git control 2013-07-23 08:12:00 +01:00
John Emmas
bc34d6f731 'libs/evoral' - For each of the NNNN_lower_bound() functions (3 in total) add a non-const iterator to supplement the existing const_iterator 2013-07-23 07:56:30 +01:00
John Emmas
af51ef383d 'libs/evoral' - Through a compiler extension gcc can implement an array whose size in not known at compile time. MSVC doesn't have this extension. Therefore, use std::vector instead 2013-07-23 07:53:57 +01:00
John Emmas
f9b99edc4a 'std::isnan' is not available in MSVC (at least, not VC8) 2013-07-23 07:50:25 +01:00
John Emmas
453ed61c4a 'libs/evoral' - cast the returned pointers from malloc() / g_ptr_array_index() etc, as needed to satisfy MSVC 2013-07-23 07:47:10 +01:00
John Emmas
1cb37fc11c Remove an unnecessary #include that prevents 'libs/evoral' from building with MSVC (more evoral changes to follow) 2013-07-23 07:43:48 +01:00
John Emmas
d0a6c19134 Remove some unnecessary warnings when building 'libs/qm-dsp' with MSVC 2013-07-23 07:40:17 +01:00
Robin Gareus
06e7ad67ae restore session backwards compatibility to 3.3 2013-07-22 19:59:24 +02:00
Robin Gareus
df17094b47 minor tweaks to meter-names and legend 2013-07-22 19:56:30 +02:00
Robin Gareus
708edd5866 implement new meter types 2013-07-22 18:45:08 +02:00
Robin Gareus
72aa1cd86c Revert "Revert new meter types (postponed until after 3.3 release)"
This reverts commit d80f672e84.
2013-07-22 18:42:01 +02:00
Robin Gareus
e294e78fef re-nice rendering of channel-splitting icon 2013-07-22 18:41:32 +02:00
Tim Mayberry
b889a3d2f9 Use common mingw build script to reference location of windows test image 2013-07-22 13:44:32 +10:00
Tim Mayberry
f3fe3cfeaa Fix reference to new location of windows test image 2013-07-22 13:44:32 +10:00
Tim Mayberry
486720de61 Use Glib::usleep for portability 2013-07-22 13:44:32 +10:00
Tim Mayberry
ccaa29d210 Use Glib::usleep for portability 2013-07-22 13:44:32 +10:00
Tim Mayberry
d975d84437 Use GLib::usleep for portability 2013-07-22 13:44:32 +10:00
Tim Mayberry
c0e65452b1 undef SearchPath where needed as it is defined via windows.h 2013-07-22 13:44:32 +10:00
Tim Mayberry
533e40ca52 Work around badly chosen argument name in giomm/dbusmessage.h
interface is defined in windows/mingw headers. hopefully this will
be fixed in giomm at some point and this crap can be removed
2013-07-22 13:44:32 +10:00
Tim Mayberry
f383585094 Disable some code on MinGW build until it can be tested NEEDS FIXING
Windows has the function strtok_s which is equivalent to strtok_r in versions
of msvcrt in Vista and above but not win XP. So either reimplement for WinXP or replace
with something more portable and C++'y.
2013-07-22 13:44:32 +10:00
Tim Mayberry
f42c514631 undef SearchPath where needed as it is defined via windows.h 2013-07-22 13:44:32 +10:00
Tim Mayberry
fee2c9d71f Fix ambiguous type CheckMenuItem that is also defined via windows.h 2013-07-22 13:44:32 +10:00
Tim Mayberry
61c8e093ef Use PBD::ffs for portability 2013-07-22 13:44:32 +10:00
Tim Mayberry
c4e02af713 Fix for ambiguous Polygon type when building with MinGW 2013-07-22 13:44:32 +10:00
Tim Mayberry
b02fb1dbea Reinstate include of regex.h for Linux and MinGW build
I'm not sure how boost/regex.h is relevant but it doesn't enable the
build to succeed in on Linux or using Mingw so if this is not an error
and required for msvc build then fix it
2013-07-22 13:42:05 +10:00
Tim Mayberry
77cea1181e Fix broken using declaration in vamp-plugins 2013-07-22 13:41:15 +10:00
Tim Mayberry
5ef3d54acb Add some dll's to list to copy to mingw based windows package
These are some new dependencies in Fedora 19 mingw packages
2013-07-22 13:41:15 +10:00
Tim Mayberry
f7e3b01e23 Use cross-platform packaging version script in MinGW build 2013-07-22 13:41:14 +10:00
Tim Mayberry
d3850612b4 Disable building all surface plugins on MinGW build 2013-07-22 13:41:14 +10:00
Tim Mayberry
ed9dd5ca62 Enable lxvst support by default and then disable for build targets that don't support it 2013-07-22 13:41:14 +10:00
Tim Mayberry
56a6f52856 Remove lxvst variable from wscript that was no longer in use 2013-07-22 13:41:14 +10:00
Tim Mayberry
d0deae357b Remove tools/sanity_check dir from build in mingw cross compile
This is already added to build further down. I believe this is result of
a partially applied patch.
2013-07-22 13:41:14 +10:00
Tim Mayberry
1e9301a713 Define PLATFORM_WINDOWS and COMPILER_MINGW when dist target is set to mingw 2013-07-22 13:41:14 +10:00
Tim Mayberry
e39bf4d82c Correct file perms on to make scripts executable in windows build files 2013-07-22 13:41:14 +10:00
John Emmas
53f1cb2a0f Modify 'libs/vamp-plugins' to be buildable with MSVC 2013-07-20 08:30:40 +01:00
Colin Fletcher
bf408d60c8 Wrap calls to add_shortcut_folder() in try { ... } block.
Gtk::FileChooserButton::add_shortcut_folder() throws a Glib::Error
exception if the folder being added already has a shortcut, causing the
'New session' dialogue to appear empty when choosing 'New...' from the
Session menu. This happens if Ardour's default session folder is
set to a location that has a standard shortcut in the Gtk file chooser,
e.g. the user's home directory, desktop, &c.

Catch the exception in ArdourStartup::setup_new_session_page(), so that the
'New session' dialogue appears as expected, and likewise in
ARDOUR_UI::open_session() to avoid a similar problem there.

Fixes #5591.
2013-07-19 12:10:41 +01:00
Robin Gareus
649cf189e8 update processor-name (short|long) when mixer-strip width changes 2013-07-19 10:37:49 +02:00
Robin Gareus
b91caf557c adjust meter-width when configuration changes
fixes http://tracker.ardour.org/view.php?id=5592
2013-07-19 10:37:00 +02:00
John Emmas
9d774969fc Adapt libs/pbd/ffs.cc to be buildable with MSVC 2013-07-18 12:08:34 +01:00
Robin Gareus
f0a3f1ea52 reset meter when meter-point changes 2013-07-18 09:01:47 +02:00
Robin Gareus
d2c39db64d mixer metric background color fix (MIDI & inactive)
fixes http://tracker.ardour.org/view.php?id=5594
2013-07-18 09:00:24 +02:00
Robin Gareus
55c5a76e8b revert to right-side mixer metric-labels 2013-07-17 23:33:23 +02:00
Robin Gareus
3475ea4b22 don't hide ticks in narrow mode 2013-07-17 23:11:48 +02:00