13
0
Commit Graph

21610 Commits

Author SHA1 Message Date
f5ed0c6d07 Remove bus ignore from MIDI tracks
Now that busses can contain MIDI, this special casing doesn't make sense
anymore.
2016-07-19 02:10:40 +02:00
0017837b02 OSC: check if pan exists, fixes MB crash. 2016-07-18 15:57:27 -07:00
a09fec0213 add a const - just because. 2016-07-18 23:52:40 +02:00
901f8caf22 add a plugin-death connection
at application exit, there may otherwise be a race condition,
queue draw could be scheduled for a widget that's no longer present.
2016-07-18 23:52:40 +02:00
a450024c56 add some strategic lua gc steps. 2016-07-18 23:52:40 +02:00
520dcf8cdf rework lua-bridge C++ variable references
Since lua functions are closures, C++ methods that pass arguments by
reference cannot be used directly. The previous approach (boost::ref)
failed with clang. Assume the following:

  void foo (float&) { }
  static inline float& bar () {
    boost::reference_wrapper<float> r (42);
    return r.get ();
  }

  foo ( bar () );

With gcc, "r" goes out of scope after foo's arguments are processed
and all is well.
But with clang,  "r" already leave scope when *inlined* bar() returns.

Solution: allocate some user-data on the lua-stack to hold the reference.
There is no reference to this user-data so lua will eventually
garbage collect it.

(theoretically, creating the table which holds the return-values
could trigger an emergency garbage collection when memory is low and
free the reference just while they're being pushed to the table, then
gain FuncArgs<Params> already dereferenced them all as variable on the
C stack -- probably again compiler specific)
2016-07-18 23:52:40 +02:00
bb29478aa2 stop using Gestalt() on OS X (deprecated and no longer operating correctly)
The incorrect behaviour was documented and did not cause issues in Ardour, but we should
still stop using this ancient call.
2016-07-18 15:56:28 -04:00
727613b4b7 fix a compile of annoying compiler warnings with elcap clang 2016-07-18 14:42:34 -04:00
9f3a9ef02d before pushing keybindings to GTK for menu display, make sure that we add back the META modifer that GTK expects 2016-07-18 14:42:13 -04:00
1a55e83e98 move show_gdk_event_state() utility function from gtk2_ardour to libs/gtkmm2ext 2016-07-18 14:41:25 -04:00
653b113607 fix unused variable warnings and code tidy 2016-07-18 14:39:32 -04:00
cf4b4dea3e fix Pingback 2016-07-18 19:21:05 +02:00
c9959f742a clean up HttpGet 2016-07-18 19:21:05 +02:00
b8f5306d5b fix incorrect restoration of pane positions on Apple.
Code to check if we were to close to an edge (for window resizing) blocked all divider setting,
because it would be called with a current widget allocation of 1x1
2016-07-18 12:49:36 -04:00
1364cd6a30 OSC: Get rid of meter noise in MB. 2016-07-18 09:47:33 -07:00
eed6d13b60 add 2 missing colors for clear gray theme 2016-07-18 12:06:31 -04:00
c17b4fd135 add new clear-gray color theme 2016-07-18 12:03:37 -04:00
3099d99e0b correctly package color theme files for both linux and OS X 2016-07-18 11:50:38 -04:00
56c4b3c9b0 turn back towards color theme files ALWAYS including the program name. also load both default and user colors (if present) 2016-07-18 11:50:38 -04:00
8c944c08ea Normalize API rename part 2 2016-07-18 17:37:13 +02:00
b64dcac17e No-Op: rename Normalizer to Intermediate
post-processing is no longer just Normalization. RealtimeExport
does Encoding - faster than realtime - using the same infrastructure.
2016-07-18 17:37:13 +02:00
ee2d7a2d0c add exception handling in LocaleGuard, to try to cover more OS X wierd/corner cases 2016-07-18 10:56:43 -04:00
318472ab6e Update pingback to use ArdourCurl 2016-07-18 16:46:59 +02:00
e9a2eea867 remove old a3_curl API and switch some curl calls
Keep freesound-moocher as is until freesound-apiv2 branch is merged
or rebased.
2016-07-18 16:46:59 +02:00
004b57e9f6 ArdourCurl: prepare to unify various curl calls
mainly motivated by a central location to setup SSL.
2016-07-18 16:46:59 +02:00
1dcb54ba22 Optimize a-HiAndLowPass
- Better formula for the lpf smoothness parameter. It is computed only
  on init and rate change anyway...
- Only run as many Biquads as needed to save computing power, esp. when
  using low steepness and parameters are not changing.
2016-07-18 15:05:50 +02:00
855618eb5f amend previous commit (forgotten checkin) 2016-07-18 13:11:18 +02:00
c5fb7e1d83 update to lua-5.3.3 2016-07-18 12:28:36 +02:00
d527fdf30a Simplify the logic in HiAndLowPass filter
And beef up comments for readers using the filter as an example.
2016-07-18 11:15:09 +02:00
7e1a722a15 clean up Hp/Lp code 2016-07-18 10:53:48 +02:00
05ec8c46a7 pingback:: use curl_free() for pointers returned by curl_easy_escape()
As per the curl documentation, use curl_free() for pointers returned by
curl_easy_escape() rather than plain free().
2016-07-18 10:53:48 +02:00
062712c691 Remove 'i18n.h' from some VC projects where it's no longer needed 2016-07-18 09:41:46 +01:00
defb46d0fd Add a newly introduced source file to our MSVC project (libpbd) 2016-07-18 09:39:36 +01:00
052b9164ea bundle dynamically loaded NSS libs 2016-07-17 23:36:25 +02:00
6424a0eab9 fix cURL/SSL
pingback comes first. We need defaults (with SSL). Later explicit
(Freesound Moocher) and implicit (curl_easy_init) calls to curl_global_init
are idempotent and won't get the flags back.
2016-07-17 19:16:45 +02:00
nick_m
5f2ee3328f Fix stored type confusion in Meter/TempoSection::get_state(). 2016-07-18 02:58:59 +10:00
21bb604fc1 fix build of test suite
Fix build of audiographer tests after changes to TmpFile in 77687519.
2016-07-17 17:04:35 +01:00
7d7755ffb6 expose PBD::open_uri bindings to lua 2016-07-17 17:04:02 +02:00
9c2682d6f1 quick hack to test SSL in bundles
this needs to be reverted, and we need a proper curl wrapper,
shared by video-timeline AND freesound moocher
2016-07-17 17:03:48 +02:00
3458844878 cleanup High/Low Pass
* shorten Name
* fix typo in Time Constant
* remove some local variables
2016-07-17 14:10:13 +02:00
dd9c99026d Another translation pass 2016-07-17 02:10:09 +02:00
65eeeb7a65 remove old a-Hi/Low pass 2016-07-17 01:20:45 +02:00
00b8cff66f clean up a-HP/LP 2016-07-17 01:20:23 +02:00
e7a154b9dd Hi AND low pass filter -- fresh from the oven werks. 2016-07-16 23:05:30 +02:00
1a7fd81f40 fix double quote in fr.po 2016-07-16 19:09:15 +02:00
5a8553f02c repeat "Scan" button in plugin sub-menus 2016-07-16 18:50:59 +02:00
8e48655981 handle no audio-output AUs 2016-07-16 18:44:05 +02:00
faefc3ba9a improve AU Latency PropertyChange Events 2016-07-16 18:43:10 +02:00
b7d730433b add a note to self 2016-07-16 14:48:49 +02:00
25a4cae8ad AU: install latency listener
Don't query after every cycle, some plugins inject license checks
when a host queries latency (!)
2016-07-16 05:05:52 +02:00