Commit Graph

16849 Commits

Author SHA1 Message Date
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
Robin Gareus
1128c4eeda meter metrics: ignore global font-scaling 2013-07-17 23:04:52 +02:00
Robin Gareus
d51a1ec06b add a stripe-pattern to the meters 2013-07-17 22:45:08 +02:00
Robin Gareus
a8a4c1858c use ArdourMono font for metric patterns 2013-07-17 22:39:55 +02:00
Robin Gareus
6736933385 move mixer-metric pattern to the left 2013-07-17 22:26:51 +02:00
Paul Davis
57e53d577b break symbol name cycle on non-win32-non-gcc platforms 2013-07-17 13:50:04 -04:00
John Emmas
ab628ae3c3 JOHNE - remove my earlier test file 2013-07-17 18:18:02 +01:00
John Emmas
5f15bc9f9f Merge branch 'windows' of git.ardour.org:ardour/ardour into windows 2013-07-17 18:15:51 +01:00
John Emmas
82d351f6ca JOHNE - Testing to see if I have write access to the repo 2013-07-17 16:55:24 +01:00
John Emmas
eeabf89d19 Miscellaneous header files (needed for building libpbd with MSVC) 2013-07-17 14:55:20 +01:00
John Emmas
110972e59a JOHNE source files (needed for building libpbd with MSVC) 2013-07-17 14:53:17 +01:00
Robin Gareus
406070584d fix typo 2013-07-17 15:12:13 +02:00
Paul Davis
650964f320 Merge branch 'master' into windows 2013-07-17 08:05:59 -04:00
Tim Mayberry
9cbe231b92 Use PBD::ffs for portability 2013-07-17 21:40:34 +10:00
Robin Gareus
780397d0cc possible fix for 5591 (show elements after re-adding them) 2013-07-17 13:36:37 +02:00
Tim Mayberry
5f2fcb2e32 Add PBD::ffs function 2013-07-17 19:29:34 +10:00
Tim Mayberry
11335e4bf0 Allow PBD::canonical_path to compile with mingw build 2013-07-17 19:07:23 +10:00
Tim Mayberry
f903d623e4 Use jack_client_stop_thread on windows 2013-07-17 18:15:02 +10:00
John Emmas
57f9a4c344 Merge branch 'windows' of git://git.ardour.org/ardour/ardour into windows 2013-07-17 08:24:36 +01:00
John Emmas
350ed31655 Remaining changes needed for building libpdb on Windows (except for adding the extra JE source modules) 2013-07-17 08:08:46 +01:00
John Emmas
105652ad09 Accommodate 'pthread-win32' and 'boost/regex' (for libpbd) 2013-07-17 08:06:26 +01:00
Tim Mayberry
22e15422e8 Fix ambiguous type CheckMenuItem that is also defined via windows.h 2013-07-17 16:48:40 +10:00
Tim Mayberry
c7d0a52a0b Work around badly chosen argument name in giomm 2013-07-17 16:47:56 +10:00
Tim Mayberry
e1d2f70704 Also define casting macro when using mingw compiler 2013-07-17 16:47:29 +10:00
Tim Mayberry
0444c40053 Use file modes supported by mingw compiler on Windows 2013-07-17 16:45:00 +10:00