Commit graph

7353 commits

Author SHA1 Message Date
Paul Davis
d2bafa896c FileSource should not generate its own error message when a file is missing 2014-09-17 07:06:05 -04:00
Paul Davis
65f51e9884 tentative fix for losing (empty) MIDI files. Incomplete because testing shows issues with some workflows 2014-09-17 07:06:05 -04:00
Robin Gareus
d8638c5413 change dummy backend to default to _("Silence"). 2014-09-17 07:06:05 -04:00
Robin Gareus
e7da659104 fix CPI window handling:
Move control-surface editor-window management to the control surface.
The Preferences-Dialog is not aware of session specific or surface
specific actions and cannot properly manage the window.
2014-09-17 07:06:05 -04:00
Colin Fletcher
a86fed7180 Return playhead to last start position when aborting capture 2014-09-17 07:06:05 -04:00
Colin Fletcher
9272dbe496 Fix spurious 'You cannot put a CD marker at this location' error
Fix the spurious error that occurs when loading a session where any marker
(not necessarily a CD marker) is located at 0 on the timeline.
2014-09-17 07:06:05 -04:00
Colin Fletcher
83ea7d8271 Be sure to initialise ExportFormatSpecification::_soundcloud_upload
Initialise _soundcloud_upload in all constructors of
ExportFormatSpecification.
2014-09-17 07:06:05 -04:00
Robin Gareus
93dbae7c98 waveform drawing details:
* proper y-pixel alignment (+.5px offset)
* outline: draw dots (not 1px lines)
* shape: round towards peak (use signal, not top/bot)
* honor 2px red selection border
* work-around canvas rect +1 issue
* always draw clipping line towards center
* draw at most one clip-line at either side of 0.
* exact 1px wide zero line
* fix spread calculation for rectified view
2014-09-17 07:06:05 -04:00
Paul Davis
9207a687b9 add required visibility macros to Gtkmm2ext::CursorInfo 2014-09-17 07:06:05 -04:00
Robin Gareus
80047e9877 waveform: really draw 1px lines. 2014-09-17 07:06:04 -04:00
Robin Gareus
72c630f445 update waveform drawing for zoomed-in, non-overlapping min/max peaks 2014-09-17 07:06:04 -04:00
Robin Gareus
c718bd7cc7 fix crash at session close/exit if a midi-control-surface is used
The "real" problem was that MidiControlUI is destroyed
while there are still MIDIControllables around that
still have a signal connection to a Controllable:
  controllable->Destroyed(..., MidiControlUI::instance())
If a Contrallable is deleted after the MidiControlUI
event loop is gone, the Destroyed() signal can create odd
situations...
2014-09-17 07:06:04 -04:00
Paul Davis
76b2aee8ae provide compile-time-enabled/disabled debugging of connections being made to PBD::Signal via PBD::SignalBase::set_debug_connection() 2014-09-17 07:06:04 -04:00
Robin Gareus
7f7437390e make valgrind output a bit more readable. 2014-09-17 07:06:04 -04:00
Robin Gareus
d56a569a83 fix memory leak, changing semantics of PatchManager (needs x-check) 2014-09-17 07:06:04 -04:00
Robin Gareus
0aeb3c337c fix a bunch of memory leaks
Conflicts:
	gtk2_ardour/ardour_button.cc
2014-09-17 07:06:04 -04:00
Robin Gareus
5e5ecc6c6e print "Scanning folders for bundled LV2s" only once. 2014-09-17 07:06:04 -04:00
Robin Gareus
e637a40e37 delete route-groups before flushing routes. 2014-09-17 07:06:04 -04:00
Robin Gareus
82e5f5de91 disable Midi Audition Synth if it cannot be found
no repetitive messages.
2014-09-17 07:06:04 -04:00
Robin Gareus
f0b4f445b8 better safe than sorry. 2014-09-17 07:06:04 -04:00
Robin Gareus
4765a3ca37 fix d421602c24 2014-09-17 07:06:04 -04:00
Robin Gareus
04a647f47a delete session XML object after loading and setting state. 2014-09-17 07:06:04 -04:00
Robin Gareus
d7858c8b1e free LV2 world after initial scan 2014-09-17 07:06:04 -04:00
Robin Gareus
b53ef556e9 plug a major mem hog.
(default empty session is now ~140MB RSS, was 280MB)
libXML memory was only free() at exit
2014-09-17 07:06:04 -04:00
Robin Gareus
fc68ed656f ALSA|Dummy: ignore port unregistration when engine is stopped
When changing Engine parameters, ardour first stops
the engine and only later when re-etablishing ports
unregisters/re-registers them.

ALSA: silently ignore port unregs and silently accept registrations
Dummy: print a PBD::info message,
2014-09-17 07:06:04 -04:00
Robin Gareus
70f0163266 ALSA|Dummy Backend: do as jack does:
when the backend is closed, unregister all ports.
2014-09-17 07:06:04 -04:00
Robin Gareus
ab2ef15e0b fix midi audition port-connect warning 2014-09-17 07:06:04 -04:00
Robin Gareus
88b4321842 release shared route pointer kept by InternalSend when dropping refs.
fixes "SessionHandleRef exists across session deletion"
when using AuxSends
2014-09-17 07:06:03 -04:00
David Robillard
e35580f713 Fix crash when changing automation mode for MIDI track control automation.
Also some work towards tolerating automation controls with no automation list,
towards actually doing something for these cases, though not required just to
fix this crash (MidiTrack::set_parameter_automation_state() avoids those
paths).
2014-09-17 07:06:03 -04:00
Robin Gareus
0eeab54ad5 prepare for clang static analysis of RT-functions:
see: https://github.com/fundamental/stoat
eventually more functions should be annotated, and
a common header file should be used to
  #define REALTIME __attribute__((annotate("realtime")))
2014-09-17 07:06:03 -04:00
VKamyshniy
2600038032 [Summary] Propagating expose to a child (if exists) of CairoWidget based object. 2014-09-12 14:11:49 +03:00
nikolay
0b855f1b02 [Summary] Progressing timer format drop down and timecode source drop down
[Reviewed] GZharun
2014-09-12 11:36:34 +03:00
Paul Davis
bf69e92e2b add new Gtkmm2ext::pixel_size() to conveniently get width&height for a given font + string 2014-09-11 17:00:18 -04:00
Paul Davis
7198ac659e remove outline from now-small verbose cursor (TrackingText) text 2014-09-11 17:00:18 -04:00
Greg Zharun
3cc0c8d569 [Summary] Added handlers for events in Port Audio which where not handled. For all "Resynck Request", "Latency Changed" and "Buffer size Changed" events restart is required.
NOTE: Other devices, unlike Sound Grid, trigger "Restart Request" event for all above cases.
2014-09-11 11:12:19 +03:00
Paul Davis
3a9adbd01e add copyright header comments 2014-09-10 19:13:59 -04:00
Paul Davis
936aa565a0 move CursorInfo members into public access 2014-09-10 19:13:58 -04:00
Paul Davis
e390b00a90 add new (mostly) static class to permit lookup of cursor image hotspots 2014-09-10 16:48:09 -04:00
Greg Zharun
3d7a062215 [Summary] Fixed main callback input data size issue: incorrect size of the buffer was provided during memory copy procedure 2014-09-10 19:18:24 +03:00
nikolay
3138296772 [Summary] Progressing Top Bar. Added ability to store display format and timecode source in the session config.
[Reviewed] GZharun
2014-09-10 15:37:51 +03:00
GZharun
ccc2f07fb3 [Summary] Corrected comment 2014-09-09 12:35:50 +03:00
Paul Davis
bd1cb0ce46 Revert "Add a couple of pthread helper macros"
This reverts commit 6dd4d411b3.

Conflicts:
	libs/pbd/MSVCpbd/pbd.vcproj
2014-09-08 10:41:51 -04:00
Greg Zharun
4959aac095 [Summary] Fixed Tracks search paths 2014-09-08 14:33:56 +03:00
Greg Zharun
2fb747cce0 [Summary] Fixed backend build issue on Windows 2014-09-08 12:18:43 +03:00
Paul Davis
1462b26a58 check for _port_handle == null throughout Port:: methods 2014-09-06 12:40:48 -04:00
Paul Davis
2c92680788 don't needlessly redraw ruler if new metric is the same as the old 2014-09-05 15:24:16 -04:00
Paul Davis
9b405de03d add Canvas::Ruler::set_metric() to allow ruler metrics to be changed dynamically 2014-09-05 14:45:27 -04:00
Paul Davis
8c17bb0ca0 change Metric element of a Canvas::Ruler item into a pointer internally 2014-09-05 14:42:06 -04:00
GZharun
9b010ed417 [Summary] Fixed name width issue on MAC applying a workaround. It's a response on Pango bug which will be fixed by Paul Davis 2014-09-05 15:29:41 +03:00
Paul Davis
8f213aefb0 missed merge conflict resolution, now fixed 2014-09-05 07:49:53 -04:00