Commit graph

25046 commits

Author SHA1 Message Date
Ben Loftis
29002b9ac9 Editor Summary: The view rectangle should never exceed the bounds of the scroll area. 2017-07-19 13:58:56 -05:00
Ben Loftis
0cb44f9d56 Editor Summary: fix thinko in mouse cursors (trim cursor). 2017-07-19 08:20:25 -05:00
Ben Loftis
255d633edd Editor Summary: implement summary_zoom_step() to lessen redundant code. 2017-07-19 08:12:25 -05:00
Ben Loftis
1955ff3ad2 Editor Summary: fix direction of scroll zoom to match other conventions 2017-07-19 06:58:16 -05:00
John Emmas
951404475c MSVC changes needed to implement the new 'waveview' library 2017-07-19 08:20:18 +01:00
John Emmas
bf150f049f MSVC changes needed to implement the new 'widgets' library 2017-07-19 08:16:30 +01:00
Robin Gareus
b1c73b11fc FP8: use separate bank offsets per MixMode 2017-07-19 03:04:58 +02:00
Robin Gareus
7893cac718 Fix well-known send API for mixbusses. 2017-07-19 02:11:10 +02:00
Robin Gareus
601604972c FP8: Fix Mixbus solo-state and indicate implicit solo (blink) 2017-07-19 01:52:14 +02:00
Robin Gareus
9a0a2a29b5 Fix NSGLView invalidation 2017-07-18 21:34:03 +02:00
nickolas360
8bc7154130 Fix LD_LIBRARY_PATH in GNU/Linux startup script
Currently, the startup script for GNU/Linux adds the current working directory
to LD_LIBRARY_PATH if LD_LIBRARY_PATH is not empty or unset.

For example, if LD_LIBRARY_PATH is set to "/lib" when the current script is
run, it will be set to "<install-dir>/lib::/lib", which includes the current
working directory as one of the paths.

This commit removes the extra colon added to LD_LIBRARY_PATH (without changing
the script's behavior of setting LD_LIBRARY_PATH to an empty string when it is
unset).
2017-07-18 19:11:18 +02:00
Léo Andrès
81eb619dc2 Fix french translation mistake 2017-07-18 18:59:50 +02:00
Robin Gareus
5f485f964e Fix OSX builds in the wake of the source-tree layout changes 2017-07-18 18:29:22 +02:00
Ben Loftis
ea05241771 Editor Summary: Changes to behavior
* Remove up/down buttons.
* Allow the summary to shrink smaller.
* Vertical drag results in zoom.
* Scroll-wheel results in zoom.
* Tweak mouse cursor to better indicate behaviors.
* ToDo:  refactor the zooming code.
2017-07-18 10:37:35 -05:00
Paul Davis
8c6d78c188 add required stdint.h 2017-07-17 18:15:42 -04:00
Robin Gareus
ac37c9b7b8 PluginInsert::silence is used after all (fix 07aeb12d3) 2017-07-17 23:52:45 +02:00
Robin Gareus
4922d9f941 FP8: save/restore "two line text" option 2017-07-17 22:59:12 +02:00
Robin Gareus
521e4f676b Remove unused clearlooks-older 2017-07-17 21:06:04 +02:00
Robin Gareus
012567beb5 Update tools for new source-tree layout 2017-07-17 21:06:04 +02:00
Robin Gareus
beb73edf55 Purify libcanvas, remove libardour dependency
A canvas is just a canvas. Move WaveView into its own library.
2017-07-17 21:06:04 +02:00
Robin Gareus
601c317d70 Clean up library inheritance (colors.h, utils.h)
make libwidget independent of libcanvas.
Confine basics to pbd and gtkmm2ext.
2017-07-17 21:06:04 +02:00
Robin Gareus
1f5ebc5485 Remove ArdourPrompter wrapper 2017-07-17 21:06:04 +02:00
Robin Gareus
eb1e423b75 Remove <gtkmm.h> include from header files. 2017-07-17 21:06:04 +02:00
Robin Gareus
f9e5e4360e Move more Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Robin Gareus
b5e9451bc7 Remove unused sources & includes 2017-07-17 21:06:04 +02:00
Robin Gareus
f6e182b937 Move Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Robin Gareus
b6e4dfe37b remove cruft (no more ButtonJoiner) 2017-07-17 21:06:04 +02:00
Robin Gareus
5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Paul Davis
d397e1f85c fix behaviour of AddRouteDialog "Add" button 2017-07-17 11:57:33 -04:00
Paul Davis
4f4ed8e194 if user has edited name entry in add route dialog, type changes should not reset it.
But using a response button should
2017-07-17 11:57:33 -04:00
Julien "_FrnchFrgg_" RIVAUD
2ed15cfc7e Fix a typo in recent commit 2017-07-17 12:08:42 +02:00
Robin Gareus
e0b4767d2e Fix loading bundles #7426 2017-07-16 21:44:00 +02:00
Robin Gareus
157d4b2c57 Data less than or equal to zero should be considered "off" 2017-07-16 21:01:08 +02:00
Robin Gareus
5b9822ab98 Fix merging boolean automation + mute disconnect. 2017-07-16 21:01:03 +02:00
Robin Gareus
07aeb12d3a Some notes for later. 2017-07-16 17:09:22 +02:00
Robin Gareus
5aecfc5acb Remove Timers to watch Controllable values
Depend on Changed() signals alone, which are usually much less frequent
than rapid-timer events.

As side-effect we now need to make the widgets insensitive when
playing automation. Previously the user could not change the value because
the Timer periodically reset it.
2017-07-16 16:58:00 +02:00
Robin Gareus
69ecb0db70 Remove unused API and a never used execution-branch 2017-07-16 16:54:32 +02:00
Robin Gareus
dee990103a Consistent Automation evaluation:
Rule #89: The *owner* of each automation-control is responsible to
evaluate automation of automated automation-controls (and emit Changed()
signals to notify the GUI and slaved controls).

This can happen during run(), when the Processor evaluates automation
(eg. PluginInsert does that), but needs to regardless, every cycle.
Emit Changed signal for GainControl

This follow the same concept as PluginInsert: The Changed signal
is called on demand when evaluating automation.
2017-07-16 16:53:39 +02:00
Robin Gareus
06ca52d5a5 Add API to run automation only (emit Changed signal).
Note: MuteControl already implemented this,
This removes the special case of boolean_automation_run().

Likewise this removes special-cases for actually_set_value() during
automation playback.
2017-07-16 16:52:12 +02:00
Robin Gareus
906cf85982 Rename private method
The same name (automation_run) is used in different context (mute) for
only processing automation.
2017-07-16 16:49:30 +02:00
Paul Davis
6c5262012b required #include for earlier gcc 2017-07-15 13:43:39 -04:00
Paul Davis
1a0dcc32ef new script to globally switch from "audio frames" to "audio samples"
To be run at some point in the near future after various PRs and development branches
have been merged into master.
2017-07-15 12:21:59 -04:00
Johannes Mueller
66964aaab2 Force filename suffix and ask confirmation before overwriting ...
... existing files, when exporting template archives.
2017-07-15 11:37:27 +02:00
Johannes Mueller
ccff1c5dbd Only make the export button sensitive if there's something to export 2017-07-15 11:37:24 +02:00
Johannes Mueller
0da2d7bf8a Inflate template archives rather in .config/ardour5/ than in ...
`.config/ardour5/(templates|route_templates)`.

We put as toplevel directory of the archive `templates` or
`route_templates`. Then no matter if the user imports a session template or a
route template archives, we always put them into the correct folder.

As now the user can also import route templates while the
SessionTemplateManager is visible and vice versa, we need to signal the
successful import to the corresponding template manager. Therfor we introduce
the signal TemplatesImported.
2017-07-15 11:37:15 +02:00
Robin Gareus
46501da220 Add johmue to authors list 2017-07-14 20:01:45 +02:00
Robin Gareus
7e4f261853 Turn Summary into a horizontal scrollbar (drop y-axis sensitivity) 2017-07-14 20:01:45 +02:00
Julien "_FrnchFrgg_" RIVAUD
3b1a6a350e Simplify _midifilter.lua example
Instead of and-ing the first byte to extract the event type, it is
simpler and easier to understand to bitwise-shift it, so that we don't
get the result as a multiple of 2^4, but as values corresponding to the
MIDI specification.

Currently, a guard is put against events with completely empty data,
though maybe ardour discards those earlier on since that would not be
valid MIDI.
2017-07-14 15:16:33 +02:00
John Emmas
812cbdaca9 Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour) 2017-07-14 10:48:26 +01:00
Robin Gareus
542d021fbc Fix total number of process threads 2017-07-13 17:16:31 +02:00