Commit graph

6592 commits

Author SHA1 Message Date
Sakari Bergen
254923532b Make tests build again (fix linker issues) 2014-04-07 20:50:29 +03:00
Paul Davis
fc691cb3ba after cloning a MIDI region, mark the source file as non-removable. Fixes reports about missing MIDI files on the forums and IRC 2014-04-04 15:26:44 -04:00
Paul Davis
3e7fad52f5 fix conceptual error/thinko in EnvironmentalProtectionAgency when using unsetenv() while iterating over char** environ 2014-04-04 15:25:56 -04:00
Paul Davis
f7396fd462 clarify comments for SndFileSource constructors 2014-04-04 15:17:14 -04:00
Paul Davis
0da58e9510 fix typo in comment 2014-04-04 15:16:35 -04:00
Paul Davis
6f3ebba3b6 comment tweak 2014-03-24 19:46:07 -04:00
Paul Davis
87184ab80d fix a race condition between the death of a thread that communicates with an UI event loop and the event loop itself.
The comment tries to explain it all. There may be a better solution, but I believe that this one is
(a) safe (b) better than the old approach.
2014-03-24 17:47:56 -04:00
John Emmas
47c849cf95 Modify some initialization slightly to keep MSVC happy 2014-03-24 18:48:26 +00:00
Paul Davis
f274bf740e fix return in ::drop_device() 2014-03-24 13:53:42 -04:00
Paul Davis
55ce05c486 call AudioBackend::drop_device() when dropping a backend.
It is not clear that ::drop_device() is part of the same semantic operation as ::stop(), so
we call them separatey
2014-03-24 13:42:11 -04:00
Paul Davis
4122204eaf add ::drop_device() method to ARDOUR::AudioBackend 2014-03-24 13:42:11 -04:00
Robin Gareus
54d2e44e1d proper vpab speaker constraints 2014-03-23 03:42:55 +01:00
Robin Gareus
4ddd025139 just bail out (to prevent further harm) if no panners are found. 2014-03-23 03:10:00 +01:00
Robin Gareus
e6b56f3447 fix undefined value, support netjack2 2014-03-23 02:26:37 +01:00
Robin Gareus
76b2006612 fix yet another possible memory leak 2014-03-23 02:19:05 +01:00
Robin Gareus
dbcf22a832 catch OOM 2014-03-23 02:18:49 +01:00
Robin Gareus
23f285f126 assure midi patch ID is set before assigning it 2014-03-23 01:14:36 +01:00
Robin Gareus
38b32414ba remove dead code (PIChaser has been superseded with PLL,DLL) 2014-03-23 01:07:17 +01:00
Robin Gareus
9fb98b83bf fix timecode initialization 2014-03-23 01:02:36 +01:00
Robin Gareus
89e63b4bce fix some memory leaks 2014-03-23 00:46:12 +01:00
Robin Gareus
167991eceb fix mismatch typo in sizeof 2014-03-23 00:17:19 +01:00
Robin Gareus
679d48ee2b fix edge case (partial write of LV2 worker message size) 2014-03-23 00:04:46 +01:00
Robin Gareus
a87a71f05f remove unused header file 2014-03-22 18:25:09 +01:00
Robin Gareus
ba128eea50 replace use of Gio:: for plugin state 2014-03-22 17:42:26 +01:00
Robin Gareus
1d85ab27a7 replace use of Gio:: with primitives (fix for #5889 part 1) 2014-03-22 17:42:26 +01:00
Paul Davis
ae7f56d89f fix thinko 2014-03-21 16:28:17 -04:00
John Emmas
34ebb682a4 Minor visibility changes to libevoral (template objects can be exported in libevoral because they're always instantiated in the actual DLL). 2014-03-21 18:57:36 +00:00
John Emmas
abab819bb3 Avoid some ambiguous calls to 'floor()' which were upsetting MSVC 2014-03-21 18:24:36 +00:00
Robin Gareus
903f1d7853 check if session dir is writable (needed for .bak files, undo, etc) 2014-03-21 16:10:29 +01:00
John Emmas
0daae2ec91 When finding the control surface DLLs (MSVC built), make sure we only find ones that match our build target 2014-03-21 14:54:21 +00:00
Robin Gareus
9d7efe7865 tweak meter-peak hold when using LED-striped meters 2014-03-21 14:15:38 +01:00
Robin Gareus
ab44e41dfd change the meters into CairoWidget, add expose_area to CairoWidget::render() 2014-03-20 23:50:40 +01:00
Paul Davis
9df3157dfc big rework of scrolling, horizontal part considered almost 100% done.
Many more changes than I would typically like in a single commit, but this was all very intertwined.
Vertical scrolling using track-stepping still to follow.
2014-03-20 13:29:45 -04:00
John Emmas
97a537cd21 Use glibmm to simplify my earlier efforts with 'user_config_directory()' and 'user_cache_directory()'
(improves my previous commit from 10th Mar 2014)
2014-03-19 14:38:41 +00:00
John Emmas
6b92b1787e Modify 'ardour_config_search_path()' and 'ardour_data_search_path()'
1) So that the Windows version will use appropriate environment variables (if they exist)
     2) So that we don't exit if the env vars can't be found (we can still return some kind of path so just alert the user)
2014-03-19 13:42:58 +00:00
Robin Gareus
2952ac05e6 fixed a few warnings from clang static analysis 2014-03-18 22:51:44 +01:00
Robin Gareus
0e41d00811 fix potential uninitialized object pointer. 2014-03-18 20:51:59 +01:00
John Emmas
796f6e1302 Re-validate our iterator after SessionEventManager removes an event 2014-03-18 19:23:28 +00:00
John Emmas
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
Paul Davis
3e4278a0fb g_close() is only available in select versions of glib; fix up non-standard use of glib/cerr to report errors and other related mess 2014-03-17 10:16:45 -04:00
John Emmas
9352eac64b Make sure that windows_search_path() is 'visible' in Windows (will be needed for fixup_bundle_environment) 2014-03-17 11:29:17 +00:00
John Emmas
96244e2afa Close a temporary file as soon as we know we've created it (the function which needs the file will re-open it itself) 2014-03-15 14:42:20 +00:00
Robin Gareus
f0e40565a5 small cleanup. 2014-03-14 20:25:04 +01:00
Robin Gareus
2721242f77 comment libardour functions that are not used in external scanner. 2014-03-14 20:18:24 +01:00
Paul Davis
f05fe6a3fb removed duplicated (and dangerous) call to close(2) 2014-03-14 15:16:15 -04:00
Paul Davis
83a5eadcf8 fix compile of libs/vfork with slightly older(?) glibc headers 2014-03-14 14:52:23 -04:00
Paul Davis
82bce6cc76 call BaseUI::quit() from inside the MIDI Control UI destructor, to properly shutdown its thread 2014-03-14 13:46:30 -04:00
Robin Gareus
543099afba rework SystemExec - use vfork wrapper (and lots of related stuff) 2014-03-13 16:58:07 +01:00
Paul Davis
f15932a5c2 fix #ifdef in localtime_r header (from Valeriy) 2014-03-12 09:39:16 -04:00
John Emmas
d52eb5bf23 A few days ago a #define got changed because the relevant section of code was no longer needed when building with mingw. However, it's not needed for msvc either (in fact, msvc won't compile it) so hopefully, the code fragment can be safely removed 2014-03-12 13:22:25 +00:00