13
0
Commit Graph

17470 Commits

Author SHA1 Message Date
e2902a0b76 clarify midi-iterator comment 2015-08-27 14:43:28 +02:00
b3e9231a4e fix initial transform dialog display (override show_all) 2015-08-27 14:28:01 +02:00
ada32733c5 Modify some functions to alleviate overflow / precision errors
'session_frame_to_track_frame()' and its complement, 'track_frame_to_session_frame()' both accept a double and an ARDOUR::framepost_t (int64_t). For convenience these both get converted to long double. However, the functions are often called with very large values (ARDOUR::max_framepos). When this happens, rounding and precision errors can cause overflow issues. This is an attempt to alleviate that problem. Not sure if it's strictly necessary to accommodate negative values - but I'm assuming these could happen if 'speed' was negative (reverse play?)

This is the reason why 'Select All Objects' (and similar functionality) don't work for some users.
2015-08-27 12:28:45 +01:00
nick_m
1963c3ff10 Allow creation of region gain points by clicking on a line.
- Also fixes new AutomationLine points having huge offsets
	  on creation via line click (window vs canvas event sample).
2015-08-27 02:20:43 +10:00
1387e756de fix linked midi-regions on different tracks #6541
A somewhat hacky solution to address missing note-off events when a
linked midi-region is used on separate tracks at the same time.
see the source-code comment for further info.
2015-08-25 03:48:54 +02:00
53d51ac406 fix processor paste location - fixes #6536 2015-08-25 01:09:41 +02:00
f0db0f0862 Exclude empty CC-params from "Show Existing Automation" 2015-08-24 03:35:41 +02:00
cc9c38ce5e Do not send non-automated MIDI-CCs on locate.
If a "CC" automation lane was visible at least once, a Control Object
is created and henceforth saved with the session: 
   <Object id="automation TrackID TYPE" ../>
It is currently not possible to remove this object. (Automation > clear
will only zero all events, but not remove the Control itself.

The bug:
After showing a MIDI-CC lane at least once Events are sent for this CC.
If there is no corresponding value in the .mid, it will be zero after
session reload.

see also 7e2c8ac

Still ToDo: "Show existing automation" shows the lane even if there
are no values nor any automation at all for the given CC.
2015-08-24 02:42:31 +02:00
6129b3492d allow file-browser in generic-plugin-GUI to expand. 2015-08-24 00:29:54 +02:00
6cfceb8823 fix mixer-strip input button update 2015-08-23 19:50:04 +02:00
0fd9845957 more python2/3 compat 2015-08-23 00:00:19 +02:00
ea0e4a01ca Add MCP device files for extender use. 2015-08-22 08:19:51 -07:00
f1c21367f2 Fix auditioner underrun when seeking.
prevents "disk too slow" message when seeking in the auditioner.
2015-08-22 16:37:08 +02:00
2aee69d6d9 fix some compiler warnings (float/double) 2015-08-22 04:33:51 +02:00
ad4ae3df85 Add 100% shuttle controls option - closes #6537 2015-08-22 04:32:14 +02:00
88920232e9 support the young serpents 2015-08-21 16:35:21 +02:00
e69368cc8f clear out some SessionHandleRef's on close. 2015-08-20 22:27:35 +02:00
6b8b4bb986 potential fix for #6515 - stall/crash during route deletion
introduced in 4.1-78-g11e371c
2015-08-20 03:38:22 +02:00
63e3f326e9 clear waveform cache when shape changes - fixes #6525 2015-08-20 03:01:51 +02:00
aa3eb11fb3 fix typo in prev commit 2015-08-20 02:27:24 +02:00
89b0817f83 fix "locked" + "locked to video" bug.
previously if some audio region was locked and locked to video,
the audio-region always stayed put and the video could only be
moved forward.

TODO: add an "unlock all" option.
2015-08-20 02:24:27 +02:00
b8b6f61d6c save/load generic-midi motorized setting - fixes #5296 2015-08-20 00:19:32 +02:00
84845833c1 Add missing actions from MB2 for Mike:
Set-Loop-Start/End-From-Edit-Point
Set-Punch-Start/End-From-Edit-Point
2015-08-19 14:53:35 -05:00
11f51497f3 provisional processor control-box tweaks - possible fix for #6519
ControlBoxes are created/destroyed regularly (plugin re-order,
track selection -> Editor Mixer,...).

Properly disconnect the timer signal in the dtor and skip updateing the
tooltip unnecessarily (duplicate calls, Changed & Timer).

This should really be undone, the timer needs to be removed and Changed() used throughout.
2015-08-19 14:27:14 +02:00
bb79071038 Fix undo/redo when changing fade out length
This may fix bug #6518 or there may be more issues to be found
2015-08-19 13:56:12 +10:00
b4e13cbbb7 Add undo history related debug output for debugging Undo/Redo issues 2015-08-19 13:56:11 +10:00
463cf1cf9c Add PBD::DebugBit for debugging issues with undo history 2015-08-19 13:56:06 +10:00
f36f03fcb4 fix error-level 2015-08-19 04:09:22 +02:00
cf1ab3391f code consistency and hints for static analysis 2015-08-19 04:07:39 +02:00
a2fbce0e7f Change return type and name of get_win_special_folder
Rename it get_win_special_folder_path to indicate what it is returning

Move documentation for the function into the header and use doxygen style
comments.

Fixes a couple of memory leaks in ArdourVideoToolPaths class although it looks
as if there are more.
2015-08-18 15:33:03 +10:00
36e4c11a2a Add utility function to get windows packaging directory to avoid memory leaks
There were a few other small leaks in pbd and evoral test code but I didn't
bother changing them. Perhaps this function would be better off in PBD:: so it
can be used everywhere.
2015-08-18 15:10:55 +10:00
1d05b5d25d Remove unused function in bundle_env_mingw.cc
ARDOUR::ardour_dll_directory() has been used instead for some time
2015-08-18 15:10:55 +10:00
ea32eecf3d Fix Searchpath::operator+ to return by value rather than reference and not modify *this
ladspa_search_path was the only function using this API and it is unaffected by
the change
2015-08-18 15:09:44 +10:00
6847b59721 Fix crash when clicking on tempo or meter in main clock to edit with no Session 2015-08-18 11:04:49 +10:00
b8da99b5e2 Change interface to reset click sounds to default in Preferences
It is not perfect but it should fix bug #6160
2015-08-18 00:19:21 +10:00
2832c29a4b Install cursor hotspot file with --dist-target=mingw
The extra cursor files must be copied in an external packaging script for now
until an easy way to get waf to overwrite the files is found
2015-08-17 22:02:04 +10:00
95c5b99efc Remove duplicate code in wscript after merge 2015-08-17 22:01:20 +10:00
a26e27d971 NOOP, remove trailing whitespace 2015-08-17 00:10:36 +02:00
bd2065c5e4 don't create unneeded dirs in linux bundle 2015-08-17 00:09:33 +02:00
a46c84d72f update comment regarding lv2 buffersizes 2015-08-17 00:07:32 +02:00
2a9dd5d7bb only copy lv2core .ttl (exclude headers) to bundle 2015-08-17 00:06:34 +02:00
Guy Sherman
4f387f390e Tweaked build and run for windows
Quotes were appearing around the version number. Modified wscript to
remove quotes from VERSION and PROGRAM_VERSION.

One of the places windows looks for DLLs is in directories
listed in PATH. A new file called ardev-win which sets up the
contents of PATH and LD_LIBRARY_PATH as required.
2015-08-16 18:01:28 +02:00
1d2938b162 Add '_xgetbv()' for MSVC-9 and earlier 2015-08-16 13:14:54 +01:00
f65bcc6e74 compat for old sessions with missing plugins (+doc) 2015-08-16 03:46:45 +02:00
9f3bf09a7c rework processor box: handle n/a plugins 2015-08-16 00:03:39 +02:00
eddf50185b prepare UI for missing plugins 2015-08-15 23:29:53 +02:00
e7bbed3150 Update Route to handle UnknownProcessors as Stubs. 2015-08-15 23:29:05 +02:00
f7a670bc79 implement stub UnknownProcessor 2015-08-15 23:28:50 +02:00
3dd3c35dfe fix a typo 2015-08-15 19:58:37 +02:00
50f0e59087 save [actual] plugin i/o-configuration
for use with placeholder stub in case the plugin becomes n/a.
2015-08-15 19:58:04 +02:00