13
0
Commit Graph

6668 Commits

Author SHA1 Message Date
cd8aa4e304 add new config parameter controlling visibility of name highlights in regions.
This also affects region name placement.
2014-04-16 06:31:24 -04:00
dbaf203bac fix ridiculous spelling error 2014-04-15 12:44:49 -04:00
396fae31a9 Make sure that the input string doesn't go out of scope when using boost::tokenizer 2014-04-14 20:26:48 +01:00
09d5d7f26b remove code intended for use with basename(), fix memory leak since g_path_get_basename() returns a newly allocated string. 2014-04-14 15:21:29 +02:00
15c5d12321 clean up 6cc2812f2e (interim vst fixes) 2014-04-14 15:10:28 +02:00
56b9398208 despite what MSVC thinks, C is not C++. 2014-04-14 15:04:50 +02:00
5764970709 more work on linking file existence and removability 2014-04-14 03:03:35 -04:00
062dd5b71d check whether a source with the same path exists in session list not just on disk.
This is intended to catch a potential wierd condition where a source exists as a stub, but has not yet been written to disk,
and then a new source is created with the same path. Currently it is not understood how/when this might happen
2014-04-14 02:17:31 -04:00
b81d57f049 further code simplification and rationalization related to MIDI source/file renaming 2014-04-14 02:17:30 -04:00
343b06d8d3 dramatic change in logic and naming for operations related to adding a MIDI region on demand and cloning/unlinking
Existing code would cause data loss due to creation of two Source objects referring the same path, one with removable flags and one without. Careful code review suggested a variety of thinkos, function naming problems and other confusion that caused this. I have tried ot extensively comment what is going on with these operations, because it is one key area in which MIDI differs from audio: with audio, capture is the only way to add a new audio region, but for MIDI there are GUI input events that can add a new region.
2014-04-14 02:17:30 -04:00
d2a31ab6ee remove unnecessary include 2014-04-12 14:07:51 +02:00
unknown
d2ab2e8b31 another stab at a working vst on windows 2014-04-11 14:41:58 -05:00
unknown
9fe353c4a2 more vst tweaks 2014-04-11 14:23:35 -05:00
unknown
6cc2812f2e interim vst fixes 2014-04-11 14:23:29 -05:00
f678700376 amend previous commit, remove cruft, no more extern function pointers 2014-04-11 19:36:17 +02:00
e359521fad export fst functions (for MSVC) 2014-04-11 17:30:37 +02:00
5d9c2104d2 Oops - correct some typos in my previous commit
(accidentally used G_DIR_SEPARATOR instead of G_SEARCHPATH_SEPARATOR)
2014-04-11 15:36:04 +01:00
d95de39339 Make sure we use the correct style of filepath separator on Windows
('libs/ardour/file_source.cc' still to be investigated)
2014-04-11 13:03:48 +01:00
c046b7c9d3 Remove 'pipex' from my pbd.vcproj as it's not needed for Ardour3 2014-04-11 12:59:03 +01:00
8a4fdbf023 final eradication of jack header files from anything except the JACK backend 2014-04-11 02:52:28 -04:00
fa66d0ae38 remove use of JACK headers to allow building on systems without JACK 2014-04-10 08:58:25 -04:00
c52f7957a9 redesign technique for naming/creating regions for MIDI clone (or other non-capture driven MIDI region creation operations).
See comments in Session::new_midi_source_name() for details.
2014-04-10 08:58:04 -04:00
0802cbf30c remove inclusion of jack.h so that we can build on a platform without JACK 2014-04-10 08:52:21 -04:00
cc99b56c57 name-change of RuntimeProfile element 2014-04-10 05:58:48 -04:00
01af11c25c add new element to ARDOUR::RuntimeProfile 2014-04-10 05:58:48 -04:00
077a194430 Add the main VC project files for building Ardour3 with Microsoft Visual Studio
Note that there's no 'VS Solution' file at present and some targets haven't been built yet (e.g. 'fst')
2014-04-08 09:49:35 +01:00
Sakari Bergen
254923532b Make tests build again (fix linker issues) 2014-04-07 20:50:29 +03:00
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
3e7fad52f5 fix conceptual error/thinko in EnvironmentalProtectionAgency when using unsetenv() while iterating over char** environ 2014-04-04 15:25:56 -04:00
f7396fd462 clarify comments for SndFileSource constructors 2014-04-04 15:17:14 -04:00
0da58e9510 fix typo in comment 2014-04-04 15:16:35 -04:00
6f3ebba3b6 comment tweak 2014-03-24 19:46:07 -04:00
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
47c849cf95 Modify some initialization slightly to keep MSVC happy 2014-03-24 18:48:26 +00:00
f274bf740e fix return in ::drop_device() 2014-03-24 13:53:42 -04:00
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
4122204eaf add ::drop_device() method to ARDOUR::AudioBackend 2014-03-24 13:42:11 -04:00
54d2e44e1d proper vpab speaker constraints 2014-03-23 03:42:55 +01:00
4ddd025139 just bail out (to prevent further harm) if no panners are found. 2014-03-23 03:10:00 +01:00
e6b56f3447 fix undefined value, support netjack2 2014-03-23 02:26:37 +01:00
76b2006612 fix yet another possible memory leak 2014-03-23 02:19:05 +01:00
dbcf22a832 catch OOM 2014-03-23 02:18:49 +01:00
23f285f126 assure midi patch ID is set before assigning it 2014-03-23 01:14:36 +01:00
38b32414ba remove dead code (PIChaser has been superseded with PLL,DLL) 2014-03-23 01:07:17 +01:00
9fb98b83bf fix timecode initialization 2014-03-23 01:02:36 +01:00
89e63b4bce fix some memory leaks 2014-03-23 00:46:12 +01:00
167991eceb fix mismatch typo in sizeof 2014-03-23 00:17:19 +01:00
679d48ee2b fix edge case (partial write of LV2 worker message size) 2014-03-23 00:04:46 +01:00
a87a71f05f remove unused header file 2014-03-22 18:25:09 +01:00
ba128eea50 replace use of Gio:: for plugin state 2014-03-22 17:42:26 +01:00
1d85ab27a7 replace use of Gio:: with primitives (fix for #5889 part 1) 2014-03-22 17:42:26 +01:00
ae7f56d89f fix thinko 2014-03-21 16:28:17 -04:00
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
abab819bb3 Avoid some ambiguous calls to 'floor()' which were upsetting MSVC 2014-03-21 18:24:36 +00:00
903f1d7853 check if session dir is writable (needed for .bak files, undo, etc) 2014-03-21 16:10:29 +01:00
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
9d7efe7865 tweak meter-peak hold when using LED-striped meters 2014-03-21 14:15:38 +01:00
ab44e41dfd change the meters into CairoWidget, add expose_area to CairoWidget::render() 2014-03-20 23:50:40 +01:00
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
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
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
2952ac05e6 fixed a few warnings from clang static analysis 2014-03-18 22:51:44 +01:00
0e41d00811 fix potential uninitialized object pointer. 2014-03-18 20:51:59 +01:00
796f6e1302 Re-validate our iterator after SessionEventManager removes an event 2014-03-18 19:23:28 +00: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
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
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
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
f0e40565a5 small cleanup. 2014-03-14 20:25:04 +01:00
2721242f77 comment libardour functions that are not used in external scanner. 2014-03-14 20:18:24 +01:00
f05fe6a3fb removed duplicated (and dangerous) call to close(2) 2014-03-14 15:16:15 -04:00
83a5eadcf8 fix compile of libs/vfork with slightly older(?) glibc headers 2014-03-14 14:52:23 -04:00
82bce6cc76 call BaseUI::quit() from inside the MIDI Control UI destructor, to properly shutdown its thread 2014-03-14 13:46:30 -04:00
543099afba rework SystemExec - use vfork wrapper (and lots of related stuff) 2014-03-13 16:58:07 +01:00
f15932a5c2 fix #ifdef in localtime_r header (from Valeriy) 2014-03-12 09:39:16 -04:00
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
9f98837255 more error messages if session renaming fails, and remove stupid use of RENAME macro and use ::g_rename() instead 2014-03-12 08:49:18 -04:00
f6129ed0f4 prototype vfork exec-wrapper. 2014-03-11 15:48:41 +01:00
c2946ee00f don't queue redraws when various canvas item properties are "reset" to the same value, plus supporting functions 2014-03-11 07:36:09 -04:00
495c0de4ac fix up waf build in wake of search path changes earlier today 2014-03-10 17:30:12 -04:00
1a3634f3b9 use buf_index_in() to identify VST MIDI buffer
Probably unnecessary as long we only have 1 MIDI port route, but this at least keeps symmetry with the output side
2014-03-10 17:30:12 -04:00
1e4559805f use PBD::downcase() rather than non-portable MS-based strlwr() 2014-03-10 17:30:12 -04:00
e25fbeb22d required header for new search_paths.h 2014-03-10 17:30:12 -04:00
b6a9bf5d04 add PBD::downcase() functions to libpbd 2014-03-10 17:30:12 -04:00
5ccf1e7346 Just noticed a small problem with my previous commit. Windows config files should be in 'Application Data/PROGRAM_NAME' rather than directly in 'Application Data' 2014-03-10 18:51:30 +00:00
a4752e057d Modify 'user_config_directory()' and 'user_cache_directory()' so that (on Windows) they'll always return a directory that's guaranteed to be writable (in Windows, this isn't always true for the user's home folder) 2014-03-10 16:24:11 +00:00
e0678ce30f Modify 'user_config_dir_name' to use the program name (e.g. Ardour or Mixbus) instead of always assuming 'Ardour'. 2014-03-10 16:24:10 +00:00
34c67ba854 Move 'template_search_path()' and 'route_template_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:10 +00:00
b32d9a1c70 Transfer 'vst_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:09 +00:00
f372a66128 Transfer 'panner_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:08 +00:00
aa7c2ab5c2 Transfer 'midi_patch_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:08 +00:00
8a44aa9aba Transfer 'lv2_bundled_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:07 +00:00
ff053653e1 Transfer 'ladspa_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:06 +00:00
d1fd112bdf Transfer 'export_formats_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:06 +00:00
75c55b0aa0 Transfer 'control_protocol_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:05 +00:00
06fe0a5172 Create 'libs/ardour/search_paths.cc/.h' and transfer backend_search_path() to it 2014-03-10 16:24:05 +00:00
032f394b2a tiny red dots, be gone (expand poly_item bounding box by correct (?) amount) 2014-03-10 11:10:38 -04:00
ec0be1310f missing iterator advance 2014-03-10 11:10:38 -04:00
1374501727 tempo match midi auditioning - #5881 2014-03-10 00:48:48 +01:00
07d5a389fa add missing include to define LIBPBD_API (mingw build) 2014-03-09 21:05:17 +01:00