13
0
Commit Graph

10771 Commits

Author SHA1 Message Date
c7d0a52a0b Work around badly chosen argument name in giomm 2013-07-17 16:47:56 +10:00
e1d2f70704 Also define casting macro when using mingw compiler 2013-07-17 16:47:29 +10:00
0444c40053 Use file modes supported by mingw compiler on Windows 2013-07-17 16:45:00 +10:00
c92e1a0742 Use g_lstat instead of lstat for portability 2013-07-17 16:41:48 +10:00
15be154515 use g_unlink() rather than unlink() universally, requires <glib/gstdio.h> in several files 2013-07-15 14:29:00 -04:00
f9549b6c5c Update Pango modules file to work with Pango version in Fedora 17 2013-07-15 13:45:36 -04:00
9b8a3a1ea4 Update mingw package script for Fedora 17 2013-07-15 13:45:00 -04:00
a2a7545ea1 Update mingw environment to work with mingw-64 toolchain on F17 2013-07-15 13:44:11 -04:00
590e1fb458 Disable check for boost with mingw build 2013-07-15 13:43:47 -04:00
00ae5492f4 (reapply with fixes) Build system changes to support mingw build target 2013-07-15 13:43:17 -04:00
96ea407d1a Revert "Build system changes to support mingw build target"
This reverts commit 94145732f3.
2013-07-15 13:21:22 -04:00
555174d510 Revert "tweaks to mingw build environment"
This reverts commit fa09121a7f.
2013-07-15 13:20:48 -04:00
fa09121a7f tweaks to mingw build environment 2013-07-15 13:17:32 -04:00
94145732f3 Build system changes to support mingw build target 2013-07-15 13:16:09 -04:00
020ca43ed0 add and Update mutex test that is no longer necessary now that glib has been fixed 2013-07-15 12:53:16 -04:00
a8647faca7 Add JACK utility functions in libardour and test
This contains much of the code present in the GUI EngineDialog class
but refactored with some added windows bits.
2013-07-15 12:46:35 -04:00
3e1c66f946 Use g_stat in AudioSource::initialize_peakfile for portability 2013-07-15 12:41:53 -04:00
4a8aadbbdf Use g_rename in AudioSource::rename_peakfile for portability 2013-07-15 12:41:24 -04:00
dca2774508 Use g_utime for portability in AudioSource::touch_peakfile 2013-07-15 12:41:01 -04:00
ea0e42dee7 Use g_stat in AudioSource::touch_peakfile for portability 2013-07-15 12:40:34 -04:00
81dbc20bac Add basic test for PluginManager and LADSPA plugins 2013-07-15 12:40:06 -04:00
83e05ec0ec Use ARDOUR::ladspa_search_path and PBD::find_matching_files to find LADSPA modules 2013-07-15 12:38:03 -04:00
5bc4e54b7d Add ARDOUR::ladspa_search_path function to get LADSPA module directories 2013-07-15 08:08:09 -04:00
2c7a1179c6 Fix finding panner modules on windows by looking for files with *.dll extension 2013-07-15 08:07:12 -04:00
49edb90484 Add ladspa directory name to directory names 2013-07-15 08:06:39 -04:00
c00e03cced Don't include jack/weakjack.h header when compiling for windows 2013-07-15 08:06:09 -04:00
43f7813b24 Fix portability of Session::source_search_path 2013-07-15 08:05:37 -04:00
f08d9591e6 Fix reading and writing of files on windows in PBD::FileManager 2013-07-15 07:55:36 -04:00
542c4b024e Don't use errno after g_file_test on windows 2013-07-15 07:55:01 -04:00
5131b8300f Use g_open instead of ::open in PBD::FileManager
g_open is a macro that evaluates to ::open on linux(and mac) so this
is only a change for windows.
2013-07-15 07:54:29 -04:00
db3edc4018 Use ::write instead of pwrite in AudioSource::compute_and_write_peaks for portability
This destroys the atomicity of pwrite() and thus suggests that we should do something else to ensure
that multithread access to peakfiles (if it does in fact exist) is safe. OTOH, there may be no
such thing, since they are designed for the GUI, which is single threaded (for now)
2013-07-15 07:53:45 -04:00
13a0f14db7 Use ::read instead of pread in AudioSource::read_peaks for portability
This destroys the atomicity of pread() and thus suggests that we should do something else to ensure
that multithread access to peakfiles (if it does in fact exist) is safe. OTOH, there may be no
such thing, since they are designed for the GUI, which is single threaded (for now)
2013-07-15 07:52:37 -04:00
0aac62e013 Merge branch 'master' into windows 2013-07-14 08:27:22 -04:00
2106a12edd improve caching of metric and tick patters
* selectively clear cache (meterbridge, mixer)
* free memory of patterns on clear
2013-07-14 11:34:31 +02:00
394f2b3ca7 Use boost::scoped_array in AudioSource::compute_and_write_peaks 2013-07-13 17:44:16 -04:00
90c2a1c69d Use boost::scoped_array in AudioSource::build_peaks_from_scratch 2013-07-13 17:43:36 -04:00
ebdf73a077 Remove use of goto in AudioSource::read_peaks 2013-07-13 17:43:00 -04:00
e5cc56a523 Use boost::scoped_array for controlling scope of peak data in AudioSource::read_peaks 2013-07-13 17:42:34 -04:00
b84d032b3a Use boost::scoped_array in AudioSource::read_peaks 2013-07-13 17:41:48 -04:00
f754e1c0bb Use boost::scoped_ptr to control scope of peakfile descriptor 2013-07-13 17:40:42 -04:00
1bd570c276 Replace conditional peak debugging with DEBUG_TRACE macro usage
Also add some extra debugging info
2013-07-13 17:39:55 -04:00
ac16da8ea6 Fix saving sessions on windows by using g_rename instead of ::rename 2013-07-13 17:33:30 -04:00
868b06efd6 Revert "Fix saving sessions on windows by using g_rename instead of ::rename"
This reverts commit 2e2c22ad3c.
2013-07-13 17:10:11 -04:00
2e2c22ad3c Fix saving sessions on windows by using g_rename instead of ::rename 2013-07-13 17:01:47 -04:00
e8ecd32732 Add test for Glib::Mutex::trylock
Behaviour of this method is different on WIN32
2013-07-13 17:00:18 -04:00
6542ce76d0 Don't use trylock in assertions on windows as it will fail
glib uses TryEnterCriticalSection on windows which will return true
if the lock as able to be locked *or* is already locked by the current
thread.
2013-07-13 16:57:04 -04:00
1fd2412f5b Add config/data filesystem paths to search on windows 2013-07-13 16:56:12 -04:00
ccdc6fcd6a Add DEBUG_TRACE output to file utility functions in libpbd 2013-07-13 16:55:40 -04:00
550eeecc63 Add header include required by mingw compiler 2013-07-13 16:44:59 -04:00
48f8863b2c Use g_mkstemp in audiographer for portability 2013-07-13 16:44:37 -04:00