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
486b0a628f
add helper binaries to bundles
2014-03-17 14:40:54 +01: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
21c32d68ef
Move '++next' (when sorting marker labels) so there's absolutely no chance of incrementing it once it reaches the list end
2014-03-15 14:40:36 +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
42e6353338
fix thinko when relabelling markers
2014-03-14 13:46:30 -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
f48b556888
do not use Item::move() when dragging notes since this resets the Item's position in its group, rather than its coordinates.
...
This fixes the double-distance/wrongly drawn location of MIDI notes after a drag
2014-03-13 11:02:06 -04:00
c04081681c
remove debug output
2014-03-13 08:43:07 -04:00
95c214c923
fix up button selection operation so that fade drags work again
2014-03-13 08:39:14 -04:00
e99f872749
updated version of boost shared ptr debugging patch
2014-03-12 18:47:49 -04:00
057d0b6eeb
finally put this patch into git, where it belong
2014-03-12 10:00:24 -04: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
36160b88cd
fixes, hopefully, for canvas cursor misbehaviour near/in regionviews
2014-03-11 22:39:04 -04:00
f6129ed0f4
prototype vfork exec-wrapper.
2014-03-11 15:48:41 +01:00
279aefc60e
fix error in height computation of MIDI region views (FUDGE!) use Rectangle::set_outline_all() and avoid the removed integer version of ::set_outline_what()
2014-03-11 07:39:25 -04:00
c10896e984
use and wrap Rectangle::set_outline_all() method
2014-03-11 07:38:02 -04:00
c2885671c6
avoid multiple requests for redraws when resetting a TimeAxisViewItem name highlight
2014-03-11 07:37:20 -04: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
72965e411f
improve (though not 100% perfect) handling of region trim handles and mouse mode interaction
2014-03-10 12:14:37 -04:00