Commit Graph

46 Commits

Author SHA1 Message Date
luz paz
3d395585c1
Fix various typos
Found via `codespell -q 3 -S *.po,./share/patchfiles,./libs -L ba,buss,busses,doubleclick,hsi,ontop,ro,seh,siz,sord,sur,te,trough,ue`  
Follow-up to 364f2f078
2022-04-08 19:51:02 +02:00
John Emmas
a222292e68 Emulate exp2f() for older MS compilers where it wasn't available 2021-05-05 17:50:41 +01:00
John Emmas
66d63dde89 A few extra changes needed to support the latest version of libpthread for Windows 2021-01-30 13:59:22 +00:00
John Emmas
b496a71d2e Some preliminary changes needed to support building with VS2019
(these get me about as far as 'libardour' )
2021-01-30 13:55:25 +00:00
John Emmas
f4be03ac8f Move MSVC's declaration of VST3_SUPPORT to the right place
(reverts commit #ae2a1c15fa)
2020-09-22 12:21:20 +01:00
John Emmas
8cea355906 Moving Controllable::set_interface() into a 'cc' file makes it easier to fix our MSVC build issue (with min + max) 2020-06-20 09:38:00 +01:00
John Emmas
4dd3d4effe Some initial changes (currently for libpbd only) to help a new contributer who's trying to build with MSVC2017
These changes compile okay for me (using VS2019) although they wouldn't link to my older-built libraries. Hopefully he'll be okay if he builds everything with the same compiler.
2020-03-26 10:40:36 +00:00
John Emmas
e3ad436bda Update 'CURRENT_SESSION_FILE_VERSION' for our MSVC builds 2020-03-14 11:23:26 +00:00
John Emmas
e510a8555d Minor changes needed to make the 'mp3 import' sources build with MSVC
(MSVC project changes to follow...)
2019-12-08 15:01:59 +00:00
d986049ed8 Remove my BOOST_MPL declarations (as BOOST_MPL seems to have been removed more generally) 2019-09-20 11:32:58 +01:00
37194ec805 Introduce the BOOST_MPL stuff (though it all seems a bit flaky with MSVC...) 2019-09-18 15:08:26 +01:00
0301c47f6b
Update core library GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
30d59c8f6e Remove support for building against LV2 older than 1.2.0
LV2 1.2.0 was released in 2012, over 6 years ago now.
2019-04-10 10:24:33 +02:00
556cf7a215 Oops - I got the session file numbers the wrong way around :-( 2018-09-11 18:52:20 +01:00
79f01bc889 Initial changes needed for building Mixbus (with MSVC) as version 5
(Mixbus itself will probably need extra changes)
2018-09-10 07:14:59 +01:00
b9c9777b9a When building with MSVC, allow for the fact that Mixbus and Ardour can be using different versions of the SESSION_FILE format 2018-02-15 09:03:32 +00:00
715b9a959a Remove a JE addition to one of the qm-dsp source files (no longer needed) 2017-02-06 09:47:10 +00:00
5dabe45341 Some minor changes in preparation for building the newer Vamp plugins 2017-02-05 15:05:32 +00:00
9df3a2a547 When building with MSVC some of the header file stuff is only relevant in early versions (e.g. VC8) 2016-09-30 08:24:51 +01:00
8e2d1c7f2a Move 'round()' / 'trunc()' etc so that they won't conflict with any versions already available in MSVC 2016-08-19 14:11:01 +01:00
a0b117b948 'roundf()' wasn't introduced in MSVC until VS2013 - so for the time being, let's emulate it using 'floorf()' 2016-08-19 14:11:00 +01:00
22e031135a Emulate 'log1p()' and 'expm1()' using 'log()' and 'exp()'
(for MSVC which didn't implement those functions until very recent versions).
2016-05-28 19:07:22 +01:00
dc1a2fbca7 MSVC won't compile 'const float _demolition[]' because it uses 'divide by zero' while initializing
Hopefully we can use INFINITY and NAN for the relevant initializers ?
2016-05-03 17:30:58 +01:00
bb520c26ad Move the preprocessor directive GTKMM_ATKMM_ENABLED so it'll get #defined at an earlier stage
When building any program that uses Gtkmm (with Atkmm support) ALL modules need to agree about the status of GTKMM_ATKMM_ENABLED. Otherwise 'Gtk::Widget' can have different sizes in different modules. If that happens we can end up with all manner of inexplicable run-time crashes and hangs.

GTKMM_ATKMM_ENABLED gets #defined in 'gtkmmconfig.h'. So let's #include that file at the earliest possible opportunity (where we know it'll then have a consistent value for every compilation unit).
2015-12-23 15:09:16 +00:00
8b5474b9e1 For MSVC builds, implement 'rint()' and 'rintf()' to supplement the ones that were already implemented 2015-04-24 19:11:10 +01:00
5ec93d18e1 When building with MSVC add a couple of new pragmas to cut down on the most frequent compiler warnings, namely:-
1) C4244 (conversion loses data) - e.g. when re-assigning a var of (say) int64_t to a lesser type, such as int32_t

2) C4275 (an exported class was derived from a class which is not exportable) - e.g. when deriving classes from std::set, std::exception or some other class which isn't declared with 'dllexport'
2015-02-13 11:37:00 +00:00
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
324ab35abc Use precise define names for LV2 version configure checks. 2014-10-31 20:46:09 -04:00
8d12ebd972 MSVC - add support for 'HAVE_NEW_LV2'
(after updating to the latest versions of serd, sord, sratom and lilv)
2014-10-08 15:11:27 +01:00
fa45202811 Change the function signature for 'abs(int64_t)' (Windows) so that it doesn't conflict with more recent versions of MSVC 2014-06-04 18:20:33 +01:00
57f09d5d9d Now that we can build with VST support, make sure our MSVC build knows about it 2014-04-14 16:14:07 +01:00
80e1b42ed5 When finding (MSVC built) panner DLLs, make sure we only find ones that match our build target
Will most likely also need to get done for similarly "discovered" DLLs (backends / surfaces etc). TBC
2014-03-18 17:32:39 +00:00
5d8da11f4b Add provision for building 'libtimecode' as a DLL (MSVC build) 2014-01-13 14:27:56 +00:00
8e51a6c84f Check in some minor modifications (to MSVC specific headers) 2014-01-13 10:22:31 +00:00
7d78172abf Miscellaneous additions to 'msvc_extra_headers' 2013-10-06 11:01:25 +01:00
70dcf7878b Define 'suseconds_t' which isn't normally defined for Windows 2013-09-25 15:56:01 +01:00
9b6687ff3f Modify 'ardourext/misc.h' so that it only uses C++ constructs when the compilation is cplusplus 2013-08-27 17:10:46 +01:00
060c56cc3f Minor tweaks to MSVC build (hopefully of little consequence) 2013-08-26 17:50:17 +01:00
490311bc08 'libs/ardour' - Main body of changes required for building with MSVC 2013-08-04 15:36:07 +01:00
369c0e4a66 'libs/midi++2' - Modify to be buildable with MSVC 2013-07-25 07:19:51 +01:00
b8109ef87e Add an empty 'unistd.h' to stop the compiler complaining when it gets unnecessarily #included 2013-07-24 19:09:29 +01:00
53f1cb2a0f Modify 'libs/vamp-plugins' to be buildable with MSVC 2013-07-20 08:30:40 +01:00
ab628ae3c3 JOHNE - remove my earlier test file 2013-07-17 18:18:02 +01:00
5f15bc9f9f Merge branch 'windows' of git.ardour.org:ardour/ardour into windows 2013-07-17 18:15:51 +01:00
82d351f6ca JOHNE - Testing to see if I have write access to the repo 2013-07-17 16:55:24 +01:00
eeabf89d19 Miscellaneous header files (needed for building libpbd with MSVC) 2013-07-17 14:55:20 +01:00